refactor(editor): remove blocks package (#10708)
This commit is contained in:
277 files changed
+904
-1060
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { AffineSchemas, ZipTransformer } from '@blocksuite/blocks';
|
||||
import { Schema, Text, type Workspace } from '@blocksuite/store';
|
||||
|
||||
import { ZipTransformer } from '@blocksuite/affine/blocks';
|
||||
import { AffineSchemas } from '@blocksuite/affine/schemas';
|
||||
import { Schema, Text, type Workspace } from '@blocksuite/affine/store';
|
||||
export async function affineSnapshot(collection: Workspace, id: string) {
|
||||
const doc = collection.createDoc({ id });
|
||||
doc.load();
|
||||
|
||||
Reference in new issue
Block a user