fix(build): not all entity types taken into consideration

This commit is contained in:
Elian Doran 2025-06-04 15:48:38 +03:00
parent df7f0d4099
commit 5fc8100c5d
No known key found for this signature in database

View File

@ -8,7 +8,7 @@ interface Entity {
export interface EntityChange { export interface EntityChange {
id?: number | null; id?: number | null;
noteId?: string; noteId?: string;
entityName: EntityRowNames; entityName: EntityType;
entityId: string; entityId: string;
entity?: Entity; entity?: Entity;
positions?: Record<string, number>; positions?: Record<string, number>;
@ -22,3 +22,5 @@ export interface EntityChange {
changeId?: string | null; changeId?: string | null;
instanceId?: string | null; instanceId?: string | null;
} }
export type EntityType = "notes" | "branches" | "attributes" | "note_reordering" | "revisions" | "options" | "attachments" | "blobs" | "etapi_tokens" | "note_embeddings";