Skip to content

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.

feat: bump blocksuite (#5267)

Flrande9aa33d02282c
diff --git a/packages/common/env/package.json b/packages/common/env/package.json
index 8c44d85e05..a90dbc3513 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.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "0.34.6",
diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json
index f3696205f0..8b9c1112b2 100644
--- a/packages/common/infra/package.json
+++ b/packages/common/infra/package.json
@@ -57,9 +57,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"jotai": "^2.5.1",
"jotai-effect": "^0.2.3",
"tinykeys": "^2.1.0",
@@ -68,8 +68,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
"@testing-library/react": "^14.0.0",
"async-call-rpc": "^6.3.1",
"electron": "link:../../frontend/electron/node_modules/electron",
diff --git a/packages/common/sdk/package.json b/packages/common/sdk/package.json
index 1e09fab600..68929ec186 100644
--- a/packages/common/sdk/package.json
+++ b/packages/common/sdk/package.json
@@ -22,11 +22,11 @@
"dist"
],
"dependencies": {
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"jotai": "^2.5.1",
"zod": "^3.22.4"
},
diff --git a/packages/common/y-indexeddb/package.json b/packages/common/y-indexeddb/package.json
index 34db30b2bf..3c95defa62 100644
--- a/packages/common/y-indexeddb/package.json
+++ b/packages/common/y-indexeddb/package.json
@@ -37,8 +37,8 @@
"y-provider": "workspace:*"
},
"devDependencies": {
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.6.0",
diff --git a/packages/common/y-provider/package.json b/packages/common/y-provider/package.json
index 73b37c9190..fe8cb8abe2 100644
--- a/packages/common/y-provider/package.json
+++ b/packages/common/y-provider/package.json
@@ -24,7 +24,7 @@
"build": "vite build"
},
"devDependencies": {
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"vite": "^5.0.6",
"vite-plugin-dts": "3.6.0",
"vitest": "0.34.6",
diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json
index 6c6bea5ab5..540a3c2fab 100644
--- a/packages/frontend/component/package.json
+++ b/packages/frontend/component/package.json
@@ -71,12 +71,12 @@
"uuid": "^9.0.1"
},
"devDependencies": {
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
"@blocksuite/icons": "2.1.36",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
diff --git a/packages/frontend/component/src/components/block-suite-editor/index.tsx b/packages/frontend/component/src/components/block-suite-editor/index.tsx
index e0f0a0b1d5..e48dcdc89a 100644
--- a/packages/frontend/component/src/components/block-suite-editor/index.tsx
+++ b/packages/frontend/component/src/components/block-suite-editor/index.tsx
@@ -19,7 +19,7 @@ import {
blockSuiteEditorHeaderStyle,
blockSuiteEditorStyle,
} from './index.css';
-import { editorPresets } from './preset';
+import { editorSpecs } from './specs';
interface BlockElement extends Element {
path: string[];
@@ -83,7 +83,7 @@ export class NoPageRootError extends Error {
super('Page root not found when render editor!');
// Log info to let sentry collect more message
- const hasExpectSpace = Array.from(page.doc.spaces.values()).some(
+ const hasExpectSpace = Array.from(page.rootDoc.spaces.values()).some(
doc => page.spaceDoc.guid === doc.guid
);
const blocks = page.spaceDoc.getMap('blocks') as YMap<YMap<any>>;
@@ -162,8 +162,8 @@ const BlockSuiteEditorImpl = ({
if (editor.page !== page) {
editor.page = page;
- editor.pagePreset = editorPresets.pageModePreset;
- editor.edgelessPreset = editorPresets.edgelessModePreset;
+ editor.docSpecs = editorSpecs.docModeSpecs;
+ editor.edgelessSpecs = editorSpecs.edgelessModeSpecs;
}
useLayoutEffect(() => {
@@ -211,7 +211,7 @@ const BlockSuiteEditorImpl = ({
block: 'center',
inline: 'center',
});
- const selectManager = editor.root.value?.selection;
+ const selectManager = editor.root?.selection;
if (!blockElement.path.length || !selectManager) {
return;
}
diff --git a/packages/frontend/component/src/components/block-suite-editor/preset.ts b/packages/frontend/component/src/components/block-suite-editor/specs.ts
similarity index 54%
rename from packages/frontend/component/src/components/block-suite-editor/preset.ts
rename to packages/frontend/component/src/components/block-suite-editor/specs.ts
index 14184ab5c0..8fd3879595 100644
--- a/packages/frontend/component/src/components/block-suite-editor/preset.ts
+++ b/packages/frontend/component/src/components/block-suite-editor/specs.ts
@@ -1,7 +1,7 @@
import {
AttachmentService,
- EdgelessPreset,
- PagePreset,
+ DocEditorBlockSpecs,
+ EdgelessEditorBlockSpecs,
} from '@blocksuite/blocks';
import bytes from 'bytes';
@@ -17,30 +17,30 @@ class CustomAttachmentService extends AttachmentService {
}
}
-function getPresets() {
- const pageModePreset = PagePreset.map(preset => {
- if (preset.schema.model.flavour === 'affine:attachment') {
+function getSpecs() {
+ const docModeSpecs = DocEditorBlockSpecs.map(spec => {
+ if (spec.schema.model.flavour === 'affine:attachment') {
return {
- ...preset,
+ ...spec,
service: CustomAttachmentService,
};
}
- return preset;
+ return spec;
});
- const edgelessModePreset = EdgelessPreset.map(preset => {
- if (preset.schema.model.flavour === 'affine:attachment') {
+ const edgelessModeSpecs = EdgelessEditorBlockSpecs.map(spec => {
+ if (spec.schema.model.flavour === 'affine:attachment') {
return {
- ...preset,
+ ...spec,
service: CustomAttachmentService,
};
}
- return preset;
+ return spec;
});
return {
- pageModePreset,
- edgelessModePreset,
+ docModeSpecs,
+ edgelessModeSpecs,
};
}
-export const editorPresets = getPresets();
+export const editorSpecs = getSpecs();
diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json
index 6b0487609e..6da9775fef 100644
--- a/packages/frontend/core/package.json
+++ b/packages/frontend/core/package.json
@@ -25,14 +25,14 @@
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
"@blocksuite/icons": "2.1.36",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/virgo": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/virgo": "0.11.0-nightly-202312120309-2b3d2ba",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0",
diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json
index 534eeb91a9..cfaf0433ea 100644
--- a/packages/frontend/electron/package.json
+++ b/packages/frontend/electron/package.json
@@ -32,10 +32,10 @@
"@affine/sdk": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/vue-hello-world-plugin": "workspace:*",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",
diff --git a/packages/frontend/hooks/package.json b/packages/frontend/hooks/package.json
index 51eaf9ae09..3aa5502d4a 100644
--- a/packages/frontend/hooks/package.json
+++ b/packages/frontend/hooks/package.json
@@ -20,12 +20,12 @@
"devDependencies": {
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@testing-library/react": "^14.0.0",
"@toeverything/infra": "workspace:*",
"@types/image-blob-reduce": "^4.1.3",
diff --git a/tests/affine-legacy/0.6.1-beta.1/package.json b/tests/affine-legacy/0.6.1-beta.1/package.json
index f9a47be432..e0bf99b415 100644
--- a/tests/affine-legacy/0.6.1-beta.1/package.json
+++ b/tests/affine-legacy/0.6.1-beta.1/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.json
index ee71475789..14f78aac10 100644
--- a/tests/affine-legacy/0.7.0-canary.18/package.json
+++ b/tests/affine-legacy/0.7.0-canary.18/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.8.0-canary.7/package.json b/tests/affine-legacy/0.8.0-canary.7/package.json
index fa0e303127..4194514dad 100644
--- a/tests/affine-legacy/0.8.0-canary.7/package.json
+++ b/tests/affine-legacy/0.8.0-canary.7/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-legacy/0.8.4/package.json b/tests/affine-legacy/0.8.4/package.json
index f47bd78e45..ef157edf9a 100644
--- a/tests/affine-legacy/0.8.4/package.json
+++ b/tests/affine-legacy/0.8.4/package.json
@@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@playwright/test": "^1.39.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
diff --git a/tests/affine-local/e2e/all-page.spec.ts b/tests/affine-local/e2e/all-page.spec.ts
index 5ed1c78770..31bf4870a1 100644
--- a/tests/affine-local/e2e/all-page.spec.ts
+++ b/tests/affine-local/e2e/all-page.spec.ts
@@ -182,17 +182,17 @@ test('allow creation of filters by tags', async ({ page }) => {
.all();
const pagesWithTagsCount = pagesWithTags.length;
expect(pagesWithTagsCount).not.toBe(0);
- await createPageWithTag(page, { title: 'Page A', tags: ['A'] });
- await createPageWithTag(page, { title: 'Page B', tags: ['B'] });
+ await createPageWithTag(page, { title: 'Page A', tags: ['Page A'] });
+ await createPageWithTag(page, { title: 'Page B', tags: ['Page B'] });
await clickSideBarAllPageButton(page);
await checkFilterName(page, 'is not empty');
expect(await getPagesCount(page)).toBe(pagesWithTagsCount + 2);
await changeFilter(page, 'contains all');
expect(await getPagesCount(page)).toBe(pageCount + 2);
- await selectTag(page, 'A');
+ await selectTag(page, 'Page A');
expect(await getPagesCount(page)).toBe(1);
await changeFilter(page, 'does not contains all');
- await selectTag(page, 'B');
+ await selectTag(page, 'Page B');
expect(await getPagesCount(page)).toBe(pageCount + 1);
});
diff --git a/tests/affine-migration/package.json b/tests/affine-migration/package.json
index f810c820cf..1fd5ec53fe 100644
--- a/tests/affine-migration/package.json
+++ b/tests/affine-migration/package.json
@@ -7,10 +7,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
"@playwright/test": "^1.39.0"
},
"version": "0.10.3-canary.2"
diff --git a/tests/storybook/package.json b/tests/storybook/package.json
index 59a3302326..08d61b449b 100644
--- a/tests/storybook/package.json
+++ b/tests/storybook/package.json
@@ -31,14 +31,14 @@
"wait-on": "^7.2.0"
},
"devDependencies": {
- "@blocksuite/block-std": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/blocks": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/global": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
"@blocksuite/icons": "2.1.36",
- "@blocksuite/lit": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/presets": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47",
- "@blocksuite/virgo": "0.11.0-nightly-202312070955-2b5bb47",
+ "@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
+ "@blocksuite/virgo": "0.11.0-nightly-202312120309-2b3d2ba",
"@dnd-kit/sortable": "^8.0.0",
"@tomfreudenberg/next-auth-mock": "^0.5.6",
"chromatic": "^9.1.0",
diff --git a/yarn.lock b/yarn.lock
index a1a61ea46c..822ae41e31 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -25,10 +25,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -42,10 +42,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -59,10 +59,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -76,10 +76,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1"
@@ -138,10 +138,10 @@ __metadata:
dependencies:
"@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@playwright/test": "npm:^1.39.0"
languageName: unknown
linkType: soft
@@ -222,12 +222,12 @@ __metadata:
"@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*"
"@affine/workspace": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0"
@@ -350,14 +350,14 @@ __metadata:
"@affine/templates": "workspace:*"
"@affine/workspace": "workspace:*"
"@aws-sdk/client-s3": "npm:3.433.0"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/virgo": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/virgo": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/sortable": "npm:^8.0.0"
"@emotion/cache": "npm:^11.11.0"
@@ -464,10 +464,10 @@ __metadata:
"@affine/sdk": "workspace:*"
"@affine/templates": "workspace:*"
"@affine/vue-hello-world-plugin": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@electron-forge/cli": "npm:^7.2.0"
"@electron-forge/core": "npm:^7.2.0"
"@electron-forge/core-utils": "npm:^7.2.0"
@@ -516,8 +516,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
lit: "npm:^3.0.2"
react: "npm:18.2.0"
react-dom: "npm:18.2.0"
@@ -708,11 +708,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/sdk@workspace:packages/common/sdk"
dependencies:
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
jotai: "npm:^2.5.1"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.6.0"
@@ -836,14 +836,14 @@ __metadata:
dependencies:
"@affine/component": "workspace:*"
"@affine/i18n": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@blocksuite/icons": "npm:2.1.36"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/virgo": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/virgo": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@dnd-kit/sortable": "npm:^8.0.0"
"@storybook/addon-actions": "npm:^7.5.3"
"@storybook/addon-essentials": "npm:^7.5.3"
@@ -4084,29 +4084,29 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/block-std@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/block-std@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/block-std@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.22.4"
peerDependencies:
- "@blocksuite/store": 0.11.0-nightly-202312070955-2b5bb47
- checksum: 386721e0232cc1b2c566ca931b5d36b24d99ca9dc365df2b15115033b4bf1647490b87adfcd1ae8cffbf6c2fe65ae17e193ab349e80a040a536424bca515d58d
+ "@blocksuite/store": 0.11.0-nightly-202312120309-2b3d2ba
+ checksum: 0bfdfb84e3d39cdc28a36e66c5f426b7459880d1c29b3abb605ffd3d8ca21fa62ef1faf3634a5403425303f15f3b3b8df0ab7e03307bdb6ce29da62db358d60e
languageName: node
linkType: hard
-"@blocksuite/blocks@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/blocks@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/blocks@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/virgo": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/virgo": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@floating-ui/dom": "npm:^1.5.3"
"@toeverything/theme": "npm:^0.7.27"
"@types/hast": "npm:^3.0.3"
@@ -4140,16 +4140,16 @@ __metadata:
unified: "npm:^11.0.4"
webfontloader: "npm:^1.6.28"
zod: "npm:^3.22.4"
- checksum: 5a5e4d186c79436b0169d6b2de8e19e8d2da2246e873e87b49ce53d82e6168fb684a7b3d36533ce2ca2914aa87b6eb1795842e5b3e686396c3760f08c50ddd2a
+ checksum: a6f0359486e305b80e466be3f23edde2559cf82cee35075001ba55160d243ab82c217cda89ad5ee7d3594b4eee943f48bdd489c8cb28365ef3d40db97bda0427
languageName: node
linkType: hard
-"@blocksuite/global@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/global@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/global@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/global@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
zod: "npm:^3.22.4"
- checksum: de06d91f72a9387a882003f189493c5d532a72d321744d6a478d243c9f464e1d71b652cfe7628bf87ff2c200e0595695bc20883993bb78b41edacb617aff8734
+ checksum: c9d000d63e97776866045961affeae98c5f80f6336a643a5ae1d26b4e7c3de866482b97f545a86c9043d0c02653a50de7d4a1ef43cc0a60e0af2f5cc928f83be
languageName: node
linkType: hard
@@ -4163,40 +4163,41 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/lit@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/lit@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/lit@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/virgo": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/virgo": "npm:0.11.0-nightly-202312120309-2b3d2ba"
lit: "npm:^3.1.0"
peerDependencies:
- "@blocksuite/block-std": 0.11.0-nightly-202312070955-2b5bb47
- "@blocksuite/store": 0.11.0-nightly-202312070955-2b5bb47
- checksum: 9e2f12a824a3121953c1b31d68005a34a5ab9b2069f7e4b296aaf8fcc0acf10a1165298eb2baa8527f3493f2aba23e862fd8398fa4d659fb8ace68de13ba3cf2
+ "@blocksuite/block-std": 0.11.0-nightly-202312120309-2b3d2ba
+ "@blocksuite/store": 0.11.0-nightly-202312120309-2b3d2ba
+ checksum: d41f336b485c1fe84b0879dfada2d0e92eb31ea94ecf5bf192e2253b7693103a52d648b91261285c9dc19eff68d964b4c62d9ddbcab688f019413937a1609256
languageName: node
linkType: hard
-"@blocksuite/presets@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/presets@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/presets@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@toeverything/theme": "npm:^0.7.27"
lit: "npm:^3.1.0"
- checksum: 3e607f11dd709cc8d1f824bb087449c0f32350d306dff3b0948ef97b84da9c223da353ddd538ee148c0449d424f46c8f0b13cacf6804ae3ea77e4197474e0fbd
+ openai: "npm:^4.20.1"
+ checksum: b7b17f5193f9ad28c5c2c5e1cf9c261f20dea766f31338317716ec3bf4d9e126e1875a86076a121b01cfd0187abf63b8e5a1321afaf861721ed18ed3365af1b8
languageName: node
linkType: hard
-"@blocksuite/store@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/store@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/store@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/store@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/virgo": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/virgo": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@types/flexsearch": "npm:^0.7.3"
flexsearch: "npm:0.7.21"
idb-keyval: "npm:^6.2.1"
@@ -4209,20 +4210,20 @@ __metadata:
peerDependencies:
async-call-rpc: ^6
yjs: ^13
- checksum: e4ce26662ac86dafcf03f9ed542a355567c785ca1f6cebf3ca63a51e9a9c5db00153a26a133990202b297a36be393ac56d15033c7c578048413257e07807d1bf
+ checksum: 4c2bd4db3ffa4a0eee3eba2895817ee03fade556bd78f3dac13baf3cd20f1a2d65c3d7066204559b6f7b2371c66eb254da565bbcb9f55c2cd837d16e1d5ab0f0
languageName: node
linkType: hard
-"@blocksuite/virgo@npm:0.11.0-nightly-202312070955-2b5bb47":
- version: 0.11.0-nightly-202312070955-2b5bb47
- resolution: "@blocksuite/virgo@npm:0.11.0-nightly-202312070955-2b5bb47"
+"@blocksuite/virgo@npm:0.11.0-nightly-202312120309-2b3d2ba":
+ version: 0.11.0-nightly-202312120309-2b3d2ba
+ resolution: "@blocksuite/virgo@npm:0.11.0-nightly-202312120309-2b3d2ba"
dependencies:
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
zod: "npm:^3.22.4"
peerDependencies:
lit: ^3.0.2
yjs: ^13
- checksum: a279e498b96c1b44e90bcd8216fe680e895d1aea5e22eb06cf2d4ed23227eaf42db699ce8bd34777dc821e2f727f04db2505f9b92642768268d4b2cd9abcffb5
+ checksum: 004f43a72f6bec6d8d4049337dd8307031da0f4d0a745bdecc7b9dd7fe6dc26c9b3209bcbb414cd5207bb7d1d932abf03d2c9d9a9c2f8533d2a51c8f3c6c7375
languageName: node
linkType: hard
@@ -13743,12 +13744,12 @@ __metadata:
dependencies:
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
- "@blocksuite/block-std": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/block-std": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@testing-library/react": "npm:^14.0.0"
"@toeverything/infra": "workspace:*"
"@types/image-blob-reduce": "npm:^4.1.3"
@@ -13800,11 +13801,11 @@ __metadata:
"@affine/env": "workspace:*"
"@affine/sdk": "workspace:*"
"@affine/templates": "workspace:*"
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/global": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/lit": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/presets": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/global": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/lit": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/presets": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
"@testing-library/react": "npm:^14.0.0"
async-call-rpc: "npm:^6.3.1"
electron: "link:../../frontend/electron/node_modules/electron"
@@ -13853,8 +13854,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"
dependencies:
- "@blocksuite/blocks": "npm:0.11.0-nightly-202312070955-2b5bb47"
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/blocks": "npm:0.11.0-nightly-202312120309-2b3d2ba"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
fake-indexeddb: "npm:^5.0.0"
idb: "npm:^8.0.0"
nanoid: "npm:^5.0.3"
@@ -29577,6 +29578,25 @@ __metadata:
languageName: node
linkType: hard
+"openai@npm:^4.20.1":
+ version: 4.20.1
+ resolution: "openai@npm:4.20.1"
+ dependencies:
+ "@types/node": "npm:^18.11.18"
+ "@types/node-fetch": "npm:^2.6.4"
+ abort-controller: "npm:^3.0.0"
+ agentkeepalive: "npm:^4.2.1"
+ digest-fetch: "npm:^1.3.0"
+ form-data-encoder: "npm:1.7.2"
+ formdata-node: "npm:^4.3.2"
+ node-fetch: "npm:^2.6.7"
+ web-streams-polyfill: "npm:^3.2.1"
+ bin:
+ openai: bin/cli
+ checksum: c80c08c9cc39e64114e8bd41f8580223638476aa9fe5e11a5b505128350fcceb1fe6886004c9b37431b4520bec91815e897f545335b24f8f15bdd69c7185af45
+ languageName: node
+ linkType: hard
+
"openai@npm:~4.4.0":
version: 4.4.0
resolution: "openai@npm:4.4.0"
@@ -36959,7 +36979,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "y-provider@workspace:packages/common/y-provider"
dependencies:
- "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47"
+ "@blocksuite/store": "npm:0.11.0-nightly-202312120309-2b3d2ba"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.6.0"
vitest: "npm:0.34.6"