refactor(editor): rename block-std to std (#11250)

Closes: BS-2946
This commit is contained in:
Saul-Mirone
2025-03-28 07:20:34 +00:00
parent 4498676a96
commit 205cd7a86d
1029 changed files with 1580 additions and 1698 deletions

View File

@@ -4,7 +4,7 @@ import {
type EditorHost,
type TextRangePoint,
TextSelection,
} from '@blocksuite/block-std';
} from '@blocksuite/std';
import type {
BlockSnapshot,
DraftModel,

View File

@@ -6,6 +6,7 @@ import {
type ParagraphBlockModel,
type ReferenceInfo,
} from '@blocksuite/affine-model';
import { BlockSuiteError, ErrorCode } from '@blocksuite/global/exceptions';
import {
BLOCK_ID_ATTR,
type BlockComponent,
@@ -13,8 +14,7 @@ import {
type EditorHost,
type TextRangePoint,
TextSelection,
} from '@blocksuite/block-std';
import { BlockSuiteError, ErrorCode } from '@blocksuite/global/exceptions';
} from '@blocksuite/std';
import {
type BlockModel,
type BlockSnapshot,

View File

@@ -1,4 +1,4 @@
import type { BlockStdScope } from '@blocksuite/block-std';
import type { BlockStdScope } from '@blocksuite/std';
import type { TransformerMiddleware } from '@blocksuite/store';
export const surfaceRefToEmbed =