summaryrefslogtreecommitdiff
path: root/packages/backend/src/models
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-02-20 21:34:09 -0500
committerHazelnoot <acomputerdog@gmail.com>2025-02-20 21:34:09 -0500
commit3642ea022b36dea2ab356a2cc5e1f38042c69a8b (patch)
tree1e12d766c4e74ced1ed0d92e4682afb5ccb68523 /packages/backend/src/models
parentinclude rejectQuotes on all packed User entities (diff)
downloadsharkey-3642ea022b36dea2ab356a2cc5e1f38042c69a8b.tar.gz
sharkey-3642ea022b36dea2ab356a2cc5e1f38042c69a8b.tar.bz2
sharkey-3642ea022b36dea2ab356a2cc5e1f38042c69a8b.zip
disable inline note previews from users with quotes disabled
Diffstat (limited to 'packages/backend/src/models')
-rw-r--r--packages/backend/src/models/json-schema/note.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/backend/src/models/json-schema/note.ts b/packages/backend/src/models/json-schema/note.ts
index 51d23fe5e7..16e240ab11 100644
--- a/packages/backend/src/models/json-schema/note.ts
+++ b/packages/backend/src/models/json-schema/note.ts
@@ -17,6 +17,11 @@ export const packedNoteSchema = {
optional: false, nullable: false,
format: 'date-time',
},
+ updatedAt: {
+ type: 'string',
+ optional: true, nullable: false,
+ format: 'date-time',
+ },
deletedAt: {
type: 'string',
optional: true, nullable: true,