| 1 |
import { RedisCommandArguments } from '@redis/client/dist/lib/commands'; |
| 2 |
import { MRangeOptions, Timestamp, pushMRangeArguments, Filter } from '.'; |
| 3 |
|
| 4 |
export const IS_READ_ONLY = true; |
| 5 |
|
| 6 |
export function transformArguments( |
| 7 |
fromTimestamp: Timestamp, |
| 8 |
toTimestamp: Timestamp, |
| 9 |
filters: Filter, |
| 10 |
options?: MRangeOptions |
| 11 |
): RedisCommandArguments { |
| 12 |
return pushMRangeArguments( |
| 13 |
['TS.MRANGE'], |
| 14 |
fromTimestamp, |
| 15 |
toTimestamp, |
| 16 |
filters, |
| 17 |
options |
| 18 |
); |
| 19 |
} |
| 20 |
|
| 21 |
export { transformMRangeReply as transformReply } from '.'; |