mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-30 20:15:10 +00:00
add ophandler for GuildSubscriptionsBulk message
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { LazyRequestSchema } from "./LazyRequestSchema";
|
||||
|
||||
export interface GuildSubscriptionsBulkSchema {
|
||||
subscriptions: { [key: string]: GuildSubscriptionSchema };
|
||||
}
|
||||
|
||||
export type GuildSubscriptionSchema = Omit<LazyRequestSchema, "guild_id">;
|
||||
|
||||
export const GuildSubscriptionsBulkSchema = {
|
||||
$subscriptions: Object,
|
||||
};
|
||||
@@ -30,6 +30,7 @@ export interface LazyRequestSchema {
|
||||
threads?: boolean;
|
||||
typing?: true;
|
||||
members?: string[];
|
||||
member_updates?: boolean;
|
||||
thread_member_lists?: unknown[];
|
||||
}
|
||||
|
||||
@@ -40,5 +41,6 @@ export const LazyRequestSchema = {
|
||||
$typing: Boolean,
|
||||
$threads: Boolean,
|
||||
$members: [] as string[],
|
||||
$member_updates: Boolean,
|
||||
$thread_member_lists: [] as unknown[],
|
||||
};
|
||||
|
||||
@@ -41,6 +41,7 @@ export * from "./EmojiModifySchema";
|
||||
export * from "./ForgotPasswordSchema";
|
||||
export * from "./GatewayPayloadSchema";
|
||||
export * from "./GuildCreateSchema";
|
||||
export * from "./GuildSubscriptionsBulkSchema";
|
||||
export * from "./GuildTemplateCreateSchema";
|
||||
export * from "./GuildUpdateSchema";
|
||||
export * from "./GuildUpdateWelcomeScreenSchema";
|
||||
|
||||
Reference in New Issue
Block a user