diff options
author | xnacly <matteogropp@gmail.com> | 2021-04-08 17:54:12 +0200 |
---|---|---|
committer | xnacly <matteogropp@gmail.com> | 2021-04-08 17:54:12 +0200 |
commit | 8599b25a379ce83614b4bee016912032614f9826 (patch) | |
tree | 5e1664bd37e714acb1eb416fc6211b54aaf9c840 /src | |
parent | finished /invite route #21 (diff) | |
download | server-8599b25a379ce83614b4bee016912032614f9826.tar.xz |
update invite schema
Diffstat (limited to 'src')
-rw-r--r-- | src/schema/Invite.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/schema/Invite.ts b/src/schema/Invite.ts index 61f566d1..3c944037 100644 --- a/src/schema/Invite.ts +++ b/src/schema/Invite.ts @@ -1,4 +1,7 @@ export const InviteCreateSchema = { + $target_user_id: String, + $target_type: String, + $validate: String, //? wtf is this $max_age: Number, $max_uses: Number, $temporary: Boolean, @@ -7,6 +10,9 @@ export const InviteCreateSchema = { $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; |