feat: update members fetching to handle endpoint pagination update
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
f229a9176c
commit
db6d13512a
3 changed files with 21 additions and 4 deletions
|
@ -31,6 +31,13 @@ export interface GuildMemberResponse {
|
|||
user: UserResponse
|
||||
}
|
||||
|
||||
export interface GuildMembersResponse {
|
||||
objects: GuildMemberResponse[],
|
||||
amount: number,
|
||||
pages: number,
|
||||
page: number
|
||||
}
|
||||
|
||||
export interface ChannelResponse {
|
||||
uuid: string,
|
||||
guild_uuid: string,
|
||||
|
@ -45,7 +52,7 @@ export interface MessageResponse {
|
|||
user_uuid: string,
|
||||
message: string,
|
||||
reply_to: string | null,
|
||||
user: UserResponse,
|
||||
member: GuildMemberResponse,
|
||||
}
|
||||
|
||||
export interface InviteResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue