diff options
author | BuildTools <59115290+BanTheNons@users.noreply.github.com> | 2021-08-07 11:02:13 +0300 |
---|---|---|
committer | BuildTools <59115290+BanTheNons@users.noreply.github.com> | 2021-08-07 11:02:13 +0300 |
commit | 34db2d65ee962f295f452ff6b04b8a65a60bacbf (patch) | |
tree | a86e5bd6096e7ee6b1dbd89bc7229f68d3eff554 /src | |
parent | bug fix (diff) | |
download | server-34db2d65ee962f295f452ff6b04b8a65a60bacbf.tar.xz |
added accent_color to UserModifySchema
Diffstat (limited to 'src')
-rw-r--r-- | src/schema/User.ts | 4 |
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; } |