Skip to content

Commit e407e87

Browse files
committed
Hotfix: js export
1 parent 67ace73 commit e407e87

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

js/sdk/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "r2r-js",
3-
"version": "0.4.2",
3+
"version": "0.4.4",
44
"description": "",
55
"main": "dist/index.js",
66
"browser": "dist/index.browser.js",

js/sdk/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ export interface VectorSearchResult {
212212
metadata?: Record<string, any>;
213213
}
214214

215-
type KGSearchResultType = "entity" | "relationship" | "community" | "global";
215+
export type KGSearchResultType = "entity" | "relationship" | "community" | "global";
216216

217-
interface GraphSearchResult {
217+
export interface GraphSearchResult {
218218
content: any;
219219
result_type?: KGSearchResultType;
220220
chunk_ids?: string[];

0 commit comments

Comments
 (0)