diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-08-22 22:08:22 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-08-22 22:08:22 +1000 |
commit | 975c414434ee08622126bdeb4060532029413c18 (patch) | |
tree | a46b7f33a150963f6b8d3515225574610325713f /src/util/schemas/LazyRequestSchema.ts | |
parent | Merge branch 'master' into fix/claim_accounts (diff) | |
parent | Merge remote-tracking branch 'Puyodead1/patch/prettier-config' into staging (diff) | |
download | server-975c414434ee08622126bdeb4060532029413c18.tar.xz |
Merge remote-tracking branch 'upstream/staging' into fix/claim_accounts
Diffstat (limited to 'src/util/schemas/LazyRequestSchema.ts')
-rw-r--r-- | src/util/schemas/LazyRequestSchema.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/util/schemas/LazyRequestSchema.ts b/src/util/schemas/LazyRequestSchema.ts new file mode 100644 index 00000000..1fe658bb --- /dev/null +++ b/src/util/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[], +}; |