You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
21 lines
454 B
TypeScript
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';
|