diff --git a/package-lock.json b/package-lock.json index 0307ede..23b1fd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "roamjs-components", - "version": "0.88.2", + "version": "0.88.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "roamjs-components", - "version": "0.88.2", + "version": "0.88.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 6d5eaf8..48ec148 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roamjs-components", "description": "Expansive toolset, utilities, & components for developing RoamJS extensions.", - "version": "0.88.2", + "version": "0.88.3", "main": "index.js", "types": "index.d.ts", "scripts": { diff --git a/src/types/native.ts b/src/types/native.ts index 5dfc318..62fad6f 100644 --- a/src/types/native.ts +++ b/src/types/native.ts @@ -244,7 +244,7 @@ export type PullBlock = { { ":source": [":block/uid", string]; ":value": string | [":block/uid", string]; - } + }, ][]; ":block/children"?: PullBlock[]; ":block/heading"?: number; @@ -335,6 +335,8 @@ export type RoamError = { export type SemanticSearchArgs = { "search-str": string; k?: number; + "search-blocks"?: boolean; + "search-pages"?: boolean; "hide-code-blocks"?: boolean; }; @@ -345,7 +347,7 @@ export type SemanticSearchHit = { }; export type SemanticSearch = ( - args: SemanticSearchArgs + args: SemanticSearchArgs, ) => Promise; export type TreeNode = { @@ -507,7 +509,7 @@ export type SidebarWindow = { export type AddPullWatch = ( pullPattern: string, entityId: string, - callback: (before: PullBlock | null, after: PullBlock | null) => void + callback: (before: PullBlock | null, after: PullBlock | null) => void, ) => boolean; type ButtonAction = {