summary refs log tree commit diff
path: root/src/schema/User.ts
diff options
context:
space:
mode:
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; }