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,5 +1,5 @@
import { toURLSearchParams } from '@affine/core/modules/navigation';
import type { ReferenceParams } from '@blocksuite/affine/blocks';
import type { ReferenceParams } from '@blocksuite/affine/model';
import { fromPromise, OnEvent, Service } from '@toeverything/infra';
import { isEmpty, omit } from 'lodash-es';
import { map, type Observable, switchMap } from 'rxjs';

View File

@@ -1,18 +1,18 @@
import type {
AttachmentBlockModel,
BookmarkBlockModel,
EmbedBlockModel,
ImageBlockModel,
TableBlockModel,
} from '@blocksuite/affine/blocks';
import {
defaultBlockMarkdownAdapterMatchers,
InlineDeltaToMarkdownAdapterExtensions,
MarkdownAdapter,
MarkdownInlineToDeltaAdapterExtensions,
TableModelFlavour,
} from '@blocksuite/affine/blocks';
import { defaultBlockMarkdownAdapterMatchers } from '@blocksuite/affine/adapters';
import { Container } from '@blocksuite/affine/global/di';
import {
type AttachmentBlockModel,
type BookmarkBlockModel,
type EmbedBlockModel,
type ImageBlockModel,
type TableBlockModel,
TableModelFlavour,
} from '@blocksuite/affine/model';
import {
InlineDeltaToMarkdownAdapterExtensions,
MarkdownInlineToDeltaAdapterExtensions,
} from '@blocksuite/affine/rich-text';
import { MarkdownAdapter } from '@blocksuite/affine/shared/adapters';
import type { AffineTextAttributes } from '@blocksuite/affine/shared/types';
import {
createYProxy,