You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
16 lines
499 B
TypeScript
16 lines
499 B
TypeScript
import { RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
|
|
import { Timestamp, transformTimestampArgument } from '.';
|
|
|
|
export const FIRTS_KEY_INDEX = 1;
|
|
|
|
export function transformArguments(key: string, fromTimestamp: Timestamp, toTimestamp: Timestamp): RedisCommandArguments {
|
|
return [
|
|
'TS.DEL',
|
|
key,
|
|
transformTimestampArgument(fromTimestamp),
|
|
transformTimestampArgument(toTimestamp)
|
|
];
|
|
}
|
|
|
|
export declare function transformReply(): number;
|