mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
28 lines
574 B
TypeScript
28 lines
574 B
TypeScript
export interface EntityChange {
|
|
id?: number | null;
|
|
noteId?: string;
|
|
entityName: string;
|
|
entityId: string;
|
|
entity?: any;
|
|
positions?: Record<string, number>;
|
|
hash: string;
|
|
utcDateChanged?: string;
|
|
utcDateModified?: string;
|
|
utcDateCreated?: string;
|
|
isSynced: boolean | 1 | 0;
|
|
isErased: boolean | 1 | 0;
|
|
componentId?: string | null;
|
|
changeId?: string | null;
|
|
instanceId?: string | null;
|
|
}
|
|
|
|
export interface EntityRow {
|
|
isDeleted?: boolean;
|
|
content?: Buffer | string;
|
|
}
|
|
|
|
export interface EntityChangeRecord {
|
|
entityChange: EntityChange;
|
|
entity?: EntityRow;
|
|
}
|