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 (#7579)
akumatusf89945e730e1
diff --git a/packages/common/env/package.json b/packages/common/env/package.jsonindex d7e845deec..731dc8866f 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-202407200848-42035fe",- "@blocksuite/store": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/global": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/store": "0.16.0-canary-202407230727-128fc57","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 043af4a432..47eaaee45f 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-202407200848-42035fe",- "@blocksuite/global": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/store": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/blocks": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/global": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/store": "0.16.0-canary-202407230727-128fc57","@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-202407200848-42035fe",- "@blocksuite/presets": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/block-std": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/presets": "0.16.0-canary-202407230727-128fc57","@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.jsonindex 8216665cfc..afbea4325b 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-202407200848-42035fe",- "@blocksuite/blocks": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/global": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/block-std": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/blocks": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/global": "0.16.0-canary-202407230727-128fc57","@blocksuite/icons": "2.1.59",- "@blocksuite/presets": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/store": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/presets": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/store": "0.16.0-canary-202407230727-128fc57","@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 d745c1fd38..1804c80bd7 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-202407200848-42035fe",- "@blocksuite/blocks": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/global": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/block-std": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/blocks": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/global": "0.16.0-canary-202407230727-128fc57","@blocksuite/icons": "2.1.59",- "@blocksuite/inline": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/presets": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/store": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/inline": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/presets": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/store": "0.16.0-canary-202407230727-128fc57","@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/actions/edgeless-response.ts b/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.tsindex cd90c7fea6..39aa16920e 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.ts@@ -10,7 +10,6 @@ import type {SurfaceBlockModel,} from '@blocksuite/blocks';import {- Bound,DeleteIcon,EDGELESS_ELEMENT_TOOLBAR_WIDGET,EDGELESS_TEXT_BLOCK_MIN_HEIGHT,@@ -23,7 +22,7 @@ import {NoteDisplayMode,ResetIcon,} from '@blocksuite/blocks';-import { assertExists } from '@blocksuite/global/utils';+import { assertExists, Bound } from '@blocksuite/global/utils';import type { TemplateResult } from 'lit';import { AIPenIcon, ChatWithAIIcon } from '../_common/icons';diff --git a/packages/frontend/core/src/blocksuite/presets/ai/ai-panel.ts b/packages/frontend/core/src/blocksuite/presets/ai/ai-panel.tsindex ef013e98b7..76f02d6a9e 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/ai-panel.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/ai-panel.ts@@ -4,13 +4,12 @@ import {AffineAIPanelWidget,type AffineAIPanelWidgetConfig,type AIItemConfig,- Bound,ImageBlockModel,isInsideEdgelessEditor,matchFlavours,NoteDisplayMode,} from '@blocksuite/blocks';-import { assertExists } from '@blocksuite/global/utils';+import { assertExists, Bound } from '@blocksuite/global/utils';import type { TemplateResult } from 'lit';import {diff --git a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/actions-handle.ts b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/actions-handle.tsindex 0efd53a405..b03b5c9602 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/actions-handle.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/actions/actions-handle.ts@@ -3,17 +3,14 @@ import type {EditorHost,TextSelection,} from '@blocksuite/block-std';-import type {- EdgelessRootService,- ImageSelection,- SerializedXYWH,-} from '@blocksuite/blocks';+import type { EdgelessRootService, ImageSelection } from '@blocksuite/blocks';import {BlocksUtils,- Bound,getElementsBound,NoteDisplayMode,} from '@blocksuite/blocks';+import type { SerializedXYWH } from '@blocksuite/global/utils';+import { Bound } from '@blocksuite/global/utils';import { CreateIcon, InsertBelowIcon, ReplaceIcon } from '../../_common/icons';import { reportResponse } from '../../utils/action-reporter';diff --git a/packages/frontend/core/src/blocksuite/presets/ai/entries/code-toolbar/setup-code-toolbar.ts b/packages/frontend/core/src/blocksuite/presets/ai/entries/code-toolbar/setup-code-toolbar.tsindex 9ff5375cb8..aef50611fb 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/entries/code-toolbar/setup-code-toolbar.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/entries/code-toolbar/setup-code-toolbar.ts@@ -20,7 +20,7 @@ export function setupCodeToolbarEntry(codeToolbar: AffineCodeToolbarWidget) {const onAskAIClick = () => {const { host } = codeToolbar;const { selection } = host;- const codeBlock = codeToolbar.blockElement;+ const codeBlock = codeToolbar.block;selection.setGroup('note', [selection.create('block', { blockId: codeBlock.blockId }),]);diff --git a/packages/frontend/core/src/blocksuite/presets/ai/entries/image-toolbar/setup-image-toolbar.ts b/packages/frontend/core/src/blocksuite/presets/ai/entries/image-toolbar/setup-image-toolbar.tsindex 33a951516b..d8f861ba77 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/entries/image-toolbar/setup-image-toolbar.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/entries/image-toolbar/setup-image-toolbar.ts@@ -20,7 +20,7 @@ export function setupImageToolbarEntry(imageToolbar: AffineImageToolbarWidget) {const onAskAIClick = () => {const { host } = imageToolbar;const { selection } = host;- const imageBlock = imageToolbar.blockElement;+ const imageBlock = imageToolbar.block;selection.setGroup('note', [selection.create('image', { blockId: imageBlock.blockId }),]);diff --git a/packages/frontend/core/src/blocksuite/presets/ai/slides/template.ts b/packages/frontend/core/src/blocksuite/presets/ai/slides/template.tsindex 97a9d4a0b3..8d49498fed 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/slides/template.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/slides/template.ts@@ -1,4 +1,4 @@-import { Bound } from '@blocksuite/blocks';+import { Bound } from '@blocksuite/global/utils';import { nanoid } from '@blocksuite/store';import { AIProvider } from '../provider';diff --git a/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts b/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.tsindex ca3a74545b..8609f76cd0 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts@@ -1,4 +1,4 @@-import type { BlockElement, EditorHost } from '@blocksuite/block-std';+import type { BlockComponent, EditorHost } from '@blocksuite/block-std';import {AFFINE_EDGELESS_COPILOT_WIDGET,type EdgelessCopilotWidget,@@ -59,7 +59,7 @@ export function getEdgelessCopilotWidget(return copilotWidget;}-export function findNoteBlockModel(blockElement: BlockElement) {+export function findNoteBlockModel(blockElement: BlockComponent) {let curBlock = blockElement;while (curBlock) {if (matchFlavours(curBlock.model, ['affine:note'])) {@@ -68,7 +68,7 @@ export function findNoteBlockModel(blockElement: BlockElement) {if (matchFlavours(curBlock.model, ['affine:page', 'affine:surface'])) {return null;}- curBlock = curBlock.parentBlockElement;+ curBlock = curBlock.parentBlock;}return null;}diff --git a/packages/frontend/core/src/blocksuite/presets/ai/utils/editor-actions.ts b/packages/frontend/core/src/blocksuite/presets/ai/utils/editor-actions.tsindex 7db08538b1..13912cccaa 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/utils/editor-actions.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/utils/editor-actions.ts@@ -1,5 +1,5 @@import type {- BlockElement,+ BlockComponent,EditorHost,TextSelection,} from '@blocksuite/block-std';@@ -13,10 +13,10 @@ import {markdownToSnapshot,} from './markdown-utils';-const getNoteId = (blockElement: BlockElement) => {+const getNoteId = (blockElement: BlockComponent) => {let element = blockElement;- while (element && element.flavour !== 'affine:note') {- element = element.parentBlockElement;+ while (element.flavour !== 'affine:note') {+ element = element.parentBlock;}return element.model.id;@@ -24,7 +24,7 @@ const getNoteId = (blockElement: BlockElement) => {const setBlockSelection = (host: EditorHost,- parent: BlockElement,+ parent: BlockComponent,models: BlockModel[]) => {const selections = models@@ -50,10 +50,10 @@ const setBlockSelection = (export const insert = async (host: EditorHost,content: string,- selectBlock: BlockElement,+ selectBlock: BlockComponent,below: boolean = true) => {- const blockParent = selectBlock.parentBlockElement;+ const blockParent = selectBlock.parentBlock;const index = blockParent.model.children.findIndex(model => model.id === selectBlock.model.id);@@ -72,7 +72,7 @@ export const insert = async (export const insertBelow = async (host: EditorHost,content: string,- selectBlock: BlockElement+ selectBlock: BlockComponent) => {await insert(host, content, selectBlock, true);};@@ -80,7 +80,7 @@ export const insertBelow = async (export const insertAbove = async (host: EditorHost,content: string,- selectBlock: BlockElement+ selectBlock: BlockComponent) => {await insert(host, content, selectBlock, false);};@@ -88,11 +88,11 @@ export const insertAbove = async (export const replace = async (host: EditorHost,content: string,- firstBlock: BlockElement,+ firstBlock: BlockComponent,selectedModels: BlockModel[],textSelection?: TextSelection) => {- const firstBlockParent = firstBlock.parentBlockElement;+ const firstBlockParent = firstBlock.parentBlock;const firstIndex = firstBlockParent.model.children.findIndex(model => model.id === firstBlock.model.id);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 d267d89f7b..c95895ba2e 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@@ -1,4 +1,4 @@-import type { BlockElement } from '@blocksuite/block-std';+import type { BlockComponent } from '@blocksuite/block-std';import type {AffineEditorContainer,EdgelessEditor,@@ -56,7 +56,7 @@ type BlocksuiteEditorContainerRef = Pick<function findBlockElementById(container: HTMLElement, blockId: string) {const element = container.querySelector(`[data-block-id="${blockId}"]`- ) as BlockElement | null;+ ) as BlockComponent | null;return element;}@@ -67,7 +67,7 @@ const useBlockElementById = (blockId: string | undefined,timeout = 1000) => {- const [blockElement, setBlockElement] = useState<BlockElement | null>(null);+ const [blockElement, setBlockElement] = useState<BlockComponent | null>(null);useEffect(() => {if (!blockId) {return;@@ -210,7 +210,7 @@ export const BlocksuiteEditorContainer = forwardRef<useEffect(() => {let canceled = false;- const handleScrollToBlock = (blockElement: BlockElement) => {+ const handleScrollToBlock = (blockElement: BlockComponent) => {if (!mode || !blockElement) {return;}diff --git a/packages/frontend/core/src/modules/peek-view/entities/peek-view.ts b/packages/frontend/core/src/modules/peek-view/entities/peek-view.tsindex 960c74888e..f69aa83118 100644--- a/packages/frontend/core/src/modules/peek-view/entities/peek-view.ts+++ b/packages/frontend/core/src/modules/peek-view/entities/peek-view.ts@@ -1,4 +1,4 @@-import type { BlockElement } from '@blocksuite/block-std';+import type { BlockComponent } from '@blocksuite/block-std';import {AffineReference,type EmbedLinkedDocModel,@@ -17,7 +17,7 @@ import type { WorkbenchService } from '../../workbench';export type PeekViewTarget =| HTMLElement- | BlockElement+ | BlockComponent| AffineReference| HTMLAnchorElement| { docId: string; blockId?: string };diff --git a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsxindex e86d11a172..aabc626e2e 100644--- a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx+++ b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx@@ -6,8 +6,8 @@ import { BlockSuiteEditor } from '@affine/core/components/blocksuite/block-suiteimport { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';import { PageNotFound } from '@affine/core/pages/404';import { DebugLogger } from '@affine/debug';-import { Bound, type EdgelessRootService } from '@blocksuite/blocks';-import { DisposableGroup } from '@blocksuite/global/utils';+import { type EdgelessRootService } from '@blocksuite/blocks';+import { Bound, DisposableGroup } from '@blocksuite/global/utils';import type { AffineEditorContainer } from '@blocksuite/presets';import type { DocMode } from '@toeverything/infra';import { DocsService, FrameworkScope, useService } from '@toeverything/infra';diff --git a/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx b/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsxindex 4ceb727c99..64e96cfa40 100644--- a/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx+++ b/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx@@ -1,5 +1,5 @@import { toReactNode } from '@affine/component';-import { BlockElement } from '@blocksuite/block-std';+import { BlockComponent } from '@blocksuite/block-std';import { useLiveData, useService } from '@toeverything/infra';import { useEffect, useMemo } from 'react';@@ -91,7 +91,7 @@ export const PeekViewManagerModal = () => {useEffect(() => {const subscription = peekViewEntity.show$.subscribe(() => {- if (activePeekView?.target instanceof BlockElement) {+ if (activePeekView?.target instanceof BlockComponent) {activePeekView.target.requestUpdate();}});diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.jsonindex 441eb1fddc..7bf77d870f 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-202407200848-42035fe",- "@blocksuite/blocks": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/presets": "0.16.0-canary-202407200848-42035fe",- "@blocksuite/store": "0.16.0-canary-202407200848-42035fe",+ "@blocksuite/block-std": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/blocks": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/presets": "0.16.0-canary-202407230727-128fc57",+ "@blocksuite/store": "0.16.0-canary-202407230727-128fc57","@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.jsonindex bab93b9cad..6e83774023 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-202407200848-42035fe",+ "@blocksuite/presets": "0.16.0-canary-202407230727-128fc57","@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 9fdc1996db..95c8087bcb 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-202407200848-42035fe"+ "@blocksuite/presets": "npm:0.16.0-canary-202407230727-128fc57""@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-202407200848-42035fe"- "@blocksuite/blocks": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/blocks": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57""@blocksuite/icons": "npm:2.1.59"- "@blocksuite/presets": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/presets": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@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-202407200848-42035fe"- "@blocksuite/blocks": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/blocks": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57""@blocksuite/icons": "npm:2.1.59"- "@blocksuite/inline": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/presets": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/inline": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/presets": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@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-202407200848-42035fe"- "@blocksuite/blocks": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/presets": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/blocks": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/presets": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@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.localresolution: "@affine/env@workspace:packages/common/env"dependencies:- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57"lit: "npm:^3.1.2"react: "npm:18.3.1"react-dom: "npm:18.3.1"@@ -3446,11 +3446,11 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/block-std@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/block-std@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/block-std@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/block-std@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.1""@types/hast": "npm:^3.0.4"@@ -3461,20 +3461,20 @@ __metadata:w3c-keyname: "npm:^2.2.8"zod: "npm:^3.23.8"peerDependencies:- "@blocksuite/inline": 0.16.0-canary-202407200848-42035fe- "@blocksuite/store": 0.16.0-canary-202407200848-42035fe- checksum: 10/0aeea423bdc0824c6b15a24b9b82923c71fbe4d92a8fca3d22aa54a30b0f2828de16e99e2aaf0514e5fb72d9dfa697ba8e345a8a56f77ccc08ffe785ee1bc16a+ "@blocksuite/inline": 0.16.0-canary-202407230727-128fc57+ "@blocksuite/store": 0.16.0-canary-202407230727-128fc57+ checksum: 10/3c87f57092b90a2f93dab7c27de58e202d047c1a1a73a54febcf0bf490a768c582bcdb8877966eca28754ba7fa98f39bf563aa801d0c189e726ea7699e1cb2c0languageName: nodelinkType: hard-"@blocksuite/blocks@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/blocks@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/blocks@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/blocks@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/block-std": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/inline": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/inline": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@dotlottie/player-component": "npm:^2.7.12""@floating-ui/dom": "npm:^1.6.5""@lit-labs/preact-signals": "npm:^1.0.2"@@ -3512,17 +3512,17 @@ __metadata:sortablejs: "npm:^1.15.2"unified: "npm:^11.0.4"zod: "npm:^3.23.8"- checksum: 10/7fe7d25d3f920e89656fa39164c8b93495d1daca128ee23a2f3d55b507bb183d59ab0524fe1fdee439a58113f6d38814d80aefcf5e054d920930eddb98be6172+ checksum: 10/6600a28eccf6b9e491bac5ec2fab431fcb688b9035068318aae71c6e6d869189cc1fe7613fde13b973a0a5fa1d1667979e9b0c9ded8f8aad75c1ce9b401811celanguageName: nodelinkType: hard-"@blocksuite/global@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/global@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/global@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/global@npm:0.16.0-canary-202407230727-128fc57"dependencies:lib0: "npm:^0.2.94"zod: "npm:^3.23.8"- checksum: 10/5d6b31b0cb15c1e2fb0dc28697f23959a141dd52f58528e9d70bf0459655810ac978a90a74c49daabeccecc2ff864ea786351fbebb0316942fbd1751a37c7a03+ checksum: 10/bad82caed178a3a891ea211bf7deb9675dab7685febf866209eaad7148e0b6f507371075d0df903aff4d63a1415bcaea3ba5cacd5f52c5900ff599415e3ccbdclanguageName: nodelinkType: hard@@ -3542,28 +3542,28 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/inline@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/inline@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/inline@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/inline@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"zod: "npm:^3.23.8"peerDependencies:lit: ^3.1.1yjs: ^13.6.15- checksum: 10/7b0da92528f05ed3c1f8675b8d3b81861d2c687041f9d8ee463981e521a536bb6eede7e35bb91b954a3e84ea1b7ee62c72a9e51db0b00abd43d49a780f8d3327+ checksum: 10/2e6dc3c9b6435f4ea31155a20f0f0e699ebb64dbb2b4fa810cf8b49a2f73f76af11a9c75fced3ed9732d1026582420f3560687f93fa7588f9d8446ddf86faeb2languageName: nodelinkType: hard-"@blocksuite/presets@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/presets@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/presets@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/presets@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/block-std": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/blocks": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/inline": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/blocks": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/inline": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@dotlottie/player-component": "npm:^2.7.12""@fal-ai/serverless-client": "npm:^0.10.0""@floating-ui/dom": "npm:^1.6.5"@@ -3572,17 +3572,17 @@ __metadata:lit: "npm:^3.1.3"openai: "npm:^4.47.2"zod: "npm:^3.23.8"- checksum: 10/bae800eb92bb897c73113d2cb8495877f493cde8ddaaf68612678d911b75030ce3a790295200e2a420911ae77fc512ae212bece56461abcdc388d3026962f7e1+ checksum: 10/8672ae9b7b5299bf3790d1a42fccda4af3f1e689dc8f8de35f957d89f6f6c64f46be814a429e7f3788f3c943ac23225d5f0e18b90137d80591d5a9f1e737753blanguageName: nodelinkType: hard-"@blocksuite/store@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/store@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/store@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/store@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/inline": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/sync": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/inline": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/sync": "npm:0.16.0-canary-202407230727-128fc57""@preact/signals-core": "npm:^1.6.1""@types/flexsearch": "npm:^0.7.6"flexsearch: "npm:0.7.43"@@ -3594,21 +3594,21 @@ __metadata:zod: "npm:^3.23.8"peerDependencies:yjs: ^13.6.15- checksum: 10/2a84d2db6dac82e5d5b9aa7c2f93239ab62730d5940821eb3c02b49b34512777200b6ec6a4aa1d395a9f393fce8bf26918d06ecf1f5ce53d7c089119399c8b4e+ checksum: 10/3d8861e352fe0b06d2e93754c8207559bd8c849497e642a6e11e3fc3dc04d265649c3af9c810789fe0f52ff08e7b20d3387a6046b499a19f8c627ee1effd38f4languageName: nodelinkType: hard-"@blocksuite/sync@npm:0.16.0-canary-202407200848-42035fe":- version: 0.16.0-canary-202407200848-42035fe- resolution: "@blocksuite/sync@npm:0.16.0-canary-202407200848-42035fe"+"@blocksuite/sync@npm:0.16.0-canary-202407230727-128fc57":+ version: 0.16.0-canary-202407230727-128fc57+ resolution: "@blocksuite/sync@npm:0.16.0-canary-202407230727-128fc57"dependencies:- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"idb: "npm:^8.0.0"idb-keyval: "npm:^6.2.1"y-protocols: "npm:^1.0.6"peerDependencies:yjs: ^13.6.15- checksum: 10/bf6fe2db6afb18c9b15283e64b986dec44dab141d185ee6073f590721b6f99075af3fe6437d2b5fb521fbabe979fbf3ea1deb22798b7993de300ecc260575bb3+ checksum: 10/3b5c928b041c78f25b080750e5e1d16a598cc484efc5103121602ddb8adf672d8b5de5af264904fb3086c3144497f9fbd2b9b9d599ff044f8309484c46ff46cflanguageName: nodelinkType: hard@@ -14873,11 +14873,11 @@ __metadata:"@affine/debug": "workspace:*""@affine/env": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/block-std": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/blocks": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/global": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/presets": "npm:0.16.0-canary-202407200848-42035fe"- "@blocksuite/store": "npm:0.16.0-canary-202407200848-42035fe"+ "@blocksuite/block-std": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/blocks": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/global": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/presets": "npm:0.16.0-canary-202407230727-128fc57"+ "@blocksuite/store": "npm:0.16.0-canary-202407230727-128fc57""@datastructures-js/binary-search-tree": "npm:^5.3.2""@testing-library/react": "npm:^16.0.0"async-call-rpc: "npm:^6.4.0"