@redis/json 2.0.0-next.2 → 5.0.0-next.6
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 +10 -14
- package/dist/lib/commands/ARRAPPEND.d.ts +3 -2
- package/dist/lib/commands/ARRAPPEND.d.ts.map +1 -0
- package/dist/lib/commands/ARRAPPEND.js +6 -10
- package/dist/lib/commands/ARRAPPEND.js.map +1 -0
- package/dist/lib/commands/ARRINDEX.d.ts +3 -2
- package/dist/lib/commands/ARRINDEX.d.ts.map +1 -0
- package/dist/lib/commands/ARRINDEX.js +7 -6
- package/dist/lib/commands/ARRINDEX.js.map +1 -0
- package/dist/lib/commands/ARRINSERT.d.ts +3 -2
- package/dist/lib/commands/ARRINSERT.d.ts.map +1 -0
- package/dist/lib/commands/ARRINSERT.js +6 -11
- package/dist/lib/commands/ARRINSERT.js.map +1 -0
- package/dist/lib/commands/ARRLEN.d.ts +3 -2
- package/dist/lib/commands/ARRLEN.d.ts.map +1 -0
- package/dist/lib/commands/ARRLEN.js +5 -5
- package/dist/lib/commands/ARRLEN.js.map +1 -0
- package/dist/lib/commands/ARRPOP.d.ts +3 -2
- package/dist/lib/commands/ARRPOP.d.ts.map +1 -0
- package/dist/lib/commands/ARRPOP.js +6 -6
- package/dist/lib/commands/ARRPOP.js.map +1 -0
- package/dist/lib/commands/ARRTRIM.d.ts +3 -2
- package/dist/lib/commands/ARRTRIM.d.ts.map +1 -0
- package/dist/lib/commands/ARRTRIM.js +5 -3
- package/dist/lib/commands/ARRTRIM.js.map +1 -0
- package/dist/lib/commands/CLEAR.d.ts +3 -2
- package/dist/lib/commands/CLEAR.d.ts.map +1 -0
- package/dist/lib/commands/CLEAR.js +5 -5
- package/dist/lib/commands/CLEAR.js.map +1 -0
- package/dist/lib/commands/DEBUG_MEMORY.d.ts +3 -2
- package/dist/lib/commands/DEBUG_MEMORY.d.ts.map +1 -0
- package/dist/lib/commands/DEBUG_MEMORY.js +5 -5
- package/dist/lib/commands/DEBUG_MEMORY.js.map +1 -0
- package/dist/lib/commands/DEL.d.ts +3 -2
- package/dist/lib/commands/DEL.d.ts.map +1 -0
- package/dist/lib/commands/DEL.js +5 -5
- package/dist/lib/commands/DEL.js.map +1 -0
- package/dist/lib/commands/FORGET.d.ts +3 -2
- package/dist/lib/commands/FORGET.d.ts.map +1 -0
- package/dist/lib/commands/FORGET.js +5 -5
- package/dist/lib/commands/FORGET.js.map +1 -0
- package/dist/lib/commands/GET.d.ts +3 -2
- package/dist/lib/commands/GET.d.ts.map +1 -0
- package/dist/lib/commands/GET.js +5 -6
- package/dist/lib/commands/GET.js.map +1 -0
- package/dist/lib/commands/MERGE.d.ts +3 -2
- package/dist/lib/commands/MERGE.d.ts.map +1 -0
- package/dist/lib/commands/MERGE.js +5 -8
- package/dist/lib/commands/MERGE.js.map +1 -0
- package/dist/lib/commands/MGET.d.ts +3 -2
- package/dist/lib/commands/MGET.d.ts.map +1 -0
- package/dist/lib/commands/MGET.js +5 -7
- package/dist/lib/commands/MGET.js.map +1 -0
- package/dist/lib/commands/MSET.d.ts +3 -2
- package/dist/lib/commands/MSET.d.ts.map +1 -0
- package/dist/lib/commands/MSET.js +5 -10
- package/dist/lib/commands/MSET.js.map +1 -0
- package/dist/lib/commands/NUMINCRBY.d.ts +3 -2
- package/dist/lib/commands/NUMINCRBY.d.ts.map +1 -0
- package/dist/lib/commands/NUMINCRBY.js +5 -3
- package/dist/lib/commands/NUMINCRBY.js.map +1 -0
- package/dist/lib/commands/NUMMULTBY.d.ts +3 -2
- package/dist/lib/commands/NUMMULTBY.d.ts.map +1 -0
- package/dist/lib/commands/NUMMULTBY.js +5 -3
- package/dist/lib/commands/NUMMULTBY.js.map +1 -0
- package/dist/lib/commands/OBJKEYS.d.ts +3 -2
- package/dist/lib/commands/OBJKEYS.d.ts.map +1 -0
- package/dist/lib/commands/OBJKEYS.js +5 -5
- package/dist/lib/commands/OBJKEYS.js.map +1 -0
- package/dist/lib/commands/OBJLEN.d.ts +3 -2
- package/dist/lib/commands/OBJLEN.d.ts.map +1 -0
- package/dist/lib/commands/OBJLEN.js +5 -5
- package/dist/lib/commands/OBJLEN.js.map +1 -0
- package/dist/lib/commands/RESP.d.ts +9 -4
- package/dist/lib/commands/RESP.d.ts.map +1 -0
- package/dist/lib/commands/RESP.js +12 -10
- package/dist/lib/commands/RESP.js.map +1 -0
- package/dist/lib/commands/SET.d.ts +3 -2
- package/dist/lib/commands/SET.d.ts.map +1 -0
- package/dist/lib/commands/SET.js +8 -7
- package/dist/lib/commands/SET.js.map +1 -0
- package/dist/lib/commands/STRAPPEND.d.ts +3 -2
- package/dist/lib/commands/STRAPPEND.d.ts.map +1 -0
- package/dist/lib/commands/STRAPPEND.js +6 -6
- package/dist/lib/commands/STRAPPEND.js.map +1 -0
- package/dist/lib/commands/STRLEN.d.ts +3 -2
- package/dist/lib/commands/STRLEN.d.ts.map +1 -0
- package/dist/lib/commands/STRLEN.js +5 -5
- package/dist/lib/commands/STRLEN.js.map +1 -0
- package/dist/lib/commands/TOGGLE.d.ts +3 -2
- package/dist/lib/commands/TOGGLE.d.ts.map +1 -0
- package/dist/lib/commands/TOGGLE.js +5 -3
- package/dist/lib/commands/TOGGLE.js.map +1 -0
- package/dist/lib/commands/TYPE.d.ts +6 -5
- package/dist/lib/commands/TYPE.d.ts.map +1 -0
- package/dist/lib/commands/TYPE.js +10 -8
- package/dist/lib/commands/TYPE.js.map +1 -0
- package/dist/lib/commands/index.d.ts +51 -96
- package/dist/lib/commands/index.d.ts.map +1 -0
- package/dist/lib/commands/index.js +1 -0
- package/dist/lib/commands/index.js.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.js.map +1 -0
- package/package.json +5 -2
|
@@ -1,192 +1,162 @@
|
|
|
1
1
|
import { BlobStringReply, NullReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
ARRAPPEND: {
|
|
4
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
5
4
|
readonly IS_READ_ONLY: false;
|
|
6
|
-
readonly
|
|
5
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, ...jsons: RedisJSON[]) => void;
|
|
7
6
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
8
7
|
};
|
|
9
8
|
arrAppend: {
|
|
10
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
11
9
|
readonly IS_READ_ONLY: false;
|
|
12
|
-
readonly
|
|
10
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, ...jsons: RedisJSON[]) => void;
|
|
13
11
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
14
12
|
};
|
|
15
13
|
ARRINDEX: {
|
|
16
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
17
14
|
readonly IS_READ_ONLY: true;
|
|
18
|
-
readonly
|
|
15
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, options?: import("./ARRINDEX").JsonArrIndexOptions | undefined) => void;
|
|
19
16
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
20
17
|
};
|
|
21
18
|
arrIndex: {
|
|
22
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
23
19
|
readonly IS_READ_ONLY: true;
|
|
24
|
-
readonly
|
|
20
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, options?: import("./ARRINDEX").JsonArrIndexOptions | undefined) => void;
|
|
25
21
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
26
22
|
};
|
|
27
23
|
ARRINSERT: {
|
|
28
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
29
24
|
readonly IS_READ_ONLY: false;
|
|
30
|
-
readonly
|
|
25
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, index: number, json: RedisJSON, ...jsons: RedisJSON[]) => void;
|
|
31
26
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
32
27
|
};
|
|
33
28
|
arrInsert: {
|
|
34
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
35
29
|
readonly IS_READ_ONLY: false;
|
|
36
|
-
readonly
|
|
30
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, index: number, json: RedisJSON, ...jsons: RedisJSON[]) => void;
|
|
37
31
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
38
32
|
};
|
|
39
33
|
ARRLEN: {
|
|
40
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
41
34
|
readonly IS_READ_ONLY: true;
|
|
42
|
-
readonly
|
|
35
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./ARRLEN").JsonArrLenOptions | undefined) => void;
|
|
43
36
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
44
37
|
};
|
|
45
38
|
arrLen: {
|
|
46
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
47
39
|
readonly IS_READ_ONLY: true;
|
|
48
|
-
readonly
|
|
40
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./ARRLEN").JsonArrLenOptions | undefined) => void;
|
|
49
41
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
50
42
|
};
|
|
51
43
|
ARRPOP: {
|
|
52
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
53
44
|
readonly IS_READ_ONLY: false;
|
|
54
|
-
readonly
|
|
45
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./ARRPOP").RedisArrPopOptions | undefined) => void;
|
|
55
46
|
readonly transformReply: (this: void, reply: NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>) => string | number | boolean | Date | {
|
|
56
47
|
[key: string]: RedisJSON;
|
|
57
48
|
[key: number]: RedisJSON;
|
|
58
49
|
} | NullReply | (RedisJSON | NullReply)[] | null;
|
|
59
50
|
};
|
|
60
51
|
arrPop: {
|
|
61
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
62
52
|
readonly IS_READ_ONLY: false;
|
|
63
|
-
readonly
|
|
53
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./ARRPOP").RedisArrPopOptions | undefined) => void;
|
|
64
54
|
readonly transformReply: (this: void, reply: NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>) => string | number | boolean | Date | {
|
|
65
55
|
[key: string]: RedisJSON;
|
|
66
56
|
[key: number]: RedisJSON;
|
|
67
57
|
} | NullReply | (RedisJSON | NullReply)[] | null;
|
|
68
58
|
};
|
|
69
59
|
ARRTRIM: {
|
|
70
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
71
60
|
readonly IS_READ_ONLY: false;
|
|
72
|
-
readonly
|
|
61
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, start: number, stop: number) => void;
|
|
73
62
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
74
63
|
};
|
|
75
64
|
arrTrim: {
|
|
76
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
77
65
|
readonly IS_READ_ONLY: false;
|
|
78
|
-
readonly
|
|
66
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, start: number, stop: number) => void;
|
|
79
67
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
80
68
|
};
|
|
81
69
|
CLEAR: {
|
|
82
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
83
70
|
readonly IS_READ_ONLY: false;
|
|
84
|
-
readonly
|
|
71
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./CLEAR").JsonClearOptions | undefined) => void;
|
|
85
72
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
86
73
|
};
|
|
87
74
|
clear: {
|
|
88
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
89
75
|
readonly IS_READ_ONLY: false;
|
|
90
|
-
readonly
|
|
76
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./CLEAR").JsonClearOptions | undefined) => void;
|
|
91
77
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
92
78
|
};
|
|
93
79
|
DEBUG_MEMORY: {
|
|
94
|
-
readonly FIRST_KEY_INDEX: 2;
|
|
95
80
|
readonly IS_READ_ONLY: false;
|
|
96
|
-
readonly
|
|
81
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./DEBUG_MEMORY").JsonDebugMemoryOptions | undefined) => void;
|
|
97
82
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
98
83
|
};
|
|
99
84
|
debugMemory: {
|
|
100
|
-
readonly FIRST_KEY_INDEX: 2;
|
|
101
85
|
readonly IS_READ_ONLY: false;
|
|
102
|
-
readonly
|
|
86
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./DEBUG_MEMORY").JsonDebugMemoryOptions | undefined) => void;
|
|
103
87
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
104
88
|
};
|
|
105
89
|
DEL: {
|
|
106
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
107
90
|
readonly IS_READ_ONLY: false;
|
|
108
|
-
readonly
|
|
91
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./DEL").JsonDelOptions | undefined) => void;
|
|
109
92
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
110
93
|
};
|
|
111
94
|
del: {
|
|
112
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
113
95
|
readonly IS_READ_ONLY: false;
|
|
114
|
-
readonly
|
|
96
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./DEL").JsonDelOptions | undefined) => void;
|
|
115
97
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
116
98
|
};
|
|
117
99
|
FORGET: {
|
|
118
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
119
100
|
readonly IS_READ_ONLY: false;
|
|
120
|
-
readonly
|
|
101
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./FORGET").JsonForgetOptions | undefined) => void;
|
|
121
102
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
122
103
|
};
|
|
123
104
|
forget: {
|
|
124
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
125
105
|
readonly IS_READ_ONLY: false;
|
|
126
|
-
readonly
|
|
106
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./FORGET").JsonForgetOptions | undefined) => void;
|
|
127
107
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number>;
|
|
128
108
|
};
|
|
129
109
|
GET: {
|
|
130
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
131
110
|
readonly IS_READ_ONLY: false;
|
|
132
|
-
readonly
|
|
111
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./GET").JsonGetOptions | undefined) => void;
|
|
133
112
|
readonly transformReply: typeof transformRedisJsonNullReply;
|
|
134
113
|
};
|
|
135
114
|
get: {
|
|
136
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
137
115
|
readonly IS_READ_ONLY: false;
|
|
138
|
-
readonly
|
|
116
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./GET").JsonGetOptions | undefined) => void;
|
|
139
117
|
readonly transformReply: typeof transformRedisJsonNullReply;
|
|
140
118
|
};
|
|
141
119
|
MERGE: {
|
|
142
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
143
120
|
readonly IS_READ_ONLY: false;
|
|
144
|
-
readonly
|
|
121
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, value: RedisJSON) => void;
|
|
145
122
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
146
123
|
};
|
|
147
124
|
merge: {
|
|
148
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
149
125
|
readonly IS_READ_ONLY: false;
|
|
150
|
-
readonly
|
|
126
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, value: RedisJSON) => void;
|
|
151
127
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
152
128
|
};
|
|
153
129
|
MGET: {
|
|
154
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
155
130
|
readonly IS_READ_ONLY: true;
|
|
156
|
-
readonly
|
|
131
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, keys: import("@redis/client/dist/lib/RESP/types").RedisArgument[], path: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
157
132
|
readonly transformReply: (this: void, reply: (NullReply | BlobStringReply<string>)[]) => (RedisJSON | NullReply)[];
|
|
158
133
|
};
|
|
159
134
|
mGet: {
|
|
160
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
161
135
|
readonly IS_READ_ONLY: true;
|
|
162
|
-
readonly
|
|
136
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, keys: import("@redis/client/dist/lib/RESP/types").RedisArgument[], path: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
163
137
|
readonly transformReply: (this: void, reply: (NullReply | BlobStringReply<string>)[]) => (RedisJSON | NullReply)[];
|
|
164
138
|
};
|
|
165
139
|
MSET: {
|
|
166
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
167
140
|
readonly IS_READ_ONLY: false;
|
|
168
|
-
readonly
|
|
141
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, items: import("./MSET").JsonMSetItem[]) => void;
|
|
169
142
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
170
143
|
};
|
|
171
144
|
mSet: {
|
|
172
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
173
145
|
readonly IS_READ_ONLY: false;
|
|
174
|
-
readonly
|
|
146
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, items: import("./MSET").JsonMSetItem[]) => void;
|
|
175
147
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
176
148
|
};
|
|
177
149
|
NUMINCRBY: {
|
|
178
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
179
150
|
readonly IS_READ_ONLY: false;
|
|
180
|
-
readonly
|
|
151
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, by: number) => void;
|
|
181
152
|
readonly transformReply: {
|
|
182
153
|
readonly 2: (reply: UnwrapReply<BlobStringReply<string>>) => number | (number | null)[];
|
|
183
154
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
184
155
|
};
|
|
185
156
|
};
|
|
186
157
|
numIncrBy: {
|
|
187
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
188
158
|
readonly IS_READ_ONLY: false;
|
|
189
|
-
readonly
|
|
159
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, by: number) => void;
|
|
190
160
|
readonly transformReply: {
|
|
191
161
|
readonly 2: (reply: UnwrapReply<BlobStringReply<string>>) => number | (number | null)[];
|
|
192
162
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
@@ -196,9 +166,8 @@ declare const _default: {
|
|
|
196
166
|
* @deprecated since JSON version 2.0
|
|
197
167
|
*/
|
|
198
168
|
NUMMULTBY: {
|
|
199
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
200
169
|
readonly IS_READ_ONLY: false;
|
|
201
|
-
readonly
|
|
170
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, by: number) => void;
|
|
202
171
|
readonly transformReply: {
|
|
203
172
|
readonly 2: (reply: UnwrapReply<BlobStringReply<string>>) => number | (number | null)[];
|
|
204
173
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
@@ -208,102 +177,87 @@ declare const _default: {
|
|
|
208
177
|
* @deprecated since JSON version 2.0
|
|
209
178
|
*/
|
|
210
179
|
numMultBy: {
|
|
211
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
212
180
|
readonly IS_READ_ONLY: false;
|
|
213
|
-
readonly
|
|
181
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, by: number) => void;
|
|
214
182
|
readonly transformReply: {
|
|
215
183
|
readonly 2: (reply: UnwrapReply<BlobStringReply<string>>) => number | (number | null)[];
|
|
216
184
|
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
217
185
|
};
|
|
218
186
|
};
|
|
219
187
|
OBJKEYS: {
|
|
220
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
221
188
|
readonly IS_READ_ONLY: false;
|
|
222
|
-
readonly
|
|
189
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./OBJKEYS").JsonObjKeysOptions | undefined) => void;
|
|
223
190
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>>>;
|
|
224
191
|
};
|
|
225
192
|
objKeys: {
|
|
226
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
227
193
|
readonly IS_READ_ONLY: false;
|
|
228
|
-
readonly
|
|
194
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./OBJKEYS").JsonObjKeysOptions | undefined) => void;
|
|
229
195
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>>>;
|
|
230
196
|
};
|
|
231
197
|
OBJLEN: {
|
|
232
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
233
198
|
readonly IS_READ_ONLY: true;
|
|
234
|
-
readonly
|
|
199
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./OBJLEN").JsonObjLenOptions | undefined) => void;
|
|
235
200
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
236
201
|
};
|
|
237
202
|
objLen: {
|
|
238
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
239
203
|
readonly IS_READ_ONLY: true;
|
|
240
|
-
readonly
|
|
204
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./OBJLEN").JsonObjLenOptions | undefined) => void;
|
|
241
205
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
242
206
|
};
|
|
243
207
|
SET: {
|
|
244
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
245
208
|
readonly IS_READ_ONLY: false;
|
|
246
|
-
readonly
|
|
209
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, options?: import("./SET").JsonSetOptions | undefined) => void;
|
|
247
210
|
readonly transformReply: () => NullReply | import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
248
211
|
};
|
|
249
212
|
set: {
|
|
250
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
251
213
|
readonly IS_READ_ONLY: false;
|
|
252
|
-
readonly
|
|
214
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument, json: RedisJSON, options?: import("./SET").JsonSetOptions | undefined) => void;
|
|
253
215
|
readonly transformReply: () => NullReply | import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
254
216
|
};
|
|
255
217
|
STRAPPEND: {
|
|
256
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
257
218
|
readonly IS_READ_ONLY: false;
|
|
258
|
-
readonly
|
|
219
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, append: string, options?: import("./STRAPPEND").JsonStrAppendOptions | undefined) => void;
|
|
259
220
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
260
221
|
};
|
|
261
222
|
strAppend: {
|
|
262
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
263
223
|
readonly IS_READ_ONLY: false;
|
|
264
|
-
readonly
|
|
224
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, append: string, options?: import("./STRAPPEND").JsonStrAppendOptions | undefined) => void;
|
|
265
225
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
266
226
|
};
|
|
267
227
|
STRLEN: {
|
|
268
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
269
228
|
readonly IS_READ_ONLY: true;
|
|
270
|
-
readonly
|
|
229
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./STRLEN").JsonStrLenOptions | undefined) => void;
|
|
271
230
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
272
231
|
};
|
|
273
232
|
strLen: {
|
|
274
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
275
233
|
readonly IS_READ_ONLY: true;
|
|
276
|
-
readonly
|
|
234
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./STRLEN").JsonStrLenOptions | undefined) => void;
|
|
277
235
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
278
236
|
};
|
|
279
237
|
TOGGLE: {
|
|
280
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
281
238
|
readonly IS_READ_ONLY: false;
|
|
282
|
-
readonly
|
|
239
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
283
240
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
284
241
|
};
|
|
285
242
|
toggle: {
|
|
286
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
287
243
|
readonly IS_READ_ONLY: false;
|
|
288
|
-
readonly
|
|
244
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, path: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
289
245
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply | import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number> | NullReply>;
|
|
290
246
|
};
|
|
291
247
|
TYPE: {
|
|
292
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
293
248
|
readonly IS_READ_ONLY: true;
|
|
294
|
-
readonly
|
|
249
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./TYPE").JsonTypeOptions | undefined) => void;
|
|
295
250
|
readonly transformReply: {
|
|
296
|
-
readonly 2: () => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>>;
|
|
297
|
-
readonly 3: () =>
|
|
251
|
+
readonly 2: () => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>;
|
|
252
|
+
readonly 3: (reply: (NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>)[]) => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>;
|
|
298
253
|
};
|
|
299
254
|
};
|
|
300
255
|
type: {
|
|
301
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
302
256
|
readonly IS_READ_ONLY: true;
|
|
303
|
-
readonly
|
|
257
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./TYPE").JsonTypeOptions | undefined) => void;
|
|
304
258
|
readonly transformReply: {
|
|
305
|
-
readonly 2: () => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<BlobStringReply<string>>;
|
|
306
|
-
readonly 3: () =>
|
|
259
|
+
readonly 2: () => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>;
|
|
260
|
+
readonly 3: (reply: (NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>)[]) => NullReply | BlobStringReply<string> | import("@redis/client/dist/lib/RESP/types").ArrayReply<NullReply | BlobStringReply<string>>;
|
|
307
261
|
};
|
|
308
262
|
};
|
|
309
263
|
};
|
|
@@ -315,3 +269,4 @@ export type RedisJSON = null | boolean | number | string | Date | Array<RedisJSO
|
|
|
315
269
|
export declare function transformRedisJsonArgument(json: RedisJSON): string;
|
|
316
270
|
export declare function transformRedisJsonReply(json: BlobStringReply): RedisJSON;
|
|
317
271
|
export declare function transformRedisJsonNullReply(json: NullReply | BlobStringReply): NullReply | RedisJSON;
|
|
272
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0D1F;;OAEG;;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AArCL,wBAuDE;AAEF,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,GAAG;IACnF,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAElE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,eAAe,GAAG,SAAS,CAExE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,CAEpG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,0DAAkC;AAClC,4DAAoC;AACpC,sDAA8B;AAC9B,sDAA8B;AAC9B,wDAAgC;AAChC,oDAA4B;AAC5B,kEAA0C;AAC1C,gDAAwB;AACxB,sDAA8B;AAC9B,gDAAwB;AACxB,oDAA4B;AAC5B,kDAA0B;AAC1B,kDAA0B;AAC1B,4DAAoC;AACpC,4DAAoC;AACpC,wDAAgC;AAChC,sDAA8B;AAC9B,6BAA6B;AAC7B,gDAAwB;AACxB,4DAAoC;AACpC,sDAA8B;AAC9B,sDAA8B;AAC9B,kDAA0B;AAC1B,+FAAmF;AAEnF,kBAAe;IACb,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,QAAQ,EAAR,kBAAQ;IACR,QAAQ,EAAE,kBAAQ;IAClB,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,YAAY,EAAZ,sBAAY;IACZ,WAAW,EAAE,sBAAY;IACzB,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB;;OAEG;IACH,SAAS,EAAT,mBAAS;IACT;;OAEG;IACH,SAAS,EAAE,mBAAS;IACpB,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,QAAQ;IACR,cAAc;IACd,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;CACX,CAAC;AAOF,SAAgB,0BAA0B,CAAC,IAAe;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAFD,gEAEC;AAED,SAAgB,uBAAuB,CAAC,IAAqB;IAC3D,OAAO,IAAI,CAAC,KAAK,CAAE,IAA4C,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC9E,CAAC;AAFD,0DAEC;AAED,SAAgB,2BAA2B,CAAC,IAAiC;IAC3E,OAAO,IAAA,kCAAW,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC;AAFD,kEAEC"}
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -6,3 +6,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var commands_1 = require("./commands");
|
|
8
8
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(commands_1).default; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":";;;;;;AAAA,uCAAqC;AAA5B,oHAAA,OAAO,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redis/json",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-next.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/lib/index.d.ts",
|
|
@@ -12,11 +12,14 @@
|
|
|
12
12
|
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@redis/client": "^
|
|
15
|
+
"@redis/client": "^5.0.0-next.6"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@redis/test-utils": "*"
|
|
19
19
|
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">= 18"
|
|
22
|
+
},
|
|
20
23
|
"repository": {
|
|
21
24
|
"type": "git",
|
|
22
25
|
"url": "git://github.com/redis/node-redis.git"
|