|
|
|
@ -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";
|
|
|
|
|