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 | 4906d9a78a17729949fa5e32d221b66f1d5b0f3f (patch) | |
tree | ef852b1f5f3e88a449428eeb7e10a43f92c7216c /src/util/schemas | |
parent | Implement WebAuthn (#967) (diff) | |
download | server-4906d9a78a17729949fa5e32d221b66f1d5b0f3f.tar.xz |
read-states/ack-bulk (#969)
Diffstat (limited to 'src/util/schemas')
-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"; |