diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-10-06 02:32:09 +0200 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-10-06 02:32:09 +0200 |
| commit | 4e6439763544f7b96009dd1411035343fb561d2a (patch) | |
| tree | 6f0d183391c27f383297ee1713e821ade4e60d20 /packages/backend/src/models/json-schema | |
| parent | merge: add speakAsCat extension and non-nya speech option (diff) | |
| download | sharkey-4e6439763544f7b96009dd1411035343fb561d2a.tar.gz sharkey-4e6439763544f7b96009dd1411035343fb561d2a.tar.bz2 sharkey-4e6439763544f7b96009dd1411035343fb561d2a.zip | |
add: profile backgrounds
Diffstat (limited to 'packages/backend/src/models/json-schema')
| -rw-r--r-- | packages/backend/src/models/json-schema/user.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/backend/src/models/json-schema/user.ts b/packages/backend/src/models/json-schema/user.ts index a8fb34acb1..bea2922f5a 100644 --- a/packages/backend/src/models/json-schema/user.ts +++ b/packages/backend/src/models/json-schema/user.ts @@ -122,6 +122,15 @@ export const packedUserDetailedNotMeOnlySchema = { type: 'string', nullable: true, optional: false, }, + backgroundUrl: { + type: 'string', + format: 'url', + nullable: true, optional: false, + }, + backgroundBlurhash: { + type: 'string', + nullable: true, optional: false, + }, isLocked: { type: 'boolean', nullable: false, optional: false, @@ -304,6 +313,11 @@ export const packedMeDetailedOnlySchema = { nullable: true, optional: false, format: 'id', }, + backgroundId: { + type: 'string', + nullable: true, optional: false, + format: 'id', + }, injectFeaturedNote: { type: 'boolean', nullable: true, optional: false, |