diff --git a/packages/common/env/package.json b/packages/common/env/package.json
index d182c4f4fd978..9272bc1e04864 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.17.0-canary-202408160752-cb4b196",
- "@blocksuite/store": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/global": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/store": "0.17.0-canary-202408191538-1511d04",
"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 09fd77437a4d4..133dc0a9b85be 100644
--- a/packages/common/infra/package.json
+++ b/packages/common/infra/package.json
@@ -14,10 +14,10 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
- "@blocksuite/blocks": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/global": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/store": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/blocks": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/global": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/store": "0.17.0-canary-202408191538-1511d04",
"@datastructures-js/binary-search-tree": "^5.3.2",
"foxact": "^0.2.33",
"fuse.js": "^7.0.0",
@@ -34,8 +34,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
- "@blocksuite/block-std": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/block-std": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
"@testing-library/react": "^16.0.0",
"async-call-rpc": "^6.4.0",
"fake-indexeddb": "^6.0.0",
diff --git a/packages/common/infra/src/modules/workspace/entities/workspace.ts b/packages/common/infra/src/modules/workspace/entities/workspace.ts
index e93525b73df9e..bf4120f382934 100644
--- a/packages/common/infra/src/modules/workspace/entities/workspace.ts
+++ b/packages/common/infra/src/modules/workspace/entities/workspace.ts
@@ -34,8 +34,6 @@ export class Workspace extends Entity {
},
idGenerator: () => nanoid(),
schema: globalBlockSuiteSchema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
}
return this._docCollection;
diff --git a/packages/common/infra/src/modules/workspace/testing/testing-provider.ts b/packages/common/infra/src/modules/workspace/testing/testing-provider.ts
index 2fcb6b0607225..1f525d549d505 100644
--- a/packages/common/infra/src/modules/workspace/testing/testing-provider.ts
+++ b/packages/common/infra/src/modules/workspace/testing/testing-provider.ts
@@ -61,8 +61,6 @@ export class TestingWorkspaceLocalProvider
blobSources: {
main: blobStorage,
},
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
// apply initial state
@@ -97,8 +95,6 @@ export class TestingWorkspaceLocalProvider
const bs = new DocCollection({
id,
schema: globalBlockSuiteSchema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
applyUpdate(bs.doc, data);
diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json
index 9ff1793d18918..bd7d5bcee3444 100644
--- a/packages/frontend/component/package.json
+++ b/packages/frontend/component/package.json
@@ -79,12 +79,12 @@
"zod": "^3.22.4"
},
"devDependencies": {
- "@blocksuite/block-std": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/blocks": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/global": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/block-std": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/blocks": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/global": "0.17.0-canary-202408191538-1511d04",
"@blocksuite/icons": "2.1.62",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/store": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/store": "0.17.0-canary-202408191538-1511d04",
"@chromatic-com/storybook": "^1",
"@storybook/addon-actions": "^8.2.9",
"@storybook/addon-essentials": "^8.2.9",
diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json
index 71efa24d96695..62d3a8a1e5158 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.17.0-canary-202408160752-cb4b196",
- "@blocksuite/blocks": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/global": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/block-std": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/blocks": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/global": "0.17.0-canary-202408191538-1511d04",
"@blocksuite/icons": "2.1.62",
- "@blocksuite/inline": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/store": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/inline": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/store": "0.17.0-canary-202408191538-1511d04",
"@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/chat-actions-handle.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts
index b13244711559f..69b16c9be18b1 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts
@@ -10,12 +10,12 @@ import type {
ImageSelection,
PageRootService,
} from '@blocksuite/blocks';
+import { BlocksUtils, NoteDisplayMode } from '@blocksuite/blocks';
import {
- BlocksUtils,
+ Bound,
getElementsBound,
- NoteDisplayMode,
-} from '@blocksuite/blocks';
-import { Bound, type SerializedXYWH } from '@blocksuite/global/utils';
+ type SerializedXYWH,
+} from '@blocksuite/global/utils';
import { type ChatMessage } from '@blocksuite/presets';
import type { Doc } from '@blocksuite/store';
import type { TemplateResult } from 'lit';
@@ -304,7 +304,10 @@ const SAVE_CHAT_TO_BLOCK_ACTION: ChatAction = {
const { docModeService, notificationService } = rootService;
const { layer } = surfaceService;
const curMode = docModeService.getMode();
- const viewportCenter = getViewportCenter(curMode, rootService);
+ const viewportCenter = getViewportCenter(
+ curMode,
+ rootService as PageRootService
+ );
const newBlockIndex = layer.generateIndex('affine:embed-ai-chat');
// If current mode is not edgeless, switch to edgeless mode first
if (curMode !== 'edgeless') {
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts b/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts
index a47e2e859b9b3..0bc2110c6c9fc 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts
@@ -216,8 +216,6 @@ export class AISlidesRenderer extends WithDisposable(LitElement) {
const collection = new DocCollection({
schema,
id: 'SLIDES_PREVIEW',
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
collection.meta.initialize();
collection.start();
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts
index 63dad96342e43..7cceab810a984 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts
@@ -226,6 +226,7 @@ export class AIChatBlockPeekView extends LitElement {
const { doc } = this.host;
const chatBlock = doc.getBlock(this.chatContext.currentChatBlockId);
+ if (!chatBlock) return;
// Get fork session messages
const { parentRootWorkspaceId, parentRootDocId } = this;
@@ -278,7 +279,7 @@ export class AIChatBlockPeekView extends LitElement {
if (currentChatBlockId) {
const edgelessService = this._rootService as EdgelessRootService;
- const chatBlock = doc.getBlock(currentChatBlockId).model;
+ const chatBlock = doc.getBlock(currentChatBlockId)?.model;
if (chatBlock) {
const connectors = edgelessService.getConnectors(
chatBlock as AIChatBlockModel
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts b/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts
index b3b0e3e1452d1..256b1ce7e686d 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/utils/edgeless.ts
@@ -68,7 +68,10 @@ export function findNoteBlockModel(blockElement: BlockComponent) {
if (matchFlavours(curBlock.model, ['affine:page', 'affine:surface'])) {
return null;
}
- curBlock = curBlock.parentBlock;
+ if (!curBlock.parentComponent) {
+ break;
+ }
+ curBlock = curBlock.parentComponent;
}
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.ts
index d57fa226ca289..c28651577a804 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
@@ -16,7 +16,10 @@ import {
const getNoteId = (blockElement: BlockComponent) => {
let element = blockElement;
while (element.flavour !== 'affine:note') {
- element = element.parentBlock;
+ if (!element.parentComponent) {
+ break;
+ }
+ element = element.parentComponent;
}
return element.model.id;
@@ -53,7 +56,8 @@ export const insert = async (
selectBlock: BlockComponent,
below: boolean = true
) => {
- const blockParent = selectBlock.parentBlock;
+ const blockParent = selectBlock.parentComponent;
+ if (!blockParent) return;
const index = blockParent.model.children.findIndex(
model => model.id === selectBlock.model.id
);
@@ -94,7 +98,8 @@ export const replace = async (
selectedModels: BlockModel[],
textSelection?: TextSelection
) => {
- const firstBlockParent = firstBlock.parentBlock;
+ const firstBlockParent = firstBlock.parentComponent;
+ if (!firstBlockParent) return;
const firstIndex = firstBlockParent.model.children.findIndex(
model => model.id === firstBlock.model.id
);
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 d399e6a565916..5b64544ee6c4a 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
@@ -189,8 +189,6 @@ export async function markDownToDoc(host: EditorHost, answer: string) {
// Should not create a new doc in the original collection
const collection = new DocCollection({
schema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
collection.meta.initialize();
const job = new Job({
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.ts
index 4912eb6c62184..2df0f71c4181b 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
@@ -109,8 +109,6 @@ const getOrCreateShellWorkspace = (workspaceId: string) => {
main: blobStorage,
},
schema: globalBlockSuiteSchema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
docCollectionMap.set(workspaceId, docCollection);
docCollection.doc.emit('sync', [true, docCollection.doc]);
diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
index d57bd51778286..a809a17c361c9 100644
--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
@@ -7,12 +7,7 @@ import { useJournalInfoHelper } from '@affine/core/hooks/use-journal';
import { PeekViewService } from '@affine/core/modules/peek-view';
import { WorkbenchService } from '@affine/core/modules/workbench';
import type { DocMode } from '@blocksuite/blocks';
-import {
- DocMetaTags,
- DocTitle,
- EdgelessEditor,
- PageEditor,
-} from '@blocksuite/presets';
+import { DocTitle, EdgelessEditor, PageEditor } from '@blocksuite/presets';
import type { Doc } from '@blocksuite/store';
import {
DocService,
@@ -58,10 +53,6 @@ const adapted = {
react: React,
elementClass: DocTitle,
}),
- PageMetaTags: createReactComponentFromLit({
- react: React,
- elementClass: DocMetaTags,
- }),
EdgelessEditor: createReactComponentFromLit({
react: React,
elementClass: EdgelessEditor,
@@ -207,7 +198,7 @@ export const BlocksuiteDocEditor = forwardRef<
{
- docPage.std.spec.getService('affine:page').appendParagraph();
+ docPage.std.command.exec('appendParagraph' as never, {});
}}
>
) : null}
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.ts
index 3bc8e4b449b7b..f346524ce9a6c 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
@@ -31,7 +31,7 @@ function customLoadFonts(service: RootService): void {
}
}
-function withAffineRootService(Service: typeof RootService) {
+function withAffineRootService(Service: typeof PageRootService) {
return class extends Service {
override loadFonts(): void {
customLoadFonts(this);
@@ -65,7 +65,7 @@ export function createEdgelessRootBlockSpec(
): EdgelessRootBlockSpecType {
return {
...AIEdgelessRootBlockSpec,
- service: withAffineRootService(EdgelessRootService),
+ service: withAffineRootService(EdgelessRootService as never),
config: {
linkedWidget: createLinkedWidgetConfig(framework),
},
diff --git a/packages/frontend/core/src/modules/workspace-engine/impls/cloud.ts b/packages/frontend/core/src/modules/workspace-engine/impls/cloud.ts
index 8e5d0282f94a6..f56e966960069 100644
--- a/packages/frontend/core/src/modules/workspace-engine/impls/cloud.ts
+++ b/packages/frontend/core/src/modules/workspace-engine/impls/cloud.ts
@@ -100,8 +100,6 @@ export class CloudWorkspaceFlavourProviderService
blobSources: {
main: blobStorage,
},
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
// apply initial state
@@ -212,8 +210,6 @@ export class CloudWorkspaceFlavourProviderService
const bs = new DocCollection({
id,
schema: globalBlockSuiteSchema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
if (localData) applyUpdate(bs.doc, localData);
diff --git a/packages/frontend/core/src/modules/workspace-engine/impls/local.ts b/packages/frontend/core/src/modules/workspace-engine/impls/local.ts
index 606beca595b82..46f67dad84ca2 100644
--- a/packages/frontend/core/src/modules/workspace-engine/impls/local.ts
+++ b/packages/frontend/core/src/modules/workspace-engine/impls/local.ts
@@ -72,8 +72,6 @@ export class LocalWorkspaceFlavourProvider
idGenerator: () => nanoid(),
schema: globalBlockSuiteSchema,
blobSources: { main: blobStorage },
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
// apply initial state
@@ -146,8 +144,6 @@ export class LocalWorkspaceFlavourProvider
const bs = new DocCollection({
id,
schema: globalBlockSuiteSchema,
- disableBacklinkIndex: true,
- disableSearchIndex: true,
});
if (localData) applyUpdate(bs.doc, localData);
diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json
index 8504112d67ebf..f98b305234992 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.17.0-canary-202408160752-cb4b196",
- "@blocksuite/blocks": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
- "@blocksuite/store": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/block-std": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/blocks": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
+ "@blocksuite/store": "0.17.0-canary-202408191538-1511d04",
"@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 0931d156ec7da..c948fdadd86b9 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.620.0",
- "@blocksuite/presets": "0.17.0-canary-202408160752-cb4b196",
+ "@blocksuite/presets": "0.17.0-canary-202408191538-1511d04",
"@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 19602d7e4f217..f7d85872ffbdc 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -228,7 +228,7 @@ __metadata:
"@affine/env": "workspace:*"
"@affine/templates": "workspace:*"
"@aws-sdk/client-s3": "npm:^3.620.0"
- "@blocksuite/presets": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/presets": "npm:0.17.0-canary-202408191538-1511d04"
"@clack/core": "npm:^0.3.4"
"@clack/prompts": "npm:^0.7.0"
"@magic-works/i18n-codegen": "npm:^0.6.0"
@@ -287,12 +287,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.17.0-canary-202408160752-cb4b196"
- "@blocksuite/blocks": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/blocks": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
"@blocksuite/icons": "npm:2.1.62"
- "@blocksuite/presets": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/presets": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@chromatic-com/storybook": "npm:^1"
"@dnd-kit/core": "npm:^6.1.0"
"@dnd-kit/modifiers": "npm:^7.0.0"
@@ -387,13 +387,13 @@ __metadata:
"@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*"
"@affine/templates": "workspace:*"
- "@blocksuite/block-std": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/blocks": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/blocks": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
"@blocksuite/icons": "npm:2.1.62"
- "@blocksuite/inline": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/presets": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/presets": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@dnd-kit/core": "npm:^6.1.0"
"@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0"
@@ -526,10 +526,10 @@ __metadata:
"@affine/env": "workspace:*"
"@affine/i18n": "workspace:*"
"@affine/native": "workspace:*"
- "@blocksuite/block-std": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/blocks": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/presets": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/blocks": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/presets": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@electron-forge/cli": "npm:^7.3.0"
"@electron-forge/core": "npm:^7.3.0"
"@electron-forge/core-utils": "npm:^7.3.0"
@@ -586,8 +586,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env"
dependencies:
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
lit: "npm:^3.1.2"
react: "npm:18.3.1"
react-dom: "npm:18.3.1"
@@ -3413,11 +3413,87 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/block-std@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/block-std@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/affine-block-paragraph@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/affine-block-paragraph@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/affine-components": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-model": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-shared": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
+ "@floating-ui/dom": "npm:^1.6.8"
+ "@lit-labs/preact-signals": "npm:^1.0.2"
+ "@lit/context": "npm:^1.1.2"
+ "@toeverything/theme": "npm:^1.0.2"
+ lit: "npm:^3.1.4"
+ minimatch: "npm:^10.0.1"
+ zod: "npm:^3.23.8"
+ checksum: 10/691497f518f5b3cff09cda9ae206fdcf3652f355b2f0e711feac39bb4b5b7cde5444549ad96822427c697ae7eb746609781adca344519def3a2e73ec5578a23b
+ languageName: node
+ linkType: hard
+
+"@blocksuite/affine-components@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/affine-components@npm:0.17.0-canary-202408191538-1511d04"
+ dependencies:
+ "@blocksuite/affine-model": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-shared": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/icons": "npm:^2.1.62"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
+ "@floating-ui/dom": "npm:^1.6.8"
+ "@lit-labs/preact-signals": "npm:^1.0.2"
+ "@lit/context": "npm:^1.1.2"
+ "@toeverything/theme": "npm:^1.0.2"
+ lit: "npm:^3.1.4"
+ zod: "npm:^3.23.8"
+ checksum: 10/2da75f271eb1f5e91c545f0ba571a22d0c72f7fea41c5215953c55a7981607477dbf81ebda96952a676bdafa052560e3ea85dfad793b88adf9eec56534649604
+ languageName: node
+ linkType: hard
+
+"@blocksuite/affine-model@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/affine-model@npm:0.17.0-canary-202408191538-1511d04"
+ dependencies:
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
+ zod: "npm:^3.23.8"
+ checksum: 10/28212de87f185151d8d81a3fb6bec08b81b681063ac4a7fd5333864ad91e3d583100ae455a8e92da5487d93074071d85e7b7d4816fd97aafacd230cf11ba1510
+ languageName: node
+ linkType: hard
+
+"@blocksuite/affine-shared@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/affine-shared@npm:0.17.0-canary-202408191538-1511d04"
+ dependencies:
+ "@blocksuite/affine-model": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
+ "@floating-ui/dom": "npm:^1.6.8"
+ "@lit-labs/preact-signals": "npm:^1.0.2"
+ "@lit/context": "npm:^1.1.2"
+ "@toeverything/theme": "npm:^1.0.2"
+ lit: "npm:^3.1.4"
+ minimatch: "npm:^10.0.1"
+ zod: "npm:^3.23.8"
+ checksum: 10/22d8656159b436f07c12a58f3fbc09d56ea54f72cd20f0175b1c980092f0f475eda6b5cc01371f5b640fa87d84753c200b626568edd6932410a515114ac1916f
+ languageName: node
+ linkType: hard
+
+"@blocksuite/block-std@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/block-std@npm:0.17.0-canary-202408191538-1511d04"
+ dependencies:
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
"@lit-labs/preact-signals": "npm:^1.0.2"
"@lit/context": "npm:^1.1.2"
"@types/hast": "npm:^3.0.4"
@@ -3429,21 +3505,25 @@ __metadata:
w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.23.8"
peerDependencies:
- "@blocksuite/inline": 0.17.0-canary-202408160752-cb4b196
- "@blocksuite/store": 0.17.0-canary-202408160752-cb4b196
- checksum: 10/45fbd132bc0d9d6a4a985bc46fd0b251028236593902150f0cb22057af7370fdea4ea7edad6df4a100196f59dc587593a8aff1bf0409de4a16fd6fb12b099612
+ "@blocksuite/inline": 0.17.0-canary-202408191538-1511d04
+ "@blocksuite/store": 0.17.0-canary-202408191538-1511d04
+ checksum: 10/03ea60144cfa2a23e9b92decb3f523503811c89c34e75fd9b966508ee6777aec501fd7021b73ccaf3871f88d53ee583064dded9fc477ecb8f9367f1941d53ece
languageName: node
linkType: hard
-"@blocksuite/blocks@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/blocks@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/blocks@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/blocks@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/block-std": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/affine-block-paragraph": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-components": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-model": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/affine-shared": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
"@blocksuite/icons": "npm:^2.1.62"
- "@blocksuite/inline": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@dotlottie/player-component": "npm:^2.7.12"
"@floating-ui/dom": "npm:^1.6.8"
"@lit-labs/preact-signals": "npm:^1.0.2"
@@ -3482,17 +3562,17 @@ __metadata:
sortablejs: "npm:^1.15.2"
unified: "npm:^11.0.5"
zod: "npm:^3.23.8"
- checksum: 10/4e93420a2817076cdc3dbcb3994ae1b6f634ae0158969936ee8103ec9b1179b84473c76cd968ef76e4c126f2e0a771812e857fc7e059d04262abcbc1e6a4483b
+ checksum: 10/ccbed0eda2a28b2d580b12fff4d58c78ce977bb853e20da9f6f114dedb3eddf3cafdf70bcb8e5b6b0236fd4a1e4f76b11741bc38fcc2b9a346a30b99a2d98275
languageName: node
linkType: hard
-"@blocksuite/global@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/global@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/global@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/global@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
lib0: "npm:^0.2.95"
zod: "npm:^3.23.8"
- checksum: 10/e70be480a643a462f5d3aafed98ada0904ee417383dd69d002b19a5a886ff890d3fcab1b39d5b2c7f04d26abb794cc21f720ad217dbc3a26363cf6bb8daae440
+ checksum: 10/9e6f33646a964aab02384cd99472ad9b70dafce5d4778ea45142e719599bca2f4a94f992dcb647936428d9b14c73eb9ad1e631ea54482f7c34205ba9c8903c8a
languageName: node
linkType: hard
@@ -3512,28 +3592,29 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/inline@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/inline@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/inline@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/inline@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
zod: "npm:^3.23.8"
peerDependencies:
lit: ^3.1.1
yjs: ^13.6.15
- checksum: 10/f84fb5bb3a8ff4bbcc9c52e3863ab9c378a64d75b55f1648b676bcfa9e0e3d47182547e7de197c7eb9f7f91be093edc1c8db2fd81803808d63e42be0b7fa30c8
+ checksum: 10/283197e25f9a112e69f0ad6bf26cdf163eb639e577b0c0f0d0aa93df6f6790cb83fc2c4ce39d31c11e12d4e09497875da0fa0e0b593fcc2a574b80d3cc227607
languageName: node
linkType: hard
-"@blocksuite/presets@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/presets@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/presets@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/presets@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/block-std": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/blocks": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/inline": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/affine-shared": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/blocks": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@dotlottie/player-component": "npm:^2.7.12"
"@fal-ai/serverless-client": "npm:^0.13.0"
"@floating-ui/dom": "npm:^1.6.8"
@@ -3542,17 +3623,17 @@ __metadata:
lit: "npm:^3.1.4"
openai: "npm:^4.53.2"
zod: "npm:^3.23.8"
- checksum: 10/21d4e93a2a1991fca063645cb5cb412600dacfde3b9c63e735c2a40310c6b26b205f36950ff8f65b4d2d3a0990ca4e038f010e196f826197aa6ac6a25c9f275d
+ checksum: 10/2136ab81953f83f9544efdef42935bdda8bc015d1a5cd4a3d90916e091f529323c1a641fed9f9cf59ed4f113700bab455ad03b772a2e90de8521fee762ee5f09
languageName: node
linkType: hard
-"@blocksuite/store@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/store@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/store@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/store@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/inline": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/sync": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/inline": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/sync": "npm:0.17.0-canary-202408191538-1511d04"
"@preact/signals-core": "npm:^1.7.0"
"@types/flexsearch": "npm:^0.7.6"
"@types/lodash.ismatch": "npm:^4.4.9"
@@ -3566,21 +3647,21 @@ __metadata:
zod: "npm:^3.23.8"
peerDependencies:
yjs: ^13.6.15
- checksum: 10/9a598d2aac1dfa38d0df950ddd0f6ca9d15a23432429654e92634e01eb9775f3f59463e89073271d81e3e1d9f586b2ed3b871d241b9881493342b7f8df49018e
+ checksum: 10/99ba97b28690079ed0ac9f3f9f52934e369bc4cd712aca24cb5298e80c6b98f668ca07bb0153e062497ea21b6d6ab8b6c569ff2324af969edb36b24d0db8c04b
languageName: node
linkType: hard
-"@blocksuite/sync@npm:0.17.0-canary-202408160752-cb4b196":
- version: 0.17.0-canary-202408160752-cb4b196
- resolution: "@blocksuite/sync@npm:0.17.0-canary-202408160752-cb4b196"
+"@blocksuite/sync@npm:0.17.0-canary-202408191538-1511d04":
+ version: 0.17.0-canary-202408191538-1511d04
+ resolution: "@blocksuite/sync@npm:0.17.0-canary-202408191538-1511d04"
dependencies:
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
idb: "npm:^8.0.0"
idb-keyval: "npm:^6.2.1"
y-protocols: "npm:^1.0.6"
peerDependencies:
yjs: ^13.6.15
- checksum: 10/02ba50313bcd452e836dd78e60f7869730aaf97c5c1e669f79080e9bd109ec0055bf713687c8d9eb6b070e974dd895c33d61d3fc8563784083c5f75ff3006697
+ checksum: 10/485d9e2e6536dc63492550a09a27804d161229130e7be9d44e2b52fdcba5ec953cf9283f794a27f264ad4a5c62722c9c730a9778bb149dbacf493dc1c59abf26
languageName: node
linkType: hard
@@ -13729,11 +13810,11 @@ __metadata:
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/templates": "workspace:*"
- "@blocksuite/block-std": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/blocks": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/global": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/presets": "npm:0.17.0-canary-202408160752-cb4b196"
- "@blocksuite/store": "npm:0.17.0-canary-202408160752-cb4b196"
+ "@blocksuite/block-std": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/blocks": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/global": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/presets": "npm:0.17.0-canary-202408191538-1511d04"
+ "@blocksuite/store": "npm:0.17.0-canary-202408191538-1511d04"
"@datastructures-js/binary-search-tree": "npm:^5.3.2"
"@testing-library/react": "npm:^16.0.0"
async-call-rpc: "npm:^6.4.0"