mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(build): not all entity types taken into consideration
This commit is contained in:
parent
df7f0d4099
commit
5fc8100c5d
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user