refactor(editor): rename job to transformer (#9639)

This commit is contained in:
Mirone authored and GitHub committed 2025-01-11 12:04:07 +08:00
1 parent 9fa35ed490
commit 446b31b621
56 files changed
+223 -193

No files matched your search

+2 -2
View File
@@ -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, Blocks, Workspace, Job } from '@blocksuite/store';
import type { BlockSchema, Blocks, Workspace, Transformer } from '@blocksuite/store';
import type { z } from 'zod';
import type * as Y from 'yjs';
@@ -17,7 +17,7 @@ declare global {
doc: Blocks;
collection: Workspace;
blockSchemas: z.infer<typeof BlockSchema>[];
job: Job;
job: Transformer;
Y: typeof Y;
std: typeof std;
testUtils: TestUtils;