From f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:24:21 +1000 Subject: Refactor to mono-repo + upgrade packages --- src/gateway/schema/LazyRequest.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/gateway/schema/LazyRequest.ts (limited to 'src/gateway/schema/LazyRequest.ts') diff --git a/src/gateway/schema/LazyRequest.ts b/src/gateway/schema/LazyRequest.ts new file mode 100644 index 00000000..1fe658bb --- /dev/null +++ b/src/gateway/schema/LazyRequest.ts @@ -0,0 +1,19 @@ +export interface LazyRequest { + guild_id: string; + channels?: Record; + 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[], +}; -- cgit 1.5.1