Move schemas to /src/util/schemas

This commit is contained in:
Madeline
2022-09-26 22:08:14 +10:00
parent 186f28516c
commit 849b257db7
94 changed files with 18692 additions and 18808 deletions
+19
View File
@@ -0,0 +1,19 @@
export interface LazyRequestSchema {
guild_id: string;
channels?: Record<string, [number, number][]>;
activities?: boolean;
threads?: boolean;
typing?: true;
members?: any[];
thread_member_lists?: any[];
}
export const LazyRequestSchema = {
guild_id: String,
$activities: Boolean,
$channels: Object,
$typing: Boolean,
$threads: Boolean,
$members: [] as any[],
$thread_member_lists: [] as any[],
};