summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/json-schema/note-edit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/models/json-schema/note-edit.ts')
-rw-r--r--packages/backend/src/models/json-schema/note-edit.ts59
1 files changed, 0 insertions, 59 deletions
diff --git a/packages/backend/src/models/json-schema/note-edit.ts b/packages/backend/src/models/json-schema/note-edit.ts
deleted file mode 100644
index ba936f866b..0000000000
--- a/packages/backend/src/models/json-schema/note-edit.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * SPDX-FileCopyrightText: marie and other Sharkey contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- */
-
-export const packedNoteEdit = {
- type: "object",
- properties: {
- id: {
- type: "string",
- optional: false,
- nullable: false,
- format: "id",
- example: "xxxxxxxxxx",
- },
- updatedAt: {
- type: "string",
- optional: false,
- nullable: false,
- format: "date-time",
- },
- note: {
- type: "object",
- optional: false,
- nullable: false,
- ref: "Note",
- },
- noteId: {
- type: "string",
- optional: false,
- nullable: false,
- format: "id",
- },
- oldText: {
- type: "string",
- optional: true,
- nullable: true,
- },
- newText: {
- type: "string",
- optional: true,
- nullable: true,
- },
- cw: {
- type: "string",
- optional: true,
- nullable: true,
- },
- fileIds: {
- type: "array",
- optional: true,
- nullable: true,
- items: {
- type: "string",
- format: "id",
- },
- },
- },
-} as const;