server-ts: Port services/sync

This commit is contained in:
Elian Doran
2024-02-18 13:10:51 +02:00
parent 43c89c0e9d
commit d89b791914
11 changed files with 133 additions and 85 deletions

View File

@@ -12,4 +12,14 @@ export interface EntityChange {
componentId?: string | null;
changeId?: string | null;
instanceId?: string | null;
}
}
export interface EntityRow {
isDeleted?: boolean;
content?: Buffer | string;
}
export interface EntityChangeRecord {
entityChange: EntityChange;
entity?: EntityRow;
}