You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
27 lines
671 B
TypeScript
27 lines
671 B
TypeScript
// import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
// export const FIRST_KEY_INDEX = 1;
|
|
|
|
// export const IS_READ_ONLY = true;
|
|
|
|
// interface XRangeOptions {
|
|
// COUNT?: number;
|
|
// }
|
|
|
|
// export function transformArguments(
|
|
// key: RedisCommandArgument,
|
|
// start: RedisCommandArgument,
|
|
// end: RedisCommandArgument,
|
|
// options?: XRangeOptions
|
|
// ): RedisCommandArguments {
|
|
// const args = ['XRANGE', key, start, end];
|
|
|
|
// if (options?.COUNT) {
|
|
// args.push('COUNT', options.COUNT.toString());
|
|
// }
|
|
|
|
// return args;
|
|
// }
|
|
|
|
// export { transformStreamMessagesReply as transformReply } from './generic-transformers';
|