Update FluxEvents and Permissions
This commit is contained in:
parent
f1e2d5572a
commit
8b6620ca2f
4
src/webpack/common/types/fluxEvents.d.ts
vendored
4
src/webpack/common/types/fluxEvents.d.ts
vendored
File diff suppressed because one or more lines are too long
81
src/webpack/common/types/utils.d.ts
vendored
81
src/webpack/common/types/utils.d.ts
vendored
|
@ -83,53 +83,56 @@ interface RestRequestData {
|
|||
|
||||
export type RestAPI = Record<"delete" | "get" | "patch" | "post" | "put", (data: RestRequestData) => Promise<any>>;
|
||||
|
||||
export type Permissions = "CREATE_INSTANT_INVITE"
|
||||
| "KICK_MEMBERS"
|
||||
| "BAN_MEMBERS"
|
||||
export type Permissions = "ADD_REACTIONS"
|
||||
| "ADMINISTRATOR"
|
||||
| "MANAGE_CHANNELS"
|
||||
| "MANAGE_GUILD"
|
||||
| "ATTACH_FILES"
|
||||
| "BAN_MEMBERS"
|
||||
| "CHANGE_NICKNAME"
|
||||
| "CONNECT"
|
||||
| "CREATE_EVENTS"
|
||||
| "CREATE_GUILD_EXPRESSIONS"
|
||||
| "CREATE_INSTANT_INVITE"
|
||||
| "CREATE_PRIVATE_THREADS"
|
||||
| "CREATE_PUBLIC_THREADS"
|
||||
| "DEAFEN_MEMBERS"
|
||||
| "EMBED_LINKS"
|
||||
| "KICK_MEMBERS"
|
||||
| "MANAGE_CHANNELS"
|
||||
| "MANAGE_EVENTS"
|
||||
| "MANAGE_GUILD"
|
||||
| "MANAGE_GUILD_EXPRESSIONS"
|
||||
| "MANAGE_MESSAGES"
|
||||
| "MANAGE_NICKNAMES"
|
||||
| "MANAGE_ROLES"
|
||||
| "MANAGE_THREADS"
|
||||
| "MANAGE_WEBHOOKS"
|
||||
| "MANAGE_GUILD_EXPRESSIONS"
|
||||
| "CREATE_GUILD_EXPRESSIONS"
|
||||
| "MENTION_EVERYONE"
|
||||
| "MODERATE_MEMBERS"
|
||||
| "MOVE_MEMBERS"
|
||||
| "MUTE_MEMBERS"
|
||||
| "PRIORITY_SPEAKER"
|
||||
| "READ_MESSAGE_HISTORY"
|
||||
| "REQUEST_TO_SPEAK"
|
||||
| "SEND_MESSAGES"
|
||||
| "SEND_MESSAGES_IN_THREADS"
|
||||
| "SEND_POLLS"
|
||||
| "SEND_TTS_MESSAGES"
|
||||
| "SEND_VOICE_MESSAGES"
|
||||
| "SET_VOICE_CHANNEL_STATUS"
|
||||
| "SPEAK"
|
||||
| "STREAM"
|
||||
| "USE_APPLICATION_COMMANDS"
|
||||
| "USE_CLYDE_AI"
|
||||
| "USE_EMBEDDED_ACTIVITIES"
|
||||
| "USE_EXTERNAL_EMOJIS"
|
||||
| "USE_EXTERNAL_SOUNDS"
|
||||
| "USE_EXTERNAL_STICKERS"
|
||||
| "USE_SOUNDBOARD"
|
||||
| "USE_VAD"
|
||||
| "VIEW_AUDIT_LOG"
|
||||
| "VIEW_CHANNEL"
|
||||
| "VIEW_GUILD_ANALYTICS"
|
||||
| "VIEW_CREATOR_MONETIZATION_ANALYTICS"
|
||||
| "MODERATE_MEMBERS"
|
||||
| "SEND_MESSAGES"
|
||||
| "SEND_TTS_MESSAGES"
|
||||
| "MANAGE_MESSAGES"
|
||||
| "EMBED_LINKS"
|
||||
| "ATTACH_FILES"
|
||||
| "READ_MESSAGE_HISTORY"
|
||||
| "MENTION_EVERYONE"
|
||||
| "USE_EXTERNAL_EMOJIS"
|
||||
| "ADD_REACTIONS"
|
||||
| "USE_APPLICATION_COMMANDS"
|
||||
| "MANAGE_THREADS"
|
||||
| "CREATE_PUBLIC_THREADS"
|
||||
| "CREATE_PRIVATE_THREADS"
|
||||
| "USE_EXTERNAL_STICKERS"
|
||||
| "SEND_MESSAGES_IN_THREADS"
|
||||
| "SEND_VOICE_MESSAGES"
|
||||
| "CONNECT"
|
||||
| "SPEAK"
|
||||
| "MUTE_MEMBERS"
|
||||
| "DEAFEN_MEMBERS"
|
||||
| "MOVE_MEMBERS"
|
||||
| "USE_VAD"
|
||||
| "PRIORITY_SPEAKER"
|
||||
| "STREAM"
|
||||
| "USE_EMBEDDED_ACTIVITIES"
|
||||
| "USE_SOUNDBOARD"
|
||||
| "USE_EXTERNAL_SOUNDS"
|
||||
| "REQUEST_TO_SPEAK"
|
||||
| "MANAGE_EVENTS"
|
||||
| "CREATE_EVENTS";
|
||||
| "VIEW_GUILD_ANALYTICS";
|
||||
|
||||
export type PermissionsBits = Record<Permissions, bigint>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue