1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/time-series/lib/commands/CREATERULE.ts
2021-11-29 08:52:14 -05:00

21 lines
454 B
TypeScript

import { TimeSeriesAggregationType } from '.';
export const FIRST_KEY_INDEX = 1;
export function transformArguments(
sourceKey: string,
destinationKey: string,
aggregationType: TimeSeriesAggregationType,
timeBucket: number
): Array<string> {
return [
'TS.CREATERULE',
sourceKey,
destinationKey,
aggregationType,
timeBucket.toString()
];
}
export declare function transfromReply(): 'OK';