From 5fc8100c5d112d756b4e2391fc01a5416d1ba1e6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 4 Jun 2025 15:48:38 +0300 Subject: [PATCH] fix(build): not all entity types taken into consideration --- apps/client/src/server_types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/server_types.ts b/apps/client/src/server_types.ts index df6e1a7fc..2aa521405 100644 --- a/apps/client/src/server_types.ts +++ b/apps/client/src/server_types.ts @@ -8,7 +8,7 @@ interface Entity { export interface EntityChange { id?: number | null; noteId?: string; - entityName: EntityRowNames; + entityName: EntityType; entityId: string; entity?: Entity; positions?: Record; @@ -22,3 +22,5 @@ export interface EntityChange { changeId?: string | null; instanceId?: string | null; } + +export type EntityType = "notes" | "branches" | "attributes" | "note_reordering" | "revisions" | "options" | "attachments" | "blobs" | "etapi_tokens" | "note_embeddings";