feat: update GuildResponse and GuildMemberResponse interfaces to match backend

This commit is contained in:
SauceyRed 2025-08-07 06:31:44 +02:00
parent 4dbe548efc
commit 695bdbc777
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7

View file

@ -19,16 +19,17 @@ export interface GuildResponse {
description: string | null, description: string | null,
icon: string | null, icon: string | null,
owner_uuid: string, owner_uuid: string,
roles: [], roles: RoleResponse[],
member_count: number member_count: number
} }
export interface GuildMemberResponse { export interface GuildMemberResponse {
uuid: string, uuid: string,
nickname: string, nickname: string,
user_uuid: string,
guild_uuid: string, guild_uuid: string,
user: UserResponse is_owner: boolean,
user: UserResponse,
roles: RoleResponse[]
} }
export interface ChannelResponse { export interface ChannelResponse {