You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
17 lines
492 B
TypeScript
17 lines
492 B
TypeScript
import { GeoSearchFrom, GeoSearchBy, GeoSearchOptions, pushGeoSearchArguments, transformReplyStringArray } from './generic-transformers';
|
|
|
|
export const FIRST_KEY_INDEX = 1;
|
|
|
|
export const IS_READ_ONLY = true;
|
|
|
|
export function transformArguments(
|
|
key: string,
|
|
from: GeoSearchFrom,
|
|
by: GeoSearchBy,
|
|
options?: GeoSearchOptions
|
|
): Array<string> {
|
|
return pushGeoSearchArguments(['GEOSEARCH'], key, from, by, options);
|
|
}
|
|
|
|
export const transformReply = transformReplyStringArray;
|