@redis/search 5.0.1 → 5.1.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/dist/lib/commands/AGGREGATE.d.ts.map +1 -1
- package/dist/lib/commands/AGGREGATE.js +3 -0
- package/dist/lib/commands/AGGREGATE.js.map +1 -1
- package/dist/lib/commands/SEARCH_NOCONTENT.d.ts +1 -1
- package/dist/lib/commands/SUGGET_WITHPAYLOADS.d.ts +1 -1
- package/dist/lib/commands/SUGGET_WITHSCORES.d.ts +1 -1
- package/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.d.ts +1 -1
- package/dist/lib/commands/index.d.ts +68 -68
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AGGREGATE.d.ts","sourceRoot":"","sources":["../../../lib/commands/AGGREGATE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAW,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrK,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAuB,MAAM,UAAU,CAAC;AAI/D,KAAK,SAAS,GAAG,kBAAkB,GAAG;IACpC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,EAAE,CAAC,EAAE,aAAa,CAAC;CACpB,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;CAMrB,CAAC;AAEX,KAAK,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAEpD,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC,MAAM,kBAAkB,CAAC,CAAC;AAE3E,UAAU,aAAa,CAAC,CAAC,SAAS,eAAe;IAC/C,IAAI,EAAE,CAAC,CAAC;CACT;AAED,eAAO,MAAM,8BA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O,EAAE,KAAK,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;CAC5D;;;;gDAKsB,aAAa,SAAS,aAAa,SAAS,aAAa,YAAY,kBAAkB;;wIAM9D,GAAG,gBAAgB,WAAW,KAAG,cAAc;0BAgB1D,UAAU;;;;AAzB/C,wBA4B6B;AAE7B,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,aAAa,EAAG,OAAO,CAAC,EAAE,kBAAkB,QA0FzF"}
|
|
@@ -40,6 +40,9 @@ exports.default = {
|
|
|
40
40
|
results.push((0, generic_transformers_1.transformTuplesReply)(rawReply[i], preserve, typeMapping));
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
// https://redis.io/docs/latest/commands/ft.aggregate/#return
|
|
44
|
+
// FT.AGGREGATE returns an array reply where each row is an array reply and represents a single aggregate result.
|
|
45
|
+
// The integer reply at position 1 does not represent a valid value.
|
|
43
46
|
total: Number(rawReply[0]),
|
|
44
47
|
results
|
|
45
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AGGREGATE.js","sourceRoot":"","sources":["../../../lib/commands/AGGREGATE.ts"],"names":[],"mappings":";;;AAGA,qCAA+D;AAC/D,+FAA4F;AAC5F,gDAAqD;AAOxC,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAUE,QAAA,8BAA8B,GAAG;IAC5C,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,WAA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C,MAAM,CAAC,SAAS,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { SearchRawReply } from './SEARCH';
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
readonly NOT_KEYED_COMMAND: true;
|
|
5
5
|
readonly IS_READ_ONLY: true;
|
|
6
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
6
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client/dist/lib/RESP/types").RedisArgument, query: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./SEARCH").FtSearchOptions | undefined) => void;
|
|
7
7
|
readonly transformReply: {
|
|
8
8
|
readonly 2: (reply: SearchRawReply) => SearchNoContentReply;
|
|
9
9
|
readonly 3: () => ReplyUnion;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NullReply, ArrayReply, BlobStringReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
readonly IS_READ_ONLY: true;
|
|
4
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
4
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, prefix: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
5
5
|
readonly transformReply: (this: void, reply: NullReply | UnwrapReply<ArrayReply<BlobStringReply>>) => {
|
|
6
6
|
suggestion: BlobStringReply;
|
|
7
7
|
payload: BlobStringReply;
|
|
@@ -5,7 +5,7 @@ type SuggestScore = {
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: {
|
|
7
7
|
readonly IS_READ_ONLY: true;
|
|
8
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
8
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, prefix: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
9
9
|
readonly transformReply: {
|
|
10
10
|
readonly 2: (reply: NullReply | UnwrapReply<ArrayReply<BlobStringReply>>, preserve?: any, typeMapping?: TypeMapping) => SuggestScore[] | null;
|
|
11
11
|
readonly 3: (reply: UnwrapReply<ArrayReply<BlobStringReply | DoubleReply>>) => SuggestScore[] | null;
|
|
@@ -6,7 +6,7 @@ type SuggestScoreWithPayload = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const _default: {
|
|
8
8
|
readonly IS_READ_ONLY: true;
|
|
9
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
9
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, prefix: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
10
10
|
readonly transformReply: {
|
|
11
11
|
readonly 2: (reply: NullReply | UnwrapReply<ArrayReply<BlobStringReply>>, preserve?: any, typeMapping?: TypeMapping) => SuggestScoreWithPayload[] | null;
|
|
12
12
|
readonly 3: (reply: NullReply | UnwrapReply<ArrayReply<BlobStringReply | DoubleReply>>) => SuggestScoreWithPayload[] | null;
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
_LIST: {
|
|
4
4
|
readonly NOT_KEYED_COMMAND: true;
|
|
5
5
|
readonly IS_READ_ONLY: true;
|
|
6
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
6
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser) => void;
|
|
7
7
|
readonly transformReply: {
|
|
8
8
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
9
9
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
_list: {
|
|
13
13
|
readonly NOT_KEYED_COMMAND: true;
|
|
14
14
|
readonly IS_READ_ONLY: true;
|
|
15
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
15
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser) => void;
|
|
16
16
|
readonly transformReply: {
|
|
17
17
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
18
18
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
@@ -21,18 +21,18 @@ declare const _default: {
|
|
|
21
21
|
ALTER: {
|
|
22
22
|
readonly NOT_KEYED_COMMAND: true;
|
|
23
23
|
readonly IS_READ_ONLY: true;
|
|
24
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
24
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, schema: import("./CREATE").RediSearchSchema) => void;
|
|
25
25
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
26
26
|
};
|
|
27
27
|
alter: {
|
|
28
28
|
readonly NOT_KEYED_COMMAND: true;
|
|
29
29
|
readonly IS_READ_ONLY: true;
|
|
30
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
30
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, schema: import("./CREATE").RediSearchSchema) => void;
|
|
31
31
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
32
32
|
};
|
|
33
33
|
AGGREGATE_WITHCURSOR: {
|
|
34
34
|
readonly IS_READ_ONLY: false;
|
|
35
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
35
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./AGGREGATE_WITHCURSOR").FtAggregateWithCursorOptions | undefined) => void;
|
|
36
36
|
readonly transformReply: {
|
|
37
37
|
readonly 2: (reply: [result: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], cursor: import("@redis/client/dist/lib/RESP/types").NumberReply<number>]) => import("./AGGREGATE_WITHCURSOR").AggregateWithCursorReply;
|
|
38
38
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -41,7 +41,7 @@ declare const _default: {
|
|
|
41
41
|
};
|
|
42
42
|
aggregateWithCursor: {
|
|
43
43
|
readonly IS_READ_ONLY: false;
|
|
44
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
44
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./AGGREGATE_WITHCURSOR").FtAggregateWithCursorOptions | undefined) => void;
|
|
45
45
|
readonly transformReply: {
|
|
46
46
|
readonly 2: (reply: [result: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], cursor: import("@redis/client/dist/lib/RESP/types").NumberReply<number>]) => import("./AGGREGATE_WITHCURSOR").AggregateWithCursorReply;
|
|
47
47
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -51,7 +51,7 @@ declare const _default: {
|
|
|
51
51
|
AGGREGATE: {
|
|
52
52
|
readonly NOT_KEYED_COMMAND: true;
|
|
53
53
|
readonly IS_READ_ONLY: false;
|
|
54
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
54
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./AGGREGATE").FtAggregateOptions | undefined) => void;
|
|
55
55
|
readonly transformReply: {
|
|
56
56
|
readonly 2: (rawReply: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./AGGREGATE").AggregateReply;
|
|
57
57
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -61,7 +61,7 @@ declare const _default: {
|
|
|
61
61
|
aggregate: {
|
|
62
62
|
readonly NOT_KEYED_COMMAND: true;
|
|
63
63
|
readonly IS_READ_ONLY: false;
|
|
64
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
64
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./AGGREGATE").FtAggregateOptions | undefined) => void;
|
|
65
65
|
readonly transformReply: {
|
|
66
66
|
readonly 2: (rawReply: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./AGGREGATE").AggregateReply;
|
|
67
67
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -71,37 +71,37 @@ declare const _default: {
|
|
|
71
71
|
ALIASADD: {
|
|
72
72
|
readonly NOT_KEYED_COMMAND: true;
|
|
73
73
|
readonly IS_READ_ONLY: true;
|
|
74
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
74
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument, index: import("@redis/client").RedisArgument) => void;
|
|
75
75
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
76
76
|
};
|
|
77
77
|
aliasAdd: {
|
|
78
78
|
readonly NOT_KEYED_COMMAND: true;
|
|
79
79
|
readonly IS_READ_ONLY: true;
|
|
80
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
80
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument, index: import("@redis/client").RedisArgument) => void;
|
|
81
81
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
82
82
|
};
|
|
83
83
|
ALIASDEL: {
|
|
84
84
|
readonly NOT_KEYED_COMMAND: true;
|
|
85
85
|
readonly IS_READ_ONLY: true;
|
|
86
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
86
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument) => void;
|
|
87
87
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
88
88
|
};
|
|
89
89
|
aliasDel: {
|
|
90
90
|
readonly NOT_KEYED_COMMAND: true;
|
|
91
91
|
readonly IS_READ_ONLY: true;
|
|
92
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
92
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument) => void;
|
|
93
93
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
94
94
|
};
|
|
95
95
|
ALIASUPDATE: {
|
|
96
96
|
readonly NOT_KEYED_COMMAND: true;
|
|
97
97
|
readonly IS_READ_ONLY: true;
|
|
98
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
98
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument, index: import("@redis/client").RedisArgument) => void;
|
|
99
99
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
100
100
|
};
|
|
101
101
|
aliasUpdate: {
|
|
102
102
|
readonly NOT_KEYED_COMMAND: true;
|
|
103
103
|
readonly IS_READ_ONLY: true;
|
|
104
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
104
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, alias: import("@redis/client").RedisArgument, index: import("@redis/client").RedisArgument) => void;
|
|
105
105
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
@@ -110,7 +110,7 @@ declare const _default: {
|
|
|
110
110
|
CONFIG_GET: {
|
|
111
111
|
readonly NOT_KEYED_COMMAND: true;
|
|
112
112
|
readonly IS_READ_ONLY: true;
|
|
113
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
113
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, option: string) => void;
|
|
114
114
|
readonly transformReply: (this: void, reply: import("@redis/client/dist/lib/RESP/types").TuplesReply<[import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").NullReply]>[]) => Record<string, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").NullReply>;
|
|
115
115
|
};
|
|
116
116
|
/**
|
|
@@ -119,7 +119,7 @@ declare const _default: {
|
|
|
119
119
|
configGet: {
|
|
120
120
|
readonly NOT_KEYED_COMMAND: true;
|
|
121
121
|
readonly IS_READ_ONLY: true;
|
|
122
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
122
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, option: string) => void;
|
|
123
123
|
readonly transformReply: (this: void, reply: import("@redis/client/dist/lib/RESP/types").TuplesReply<[import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").NullReply]>[]) => Record<string, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").NullReply>;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
CONFIG_SET: {
|
|
129
129
|
readonly NOT_KEYED_COMMAND: true;
|
|
130
130
|
readonly IS_READ_ONLY: true;
|
|
131
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
131
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, property: Buffer | (string & {}) | "a" | "b", value: import("@redis/client").RedisArgument) => void;
|
|
132
132
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
133
133
|
};
|
|
134
134
|
/**
|
|
@@ -137,37 +137,37 @@ declare const _default: {
|
|
|
137
137
|
configSet: {
|
|
138
138
|
readonly NOT_KEYED_COMMAND: true;
|
|
139
139
|
readonly IS_READ_ONLY: true;
|
|
140
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
140
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, property: Buffer | (string & {}) | "a" | "b", value: import("@redis/client").RedisArgument) => void;
|
|
141
141
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
142
142
|
};
|
|
143
143
|
CREATE: {
|
|
144
144
|
readonly NOT_KEYED_COMMAND: true;
|
|
145
145
|
readonly IS_READ_ONLY: true;
|
|
146
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
146
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, schema: import("./CREATE").RediSearchSchema, options?: import("./CREATE").CreateOptions | undefined) => void;
|
|
147
147
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
148
148
|
};
|
|
149
149
|
create: {
|
|
150
150
|
readonly NOT_KEYED_COMMAND: true;
|
|
151
151
|
readonly IS_READ_ONLY: true;
|
|
152
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
152
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, schema: import("./CREATE").RediSearchSchema, options?: import("./CREATE").CreateOptions | undefined) => void;
|
|
153
153
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
154
154
|
};
|
|
155
155
|
CURSOR_DEL: {
|
|
156
156
|
readonly NOT_KEYED_COMMAND: true;
|
|
157
157
|
readonly IS_READ_ONLY: true;
|
|
158
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
158
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, cursorId: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>) => void;
|
|
159
159
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
160
160
|
};
|
|
161
161
|
cursorDel: {
|
|
162
162
|
readonly NOT_KEYED_COMMAND: true;
|
|
163
163
|
readonly IS_READ_ONLY: true;
|
|
164
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
164
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, cursorId: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>) => void;
|
|
165
165
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
166
166
|
};
|
|
167
167
|
CURSOR_READ: {
|
|
168
168
|
readonly NOT_KEYED_COMMAND: true;
|
|
169
169
|
readonly IS_READ_ONLY: true;
|
|
170
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
170
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, cursor: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, options?: import("./CURSOR_READ").FtCursorReadOptions | undefined) => void;
|
|
171
171
|
readonly transformReply: {
|
|
172
172
|
readonly 2: (reply: [result: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], cursor: import("@redis/client/dist/lib/RESP/types").NumberReply<number>]) => import("./AGGREGATE_WITHCURSOR").AggregateWithCursorReply;
|
|
173
173
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -177,7 +177,7 @@ declare const _default: {
|
|
|
177
177
|
cursorRead: {
|
|
178
178
|
readonly NOT_KEYED_COMMAND: true;
|
|
179
179
|
readonly IS_READ_ONLY: true;
|
|
180
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
180
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, cursor: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, options?: import("./CURSOR_READ").FtCursorReadOptions | undefined) => void;
|
|
181
181
|
readonly transformReply: {
|
|
182
182
|
readonly 2: (reply: [result: [total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], cursor: import("@redis/client/dist/lib/RESP/types").NumberReply<number>]) => import("./AGGREGATE_WITHCURSOR").AggregateWithCursorReply;
|
|
183
183
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -187,31 +187,31 @@ declare const _default: {
|
|
|
187
187
|
DICTADD: {
|
|
188
188
|
readonly NOT_KEYED_COMMAND: true;
|
|
189
189
|
readonly IS_READ_ONLY: true;
|
|
190
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
190
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument, term: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument) => void;
|
|
191
191
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
192
192
|
};
|
|
193
193
|
dictAdd: {
|
|
194
194
|
readonly NOT_KEYED_COMMAND: true;
|
|
195
195
|
readonly IS_READ_ONLY: true;
|
|
196
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
196
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument, term: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument) => void;
|
|
197
197
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
198
198
|
};
|
|
199
199
|
DICTDEL: {
|
|
200
200
|
readonly NOT_KEYED_COMMAND: true;
|
|
201
201
|
readonly IS_READ_ONLY: true;
|
|
202
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
202
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument, term: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument) => void;
|
|
203
203
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
204
204
|
};
|
|
205
205
|
dictDel: {
|
|
206
206
|
readonly NOT_KEYED_COMMAND: true;
|
|
207
207
|
readonly IS_READ_ONLY: true;
|
|
208
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
208
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument, term: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument) => void;
|
|
209
209
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
210
210
|
};
|
|
211
211
|
DICTDUMP: {
|
|
212
212
|
readonly NOT_KEYED_COMMAND: true;
|
|
213
213
|
readonly IS_READ_ONLY: true;
|
|
214
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
214
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument) => void;
|
|
215
215
|
readonly transformReply: {
|
|
216
216
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
217
217
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
@@ -220,7 +220,7 @@ declare const _default: {
|
|
|
220
220
|
dictDump: {
|
|
221
221
|
readonly NOT_KEYED_COMMAND: true;
|
|
222
222
|
readonly IS_READ_ONLY: true;
|
|
223
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
223
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, dictionary: import("@redis/client").RedisArgument) => void;
|
|
224
224
|
readonly transformReply: {
|
|
225
225
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
226
226
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
@@ -229,7 +229,7 @@ declare const _default: {
|
|
|
229
229
|
DROPINDEX: {
|
|
230
230
|
readonly NOT_KEYED_COMMAND: true;
|
|
231
231
|
readonly IS_READ_ONLY: true;
|
|
232
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
232
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, options?: import("./DROPINDEX").FtDropIndexOptions | undefined) => void;
|
|
233
233
|
readonly transformReply: {
|
|
234
234
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
235
235
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
@@ -238,7 +238,7 @@ declare const _default: {
|
|
|
238
238
|
dropIndex: {
|
|
239
239
|
readonly NOT_KEYED_COMMAND: true;
|
|
240
240
|
readonly IS_READ_ONLY: true;
|
|
241
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
241
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, options?: import("./DROPINDEX").FtDropIndexOptions | undefined) => void;
|
|
242
242
|
readonly transformReply: {
|
|
243
243
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
244
244
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
@@ -247,31 +247,31 @@ declare const _default: {
|
|
|
247
247
|
EXPLAIN: {
|
|
248
248
|
readonly NOT_KEYED_COMMAND: true;
|
|
249
249
|
readonly IS_READ_ONLY: true;
|
|
250
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
250
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./EXPLAIN").FtExplainOptions | undefined) => void;
|
|
251
251
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<string>;
|
|
252
252
|
};
|
|
253
253
|
explain: {
|
|
254
254
|
readonly NOT_KEYED_COMMAND: true;
|
|
255
255
|
readonly IS_READ_ONLY: true;
|
|
256
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
256
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./EXPLAIN").FtExplainOptions | undefined) => void;
|
|
257
257
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<string>;
|
|
258
258
|
};
|
|
259
259
|
EXPLAINCLI: {
|
|
260
260
|
readonly NOT_KEYED_COMMAND: true;
|
|
261
261
|
readonly IS_READ_ONLY: true;
|
|
262
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
262
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./EXPLAINCLI").FtExplainCLIOptions | undefined) => void;
|
|
263
263
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
264
264
|
};
|
|
265
265
|
explainCli: {
|
|
266
266
|
readonly NOT_KEYED_COMMAND: true;
|
|
267
267
|
readonly IS_READ_ONLY: true;
|
|
268
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
268
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./EXPLAINCLI").FtExplainCLIOptions | undefined) => void;
|
|
269
269
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
270
270
|
};
|
|
271
271
|
INFO: {
|
|
272
272
|
readonly NOT_KEYED_COMMAND: true;
|
|
273
273
|
readonly IS_READ_ONLY: true;
|
|
274
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
274
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument) => void;
|
|
275
275
|
readonly transformReply: {
|
|
276
276
|
readonly 2: (reply: any[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./INFO").InfoReply;
|
|
277
277
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -281,7 +281,7 @@ declare const _default: {
|
|
|
281
281
|
info: {
|
|
282
282
|
readonly NOT_KEYED_COMMAND: true;
|
|
283
283
|
readonly IS_READ_ONLY: true;
|
|
284
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
284
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument) => void;
|
|
285
285
|
readonly transformReply: {
|
|
286
286
|
readonly 2: (reply: any[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./INFO").InfoReply;
|
|
287
287
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -291,7 +291,7 @@ declare const _default: {
|
|
|
291
291
|
PROFILESEARCH: {
|
|
292
292
|
readonly NOT_KEYED_COMMAND: true;
|
|
293
293
|
readonly IS_READ_ONLY: true;
|
|
294
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
294
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: (import("./PROFILE_SEARCH").ProfileOptions & import("./SEARCH").FtSearchOptions) | undefined) => void;
|
|
295
295
|
readonly transformReply: {
|
|
296
296
|
readonly 2: (reply: [import("./SEARCH").SearchRawReply, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").ReplyUnion>]) => import("./PROFILE_SEARCH").ProfileReplyResp2;
|
|
297
297
|
readonly 3: (reply: import("@redis/client/dist/lib/RESP/types").ReplyUnion) => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -301,7 +301,7 @@ declare const _default: {
|
|
|
301
301
|
profileSearch: {
|
|
302
302
|
readonly NOT_KEYED_COMMAND: true;
|
|
303
303
|
readonly IS_READ_ONLY: true;
|
|
304
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
304
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: (import("./PROFILE_SEARCH").ProfileOptions & import("./SEARCH").FtSearchOptions) | undefined) => void;
|
|
305
305
|
readonly transformReply: {
|
|
306
306
|
readonly 2: (reply: [import("./SEARCH").SearchRawReply, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").ReplyUnion>]) => import("./PROFILE_SEARCH").ProfileReplyResp2;
|
|
307
307
|
readonly 3: (reply: import("@redis/client/dist/lib/RESP/types").ReplyUnion) => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -311,7 +311,7 @@ declare const _default: {
|
|
|
311
311
|
PROFILEAGGREGATE: {
|
|
312
312
|
readonly NOT_KEYED_COMMAND: true;
|
|
313
313
|
readonly IS_READ_ONLY: true;
|
|
314
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
314
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: string, query: string, options?: (import("./PROFILE_SEARCH").ProfileOptions & import("./AGGREGATE").FtAggregateOptions) | undefined) => void;
|
|
315
315
|
readonly transformReply: {
|
|
316
316
|
readonly 2: (reply: [[total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").ReplyUnion>]) => import("./PROFILE_SEARCH").ProfileReplyResp2;
|
|
317
317
|
readonly 3: (reply: import("@redis/client/dist/lib/RESP/types").ReplyUnion) => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -321,7 +321,7 @@ declare const _default: {
|
|
|
321
321
|
profileAggregate: {
|
|
322
322
|
readonly NOT_KEYED_COMMAND: true;
|
|
323
323
|
readonly IS_READ_ONLY: true;
|
|
324
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
324
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: string, query: string, options?: (import("./PROFILE_SEARCH").ProfileOptions & import("./AGGREGATE").FtAggregateOptions) | undefined) => void;
|
|
325
325
|
readonly transformReply: {
|
|
326
326
|
readonly 2: (reply: [[total: import("@redis/client/dist/lib/RESP/types").UnwrapReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").ReplyUnion>]) => import("./PROFILE_SEARCH").ProfileReplyResp2;
|
|
327
327
|
readonly 3: (reply: import("@redis/client/dist/lib/RESP/types").ReplyUnion) => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -331,7 +331,7 @@ declare const _default: {
|
|
|
331
331
|
SEARCH_NOCONTENT: {
|
|
332
332
|
readonly NOT_KEYED_COMMAND: true;
|
|
333
333
|
readonly IS_READ_ONLY: true;
|
|
334
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
334
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SEARCH").FtSearchOptions | undefined) => void;
|
|
335
335
|
readonly transformReply: {
|
|
336
336
|
readonly 2: (reply: import("./SEARCH").SearchRawReply) => import("./SEARCH_NOCONTENT").SearchNoContentReply;
|
|
337
337
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -341,7 +341,7 @@ declare const _default: {
|
|
|
341
341
|
searchNoContent: {
|
|
342
342
|
readonly NOT_KEYED_COMMAND: true;
|
|
343
343
|
readonly IS_READ_ONLY: true;
|
|
344
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
344
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SEARCH").FtSearchOptions | undefined) => void;
|
|
345
345
|
readonly transformReply: {
|
|
346
346
|
readonly 2: (reply: import("./SEARCH").SearchRawReply) => import("./SEARCH_NOCONTENT").SearchNoContentReply;
|
|
347
347
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -351,7 +351,7 @@ declare const _default: {
|
|
|
351
351
|
SEARCH: {
|
|
352
352
|
readonly NOT_KEYED_COMMAND: true;
|
|
353
353
|
readonly IS_READ_ONLY: true;
|
|
354
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
354
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SEARCH").FtSearchOptions | undefined) => void;
|
|
355
355
|
readonly transformReply: {
|
|
356
356
|
readonly 2: (reply: import("./SEARCH").SearchRawReply) => import("./SEARCH").SearchReply;
|
|
357
357
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -361,7 +361,7 @@ declare const _default: {
|
|
|
361
361
|
search: {
|
|
362
362
|
readonly NOT_KEYED_COMMAND: true;
|
|
363
363
|
readonly IS_READ_ONLY: true;
|
|
364
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
364
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SEARCH").FtSearchOptions | undefined) => void;
|
|
365
365
|
readonly transformReply: {
|
|
366
366
|
readonly 2: (reply: import("./SEARCH").SearchRawReply) => import("./SEARCH").SearchReply;
|
|
367
367
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
|
|
@@ -371,7 +371,7 @@ declare const _default: {
|
|
|
371
371
|
SPELLCHECK: {
|
|
372
372
|
readonly NOT_KEYED_COMMAND: true;
|
|
373
373
|
readonly IS_READ_ONLY: true;
|
|
374
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
374
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SPELLCHECK").FtSpellCheckOptions | undefined) => void;
|
|
375
375
|
readonly transformReply: {
|
|
376
376
|
readonly 2: (rawReply: [_: string, term: string, suggestions: [score: string, suggestion: string][]][]) => {
|
|
377
377
|
term: string;
|
|
@@ -387,7 +387,7 @@ declare const _default: {
|
|
|
387
387
|
spellCheck: {
|
|
388
388
|
readonly NOT_KEYED_COMMAND: true;
|
|
389
389
|
readonly IS_READ_ONLY: true;
|
|
390
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
390
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, query: import("@redis/client").RedisArgument, options?: import("./SPELLCHECK").FtSpellCheckOptions | undefined) => void;
|
|
391
391
|
readonly transformReply: {
|
|
392
392
|
readonly 2: (rawReply: [_: string, term: string, suggestions: [score: string, suggestion: string][]][]) => {
|
|
393
393
|
term: string;
|
|
@@ -402,27 +402,27 @@ declare const _default: {
|
|
|
402
402
|
};
|
|
403
403
|
SUGADD: {
|
|
404
404
|
readonly IS_READ_ONLY: true;
|
|
405
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
405
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, string: import("@redis/client").RedisArgument, score: number, options?: import("./SUGADD").FtSugAddOptions | undefined) => void;
|
|
406
406
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
407
407
|
};
|
|
408
408
|
sugAdd: {
|
|
409
409
|
readonly IS_READ_ONLY: true;
|
|
410
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
410
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, string: import("@redis/client").RedisArgument, score: number, options?: import("./SUGADD").FtSugAddOptions | undefined) => void;
|
|
411
411
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
412
412
|
};
|
|
413
413
|
SUGDEL: {
|
|
414
414
|
readonly IS_READ_ONLY: true;
|
|
415
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
415
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, string: import("@redis/client").RedisArgument) => void;
|
|
416
416
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>;
|
|
417
417
|
};
|
|
418
418
|
sugDel: {
|
|
419
419
|
readonly IS_READ_ONLY: true;
|
|
420
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
420
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, string: import("@redis/client").RedisArgument) => void;
|
|
421
421
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>;
|
|
422
422
|
};
|
|
423
423
|
SUGGET_WITHPAYLOADS: {
|
|
424
424
|
readonly IS_READ_ONLY: true;
|
|
425
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
425
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
426
426
|
readonly transformReply: (this: void, reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => {
|
|
427
427
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
428
428
|
payload: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -430,7 +430,7 @@ declare const _default: {
|
|
|
430
430
|
};
|
|
431
431
|
sugGetWithPayloads: {
|
|
432
432
|
readonly IS_READ_ONLY: true;
|
|
433
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
433
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
434
434
|
readonly transformReply: (this: void, reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => {
|
|
435
435
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
436
436
|
payload: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -438,7 +438,7 @@ declare const _default: {
|
|
|
438
438
|
};
|
|
439
439
|
SUGGET_WITHSCORES_WITHPAYLOADS: {
|
|
440
440
|
readonly IS_READ_ONLY: true;
|
|
441
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
441
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
442
442
|
readonly transformReply: {
|
|
443
443
|
readonly 2: (reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => {
|
|
444
444
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -454,7 +454,7 @@ declare const _default: {
|
|
|
454
454
|
};
|
|
455
455
|
sugGetWithScoresWithPayloads: {
|
|
456
456
|
readonly IS_READ_ONLY: true;
|
|
457
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
457
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
458
458
|
readonly transformReply: {
|
|
459
459
|
readonly 2: (reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => {
|
|
460
460
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -470,7 +470,7 @@ declare const _default: {
|
|
|
470
470
|
};
|
|
471
471
|
SUGGET_WITHSCORES: {
|
|
472
472
|
readonly IS_READ_ONLY: true;
|
|
473
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
473
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
474
474
|
readonly transformReply: {
|
|
475
475
|
readonly 2: (reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => {
|
|
476
476
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -484,7 +484,7 @@ declare const _default: {
|
|
|
484
484
|
};
|
|
485
485
|
sugGetWithScores: {
|
|
486
486
|
readonly IS_READ_ONLY: true;
|
|
487
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
487
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
488
488
|
readonly transformReply: {
|
|
489
489
|
readonly 2: (reply: import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => {
|
|
490
490
|
suggestion: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>;
|
|
@@ -498,28 +498,28 @@ declare const _default: {
|
|
|
498
498
|
};
|
|
499
499
|
SUGGET: {
|
|
500
500
|
readonly IS_READ_ONLY: true;
|
|
501
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
501
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
502
502
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>> | import("@redis/client/dist/lib/RESP/types").NullReply;
|
|
503
503
|
};
|
|
504
504
|
sugGet: {
|
|
505
505
|
readonly IS_READ_ONLY: true;
|
|
506
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
506
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, prefix: import("@redis/client").RedisArgument, options?: import("./SUGGET").FtSugGetOptions | undefined) => void;
|
|
507
507
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>> | import("@redis/client/dist/lib/RESP/types").NullReply;
|
|
508
508
|
};
|
|
509
509
|
SUGLEN: {
|
|
510
510
|
readonly IS_READ_ONLY: true;
|
|
511
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
511
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument) => void;
|
|
512
512
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
513
513
|
};
|
|
514
514
|
sugLen: {
|
|
515
515
|
readonly IS_READ_ONLY: true;
|
|
516
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
516
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument) => void;
|
|
517
517
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
518
518
|
};
|
|
519
519
|
SYNDUMP: {
|
|
520
520
|
readonly NOT_KEYED_COMMAND: true;
|
|
521
521
|
readonly IS_READ_ONLY: true;
|
|
522
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
522
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument) => void;
|
|
523
523
|
readonly transformReply: {
|
|
524
524
|
readonly 2: (reply: (import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>)[]) => Record<string, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>>;
|
|
525
525
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").MapReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>>;
|
|
@@ -528,7 +528,7 @@ declare const _default: {
|
|
|
528
528
|
synDump: {
|
|
529
529
|
readonly NOT_KEYED_COMMAND: true;
|
|
530
530
|
readonly IS_READ_ONLY: true;
|
|
531
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
531
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument) => void;
|
|
532
532
|
readonly transformReply: {
|
|
533
533
|
readonly 2: (reply: (import("@redis/client/dist/lib/RESP/types").BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>)[]) => Record<string, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>>;
|
|
534
534
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").MapReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>>;
|
|
@@ -537,19 +537,19 @@ declare const _default: {
|
|
|
537
537
|
SYNUPDATE: {
|
|
538
538
|
readonly NOT_KEYED_COMMAND: true;
|
|
539
539
|
readonly IS_READ_ONLY: true;
|
|
540
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
540
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, groupId: import("@redis/client").RedisArgument, terms: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./SYNUPDATE").FtSynUpdateOptions | undefined) => void;
|
|
541
541
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
542
542
|
};
|
|
543
543
|
synUpdate: {
|
|
544
544
|
readonly NOT_KEYED_COMMAND: true;
|
|
545
545
|
readonly IS_READ_ONLY: true;
|
|
546
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
546
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, groupId: import("@redis/client").RedisArgument, terms: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./SYNUPDATE").FtSynUpdateOptions | undefined) => void;
|
|
547
547
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
548
548
|
};
|
|
549
549
|
TAGVALS: {
|
|
550
550
|
readonly NOT_KEYED_COMMAND: true;
|
|
551
551
|
readonly IS_READ_ONLY: true;
|
|
552
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
552
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, fieldName: import("@redis/client").RedisArgument) => void;
|
|
553
553
|
readonly transformReply: {
|
|
554
554
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
555
555
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
@@ -558,7 +558,7 @@ declare const _default: {
|
|
|
558
558
|
tagVals: {
|
|
559
559
|
readonly NOT_KEYED_COMMAND: true;
|
|
560
560
|
readonly IS_READ_ONLY: true;
|
|
561
|
-
readonly parseCommand: (this: void, parser: import("@redis/client
|
|
561
|
+
readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, index: import("@redis/client").RedisArgument, fieldName: import("@redis/client").RedisArgument) => void;
|
|
562
562
|
readonly transformReply: {
|
|
563
563
|
readonly 2: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
|
564
564
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").SetReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redis/search",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/lib/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test-sourcemap": "mocha -r ts-node/register/transpile-only './lib/**/*.spec.ts'"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@redis/client": "^5.0
|
|
16
|
+
"@redis/client": "^5.1.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@redis/test-utils": "*"
|