Skip to content

Commit

Permalink
Hotfix: js export
Browse files Browse the repository at this point in the history
  • Loading branch information
NolanTrem committed Dec 5, 2024
1 parent 67ace73 commit e407e87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "r2r-js",
"version": "0.4.2",
"version": "0.4.4",
"description": "",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions js/sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ export interface VectorSearchResult {
metadata?: Record<string, any>;
}

type KGSearchResultType = "entity" | "relationship" | "community" | "global";
export type KGSearchResultType = "entity" | "relationship" | "community" | "global";

interface GraphSearchResult {
export interface GraphSearchResult {
content: any;
result_type?: KGSearchResultType;
chunk_ids?: string[];
Expand Down

0 comments on commit e407e87

Please sign in to comment.