From 1f416b972c6aa0cd4fc43a5790da56f8da21e82c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:08:14 +1000 Subject: Move schemas to /src/util/schemas --- src/util/schemas/LazyRequestSchema.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/util/schemas/LazyRequestSchema.ts (limited to 'src/util/schemas/LazyRequestSchema.ts') diff --git a/src/util/schemas/LazyRequestSchema.ts b/src/util/schemas/LazyRequestSchema.ts new file mode 100644 index 00000000..e9f2df20 --- /dev/null +++ b/src/util/schemas/LazyRequestSchema.ts @@ -0,0 +1,19 @@ +export interface LazyRequestSchema { + guild_id: string; + channels?: Record; + 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[], +}; -- cgit 1.5.1