summary refs log tree commit diff
path: root/src/schema/Invite.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:53 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:53 +0200
commit6ac4067c39cdcae1cef1718273aaa8796460ffd9 (patch)
tree753cb7c53c914f33e989849753d1ef97767603f6 /src/schema/Invite.ts
parent:bug: fix message schema (diff)
parent:sparkles: add npm i fosscord-server-util to postinstall (diff)
downloadserver-6ac4067c39cdcae1cef1718273aaa8796460ffd9.tar.xz
Merge branch 'master' of https://github.com/discord-open-source/discord-api
Diffstat (limited to 'src/schema/Invite.ts')
-rw-r--r--src/schema/Invite.ts6
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;