1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Files
node-redis/packages/client/lib/commands/CLUSTER_SET-CONFIG-EPOCH.ts
Leibale 4894c26458 wip
2023-06-20 20:04:05 -04:00

11 lines
350 B
TypeScript

import { SimpleStringReply, Command } from '../RESP/types';
export default {
FIRST_KEY_INDEX: undefined,
IS_READ_ONLY: true,
transformArguments(configEpoch: number) {
return ['CLUSTER', 'SET-CONFIG-EPOCH', configEpoch.toString() ];
},
transformReply: undefined as unknown as () => SimpleStringReply<'OK'>
} as const satisfies Command;