From 695bdbc77784474ca9d51b399716f6324a423159 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Thu, 7 Aug 2025 06:31:44 +0200 Subject: [PATCH] feat: update GuildResponse and GuildMemberResponse interfaces to match backend --- types/interfaces.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/interfaces.ts b/types/interfaces.ts index 2a05c38..632aadb 100644 --- a/types/interfaces.ts +++ b/types/interfaces.ts @@ -19,16 +19,17 @@ export interface GuildResponse { description: string | null, icon: string | null, owner_uuid: string, - roles: [], + roles: RoleResponse[], member_count: number } export interface GuildMemberResponse { uuid: string, nickname: string, - user_uuid: string, guild_uuid: string, - user: UserResponse + is_owner: boolean, + user: UserResponse, + roles: RoleResponse[] } export interface ChannelResponse {