There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: bump blocksuite (#5812)
Flrande2e3ffeced997
diff --git a/packages/common/env/package.json b/packages/common/env/package.jsonindex 5d8c67c258..efd008a7f2 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.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","react": "18.2.0","react-dom": "18.2.0","vitest": "1.2.2"diff --git a/packages/common/infra/package.json b/packages/common/infra/package.jsonindex 71086f102f..270e1b2390 100644--- a/packages/common/infra/package.json+++ b/packages/common/infra/package.json@@ -17,9 +17,9 @@"@affine/debug": "workspace:*","@affine/env": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","foxact": "^0.2.20","jotai": "^2.5.1","jotai-effect": "^0.5.0",@@ -33,8 +33,8 @@"devDependencies": {"@affine-test/fixtures": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c","@testing-library/react": "^14.0.0","async-call-rpc": "^6.3.1","react": "^18.2.0",diff --git a/packages/common/y-indexeddb/package.json b/packages/common/y-indexeddb/package.jsonindex 9df18bea14..0b63f3d476 100644--- a/packages/common/y-indexeddb/package.json+++ b/packages/common/y-indexeddb/package.json@@ -32,14 +32,14 @@}},"dependencies": {- "@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c","idb": "^8.0.0","nanoid": "^5.0.3","y-provider": "workspace:*"},"devDependencies": {- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","fake-indexeddb": "^5.0.0","vite": "^5.0.6","vite-plugin-dts": "3.7.2",diff --git a/packages/common/y-provider/package.json b/packages/common/y-provider/package.jsonindex 08e484d526..f1fb93f246 100644--- a/packages/common/y-provider/package.json+++ b/packages/common/y-provider/package.json@@ -24,7 +24,7 @@"build": "vite build"},"devDependencies": {- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","vite": "^5.0.6","vite-plugin-dts": "3.7.2","vitest": "1.2.2",diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.jsonindex bc2e9b2280..618689a890 100644--- a/packages/frontend/component/package.json+++ b/packages/frontend/component/package.json@@ -72,12 +72,12 @@"uuid": "^9.0.1"},"devDependencies": {- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c","@blocksuite/icons": "2.1.44",- "@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","@storybook/addon-actions": "^7.5.3","@storybook/addon-essentials": "^7.5.3","@storybook/addon-interactions": "^7.5.3",diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.jsonindex 64e58efdcd..0d3956cff3 100644--- a/packages/frontend/core/package.json+++ b/packages/frontend/core/package.json@@ -25,14 +25,14 @@"@affine/i18n": "workspace:*","@affine/templates": "workspace:*","@affine/workspace-impl": "workspace:*",- "@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/block-std": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c","@blocksuite/icons": "2.1.44",- "@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/inline": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","@dnd-kit/core": "^6.0.8","@dnd-kit/sortable": "^8.0.0","@emotion/cache": "^11.11.0",diff --git a/packages/frontend/core/src/components/affine/page-history-modal/data.ts b/packages/frontend/core/src/components/affine/page-history-modal/data.tsindex f40d9e0e50..41a097dcd7 100644--- a/packages/frontend/core/src/components/affine/page-history-modal/data.ts+++ b/packages/frontend/core/src/components/affine/page-history-modal/data.ts@@ -111,7 +111,6 @@ const getOrCreateShellWorkspace = (workspaceId: string) => {const blobStorage = new AffineCloudBlobStorage(workspaceId);workspace = new Workspace({id: workspaceId,- providerCreators: [],blobStorages: [() => ({crud: blobStorage,diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsxindex 9df5df3200..72dbefbd72 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx@@ -48,7 +48,7 @@ interface BlocksuiteEditorContainerProps {// mimic the interface of the webcomponent and expose slots & hosttype BlocksuiteEditorContainerRef = Pick<(typeof AffineEditorContainer)['prototype'],- 'mode' | 'page' | 'model' | 'slots' | 'host'+ 'mode' | 'page' | 'slots' | 'host'> &HTMLDivElement;diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor.tsxindex 2650995dbb..532073dc09 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor.tsx+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor.tsx@@ -37,24 +37,14 @@ export type EditorProps = {className?: string;};-/**- * TODO: Defined async cache to support suspense, instead of reflect symbol to provider persistent error cache.- */-const PAGE_LOAD_KEY = Symbol('PAGE_LOAD');-const PAGE_ROOT_KEY = Symbol('PAGE_ROOT');-function usePageRoot(page: Page) {- let load$ = Reflect.get(page, PAGE_LOAD_KEY);- if (!load$) {- load$ = page.load();- Reflect.set(page, PAGE_LOAD_KEY, load$);+ if (!page.ready) {+ use(page.load());}- use(load$);if (!page.root) {- let root$: Promise<void> | undefined = Reflect.get(page, PAGE_ROOT_KEY);- if (!root$) {- root$ = new Promise((resolve, reject) => {+ use(+ new Promise<void>((resolve, reject) => {const disposable = page.slots.rootAdded.once(() => {resolve();});@@ -62,10 +52,8 @@ function usePageRoot(page: Page) {disposable.dispose();reject(new NoPageRootError(page));}, 20 * 1000);- });- Reflect.set(page, PAGE_ROOT_KEY, root$);- }- use(root$);+ })+ );}return page.root;diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs.ts b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs.tsindex 0c9f49c4a7..e6ad8c8c67 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs.ts+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs.ts@@ -1,10 +1,12 @@-import type { BlockServiceOptions, BlockSpec } from '@blocksuite/block-std';-import type { ParagraphService } from '@blocksuite/blocks';+import type { BlockSpec } from '@blocksuite/block-std';+import type { PageService, ParagraphService } from '@blocksuite/blocks';import {AttachmentService,+ CanvasTextFonts,DocEditorBlockSpecs,+ DocPageService,EdgelessEditorBlockSpecs,- PageService,+ EdgelessPageService,} from '@blocksuite/blocks';import bytes from 'bytes';import { html, unsafeStatic } from 'lit/static-html.js';@@ -18,23 +20,28 @@ class CustomAttachmentService extends AttachmentService {}}-class CustomPageService extends PageService {- constructor(opt: BlockServiceOptions) {- super(opt);- const officialDomains = new Set(['affine.pro', 'affine.fail']);- const load = this.fontLoader.load.bind(this.fontLoader);- this.fontLoader.load = function (fonts) {- if (!officialDomains.has(window.location.host)) {- return load(- fonts.map(f => ({- ...f,- // self-hosted fonts are served from /assets- url: '/assets' + new URL(f.url).pathname.split('/').pop(),- }))- );- }- return load(fonts);- };+function customLoadFonts(service: PageService): void {+ const officialDomains = new Set(['affine.pro', 'affine.fail']);+ if (!officialDomains.has(window.location.host)) {+ const fonts = CanvasTextFonts.map(font => ({+ ...font,+ // self-hosted fonts are served from /assets+ url: '/assets' + new URL(font.url).pathname.split('/').pop(),+ }));+ service.fontLoader.load(fonts);+ } else {+ service.fontLoader.load(CanvasTextFonts);+ }+}++class CustomDocPageService extends DocPageService {+ override loadFonts(): void {+ customLoadFonts(this);+ }+}+class CustomEdgelessPageService extends EdgelessPageService {+ override loadFonts(): void {+ customLoadFonts(this);}}@@ -100,7 +107,7 @@ export const docModeSpecs = DocEditorBlockSpecs.map(spec => {if (spec.schema.model.flavour === 'affine:page') {return {...spec,- service: CustomPageService,+ service: CustomDocPageService,};}return spec;@@ -112,5 +119,11 @@ export const edgelessModeSpecs = EdgelessEditorBlockSpecs.map(spec => {service: CustomAttachmentService,};}+ if (spec.schema.model.flavour === 'affine:page') {+ return {+ ...spec,+ service: CustomEdgelessPageService,+ };+ }return spec;});diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.jsonindex 53962fb75d..17ca87d88d 100644--- a/packages/frontend/electron/package.json+++ b/packages/frontend/electron/package.json@@ -25,10 +25,10 @@"@affine-test/kit": "workspace:*","@affine/env": "workspace:*","@affine/native": "workspace:*",- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","@electron-forge/cli": "^7.2.0","@electron-forge/core": "^7.2.0","@electron-forge/core-utils": "^7.2.0",diff --git a/tests/affine-local/e2e/quick-search.spec.ts b/tests/affine-local/e2e/quick-search.spec.tsindex 7e6d91fd48..c7bc71dacb 100644--- a/tests/affine-local/e2e/quick-search.spec.ts+++ b/tests/affine-local/e2e/quick-search.spec.ts@@ -315,6 +315,7 @@ test('assert the recent browse pages are on the recent list', async ({{const title = getBlockSuiteEditorTitle(page);await title.click();+ await page.waitForTimeout(200);await title.pressSequentially('affine is the best', { delay: 100 });await expect(title).toHaveText('affine is the best', { timeout: 500 });}@@ -419,7 +420,9 @@ test('can use cmdk to search page content and scroll to it, then the block willpage.locator('[data-affine-editor-container]').getByText('123456'));expect(isVisitable).toBe(true);- const selectionElement = page.locator('affine-block-selection');+ const selectionElement = page.locator(+ 'affine-block-selection[style*="display: block;"]'+ );await expect(selectionElement).toBeVisible();});diff --git a/tests/storybook/package.json b/tests/storybook/package.jsonindex d2595c4d3b..1138eba920 100644--- a/tests/storybook/package.json+++ b/tests/storybook/package.json@@ -22,14 +22,14 @@"storybook-addon-react-router-v6": "^2.0.10"},"devDependencies": {- "@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/block-std": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/global": "0.12.0-canary-202402062232-9a8554c","@blocksuite/icons": "2.1.44",- "@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",- "@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",+ "@blocksuite/inline": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",+ "@blocksuite/store": "0.12.0-canary-202402062232-9a8554c","@storybook/addon-actions": "^7.5.3","@storybook/addon-essentials": "^7.5.3","@storybook/addon-interactions": "^7.5.3",diff --git a/yarn.lock b/yarn.lockindex 95926543a4..6cd16fa1d2 100644--- a/yarn.lock+++ b/yarn.lock@@ -195,12 +195,12 @@ __metadata:"@affine/electron-api": "workspace:*""@affine/graphql": "workspace:*""@affine/i18n": "workspace:*"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c""@blocksuite/icons": "npm:2.1.44"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@dnd-kit/core": "npm:^6.0.8""@dnd-kit/modifiers": "npm:^7.0.0""@dnd-kit/sortable": "npm:^8.0.0"@@ -297,14 +297,14 @@ __metadata:"@affine/templates": "workspace:*""@affine/workspace-impl": "workspace:*""@aws-sdk/client-s3": "npm:3.504.0"- "@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c""@blocksuite/icons": "npm:2.1.44"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@dnd-kit/core": "npm:^6.0.8""@dnd-kit/sortable": "npm:^8.0.0""@emotion/cache": "npm:^11.11.0"@@ -431,10 +431,10 @@ __metadata:"@affine-test/kit": "workspace:*""@affine/env": "workspace:*""@affine/native": "workspace:*"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@electron-forge/cli": "npm:^7.2.0""@electron-forge/core": "npm:^7.2.0""@electron-forge/core-utils": "npm:^7.2.0"@@ -482,8 +482,8 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/env@workspace:packages/common/env"dependencies:- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"lit: "npm:^3.0.2"react: "npm:18.2.0"react-dom: "npm:18.2.0"@@ -730,14 +730,14 @@ __metadata:"@affine/component": "workspace:*""@affine/i18n": "workspace:*""@affine/workspace-impl": "workspace:*"- "@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c""@blocksuite/icons": "npm:2.1.44"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@dnd-kit/sortable": "npm:^8.0.0""@storybook/addon-actions": "npm:^7.5.3""@storybook/addon-essentials": "npm:^7.5.3"@@ -3405,29 +3405,29 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/block-std@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/block-std@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/block-std@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/block-std@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"lz-string: "npm:^1.5.0"w3c-keyname: "npm:^2.2.8"zod: "npm:^3.22.4"peerDependencies:- "@blocksuite/store": 0.12.0-canary-202402010557-e8d6e1d- checksum: 10/e671e3f7541ed2038ed1ff970b7eb013af481af764e5a7d293bae14e658e4aa0d3a1eac843f19f4433c9a1f165716ab8386aad7e6b1b81fc3377aba24814c711+ "@blocksuite/store": 0.12.0-canary-202402062232-9a8554c+ checksum: 10/69c327e6ca9b9c383b32eaabe78535be5f4832c6b66699ac080378cdd48fa3c11a49ec0f2c6ebb40a571f403325a6d54a3bdd297cb8399099a03bdb038c0038alanguageName: nodelinkType: hard-"@blocksuite/blocks@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/blocks@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/blocks@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/blocks@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@floating-ui/dom": "npm:^1.5.4""@toeverything/theme": "npm:^0.7.27""@types/hast": "npm:^3.0.3"@@ -3461,16 +3461,16 @@ __metadata:unified: "npm:^11.0.4"webfontloader: "npm:^1.6.28"zod: "npm:^3.22.4"- checksum: 10/8be2f24604ab35c3c889985c40f6adc4a863fe7cfd985aaf75772e5dfa4a597d75793397d6727dc73ecfd412bce3f396cb7a98c1f85eef34f81329514a8d9dbd+ checksum: 10/99b1f0d062dbd03e7ae55ed6704c71238fe21ab35cfbd035cef322509e4fa6878714458b9f159c5ed10befce3fe6b65e22dda7c7e9b9f05d52dae2dbf3c8b709languageName: nodelinkType: hard-"@blocksuite/global@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/global@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/global@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/global@npm:0.12.0-canary-202402062232-9a8554c"dependencies:zod: "npm:^3.22.4"- checksum: 10/2382f30d55583393dc3a2e365d09790767dca72d269bcbac6afdc8f41b3d053ab6402c5bc4dfc521c9478719d77ff73cadc77a8344f3e63751407647705a519b+ checksum: 10/f615c394856a6851a3e031065179331ca695f8a5fa190fe38228c8a1254f5a8419b6dc7c4800bf9bfe0287e7432cdbff4de5783fa2c61fe9e7610f2ea5977149languageName: nodelinkType: hard@@ -3484,58 +3484,58 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/inline@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/inline@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/inline@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/inline@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"zod: "npm:^3.22.4"peerDependencies:lit: ^3.1.1yjs: ^13- checksum: 10/e806f03834e9f53348503153699dab4eba8fd5c60a04cf202a8474e789a4bf54b0be116a4a222df1782b18ed7146ea2234bc0bee21ae517042b4869b119b1522+ checksum: 10/84ffebd5b9a81b8bfcadddccb546c363a34dc4aa5f4c156a4c668fd5df3023997f35a25aa290537a8c8f20a0351bce4ee2bf2a878e2fa4e2ba98e03b4f5157b4languageName: nodelinkType: hard-"@blocksuite/lit@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/lit@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/lit@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/lit@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"lit: "npm:^3.1.1"peerDependencies:- "@blocksuite/block-std": 0.12.0-canary-202402010557-e8d6e1d- "@blocksuite/store": 0.12.0-canary-202402010557-e8d6e1d- checksum: 10/d68a543279119cbb43991f78a5d44be2393d5e1e05818a0192ab0724f34a01de747fddc942871942845299bdd5b19b5730ada17513caaff0931ed0cce73b433d+ "@blocksuite/block-std": 0.12.0-canary-202402062232-9a8554c+ "@blocksuite/store": 0.12.0-canary-202402062232-9a8554c+ checksum: 10/aab794043925d1e3eec5f73148f77dd26f3ccdd2ffb0889e5e48c5df0a851c95ff25efaefacc3220bdc17da3ae737e3bea80cffa84576caa02bd420ef015ac94languageName: nodelinkType: hard-"@blocksuite/presets@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/presets@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/presets@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/presets@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@fal-ai/serverless-client": "npm:^0.8.2""@floating-ui/dom": "npm:^1.5.4""@toeverything/theme": "npm:^0.7.27"lit: "npm:^3.1.1"openai: "npm:^4.25.0"- checksum: 10/7e0b5577175a7a939b5f545c41c0bbe793909583473b00274478c5e6d88489804ced579c659101516db1944f6c763ef72a3e25c7a4c6947077fa67960ec08668+ checksum: 10/9b1c274b73392a4fac0dc3f66755d55ca00b94a3e8aa524495c605eca383cb03a98f9f37291576018c8961ef316dc71f749280f15c56b649c492c943de681667languageName: nodelinkType: hard-"@blocksuite/store@npm:0.12.0-canary-202402010557-e8d6e1d":- version: 0.12.0-canary-202402010557-e8d6e1d- resolution: "@blocksuite/store@npm:0.12.0-canary-202402010557-e8d6e1d"+"@blocksuite/store@npm:0.12.0-canary-202402062232-9a8554c":+ version: 0.12.0-canary-202402062232-9a8554c+ resolution: "@blocksuite/store@npm:0.12.0-canary-202402062232-9a8554c"dependencies:- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c""@types/flexsearch": "npm:^0.7.6"flexsearch: "npm:0.7.43"idb-keyval: "npm:^6.2.1"@@ -3548,7 +3548,7 @@ __metadata:peerDependencies:async-call-rpc: ^6yjs: ^13- checksum: 10/908f2c4a940c4119c35f2d25ee94177af455d8edd34aae3de07caafe55a6482bf726faa2abe12d9a4ba1d36ff1fb14f5b997589e1140c20ac33e838226fb900a+ checksum: 10/2d10e6b227e70a1520fce6db67b60e332aae71bfa10c905f76ec2bb9abfb10503abf0667ebbfbe9a88b7df3a1bc7418b15eb0df31afd5b5b0056f9dc54d0f5dflanguageName: nodelinkType: hard@@ -13068,11 +13068,11 @@ __metadata:"@affine/debug": "workspace:*""@affine/env": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c""@testing-library/react": "npm:^14.0.0"async-call-rpc: "npm:^6.3.1"foxact: "npm:^0.2.20"@@ -13122,9 +13122,9 @@ __metadata:version: 0.0.0-use.localresolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"dependencies:- "@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"fake-indexeddb: "npm:^5.0.0"idb: "npm:^8.0.0"nanoid: "npm:^5.0.3"@@ -35462,7 +35462,7 @@ __metadata:version: 0.0.0-use.localresolution: "y-provider@workspace:packages/common/y-provider"dependencies:- "@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"+ "@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"vite: "npm:^5.0.6"vite-plugin-dts: "npm:3.7.2"vitest: "npm:1.2.2"