Merge branch 'main' into permissions-management
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-08-07 06:39:37 +02:00
commit 9fe067ec5a
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
55 changed files with 1106 additions and 387 deletions

View file

@ -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[]
}