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
chore: bump blocksuite (#7235)
EYHNe2dbac6bf85c
diff --git a/packages/common/env/package.json b/packages/common/env/package.jsonindex 40b99a0bc1..598bed7df2 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.15.0-canary-202406130805-4cefc62",- "@blocksuite/store": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5","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.jsonindex e6574b14b4..c0aa13463f 100644--- a/packages/common/infra/package.json+++ b/packages/common/infra/package.json@@ -13,9 +13,9 @@"@affine/debug": "workspace:*","@affine/env": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/global": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/store": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5","@datastructures-js/binary-search-tree": "^5.3.2","foxact": "^0.2.33","jotai": "^2.8.0",@@ -29,8 +29,8 @@"devDependencies": {"@affine-test/fixtures": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5","@testing-library/react": "^16.0.0","async-call-rpc": "^6.4.0","react": "^18.2.0",diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.jsonindex f7bba34282..9d9be9e31a 100644--- a/packages/frontend/component/package.json+++ b/packages/frontend/component/package.json@@ -75,12 +75,12 @@"zod": "^3.22.4"},"devDependencies": {- "@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/global": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5","@blocksuite/icons": "2.1.55",- "@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/store": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5","@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.jsonindex be19a3776a..dbfb7a977e 100644--- a/packages/frontend/core/package.json+++ b/packages/frontend/core/package.json@@ -18,13 +18,13 @@"@affine/graphql": "workspace:*","@affine/i18n": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/global": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5","@blocksuite/icons": "2.1.55",- "@blocksuite/inline": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/store": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/inline": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5","@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/bootstrap/first-app-data.ts b/packages/frontend/core/src/bootstrap/first-app-data.tsindex 34d01088db..336a0ba70f 100644--- a/packages/frontend/core/src/bootstrap/first-app-data.ts+++ b/packages/frontend/core/src/bootstrap/first-app-data.ts@@ -12,6 +12,7 @@ export async function buildShowcaseWorkspace(workspaceName: string) {const meta = await workspacesService.create(flavour, async docCollection => {+ docCollection.meta.initialize();docCollection.meta.setName(workspaceName);const blob = await (await fetch(onboardingUrl)).blob();@@ -58,6 +59,7 @@ export async function createFirstAppData(workspacesService: WorkspacesService) {const workspaceMetadata = await workspacesService.create(WorkspaceFlavour.LOCAL,async workspace => {+ workspace.meta.initialize();workspace.meta.setName(DEFAULT_WORKSPACE_NAME);const page = workspace.createDoc();defaultPageId = page.id;diff --git a/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx b/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsxindex a23698220a..91836be672 100644--- a/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx+++ b/packages/frontend/core/src/components/affine/create-workspace-modal/index.tsx@@ -247,6 +247,7 @@ export const CreateWorkspaceModal = ({const { id } = await workspacesService.create(workspaceFlavour,async workspace => {+ workspace.meta.initialize();workspace.meta.setName(name);const page = workspace.createDoc();defaultDocId = page.id;diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/root-block.ts b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/root-block.tsindex 90fb850a0c..6553d3b3b4 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/root-block.ts+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/root-block.ts@@ -1,6 +1,6 @@import { mixpanel } from '@affine/core/utils';import type { BlockSpec } from '@blocksuite/block-std';-import type { RootService } from '@blocksuite/blocks';+import type { RootService, TelemetryEventMap } from '@blocksuite/blocks';import {AffineCanvasTextFonts,EdgelessRootService,@@ -30,9 +30,12 @@ function withAffineRootService(Service: typeof RootService) {customLoadFonts(this);}- telemetryService = {- track: (event: string, data: Record<string, unknown>) => {- mixpanel.track(event, data);+ override telemetryService = {+ track: <T extends keyof TelemetryEventMap>(+ eventName: T,+ props: TelemetryEventMap[T]+ ) => {+ mixpanel.track(eventName, props);},};};diff --git a/packages/frontend/core/src/components/page-list/__tests__/use-block-suite-page-preview.spec.ts b/packages/frontend/core/src/components/page-list/__tests__/use-block-suite-page-preview.spec.tsindex 30b3132d7c..2ff2155d54 100644--- a/packages/frontend/core/src/components/page-list/__tests__/use-block-suite-page-preview.spec.ts+++ b/packages/frontend/core/src/components/page-list/__tests__/use-block-suite-page-preview.spec.ts@@ -20,6 +20,7 @@ schema.register(AffineSchemas);beforeEach(async () => {vi.useFakeTimers({ toFake: ['requestIdleCallback'] });docCollection = new DocCollection({ id: 'test', schema });+ docCollection.meta.initialize();const initPage = async (page: Doc) => {page.load();expect(page).not.toBeNull();diff --git a/packages/frontend/core/src/hooks/use-all-block-suite-page-meta.ts b/packages/frontend/core/src/hooks/use-all-block-suite-page-meta.tsindex 5282d5baaf..c6bc598efe 100644--- a/packages/frontend/core/src/hooks/use-all-block-suite-page-meta.ts+++ b/packages/frontend/core/src/hooks/use-all-block-suite-page-meta.ts@@ -9,12 +9,12 @@ export function useAllBlockSuiteDocMeta(docCollection: DocCollection): DocMeta[] {if (!weakMap.has(docCollection)) {- const baseAtom = atom<DocMeta[]>(docCollection.meta.docMetas);+ const baseAtom = atom<DocMeta[]>([...docCollection.meta.docMetas]);weakMap.set(docCollection, baseAtom);baseAtom.onMount = set => {- set(docCollection.meta.docMetas);+ set([...docCollection.meta.docMetas]);const dispose = docCollection.meta.docMetaUpdated.on(() => {- set(docCollection.meta.docMetas);+ set([...docCollection.meta.docMetas]);});return () => {dispose.dispose();diff --git a/packages/frontend/core/src/hooks/use-block-suite-page-backlinks.ts b/packages/frontend/core/src/hooks/use-block-suite-page-backlinks.tsindex 28766b403a..37b6bdd786 100644--- a/packages/frontend/core/src/hooks/use-block-suite-page-backlinks.ts+++ b/packages/frontend/core/src/hooks/use-block-suite-page-backlinks.ts@@ -6,10 +6,12 @@ import { useDocCollectionPage } from './use-block-suite-workspace-page';const weakMap = new WeakMap<Doc, Atom<string[]>>();function getPageBacklinks(page: Doc): string[] {- return page.collection.indexer.backlink- .getBacklink(page.id)- .map(linkNode => linkNode.pageId)- .filter(id => id !== page.id);+ return (+ page.collection.indexer.backlink+ ?.getBacklink(page.id)+ .map(linkNode => linkNode.pageId)+ .filter(id => id !== page.id) ?? []+ );}const getPageBacklinksAtom = (page: Doc | null) => {@@ -24,13 +26,13 @@ const getPageBacklinksAtom = (page: Doc | null) => {page.slots.ready.on(() => {set(getPageBacklinks(page));}),- page.collection.indexer.backlink.slots.indexUpdated.on(() => {+ page.collection.indexer.backlink?.slots.indexUpdated.on(() => {set(getPageBacklinks(page));}),];set(getPageBacklinks(page));return () => {- disposables.forEach(disposable => disposable.dispose());+ disposables.forEach(disposable => disposable?.dispose());};};weakMap.set(page, baseAtom);diff --git a/packages/frontend/core/src/hooks/use-block-suite-page-references.ts b/packages/frontend/core/src/hooks/use-block-suite-page-references.tsindex 7b099a7cd6..3b655695bb 100644--- a/packages/frontend/core/src/hooks/use-block-suite-page-references.ts+++ b/packages/frontend/core/src/hooks/use-block-suite-page-references.ts@@ -7,7 +7,7 @@ import { useDocCollectionPage } from './use-block-suite-workspace-page';const weakMap = new WeakMap<Doc, Atom<string[]>>();function getPageReferences(page: Doc): string[] {return Object.values(- page.collection.indexer.backlink.linkIndexMap[page.id] ?? {}+ page.collection.indexer.backlink?.linkIndexMap[page.id] ?? {}).flatMap(linkNodes => linkNodes.map(linkNode => linkNode.pageId));}@@ -23,13 +23,13 @@ const getPageReferencesAtom = (page: Doc | null) => {page.slots.ready.on(() => {set(getPageReferences(page));}),- page.collection.indexer.backlink.slots.indexUpdated.on(() => {+ page.collection.indexer.backlink?.slots.indexUpdated.on(() => {set(getPageReferences(page));}),];set(getPageReferences(page));return () => {- disposables.forEach(disposable => disposable.dispose());+ disposables.forEach(disposable => disposable?.dispose());};};weakMap.set(page, baseAtom);diff --git a/packages/frontend/core/src/testing.ts b/packages/frontend/core/src/testing.tsindex 478ee12e58..71fe011463 100644--- a/packages/frontend/core/src/testing.ts+++ b/packages/frontend/core/src/testing.ts@@ -23,6 +23,7 @@ export async function configureTestingEnvironment() {metadata: await workspaceManager.create(WorkspaceFlavour.LOCAL,async ws => {+ ws.meta.initialize();const initDoc = async (page: BlockSuiteDoc) => {page.load();const pageBlockId = page.addBlock('affine:page', {diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.jsonindex a3a7244f6a..bccfac2810 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.15.0-canary-202406130805-4cefc62",- "@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62",- "@blocksuite/store": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",+ "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5","@electron-forge/cli": "^7.3.0","@electron-forge/core": "^7.3.0","@electron-forge/core-utils": "^7.3.0",diff --git a/packages/frontend/graphql/src/schema.ts b/packages/frontend/graphql/src/schema.tsindex d38760709d..9d7cade5f8 100644--- a/packages/frontend/graphql/src/schema.ts+++ b/packages/frontend/graphql/src/schema.ts@@ -275,6 +275,7 @@ export enum ErrorNames {MISSING_OAUTH_QUERY_PARAMETER = 'MISSING_OAUTH_QUERY_PARAMETER',NOT_IN_WORKSPACE = 'NOT_IN_WORKSPACE',NO_COPILOT_PROVIDER_AVAILABLE = 'NO_COPILOT_PROVIDER_AVAILABLE',+ OAUTH_ACCOUNT_ALREADY_CONNECTED = 'OAUTH_ACCOUNT_ALREADY_CONNECTED',OAUTH_STATE_EXPIRED = 'OAUTH_STATE_EXPIRED',PAGE_IS_NOT_PUBLIC = 'PAGE_IS_NOT_PUBLIC',RUNTIME_CONFIG_NOT_FOUND = 'RUNTIME_CONFIG_NOT_FOUND',diff --git a/tests/affine-local/e2e/quick-search.spec.ts b/tests/affine-local/e2e/quick-search.spec.tsindex 892694733f..f1a57d1f79 100644--- a/tests/affine-local/e2e/quick-search.spec.ts+++ b/tests/affine-local/e2e/quick-search.spec.ts@@ -511,7 +511,11 @@ test('can use @ to open quick search to search for doc and insert into canvas',page.locator('.affine-embed-linked-doc-content-title')).toContainText('Write, Draw, Plan all at Once');+ // focus on the note block+ await page.waitForTimeout(500);+ await page.locator('affine-embed-linked-doc-block').click({ force: true });+ await page.waitForTimeout(500);// double clock to show peek view- await page.locator('affine-embed-linked-doc-block').dblclick();+ await page.locator('affine-embed-linked-doc-block').dblclick({ force: true });await expect(page.getByTestId('peek-view-modal')).toBeVisible();});diff --git a/tools/cli/package.json b/tools/cli/package.jsonindex 73f1752c15..04359cdb8c 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.592.0",- "@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62",+ "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5","@clack/core": "^0.3.4","@clack/prompts": "^0.7.0","@magic-works/i18n-codegen": "^0.6.0",diff --git a/yarn.lock b/yarn.lockindex 88baeda87a..1f8354ba6f 100644--- a/yarn.lock+++ b/yarn.lock@@ -166,7 +166,7 @@ __metadata:"@affine/env": "workspace:*""@affine/templates": "workspace:*""@aws-sdk/client-s3": "npm:3.592.0"- "@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5""@clack/core": "npm:^0.3.4""@clack/prompts": "npm:^0.7.0""@magic-works/i18n-codegen": "npm:^0.6.0"@@ -219,12 +219,12 @@ __metadata:"@affine/electron-api": "workspace:*""@affine/graphql": "workspace:*""@affine/i18n": "workspace:*"- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5""@blocksuite/icons": "npm:2.1.55"- "@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@dnd-kit/core": "npm:^6.1.0""@dnd-kit/modifiers": "npm:^7.0.0""@dnd-kit/sortable": "npm:^8.0.0"@@ -320,13 +320,13 @@ __metadata:"@affine/graphql": "workspace:*""@affine/i18n": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5""@blocksuite/icons": "npm:2.1.55"- "@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@dnd-kit/core": "npm:^6.1.0""@dnd-kit/modifiers": "npm:^7.0.0""@dnd-kit/sortable": "npm:^8.0.0"@@ -449,10 +449,10 @@ __metadata:"@affine/env": "workspace:*""@affine/i18n": "workspace:*""@affine/native": "workspace:*"- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@electron-forge/cli": "npm:^7.3.0""@electron-forge/core": "npm:^7.3.0""@electron-forge/core-utils": "npm:^7.3.0"@@ -508,8 +508,8 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/env@workspace:packages/common/env"dependencies:- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"lit: "npm:^3.1.2"react: "npm:18.3.1"react-dom: "npm:18.3.1"@@ -3564,30 +3564,30 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/block-std@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/block-std@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/block-std@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/block-std@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"lit: "npm:^3.1.3"lz-string: "npm:^1.5.0"w3c-keyname: "npm:^2.2.8"zod: "npm:^3.23.8"peerDependencies:- "@blocksuite/inline": 0.15.0-canary-202406130805-4cefc62- "@blocksuite/store": 0.15.0-canary-202406130805-4cefc62- checksum: 10/c6fa0d450f8ab60da7e69bd6df168cf13a02fa204e1fdfbb9a3db270f3b60b8fe28f91bae50189d3b6c78b9f9cc431de4c927e990bb767e1e2a8c7f98361d51c+ "@blocksuite/inline": 0.15.0-canary-202406170818-d8a3bf5+ "@blocksuite/store": 0.15.0-canary-202406170818-d8a3bf5+ checksum: 10/ae47e8cc1d9edbb9849d2ded3f466dd95fd72a2df087af53edb776d438baf41e1897c67affc1cd8968782a4b3103445b05e0b5a09be4979f2a67c9acd280b3f3languageName: nodelinkType: hard-"@blocksuite/blocks@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/blocks@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/blocks@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/blocks@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@dotlottie/player-component": "npm:^2.7.12""@floating-ui/dom": "npm:^1.6.5""@lit/context": "npm:^1.1.1"@@ -3624,17 +3624,17 @@ __metadata:sortablejs: "npm:^1.15.2"unified: "npm:^11.0.4"zod: "npm:^3.23.8"- checksum: 10/f555075fd8a65e56f1a13b849d85b7433f2fdf611e92cdde8c15e03699bcbf79d8ee08fac9c56ea2e527dc42b51d30c2c28afe392847ed0e015947e6a9424ec9+ checksum: 10/0a553b5c10f06681300c3e75f4be4bf70dbf040a6bc912051e173eb5a4015f9c4ef5d003d69f14854b9c636e9bf38588ace0a1856164c5b4aa61ca76394d5470languageName: nodelinkType: hard-"@blocksuite/global@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/global@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/global@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/global@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:lib0: "npm:^0.2.94"zod: "npm:^3.23.8"- checksum: 10/1d38635f7b9f6bd419654a10d1fac6f2dddacc84c5c54d55bf7207b2044417d6696d8b30625f337f4a4a7740a4e204be0c01274ba07975cb02c5bcaef6ae59d4+ checksum: 10/f58055236234222e587efd04b246cddbc609c295b08a5d9314912b491b1028e1985bd18acebd6d185e457db73a4e98886edf286b674728920dfa2294b366862dlanguageName: nodelinkType: hard@@ -3648,45 +3648,45 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/inline@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/inline@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/inline@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/inline@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"zod: "npm:^3.23.8"peerDependencies:lit: ^3.1.1yjs: ^13.6.15- checksum: 10/a505f5e1c5285e011cd48b14a3623f73bfe6c2fbbdba4a4260b738e349c3e764792a8864a6b22a49568f68104af8c5060c18a7828b4da8f1ae99185f202a7cee+ checksum: 10/9ab5fde766dc9140ff7b53dd3968ff25fb8a9361063560421d3a201b8cbecf6f3fb95bd9e99839b240c4b552be62eced7f7b704ba6330d083d06d570f1337c9elanguageName: nodelinkType: hard-"@blocksuite/presets@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/presets@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/presets@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/presets@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@dotlottie/player-component": "npm:^2.7.12""@fal-ai/serverless-client": "npm:^0.10.0""@floating-ui/dom": "npm:^1.6.5""@toeverything/theme": "npm:^0.7.32"lit: "npm:^3.1.3"openai: "npm:^4.47.2"- checksum: 10/10ac4ee18ebf0b4d4c22880abdc34ac7ec1e62d7b583e15d3c9bd998420c8e78a648df1660ba3185ea5c835cbfa081dbb6e5f1dd565b1badc8bf0dff31eebc0e+ checksum: 10/54a7fdcf1979b29ecfbe5b2c2781ee20d487aa5006b401edaa3f1622aca6ecfd2328c247cffef94668d12094c5b0e38437b946ca83a1739c7cf5c9ecd79e3b0flanguageName: nodelinkType: hard-"@blocksuite/store@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/store@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/store@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/store@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/sync": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/sync": "npm:0.15.0-canary-202406170818-d8a3bf5""@types/flexsearch": "npm:^0.7.6"flexsearch: "npm:0.7.43"lib0: "npm:^0.2.94"@@ -3697,21 +3697,21 @@ __metadata:zod: "npm:^3.23.8"peerDependencies:yjs: ^13.6.15- checksum: 10/8027ff81c61ca0ae644000c6c8c0269deb4edb514cb77f30dbb9b0413a402b661c83b48919645b260f8d7008db9e7994d0a2304e6831edd05373a7f13fc29680+ checksum: 10/c366345897def77017d6438a93f562d39487918667b72fec872b1cac8e3eac724dd35e675e0d36e0b0051e1f608ec6251df2c4287d21a2cecbaa106d62fb3930languageName: nodelinkType: hard-"@blocksuite/sync@npm:0.15.0-canary-202406130805-4cefc62":- version: 0.15.0-canary-202406130805-4cefc62- resolution: "@blocksuite/sync@npm:0.15.0-canary-202406130805-4cefc62"+"@blocksuite/sync@npm:0.15.0-canary-202406170818-d8a3bf5":+ version: 0.15.0-canary-202406170818-d8a3bf5+ resolution: "@blocksuite/sync@npm:0.15.0-canary-202406170818-d8a3bf5"dependencies:- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"idb: "npm:^8.0.0"idb-keyval: "npm:^6.2.1"y-protocols: "npm:^1.0.6"peerDependencies:yjs: ^13.6.15- checksum: 10/79f1774b503b07e12801257e0bbcdad574b2ac7155b4d850a460005f74408129f2cdf3fd6457b675a578fd0ec368e462adf44b08ae667f2fcb3add5147fb8e45+ checksum: 10/01d6befd708a0a80b6ef59c714414ea66bc5cc8f32a19832cf1bfdb7f3e862f55ef87b600d9c7eac9c20b9656c3db44be12b996318168881bb9953f969c6d0felanguageName: nodelinkType: hard@@ -14254,11 +14254,11 @@ __metadata:"@affine/debug": "workspace:*""@affine/env": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62"- "@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62"+ "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"+ "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5""@datastructures-js/binary-search-tree": "npm:^5.3.2""@testing-library/react": "npm:^16.0.0"async-call-rpc: "npm:^6.4.0"