refactor(editor): remove blocks package (#10708)

This commit is contained in:
Saul-Mirone
2025-03-09 05:44:26 +00:00
parent 0766a2d9ae
commit 12bc142809
277 changed files with 904 additions and 1060 deletions

View File

@@ -1,19 +1,21 @@
import type { EditorSetting } from '@blocksuite/affine-shared/services';
import {
ColorScheme,
type DocMode,
type ReferenceParams,
} from '@blocksuite/affine/blocks';
import { toast } from '@blocksuite/affine/components/toast';
import { Slot } from '@blocksuite/affine/global/slot';
import {
type DocModeProvider,
type EditorSetting,
GeneralSettingSchema,
type GenerateDocUrlService,
type NotificationService,
type ParseDocUrlService,
type ReferenceParams,
type ThemeExtension,
toast,
} from '@blocksuite/blocks';
import { Slot } from '@blocksuite/global/slot';
} from '@blocksuite/affine/shared/services';
import { type Workspace } from '@blocksuite/affine/store';
import type { TestAffineEditorContainer } from '@blocksuite/integration-test';
import { type Workspace } from '@blocksuite/store';
import { Signal, signal } from '@preact/signals-core';
function getModeFromStorage() {