feat: update GuildResponse and GuildMemberResponse interfaces to match backend
This commit is contained in:
parent
4dbe548efc
commit
695bdbc777
1 changed files with 4 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue