You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
* Support new cluster commands * clean code Co-authored-by: leibale <leibale1998@gmail.com>
14 lines
372 B
TypeScript
14 lines
372 B
TypeScript
import { RedisCommandArguments } from '.';
|
|
import { pushSlotRangesArguments, SlotRange } from './generic-transformers';
|
|
|
|
export function transformArguments(
|
|
ranges: SlotRange | Array<SlotRange>
|
|
): RedisCommandArguments {
|
|
return pushSlotRangesArguments(
|
|
['CLUSTER', 'ADDSLOTSRANGE'],
|
|
ranges
|
|
);
|
|
}
|
|
|
|
export declare function transformReply(): 'OK';
|