diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-30 13:34:27 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 13:34:27 +1100 |
commit | 71258f64879b43c3bf365c92bcb9d3b61b634f15 (patch) | |
tree | 5ea5f1f2cd66d3421d79a3c88c46fd10d8dced5c /src/util | |
parent | Implement WebAuthn (#967) (diff) | |
download | server-71258f64879b43c3bf365c92bcb9d3b61b634f15.tar.xz |
read-states/ack-bulk (#969)
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/schemas/AckBulkSchema.ts | 9 | ||||
-rw-r--r-- | src/util/schemas/index.ts | 15 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/util/schemas/AckBulkSchema.ts b/src/util/schemas/AckBulkSchema.ts new file mode 100644 index 00000000..8e20723f --- /dev/null +++ b/src/util/schemas/AckBulkSchema.ts @@ -0,0 +1,9 @@ +export interface AckBulkSchema { + read_states: [ + { + channel_id: string; + message_id: string; + read_state_type: number; // WHat is this? + }, + ]; +} diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index 65e8b3cd..603141b5 100644 --- a/src/util/schemas/index.ts +++ b/src/util/schemas/index.ts @@ -69,6 +69,21 @@ export * from "./VanityUrlSchema"; export * from "./VoiceIdentifySchema"; export * from "./VoiceStateUpdateSchema"; export * from "./VoiceVideoSchema"; +export * from "./IdentifySchema"; +export * from "./ActivitySchema"; +export * from "./LazyRequestSchema"; +export * from "./GuildUpdateSchema"; +export * from "./ChannelPermissionOverwriteSchema"; +export * from "./UserGuildSettingsSchema"; +export * from "./GatewayPayloadSchema"; +export * from "./RolePositionUpdateSchema"; +export * from "./ChannelReorderSchema"; +export * from "./UserSettingsSchema"; +export * from "./BotModifySchema"; +export * from "./ApplicationModifySchema"; +export * from "./ApplicationCreateSchema"; +export * from "./ApplicationAuthorizeSchema"; +export * from "./AckBulkSchema"; export * from "./WebAuthnSchema"; export * from "./WebhookCreateSchema"; export * from "./WidgetModifySchema"; |