Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Mar 13, 2024
1 parent d6729a7 commit d58f92b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import {
RedisClusterOptions,
RedisClusterType as _RedisClusterType
} from '@falkordb/client';
import RedisGraph from '@falkordb/graph';
import Graph from '@falkordb/graph';

export * from '@falkordb/client';
export * from '@falkordb/graph';

const modules = {
graph: RedisGraph,
graph: Graph,
};

export type RedisDefaultModules = typeof modules;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@falkordb/client": "^1.6",
"@falkordb/graph": "^2.0"
"@falkordb/graph": "^2.1"
},
"devDependencies": {
"@tsconfig/node14": "^14.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/graph/lib/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface GraphMetadata {
propertyKeys: Array<string>;
}

// https://github.com/RedisGraph/RedisGraph/blob/master/src/resultset/formatters/resultset_formatter.h#L20
// https://github.com/FalkorDB/FalkorDB/blob/master/src/resultset/formatters/resultset_formatter.h#L20
enum GraphValueTypes {
UNKNOWN = 0,
NULL = 1,
Expand Down
6 changes: 3 additions & 3 deletions packages/graph/lib/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import TestUtils from '@falkordb/test-utils';
import RedisGraph from '.';
import Graph from '.';

export default new TestUtils({
dockerImageName: 'falkordb/falkordb',
Expand All @@ -9,10 +9,10 @@ export default new TestUtils({
export const GLOBAL = {
SERVERS: {
OPEN: {
serverArguments: ['--loadmodule /usr/lib/redis/modules/redisgraph.so'],
serverArguments: ['--loadmodule /usr/lib/redis/modules/falkordb.so'],
clientOptions: {
modules: {
graph: RedisGraph
graph: Graph
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions packages/graph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@falkordb/graph",
"version": "2.0.1",
"version": "2.1.0",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/redis/node-redis/tree/master/packages/graph",
"keywords": [
"redis",
"RedisGraph"
"FalkorDB",
"redis"
]
}

0 comments on commit d58f92b

Please sign in to comment.