refactor: rename WorkspacePlugin to WorkspaceAdapter (#2330)

This commit is contained in:
Himself65
2023-05-12 01:43:39 +08:00
committed by LongYinan
parent 5516c215cd
commit 5008958e84
28 changed files with 189 additions and 83 deletions
@@ -1,6 +1,6 @@
import type {
AffineLegacyCloudWorkspace,
AffinePublicWorkspace,
AffineWorkspace,
LocalWorkspace,
} from '@affine/workspace/type';
import type { Workspace } from '@blocksuite/store';
@@ -15,7 +15,11 @@ import { avatarImageStyle, avatarStyle } from './index.css';
export type WorkspaceAvatarProps = {
size?: number;
workspace: AffineWorkspace | LocalWorkspace | AffinePublicWorkspace | null;
workspace:
| AffineLegacyCloudWorkspace
| LocalWorkspace
| AffinePublicWorkspace
| null;
className?: string;
};