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 10:28:36 +0200
committerGitHub <noreply@github.com>2021-08-07 10:28:36 +0200
commit02d88fc41e8fe3acd2fdbeaac5de480f4b1c555e (patch)
treec959143fb9abcdf122dae36579330348890c876e /src/schema/User.ts
parentMerge pull request #185 from fosscord/l10n_master (diff)
parentnpm i @fosscord/server-util@1.3.36 (diff)
downloadserver-02d88fc41e8fe3acd2fdbeaac5de480f4b1c555e.tar.xz
Merge pull request #186 from BanTheNons/profile-route
Added the profile routes
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 d5a7b909..ae213ee3 100644 --- a/src/schema/User.ts +++ b/src/schema/User.ts
@@ -3,11 +3,13 @@ import { Length } from "../util/instanceOf"; export const UserModifySchema = { $username: new Length(String, 2, 32), $avatar: String, - $bio: new Length(String, 0, 190) + $bio: new Length(String, 0, 190), + $accent_color: Number }; export interface UserModifySchema { username?: string; avatar?: string | null; bio?: string; + accent_color?: number | null; }