-first commit
This commit is contained in:
17
node_modules/@redis/json/dist/lib/commands/TOGGLE.d.ts
generated
vendored
Normal file
17
node_modules/@redis/json/dist/lib/commands/TOGGLE.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
||||
import { RedisArgument, ArrayReply, NumberReply, NullReply } from '@redis/client/dist/lib/RESP/types';
|
||||
declare const _default: {
|
||||
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;
|
||||
readonly transformReply: () => NumberReply | NullReply | ArrayReply<NumberReply | NullReply>;
|
||||
};
|
||||
export default _default;
|
||||
//# sourceMappingURL=TOGGLE.d.ts.map
|
||||
Reference in New Issue
Block a user