refactor(editor): add gfx entry in bs global package (#10612)

This commit is contained in:
Saul-Mirone
2025-03-04 12:46:50 +00:00
parent 5ad3d3c94a
commit 66d9d576e0
216 changed files with 341 additions and 397 deletions
@@ -1,7 +1,7 @@
import type { MindmapElementModel } from '@blocksuite/affine-model';
import type { GfxController } from '@blocksuite/block-std/gfx';
import { LayoutType, type MindMapView } from '@blocksuite/blocks';
import { Bound } from '@blocksuite/global/utils';
import { Bound } from '@blocksuite/global/gfx';
import { beforeEach, describe, expect, test } from 'vitest';
import { click, pointermove, wait } from '../utils/common.js';
@@ -3,7 +3,7 @@ import {
type SurfaceBlockModel,
ZipTransformer,
} from '@blocksuite/blocks';
import type { PointLocation } from '@blocksuite/global/utils';
import type { PointLocation } from '@blocksuite/global/gfx';
import { Schema } from '@blocksuite/store';
import { beforeEach, expect, test } from 'vitest';
@@ -1,4 +1,4 @@
import type { Point } from '@blocksuite/global/utils';
import type { Point } from '@blocksuite/global/gfx';
export function wait(time: number = 0) {
return new Promise(resolve => {