chore: bump blocksuite (#7235)

## Features
- https://github.com/toeverything/BlockSuite/pull/7340 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7334 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7339 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7328 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7324 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7297 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7318 @CatsJuice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7343 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7345 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7341 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7342 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7329 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7337 @fundon
- https://github.com/toeverything/BlockSuite/pull/7333 @fundon
- https://github.com/toeverything/BlockSuite/pull/7326 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7325 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7323 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7312 @golok727
- https://github.com/toeverything/BlockSuite/pull/7317 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7319 @akumatus

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7327 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7320 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7303 @fundon
- https://github.com/toeverything/BlockSuite/pull/7321 @Saul-Mirone
This commit is contained in:
EYHN
2024-06-17 10:55:40 +00:00
parent 54fc1197ad
commit e2dbac6bf8
17 changed files with 123 additions and 108 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
"private": true, "private": true,
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@blocksuite/global": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/store": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",
"vitest": "1.6.0" "vitest": "1.6.0"
+5 -5
View File
@@ -13,9 +13,9 @@
"@affine/debug": "workspace:*", "@affine/debug": "workspace:*",
"@affine/env": "workspace:*", "@affine/env": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/global": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/store": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5",
"@datastructures-js/binary-search-tree": "^5.3.2", "@datastructures-js/binary-search-tree": "^5.3.2",
"foxact": "^0.2.33", "foxact": "^0.2.33",
"jotai": "^2.8.0", "jotai": "^2.8.0",
@@ -29,8 +29,8 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",
"@testing-library/react": "^16.0.0", "@testing-library/react": "^16.0.0",
"async-call-rpc": "^6.4.0", "async-call-rpc": "^6.4.0",
"react": "^18.2.0", "react": "^18.2.0",
+5 -5
View File
@@ -75,12 +75,12 @@
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/global": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/icons": "2.1.55", "@blocksuite/icons": "2.1.55",
"@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/store": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5",
"@storybook/addon-actions": "^7.6.17", "@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17", "@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17", "@storybook/addon-interactions": "^7.6.17",
+6 -6
View File
@@ -18,13 +18,13 @@
"@affine/graphql": "workspace:*", "@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*", "@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/global": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/global": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/icons": "2.1.55", "@blocksuite/icons": "2.1.55",
"@blocksuite/inline": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/inline": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/store": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5",
"@dnd-kit/core": "^6.1.0", "@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
@@ -12,6 +12,7 @@ export async function buildShowcaseWorkspace(
workspaceName: string workspaceName: string
) { ) {
const meta = await workspacesService.create(flavour, async docCollection => { const meta = await workspacesService.create(flavour, async docCollection => {
docCollection.meta.initialize();
docCollection.meta.setName(workspaceName); docCollection.meta.setName(workspaceName);
const blob = await (await fetch(onboardingUrl)).blob(); const blob = await (await fetch(onboardingUrl)).blob();
@@ -58,6 +59,7 @@ export async function createFirstAppData(workspacesService: WorkspacesService) {
const workspaceMetadata = await workspacesService.create( const workspaceMetadata = await workspacesService.create(
WorkspaceFlavour.LOCAL, WorkspaceFlavour.LOCAL,
async workspace => { async workspace => {
workspace.meta.initialize();
workspace.meta.setName(DEFAULT_WORKSPACE_NAME); workspace.meta.setName(DEFAULT_WORKSPACE_NAME);
const page = workspace.createDoc(); const page = workspace.createDoc();
defaultPageId = page.id; defaultPageId = page.id;
@@ -247,6 +247,7 @@ export const CreateWorkspaceModal = ({
const { id } = await workspacesService.create( const { id } = await workspacesService.create(
workspaceFlavour, workspaceFlavour,
async workspace => { async workspace => {
workspace.meta.initialize();
workspace.meta.setName(name); workspace.meta.setName(name);
const page = workspace.createDoc(); const page = workspace.createDoc();
defaultDocId = page.id; defaultDocId = page.id;
@@ -1,6 +1,6 @@
import { mixpanel } from '@affine/core/utils'; import { mixpanel } from '@affine/core/utils';
import type { BlockSpec } from '@blocksuite/block-std'; import type { BlockSpec } from '@blocksuite/block-std';
import type { RootService } from '@blocksuite/blocks'; import type { RootService, TelemetryEventMap } from '@blocksuite/blocks';
import { import {
AffineCanvasTextFonts, AffineCanvasTextFonts,
EdgelessRootService, EdgelessRootService,
@@ -30,9 +30,12 @@ function withAffineRootService(Service: typeof RootService) {
customLoadFonts(this); customLoadFonts(this);
} }
telemetryService = { override telemetryService = {
track: (event: string, data: Record<string, unknown>) => { track: <T extends keyof TelemetryEventMap>(
mixpanel.track(event, data); eventName: T,
props: TelemetryEventMap[T]
) => {
mixpanel.track(eventName, props);
}, },
}; };
}; };
@@ -20,6 +20,7 @@ schema.register(AffineSchemas);
beforeEach(async () => { beforeEach(async () => {
vi.useFakeTimers({ toFake: ['requestIdleCallback'] }); vi.useFakeTimers({ toFake: ['requestIdleCallback'] });
docCollection = new DocCollection({ id: 'test', schema }); docCollection = new DocCollection({ id: 'test', schema });
docCollection.meta.initialize();
const initPage = async (page: Doc) => { const initPage = async (page: Doc) => {
page.load(); page.load();
expect(page).not.toBeNull(); expect(page).not.toBeNull();
@@ -9,12 +9,12 @@ export function useAllBlockSuiteDocMeta(
docCollection: DocCollection docCollection: DocCollection
): DocMeta[] { ): DocMeta[] {
if (!weakMap.has(docCollection)) { if (!weakMap.has(docCollection)) {
const baseAtom = atom<DocMeta[]>(docCollection.meta.docMetas); const baseAtom = atom<DocMeta[]>([...docCollection.meta.docMetas]);
weakMap.set(docCollection, baseAtom); weakMap.set(docCollection, baseAtom);
baseAtom.onMount = set => { baseAtom.onMount = set => {
set(docCollection.meta.docMetas); set([...docCollection.meta.docMetas]);
const dispose = docCollection.meta.docMetaUpdated.on(() => { const dispose = docCollection.meta.docMetaUpdated.on(() => {
set(docCollection.meta.docMetas); set([...docCollection.meta.docMetas]);
}); });
return () => { return () => {
dispose.dispose(); dispose.dispose();
@@ -6,10 +6,12 @@ import { useDocCollectionPage } from './use-block-suite-workspace-page';
const weakMap = new WeakMap<Doc, Atom<string[]>>(); const weakMap = new WeakMap<Doc, Atom<string[]>>();
function getPageBacklinks(page: Doc): string[] { function getPageBacklinks(page: Doc): string[] {
return page.collection.indexer.backlink return (
.getBacklink(page.id) page.collection.indexer.backlink
.map(linkNode => linkNode.pageId) ?.getBacklink(page.id)
.filter(id => id !== page.id); .map(linkNode => linkNode.pageId)
.filter(id => id !== page.id) ?? []
);
} }
const getPageBacklinksAtom = (page: Doc | null) => { const getPageBacklinksAtom = (page: Doc | null) => {
@@ -24,13 +26,13 @@ const getPageBacklinksAtom = (page: Doc | null) => {
page.slots.ready.on(() => { page.slots.ready.on(() => {
set(getPageBacklinks(page)); set(getPageBacklinks(page));
}), }),
page.collection.indexer.backlink.slots.indexUpdated.on(() => { page.collection.indexer.backlink?.slots.indexUpdated.on(() => {
set(getPageBacklinks(page)); set(getPageBacklinks(page));
}), }),
]; ];
set(getPageBacklinks(page)); set(getPageBacklinks(page));
return () => { return () => {
disposables.forEach(disposable => disposable.dispose()); disposables.forEach(disposable => disposable?.dispose());
}; };
}; };
weakMap.set(page, baseAtom); weakMap.set(page, baseAtom);
@@ -7,7 +7,7 @@ import { useDocCollectionPage } from './use-block-suite-workspace-page';
const weakMap = new WeakMap<Doc, Atom<string[]>>(); const weakMap = new WeakMap<Doc, Atom<string[]>>();
function getPageReferences(page: Doc): string[] { function getPageReferences(page: Doc): string[] {
return Object.values( return Object.values(
page.collection.indexer.backlink.linkIndexMap[page.id] ?? {} page.collection.indexer.backlink?.linkIndexMap[page.id] ?? {}
).flatMap(linkNodes => linkNodes.map(linkNode => linkNode.pageId)); ).flatMap(linkNodes => linkNodes.map(linkNode => linkNode.pageId));
} }
@@ -23,13 +23,13 @@ const getPageReferencesAtom = (page: Doc | null) => {
page.slots.ready.on(() => { page.slots.ready.on(() => {
set(getPageReferences(page)); set(getPageReferences(page));
}), }),
page.collection.indexer.backlink.slots.indexUpdated.on(() => { page.collection.indexer.backlink?.slots.indexUpdated.on(() => {
set(getPageReferences(page)); set(getPageReferences(page));
}), }),
]; ];
set(getPageReferences(page)); set(getPageReferences(page));
return () => { return () => {
disposables.forEach(disposable => disposable.dispose()); disposables.forEach(disposable => disposable?.dispose());
}; };
}; };
weakMap.set(page, baseAtom); weakMap.set(page, baseAtom);
+1
View File
@@ -23,6 +23,7 @@ export async function configureTestingEnvironment() {
metadata: await workspaceManager.create( metadata: await workspaceManager.create(
WorkspaceFlavour.LOCAL, WorkspaceFlavour.LOCAL,
async ws => { async ws => {
ws.meta.initialize();
const initDoc = async (page: BlockSuiteDoc) => { const initDoc = async (page: BlockSuiteDoc) => {
page.load(); page.load();
const pageBlockId = page.addBlock('affine:page', { const pageBlockId = page.addBlock('affine:page', {
+4 -4
View File
@@ -29,10 +29,10 @@
"@affine/env": "workspace:*", "@affine/env": "workspace:*",
"@affine/i18n": "workspace:*", "@affine/i18n": "workspace:*",
"@affine/native": "workspace:*", "@affine/native": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/block-std": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/blocks": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/blocks": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",
"@blocksuite/store": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/store": "0.15.0-canary-202406170818-d8a3bf5",
"@electron-forge/cli": "^7.3.0", "@electron-forge/cli": "^7.3.0",
"@electron-forge/core": "^7.3.0", "@electron-forge/core": "^7.3.0",
"@electron-forge/core-utils": "^7.3.0", "@electron-forge/core-utils": "^7.3.0",
+1
View File
@@ -275,6 +275,7 @@ export enum ErrorNames {
MISSING_OAUTH_QUERY_PARAMETER = 'MISSING_OAUTH_QUERY_PARAMETER', MISSING_OAUTH_QUERY_PARAMETER = 'MISSING_OAUTH_QUERY_PARAMETER',
NOT_IN_WORKSPACE = 'NOT_IN_WORKSPACE', NOT_IN_WORKSPACE = 'NOT_IN_WORKSPACE',
NO_COPILOT_PROVIDER_AVAILABLE = 'NO_COPILOT_PROVIDER_AVAILABLE', NO_COPILOT_PROVIDER_AVAILABLE = 'NO_COPILOT_PROVIDER_AVAILABLE',
OAUTH_ACCOUNT_ALREADY_CONNECTED = 'OAUTH_ACCOUNT_ALREADY_CONNECTED',
OAUTH_STATE_EXPIRED = 'OAUTH_STATE_EXPIRED', OAUTH_STATE_EXPIRED = 'OAUTH_STATE_EXPIRED',
PAGE_IS_NOT_PUBLIC = 'PAGE_IS_NOT_PUBLIC', PAGE_IS_NOT_PUBLIC = 'PAGE_IS_NOT_PUBLIC',
RUNTIME_CONFIG_NOT_FOUND = 'RUNTIME_CONFIG_NOT_FOUND', RUNTIME_CONFIG_NOT_FOUND = 'RUNTIME_CONFIG_NOT_FOUND',
+5 -1
View File
@@ -511,7 +511,11 @@ test('can use @ to open quick search to search for doc and insert into canvas',
page.locator('.affine-embed-linked-doc-content-title') page.locator('.affine-embed-linked-doc-content-title')
).toContainText('Write, Draw, Plan all at Once'); ).toContainText('Write, Draw, Plan all at Once');
// focus on the note block
await page.waitForTimeout(500);
await page.locator('affine-embed-linked-doc-block').click({ force: true });
await page.waitForTimeout(500);
// double clock to show peek view // double clock to show peek view
await page.locator('affine-embed-linked-doc-block').dblclick(); await page.locator('affine-embed-linked-doc-block').dblclick({ force: true });
await expect(page.getByTestId('peek-view-modal')).toBeVisible(); await expect(page.getByTestId('peek-view-modal')).toBeVisible();
}); });
+1 -1
View File
@@ -6,7 +6,7 @@
"@affine/env": "workspace:*", "@affine/env": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@aws-sdk/client-s3": "3.592.0", "@aws-sdk/client-s3": "3.592.0",
"@blocksuite/presets": "0.15.0-canary-202406130805-4cefc62", "@blocksuite/presets": "0.15.0-canary-202406170818-d8a3bf5",
"@clack/core": "^0.3.4", "@clack/core": "^0.3.4",
"@clack/prompts": "^0.7.0", "@clack/prompts": "^0.7.0",
"@magic-works/i18n-codegen": "^0.6.0", "@magic-works/i18n-codegen": "^0.6.0",
+68 -68
View File
@@ -166,7 +166,7 @@ __metadata:
"@affine/env": "workspace:*" "@affine/env": "workspace:*"
"@affine/templates": "workspace:*" "@affine/templates": "workspace:*"
"@aws-sdk/client-s3": "npm:3.592.0" "@aws-sdk/client-s3": "npm:3.592.0"
"@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@clack/core": "npm:^0.3.4" "@clack/core": "npm:^0.3.4"
"@clack/prompts": "npm:^0.7.0" "@clack/prompts": "npm:^0.7.0"
"@magic-works/i18n-codegen": "npm:^0.6.0" "@magic-works/i18n-codegen": "npm:^0.6.0"
@@ -219,12 +219,12 @@ __metadata:
"@affine/electron-api": "workspace:*" "@affine/electron-api": "workspace:*"
"@affine/graphql": "workspace:*" "@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*" "@affine/i18n": "workspace:*"
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/icons": "npm:2.1.55" "@blocksuite/icons": "npm:2.1.55"
"@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@dnd-kit/core": "npm:^6.1.0" "@dnd-kit/core": "npm:^6.1.0"
"@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0" "@dnd-kit/sortable": "npm:^8.0.0"
@@ -320,13 +320,13 @@ __metadata:
"@affine/graphql": "workspace:*" "@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*" "@affine/i18n": "workspace:*"
"@affine/templates": "workspace:*" "@affine/templates": "workspace:*"
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/icons": "npm:2.1.55" "@blocksuite/icons": "npm:2.1.55"
"@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@dnd-kit/core": "npm:^6.1.0" "@dnd-kit/core": "npm:^6.1.0"
"@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0" "@dnd-kit/sortable": "npm:^8.0.0"
@@ -449,10 +449,10 @@ __metadata:
"@affine/env": "workspace:*" "@affine/env": "workspace:*"
"@affine/i18n": "workspace:*" "@affine/i18n": "workspace:*"
"@affine/native": "workspace:*" "@affine/native": "workspace:*"
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@electron-forge/cli": "npm:^7.3.0" "@electron-forge/cli": "npm:^7.3.0"
"@electron-forge/core": "npm:^7.3.0" "@electron-forge/core": "npm:^7.3.0"
"@electron-forge/core-utils": "npm:^7.3.0" "@electron-forge/core-utils": "npm:^7.3.0"
@@ -508,8 +508,8 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env" resolution: "@affine/env@workspace:packages/common/env"
dependencies: dependencies:
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
lit: "npm:^3.1.2" lit: "npm:^3.1.2"
react: "npm:18.3.1" react: "npm:18.3.1"
react-dom: "npm:18.3.1" react-dom: "npm:18.3.1"
@@ -3564,30 +3564,30 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/block-std@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/block-std@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/block-std@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/block-std@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
lit: "npm:^3.1.3" lit: "npm:^3.1.3"
lz-string: "npm:^1.5.0" lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8" w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.23.8" zod: "npm:^3.23.8"
peerDependencies: peerDependencies:
"@blocksuite/inline": 0.15.0-canary-202406130805-4cefc62 "@blocksuite/inline": 0.15.0-canary-202406170818-d8a3bf5
"@blocksuite/store": 0.15.0-canary-202406130805-4cefc62 "@blocksuite/store": 0.15.0-canary-202406170818-d8a3bf5
checksum: 10/c6fa0d450f8ab60da7e69bd6df168cf13a02fa204e1fdfbb9a3db270f3b60b8fe28f91bae50189d3b6c78b9f9cc431de4c927e990bb767e1e2a8c7f98361d51c checksum: 10/ae47e8cc1d9edbb9849d2ded3f466dd95fd72a2df087af53edb776d438baf41e1897c67affc1cd8968782a4b3103445b05e0b5a09be4979f2a67c9acd280b3f3
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/blocks@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/blocks@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/blocks@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/blocks@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@dotlottie/player-component": "npm:^2.7.12" "@dotlottie/player-component": "npm:^2.7.12"
"@floating-ui/dom": "npm:^1.6.5" "@floating-ui/dom": "npm:^1.6.5"
"@lit/context": "npm:^1.1.1" "@lit/context": "npm:^1.1.1"
@@ -3624,17 +3624,17 @@ __metadata:
sortablejs: "npm:^1.15.2" sortablejs: "npm:^1.15.2"
unified: "npm:^11.0.4" unified: "npm:^11.0.4"
zod: "npm:^3.23.8" zod: "npm:^3.23.8"
checksum: 10/f555075fd8a65e56f1a13b849d85b7433f2fdf611e92cdde8c15e03699bcbf79d8ee08fac9c56ea2e527dc42b51d30c2c28afe392847ed0e015947e6a9424ec9 checksum: 10/0a553b5c10f06681300c3e75f4be4bf70dbf040a6bc912051e173eb5a4015f9c4ef5d003d69f14854b9c636e9bf38588ace0a1856164c5b4aa61ca76394d5470
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/global@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/global@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/global@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/global@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
lib0: "npm:^0.2.94" lib0: "npm:^0.2.94"
zod: "npm:^3.23.8" zod: "npm:^3.23.8"
checksum: 10/1d38635f7b9f6bd419654a10d1fac6f2dddacc84c5c54d55bf7207b2044417d6696d8b30625f337f4a4a7740a4e204be0c01274ba07975cb02c5bcaef6ae59d4 checksum: 10/f58055236234222e587efd04b246cddbc609c295b08a5d9314912b491b1028e1985bd18acebd6d185e457db73a4e98886edf286b674728920dfa2294b366862d
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3648,45 +3648,45 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/inline@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/inline@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/inline@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/inline@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
zod: "npm:^3.23.8" zod: "npm:^3.23.8"
peerDependencies: peerDependencies:
lit: ^3.1.1 lit: ^3.1.1
yjs: ^13.6.15 yjs: ^13.6.15
checksum: 10/a505f5e1c5285e011cd48b14a3623f73bfe6c2fbbdba4a4260b738e349c3e764792a8864a6b22a49568f68104af8c5060c18a7828b4da8f1ae99185f202a7cee checksum: 10/9ab5fde766dc9140ff7b53dd3968ff25fb8a9361063560421d3a201b8cbecf6f3fb95bd9e99839b240c4b552be62eced7f7b704ba6330d083d06d570f1337c9e
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/presets@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/presets@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/presets@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/presets@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@dotlottie/player-component": "npm:^2.7.12" "@dotlottie/player-component": "npm:^2.7.12"
"@fal-ai/serverless-client": "npm:^0.10.0" "@fal-ai/serverless-client": "npm:^0.10.0"
"@floating-ui/dom": "npm:^1.6.5" "@floating-ui/dom": "npm:^1.6.5"
"@toeverything/theme": "npm:^0.7.32" "@toeverything/theme": "npm:^0.7.32"
lit: "npm:^3.1.3" lit: "npm:^3.1.3"
openai: "npm:^4.47.2" openai: "npm:^4.47.2"
checksum: 10/10ac4ee18ebf0b4d4c22880abdc34ac7ec1e62d7b583e15d3c9bd998420c8e78a648df1660ba3185ea5c835cbfa081dbb6e5f1dd565b1badc8bf0dff31eebc0e checksum: 10/54a7fdcf1979b29ecfbe5b2c2781ee20d487aa5006b401edaa3f1622aca6ecfd2328c247cffef94668d12094c5b0e38437b946ca83a1739c7cf5c9ecd79e3b0f
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/store@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/store@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/store@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/store@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/inline": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/inline": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/sync": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/sync": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@types/flexsearch": "npm:^0.7.6" "@types/flexsearch": "npm:^0.7.6"
flexsearch: "npm:0.7.43" flexsearch: "npm:0.7.43"
lib0: "npm:^0.2.94" lib0: "npm:^0.2.94"
@@ -3697,21 +3697,21 @@ __metadata:
zod: "npm:^3.23.8" zod: "npm:^3.23.8"
peerDependencies: peerDependencies:
yjs: ^13.6.15 yjs: ^13.6.15
checksum: 10/8027ff81c61ca0ae644000c6c8c0269deb4edb514cb77f30dbb9b0413a402b661c83b48919645b260f8d7008db9e7994d0a2304e6831edd05373a7f13fc29680 checksum: 10/c366345897def77017d6438a93f562d39487918667b72fec872b1cac8e3eac724dd35e675e0d36e0b0051e1f608ec6251df2c4287d21a2cecbaa106d62fb3930
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/sync@npm:0.15.0-canary-202406130805-4cefc62": "@blocksuite/sync@npm:0.15.0-canary-202406170818-d8a3bf5":
version: 0.15.0-canary-202406130805-4cefc62 version: 0.15.0-canary-202406170818-d8a3bf5
resolution: "@blocksuite/sync@npm:0.15.0-canary-202406130805-4cefc62" resolution: "@blocksuite/sync@npm:0.15.0-canary-202406170818-d8a3bf5"
dependencies: dependencies:
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
idb: "npm:^8.0.0" idb: "npm:^8.0.0"
idb-keyval: "npm:^6.2.1" idb-keyval: "npm:^6.2.1"
y-protocols: "npm:^1.0.6" y-protocols: "npm:^1.0.6"
peerDependencies: peerDependencies:
yjs: ^13.6.15 yjs: ^13.6.15
checksum: 10/79f1774b503b07e12801257e0bbcdad574b2ac7155b4d850a460005f74408129f2cdf3fd6457b675a578fd0ec368e462adf44b08ae667f2fcb3add5147fb8e45 checksum: 10/01d6befd708a0a80b6ef59c714414ea66bc5cc8f32a19832cf1bfdb7f3e862f55ef87b600d9c7eac9c20b9656c3db44be12b996318168881bb9953f969c6d0fe
languageName: node languageName: node
linkType: hard linkType: hard
@@ -14254,11 +14254,11 @@ __metadata:
"@affine/debug": "workspace:*" "@affine/debug": "workspace:*"
"@affine/env": "workspace:*" "@affine/env": "workspace:*"
"@affine/templates": "workspace:*" "@affine/templates": "workspace:*"
"@blocksuite/block-std": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/block-std": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/blocks": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/blocks": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/global": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/global": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/presets": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/presets": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@blocksuite/store": "npm:0.15.0-canary-202406130805-4cefc62" "@blocksuite/store": "npm:0.15.0-canary-202406170818-d8a3bf5"
"@datastructures-js/binary-search-tree": "npm:^5.3.2" "@datastructures-js/binary-search-tree": "npm:^5.3.2"
"@testing-library/react": "npm:^16.0.0" "@testing-library/react": "npm:^16.0.0"
async-call-rpc: "npm:^6.4.0" async-call-rpc: "npm:^6.4.0"