mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
refactor(editor): orgnize exports (#10709)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type {
|
||||
EdgelessRootBlockComponent,
|
||||
PageRootBlockComponent,
|
||||
SurfaceBlockComponent,
|
||||
} from '@blocksuite/affine/blocks';
|
||||
} from '@blocksuite/affine/blocks/root';
|
||||
import type { SurfaceBlockComponent } from '@blocksuite/affine/blocks/surface';
|
||||
import type { Store } from '@blocksuite/store';
|
||||
|
||||
import type { TestAffineEditorContainer } from '../../index.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { replaceIdMiddleware } from '@blocksuite/affine/blocks';
|
||||
import { AffineSchemas } from '@blocksuite/affine/schemas';
|
||||
import { replaceIdMiddleware } from '@blocksuite/affine/shared/adapters';
|
||||
import {
|
||||
type DocSnapshot,
|
||||
Schema,
|
||||
|
||||
@@ -10,11 +10,11 @@ blocksEffects();
|
||||
effects();
|
||||
|
||||
import {
|
||||
type DocMode,
|
||||
EdgelessEditorBlockSpecs,
|
||||
PageEditorBlockSpecs,
|
||||
StoreExtensions,
|
||||
} from '@blocksuite/affine/blocks';
|
||||
} from '@blocksuite/affine/extensions';
|
||||
import type { DocMode } from '@blocksuite/affine/model';
|
||||
import { AffineSchemas } from '@blocksuite/affine/schemas';
|
||||
import {
|
||||
CommunityCanvasTextFonts,
|
||||
|
||||
Reference in New Issue
Block a user