From 9f25676de58354179f167173b70bba7aa3562dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20P=C3=B6hland?= Date: Wed, 18 Sep 2024 17:16:51 +0200 Subject: [PATCH] sync --- src/types/collection.ts | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/types/collection.ts b/src/types/collection.ts index 3936958..1b64cc6 100644 --- a/src/types/collection.ts +++ b/src/types/collection.ts @@ -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 @@ -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[] } @@ -806,7 +795,7 @@ export type GetCollectionMintInfo = { owner: string isVisible: boolean } - creatorInfo: BaseCreatorInfo + creatorInfo: CreatorProfile } export type MintStage = {