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 { AttachmentBlockModel } from '@blocksuite/affine/blocks';
import type { AttachmentBlockModel } from '@blocksuite/affine/model';
import { Entity, LiveData, ObjectPool } from '@toeverything/infra';
import { catchError, from, map, of, startWith, switchMap } from 'rxjs';

View File

@@ -1,4 +1,4 @@
import type { AttachmentBlockModel } from '@blocksuite/affine/blocks';
import type { AttachmentBlockModel } from '@blocksuite/affine/model';
export async function downloadBlobToBuffer(model: AttachmentBlockModel) {
const sourceId = model.sourceId;

View File

@@ -1,4 +1,4 @@
import type { AttachmentBlockModel } from '@blocksuite/affine/blocks';
import type { AttachmentBlockModel } from '@blocksuite/affine/model';
import { ObjectPool, Service } from '@toeverything/infra';
import { PDF } from '../entities/pdf';