Skip to content

Commit

Permalink
add time-series to all in one
Browse files Browse the repository at this point in the history
  • Loading branch information
leibale committed Dec 13, 2021
1 parent 578725d commit 3b33aba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ import { createClient as _createClient, createCluster as _createCluster, RedisCl
import { RedisScripts } from '@node-redis/client/dist/lib/commands';
import RedisJSON from '@node-redis/json';
import RediSearch from '@node-redis/search';
import RedisTimeSeries from '@node-redis/time-series';

export * from '@node-redis/client';
export * from '@node-redis/json';
export * from '@node-redis/search';
export * from '@node-redis/time-series';

const modules = {
json: RedisJSON,
ft: RediSearch
ft: RediSearch,
ts: RedisTimeSeries
};

export function createClient<S extends RedisScripts = Record<string, never>>(
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
"gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
},
"dependencies": {
"@node-redis/client": "^1.0.0",
"@node-redis/json": "^1.0.0",
"@node-redis/search": "^1.0.0"
"@node-redis/client": "^1.0.1",
"@node-redis/json": "^1.0.1",
"@node-redis/search": "^1.0.1",
"@node-redis/time-series": "^1.0.0"
},
"devDependencies": {
"@tsconfig/node12": "^1.0.9",
Expand Down

0 comments on commit 3b33aba

Please sign in to comment.