1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/bloom/lib/commands/top-k/LIST.ts
2023-07-05 15:22:33 -04:00

11 lines
356 B
TypeScript

import { RedisArgument, ArrayReply, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
export default {
FIRST_KEY_INDEX: 1,
IS_READ_ONLY: true,
transformArguments(key: RedisArgument) {
return ['TOPK.LIST', key];
},
transformReply: undefined as unknown as () => ArrayReply<SimpleStringReply>
} as const satisfies Command;