From d62a2f5682917d780db85e072c5589e82e321740 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Thu, 18 Jun 2026 00:45:03 -0600 Subject: [PATCH 1/2] Update type definitions in `native.ts` to add optional properties for semantic search and ensure TypeScript compliance with trailing commas. --- src/types/native.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 = { From b1db3619c22c30dab61c3137a288e1ca2f8b4a1c Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Thu, 18 Jun 2026 00:45:13 -0600 Subject: [PATCH 2/2] 0.88.3 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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": {