diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-02-20 21:34:09 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-02-20 21:34:09 -0500 |
| commit | 3642ea022b36dea2ab356a2cc5e1f38042c69a8b (patch) | |
| tree | 1e12d766c4e74ced1ed0d92e4682afb5ccb68523 /packages/backend/src/models/json-schema/note.ts | |
| parent | include rejectQuotes on all packed User entities (diff) | |
| download | sharkey-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/json-schema/note.ts')
| -rw-r--r-- | packages/backend/src/models/json-schema/note.ts | 5 |
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, |