refactor: workspace manager (#5060)

This commit is contained in:
EYHN
2023-12-15 07:20:50 +00:00
parent af15aa06d4
commit fe2851d3e9
217 changed files with 3605 additions and 4244 deletions

View File

@@ -1,11 +1,8 @@
import { DebugLogger } from '@affine/debug';
import type { WorkspaceRegistry } from '@affine/env/workspace';
import { Workspace as BlockSuiteWorkspace } from '@blocksuite/store';
export { BlockSuiteWorkspace };
export type AllWorkspace = WorkspaceRegistry[keyof WorkspaceRegistry];
export enum WorkspaceSubPath {
ALL = 'all',
TRASH = 'trash',