You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
15 lines
551 B
TypeScript
15 lines
551 B
TypeScript
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
import { RedisArgument, ArrayReply, SetReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
|
|
|
export default {
|
|
NOT_KEYED_COMMAND: true,
|
|
IS_READ_ONLY: true,
|
|
parseCommand(parser: CommandParser, dictionary: RedisArgument) {
|
|
parser.push('FT.DICTDUMP', dictionary);
|
|
},
|
|
transformReply: {
|
|
2: undefined as unknown as () => ArrayReply<BlobStringReply>,
|
|
3: undefined as unknown as () => SetReply<BlobStringReply>
|
|
}
|
|
} as const satisfies Command;
|