🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@redis/json

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redis/json - npm Package Compare versions

Comparing version
5.12.1
to
6.0.0
+0
-10
dist/lib/commands/ARRAPPEND.d.ts

@@ -6,12 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, json: RedisJSON, ...jsons: Array<RedisJSON>) => void;

@@ -18,0 +8,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRAPPEND.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRAPPEND.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;;;IAI7G;;;;;;;;;OASG;gDAEO,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,MAAM,SAAS,CAAC;mCAUkB,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AA3BjG,wBA4B6B"}
{"version":3,"file":"ARRAPPEND.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRAPPEND.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;;;gDAKnG,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,MAAM,SAAS,CAAC;mCAUkB,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAjBjG,wBAkB6B"}

@@ -6,12 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
parseCommand(parser, key, path, json, ...jsons) {

@@ -18,0 +8,0 @@ parser.push('JSON.ARRAPPEND');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRAPPEND.js","sourceRoot":"","sources":["../../../lib/commands/ARRAPPEND.ts"],"names":[],"mappings":";;AACA,+FAA6G;AAG7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,GAAG,KAAuB;QAE1B,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"ARRAPPEND.js","sourceRoot":"","sources":["../../../lib/commands/ARRAPPEND.ts"],"names":[],"mappings":";;AACA,+FAA6G;AAG7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,GAAG,KAAuB;QAE1B,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -12,14 +12,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, json: RedisJSON, options?: JsonArrIndexOptions) => void;

@@ -26,0 +14,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRINDEX.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRINDEX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAC/G,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;;;IAIC;;;;;;;;;;;OAWG;gDAEO,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,mBAAmB;mCAce,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAjCjG,wBAkC6B"}
{"version":3,"file":"ARRINDEX.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRINDEX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAC/G,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;;;gDAKW,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,mBAAmB;mCAce,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AArBjG,wBAsB6B"}

@@ -6,14 +6,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
parseCommand(parser, key, path, json, options) {

@@ -20,0 +8,0 @@ parser.push('JSON.ARRINDEX');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRINDEX.js","sourceRoot":"","sources":["../../../lib/commands/ARRINDEX.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAS7G,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,OAA6B;QAE7B,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,EAAE,KAAK,EAAE,CAAC;YACnB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;YAE5C,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"ARRINDEX.js","sourceRoot":"","sources":["../../../lib/commands/ARRINDEX.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAS7G,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,OAA6B;QAE7B,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,EAAE,KAAK,EAAE,CAAC;YACnB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;YAE5C,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -6,13 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, index: number, json: RedisJSON, ...jsons: Array<RedisJSON>) => void;

@@ -19,0 +8,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRINSERT.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRINSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAC/G,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;;;IAI3G;;;;;;;;;;OAUG;gDAEO,aAAa,OAChB,aAAa,QACZ,aAAa,SACZ,MAAM,QACP,SAAS,YACL,MAAM,SAAS,CAAC;mCAUkB,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AA7BjG,wBA8B6B"}
{"version":3,"file":"ARRINSERT.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRINSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAC/G,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;;;gDAKjG,aAAa,OAChB,aAAa,QACZ,aAAa,SACZ,MAAM,QACP,SAAS,YACL,MAAM,SAAS,CAAC;mCAUkB,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAlBjG,wBAmB6B"}

@@ -6,13 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
parseCommand(parser, key, path, index, json, ...jsons) {

@@ -19,0 +8,0 @@ parser.push('JSON.ARRINSERT');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRINSERT.js","sourceRoot":"","sources":["../../../lib/commands/ARRINSERT.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAE7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;;OAUG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,KAAa,EACb,IAAe,EACf,GAAG,KAAuB;QAE1B,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEtE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"ARRINSERT.js","sourceRoot":"","sources":["../../../lib/commands/ARRINSERT.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAE7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,KAAa,EACb,IAAe,EACf,GAAG,KAAuB;QAE1B,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEtE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonArrLenOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAOrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAlBjG,wBAmB6B"}
{"version":3,"file":"ARRLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAOrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AATjG,wBAU6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.ARRLEN');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRLEN.js","sourceRoot":"","sources":["../../../lib/commands/ARRLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"ARRLEN.js","sourceRoot":"","sources":["../../../lib/commands/ARRLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -9,12 +9,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: RedisArrPopOptions) => void;

@@ -21,0 +11,0 @@ readonly transformReply: (this: void, reply: NullReply | BlobStringReply | ArrayReply<NullReply | BlobStringReply>) => string | number | boolean | Date | {

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRPOP.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRPOP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAwB,MAAM,mCAAmC,CAAC;AAGhI,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;IAIC;;;;;;;;;OASG;gDACkB,aAAa,OAAO,aAAa,YAAY,kBAAkB;iDAY9D,SAAS,GAAG,eAAe,GAAG,WAAW,SAAS,GAAG,eAAe,CAAC;;;;;AAxB7F,wBA6B6B"}
{"version":3,"file":"ARRPOP.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRPOP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAwB,MAAM,mCAAmC,CAAC;AAGhI,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,kBAAkB;iDAY9D,SAAS,GAAG,eAAe,GAAG,WAAW,SAAS,GAAG,eAAe,CAAC;;;;;AAd7F,wBAmB6B"}

@@ -6,12 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
parseCommand(parser, key, options) {

@@ -18,0 +8,0 @@ parser.push('JSON.ARRPOP');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRPOP.js","sourceRoot":"","sources":["../../../lib/commands/ARRPOP.ts"],"names":[],"mappings":";;AAEA,+FAAiH;AAOjH,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAE1B,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;gBAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,CAAC,KAA4E;QACzF,OAAO,IAAA,mCAAY,EAAC,KAAK,CAAC,CAAC,CAAC;YACzB,KAA8C,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kDAA2B,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChG,IAAA,kDAA2B,EAAC,KAAK,CAAC,CAAC;IACvC,CAAC;CACyB,CAAC"}
{"version":3,"file":"ARRPOP.js","sourceRoot":"","sources":["../../../lib/commands/ARRPOP.ts"],"names":[],"mappings":";;AAEA,+FAAiH;AAOjH,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAE1B,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;gBAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,CAAC,KAA4E;QACzF,OAAO,IAAA,mCAAY,EAAC,KAAK,CAAC,CAAC,CAAC;YACzB,KAA8C,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kDAA2B,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChG,IAAA,kDAA2B,EAAC,KAAK,CAAC,CAAC;IACvC,CAAC;CACyB,CAAC"}

@@ -5,12 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, start: number, stop: number) => void;

@@ -17,0 +7,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRTRIM.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRTRIM.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;;;IAI7G;;;;;;;;;OASG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa,SAAS,MAAM,QAAQ,MAAM;mCAK1D,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAjBjG,wBAkB6B"}
{"version":3,"file":"ARRTRIM.d.ts","sourceRoot":"","sources":["../../../lib/commands/ARRTRIM.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;;;gDAIxF,aAAa,OAAO,aAAa,QAAQ,aAAa,SAAS,MAAM,QAAQ,MAAM;mCAK1D,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAPjG,wBAQ6B"}

@@ -5,12 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
parseCommand(parser, key, path, start, stop) {

@@ -17,0 +7,0 @@ parser.push('JSON.ARRTRIM');

@@ -1,1 +0,1 @@

{"version":3,"file":"ARRTRIM.js","sourceRoot":"","sources":["../../../lib/commands/ARRTRIM.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,KAAa,EAAE,IAAY;QACtG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IACvD,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"ARRTRIM.js","sourceRoot":"","sources":["../../../lib/commands/ARRTRIM.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,KAAa,EAAE,IAAY;QACtG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IACvD,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonClearOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"CLEAR.d.ts","sourceRoot":"","sources":["../../../lib/commands/CLEAR.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,gBAAgB;mCAQpC,WAAW;;AAnB3D,wBAoB6B"}
{"version":3,"file":"CLEAR.d.ts","sourceRoot":"","sources":["../../../lib/commands/CLEAR.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,gBAAgB;mCAQpC,WAAW;;AAV3D,wBAW6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.CLEAR');

@@ -1,1 +0,1 @@

{"version":3,"file":"CLEAR.js","sourceRoot":"","sources":["../../../lib/commands/CLEAR.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA0B;QAChF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}
{"version":3,"file":"CLEAR.js","sourceRoot":"","sources":["../../../lib/commands/CLEAR.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA0B;QAChF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonDebugMemoryOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"DEBUG_MEMORY.d.ts","sourceRoot":"","sources":["../../../lib/commands/DEBUG_MEMORY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,sBAAsB;mCAQ1C,WAAW;;AAnB3D,wBAoB6B"}
{"version":3,"file":"DEBUG_MEMORY.d.ts","sourceRoot":"","sources":["../../../lib/commands/DEBUG_MEMORY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,sBAAsB;mCAQ1C,WAAW;;AAV3D,wBAW6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.DEBUG', 'MEMORY');

@@ -1,1 +0,1 @@

{"version":3,"file":"DEBUG_MEMORY.js","sourceRoot":"","sources":["../../../lib/commands/DEBUG_MEMORY.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAgC;QACtF,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACpC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}
{"version":3,"file":"DEBUG_MEMORY.js","sourceRoot":"","sources":["../../../lib/commands/DEBUG_MEMORY.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAgC;QACtF,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACpC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonDelOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"DEL.d.ts","sourceRoot":"","sources":["../../../lib/commands/DEL.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAA;CACrB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,cAAc;mCAQlC,WAAW;;AAnB3D,wBAoB6B"}
{"version":3,"file":"DEL.d.ts","sourceRoot":"","sources":["../../../lib/commands/DEL.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAA;CACrB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,cAAc;mCAQlC,WAAW;;AAV3D,wBAW6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.DEL');

@@ -1,1 +0,1 @@

{"version":3,"file":"DEL.js","sourceRoot":"","sources":["../../../lib/commands/DEL.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAwB;QAC9E,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}
{"version":3,"file":"DEL.js","sourceRoot":"","sources":["../../../lib/commands/DEL.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAwB;QAC9E,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonForgetOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"FORGET.d.ts","sourceRoot":"","sources":["../../../lib/commands/FORGET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAQrC,WAAW;;AAnB3D,wBAoB6B"}
{"version":3,"file":"FORGET.d.ts","sourceRoot":"","sources":["../../../lib/commands/FORGET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAExF,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAQrC,WAAW;;AAV3D,wBAW6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.FORGET');

@@ -1,1 +0,1 @@

{"version":3,"file":"FORGET.js","sourceRoot":"","sources":["../../../lib/commands/FORGET.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}
{"version":3,"file":"FORGET.js","sourceRoot":"","sources":["../../../lib/commands/FORGET.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"}

@@ -9,11 +9,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonGetOptions) => void;

@@ -20,0 +11,0 @@ readonly transformReply: typeof transformRedisJsonNullReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../lib/commands/GET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAE1H,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B;;;IAIC;;;;;;;;OAQG;gDAEO,aAAa,OAChB,aAAa,YACR,cAAc;;;AAd5B,wBAuB6B"}
{"version":3,"file":"GET.d.ts","sourceRoot":"","sources":["../../../lib/commands/GET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAE1H,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B;;;gDAKW,aAAa,OAChB,aAAa,YACR,cAAc;;;AAL5B,wBAc6B"}

@@ -6,11 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
parseCommand(parser, key, options) {

@@ -17,0 +8,0 @@ parser.push('JSON.GET');

@@ -1,1 +0,1 @@

{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../lib/commands/GET.ts"],"names":[],"mappings":";;AAEA,+FAA0H;AAM1H,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,OAAwB;QAExB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,kDAA2B;CACjB,CAAC"}
{"version":3,"file":"GET.js","sourceRoot":"","sources":["../../../lib/commands/GET.ts"],"names":[],"mappings":";;AAEA,+FAA0H;AAM1H,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,OAAwB;QAExB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,kDAA2B;CACjB,CAAC"}
export type { RedisJSON } from '@redis/client/dist/lib/commands/generic-transformers';
export { transformRedisJsonArgument, transformRedisJsonReply, transformRedisJsonNullReply } from '@redis/client/dist/lib/commands/generic-transformers';
declare const _default: {
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
ARRAPPEND: {

@@ -9,2 +18,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
arrAppend: {

@@ -15,2 +33,13 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
ARRINDEX: {

@@ -21,2 +50,13 @@ readonly IS_READ_ONLY: true;

};
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
arrIndex: {

@@ -27,2 +67,12 @@ readonly IS_READ_ONLY: true;

};
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
ARRINSERT: {

@@ -33,2 +83,12 @@ readonly IS_READ_ONLY: false;

};
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
arrInsert: {

@@ -39,2 +99,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
ARRLEN: {

@@ -45,2 +113,10 @@ readonly IS_READ_ONLY: true;

};
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
arrLen: {

@@ -51,2 +127,11 @@ readonly IS_READ_ONLY: true;

};
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
ARRPOP: {

@@ -60,2 +145,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
arrPop: {

@@ -69,2 +163,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
ARRTRIM: {

@@ -75,2 +178,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
arrTrim: {

@@ -81,2 +193,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
CLEAR: {

@@ -87,2 +207,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
clear: {

@@ -93,2 +221,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
DEBUG_MEMORY: {

@@ -99,2 +235,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
debugMemory: {

@@ -105,2 +249,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
DEL: {

@@ -111,2 +263,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
del: {

@@ -117,2 +277,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
FORGET: {

@@ -123,2 +291,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
forget: {

@@ -129,2 +305,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
GET: {

@@ -135,2 +319,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
get: {

@@ -141,2 +333,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
MERGE: {

@@ -147,2 +347,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
merge: {

@@ -153,2 +361,9 @@ readonly IS_READ_ONLY: false;

};
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
MGET: {

@@ -159,2 +374,9 @@ readonly IS_READ_ONLY: true;

};
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
mGet: {

@@ -165,2 +387,11 @@ readonly IS_READ_ONLY: true;

};
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
MSET: {

@@ -171,2 +402,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
mSet: {

@@ -177,2 +417,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
NUMINCRBY: {

@@ -186,2 +434,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
numIncrBy: {

@@ -196,3 +452,8 @@ readonly IS_READ_ONLY: false;

/**
* @deprecated since JSON version 2.0
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/

@@ -208,3 +469,8 @@ NUMMULTBY: {

/**
* @deprecated since JSON version 2.0
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/

@@ -219,2 +485,10 @@ numMultBy: {

};
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
OBJKEYS: {

@@ -225,2 +499,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
objKeys: {

@@ -231,2 +513,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
OBJLEN: {

@@ -237,2 +527,10 @@ readonly IS_READ_ONLY: true;

};
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
objLen: {

@@ -243,2 +541,14 @@ readonly IS_READ_ONLY: true;

};
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
SET: {

@@ -249,2 +559,14 @@ readonly IS_READ_ONLY: false;

};
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
set: {

@@ -255,2 +577,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
STRAPPEND: {

@@ -261,2 +592,11 @@ readonly IS_READ_ONLY: false;

};
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
strAppend: {

@@ -267,2 +607,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
STRLEN: {

@@ -273,2 +621,10 @@ readonly IS_READ_ONLY: true;

};
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
strLen: {

@@ -279,2 +635,9 @@ readonly IS_READ_ONLY: true;

};
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
TOGGLE: {

@@ -285,2 +648,9 @@ readonly IS_READ_ONLY: false;

};
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
toggle: {

@@ -291,2 +661,10 @@ readonly IS_READ_ONLY: false;

};
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
TYPE: {

@@ -300,2 +678,10 @@ readonly IS_READ_ONLY: true;

};
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
type: {

@@ -302,0 +688,0 @@ readonly IS_READ_ONLY: true;

@@ -1,1 +0,1 @@

{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":"AA0BA,YAAY,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiCtJ;;OAEG;;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AArCL,wBAuDE"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":"AA0BA,YAAY,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;;IAGtJ;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;IAEH;;;;;;;;;OASG;;;;;;IAEH;;;;;;;;;OASG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;OAMG;;;;;;IAEH;;;;;;OAMG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAIH;;;;;;;;;;;OAWG;;;;;;IAEH;;;;;;;;;;;OAWG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;OAMG;;;;;;IAEH;;;;;;OAMG;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;AAvbL,wBAybE"}

@@ -36,57 +36,443 @@ "use strict";

exports.default = {
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
ARRAPPEND: ARRAPPEND_1.default,
/**
* Appends one or more values to the end of an array in a JSON document.
* Returns the new array length after append, or null if the path does not exist.
*
* @param key - The key to append to
* @param path - Path to the array in the JSON document
* @param json - The first value to append
* @param jsons - Additional values to append
*/
arrAppend: ARRAPPEND_1.default,
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
ARRINDEX: ARRINDEX_1.default,
/**
* Returns the index of the first occurrence of a value in a JSON array.
* If the specified value is not found, it returns -1, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param json - The value to search for
* @param options - Optional range parameters for the search
* @param options.range.start - Starting index for the search
* @param options.range.stop - Optional ending index for the search
*/
arrIndex: ARRINDEX_1.default,
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
ARRINSERT: ARRINSERT_1.default,
/**
* Inserts one or more values into an array at the specified index.
* Returns the new array length after insert, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param index - The position where to insert the values
* @param json - The first value to insert
* @param jsons - Additional values to insert
*/
arrInsert: ARRINSERT_1.default,
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
ARRLEN: ARRLEN_1.default,
/**
* Returns the length of an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
*/
arrLen: ARRLEN_1.default,
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
ARRPOP: ARRPOP_1.default,
/**
* Removes and returns an element from an array in a JSON document.
* Returns null if the path does not exist or the value is not an array.
*
* @param key - The key containing the array
* @param options - Optional parameters
* @param options.path - Path to the array in the JSON document
* @param options.index - Optional index to pop from. Default is -1 (last element)
*/
arrPop: ARRPOP_1.default,
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
ARRTRIM: ARRTRIM_1.default,
/**
* Trims an array in a JSON document to include only elements within the specified range.
* Returns the new array length after trimming, or null if the path does not exist.
*
* @param key - The key containing the array
* @param path - Path to the array in the JSON document
* @param start - Starting index (inclusive)
* @param stop - Ending index (inclusive)
*/
arrTrim: ARRTRIM_1.default,
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
CLEAR: CLEAR_1.default,
/**
* Clears container values (arrays/objects) in a JSON document.
* Returns the number of values cleared (0 or 1), or null if the path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the container to clear
*/
clear: CLEAR_1.default,
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
DEBUG_MEMORY: DEBUG_MEMORY_1.default,
/**
* Reports memory usage details for a JSON document value.
* Returns size in bytes of the value, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to examine
*/
debugMemory: DEBUG_MEMORY_1.default,
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
DEL: DEL_1.default,
/**
* Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
del: DEL_1.default,
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
FORGET: FORGET_1.default,
/**
* Alias for JSON.DEL - Deletes a value from a JSON document.
* Returns the number of paths deleted (0 or 1), or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the value to delete
*/
forget: FORGET_1.default,
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
GET: GET_1.default,
/**
* Gets values from a JSON document.
* Returns the value at the specified path, or null if the key or path does not exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path(s) to the value(s) to retrieve
*/
get: GET_1.default,
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
MERGE: MERGE_1.default,
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
merge: MERGE_1.default,
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
MGET: MGET_1.default,
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
mGet: MGET_1.default,
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
MSET: MSET_1.default,
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
mSet: MSET_1.default,
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
NUMINCRBY: NUMINCRBY_1.default,
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
numIncrBy: NUMINCRBY_1.default,
/**
* @deprecated since JSON version 2.0
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/
NUMMULTBY: NUMMULTBY_1.default,
/**
* @deprecated since JSON version 2.0
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/
numMultBy: NUMMULTBY_1.default,
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
OBJKEYS: OBJKEYS_1.default,
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
objKeys: OBJKEYS_1.default,
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
OBJLEN: OBJLEN_1.default,
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
objLen: OBJLEN_1.default,
// RESP,
// resp: RESP,
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
SET: SET_1.default,
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
set: SET_1.default,
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
STRAPPEND: STRAPPEND_1.default,
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
strAppend: STRAPPEND_1.default,
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
STRLEN: STRLEN_1.default,
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
strLen: STRLEN_1.default,
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
TOGGLE: TOGGLE_1.default,
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
toggle: TOGGLE_1.default,
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
TYPE: TYPE_1.default,
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
type: TYPE_1.default
};
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;AAAA,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;AAI1B,6FAAwJ;AAA/I,kIAAA,0BAA0B,OAAA;AAAE,+HAAA,uBAAuB,OAAA;AAAE,mIAAA,2BAA2B,OAAA;AAEzF,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"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;AAAA,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;AAI1B,6FAAwJ;AAA/I,kIAAA,0BAA0B,OAAA;AAAE,+HAAA,uBAAuB,OAAA;AAAE,mIAAA,2BAA2B,OAAA;AAEzF,kBAAe;IACb;;;;;;;;OAQG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;;;;OAQG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;;;;OAUG;IACH,QAAQ,EAAR,kBAAQ;IACR;;;;;;;;;;OAUG;IACH,QAAQ,EAAE,kBAAQ;IAClB;;;;;;;;;OASG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;;;;;OASG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;OAOG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;;;OAQG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;;OAQG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;;;OAQG;IACH,OAAO,EAAP,iBAAO;IACP;;;;;;;;OAQG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;;;;OAOG;IACH,KAAK,EAAL,eAAK;IACL;;;;;;;OAOG;IACH,KAAK,EAAE,eAAK;IACZ;;;;;;;OAOG;IACH,YAAY,EAAZ,sBAAY;IACZ;;;;;;;OAOG;IACH,WAAW,EAAE,sBAAY;IACzB;;;;;;;OAOG;IACH,GAAG,EAAH,aAAG;IACH;;;;;;;OAOG;IACH,GAAG,EAAE,aAAG;IACR;;;;;;;OAOG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;;OAOG;IACH,GAAG,EAAH,aAAG;IACH;;;;;;;OAOG;IACH,GAAG,EAAE,aAAG;IACR;;;;;;;OAOG;IACH,KAAK,EAAL,eAAK;IACL;;;;;;;OAOG;IACH,KAAK,EAAE,eAAK;IACZ;;;;;;OAMG;IACH,IAAI,EAAJ,cAAI;IACJ;;;;;;OAMG;IACH,IAAI,EAAE,cAAI;IACV;;;;;;;;OAQG;IACH,IAAI,EAAJ,cAAI;IACJ;;;;;;;;OAQG;IACH,IAAI,EAAE,cAAI;IACV;;;;;;;OAOG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;;;OAOG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;OAOG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;;;OAOG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;OAOG;IACH,OAAO,EAAP,iBAAO;IACP;;;;;;;OAOG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;;;;OAOG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAM;IACd,QAAQ;IACR,cAAc;IACd;;;;;;;;;;;OAWG;IACH,GAAG,EAAH,aAAG;IACH;;;;;;;;;;;OAWG;IACH,GAAG,EAAE,aAAG;IACR;;;;;;;;OAQG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;;;;OAQG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;OAOG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;OAMG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;OAMG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;;OAOG;IACH,IAAI,EAAJ,cAAI;IACJ;;;;;;;OAOG;IACH,IAAI,EAAE,cAAI;CACX,CAAC"}

@@ -6,11 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, value: RedisJSON) => void;

@@ -17,0 +8,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>;

@@ -1,1 +0,1 @@

{"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../lib/commands/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;;;IAI3G;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa,SAAS,SAAS;mCAK/C,kBAAkB,IAAI,CAAC;;AAhBvE,wBAiB6B"}
{"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../lib/commands/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;;;gDAItF,aAAa,OAAO,aAAa,QAAQ,aAAa,SAAS,SAAS;mCAK/C,kBAAkB,IAAI,CAAC;;AAPvE,wBAQ6B"}

@@ -6,11 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Merges a given JSON value into a JSON document.
* Returns OK on success, or null if the key does not exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to merge into
* @param value - JSON value to merge
*/
parseCommand(parser, key, path, value) {

@@ -17,0 +8,0 @@ parser.push('JSON.MERGE');

@@ -1,1 +0,1 @@

{"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../lib/commands/MERGE.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAE7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,KAAgB;QAC3F,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}
{"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../lib/commands/MERGE.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAE7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,KAAgB;QAC3F,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}

@@ -5,10 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param parser - The Redis command parser
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
readonly parseCommand: (this: void, parser: CommandParser, keys: Array<RedisArgument>, path: RedisArgument) => void;

@@ -15,0 +7,0 @@ readonly transformReply: (this: void, reply: UnwrapReply<ArrayReply<NullReply | BlobStringReply>>) => (import("@redis/client/dist/lib/commands/generic-transformers").RedisJSON | NullReply)[];

@@ -1,1 +0,1 @@

{"version":3,"file":"MGET.d.ts","sourceRoot":"","sources":["../../../lib/commands/MGET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAW,MAAM,mCAAmC,CAAC;;;IAK9H;;;;;;;OAOG;gDACkB,aAAa,QAAQ,MAAM,aAAa,CAAC,QAAQ,aAAa;iDAK7D,YAAY,WAAW,SAAS,GAAG,eAAe,CAAC,CAAC;;AAf5E,wBAkB6B"}
{"version":3,"file":"MGET.d.ts","sourceRoot":"","sources":["../../../lib/commands/MGET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAW,MAAM,mCAAmC,CAAC;;;gDAKzG,aAAa,QAAQ,MAAM,aAAa,CAAC,QAAQ,aAAa;iDAK7D,YAAY,WAAW,SAAS,GAAG,eAAe,CAAC,CAAC;;AAP5E,wBAU6B"}

@@ -6,10 +6,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Gets values at a specific path from multiple JSON documents.
* Returns an array of values at the path from each key, null for missing keys/paths.
*
* @param parser - The Redis command parser
* @param keys - Array of keys containing JSON documents
* @param path - Path to retrieve from each document
*/
parseCommand(parser, keys, path) {

@@ -16,0 +8,0 @@ parser.push('JSON.MGET');

@@ -1,1 +0,1 @@

{"version":3,"file":"MGET.js","sourceRoot":"","sources":["../../../lib/commands/MGET.ts"],"names":[],"mappings":";;AAEA,+FAAmG;AAEnG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;OAOG;IACH,YAAY,CAAC,MAAqB,EAAE,IAA0B,EAAE,IAAmB;QACjF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,CAAC,KAA2D;QACxE,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kDAA2B,EAAC,IAAI,CAAC,CAAC,CAAA;IAC7D,CAAC;CACyB,CAAC"}
{"version":3,"file":"MGET.js","sourceRoot":"","sources":["../../../lib/commands/MGET.ts"],"names":[],"mappings":";;AAEA,+FAAmG;AAEnG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,IAA0B,EAAE,IAAmB;QACjF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,CAAC,KAA2D;QACxE,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,kDAA2B,EAAC,IAAI,CAAC,CAAC,CAAA;IAC7D,CAAC;CACyB,CAAC"}

@@ -11,12 +11,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param parser - The Redis command parser
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
readonly parseCommand: (this: void, parser: CommandParser, items: Array<JsonMSetItem>) => void;

@@ -23,0 +13,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>;

@@ -1,1 +0,1 @@

{"version":3,"file":"MSET.d.ts","sourceRoot":"","sources":["../../../lib/commands/MSET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,aAAa,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;CAClB;;;IAIC;;;;;;;;;OASG;gDACkB,aAAa,SAAS,MAAM,YAAY,CAAC;mCAQhB,kBAAkB,IAAI,CAAC;;AApBvE,wBAqB6B"}
{"version":3,"file":"MSET.d.ts","sourceRoot":"","sources":["../../../lib/commands/MSET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,aAAa,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;CAClB;;;gDAIsB,aAAa,SAAS,MAAM,YAAY,CAAC;mCAQhB,kBAAkB,IAAI,CAAC;;AAVvE,wBAW6B"}

@@ -6,12 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Sets multiple JSON values in multiple documents.
* Returns OK on success.
*
* @param parser - The Redis command parser
* @param items - Array of objects containing key, path, and value to set
* @param items[].key - The key containing the JSON document
* @param items[].path - Path in the document to set
* @param items[].value - JSON value to set at the path
*/
parseCommand(parser, items) {

@@ -18,0 +8,0 @@ parser.push('JSON.MSET');

@@ -1,1 +0,1 @@

{"version":3,"file":"MSET.js","sourceRoot":"","sources":["../../../lib/commands/MSET.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAQ7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CAAC,MAAqB,EAAE,KAA0B;QAC5D,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAC7B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}
{"version":3,"file":"MSET.js","sourceRoot":"","sources":["../../../lib/commands/MSET.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAQ7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,KAA0B;QAC5D,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAC7B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}

@@ -5,11 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, by: number) => void;

@@ -16,0 +7,0 @@ readonly transformReply: {

@@ -1,1 +0,1 @@

{"version":3,"file":"NUMINCRBY.d.ts","sourceRoot":"","sources":["../../../lib/commands/NUMINCRBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;IAIxJ;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa,MAAM,MAAM;;4BAM1E,YAAY,eAAe,CAAC;0BAGN,WAAW,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;;;AApBtF,wBAsB6B"}
{"version":3,"file":"NUMINCRBY.d.ts","sourceRoot":"","sources":["../../../lib/commands/NUMINCRBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;gDAInI,aAAa,OAAO,aAAa,QAAQ,aAAa,MAAM,MAAM;;4BAM1E,YAAY,eAAe,CAAC;0BAGN,WAAW,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;;;AAXtF,wBAa6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Increments a numeric value stored in a JSON document by a given number.
* Returns the value after increment, or null if the key/path doesn't exist or value is not numeric.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to increment by
*/
parseCommand(parser, key, path, by) {

@@ -16,0 +7,0 @@ parser.push('JSON.NUMINCRBY');

@@ -1,1 +0,1 @@

{"version":3,"file":"NUMINCRBY.js","sourceRoot":"","sources":["../../../lib/commands/NUMINCRBY.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,EAAU;QACrF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAAmC,EAAE,EAAE;YACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAkC,CAAC;QACvE,CAAC;QACD,CAAC,EAAE,SAA+E;KACnF;CACyB,CAAC"}
{"version":3,"file":"NUMINCRBY.js","sourceRoot":"","sources":["../../../lib/commands/NUMINCRBY.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,EAAU;QACrF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAAmC,EAAE,EAAE;YACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAkC,CAAC;QACvE,CAAC;QACD,CAAC,EAAE,SAA+E;KACnF;CACyB,CAAC"}

@@ -5,11 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, by: number) => void;

@@ -16,0 +7,0 @@ readonly transformReply: {

@@ -1,1 +0,1 @@

{"version":3,"file":"NUMMULTBY.d.ts","sourceRoot":"","sources":["../../../lib/commands/NUMMULTBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa,MAAM,MAAM;;;;;;AAXzF,wBAiB6B"}
{"version":3,"file":"NUMMULTBY.d.ts","sourceRoot":"","sources":["../../../lib/commands/NUMMULTBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa,MAAM,MAAM;;;;;;AAFzF,wBAQ6B"}

@@ -9,11 +9,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Multiplies a numeric value stored in a JSON document by a given number.
* Returns the value after multiplication, or null if the key/path doesn't exist or value is not numeric.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the numeric value
* @param by - Amount to multiply by
*/
parseCommand(parser, key, path, by) {

@@ -20,0 +11,0 @@ parser.push('JSON.NUMMULTBY');

@@ -1,1 +0,1 @@

{"version":3,"file":"NUMMULTBY.js","sourceRoot":"","sources":["../../../lib/commands/NUMMULTBY.ts"],"names":[],"mappings":";;;;;AAEA,4DAAoC;AAEpC,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,EAAU;QACrF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,EAAE,mBAAS,CAAC,cAAc;CACd,CAAC"}
{"version":3,"file":"NUMMULTBY.js","sourceRoot":"","sources":["../../../lib/commands/NUMMULTBY.ts"],"names":[],"mappings":";;;;;AAEA,4DAAoC;AAEpC,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB,EAAE,EAAU;QACrF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,EAAE,mBAAS,CAAC,cAAc;CACd,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonObjKeysOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => ArrayReply<BlobStringReply> | ArrayReply<ArrayReply<BlobStringReply> | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"OBJKEYS.d.ts","sourceRoot":"","sources":["../../../lib/commands/OBJKEYS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAEnH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,kBAAkB;mCAOtC,WAAW,eAAe,CAAC,GAAG,WAAW,WAAW,eAAe,CAAC,GAAG,SAAS,CAAC;;AAlBjI,wBAmB6B"}
{"version":3,"file":"OBJKEYS.d.ts","sourceRoot":"","sources":["../../../lib/commands/OBJKEYS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAEnH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,kBAAkB;mCAOtC,WAAW,eAAe,CAAC,GAAG,WAAW,WAAW,eAAe,CAAC,GAAG,SAAS,CAAC;;AATjI,wBAU6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Returns the keys in the object stored in a JSON document.
* Returns array of keys, array of arrays for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.OBJKEYS');

@@ -1,1 +0,1 @@

{"version":3,"file":"OBJKEYS.js","sourceRoot":"","sources":["../../../lib/commands/OBJKEYS.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+G;CACrG,CAAC"}
{"version":3,"file":"OBJKEYS.js","sourceRoot":"","sources":["../../../lib/commands/OBJKEYS.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+G;CACrG,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonObjLenOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"OBJLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/OBJLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAOrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAlBjG,wBAmB6B"}
{"version":3,"file":"OBJLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/OBJLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAOrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AATjG,wBAU6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the number of keys in the object stored in a JSON document.
* Returns length of object, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the object to examine
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.OBJLEN');

@@ -1,1 +0,1 @@

{"version":3,"file":"OBJLEN.js","sourceRoot":"","sources":["../../../lib/commands/OBJLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"OBJLEN.js","sourceRoot":"","sources":["../../../lib/commands/OBJLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -6,10 +6,2 @@ import { CommandParser } from "@redis/client/dist/lib/client/parser";

readonly IS_READ_ONLY: true;
/**
* Returns the JSON value at the specified path in RESP (Redis Serialization Protocol) format.
* Returns the value in RESP form, useful for language-independent processing.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Optional path to the value in the document
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path?: string) => void;

@@ -16,0 +8,0 @@ readonly transformReply: () => RESPReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"RESP.d.ts","sourceRoot":"","sources":["../../../lib/commands/RESP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAE3E,KAAK,SAAS,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;;;IAIhD;;;;;;;OAOG;gDACkB,aAAa,OAAO,aAAa,SAAS,MAAM;;;AAVzE,wBAkB+B"}
{"version":3,"file":"RESP.d.ts","sourceRoot":"","sources":["../../../lib/commands/RESP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAE3E,KAAK,SAAS,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;;;gDAI7B,aAAa,OAAO,aAAa,SAAS,MAAM;;;AAFvE,wBAU+B"}

@@ -5,10 +5,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the JSON value at the specified path in RESP (Redis Serialization Protocol) format.
* Returns the value in RESP form, useful for language-independent processing.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Optional path to the value in the document
*/
parseCommand(parser, key, path) {

@@ -15,0 +7,0 @@ parser.push('JSON.RESP');

@@ -1,1 +0,1 @@

{"version":3,"file":"RESP.js","sourceRoot":"","sources":["../../../lib/commands/RESP.ts"],"names":[],"mappings":";;AAKA,kBAAe;IACX,YAAY,EAAE,IAAI;IAClB;;;;;;;OAOG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAa;QACnE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAuC;CAC7B,CAAC"}
{"version":3,"file":"RESP.js","sourceRoot":"","sources":["../../../lib/commands/RESP.ts"],"names":[],"mappings":";;AAKA,kBAAe;IACX,YAAY,EAAE,IAAI;IACpB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAa;QACjE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAuC;CAC7B,CAAC"}

@@ -14,18 +14,10 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

XX?: boolean;
/**
* If set, forces Redis to use the specified floating-point type for storing all FP homogeneous arrays.
* available since 8.8
*/
fpha?: 'BF16' | 'FP16' | 'FP32' | 'FP64';
}
declare const _default: {
readonly IS_READ_ONLY: false;
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument, json: RedisJSON, options?: JsonSetOptions) => void;

@@ -32,0 +24,0 @@ readonly transformReply: () => SimpleStringReply<'OK'> | NullReply;

@@ -1,1 +0,1 @@

{"version":3,"file":"SET.d.ts","sourceRoot":"","sources":["../../../lib/commands/SET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AACzG,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;CACd;;;IAIC;;;;;;;;;;;;OAYG;gDAEO,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,cAAc;mCAcoB,kBAAkB,IAAI,CAAC,GAAG,SAAS;;AAlCnF,wBAmC6B"}
{"version":3,"file":"SET.d.ts","sourceRoot":"","sources":["../../../lib/commands/SET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AACzG,OAAO,EAAE,SAAS,EAA8B,MAAM,sDAAsD,CAAC;AAE7G,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAC1C;;;gDAKW,aAAa,OAChB,aAAa,QACZ,aAAa,QACb,SAAS,YACL,cAAc;mCAiBoB,kBAAkB,IAAI,CAAC,GAAG,SAAS;;AAxBnF,wBAyB6B"}

@@ -6,15 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Sets a JSON value at a specific path in a JSON document.
* Returns OK on success, or null if condition (NX/XX) is not met.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path in the document to set
* @param json - JSON value to set at the path
* @param options - Optional parameters
* @param options.condition - Set condition: NX (only if doesn't exist) or XX (only if exists)
* @deprecated options.NX - Use options.condition instead
* @deprecated options.XX - Use options.condition instead
*/
parseCommand(parser, key, path, json, options) {

@@ -33,2 +20,5 @@ parser.push('JSON.SET');

}
if (options?.fpha !== undefined) {
parser.push('FPHA', options.fpha);
}
},

@@ -35,0 +25,0 @@ transformReply: undefined

@@ -1,1 +0,1 @@

{"version":3,"file":"SET.js","sourceRoot":"","sources":["../../../lib/commands/SET.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAc7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,OAAwB;QAExB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,EAAE,SAAS,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAClC,CAAC;aAAM,IAAI,OAAO,EAAE,EAAE,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;aAAM,IAAI,OAAO,EAAE,EAAE,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAiE;CACvD,CAAC"}
{"version":3,"file":"SET.js","sourceRoot":"","sources":["../../../lib/commands/SET.ts"],"names":[],"mappings":";;AAEA,+FAA6G;AAmB7G,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,IAAmB,EACnB,IAAe,EACf,OAAwB;QAExB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAA,iDAA0B,EAAC,IAAI,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,EAAE,SAAS,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAClC,CAAC;aAAM,IAAI,OAAO,EAAE,EAAE,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;aAAM,IAAI,OAAO,EAAE,EAAE,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;QACD,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAiE;CACvD,CAAC"}

@@ -8,12 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, append: string, options?: JsonStrAppendOptions) => void;

@@ -20,0 +10,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NullReply | NumberReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"STRAPPEND.d.ts","sourceRoot":"","sources":["../../../lib/commands/STRAPPEND.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/G,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;;OASG;gDACkB,aAAa,OAAO,aAAa,UAAU,MAAM,YAAY,oBAAoB;mCAUxD,WAAW,GAAG,WAAW,SAAS,GAAG,WAAW,CAAC;;AAtBjG,wBAuB6B"}
{"version":3,"file":"STRAPPEND.d.ts","sourceRoot":"","sources":["../../../lib/commands/STRAPPEND.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/G,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,UAAU,MAAM,YAAY,oBAAoB;mCAUxD,WAAW,GAAG,WAAW,SAAS,GAAG,WAAW,CAAC;;AAZjG,wBAa6B"}

@@ -6,12 +6,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Appends a string to a string value stored in a JSON document.
* Returns new string length after append, or null if the path doesn't exist or value is not a string.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param append - String to append
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
parseCommand(parser, key, append, options) {

@@ -18,0 +8,0 @@ parser.push('JSON.STRAPPEND');

@@ -1,1 +0,1 @@

{"version":3,"file":"STRAPPEND.js","sourceRoot":"","sources":["../../../lib/commands/STRAPPEND.ts"],"names":[],"mappings":";;AAEA,+FAAkG;AAMlG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAc,EAAE,OAA8B;QACpG,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,MAAM,CAAC,CAAC,CAAC;IAClD,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"STRAPPEND.js","sourceRoot":"","sources":["../../../lib/commands/STRAPPEND.ts"],"names":[],"mappings":";;AAEA,+FAAkG;AAMlG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAc,EAAE,OAA8B;QACpG,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,IAAA,iDAA0B,EAAC,MAAM,CAAC,CAAC,CAAC;IAClD,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonStrLenOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: () => NumberReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"STRLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/STRLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAQrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAnBjG,wBAoB6B"}
{"version":3,"file":"STRLEN.d.ts","sourceRoot":"","sources":["../../../lib/commands/STRLEN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAE/G,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,iBAAiB;mCAQrC,WAAW,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAVjG,wBAW6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the length of a string value stored in a JSON document.
* Returns string length, array of lengths for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to the string value
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.STRLEN');

@@ -1,1 +0,1 @@

{"version":3,"file":"STRLEN.js","sourceRoot":"","sources":["../../../lib/commands/STRLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,EAAE,CAAC;YAClB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}
{"version":3,"file":"STRLEN.js","sourceRoot":"","sources":["../../../lib/commands/STRLEN.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA2B;QACjF,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,EAAE,CAAC;YAClB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAA+E;CACrE,CAAC"}

@@ -5,10 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: false;
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, path: RedisArgument) => void;

@@ -15,0 +7,0 @@ readonly transformReply: () => NumberReply | NullReply | ArrayReply<NumberReply | NullReply>;

@@ -1,1 +0,1 @@

{"version":3,"file":"TOGGLE.d.ts","sourceRoot":"","sources":["../../../lib/commands/TOGGLE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAY,MAAM,mCAAmC,CAAC;;;IAI9G;;;;;;;OAOG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;mCAK7B,WAAW,GAAG,SAAS,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAf7G,wBAgB6B"}
{"version":3,"file":"TOGGLE.d.ts","sourceRoot":"","sources":["../../../lib/commands/TOGGLE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAY,MAAM,mCAAmC,CAAC;;;gDAIzF,aAAa,OAAO,aAAa,QAAQ,aAAa;mCAK7B,WAAW,GAAG,SAAS,GAAG,WAAW,WAAW,GAAG,SAAS,CAAC;;AAP7G,wBAQ6B"}

@@ -5,10 +5,2 @@ "use strict";

IS_READ_ONLY: false,
/**
* Toggles a boolean value stored in a JSON document.
* Returns 1 if value was toggled to true, 0 if toggled to false, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param path - Path to the boolean value
*/
parseCommand(parser, key, path) {

@@ -15,0 +7,0 @@ parser.push('JSON.TOGGLE');

@@ -1,1 +0,1 @@

{"version":3,"file":"TOGGLE.js","sourceRoot":"","sources":["../../../lib/commands/TOGGLE.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;OAOG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,SAA2F;CACjF,CAAC"}
{"version":3,"file":"TOGGLE.js","sourceRoot":"","sources":["../../../lib/commands/TOGGLE.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,SAA2F;CACjF,CAAC"}

@@ -8,11 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser';

readonly IS_READ_ONLY: true;
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: JsonTypeOptions) => void;

@@ -19,0 +10,0 @@ readonly transformReply: {

@@ -1,1 +0,1 @@

{"version":3,"file":"TYPE.d.ts","sourceRoot":"","sources":["../../../lib/commands/TYPE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAAW,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhI,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;IAIC;;;;;;;;OAQG;gDACkB,aAAa,OAAO,aAAa,YAAY,eAAe;;0BAS9C,SAAS,GAAG,eAAe,GAAG,WAAW,eAAe,GAAG,SAAS,CAAC;4BAE3F,YAAY,WAAW,SAAS,GAAG,eAAe,GAAG,WAAW,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC;;;AAtB7G,wBA0B6B"}
{"version":3,"file":"TYPE.d.ts","sourceRoot":"","sources":["../../../lib/commands/TYPE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAAW,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhI,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,eAAe;;0BAS9C,SAAS,GAAG,eAAe,GAAG,WAAW,eAAe,GAAG,SAAS,CAAC;4BAE3F,YAAY,WAAW,SAAS,GAAG,eAAe,GAAG,WAAW,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC;;;AAb7G,wBAiB6B"}

@@ -5,11 +5,2 @@ "use strict";

IS_READ_ONLY: true,
/**
* Returns the type of JSON value at a specific path in a JSON document.
* Returns the type as a string, array of types for multiple paths, or null if path doesn't exist.
*
* @param parser - The Redis command parser
* @param key - The key containing the JSON document
* @param options - Optional parameters
* @param options.path - Path to examine
*/
parseCommand(parser, key, options) {

@@ -16,0 +7,0 @@ parser.push('JSON.TYPE');

@@ -1,1 +0,1 @@

{"version":3,"file":"TYPE.js","sourceRoot":"","sources":["../../../lib/commands/TYPE.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;OAQG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAyB;QAC/E,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,EAAE,CAAC;YAClB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,SAAmG;QACtG,uEAAuE;QACvE,CAAC,EAAE,CAAC,KAAqG,EAAE,EAAE;YAC3G,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;KACF;CACyB,CAAC"}
{"version":3,"file":"TYPE.js","sourceRoot":"","sources":["../../../lib/commands/TYPE.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAAyB;QAC/E,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,IAAI,EAAE,CAAC;YAClB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,SAAmG;QACtG,uEAAuE;QACvE,CAAC,EAAE,CAAC,KAAqG,EAAE,EAAE;YAC3G,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;KACF;CACyB,CAAC"}
{
"name": "@redis/json",
"version": "5.12.1",
"version": "6.0.0",
"license": "MIT",

@@ -16,3 +16,3 @@ "main": "./dist/lib/index.js",

"peerDependencies": {
"@redis/client": "^5.12.1"
"@redis/client": "^6.0.0"
},

@@ -23,3 +23,3 @@ "devDependencies": {

"engines": {
"node": ">= 18.19.0"
"node": ">= 20.0.0"
},

@@ -26,0 +26,0 @@ "repository": {