summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-08-15 00:49:45 +0200
committerRory& <root@rory.gay>2026-08-15 00:49:45 +0200
commit65a82c6121d6a0b075a890b28a5597fbbc02adb8 (patch)
tree4f47ec5f8984755695d89dec04166e0553700ab5
parentupdate to latest branch changes and adjust the file (diff)
downloadserver-ts-65a82c6121d6a0b075a890b28a5597fbbc02adb8.tar.xz
Allow avatar_description field in profile update
-rw-r--r--assets/openapi.json4
-rw-r--r--assets/schemas.json6
-rw-r--r--src/schemas/uncategorised/UserModifySchema.ts1
3 files changed, 11 insertions, 0 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 9bd04b0e..7c0e3a42 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -5613,6 +5613,10 @@ "type": "string", "nullable": true }, + "avatar_description": { + "type": "string", + "nullable": true + }, "bio": { "type": "string" }, diff --git a/assets/schemas.json b/assets/schemas.json
index b0ffa283..8ff199c5 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -5986,6 +5986,12 @@ "string" ] }, + "avatar_description": { + "type": [ + "null", + "string" + ] + }, "bio": { "type": "string" }, diff --git a/src/schemas/uncategorised/UserModifySchema.ts b/src/schemas/uncategorised/UserModifySchema.ts
index 18eeb1f6..006be924 100644 --- a/src/schemas/uncategorised/UserModifySchema.ts +++ b/src/schemas/uncategorised/UserModifySchema.ts
@@ -25,6 +25,7 @@ export interface UserModifySchema { */ username?: string; avatar?: string | null; + avatar_description?: string | null; bio?: string; accent_color?: number; banner?: string | null;