mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
fix(core): search feature not working (#3902)
This commit is contained in:
@@ -51,12 +51,12 @@
|
||||
"rxjs": "^7.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/icons": "^2.1.31",
|
||||
"@blocksuite/lit": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@types/react": "^18.2.20",
|
||||
"@types/react-datepicker": "^4.15.0",
|
||||
"@types/react-dnd": "^3.0.2",
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
"main": "./src/index.ts",
|
||||
"module": "./src/index.ts",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"zod": "^3.22.1"
|
||||
|
||||
Vendored
+2
-2
@@ -3,10 +3,10 @@ import type { Page } from '@blocksuite/store';
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
export async function initEmptyPage(page: Page) {
|
||||
export async function initEmptyPage(page: Page, title?: string) {
|
||||
await page.waitForLoaded();
|
||||
const pageBlockId = page.addBlock('affine:page', {
|
||||
title: new page.Text(''),
|
||||
title: new page.Text(title || ''),
|
||||
});
|
||||
page.addBlock('affine:surface', {}, pageBlockId);
|
||||
const noteBlockId = page.addBlock('affine:note', {}, pageBlockId);
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
"devDependencies": {
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/y-provider": "workspace:*",
|
||||
"@blocksuite/block-std": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly"
|
||||
"@blocksuite/block-std": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@affine/y-provider": "workspace:*",
|
||||
|
||||
@@ -317,6 +317,7 @@
|
||||
"Zoom to 100%": "Zoom to 100%",
|
||||
"Zoom to fit": "Zoom to fit",
|
||||
"all": "all",
|
||||
"com.affine.loading": "Loading...",
|
||||
"com.affine.banner.content": "This demo is limited. <1>Download the AFFiNE Client</1> for the latest features and Performance.",
|
||||
"com.affine.cloudTempDisable.description": "We are upgrading the AFFiNE Cloud service and it is temporarily unavailable on the client side. If you wish to stay updated on the progress and be notified on availability, you can fill out the <1>AFFiNE Cloud Signup</1>.",
|
||||
"com.affine.cloudTempDisable.title": "AFFiNE Cloud is upgrading now.",
|
||||
|
||||
@@ -50,15 +50,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine/sdk": "workspace:*",
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly",
|
||||
"jotai": "^2.3.1",
|
||||
"zod": "^3.22.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/editor": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822230555-98129627-nightly",
|
||||
"async-call-rpc": "^6.3.1",
|
||||
"electron": "link:../../apps/electron/node_modules/electron",
|
||||
"react": "^18.2.0",
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
"jotai": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/block-std": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/block-std": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly",
|
||||
"lottie-web": "^5.12.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly",
|
||||
"jotai": "^2.3.1",
|
||||
"zod": "^3.22.1"
|
||||
},
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine/y-provider": "workspace:*",
|
||||
"@blocksuite/blocks": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230822230555-98129627-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly",
|
||||
"vite": "^4.4.9",
|
||||
"vite-plugin-dts": "3.5.2",
|
||||
"y-indexeddb": "^9.0.11"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/store": "0.0.0-20230822202122-dba33658-nightly"
|
||||
"@blocksuite/store": "0.0.0-20230822230555-98129627-nightly"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"yjs": "^13.5.51"
|
||||
|
||||
Reference in New Issue
Block a user