redis 4.0.6 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,22 +4,28 @@
4
4
  [![Coverage](https://codecov.io/gh/redis/node-redis/branch/master/graph/badge.svg?token=xcfqHhJC37)](https://codecov.io/gh/redis/node-redis)
5
5
  [![License](https://img.shields.io/github/license/redis/node-redis.svg)](https://github.com/redis/node-redis/blob/master/LICENSE)
6
6
  [![LGTM alerts](https://img.shields.io/lgtm/alerts/g/redis/node-redis.svg?logo=LGTM)](https://lgtm.com/projects/g/redis/node-redis/alerts)
7
- [![Chat](https://img.shields.io/discord/697882427875393627.svg)](https://discord.gg/redis)
8
7
 
9
- node-redis is a modern, high performance [Redis](https://redis.io) client for Node.js with built-in support for Redis 6.2 commands and modules including [RediSearch](https://redisearch.io) and [RedisJSON](https://redisjson.io).
8
+ [![Discord](https://img.shields.io/discord/697882427875393627.svg?style=social&logo=discord)](https://discord.gg/redis)
9
+ [![Twitch](https://img.shields.io/twitch/status/redisinc?style=social)](https://www.twitch.tv/redisinc)
10
+ [![YouTube](https://img.shields.io/youtube/channel/views/UCD78lHSwYqMlyetR0_P4Vig?style=social)](https://www.youtube.com/redisinc)
11
+ [![Twitter](https://img.shields.io/twitter/follow/redisinc?style=social)](https://twitter.com/redisinc)
12
+
13
+ node-redis is a modern, high performance [Redis](https://redis.io) client for Node.js.
10
14
 
11
15
 
12
16
  ## Packages
13
17
 
14
- | Name | Description |
15
- |---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
16
- | [redis](./) | [![Downloads](https://img.shields.io/npm/dm/redis.svg)](https://www.npmjs.com/package/redis) [![Version](https://img.shields.io/npm/v/redis.svg)](https://www.npmjs.com/package/redis) |
17
- | [@node-redis/client](./packages/client) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/client.svg)](https://www.npmjs.com/package/@node-redis/client) [![Version](https://img.shields.io/npm/v/@node-redis/client.svg)](https://www.npmjs.com/package/@node-redis/client) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/client/) |
18
- | [@node-redis/bloom](./packages/bloom) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/bloom.svg)](https://www.npmjs.com/package/@node-redis/bloom) [![Version](https://img.shields.io/npm/v/@node-redis/bloom.svg)](https://www.npmjs.com/package/@node-redis/bloom) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands |
19
- | [@node-redis/graph](./packages/graph) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/graph.svg)](https://www.npmjs.com/package/@node-redis/graph) [![Version](https://img.shields.io/npm/v/@node-redis/graph.svg)](https://www.npmjs.com/package/@node-redis/graph) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/graph/) [Redis Graph](https://oss.redis.com/redisgraph/) commands |
20
- | [@node-redis/json](./packages/json) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/json.svg)](https://www.npmjs.com/package/@node-redis/json) [![Version](https://img.shields.io/npm/v/@node-redis/json.svg)](https://www.npmjs.com/package/@node-redis/json) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands |
21
- | [@node-redis/search](./packages/search) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/search.svg)](https://www.npmjs.com/package/@node-redis/search) [![Version](https://img.shields.io/npm/v/@node-redis/search.svg)](https://www.npmjs.com/package/@node-redis/search) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/search/) [Redis Search](https://oss.redis.com/redisearch/) commands |
22
- | [@node-redis/time-series](./packages/time-series) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/time-series.svg)](https://www.npmjs.com/package/@node-redis/time-series) [![Version](https://img.shields.io/npm/v/@node-redis/time-series.svg)](https://www.npmjs.com/package/@node-redis/time-series) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands |
18
+ | Name | Description |
19
+ |----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
20
+ | [redis](./) | [![Downloads](https://img.shields.io/npm/dm/redis.svg)](https://www.npmjs.com/package/redis) [![Version](https://img.shields.io/npm/v/redis.svg)](https://www.npmjs.com/package/redis) |
21
+ | [@redis/client](./packages/client) | [![Downloads](https://img.shields.io/npm/dm/@redis/client.svg)](https://www.npmjs.com/package/@redis/client) [![Version](https://img.shields.io/npm/v/@redis/client.svg)](https://www.npmjs.com/package/@redis/client) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/client/) |
22
+ | [@redis/bloom](./packages/bloom) | [![Downloads](https://img.shields.io/npm/dm/@redis/bloom.svg)](https://www.npmjs.com/package/@redis/bloom) [![Version](https://img.shields.io/npm/v/@redis/bloom.svg)](https://www.npmjs.com/package/@redis/bloom) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands |
23
+ | [@redis/graph](./packages/graph) | [![Downloads](https://img.shields.io/npm/dm/@redis/graph.svg)](https://www.npmjs.com/package/@redis/graph) [![Version](https://img.shields.io/npm/v/@redis/graph.svg)](https://www.npmjs.com/package/@redis/graph) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/graph/) [Redis Graph](https://oss.redis.com/redisgraph/) commands |
24
+ | [@redis/json](./packages/json) | [![Downloads](https://img.shields.io/npm/dm/@redis/json.svg)](https://www.npmjs.com/package/@redis/json) [![Version](https://img.shields.io/npm/v/@redis/json.svg)](https://www.npmjs.com/package/@redis/json) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands |
25
+ | [@redis/search](./packages/search) | [![Downloads](https://img.shields.io/npm/dm/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Version](https://img.shields.io/npm/v/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/search/) [Redis Search](https://oss.redis.com/redisearch/) commands |
26
+ | [@redis/time-series](./packages/time-series) | [![Downloads](https://img.shields.io/npm/dm/@redis/time-series.svg)](https://www.npmjs.com/package/@redis/time-series) [![Version](https://img.shields.io/npm/v/@redis/time-series.svg)](https://www.npmjs.com/package/@redis/time-series) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands |
27
+
28
+ > :warning: In version 4.1.0 we moved our subpackages from `@node-redis` to `@redis`. If you're just using `npm install redis`, you don't need to do anything—it'll upgrade automatically. If you're using the subpackages directly, you'll need to point to the new scope (e.g. `@redis/client` instead of `@node-redis/client`).
23
29
 
24
30
  ## Installation
25
31
 
@@ -36,16 +42,14 @@ npm install redis
36
42
  ```typescript
37
43
  import { createClient } from 'redis';
38
44
 
39
- (async () => {
40
- const client = createClient();
45
+ const client = createClient();
41
46
 
42
- client.on('error', (err) => console.log('Redis Client Error', err));
47
+ client.on('error', (err) => console.log('Redis Client Error', err));
43
48
 
44
- await client.connect();
49
+ await client.connect();
45
50
 
46
- await client.set('key', 'value');
47
- const value = await client.get('key');
48
- })();
51
+ await client.set('key', 'value');
52
+ const value = await client.get('key');
49
53
  ```
50
54
 
51
55
  The above code connects to localhost on port 6379. To connect to a different host or port, use a connection string in the format `redis[s]://[[username][:password]@][host][:port][/db-number]`:
@@ -221,36 +225,84 @@ client.scanIterator({
221
225
  });
222
226
  ```
223
227
 
224
- ### Lua Scripts
228
+ ### [Programmability](https://redis.io/docs/manual/programmability/)
229
+
230
+ Redis provides a programming interface allowing code execution on the redis server.
231
+
232
+ #### [Functions](https://redis.io/docs/manual/programmability/functions-intro/)
233
+
234
+ The following example retrieves a key in redis, returning the value of the key, incremented by an integer. For example, if your key _foo_ has the value _17_ and we run `add('foo', 25)`, it returns the answer to Life, the Universe and Everything.
235
+
236
+ ```lua
237
+ #!lua name=library
238
+
239
+ redis.register_function {
240
+ function_name = 'add',
241
+ callback = function(keys, args) return redis.call('GET', keys[1]) + args[1] end,
242
+ flags = { 'no-writes' }
243
+ }
244
+ ```
245
+
246
+ Here is the same example, but in a format that can be pasted into the `redis-cli`.
247
+
248
+ ```
249
+ FUNCTION LOAD "#!lua name=library\nredis.register_function{function_name=\"add\", callback=function(keys, args) return redis.call('GET', keys[1])+args[1] end, flags={\"no-writes\"}}"
250
+ ```
225
251
 
226
- Define new functions using [Lua scripts](https://redis.io/commands/eval) which execute on the Redis server:
252
+ Load the prior redis function on the _redis server_ before running the example below.
227
253
 
228
254
  ```typescript
229
- import { createClient, defineScript } from 'redis';
255
+ import { createClient } from 'redis';
230
256
 
231
- (async () => {
232
- const client = createClient({
233
- scripts: {
234
- add: defineScript({
257
+ const client = createClient({
258
+ functions: {
259
+ library: {
260
+ add: {
235
261
  NUMBER_OF_KEYS: 1,
236
- SCRIPT:
237
- 'local val = redis.pcall("GET", KEYS[1]);' +
238
- 'return val + ARGV[1];',
239
262
  transformArguments(key: string, toAdd: number): Array<string> {
240
263
  return [key, toAdd.toString()];
241
264
  },
242
265
  transformReply(reply: number): number {
243
266
  return reply;
244
267
  }
245
- })
268
+ }
246
269
  }
247
- });
270
+ }
271
+ });
272
+
273
+ await client.connect();
274
+
275
+ await client.set('key', '1');
276
+ await client.library.add('key', 2); // 3
277
+ ```
278
+
279
+ #### [Lua Scripts](https://redis.io/docs/manual/programmability/eval-intro/)
280
+
281
+ The following is an end-to-end example of the prior concept.
282
+
283
+ ```typescript
284
+ import { createClient, defineScript } from 'redis';
285
+
286
+ const client = createClient({
287
+ scripts: {
288
+ add: defineScript({
289
+ NUMBER_OF_KEYS: 1,
290
+ SCRIPT:
291
+ 'return redis.call("GET", KEYS[1]) + ARGV[1];',
292
+ transformArguments(key: string, toAdd: number): Array<string> {
293
+ return [key, toAdd.toString()];
294
+ },
295
+ transformReply(reply: number): number {
296
+ return reply;
297
+ }
298
+ })
299
+ }
300
+ });
248
301
 
249
- await client.connect();
302
+ await client.connect();
250
303
 
251
- await client.set('key', '1');
252
- await client.add('key', 2); // 3
253
- })();
304
+ await client.set('key', '1');
305
+ await client.add('key', 2); // 3
254
306
  ```
255
307
 
256
308
  ### Disconnecting
@@ -325,9 +377,10 @@ Node Redis is supported with the following versions of Redis:
325
377
 
326
378
  | Version | Supported |
327
379
  |---------|--------------------|
380
+ | 7.0.z | :heavy_check_mark: |
328
381
  | 6.2.z | :heavy_check_mark: |
329
382
  | 6.0.z | :heavy_check_mark: |
330
- | 5.y.z | :heavy_check_mark: |
383
+ | 5.0.z | :heavy_check_mark: |
331
384
  | < 5.0 | :x: |
332
385
 
333
386
  > Node Redis should work with older versions of Redis, but it is not fully tested and we cannot offer support.
package/dist/index.d.ts CHANGED
@@ -1,256 +1,258 @@
1
- import { RedisModules, RedisScripts, RedisClientOptions, RedisClientType as _RedisClientType, RedisClusterOptions, RedisClusterType as _RedisClusterType } from '@node-redis/client';
2
- export * from '@node-redis/client';
3
- export * from '@node-redis/bloom';
4
- export * from '@node-redis/graph';
5
- export * from '@node-redis/json';
6
- export * from '@node-redis/search';
7
- export * from '@node-redis/time-series';
1
+ import { RedisModules, RedisFunctions, RedisScripts, RedisClientOptions, RedisClientType as _RedisClientType, RedisClusterOptions, RedisClusterType as _RedisClusterType } from '@redis/client';
2
+ export * from '@redis/client';
3
+ export * from '@redis/bloom';
4
+ export * from '@redis/graph';
5
+ export * from '@redis/json';
6
+ export * from '@redis/search';
7
+ export * from '@redis/time-series';
8
8
  declare const modules: {
9
9
  graph: {
10
- CONFIG_GET: typeof import("@node-redis/graph/dist/commands/CONFIG_GET");
11
- configGet: typeof import("@node-redis/graph/dist/commands/CONFIG_GET");
12
- CONFIG_SET: typeof import("@node-redis/graph/dist/commands/CONFIG_SET");
13
- configSet: typeof import("@node-redis/graph/dist/commands/CONFIG_SET");
14
- DELETE: typeof import("@node-redis/graph/dist/commands/DELETE");
15
- delete: typeof import("@node-redis/graph/dist/commands/DELETE");
16
- EXPLAIN: typeof import("@node-redis/graph/dist/commands/EXPLAIN");
17
- explain: typeof import("@node-redis/graph/dist/commands/EXPLAIN");
18
- LIST: typeof import("@node-redis/graph/dist/commands/LIST");
19
- list: typeof import("@node-redis/graph/dist/commands/LIST");
20
- PROFILE: typeof import("@node-redis/graph/dist/commands/PROFILE");
21
- profile: typeof import("@node-redis/graph/dist/commands/PROFILE");
22
- QUERY_RO: typeof import("@node-redis/graph/dist/commands/QUERY_RO");
23
- queryRo: typeof import("@node-redis/graph/dist/commands/QUERY_RO");
24
- QUERY: typeof import("@node-redis/graph/dist/commands/QUERY");
25
- query: typeof import("@node-redis/graph/dist/commands/QUERY");
26
- SLOWLOG: typeof import("@node-redis/graph/dist/commands/SLOWLOG");
27
- slowLog: typeof import("@node-redis/graph/dist/commands/SLOWLOG");
10
+ CONFIG_GET: typeof import("@redis/graph/dist/commands/CONFIG_GET");
11
+ configGet: typeof import("@redis/graph/dist/commands/CONFIG_GET");
12
+ CONFIG_SET: typeof import("@redis/graph/dist/commands/CONFIG_SET");
13
+ configSet: typeof import("@redis/graph/dist/commands/CONFIG_SET");
14
+ DELETE: typeof import("@redis/graph/dist/commands/DELETE");
15
+ delete: typeof import("@redis/graph/dist/commands/DELETE");
16
+ EXPLAIN: typeof import("@redis/graph/dist/commands/EXPLAIN");
17
+ explain: typeof import("@redis/graph/dist/commands/EXPLAIN");
18
+ LIST: typeof import("@redis/graph/dist/commands/LIST");
19
+ list: typeof import("@redis/graph/dist/commands/LIST");
20
+ PROFILE: typeof import("@redis/graph/dist/commands/PROFILE");
21
+ profile: typeof import("@redis/graph/dist/commands/PROFILE");
22
+ QUERY_RO: typeof import("@redis/graph/dist/commands/QUERY_RO");
23
+ queryRo: typeof import("@redis/graph/dist/commands/QUERY_RO");
24
+ QUERY: typeof import("@redis/graph/dist/commands/QUERY");
25
+ query: typeof import("@redis/graph/dist/commands/QUERY");
26
+ SLOWLOG: typeof import("@redis/graph/dist/commands/SLOWLOG");
27
+ slowLog: typeof import("@redis/graph/dist/commands/SLOWLOG");
28
28
  };
29
29
  json: {
30
- ARRAPPEND: typeof import("@node-redis/json/dist/commands/ARRAPPEND");
31
- arrAppend: typeof import("@node-redis/json/dist/commands/ARRAPPEND");
32
- ARRINDEX: typeof import("@node-redis/json/dist/commands/ARRINDEX");
33
- arrIndex: typeof import("@node-redis/json/dist/commands/ARRINDEX");
34
- ARRINSERT: typeof import("@node-redis/json/dist/commands/ARRINSERT");
35
- arrInsert: typeof import("@node-redis/json/dist/commands/ARRINSERT");
36
- ARRLEN: typeof import("@node-redis/json/dist/commands/ARRLEN");
37
- arrLen: typeof import("@node-redis/json/dist/commands/ARRLEN");
38
- ARRPOP: typeof import("@node-redis/json/dist/commands/ARRPOP");
39
- arrPop: typeof import("@node-redis/json/dist/commands/ARRPOP");
40
- ARRTRIM: typeof import("@node-redis/json/dist/commands/ARRTRIM");
41
- arrTrim: typeof import("@node-redis/json/dist/commands/ARRTRIM");
42
- DEBUG_MEMORY: typeof import("@node-redis/json/dist/commands/DEBUG_MEMORY");
43
- debugMemory: typeof import("@node-redis/json/dist/commands/DEBUG_MEMORY");
44
- DEL: typeof import("@node-redis/json/dist/commands/DEL");
45
- del: typeof import("@node-redis/json/dist/commands/DEL");
46
- FORGET: typeof import("@node-redis/json/dist/commands/FORGET");
47
- forget: typeof import("@node-redis/json/dist/commands/FORGET");
48
- GET: typeof import("@node-redis/json/dist/commands/GET");
49
- get: typeof import("@node-redis/json/dist/commands/GET");
50
- MGET: typeof import("@node-redis/json/dist/commands/MGET");
51
- mGet: typeof import("@node-redis/json/dist/commands/MGET");
52
- NUMINCRBY: typeof import("@node-redis/json/dist/commands/NUMINCRBY");
53
- numIncrBy: typeof import("@node-redis/json/dist/commands/NUMINCRBY");
54
- NUMMULTBY: typeof import("@node-redis/json/dist/commands/NUMMULTBY");
55
- numMultBy: typeof import("@node-redis/json/dist/commands/NUMMULTBY");
56
- OBJKEYS: typeof import("@node-redis/json/dist/commands/OBJKEYS");
57
- objKeys: typeof import("@node-redis/json/dist/commands/OBJKEYS");
58
- OBJLEN: typeof import("@node-redis/json/dist/commands/OBJLEN");
59
- objLen: typeof import("@node-redis/json/dist/commands/OBJLEN");
60
- RESP: typeof import("@node-redis/json/dist/commands/RESP");
61
- resp: typeof import("@node-redis/json/dist/commands/RESP");
62
- SET: typeof import("@node-redis/json/dist/commands/SET");
63
- set: typeof import("@node-redis/json/dist/commands/SET");
64
- STRAPPEND: typeof import("@node-redis/json/dist/commands/STRAPPEND");
65
- strAppend: typeof import("@node-redis/json/dist/commands/STRAPPEND");
66
- STRLEN: typeof import("@node-redis/json/dist/commands/STRLEN");
67
- strLen: typeof import("@node-redis/json/dist/commands/STRLEN");
68
- TYPE: typeof import("@node-redis/json/dist/commands/TYPE");
69
- type: typeof import("@node-redis/json/dist/commands/TYPE");
30
+ ARRAPPEND: typeof import("@redis/json/dist/commands/ARRAPPEND");
31
+ arrAppend: typeof import("@redis/json/dist/commands/ARRAPPEND");
32
+ ARRINDEX: typeof import("@redis/json/dist/commands/ARRINDEX");
33
+ arrIndex: typeof import("@redis/json/dist/commands/ARRINDEX");
34
+ ARRINSERT: typeof import("@redis/json/dist/commands/ARRINSERT");
35
+ arrInsert: typeof import("@redis/json/dist/commands/ARRINSERT");
36
+ ARRLEN: typeof import("@redis/json/dist/commands/ARRLEN");
37
+ arrLen: typeof import("@redis/json/dist/commands/ARRLEN");
38
+ ARRPOP: typeof import("@redis/json/dist/commands/ARRPOP");
39
+ arrPop: typeof import("@redis/json/dist/commands/ARRPOP");
40
+ ARRTRIM: typeof import("@redis/json/dist/commands/ARRTRIM");
41
+ arrTrim: typeof import("@redis/json/dist/commands/ARRTRIM");
42
+ DEBUG_MEMORY: typeof import("@redis/json/dist/commands/DEBUG_MEMORY");
43
+ debugMemory: typeof import("@redis/json/dist/commands/DEBUG_MEMORY");
44
+ DEL: typeof import("@redis/json/dist/commands/DEL");
45
+ del: typeof import("@redis/json/dist/commands/DEL");
46
+ FORGET: typeof import("@redis/json/dist/commands/FORGET");
47
+ forget: typeof import("@redis/json/dist/commands/FORGET");
48
+ GET: typeof import("@redis/json/dist/commands/GET");
49
+ get: typeof import("@redis/json/dist/commands/GET");
50
+ MGET: typeof import("@redis/json/dist/commands/MGET");
51
+ mGet: typeof import("@redis/json/dist/commands/MGET");
52
+ NUMINCRBY: typeof import("@redis/json/dist/commands/NUMINCRBY");
53
+ numIncrBy: typeof import("@redis/json/dist/commands/NUMINCRBY");
54
+ NUMMULTBY: typeof import("@redis/json/dist/commands/NUMMULTBY");
55
+ numMultBy: typeof import("@redis/json/dist/commands/NUMMULTBY");
56
+ OBJKEYS: typeof import("@redis/json/dist/commands/OBJKEYS");
57
+ objKeys: typeof import("@redis/json/dist/commands/OBJKEYS");
58
+ OBJLEN: typeof import("@redis/json/dist/commands/OBJLEN");
59
+ objLen: typeof import("@redis/json/dist/commands/OBJLEN");
60
+ RESP: typeof import("@redis/json/dist/commands/RESP");
61
+ resp: typeof import("@redis/json/dist/commands/RESP");
62
+ SET: typeof import("@redis/json/dist/commands/SET");
63
+ set: typeof import("@redis/json/dist/commands/SET");
64
+ STRAPPEND: typeof import("@redis/json/dist/commands/STRAPPEND");
65
+ strAppend: typeof import("@redis/json/dist/commands/STRAPPEND");
66
+ STRLEN: typeof import("@redis/json/dist/commands/STRLEN");
67
+ strLen: typeof import("@redis/json/dist/commands/STRLEN");
68
+ TYPE: typeof import("@redis/json/dist/commands/TYPE");
69
+ type: typeof import("@redis/json/dist/commands/TYPE");
70
70
  };
71
71
  ft: {
72
- _LIST: typeof import("@node-redis/search/dist/commands/_LIST");
73
- _list: typeof import("@node-redis/search/dist/commands/_LIST");
74
- ALTER: typeof import("@node-redis/search/dist/commands/ALTER");
75
- alter: typeof import("@node-redis/search/dist/commands/ALTER");
76
- AGGREGATE: typeof import("@node-redis/search/dist/commands/AGGREGATE");
77
- aggregate: typeof import("@node-redis/search/dist/commands/AGGREGATE");
78
- ALIASADD: typeof import("@node-redis/search/dist/commands/ALIASADD");
79
- aliasAdd: typeof import("@node-redis/search/dist/commands/ALIASADD");
80
- ALIASDEL: typeof import("@node-redis/search/dist/commands/ALIASDEL");
81
- aliasDel: typeof import("@node-redis/search/dist/commands/ALIASDEL");
82
- ALIASUPDATE: typeof import("@node-redis/search/dist/commands/ALIASUPDATE");
83
- aliasUpdate: typeof import("@node-redis/search/dist/commands/ALIASUPDATE");
84
- CONFIG_GET: typeof import("@node-redis/search/dist/commands/CONFIG_GET");
85
- configGet: typeof import("@node-redis/search/dist/commands/CONFIG_GET");
86
- CONFIG_SET: typeof import("@node-redis/search/dist/commands/CONFIG_SET");
87
- configSet: typeof import("@node-redis/search/dist/commands/CONFIG_SET");
88
- CREATE: typeof import("@node-redis/search/dist/commands/CREATE");
89
- create: typeof import("@node-redis/search/dist/commands/CREATE");
90
- DICTADD: typeof import("@node-redis/search/dist/commands/DICTADD");
91
- dictAdd: typeof import("@node-redis/search/dist/commands/DICTADD");
92
- DICTDEL: typeof import("@node-redis/search/dist/commands/DICTDEL");
93
- dictDel: typeof import("@node-redis/search/dist/commands/DICTDEL");
94
- DICTDUMP: typeof import("@node-redis/search/dist/commands/DICTDUMP");
95
- dictDump: typeof import("@node-redis/search/dist/commands/DICTDUMP");
96
- DROPINDEX: typeof import("@node-redis/search/dist/commands/DROPINDEX");
97
- dropIndex: typeof import("@node-redis/search/dist/commands/DROPINDEX");
98
- EXPLAIN: typeof import("@node-redis/search/dist/commands/EXPLAIN");
99
- explain: typeof import("@node-redis/search/dist/commands/EXPLAIN");
100
- EXPLAINCLI: typeof import("@node-redis/search/dist/commands/EXPLAINCLI");
101
- explainCli: typeof import("@node-redis/search/dist/commands/EXPLAINCLI");
102
- INFO: typeof import("@node-redis/search/dist/commands/INFO");
103
- info: typeof import("@node-redis/search/dist/commands/INFO");
104
- PROFILESEARCH: typeof import("@node-redis/search/dist/commands/PROFILE_SEARCH");
105
- profileSearch: typeof import("@node-redis/search/dist/commands/PROFILE_SEARCH");
106
- PROFILEAGGREGATE: typeof import("@node-redis/search/dist/commands/PROFILE_AGGREGATE");
107
- profileAggregate: typeof import("@node-redis/search/dist/commands/PROFILE_AGGREGATE");
108
- SEARCH: typeof import("@node-redis/search/dist/commands/SEARCH");
109
- search: typeof import("@node-redis/search/dist/commands/SEARCH");
110
- SPELLCHECK: typeof import("@node-redis/search/dist/commands/SPELLCHECK");
111
- spellCheck: typeof import("@node-redis/search/dist/commands/SPELLCHECK");
112
- SUGADD: typeof import("@node-redis/search/dist/commands/SUGADD");
113
- sugAdd: typeof import("@node-redis/search/dist/commands/SUGADD");
114
- SUGDEL: typeof import("@node-redis/search/dist/commands/SUGDEL");
115
- sugDel: typeof import("@node-redis/search/dist/commands/SUGDEL");
116
- SUGGET_WITHPAYLOADS: typeof import("@node-redis/search/dist/commands/SUGGET_WITHPAYLOADS");
117
- sugGetWithPayloads: typeof import("@node-redis/search/dist/commands/SUGGET_WITHPAYLOADS");
118
- SUGGET_WITHSCORES_WITHPAYLOADS: typeof import("@node-redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
119
- sugGetWithScoresWithPayloads: typeof import("@node-redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
120
- SUGGET_WITHSCORES: typeof import("@node-redis/search/dist/commands/SUGGET_WITHSCORES");
121
- sugGetWithScores: typeof import("@node-redis/search/dist/commands/SUGGET_WITHSCORES");
122
- SUGGET: typeof import("@node-redis/search/dist/commands/SUGGET");
123
- sugGet: typeof import("@node-redis/search/dist/commands/SUGGET");
124
- SUGLEN: typeof import("@node-redis/search/dist/commands/SUGLEN");
125
- sugLen: typeof import("@node-redis/search/dist/commands/SUGLEN");
126
- SYNDUMP: typeof import("@node-redis/search/dist/commands/SYNDUMP");
127
- synDump: typeof import("@node-redis/search/dist/commands/SYNDUMP");
128
- SYNUPDATE: typeof import("@node-redis/search/dist/commands/SYNUPDATE");
129
- synUpdate: typeof import("@node-redis/search/dist/commands/SYNUPDATE");
130
- TAGVALS: typeof import("@node-redis/search/dist/commands/TAGVALS");
131
- tagVals: typeof import("@node-redis/search/dist/commands/TAGVALS");
72
+ _LIST: typeof import("@redis/search/dist/commands/_LIST");
73
+ _list: typeof import("@redis/search/dist/commands/_LIST");
74
+ ALTER: typeof import("@redis/search/dist/commands/ALTER");
75
+ alter: typeof import("@redis/search/dist/commands/ALTER");
76
+ AGGREGATE: typeof import("@redis/search/dist/commands/AGGREGATE");
77
+ aggregate: typeof import("@redis/search/dist/commands/AGGREGATE");
78
+ ALIASADD: typeof import("@redis/search/dist/commands/ALIASADD");
79
+ aliasAdd: typeof import("@redis/search/dist/commands/ALIASADD");
80
+ ALIASDEL: typeof import("@redis/search/dist/commands/ALIASDEL");
81
+ aliasDel: typeof import("@redis/search/dist/commands/ALIASDEL");
82
+ ALIASUPDATE: typeof import("@redis/search/dist/commands/ALIASUPDATE");
83
+ aliasUpdate: typeof import("@redis/search/dist/commands/ALIASUPDATE");
84
+ CONFIG_GET: typeof import("@redis/search/dist/commands/CONFIG_GET");
85
+ configGet: typeof import("@redis/search/dist/commands/CONFIG_GET");
86
+ CONFIG_SET: typeof import("@redis/search/dist/commands/CONFIG_SET");
87
+ configSet: typeof import("@redis/search/dist/commands/CONFIG_SET");
88
+ CREATE: typeof import("@redis/search/dist/commands/CREATE");
89
+ create: typeof import("@redis/search/dist/commands/CREATE");
90
+ DICTADD: typeof import("@redis/search/dist/commands/DICTADD");
91
+ dictAdd: typeof import("@redis/search/dist/commands/DICTADD");
92
+ DICTDEL: typeof import("@redis/search/dist/commands/DICTDEL");
93
+ dictDel: typeof import("@redis/search/dist/commands/DICTDEL");
94
+ DICTDUMP: typeof import("@redis/search/dist/commands/DICTDUMP");
95
+ dictDump: typeof import("@redis/search/dist/commands/DICTDUMP");
96
+ DROPINDEX: typeof import("@redis/search/dist/commands/DROPINDEX");
97
+ dropIndex: typeof import("@redis/search/dist/commands/DROPINDEX");
98
+ EXPLAIN: typeof import("@redis/search/dist/commands/EXPLAIN");
99
+ explain: typeof import("@redis/search/dist/commands/EXPLAIN");
100
+ EXPLAINCLI: typeof import("@redis/search/dist/commands/EXPLAINCLI");
101
+ explainCli: typeof import("@redis/search/dist/commands/EXPLAINCLI");
102
+ INFO: typeof import("@redis/search/dist/commands/INFO");
103
+ info: typeof import("@redis/search/dist/commands/INFO");
104
+ PROFILESEARCH: typeof import("@redis/search/dist/commands/PROFILE_SEARCH");
105
+ profileSearch: typeof import("@redis/search/dist/commands/PROFILE_SEARCH");
106
+ PROFILEAGGREGATE: typeof import("@redis/search/dist/commands/PROFILE_AGGREGATE");
107
+ profileAggregate: typeof import("@redis/search/dist/commands/PROFILE_AGGREGATE");
108
+ SEARCH: typeof import("@redis/search/dist/commands/SEARCH");
109
+ search: typeof import("@redis/search/dist/commands/SEARCH");
110
+ SPELLCHECK: typeof import("@redis/search/dist/commands/SPELLCHECK");
111
+ spellCheck: typeof import("@redis/search/dist/commands/SPELLCHECK");
112
+ SUGADD: typeof import("@redis/search/dist/commands/SUGADD");
113
+ sugAdd: typeof import("@redis/search/dist/commands/SUGADD");
114
+ SUGDEL: typeof import("@redis/search/dist/commands/SUGDEL");
115
+ sugDel: typeof import("@redis/search/dist/commands/SUGDEL");
116
+ SUGGET_WITHPAYLOADS: typeof import("@redis/search/dist/commands/SUGGET_WITHPAYLOADS");
117
+ sugGetWithPayloads: typeof import("@redis/search/dist/commands/SUGGET_WITHPAYLOADS");
118
+ SUGGET_WITHSCORES_WITHPAYLOADS: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
119
+ sugGetWithScoresWithPayloads: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
120
+ SUGGET_WITHSCORES: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES");
121
+ sugGetWithScores: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES");
122
+ SUGGET: typeof import("@redis/search/dist/commands/SUGGET");
123
+ sugGet: typeof import("@redis/search/dist/commands/SUGGET");
124
+ SUGLEN: typeof import("@redis/search/dist/commands/SUGLEN");
125
+ sugLen: typeof import("@redis/search/dist/commands/SUGLEN");
126
+ SYNDUMP: typeof import("@redis/search/dist/commands/SYNDUMP");
127
+ synDump: typeof import("@redis/search/dist/commands/SYNDUMP");
128
+ SYNUPDATE: typeof import("@redis/search/dist/commands/SYNUPDATE");
129
+ synUpdate: typeof import("@redis/search/dist/commands/SYNUPDATE");
130
+ TAGVALS: typeof import("@redis/search/dist/commands/TAGVALS");
131
+ tagVals: typeof import("@redis/search/dist/commands/TAGVALS");
132
132
  };
133
133
  ts: {
134
- ADD: typeof import("@node-redis/time-series/dist/commands/ADD");
135
- add: typeof import("@node-redis/time-series/dist/commands/ADD");
136
- ALTER: typeof import("@node-redis/time-series/dist/commands/ALTER");
137
- alter: typeof import("@node-redis/time-series/dist/commands/ALTER");
138
- CREATE: typeof import("@node-redis/time-series/dist/commands/CREATE");
139
- create: typeof import("@node-redis/time-series/dist/commands/CREATE");
140
- CREATERULE: typeof import("@node-redis/time-series/dist/commands/CREATERULE");
141
- createRule: typeof import("@node-redis/time-series/dist/commands/CREATERULE");
142
- DECRBY: typeof import("@node-redis/time-series/dist/commands/DECRBY");
143
- decrBy: typeof import("@node-redis/time-series/dist/commands/DECRBY");
144
- DEL: typeof import("@node-redis/time-series/dist/commands/DEL");
145
- del: typeof import("@node-redis/time-series/dist/commands/DEL");
146
- DELETERULE: typeof import("@node-redis/time-series/dist/commands/DELETERULE");
147
- deleteRule: typeof import("@node-redis/time-series/dist/commands/DELETERULE");
148
- GET: typeof import("@node-redis/time-series/dist/commands/GET");
149
- get: typeof import("@node-redis/time-series/dist/commands/GET");
150
- INCRBY: typeof import("@node-redis/time-series/dist/commands/INCRBY");
151
- incrBy: typeof import("@node-redis/time-series/dist/commands/INCRBY");
152
- INFO_DEBUG: typeof import("@node-redis/time-series/dist/commands/INFO_DEBUG");
153
- infoDebug: typeof import("@node-redis/time-series/dist/commands/INFO_DEBUG");
154
- INFO: typeof import("@node-redis/time-series/dist/commands/INFO");
155
- info: typeof import("@node-redis/time-series/dist/commands/INFO");
156
- MADD: typeof import("@node-redis/time-series/dist/commands/MADD");
157
- mAdd: typeof import("@node-redis/time-series/dist/commands/MADD");
158
- MGET: typeof import("@node-redis/time-series/dist/commands/MGET");
159
- mGet: typeof import("@node-redis/time-series/dist/commands/MGET");
160
- MGET_WITHLABELS: typeof import("@node-redis/time-series/dist/commands/MGET_WITHLABELS");
161
- mGetWithLabels: typeof import("@node-redis/time-series/dist/commands/MGET_WITHLABELS");
162
- QUERYINDEX: typeof import("@node-redis/time-series/dist/commands/QUERYINDEX");
163
- queryIndex: typeof import("@node-redis/time-series/dist/commands/QUERYINDEX");
164
- RANGE: typeof import("@node-redis/time-series/dist/commands/RANGE");
165
- range: typeof import("@node-redis/time-series/dist/commands/RANGE");
166
- REVRANGE: typeof import("@node-redis/time-series/dist/commands/REVRANGE");
167
- revRange: typeof import("@node-redis/time-series/dist/commands/REVRANGE");
168
- MRANGE: typeof import("@node-redis/time-series/dist/commands/MRANGE");
169
- mRange: typeof import("@node-redis/time-series/dist/commands/MRANGE");
170
- MRANGE_WITHLABELS: typeof import("@node-redis/time-series/dist/commands/MRANGE_WITHLABELS");
171
- mRangeWithLabels: typeof import("@node-redis/time-series/dist/commands/MRANGE_WITHLABELS");
172
- MREVRANGE: typeof import("@node-redis/time-series/dist/commands/MREVRANGE");
173
- mRevRange: typeof import("@node-redis/time-series/dist/commands/MREVRANGE");
174
- MREVRANGE_WITHLABELS: typeof import("@node-redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
175
- mRevRangeWithLabels: typeof import("@node-redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
134
+ ADD: typeof import("@redis/time-series/dist/commands/ADD");
135
+ add: typeof import("@redis/time-series/dist/commands/ADD");
136
+ ALTER: typeof import("@redis/time-series/dist/commands/ALTER");
137
+ alter: typeof import("@redis/time-series/dist/commands/ALTER");
138
+ CREATE: typeof import("@redis/time-series/dist/commands/CREATE");
139
+ create: typeof import("@redis/time-series/dist/commands/CREATE");
140
+ CREATERULE: typeof import("@redis/time-series/dist/commands/CREATERULE");
141
+ createRule: typeof import("@redis/time-series/dist/commands/CREATERULE");
142
+ DECRBY: typeof import("@redis/time-series/dist/commands/DECRBY");
143
+ decrBy: typeof import("@redis/time-series/dist/commands/DECRBY");
144
+ DEL: typeof import("@redis/time-series/dist/commands/DEL");
145
+ del: typeof import("@redis/time-series/dist/commands/DEL");
146
+ DELETERULE: typeof import("@redis/time-series/dist/commands/DELETERULE");
147
+ deleteRule: typeof import("@redis/time-series/dist/commands/DELETERULE");
148
+ GET: typeof import("@redis/time-series/dist/commands/GET");
149
+ get: typeof import("@redis/time-series/dist/commands/GET");
150
+ INCRBY: typeof import("@redis/time-series/dist/commands/INCRBY");
151
+ incrBy: typeof import("@redis/time-series/dist/commands/INCRBY");
152
+ INFO_DEBUG: typeof import("@redis/time-series/dist/commands/INFO_DEBUG");
153
+ infoDebug: typeof import("@redis/time-series/dist/commands/INFO_DEBUG");
154
+ INFO: typeof import("@redis/time-series/dist/commands/INFO");
155
+ info: typeof import("@redis/time-series/dist/commands/INFO");
156
+ MADD: typeof import("@redis/time-series/dist/commands/MADD");
157
+ mAdd: typeof import("@redis/time-series/dist/commands/MADD");
158
+ MGET: typeof import("@redis/time-series/dist/commands/MGET");
159
+ mGet: typeof import("@redis/time-series/dist/commands/MGET");
160
+ MGET_WITHLABELS: typeof import("@redis/time-series/dist/commands/MGET_WITHLABELS");
161
+ mGetWithLabels: typeof import("@redis/time-series/dist/commands/MGET_WITHLABELS");
162
+ QUERYINDEX: typeof import("@redis/time-series/dist/commands/QUERYINDEX");
163
+ queryIndex: typeof import("@redis/time-series/dist/commands/QUERYINDEX");
164
+ RANGE: typeof import("@redis/time-series/dist/commands/RANGE");
165
+ range: typeof import("@redis/time-series/dist/commands/RANGE");
166
+ REVRANGE: typeof import("@redis/time-series/dist/commands/REVRANGE");
167
+ revRange: typeof import("@redis/time-series/dist/commands/REVRANGE");
168
+ MRANGE: typeof import("@redis/time-series/dist/commands/MRANGE");
169
+ mRange: typeof import("@redis/time-series/dist/commands/MRANGE");
170
+ MRANGE_WITHLABELS: typeof import("@redis/time-series/dist/commands/MRANGE_WITHLABELS");
171
+ mRangeWithLabels: typeof import("@redis/time-series/dist/commands/MRANGE_WITHLABELS");
172
+ MREVRANGE: typeof import("@redis/time-series/dist/commands/MREVRANGE");
173
+ mRevRange: typeof import("@redis/time-series/dist/commands/MREVRANGE");
174
+ MREVRANGE_WITHLABELS: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
175
+ mRevRangeWithLabels: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
176
176
  };
177
177
  bf: {
178
- ADD: typeof import("@node-redis/bloom/dist/commands/bloom/ADD");
179
- add: typeof import("@node-redis/bloom/dist/commands/bloom/ADD");
180
- EXISTS: typeof import("@node-redis/bloom/dist/commands/bloom/EXISTS");
181
- exists: typeof import("@node-redis/bloom/dist/commands/bloom/EXISTS");
182
- INFO: typeof import("@node-redis/bloom/dist/commands/bloom/INFO");
183
- info: typeof import("@node-redis/bloom/dist/commands/bloom/INFO");
184
- INSERT: typeof import("@node-redis/bloom/dist/commands/bloom/INSERT");
185
- insert: typeof import("@node-redis/bloom/dist/commands/bloom/INSERT");
186
- LOADCHUNK: typeof import("@node-redis/bloom/dist/commands/bloom/LOADCHUNK");
187
- loadChunk: typeof import("@node-redis/bloom/dist/commands/bloom/LOADCHUNK");
188
- MADD: typeof import("@node-redis/bloom/dist/commands/bloom/MADD");
189
- mAdd: typeof import("@node-redis/bloom/dist/commands/bloom/MADD");
190
- MEXISTS: typeof import("@node-redis/bloom/dist/commands/bloom/MEXISTS");
191
- mExists: typeof import("@node-redis/bloom/dist/commands/bloom/MEXISTS");
192
- RESERVE: typeof import("@node-redis/bloom/dist/commands/bloom/RESERVE");
193
- reserve: typeof import("@node-redis/bloom/dist/commands/bloom/RESERVE");
194
- SCANDUMP: typeof import("@node-redis/bloom/dist/commands/bloom/SCANDUMP");
195
- scanDump: typeof import("@node-redis/bloom/dist/commands/bloom/SCANDUMP");
178
+ ADD: typeof import("@redis/bloom/dist/commands/bloom/ADD");
179
+ add: typeof import("@redis/bloom/dist/commands/bloom/ADD");
180
+ EXISTS: typeof import("@redis/bloom/dist/commands/bloom/EXISTS");
181
+ exists: typeof import("@redis/bloom/dist/commands/bloom/EXISTS");
182
+ INFO: typeof import("@redis/bloom/dist/commands/bloom/INFO");
183
+ info: typeof import("@redis/bloom/dist/commands/bloom/INFO");
184
+ INSERT: typeof import("@redis/bloom/dist/commands/bloom/INSERT");
185
+ insert: typeof import("@redis/bloom/dist/commands/bloom/INSERT");
186
+ LOADCHUNK: typeof import("@redis/bloom/dist/commands/bloom/LOADCHUNK");
187
+ loadChunk: typeof import("@redis/bloom/dist/commands/bloom/LOADCHUNK");
188
+ MADD: typeof import("@redis/bloom/dist/commands/bloom/MADD");
189
+ mAdd: typeof import("@redis/bloom/dist/commands/bloom/MADD");
190
+ MEXISTS: typeof import("@redis/bloom/dist/commands/bloom/MEXISTS");
191
+ mExists: typeof import("@redis/bloom/dist/commands/bloom/MEXISTS");
192
+ RESERVE: typeof import("@redis/bloom/dist/commands/bloom/RESERVE");
193
+ reserve: typeof import("@redis/bloom/dist/commands/bloom/RESERVE");
194
+ SCANDUMP: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
195
+ scanDump: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
196
196
  };
197
197
  cms: {
198
- INCRBY: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INCRBY");
199
- incrBy: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INCRBY");
200
- INFO: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INFO");
201
- info: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INFO");
202
- INITBYDIM: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
203
- initByDim: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
204
- INITBYPROB: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
205
- initByProb: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
206
- MERGE: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/MERGE");
207
- merge: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/MERGE");
208
- QUERY: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/QUERY");
209
- query: typeof import("@node-redis/bloom/dist/commands/count-min-sketch/QUERY");
198
+ INCRBY: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
199
+ incrBy: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
200
+ INFO: typeof import("@redis/bloom/dist/commands/count-min-sketch/INFO");
201
+ info: typeof import("@redis/bloom/dist/commands/count-min-sketch/INFO");
202
+ INITBYDIM: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
203
+ initByDim: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
204
+ INITBYPROB: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
205
+ initByProb: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
206
+ MERGE: typeof import("@redis/bloom/dist/commands/count-min-sketch/MERGE");
207
+ merge: typeof import("@redis/bloom/dist/commands/count-min-sketch/MERGE");
208
+ QUERY: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
209
+ query: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
210
210
  };
211
211
  cf: {
212
- ADD: typeof import("@node-redis/bloom/dist/commands/cuckoo/ADD");
213
- add: typeof import("@node-redis/bloom/dist/commands/cuckoo/ADD");
214
- ADDNX: typeof import("@node-redis/bloom/dist/commands/cuckoo/ADDNX");
215
- addNX: typeof import("@node-redis/bloom/dist/commands/cuckoo/ADDNX");
216
- COUNT: typeof import("@node-redis/bloom/dist/commands/cuckoo/COUNT");
217
- count: typeof import("@node-redis/bloom/dist/commands/cuckoo/COUNT");
218
- DEL: typeof import("@node-redis/bloom/dist/commands/cuckoo/DEL");
219
- del: typeof import("@node-redis/bloom/dist/commands/cuckoo/DEL");
220
- EXISTS: typeof import("@node-redis/bloom/dist/commands/cuckoo/EXISTS");
221
- exists: typeof import("@node-redis/bloom/dist/commands/cuckoo/EXISTS");
222
- INFO: typeof import("@node-redis/bloom/dist/commands/cuckoo/INFO");
223
- info: typeof import("@node-redis/bloom/dist/commands/cuckoo/INFO");
224
- INSERT: typeof import("@node-redis/bloom/dist/commands/cuckoo/INSERT");
225
- insert: typeof import("@node-redis/bloom/dist/commands/cuckoo/INSERT");
226
- INSERTNX: typeof import("@node-redis/bloom/dist/commands/cuckoo/INSERTNX");
227
- insertNX: typeof import("@node-redis/bloom/dist/commands/cuckoo/INSERTNX");
228
- LOADCHUNK: typeof import("@node-redis/bloom/dist/commands/cuckoo/LOADCHUNK");
229
- loadChunk: typeof import("@node-redis/bloom/dist/commands/cuckoo/LOADCHUNK");
230
- RESERVE: typeof import("@node-redis/bloom/dist/commands/cuckoo/RESERVE");
231
- reserve: typeof import("@node-redis/bloom/dist/commands/cuckoo/RESERVE");
232
- SCANDUMP: typeof import("@node-redis/bloom/dist/commands/cuckoo/SCANDUMP");
233
- scanDump: typeof import("@node-redis/bloom/dist/commands/cuckoo/SCANDUMP");
212
+ ADD: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
213
+ add: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
214
+ ADDNX: typeof import("@redis/bloom/dist/commands/cuckoo/ADDNX");
215
+ addNX: typeof import("@redis/bloom/dist/commands/cuckoo/ADDNX");
216
+ COUNT: typeof import("@redis/bloom/dist/commands/cuckoo/COUNT");
217
+ count: typeof import("@redis/bloom/dist/commands/cuckoo/COUNT");
218
+ DEL: typeof import("@redis/bloom/dist/commands/cuckoo/DEL");
219
+ del: typeof import("@redis/bloom/dist/commands/cuckoo/DEL");
220
+ EXISTS: typeof import("@redis/bloom/dist/commands/cuckoo/EXISTS");
221
+ exists: typeof import("@redis/bloom/dist/commands/cuckoo/EXISTS");
222
+ INFO: typeof import("@redis/bloom/dist/commands/cuckoo/INFO");
223
+ info: typeof import("@redis/bloom/dist/commands/cuckoo/INFO");
224
+ INSERT: typeof import("@redis/bloom/dist/commands/cuckoo/INSERT");
225
+ insert: typeof import("@redis/bloom/dist/commands/cuckoo/INSERT");
226
+ INSERTNX: typeof import("@redis/bloom/dist/commands/cuckoo/INSERTNX");
227
+ insertNX: typeof import("@redis/bloom/dist/commands/cuckoo/INSERTNX");
228
+ LOADCHUNK: typeof import("@redis/bloom/dist/commands/cuckoo/LOADCHUNK");
229
+ loadChunk: typeof import("@redis/bloom/dist/commands/cuckoo/LOADCHUNK");
230
+ RESERVE: typeof import("@redis/bloom/dist/commands/cuckoo/RESERVE");
231
+ reserve: typeof import("@redis/bloom/dist/commands/cuckoo/RESERVE");
232
+ SCANDUMP: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
233
+ scanDump: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
234
234
  };
235
235
  topK: {
236
- ADD: typeof import("@node-redis/bloom/dist/commands/top-k/ADD");
237
- add: typeof import("@node-redis/bloom/dist/commands/top-k/ADD");
238
- COUNT: typeof import("@node-redis/bloom/dist/commands/top-k/COUNT");
239
- count: typeof import("@node-redis/bloom/dist/commands/top-k/COUNT");
240
- INCRBY: typeof import("@node-redis/bloom/dist/commands/top-k/INCRBY");
241
- incrBy: typeof import("@node-redis/bloom/dist/commands/top-k/INCRBY");
242
- INFO: typeof import("@node-redis/bloom/dist/commands/top-k/INFO");
243
- info: typeof import("@node-redis/bloom/dist/commands/top-k/INFO");
244
- LIST: typeof import("@node-redis/bloom/dist/commands/top-k/LIST");
245
- list: typeof import("@node-redis/bloom/dist/commands/top-k/LIST");
246
- QUERY: typeof import("@node-redis/bloom/dist/commands/top-k/QUERY");
247
- query: typeof import("@node-redis/bloom/dist/commands/top-k/QUERY");
248
- RESERVE: typeof import("@node-redis/bloom/dist/commands/top-k/RESERVE");
249
- reserve: typeof import("@node-redis/bloom/dist/commands/top-k/RESERVE");
236
+ ADD: typeof import("@redis/bloom/dist/commands/top-k/ADD");
237
+ add: typeof import("@redis/bloom/dist/commands/top-k/ADD");
238
+ COUNT: typeof import("@redis/bloom/dist/commands/top-k/COUNT");
239
+ count: typeof import("@redis/bloom/dist/commands/top-k/COUNT");
240
+ INCRBY: typeof import("@redis/bloom/dist/commands/top-k/INCRBY");
241
+ incrBy: typeof import("@redis/bloom/dist/commands/top-k/INCRBY");
242
+ INFO: typeof import("@redis/bloom/dist/commands/top-k/INFO");
243
+ info: typeof import("@redis/bloom/dist/commands/top-k/INFO");
244
+ LIST_WITHCOUNT: typeof import("@redis/bloom/dist/commands/top-k/LIST_WITHCOUNT");
245
+ listWithCount: typeof import("@redis/bloom/dist/commands/top-k/LIST_WITHCOUNT");
246
+ LIST: typeof import("@redis/bloom/dist/commands/top-k/LIST");
247
+ list: typeof import("@redis/bloom/dist/commands/top-k/LIST");
248
+ QUERY: typeof import("@redis/bloom/dist/commands/top-k/QUERY");
249
+ query: typeof import("@redis/bloom/dist/commands/top-k/QUERY");
250
+ RESERVE: typeof import("@redis/bloom/dist/commands/top-k/RESERVE");
251
+ reserve: typeof import("@redis/bloom/dist/commands/top-k/RESERVE");
250
252
  };
251
253
  };
252
254
  export declare type RedisDefaultModules = typeof modules;
253
- export declare type RedisClientType<M extends RedisModules = RedisDefaultModules, S extends RedisScripts = Record<string, never>> = _RedisClientType<M, S>;
254
- export declare function createClient<M extends RedisModules, S extends RedisScripts>(options?: RedisClientOptions<M, S>): _RedisClientType<RedisDefaultModules & M, S>;
255
- export declare type RedisClusterType<M extends RedisModules = RedisDefaultModules, S extends RedisScripts = Record<string, never>> = _RedisClusterType<M, S>;
256
- export declare function createCluster<M extends RedisModules, S extends RedisScripts>(options: RedisClusterOptions<M, S>): RedisClusterType<RedisDefaultModules & M, S>;
255
+ export declare type RedisClientType<M extends RedisModules = RedisDefaultModules, F extends RedisFunctions = Record<string, never>, S extends RedisScripts = Record<string, never>> = _RedisClientType<M, F, S>;
256
+ export declare function createClient<M extends RedisModules, F extends RedisFunctions, S extends RedisScripts>(options?: RedisClientOptions<M, F, S>): _RedisClientType<RedisDefaultModules & M, F, S>;
257
+ export declare type RedisClusterType<M extends RedisModules = RedisDefaultModules, F extends RedisFunctions = Record<string, never>, S extends RedisScripts = Record<string, never>> = _RedisClusterType<M, F, S>;
258
+ export declare function createCluster<M extends RedisModules, F extends RedisFunctions, S extends RedisScripts>(options: RedisClusterOptions<M, F, S>): RedisClusterType<RedisDefaultModules & M, F, S>;
package/dist/index.js CHANGED
@@ -15,18 +15,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.createCluster = exports.createClient = void 0;
18
- const client_1 = require("@node-redis/client");
19
- const bloom_1 = require("@node-redis/bloom");
20
- const graph_1 = require("@node-redis/graph");
21
- const json_1 = require("@node-redis/json");
22
- const search_1 = require("@node-redis/search");
23
- const time_series_1 = require("@node-redis/time-series");
24
- __exportStar(require("@node-redis/client"), exports);
25
- __exportStar(require("@node-redis/bloom"), exports);
26
- __exportStar(require("@node-redis/graph"), exports);
27
- __exportStar(require("@node-redis/json"), exports);
28
- __exportStar(require("@node-redis/search"), exports);
29
- __exportStar(require("@node-redis/time-series"), exports);
18
+ const client_1 = require("@redis/client");
19
+ const bloom_1 = require("@redis/bloom");
20
+ const graph_1 = require("@redis/graph");
21
+ const json_1 = require("@redis/json");
22
+ const search_1 = require("@redis/search");
23
+ const time_series_1 = require("@redis/time-series");
24
+ __exportStar(require("@redis/client"), exports);
25
+ __exportStar(require("@redis/bloom"), exports);
26
+ __exportStar(require("@redis/graph"), exports);
27
+ __exportStar(require("@redis/json"), exports);
28
+ __exportStar(require("@redis/search"), exports);
29
+ __exportStar(require("@redis/time-series"), exports);
30
30
  const modules = {
31
31
  ...bloom_1.default,
32
32
  graph: graph_1.default,
@@ -39,7 +39,7 @@ function createClient(options) {
39
39
  ...options,
40
40
  modules: {
41
41
  ...modules,
42
- ...options === null || options === void 0 ? void 0 : options.modules
42
+ ...options?.modules
43
43
  }
44
44
  });
45
45
  }
@@ -49,7 +49,7 @@ function createCluster(options) {
49
49
  ...options,
50
50
  modules: {
51
51
  ...modules,
52
- ...options === null || options === void 0 ? void 0 : options.modules
52
+ ...options?.modules
53
53
  }
54
54
  });
55
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "redis",
3
3
  "description": "A modern, high performance Redis client",
4
- "version": "4.0.6",
4
+ "version": "4.2.0",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -23,18 +23,18 @@
23
23
  "gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
24
24
  },
25
25
  "dependencies": {
26
- "@node-redis/bloom": "1.0.1",
27
- "@node-redis/client": "1.0.5",
28
- "@node-redis/graph": "1.0.0",
29
- "@node-redis/json": "1.0.2",
30
- "@node-redis/search": "1.0.5",
31
- "@node-redis/time-series": "1.0.2"
26
+ "@redis/bloom": "1.0.2",
27
+ "@redis/client": "1.2.0",
28
+ "@redis/graph": "1.0.1",
29
+ "@redis/json": "1.0.3",
30
+ "@redis/search": "1.0.6",
31
+ "@redis/time-series": "1.0.3"
32
32
  },
33
33
  "devDependencies": {
34
- "@tsconfig/node12": "^1.0.9",
35
- "gh-pages": "^3.2.3",
36
- "release-it": "^14.13.1",
37
- "typescript": "^4.6.3"
34
+ "@tsconfig/node14": "^1.0.3",
35
+ "gh-pages": "^4.0.0",
36
+ "release-it": "^15.1.1",
37
+ "typescript": "^4.7.4"
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",