Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Sep 18, 2024
1 parent fc9fed0 commit 9f25676
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/types/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
SaleInfo,
} from './nft'
import type { NftActivityType } from './trading'
import type { IUserProfileSearch, OfferBody } from './user'
import type { CreatorProfile, IUserProfileSearch, OfferBody } from './user'

export interface ISocials {
twitter: string
Expand Down Expand Up @@ -57,22 +57,11 @@ export interface IMintInfoExtended extends IMintInfo {
}
}

interface BaseCreatorInfo {
name: string
contractAddress: string
address: string
profile: string
banner: string
description?: string
socials?: any
id: string
}

export interface CollectionCreatorInfo extends BaseCreatorInfo {
export interface CollectionCreatorInfo extends CreatorProfile {
listing: IMintInfoExtended[]
}

export interface EventCreatorInfo extends BaseCreatorInfo {
export interface EventCreatorInfo extends CreatorProfile {
events: IEventDoc[]
}

Expand Down Expand Up @@ -806,7 +795,7 @@ export type GetCollectionMintInfo = {
owner: string
isVisible: boolean
}
creatorInfo: BaseCreatorInfo
creatorInfo: CreatorProfile
}

export type MintStage = {
Expand Down

0 comments on commit 9f25676

Please sign in to comment.