mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
refactor(editor): remove blocks package (#10708)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { EditorHost } from '@blocksuite/block-std';
|
||||
import type * as Effects from '@blocksuite/blocks/effects';
|
||||
import type { EditorHost } from '@blocksuite/affine/block-std';
|
||||
import type * as Effects from '@blocksuite/affine/effects';
|
||||
import type { Store, Transformer, Workspace } from '@blocksuite/affine/store';
|
||||
import type { TestAffineEditorContainer } from '@blocksuite/integration-test';
|
||||
import type { Store, Transformer, Workspace } from '@blocksuite/store';
|
||||
|
||||
declare const _GLOBAL_: typeof Effects;
|
||||
|
||||
@@ -11,13 +11,14 @@ declare global {
|
||||
* the following instance are initialized in `packages/playground/apps/starter/main.ts`
|
||||
*/
|
||||
$blocksuite: {
|
||||
store: typeof import('@blocksuite/store');
|
||||
blocks: typeof import('@blocksuite/blocks');
|
||||
store: typeof import('@blocksuite/affine/store');
|
||||
blocks: typeof import('@blocksuite/affine/blocks');
|
||||
global: {
|
||||
utils: typeof import('@blocksuite/global/utils');
|
||||
utils: typeof import('@blocksuite/affine/global/utils');
|
||||
};
|
||||
services: typeof import('@blocksuite/affine/shared/services');
|
||||
editor: typeof import('@blocksuite/integration-test');
|
||||
blockStd: typeof import('@blocksuite/block-std');
|
||||
blockStd: typeof import('@blocksuite/affine/block-std');
|
||||
};
|
||||
collection: Workspace;
|
||||
doc: Store;
|
||||
|
||||
Reference in New Issue
Block a user