summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/json-schema
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-06-04 12:40:13 +0000
committerHazelnoot <acomputerdog@gmail.com>2025-06-04 12:40:13 +0000
commitdae544b353ebbc6edd85c032786b9901807460e8 (patch)
treef8495c993b0c29f911220ade7df8a5f3f076e811 /packages/backend/src/models/json-schema
parentmerge: Fix error caused by activity type confusion (!1090) (diff)
parentrestore join to note.channel in channel/timeline.ts (diff)
downloadsharkey-dae544b353ebbc6edd85c032786b9901807460e8.tar.gz
sharkey-dae544b353ebbc6edd85c032786b9901807460e8.tar.bz2
sharkey-dae544b353ebbc6edd85c032786b9901807460e8.zip
merge: Rework queries and add indexes to improve timeline performance (!1091)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1091 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
Diffstat (limited to 'packages/backend/src/models/json-schema')
-rw-r--r--packages/backend/src/models/json-schema/user.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/backend/src/models/json-schema/user.ts b/packages/backend/src/models/json-schema/user.ts
index 96369c3ad9..2e5364f404 100644
--- a/packages/backend/src/models/json-schema/user.ts
+++ b/packages/backend/src/models/json-schema/user.ts
@@ -200,6 +200,10 @@ export const packedUserLiteSchema = {
type: 'string',
nullable: true, optional: false,
},
+ isSilenced: {
+ type: 'boolean',
+ nullable: false, optional: false,
+ },
},
},
emojis: {