feat: temporary support loading data for public workspace

This commit is contained in:
alt0
2023-01-11 20:20:48 +08:00
parent 7e77175679
commit 8b757f538e
3 changed files with 38 additions and 1 deletions

View File

@@ -116,6 +116,11 @@ export class AffineProvider extends BaseProvider {
}
}
override async loadPublicWorkspace(blocksuiteWorkspace: BlocksuiteWorkspace) {
await this._applyCloudUpdates(blocksuiteWorkspace);
return blocksuiteWorkspace;
}
override async warpWorkspace(workspace: BlocksuiteWorkspace) {
await this._applyCloudUpdates(workspace);
const { room } = workspace;