components/massmint/types.ts
import type { OpenSeaAttribute } from '@kodadot1/hyperdata'
export enum Status {
Ok = 'Ok',
Incomplete = 'Incomplete',
Description = 'Description',
Price = 'Price',
Optional = 'Optional',
}
export type NFT = {
id: number
imageUrl: string
name?: string
file: File
description?: string
price?: number
status?: Status
attributes?: OpenSeaAttribute[]
}
export type NFTToMint = {
name: string
file: File
description?: string
price?: number
attributes?: OpenSeaAttribute[]
}
export type NFTS = { [id: string]: NFT }