refactor(editor): remove global types in edgeless (#10092)

Closes: [BS-2553](https://linear.app/affine-design/issue/BS-2553/remove-global-types-in-edgeless)
This commit is contained in:
Saul-Mirone
2025-02-11 12:09:44 +00:00
parent 3062bd0771
commit dbf0f9dc20
45 changed files with 126 additions and 329 deletions
@@ -22,7 +22,10 @@ import {
type EditorHost,
StdIdentifier,
} from '@blocksuite/block-std';
import type { GfxBlockElementModel } from '@blocksuite/block-std/gfx';
import type {
GfxBlockElementModel,
GfxPrimitiveElementModel,
} from '@blocksuite/block-std/gfx';
import { BlockSuiteError, ErrorCode } from '@blocksuite/global/exceptions';
import type { IBound } from '@blocksuite/global/utils';
import { Bound } from '@blocksuite/global/utils';
@@ -410,7 +413,7 @@ export class ExportManager {
bound: IBound,
edgeless?: EdgelessRootBlockComponent,
nodes?: GfxBlockElementModel[],
surfaces?: BlockSuite.SurfaceElementModel[],
surfaces?: GfxPrimitiveElementModel[],
edgelessBackground?: {
zoom: number;
}