summary refs log tree commit diff
path: root/util/src/schemas/LazyRequestSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/schemas/LazyRequestSchema.ts')
-rw-r--r--util/src/schemas/LazyRequestSchema.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/src/schemas/LazyRequestSchema.ts b/util/src/schemas/LazyRequestSchema.ts
new file mode 100644
index 00000000..1fe658bb
--- /dev/null
+++ b/util/src/schemas/LazyRequestSchema.ts
@@ -0,0 +1,19 @@
+export interface LazyRequest {
+	guild_id: string;
+	channels?: Record<string, [number, number][]>;
+	activities?: boolean;
+	threads?: boolean;
+	typing?: true;
+	members?: any[];
+	thread_member_lists?: any[];
+}
+
+export const LazyRequest = {
+	guild_id: String,
+	$activities: Boolean,
+	$channels: Object,
+	$typing: Boolean,
+	$threads: Boolean,
+	$members: [] as any[],
+	$thread_member_lists: [] as any[],
+};