diff --git a/frontend-next-migration/src/entities/Clan/types/clan.d.ts b/frontend-next-migration/src/entities/Clan/types/clan.d.ts index ff9992121..858ea44c2 100644 --- a/frontend-next-migration/src/entities/Clan/types/clan.d.ts +++ b/frontend-next-migration/src/entities/Clan/types/clan.d.ts @@ -16,6 +16,21 @@ export type IClan = { phrase: string; labels: Array[]; positionLeaderboard?: number; + + roles: IClanRole[]; + goal: string; + clanLogo: string; + battlePoints: number; + language: string; + points: number; + ageRange: string; +}; + +export type IClanRole = { + _id: string; + name: string; + clanRoleType: string; + rights?: Record; }; export type IClanPosition = { @@ -37,11 +52,12 @@ export type ICreateClanResponse = { export type IJoin = { clan_id: string; player_id: string; - join_message: string; }; export type IClanCreateDto = Pick; export type IClanUpdateDto = Pick; -export type IJoinDto = Pick; +export type IJoinDto = Pick; + +export type IClanRoleDto = Pick;