summary refs log tree commit diff
path: root/api/src/schema/Invite.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:28:56 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:28:56 +0200
commit6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad (patch)
tree27c5de63307dc170b0dfa02140b14a306ed55514 /api/src/schema/Invite.ts
parent:construction: :sparkles: new body parser (bans route) (diff)
downloadserver-6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad.tar.xz
:sparkles: #307 done
Diffstat (limited to 'api/src/schema/Invite.ts')
-rw-r--r--api/src/schema/Invite.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/api/src/schema/Invite.ts b/api/src/schema/Invite.ts
deleted file mode 100644

index da6192bc..00000000 --- a/api/src/schema/Invite.ts +++ /dev/null
@@ -1,22 +0,0 @@ -export const InviteCreateSchema = { - $target_user_id: String, - $target_type: String, - $validate: String, //? wtf is this - $max_age: Number, - $max_uses: Number, - $temporary: Boolean, - $unique: Boolean, - $target_user: String, - $target_user_type: Number -}; -export interface InviteCreateSchema { - target_user_id?: string; - target_type?: string; - validate?: string; //? wtf is this - max_age?: number; - max_uses?: number; - temporary?: boolean; - unique?: boolean; - target_user?: string; - target_user_type?: number; -}