2024-02-16 23:56:32 +02:00
|
|
|
export interface EntityChange {
|
|
|
|
id?: number | null;
|
2024-02-17 01:51:47 +02:00
|
|
|
noteId?: string;
|
2024-02-16 23:56:32 +02:00
|
|
|
entityName: string;
|
|
|
|
entityId: string;
|
2024-02-17 01:51:47 +02:00
|
|
|
entity?: any;
|
2024-02-17 11:54:41 +02:00
|
|
|
positions?: Record<string, number>;
|
2024-02-16 23:56:32 +02:00
|
|
|
hash: string;
|
2024-02-17 10:02:50 +02:00
|
|
|
utcDateChanged?: string;
|
2024-02-16 23:56:32 +02:00
|
|
|
isSynced: boolean | 1 | 0;
|
|
|
|
isErased: boolean | 1 | 0;
|
|
|
|
componentId?: string | null;
|
|
|
|
changeId?: string | null;
|
|
|
|
instanceId?: string | null;
|
2024-02-18 13:10:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface EntityRow {
|
|
|
|
isDeleted?: boolean;
|
|
|
|
content?: Buffer | string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface EntityChangeRecord {
|
|
|
|
entityChange: EntityChange;
|
|
|
|
entity?: EntityRow;
|
|
|
|
}
|