summary refs log tree commit diff
path: root/src/util/schemas/UserProfileModifySchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-02 20:37:25 +1100
committerGitHub <noreply@github.com>2023-01-02 20:37:25 +1100
commit5ef4b80fc54db92467961ee8190f1fc93e8b4b71 (patch)
tree5165a3937f8204bf68829aaa6d829481a6693541 /src/util/schemas/UserProfileModifySchema.ts
parentUse adjusted email in /auth/login (diff)
parentProfile themes and pronouns (diff)
downloadserver-5ef4b80fc54db92467961ee8190f1fc93e8b4b71.tar.xz
Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatch
Patch body-parser to use json-bigint, like gateway
Diffstat (limited to 'src/util/schemas/UserProfileModifySchema.ts')
-rw-r--r--src/util/schemas/UserProfileModifySchema.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/schemas/UserProfileModifySchema.ts b/src/util/schemas/UserProfileModifySchema.ts
index 33a372c9..1e53d9e4 100644
--- a/src/util/schemas/UserProfileModifySchema.ts
+++ b/src/util/schemas/UserProfileModifySchema.ts
@@ -2,4 +2,10 @@ export interface UserProfileModifySchema {
 	bio?: string;
 	accent_color?: number | null;
 	banner?: string | null;
+	pronouns?: string;
+
+	/*
+	* @items.type integer
+	*/
+	theme_colors?: [number, number]
 }