You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
12 lines
401 B
TypeScript
12 lines
401 B
TypeScript
import { Command } from '@redis/client/dist/lib/RESP/types';
|
|
import BYRANK, { transformByRankArguments } from './BYRANK';
|
|
|
|
export default {
|
|
IS_READ_ONLY: BYRANK.IS_READ_ONLY,
|
|
parseCommand(...args: Parameters<typeof transformByRankArguments>) {
|
|
args[0].push('TDIGEST.BYREVRANK');
|
|
transformByRankArguments(...args);
|
|
},
|
|
transformReply: BYRANK.transformReply
|
|
} as const satisfies Command;
|