Merge branch 'main' into permissions-management
This commit is contained in:
commit
9fe067ec5a
55 changed files with 1106 additions and 387 deletions
|
@ -32,6 +32,13 @@ export interface GuildMemberResponse {
|
|||
roles: RoleResponse[]
|
||||
}
|
||||
|
||||
export interface GuildMembersResponse {
|
||||
objects: GuildMemberResponse[],
|
||||
amount: number,
|
||||
pages: number,
|
||||
page: number
|
||||
}
|
||||
|
||||
export interface ChannelResponse {
|
||||
uuid: string,
|
||||
guild_uuid: string,
|
||||
|
@ -46,7 +53,7 @@ export interface MessageResponse {
|
|||
user_uuid: string,
|
||||
message: string,
|
||||
reply_to: string | null,
|
||||
user: UserResponse,
|
||||
member: GuildMemberResponse,
|
||||
}
|
||||
|
||||
export interface InviteResponse {
|
||||
|
@ -97,10 +104,20 @@ export interface ModalProps {
|
|||
title?: string,
|
||||
obscure?: boolean,
|
||||
onClose?: () => void,
|
||||
onCancel?: () => void
|
||||
onCancel?: () => void,
|
||||
onCloseButton?: () => void,
|
||||
}
|
||||
|
||||
export interface ContextMenuItem {
|
||||
name: string,
|
||||
icon?: string,
|
||||
type: "normal" | "danger"
|
||||
callback: (...args: any[]) => any;
|
||||
}
|
||||
|
||||
export interface ContextMenuInterface {
|
||||
show: boolean,
|
||||
pointerX: number,
|
||||
pointerY: number,
|
||||
items: ContextMenuItem[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue