From 6dbcb62da707d340e2e6714759a88767f7b3b841 Mon Sep 17 00:00:00 2001 From: Saul-Mirone Date: Fri, 19 Jul 2024 05:06:26 +0000 Subject: [PATCH] chore: bump blocksuite (#7546) ## Features - https://github.com/toeverything/BlockSuite/pull/7659 @donteatfriedrice ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7682 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7641 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7685 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7680 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7679 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7676 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7675 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7670 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7672 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7668 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7664 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7665 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7662 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7658 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7654 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7648 @undefined - https://github.com/toeverything/BlockSuite/pull/7653 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7651 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7647 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7671 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7656 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7643 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7666 @doodlewind - https://github.com/toeverything/BlockSuite/pull/7645 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7637 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7639 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7636 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7633 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7630 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7629 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7627 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7625 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7623 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7599 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7621 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7619 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7614 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7613 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7611 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7609 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7594 @fundon - https://github.com/toeverything/BlockSuite/pull/7593 @fundon ## Refactor - https://github.com/toeverything/BlockSuite/pull/7634 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7616 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7617 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7603 @Saul-Mirone ## Misc - https://github.com/toeverything/BlockSuite/pull/7604 @Saul-Mirone ## Features ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7688 @fourdim - https://github.com/toeverything/BlockSuite/pull/7690 @Saul-Mirone ## Refactor ## Misc --- packages/common/env/package.json | 4 +- packages/common/infra/package.json | 10 +- packages/frontend/component/package.json | 10 +- packages/frontend/core/package.json | 12 +- .../presets/ai/_common/markdown-utils.ts | 7 +- .../presets/ai/utils/markdown-utils.ts | 10 +- .../core/src/layouts/workspace-layout.tsx | 10 +- .../core/src/pages/workspace/index.tsx | 10 +- packages/frontend/electron/package.json | 8 +- tools/cli/package.json | 2 +- yarn.lock | 136 +++++++++--------- 11 files changed, 119 insertions(+), 100 deletions(-) diff --git a/packages/common/env/package.json b/packages/common/env/package.json index 53719b3e22..0064f92c65 100644 --- a/packages/common/env/package.json +++ b/packages/common/env/package.json @@ -3,8 +3,8 @@ "private": true, "type": "module", "devDependencies": { - "@blocksuite/global": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/store": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/global": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/store": "0.16.0-canary-202407190406-c44f7e8", "react": "18.3.1", "react-dom": "18.3.1", "vitest": "1.6.0" diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json index 0fd08f7fc4..c040a322bc 100644 --- a/packages/common/infra/package.json +++ b/packages/common/infra/package.json @@ -14,9 +14,9 @@ "@affine/debug": "workspace:*", "@affine/env": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/blocks": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/global": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/store": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/blocks": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/global": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/store": "0.16.0-canary-202407190406-c44f7e8", "@datastructures-js/binary-search-tree": "^5.3.2", "foxact": "^0.2.33", "fuse.js": "^7.0.0", @@ -33,8 +33,8 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/block-std": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/presets": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/block-std": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/presets": "0.16.0-canary-202407190406-c44f7e8", "@testing-library/react": "^16.0.0", "async-call-rpc": "^6.4.0", "fake-indexeddb": "^6.0.0", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index f7c1b6c2be..b83e166339 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -78,12 +78,12 @@ "zod": "^3.22.4" }, "devDependencies": { - "@blocksuite/block-std": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/blocks": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/global": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/block-std": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/blocks": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/global": "0.16.0-canary-202407190406-c44f7e8", "@blocksuite/icons": "2.1.59", - "@blocksuite/presets": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/store": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/presets": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/store": "0.16.0-canary-202407190406-c44f7e8", "@storybook/addon-actions": "^7.6.17", "@storybook/addon-essentials": "^7.6.17", "@storybook/addon-interactions": "^7.6.17", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 47c11d3f91..049f490aca 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -19,13 +19,13 @@ "@affine/graphql": "workspace:*", "@affine/i18n": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/block-std": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/blocks": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/global": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/block-std": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/blocks": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/global": "0.16.0-canary-202407190406-c44f7e8", "@blocksuite/icons": "2.1.59", - "@blocksuite/inline": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/presets": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/store": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/inline": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/presets": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/store": "0.16.0-canary-202407190406-c44f7e8", "@dnd-kit/core": "^6.1.0", "@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/sortable": "^8.0.0", diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/markdown-utils.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/markdown-utils.ts index efd69d4b23..463af8f25f 100644 --- a/packages/frontend/core/src/blocksuite/presets/ai/_common/markdown-utils.ts +++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/markdown-utils.ts @@ -10,6 +10,9 @@ export async function getMarkdownFromSlice(host: EditorHost, slice: Slice) { }); const markdownAdapter = new MarkdownAdapter(job); const markdown = await markdownAdapter.fromSlice(slice); + if (!markdown) { + return ''; + } return markdown.file; } @@ -63,7 +66,9 @@ export async function insertFromMarkdown( parent, (index ?? 0) + i ); - models.push(model); + if (model) { + models.push(model); + } } return models; diff --git a/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts b/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts index 844041bef7..bf519c20cc 100644 --- a/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts +++ b/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts @@ -80,6 +80,9 @@ export async function getContentFromSlice( middlewares: [titleMiddleware, embedSyncedDocMiddleware('content')], }); const snapshot = await job.sliceToSnapshot(slice); + if (!snapshot) { + return ''; + } processTextInSnapshot(snapshot, host); const adapter = type === 'markdown' ? new MarkdownAdapter(job) : new PlainTextAdapter(job); @@ -96,6 +99,9 @@ export async function getPlainTextFromSlice(host: EditorHost, slice: Slice) { middlewares: [titleMiddleware], }); const snapshot = await job.sliceToSnapshot(slice); + if (!snapshot) { + return ''; + } processTextInSnapshot(snapshot, host); const plainTextAdapter = new PlainTextAdapter(job); const plainText = await plainTextAdapter.fromSliceSnapshot({ @@ -158,7 +164,9 @@ export async function insertFromMarkdown( parent, (index ?? 0) + i ); - models.push(model); + if (model) { + models.push(model); + } } return models; diff --git a/packages/frontend/core/src/layouts/workspace-layout.tsx b/packages/frontend/core/src/layouts/workspace-layout.tsx index 4eeca95a17..5431600222 100644 --- a/packages/frontend/core/src/layouts/workspace-layout.tsx +++ b/packages/frontend/core/src/layouts/workspace-layout.tsx @@ -120,14 +120,18 @@ export const WorkspaceLayoutInner = ({ children }: PropsWithChildren) => { currentWorkspace.docCollection, templateBlob ); - doc.resetHistory(); + if (doc) { + doc.resetHistory(); + } return { doc, mode }; }).pipe( timeout(10000 /* 10s */), mergeMap(({ mode, doc }) => { - docsList.setMode(doc.id, mode as DocMode); - workbench.openDoc(doc.id); + if (doc) { + docsList.setMode(doc.id, mode as DocMode); + workbench.openDoc(doc.id); + } return EMPTY; }), onStart(() => { diff --git a/packages/frontend/core/src/pages/workspace/index.tsx b/packages/frontend/core/src/pages/workspace/index.tsx index f02b51960e..4f39bf487f 100644 --- a/packages/frontend/core/src/pages/workspace/index.tsx +++ b/packages/frontend/core/src/pages/workspace/index.tsx @@ -96,10 +96,12 @@ export const Component = (): ReactElement => { ); console.log( 'imported docs', - newDocs.map(doc => ({ - id: doc.id, - title: doc.meta?.title, - })) + newDocs + .filter(doc => !!doc) + .map(doc => ({ + id: doc.id, + title: doc.meta?.title, + })) ); } }; diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json index 8e6ce48c8a..0e4dd07033 100644 --- a/packages/frontend/electron/package.json +++ b/packages/frontend/electron/package.json @@ -29,10 +29,10 @@ "@affine/env": "workspace:*", "@affine/i18n": "workspace:*", "@affine/native": "workspace:*", - "@blocksuite/block-std": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/blocks": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/presets": "0.16.0-canary-202407170801-6efe525", - "@blocksuite/store": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/block-std": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/blocks": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/presets": "0.16.0-canary-202407190406-c44f7e8", + "@blocksuite/store": "0.16.0-canary-202407190406-c44f7e8", "@electron-forge/cli": "^7.3.0", "@electron-forge/core": "^7.3.0", "@electron-forge/core-utils": "^7.3.0", diff --git a/tools/cli/package.json b/tools/cli/package.json index 0de662485f..02e6c37bbb 100644 --- a/tools/cli/package.json +++ b/tools/cli/package.json @@ -6,7 +6,7 @@ "@affine/env": "workspace:*", "@affine/templates": "workspace:*", "@aws-sdk/client-s3": "3.614.0", - "@blocksuite/presets": "0.16.0-canary-202407170801-6efe525", + "@blocksuite/presets": "0.16.0-canary-202407190406-c44f7e8", "@clack/core": "^0.3.4", "@clack/prompts": "^0.7.0", "@magic-works/i18n-codegen": "^0.6.0", diff --git a/yarn.lock b/yarn.lock index ac39b912b4..10f00b490b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -226,7 +226,7 @@ __metadata: "@affine/env": "workspace:*" "@affine/templates": "workspace:*" "@aws-sdk/client-s3": "npm:3.614.0" - "@blocksuite/presets": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/presets": "npm:0.16.0-canary-202407190406-c44f7e8" "@clack/core": "npm:^0.3.4" "@clack/prompts": "npm:^0.7.0" "@magic-works/i18n-codegen": "npm:^0.6.0" @@ -284,12 +284,12 @@ __metadata: "@affine/i18n": "workspace:*" "@atlaskit/pragmatic-drag-and-drop": "npm:^1.2.1" "@atlaskit/pragmatic-drag-and-drop-hitbox": "npm:^1.0.3" - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/blocks": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/blocks": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" "@blocksuite/icons": "npm:2.1.59" - "@blocksuite/presets": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/presets": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@dnd-kit/core": "npm:^6.1.0" "@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/sortable": "npm:^8.0.0" @@ -385,13 +385,13 @@ __metadata: "@affine/graphql": "workspace:*" "@affine/i18n": "workspace:*" "@affine/templates": "workspace:*" - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/blocks": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/blocks": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" "@blocksuite/icons": "npm:2.1.59" - "@blocksuite/inline": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/presets": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/inline": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/presets": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@dnd-kit/core": "npm:^6.1.0" "@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/sortable": "npm:^8.0.0" @@ -519,10 +519,10 @@ __metadata: "@affine/env": "workspace:*" "@affine/i18n": "workspace:*" "@affine/native": "workspace:*" - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/blocks": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/presets": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/blocks": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/presets": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@electron-forge/cli": "npm:^7.3.0" "@electron-forge/core": "npm:^7.3.0" "@electron-forge/core-utils": "npm:^7.3.0" @@ -578,8 +578,8 @@ __metadata: version: 0.0.0-use.local resolution: "@affine/env@workspace:packages/common/env" dependencies: - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" lit: "npm:^3.1.2" react: "npm:18.3.1" react-dom: "npm:18.3.1" @@ -3446,11 +3446,11 @@ __metadata: languageName: node linkType: hard -"@blocksuite/block-std@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/block-std@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/block-std@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/block-std@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" "@lit-labs/preact-signals": "npm:^1.0.2" "@types/hast": "npm:^3.0.4" lit: "npm:^3.1.3" @@ -3460,20 +3460,20 @@ __metadata: w3c-keyname: "npm:^2.2.8" zod: "npm:^3.23.8" peerDependencies: - "@blocksuite/inline": 0.16.0-canary-202407170801-6efe525 - "@blocksuite/store": 0.16.0-canary-202407170801-6efe525 - checksum: 10/8f1db996688811ee8934cf2466b2c6be1e5f749b30818ae189ff5dbac5edaa50e3a47218b1751c13e4a03002a7cf1e3421fd79c9e0654966c880dd470d8bdc4c + "@blocksuite/inline": 0.16.0-canary-202407190406-c44f7e8 + "@blocksuite/store": 0.16.0-canary-202407190406-c44f7e8 + checksum: 10/2496d276a2fcc5f7f53ffea407a805bebccf279d3786ccabb992fd642e286ed13388a7b933290a53b492eb77b64212cb51102ef935cb8950ae70a3819398f452 languageName: node linkType: hard -"@blocksuite/blocks@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/blocks@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/blocks@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/blocks@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/inline": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/inline": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@dotlottie/player-component": "npm:^2.7.12" "@floating-ui/dom": "npm:^1.6.5" "@lit-labs/preact-signals": "npm:^1.0.2" @@ -3511,17 +3511,17 @@ __metadata: sortablejs: "npm:^1.15.2" unified: "npm:^11.0.4" zod: "npm:^3.23.8" - checksum: 10/e842feac457d2645d6ccccf2cdf559d7e07b47a242ec032dea1f87ca988f59af453ba6627bdf8447e5b627a953a7fac957d039acbb2f2b81b50c55c61a315ab4 + checksum: 10/2d9510ce4007ec61798d74fa9d0d9957df0896ed3a153e0e9c1f0f617117a8b4f3a67ebf075b3e44f6929562cd7bcfab5a9200dc86f36b9cc051b08db3326891 languageName: node linkType: hard -"@blocksuite/global@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/global@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/global@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/global@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: lib0: "npm:^0.2.94" zod: "npm:^3.23.8" - checksum: 10/c5775bb28913f831b41008772196655ed4ee7a28d765e3065f7ea0871b84fcb0080755740beda350d55aaa0d3061ca578ef9962eff4c8f1956287cac0dff33a0 + checksum: 10/7ba6d2b67ddd5769ca9d7b3b4dee06c62a553e3cd0d5ec0f8e37bc78922ba2775516aab45bb21a90ef613ba8be89db37eafd623547b3460da6c4a1686a5b3653 languageName: node linkType: hard @@ -3541,28 +3541,28 @@ __metadata: languageName: node linkType: hard -"@blocksuite/inline@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/inline@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/inline@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/inline@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" zod: "npm:^3.23.8" peerDependencies: lit: ^3.1.1 yjs: ^13.6.15 - checksum: 10/7a406f25c45f9f050352ab9ac2e81097822a32682015c54a609fae0de4ca6e101fbb5808fd12b57d8040636c4e69b686517157907cf77f9eb5556d8970dc4035 + checksum: 10/ec99182534277f5c11c4775fb47d7d963e2d08d7193dc46f923af4235f6624d309a4a44e24ed68094d19cd15a755b82d0ff7f4d209d49dff2eb7d60766b1cfac languageName: node linkType: hard -"@blocksuite/presets@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/presets@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/presets@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/presets@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/blocks": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/inline": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/blocks": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/inline": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@dotlottie/player-component": "npm:^2.7.12" "@fal-ai/serverless-client": "npm:^0.10.0" "@floating-ui/dom": "npm:^1.6.5" @@ -3571,17 +3571,17 @@ __metadata: lit: "npm:^3.1.3" openai: "npm:^4.47.2" zod: "npm:^3.23.8" - checksum: 10/8ea16141919cd1656c6542c40243844c35b20cbc5f3c03df344c989fcd4d3cf1f445fd96f15a5e9450f200b7d5f5ea0f74a04cf8fdce1df1a6d97ceddc3d314c + checksum: 10/7d6c53a4fe58d18e88a9c76d7d8bb3f1b74239206fda2839baeee9154a927ddad5836381f658d50d4184b709509e8eeff4679f5ec78d06986001bb0a38915d12 languageName: node linkType: hard -"@blocksuite/store@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/store@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/store@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/store@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/inline": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/sync": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/inline": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/sync": "npm:0.16.0-canary-202407190406-c44f7e8" "@preact/signals-core": "npm:^1.6.1" "@types/flexsearch": "npm:^0.7.6" flexsearch: "npm:0.7.43" @@ -3593,21 +3593,21 @@ __metadata: zod: "npm:^3.23.8" peerDependencies: yjs: ^13.6.15 - checksum: 10/ba3202a694716931018e7d65764dc1255820b1e372418c6ff4864ef32c941d12feffea1b84fbdc6969b378e72522537b964e3d181e60f27756701ba72fb909c5 + checksum: 10/281717acc8ca2d5d3d51ed65495d3cc5ce8d865c1c848a2dc5a1b04e301ffb9446d8e9c16bc654a6b7866ff9eb0ece439b19e4a45c4b21c0e06b42412d567cd4 languageName: node linkType: hard -"@blocksuite/sync@npm:0.16.0-canary-202407170801-6efe525": - version: 0.16.0-canary-202407170801-6efe525 - resolution: "@blocksuite/sync@npm:0.16.0-canary-202407170801-6efe525" +"@blocksuite/sync@npm:0.16.0-canary-202407190406-c44f7e8": + version: 0.16.0-canary-202407190406-c44f7e8 + resolution: "@blocksuite/sync@npm:0.16.0-canary-202407190406-c44f7e8" dependencies: - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" idb: "npm:^8.0.0" idb-keyval: "npm:^6.2.1" y-protocols: "npm:^1.0.6" peerDependencies: yjs: ^13.6.15 - checksum: 10/c027458204a6bbc519fbe1a78c7c336577354476d245bb3cdd69377d0c56f0ed44f353aa1ca0217b0695add65812f7a3714a1660539a9a2859375d99bbb64457 + checksum: 10/82af2af43dab2c41961fac356ab5878022c0ad69777d141202961681ccbf03033ee4d36ba84b43dc41387798a973bd7d121f3c81c4ff07647cf2f4c10f7a0cc3 languageName: node linkType: hard @@ -14872,11 +14872,11 @@ __metadata: "@affine/debug": "workspace:*" "@affine/env": "workspace:*" "@affine/templates": "workspace:*" - "@blocksuite/block-std": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/blocks": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/global": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/presets": "npm:0.16.0-canary-202407170801-6efe525" - "@blocksuite/store": "npm:0.16.0-canary-202407170801-6efe525" + "@blocksuite/block-std": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/blocks": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/global": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/presets": "npm:0.16.0-canary-202407190406-c44f7e8" + "@blocksuite/store": "npm:0.16.0-canary-202407190406-c44f7e8" "@datastructures-js/binary-search-tree": "npm:^5.3.2" "@testing-library/react": "npm:^16.0.0" async-call-rpc: "npm:^6.4.0"