diff --git a/src/community/interface/community.interface.ts b/src/community/interface/community.interface.ts index 50fe78a..b0f491e 100644 --- a/src/community/interface/community.interface.ts +++ b/src/community/interface/community.interface.ts @@ -2,11 +2,13 @@ export interface GetCommunityByUuidInterface { uuid: string; createdAt: Date; updatedAt: Date; - spaceName: string; - spaceType: { - uuid: string; - createdAt: Date; - updatedAt: Date; - type: string; - }; + name: string; + type: string; +} + +export interface CommunityChildInterface { + uuid: string; + name: string; + type: string; + children?: CommunityChildInterface[]; }