summary refs log tree commit diff
path: root/src/schema/User.ts
diff options
context:
space:
mode:
authorBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-07 21:58:16 +0300
committerBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-07 21:58:16 +0300
commit98a780ad7ce288d7ed4fec90222cff77130b6b2a (patch)
tree239bf85e91f3a564541a8e1c8a1fd9e3a72a7155 /src/schema/User.ts
parent:pencil: features list (diff)
downloadserver-98a780ad7ce288d7ed4fec90222cff77130b6b2a.tar.xz
added profile banners
Diffstat (limited to '')
-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;
 }