add a getSnapshotProgress implementation to DocStorageManager

This commit is contained in:
Paul Fitzpatrick 2024-07-02 06:52:57 -04:00
parent 4815a007ed
commit 95b8134614

View File

@ -258,7 +258,14 @@ export class DocStorageManager implements IDocStorageManager {
} }
public getSnapshotProgress(): SnapshotProgress { public getSnapshotProgress(): SnapshotProgress {
throw new Error('getSnapshotProgress not implemented'); return {
pushes: 0,
skippedPushes: 0,
errors: 0,
changes: 0,
windowsStarted: 0,
windowsDone: 0,
};
} }
public async replace(docName: string, options: any): Promise<void> { public async replace(docName: string, options: any): Promise<void> {