1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-06-22 18:18:23 -04:00
parent b46f08228c
commit 2b318d4100
27 changed files with 595 additions and 578 deletions

View File

@@ -1,12 +1,11 @@
// import { RedisCommandArgument, RedisCommandArguments } from '.';
import { RedisArgument, NullReply, TuplesReply, BlobStringReply, DoubleReply, Command } from '../RESP/types';
import ZPOPMIN from './ZPOPMIN';
// export const FIRST_KEY_INDEX = 1;
// export function transformArguments(key: RedisCommandArgument): RedisCommandArguments {
// return [
// 'ZPOPMAX',
// key
// ];
// }
// export { transformSortedSetMemberNullReply as transformReply } from './generic-transformers';
export default {
FIRST_KEY_INDEX: 1,
IS_READ_ONLY: false,
transformArguments(key: RedisArgument) {
return ['ZPOPMAX', key];
},
transformReply: ZPOPMIN.transformReply
} as const satisfies Command;