summary refs log tree commit diff
path: root/src/schema/User.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-07 21:18:11 +0200
committerGitHub <noreply@github.com>2021-08-07 21:18:11 +0200
commita95ecf42876d80093ed0beb0bf98ef5d28b922dc (patch)
tree5ee3e937312af799008c264a469e817ade4443b6 /src/schema/User.ts
parent:pencil: features list (diff)
parentnpm i @fosscord/server-util@1.3.40 (diff)
downloadserver-a95ecf42876d80093ed0beb0bf98ef5d28b922dc.tar.xz
Merge pull request #190 from BanTheNons/profile-banners
Implemented profile banners!
Diffstat (limited to 'src/schema/User.ts')
-rw-r--r--src/schema/User.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/schema/User.ts b/src/schema/User.ts

index ae213ee3..77ee08b4 100644 --- a/src/schema/User.ts +++ b/src/schema/User.ts
@@ -4,7 +4,8 @@ export const UserModifySchema = { $username: new Length(String, 2, 32), $avatar: String, $bio: new Length(String, 0, 190), - $accent_color: Number + $accent_color: Number, + $banner: String }; export interface UserModifySchema { @@ -12,4 +13,5 @@ export interface UserModifySchema { avatar?: string | null; bio?: string; accent_color?: number | null; + banner?: string | null; }