summary refs log tree commit diff
path: root/src/schema
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema')
-rw-r--r--src/schema/User.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/schema/User.ts b/src/schema/User.ts

index 2b74a433..15f27088 100644 --- a/src/schema/User.ts +++ b/src/schema/User.ts
@@ -41,3 +41,13 @@ export interface UserUpdateSchema { public_flags: bigint; guilds: string[]; } + +export const UserModifySchema = { + username: String, + avatar: String || null, +}; + +export interface UserModifySchema { + username: string; + avatar: string | null; +}