refactor(editor): rename store api (#9518)
This commit is contained in:
6
blocksuite/playground/apps/env.d.ts
vendored
6
blocksuite/playground/apps/env.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import type { EditorHost } from '@blocksuite/block-std';
|
||||
import type { TestUtils } from '@blocksuite/blocks';
|
||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||
import type { BlockSchema, Doc, DocCollection, Job } from '@blocksuite/store';
|
||||
import type { BlockSchema, Blocks, Workspace, Job } from '@blocksuite/store';
|
||||
import type { z } from 'zod';
|
||||
import type * as Y from 'yjs';
|
||||
|
||||
@@ -14,8 +14,8 @@ declare global {
|
||||
|
||||
interface Window {
|
||||
editor: AffineEditorContainer;
|
||||
doc: Doc;
|
||||
collection: DocCollection;
|
||||
doc: Blocks;
|
||||
collection: Workspace;
|
||||
blockSchemas: z.infer<typeof BlockSchema>[];
|
||||
job: Job;
|
||||
Y: typeof Y;
|
||||
|
||||
Reference in New Issue
Block a user