refactor(editor): orgnize exports (#10709)

This commit is contained in:
Saul-Mirone
2025-03-10 02:04:01 +00:00
parent 6540b568b0
commit ec709925ee
266 changed files with 522 additions and 889 deletions

View File

@@ -1,4 +1,4 @@
import type { DocMode, RootBlockModel } from '@blocksuite/affine/blocks';
import type { DocMode, RootBlockModel } from '@blocksuite/affine/model';
import { Entity } from '@toeverything/infra';
import type { DocProperties } from '../../db';

View File

@@ -1,4 +1,4 @@
import type { DocMode } from '@blocksuite/affine/blocks';
import type { DocMode } from '@blocksuite/affine/model';
import { Entity, LiveData } from '@toeverything/infra';
import { map } from 'rxjs';

View File

@@ -1,4 +1,4 @@
import type { DocMode } from '@blocksuite/affine/blocks';
import type { DocMode } from '@blocksuite/affine/model';
import type { DocMeta } from '@blocksuite/affine/store';
import { Entity, LiveData } from '@toeverything/infra';

View File

@@ -1,7 +1,8 @@
import { DebugLogger } from '@affine/debug';
import { Unreachable } from '@affine/env/constant';
import { type DocMode, replaceIdMiddleware } from '@blocksuite/affine/blocks';
import type { DeltaInsert } from '@blocksuite/affine/inline';
import type { DocMode } from '@blocksuite/affine/model';
import { replaceIdMiddleware } from '@blocksuite/affine/shared/adapters';
import type { AffineTextAttributes } from '@blocksuite/affine/shared/types';
import { Slice, Text, Transformer } from '@blocksuite/affine/store';
import { LiveData, ObjectPool, Service } from '@toeverything/infra';

View File

@@ -1,4 +1,4 @@
import type { DocMode } from '@blocksuite/affine/blocks';
import type { DocMode } from '@blocksuite/affine/model';
import type { DocMeta } from '@blocksuite/affine/store';
import {
Store,