update invite schema

This commit is contained in:
xnacly 2021-04-08 17:54:12 +02:00
parent 5a0351aa05
commit 8599b25a37

View File

@ -1,4 +1,7 @@
export const InviteCreateSchema = { export const InviteCreateSchema = {
$target_user_id: String,
$target_type: String,
$validate: String, //? wtf is this
$max_age: Number, $max_age: Number,
$max_uses: Number, $max_uses: Number,
$temporary: Boolean, $temporary: Boolean,
@ -7,6 +10,9 @@ export const InviteCreateSchema = {
$target_user_type: Number, $target_user_type: Number,
}; };
export interface InviteCreateSchema { export interface InviteCreateSchema {
target_user_id?: String;
target_type?: String;
validate?: String; //? wtf is this
max_age?: Number; max_age?: Number;
max_uses?: Number; max_uses?: Number;
temporary?: Boolean; temporary?: Boolean;