refactor: rename WorkspacePlugin to WorkspaceAdapter (#2330)

This commit is contained in:
Himself65
2023-05-12 01:43:39 +08:00
committed by GitHub
parent 39c83bd25b
commit 063ffda09d
28 changed files with 189 additions and 83 deletions

View File

@@ -1,4 +1,7 @@
import type { AffineWorkspace, LocalWorkspace } from '@affine/workspace/type';
import type {
AffineLegacyCloudWorkspace,
LocalWorkspace,
} from '@affine/workspace/type';
import type { AffinePublicWorkspace } from '@affine/workspace/type';
import type { WorkspaceRegistry } from '@affine/workspace/type';
import { Workspace as BlockSuiteWorkspace } from '@blocksuite/store';
@@ -8,7 +11,7 @@ import type { ReactElement, ReactNode } from 'react';
export { BlockSuiteWorkspace };
export type AffineOfficialWorkspace =
| AffineWorkspace
| AffineLegacyCloudWorkspace
| LocalWorkspace
| AffinePublicWorkspace;