mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	fix(build): not all entity types taken into consideration
This commit is contained in:
		@@ -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";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user