@clonegod/ttd-core 3.1.7 → 3.1.8

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.
@@ -26,6 +26,298 @@ export declare class RedisClient {
26
26
  lrange(key: string, start?: number, stop?: number): Promise<string[]>;
27
27
  lpush(key: string, value: string): Promise<number>;
28
28
  ltrim(key: string, start: number, stop: number): Promise<string>;
29
+ ping(): Promise<string>;
30
+ type(key: string): Promise<string>;
31
+ multi(): import("@redis/client/dist/lib/client/multi-command").RedisClientMultiCommandType<{
32
+ graph: {
33
+ CONFIG_GET: typeof import("@redis/graph/dist/commands/CONFIG_GET");
34
+ configGet: typeof import("@redis/graph/dist/commands/CONFIG_GET");
35
+ CONFIG_SET: typeof import("@redis/graph/dist/commands/CONFIG_SET");
36
+ configSet: typeof import("@redis/graph/dist/commands/CONFIG_SET");
37
+ DELETE: typeof import("@redis/graph/dist/commands/DELETE");
38
+ delete: typeof import("@redis/graph/dist/commands/DELETE");
39
+ EXPLAIN: typeof import("@redis/graph/dist/commands/EXPLAIN");
40
+ explain: typeof import("@redis/graph/dist/commands/EXPLAIN");
41
+ LIST: typeof import("@redis/graph/dist/commands/LIST");
42
+ list: typeof import("@redis/graph/dist/commands/LIST");
43
+ PROFILE: typeof import("@redis/graph/dist/commands/PROFILE");
44
+ profile: typeof import("@redis/graph/dist/commands/PROFILE");
45
+ QUERY: typeof import("@redis/graph/dist/commands/QUERY");
46
+ query: typeof import("@redis/graph/dist/commands/QUERY");
47
+ RO_QUERY: typeof import("@redis/graph/dist/commands/RO_QUERY");
48
+ roQuery: typeof import("@redis/graph/dist/commands/RO_QUERY");
49
+ SLOWLOG: typeof import("@redis/graph/dist/commands/SLOWLOG");
50
+ slowLog: typeof import("@redis/graph/dist/commands/SLOWLOG");
51
+ };
52
+ json: {
53
+ ARRAPPEND: typeof import("@redis/json/dist/commands/ARRAPPEND");
54
+ arrAppend: typeof import("@redis/json/dist/commands/ARRAPPEND");
55
+ ARRINDEX: typeof import("@redis/json/dist/commands/ARRINDEX");
56
+ arrIndex: typeof import("@redis/json/dist/commands/ARRINDEX");
57
+ ARRINSERT: typeof import("@redis/json/dist/commands/ARRINSERT");
58
+ arrInsert: typeof import("@redis/json/dist/commands/ARRINSERT");
59
+ ARRLEN: typeof import("@redis/json/dist/commands/ARRLEN");
60
+ arrLen: typeof import("@redis/json/dist/commands/ARRLEN");
61
+ ARRPOP: typeof import("@redis/json/dist/commands/ARRPOP");
62
+ arrPop: typeof import("@redis/json/dist/commands/ARRPOP");
63
+ ARRTRIM: typeof import("@redis/json/dist/commands/ARRTRIM");
64
+ arrTrim: typeof import("@redis/json/dist/commands/ARRTRIM");
65
+ DEBUG_MEMORY: typeof import("@redis/json/dist/commands/DEBUG_MEMORY");
66
+ debugMemory: typeof import("@redis/json/dist/commands/DEBUG_MEMORY");
67
+ DEL: typeof import("@redis/json/dist/commands/DEL");
68
+ del: typeof import("@redis/json/dist/commands/DEL");
69
+ FORGET: typeof import("@redis/json/dist/commands/FORGET");
70
+ forget: typeof import("@redis/json/dist/commands/FORGET");
71
+ GET: typeof import("@redis/json/dist/commands/GET");
72
+ get: typeof import("@redis/json/dist/commands/GET");
73
+ MERGE: typeof import("@redis/json/dist/commands/MERGE");
74
+ merge: typeof import("@redis/json/dist/commands/MERGE");
75
+ MGET: typeof import("@redis/json/dist/commands/MGET");
76
+ mGet: typeof import("@redis/json/dist/commands/MGET");
77
+ MSET: typeof import("@redis/json/dist/commands/MSET");
78
+ mSet: typeof import("@redis/json/dist/commands/MSET");
79
+ NUMINCRBY: typeof import("@redis/json/dist/commands/NUMINCRBY");
80
+ numIncrBy: typeof import("@redis/json/dist/commands/NUMINCRBY");
81
+ NUMMULTBY: typeof import("@redis/json/dist/commands/NUMMULTBY");
82
+ numMultBy: typeof import("@redis/json/dist/commands/NUMMULTBY");
83
+ OBJKEYS: typeof import("@redis/json/dist/commands/OBJKEYS");
84
+ objKeys: typeof import("@redis/json/dist/commands/OBJKEYS");
85
+ OBJLEN: typeof import("@redis/json/dist/commands/OBJLEN");
86
+ objLen: typeof import("@redis/json/dist/commands/OBJLEN");
87
+ RESP: typeof import("@redis/json/dist/commands/RESP");
88
+ resp: typeof import("@redis/json/dist/commands/RESP");
89
+ SET: typeof import("@redis/json/dist/commands/SET");
90
+ set: typeof import("@redis/json/dist/commands/SET");
91
+ STRAPPEND: typeof import("@redis/json/dist/commands/STRAPPEND");
92
+ strAppend: typeof import("@redis/json/dist/commands/STRAPPEND");
93
+ STRLEN: typeof import("@redis/json/dist/commands/STRLEN");
94
+ strLen: typeof import("@redis/json/dist/commands/STRLEN");
95
+ TYPE: typeof import("@redis/json/dist/commands/TYPE");
96
+ type: typeof import("@redis/json/dist/commands/TYPE");
97
+ };
98
+ ft: {
99
+ _LIST: typeof import("@redis/search/dist/commands/_LIST");
100
+ _list: typeof import("@redis/search/dist/commands/_LIST");
101
+ ALTER: typeof import("@redis/search/dist/commands/ALTER");
102
+ alter: typeof import("@redis/search/dist/commands/ALTER");
103
+ AGGREGATE_WITHCURSOR: typeof import("@redis/search/dist/commands/AGGREGATE_WITHCURSOR");
104
+ aggregateWithCursor: typeof import("@redis/search/dist/commands/AGGREGATE_WITHCURSOR");
105
+ AGGREGATE: typeof import("@redis/search/dist/commands/AGGREGATE");
106
+ aggregate: typeof import("@redis/search/dist/commands/AGGREGATE");
107
+ ALIASADD: typeof import("@redis/search/dist/commands/ALIASADD");
108
+ aliasAdd: typeof import("@redis/search/dist/commands/ALIASADD");
109
+ ALIASDEL: typeof import("@redis/search/dist/commands/ALIASDEL");
110
+ aliasDel: typeof import("@redis/search/dist/commands/ALIASDEL");
111
+ ALIASUPDATE: typeof import("@redis/search/dist/commands/ALIASUPDATE");
112
+ aliasUpdate: typeof import("@redis/search/dist/commands/ALIASUPDATE");
113
+ CONFIG_GET: typeof import("@redis/search/dist/commands/CONFIG_GET");
114
+ configGet: typeof import("@redis/search/dist/commands/CONFIG_GET");
115
+ CONFIG_SET: typeof import("@redis/search/dist/commands/CONFIG_SET");
116
+ configSet: typeof import("@redis/search/dist/commands/CONFIG_SET");
117
+ CREATE: typeof import("@redis/search/dist/commands/CREATE");
118
+ create: typeof import("@redis/search/dist/commands/CREATE");
119
+ CURSOR_DEL: typeof import("@redis/search/dist/commands/CURSOR_DEL");
120
+ cursorDel: typeof import("@redis/search/dist/commands/CURSOR_DEL");
121
+ CURSOR_READ: typeof import("@redis/search/dist/commands/CURSOR_READ");
122
+ cursorRead: typeof import("@redis/search/dist/commands/CURSOR_READ");
123
+ DICTADD: typeof import("@redis/search/dist/commands/DICTADD");
124
+ dictAdd: typeof import("@redis/search/dist/commands/DICTADD");
125
+ DICTDEL: typeof import("@redis/search/dist/commands/DICTDEL");
126
+ dictDel: typeof import("@redis/search/dist/commands/DICTDEL");
127
+ DICTDUMP: typeof import("@redis/search/dist/commands/DICTDUMP");
128
+ dictDump: typeof import("@redis/search/dist/commands/DICTDUMP");
129
+ DROPINDEX: typeof import("@redis/search/dist/commands/DROPINDEX");
130
+ dropIndex: typeof import("@redis/search/dist/commands/DROPINDEX");
131
+ EXPLAIN: typeof import("@redis/search/dist/commands/EXPLAIN");
132
+ explain: typeof import("@redis/search/dist/commands/EXPLAIN");
133
+ EXPLAINCLI: typeof import("@redis/search/dist/commands/EXPLAINCLI");
134
+ explainCli: typeof import("@redis/search/dist/commands/EXPLAINCLI");
135
+ INFO: typeof import("@redis/search/dist/commands/INFO");
136
+ info: typeof import("@redis/search/dist/commands/INFO");
137
+ PROFILESEARCH: typeof import("@redis/search/dist/commands/PROFILE_SEARCH");
138
+ profileSearch: typeof import("@redis/search/dist/commands/PROFILE_SEARCH");
139
+ PROFILEAGGREGATE: typeof import("@redis/search/dist/commands/PROFILE_AGGREGATE");
140
+ profileAggregate: typeof import("@redis/search/dist/commands/PROFILE_AGGREGATE");
141
+ SEARCH: typeof import("@redis/search/dist/commands/SEARCH");
142
+ search: typeof import("@redis/search/dist/commands/SEARCH");
143
+ SEARCH_NOCONTENT: typeof import("@redis/search/dist/commands/SEARCH_NOCONTENT");
144
+ searchNoContent: typeof import("@redis/search/dist/commands/SEARCH_NOCONTENT");
145
+ SPELLCHECK: typeof import("@redis/search/dist/commands/SPELLCHECK");
146
+ spellCheck: typeof import("@redis/search/dist/commands/SPELLCHECK");
147
+ SUGADD: typeof import("@redis/search/dist/commands/SUGADD");
148
+ sugAdd: typeof import("@redis/search/dist/commands/SUGADD");
149
+ SUGDEL: typeof import("@redis/search/dist/commands/SUGDEL");
150
+ sugDel: typeof import("@redis/search/dist/commands/SUGDEL");
151
+ SUGGET_WITHPAYLOADS: typeof import("@redis/search/dist/commands/SUGGET_WITHPAYLOADS");
152
+ sugGetWithPayloads: typeof import("@redis/search/dist/commands/SUGGET_WITHPAYLOADS");
153
+ SUGGET_WITHSCORES_WITHPAYLOADS: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
154
+ sugGetWithScoresWithPayloads: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES_WITHPAYLOADS");
155
+ SUGGET_WITHSCORES: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES");
156
+ sugGetWithScores: typeof import("@redis/search/dist/commands/SUGGET_WITHSCORES");
157
+ SUGGET: typeof import("@redis/search/dist/commands/SUGGET");
158
+ sugGet: typeof import("@redis/search/dist/commands/SUGGET");
159
+ SUGLEN: typeof import("@redis/search/dist/commands/SUGLEN");
160
+ sugLen: typeof import("@redis/search/dist/commands/SUGLEN");
161
+ SYNDUMP: typeof import("@redis/search/dist/commands/SYNDUMP");
162
+ synDump: typeof import("@redis/search/dist/commands/SYNDUMP");
163
+ SYNUPDATE: typeof import("@redis/search/dist/commands/SYNUPDATE");
164
+ synUpdate: typeof import("@redis/search/dist/commands/SYNUPDATE");
165
+ TAGVALS: typeof import("@redis/search/dist/commands/TAGVALS");
166
+ tagVals: typeof import("@redis/search/dist/commands/TAGVALS");
167
+ };
168
+ ts: {
169
+ ADD: typeof import("@redis/time-series/dist/commands/ADD");
170
+ add: typeof import("@redis/time-series/dist/commands/ADD");
171
+ ALTER: typeof import("@redis/time-series/dist/commands/ALTER");
172
+ alter: typeof import("@redis/time-series/dist/commands/ALTER");
173
+ CREATE: typeof import("@redis/time-series/dist/commands/CREATE");
174
+ create: typeof import("@redis/time-series/dist/commands/CREATE");
175
+ CREATERULE: typeof import("@redis/time-series/dist/commands/CREATERULE");
176
+ createRule: typeof import("@redis/time-series/dist/commands/CREATERULE");
177
+ DECRBY: typeof import("@redis/time-series/dist/commands/DECRBY");
178
+ decrBy: typeof import("@redis/time-series/dist/commands/DECRBY");
179
+ DEL: typeof import("@redis/time-series/dist/commands/DEL");
180
+ del: typeof import("@redis/time-series/dist/commands/DEL");
181
+ DELETERULE: typeof import("@redis/time-series/dist/commands/DELETERULE");
182
+ deleteRule: typeof import("@redis/time-series/dist/commands/DELETERULE");
183
+ GET: typeof import("@redis/time-series/dist/commands/GET");
184
+ get: typeof import("@redis/time-series/dist/commands/GET");
185
+ INCRBY: typeof import("@redis/time-series/dist/commands/INCRBY");
186
+ incrBy: typeof import("@redis/time-series/dist/commands/INCRBY");
187
+ INFO_DEBUG: typeof import("@redis/time-series/dist/commands/INFO_DEBUG");
188
+ infoDebug: typeof import("@redis/time-series/dist/commands/INFO_DEBUG");
189
+ INFO: typeof import("@redis/time-series/dist/commands/INFO");
190
+ info: typeof import("@redis/time-series/dist/commands/INFO");
191
+ MADD: typeof import("@redis/time-series/dist/commands/MADD");
192
+ mAdd: typeof import("@redis/time-series/dist/commands/MADD");
193
+ MGET: typeof import("@redis/time-series/dist/commands/MGET");
194
+ mGet: typeof import("@redis/time-series/dist/commands/MGET");
195
+ MGET_WITHLABELS: typeof import("@redis/time-series/dist/commands/MGET_WITHLABELS");
196
+ mGetWithLabels: typeof import("@redis/time-series/dist/commands/MGET_WITHLABELS");
197
+ QUERYINDEX: typeof import("@redis/time-series/dist/commands/QUERYINDEX");
198
+ queryIndex: typeof import("@redis/time-series/dist/commands/QUERYINDEX");
199
+ RANGE: typeof import("@redis/time-series/dist/commands/RANGE");
200
+ range: typeof import("@redis/time-series/dist/commands/RANGE");
201
+ REVRANGE: typeof import("@redis/time-series/dist/commands/REVRANGE");
202
+ revRange: typeof import("@redis/time-series/dist/commands/REVRANGE");
203
+ MRANGE: typeof import("@redis/time-series/dist/commands/MRANGE");
204
+ mRange: typeof import("@redis/time-series/dist/commands/MRANGE");
205
+ MRANGE_WITHLABELS: typeof import("@redis/time-series/dist/commands/MRANGE_WITHLABELS");
206
+ mRangeWithLabels: typeof import("@redis/time-series/dist/commands/MRANGE_WITHLABELS");
207
+ MREVRANGE: typeof import("@redis/time-series/dist/commands/MREVRANGE");
208
+ mRevRange: typeof import("@redis/time-series/dist/commands/MREVRANGE");
209
+ MREVRANGE_WITHLABELS: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
210
+ mRevRangeWithLabels: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
211
+ };
212
+ bf: {
213
+ ADD: typeof import("@redis/bloom/dist/commands/bloom/ADD");
214
+ add: typeof import("@redis/bloom/dist/commands/bloom/ADD");
215
+ CARD: typeof import("@redis/bloom/dist/commands/bloom/CARD");
216
+ card: typeof import("@redis/bloom/dist/commands/bloom/CARD");
217
+ EXISTS: typeof import("@redis/bloom/dist/commands/bloom/EXISTS");
218
+ exists: typeof import("@redis/bloom/dist/commands/bloom/EXISTS");
219
+ INFO: typeof import("@redis/bloom/dist/commands/bloom/INFO");
220
+ info: typeof import("@redis/bloom/dist/commands/bloom/INFO");
221
+ INSERT: typeof import("@redis/bloom/dist/commands/bloom/INSERT");
222
+ insert: typeof import("@redis/bloom/dist/commands/bloom/INSERT");
223
+ LOADCHUNK: typeof import("@redis/bloom/dist/commands/bloom/LOADCHUNK");
224
+ loadChunk: typeof import("@redis/bloom/dist/commands/bloom/LOADCHUNK");
225
+ MADD: typeof import("@redis/bloom/dist/commands/bloom/MADD");
226
+ mAdd: typeof import("@redis/bloom/dist/commands/bloom/MADD");
227
+ MEXISTS: typeof import("@redis/bloom/dist/commands/bloom/MEXISTS");
228
+ mExists: typeof import("@redis/bloom/dist/commands/bloom/MEXISTS");
229
+ RESERVE: typeof import("@redis/bloom/dist/commands/bloom/RESERVE");
230
+ reserve: typeof import("@redis/bloom/dist/commands/bloom/RESERVE");
231
+ SCANDUMP: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
232
+ scanDump: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
233
+ };
234
+ cms: {
235
+ INCRBY: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
236
+ incrBy: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
237
+ INFO: typeof import("@redis/bloom/dist/commands/count-min-sketch/INFO");
238
+ info: typeof import("@redis/bloom/dist/commands/count-min-sketch/INFO");
239
+ INITBYDIM: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
240
+ initByDim: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYDIM");
241
+ INITBYPROB: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
242
+ initByProb: typeof import("@redis/bloom/dist/commands/count-min-sketch/INITBYPROB");
243
+ MERGE: typeof import("@redis/bloom/dist/commands/count-min-sketch/MERGE");
244
+ merge: typeof import("@redis/bloom/dist/commands/count-min-sketch/MERGE");
245
+ QUERY: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
246
+ query: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
247
+ };
248
+ cf: {
249
+ ADD: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
250
+ add: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
251
+ ADDNX: typeof import("@redis/bloom/dist/commands/cuckoo/ADDNX");
252
+ addNX: typeof import("@redis/bloom/dist/commands/cuckoo/ADDNX");
253
+ COUNT: typeof import("@redis/bloom/dist/commands/cuckoo/COUNT");
254
+ count: typeof import("@redis/bloom/dist/commands/cuckoo/COUNT");
255
+ DEL: typeof import("@redis/bloom/dist/commands/cuckoo/DEL");
256
+ del: typeof import("@redis/bloom/dist/commands/cuckoo/DEL");
257
+ EXISTS: typeof import("@redis/bloom/dist/commands/cuckoo/EXISTS");
258
+ exists: typeof import("@redis/bloom/dist/commands/cuckoo/EXISTS");
259
+ INFO: typeof import("@redis/bloom/dist/commands/cuckoo/INFO");
260
+ info: typeof import("@redis/bloom/dist/commands/cuckoo/INFO");
261
+ INSERT: typeof import("@redis/bloom/dist/commands/cuckoo/INSERT");
262
+ insert: typeof import("@redis/bloom/dist/commands/cuckoo/INSERT");
263
+ INSERTNX: typeof import("@redis/bloom/dist/commands/cuckoo/INSERTNX");
264
+ insertNX: typeof import("@redis/bloom/dist/commands/cuckoo/INSERTNX");
265
+ LOADCHUNK: typeof import("@redis/bloom/dist/commands/cuckoo/LOADCHUNK");
266
+ loadChunk: typeof import("@redis/bloom/dist/commands/cuckoo/LOADCHUNK");
267
+ RESERVE: typeof import("@redis/bloom/dist/commands/cuckoo/RESERVE");
268
+ reserve: typeof import("@redis/bloom/dist/commands/cuckoo/RESERVE");
269
+ SCANDUMP: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
270
+ scanDump: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
271
+ };
272
+ tDigest: {
273
+ ADD: typeof import("@redis/bloom/dist/commands/t-digest/ADD");
274
+ add: typeof import("@redis/bloom/dist/commands/t-digest/ADD");
275
+ BYRANK: typeof import("@redis/bloom/dist/commands/t-digest/BYRANK");
276
+ byRank: typeof import("@redis/bloom/dist/commands/t-digest/BYRANK");
277
+ BYREVRANK: typeof import("@redis/bloom/dist/commands/t-digest/BYREVRANK");
278
+ byRevRank: typeof import("@redis/bloom/dist/commands/t-digest/BYREVRANK");
279
+ CDF: typeof import("@redis/bloom/dist/commands/t-digest/CDF");
280
+ cdf: typeof import("@redis/bloom/dist/commands/t-digest/CDF");
281
+ CREATE: typeof import("@redis/bloom/dist/commands/t-digest/CREATE");
282
+ create: typeof import("@redis/bloom/dist/commands/t-digest/CREATE");
283
+ INFO: typeof import("@redis/bloom/dist/commands/t-digest/INFO");
284
+ info: typeof import("@redis/bloom/dist/commands/t-digest/INFO");
285
+ MAX: typeof import("@redis/bloom/dist/commands/t-digest/MAX");
286
+ max: typeof import("@redis/bloom/dist/commands/t-digest/MAX");
287
+ MERGE: typeof import("@redis/bloom/dist/commands/t-digest/MERGE");
288
+ merge: typeof import("@redis/bloom/dist/commands/t-digest/MERGE");
289
+ MIN: typeof import("@redis/bloom/dist/commands/t-digest/MIN");
290
+ min: typeof import("@redis/bloom/dist/commands/t-digest/MIN");
291
+ QUANTILE: typeof import("@redis/bloom/dist/commands/t-digest/QUANTILE");
292
+ quantile: typeof import("@redis/bloom/dist/commands/t-digest/QUANTILE");
293
+ RANK: typeof import("@redis/bloom/dist/commands/t-digest/RANK");
294
+ rank: typeof import("@redis/bloom/dist/commands/t-digest/RANK");
295
+ RESET: typeof import("@redis/bloom/dist/commands/t-digest/RESET");
296
+ reset: typeof import("@redis/bloom/dist/commands/t-digest/RESET");
297
+ REVRANK: typeof import("@redis/bloom/dist/commands/t-digest/REVRANK");
298
+ revRank: typeof import("@redis/bloom/dist/commands/t-digest/REVRANK");
299
+ TRIMMED_MEAN: typeof import("@redis/bloom/dist/commands/t-digest/TRIMMED_MEAN");
300
+ trimmedMean: typeof import("@redis/bloom/dist/commands/t-digest/TRIMMED_MEAN");
301
+ };
302
+ topK: {
303
+ ADD: typeof import("@redis/bloom/dist/commands/top-k/ADD");
304
+ add: typeof import("@redis/bloom/dist/commands/top-k/ADD");
305
+ COUNT: typeof import("@redis/bloom/dist/commands/top-k/COUNT");
306
+ count: typeof import("@redis/bloom/dist/commands/top-k/COUNT");
307
+ INCRBY: typeof import("@redis/bloom/dist/commands/top-k/INCRBY");
308
+ incrBy: typeof import("@redis/bloom/dist/commands/top-k/INCRBY");
309
+ INFO: typeof import("@redis/bloom/dist/commands/top-k/INFO");
310
+ info: typeof import("@redis/bloom/dist/commands/top-k/INFO");
311
+ LIST_WITHCOUNT: typeof import("@redis/bloom/dist/commands/top-k/LIST_WITHCOUNT");
312
+ listWithCount: typeof import("@redis/bloom/dist/commands/top-k/LIST_WITHCOUNT");
313
+ LIST: typeof import("@redis/bloom/dist/commands/top-k/LIST");
314
+ list: typeof import("@redis/bloom/dist/commands/top-k/LIST");
315
+ QUERY: typeof import("@redis/bloom/dist/commands/top-k/QUERY");
316
+ query: typeof import("@redis/bloom/dist/commands/top-k/QUERY");
317
+ RESERVE: typeof import("@redis/bloom/dist/commands/top-k/RESERVE");
318
+ reserve: typeof import("@redis/bloom/dist/commands/top-k/RESERVE");
319
+ };
320
+ }, Record<string, never>, Record<string, never>>;
29
321
  private getLockKey;
30
322
  acquireLock(lock_key: string, lock_value: string, expireSeconds?: number): Promise<boolean>;
31
323
  releaseLock(lock_key: string, lock_value: string): Promise<boolean>;
@@ -157,6 +157,21 @@ class RedisClient {
157
157
  return yield client.lTrim(key, start, stop);
158
158
  });
159
159
  }
160
+ ping() {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ const client = yield this.ensureClient();
163
+ return yield client.ping();
164
+ });
165
+ }
166
+ type(key) {
167
+ return __awaiter(this, void 0, void 0, function* () {
168
+ const client = yield this.ensureClient();
169
+ return yield client.type(key);
170
+ });
171
+ }
172
+ multi() {
173
+ return this.redis_client.multi();
174
+ }
160
175
  getLockKey(lock_identifier) {
161
176
  return `${this.lockPrefix}:lock:${lock_identifier}`;
162
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "description": "Common types and utilities for trading systems - use `npm run push` to publish",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",