diff --git a/data/command-api-mapping-status.json b/data/command-api-mapping-status.json index 8f29495df3..759360f8aa 100644 --- a/data/command-api-mapping-status.json +++ b/data/command-api-mapping-status.json @@ -618,7 +618,8 @@ "nredisstack_sync": "generic_only", "nredisstack_async": "generic_only", "redis_rs_sync": "generic_only", - "redis_rs_async": "generic_only" + "redis_rs_async": "generic_only", + "node_redis": "generic_only" }, "FCALL": { "redis_rs_sync": "generic_only", @@ -1140,7 +1141,8 @@ "nredisstack_async": "unsupported", "php": "generic_only", "redis_rs_sync": "generic_only", - "redis_rs_async": "generic_only" + "redis_rs_async": "generic_only", + "node_redis": "generic_only" }, "REPLCONF": { "redis_py": "unsupported", @@ -1191,7 +1193,8 @@ }, "SAVE": { "redis_rs_sync": "generic_only", - "redis_rs_async": "generic_only" + "redis_rs_async": "generic_only", + "node_redis": "generic_only" }, "SCRIPT DEBUG": { "redis_py": "unsupported", @@ -1241,7 +1244,8 @@ "SHUTDOWN": { "nredisstack_async": "unsupported", "redis_rs_sync": "generic_only", - "redis_rs_async": "generic_only" + "redis_rs_async": "generic_only", + "node_redis": "generic_only" }, "SLAVEOF": { "node_redis": "generic_only", diff --git a/data/command-api-mapping.json b/data/command-api-mapping.json index 7c6784aaaf..256b521b64 100644 --- a/data/command-api-mapping.json +++ b/data/command-api-mapping.json @@ -16949,7 +16949,7 @@ ], "node_redis": [ { - "signature": "bzmPop(timeout: number, ...args: ZMPopArguments)", + "signature": "bzmPop(timeout: number, keys: RedisVariadicArgument, side: SortedSetSide, options?: ZMPopOptions)", "params": [ { "name": "timeout", @@ -16957,8 +16957,18 @@ "description": "" }, { - "name": "...args", - "type": "ZMPopArguments", + "name": "keys", + "type": "RedisVariadicArgument", + "description": "" + }, + { + "name": "side", + "type": "SortedSetSide", + "description": "" + }, + { + "name": "options", + "type": "ZMPopOptions", "description": "" } ], @@ -19744,7 +19754,7 @@ ], "node_redis": [ { - "signature": "client.cf.loadChunk(key: RedisArgument, iterator: number, data: RedisArgument)", + "signature": "client.cf.loadChunk(key: RedisArgument, iterator: number, chunk: RedisArgument)", "params": [ { "name": "key", @@ -19757,7 +19767,7 @@ "description": "Iterator from SCANDUMP" }, { - "name": "data", + "name": "chunk", "type": "RedisArgument", "description": "Data from SCANDUMP" } @@ -26776,7 +26786,7 @@ ], "node_redis": [ { - "signature": "client.cms.initByDim(key, width, depth)", + "signature": "client.cms.initByDim(key, width, depth, options?)", "params": [ { "name": "key", @@ -26791,6 +26801,11 @@ "name": "depth", "type": "number", "description": "Number of counter arrays" + }, + { + "name": "options", + "type": "CmsInitOptions", + "description": "" } ], "returns": { @@ -26949,7 +26964,7 @@ ], "node_redis": [ { - "signature": "client.cms.initByProb(key, error, probability)", + "signature": "client.cms.initByProb(key, error, probability, options?)", "params": [ { "name": "key", @@ -26964,6 +26979,11 @@ "name": "probability", "type": "number", "description": "Probability for inflated count" + }, + { + "name": "options", + "type": "CmsInitOptions", + "description": "" } ], "returns": { @@ -30221,25 +30241,6 @@ "type": "NumberReply", "description": "" } - }, - { - "signature": "decrBy(key: RedisArgument, decrement: number)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - }, - { - "name": "decrement", - "type": "number", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } } ], "ioredis": [ @@ -30796,20 +30797,6 @@ } ], "node_redis": [ - { - "signature": "decr(key: RedisArgument)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } - }, { "signature": "decrBy(key: RedisArgument, decrement: number)", "params": [ @@ -35799,22 +35786,7 @@ } } ], - "node_redis": [ - { - "signature": "failover(options?: FailoverOptions)", - "params": [ - { - "name": "options", - "type": "FailoverOptions", - "description": "Failover options including target host, abort flag, and timeout" - } - ], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String failover()", @@ -38341,7 +38313,7 @@ ], "node_redis": [ { - "signature": "client.ft.alter(index: RedisArgument, field: SchemaField)", + "signature": "client.ft.alter(index: RedisArgument, schema: RediSearchSchema)", "params": [ { "name": "index", @@ -38349,8 +38321,8 @@ "description": "The index name" }, { - "name": "field", - "type": "SchemaField", + "name": "schema", + "type": "RediSearchSchema", "description": "The field to add" } ], @@ -39420,7 +39392,7 @@ ], "node_redis": [ { - "signature": "client.ft.cursorRead(index: RedisArgument, cursorId: number, options?: { COUNT?: number })", + "signature": "client.ft.cursorRead(index: RedisArgument, cursor: number, options?: { COUNT?: number })", "params": [ { "name": "index", @@ -39428,7 +39400,7 @@ "description": "The index name" }, { - "name": "cursorId", + "name": "cursor", "type": "number", "description": "The cursor ID" }, @@ -39673,7 +39645,7 @@ ], "node_redis": [ { - "signature": "client.ft.dictAdd(dictionary: RedisArgument, terms: Array | RedisArgument)", + "signature": "client.ft.dictAdd(dictionary: RedisArgument, term: Array | RedisArgument)", "params": [ { "name": "dictionary", @@ -39681,7 +39653,7 @@ "description": "The dictionary name" }, { - "name": "terms", + "name": "term", "type": "Array | RedisArgument", "description": "Terms to add" } @@ -39916,7 +39888,7 @@ ], "node_redis": [ { - "signature": "client.ft.dictDel(dictionary: RedisArgument, terms: Array | RedisArgument)", + "signature": "client.ft.dictDel(dictionary: RedisArgument, term: Array | RedisArgument)", "params": [ { "name": "dictionary", @@ -39924,7 +39896,7 @@ "description": "The dictionary name" }, { - "name": "terms", + "name": "term", "type": "Array | RedisArgument", "description": "Terms to delete" } @@ -41608,7 +41580,7 @@ ], "node_redis": [ { - "signature": "PROFILE(index: RedisArgument, queryType: 'SEARCH' | 'AGGREGATE', query: RedisArgument, options?: { LIMITED?: boolean })", + "signature": "client.ft.profileSearch(index: RedisArgument, query: RedisArgument, options?: ProfileOptions & FtSearchOptions)", "params": [ { "name": "index", @@ -41616,23 +41588,42 @@ "description": "The index name" }, { - "name": "queryType", - "type": "'SEARCH' | 'AGGREGATE'", - "description": "The query type" + "name": "query", + "type": "RedisArgument", + "description": "The query to profile" + }, + { + "name": "options", + "type": "ProfileOptions & FtSearchOptions", + "description": "Optional profile and search options" + } + ], + "returns": { + "type": "ProfileReplyResp2", + "description": "Profiling information" + } + }, + { + "signature": "client.ft.profileAggregate(index: string, query: string, options?: ProfileOptions & FtAggregateOptions)", + "params": [ + { + "name": "index", + "type": "string", + "description": "The index name" }, { "name": "query", - "type": "RedisArgument", + "type": "string", "description": "The query to profile" }, { "name": "options", - "type": "{ LIMITED?: boolean }", - "description": "Optional profile options" + "type": "ProfileOptions & FtAggregateOptions", + "description": "Optional profile and aggregate options" } ], "returns": { - "type": "Promise", + "type": "ProfileReplyResp2", "description": "Profiling information" } } @@ -44468,7 +44459,7 @@ ], "node_redis": [ { - "signature": "client.ft.synUpdate(index: RedisArgument, synonymGroupId: RedisArgument, terms: Array | RedisArgument, options?: { SKIPINITIALSCAN?: boolean })", + "signature": "client.ft.synUpdate(index: RedisArgument, groupId: RedisArgument, terms: Array | RedisArgument, options?: { SKIPINITIALSCAN?: boolean })", "params": [ { "name": "index", @@ -44476,7 +44467,7 @@ "description": "The index name" }, { - "name": "synonymGroupId", + "name": "groupId", "type": "RedisArgument", "description": "The synonym group ID" }, @@ -44934,7 +44925,7 @@ ], "node_redis": [ { - "signature": "client.ft._LIST()", + "signature": "client.ft._list()", "params": [], "returns": { "type": "Array", @@ -49959,11 +49950,31 @@ ], "node_redis": [ { - "signature": "geoRadius(...args: Parameters)", + "signature": "geoRadius(key: RedisArgument, from: GeoCoordinates, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "GeoCoordinates", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options", + "type": "GeoSearchOptions", "description": "" } ], @@ -51434,11 +51445,31 @@ "api_calls": { "node_redis": [ { - "signature": "geoRadiusByMemberRo(...args: Parameters)", + "signature": "geoRadiusByMemberRo(key: RedisArgument, from: RedisArgument, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "RedisArgument", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options?", + "type": "GeoSearchOptions", "description": "" } ], @@ -51519,11 +51550,31 @@ "api_calls": { "node_redis": [ { - "signature": "geoRadiusRo(...args: Parameters)", + "signature": "geoRadiusRo(key: RedisArgument, from: GeoCoordinates, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "GeoCoordinates", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options", + "type": "GeoSearchOptions", "description": "" } ], @@ -73838,25 +73889,6 @@ "type": "NumberReply", "description": "" } - }, - { - "signature": "incrBy(key: RedisArgument, increment: number)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - }, - { - "name": "increment", - "type": "number", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } } ], "ioredis": [ @@ -74461,20 +74493,6 @@ } ], "node_redis": [ - { - "signature": "incr(key: RedisArgument)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } - }, { "signature": "incrBy(key: RedisArgument, increment: number)", "params": [ @@ -80598,7 +80616,7 @@ ], "node_redis": [ { - "signature": "client.json.mGet(keys: Array, path: RedisArgument)", + "signature": "client.json.mGet(keys: Array, path: RedisArgument, reviver?: JsonReviver)", "params": [ { "name": "keys", @@ -80609,6 +80627,11 @@ "name": "path", "type": "RedisArgument", "description": "" + }, + { + "name": "reviver", + "type": "JsonReviver", + "description": "" } ], "returns": { @@ -93779,11 +93802,11 @@ ], "node_redis": [ { - "signature": "migrate(host: string, port: number, key: RedisArgument, destination: number, timeout: number, options?: MigrateOptions)", + "signature": "migrate(host: RedisArgument, port: number, key: RedisArgument | Array, destinationDb: number, timeout: number, options?: MigrateOptions)", "params": [ { "name": "host", - "type": "string", + "type": "RedisArgument", "description": "" }, { @@ -93793,11 +93816,11 @@ }, { "name": "key", - "type": "RedisArgument", + "type": "RedisArgument | Array", "description": "" }, { - "name": "destination", + "name": "destinationDb", "type": "number", "description": "" }, @@ -96065,7 +96088,7 @@ ], "node_redis": [ { - "signature": "pExpire(key: RedisArgument, milliseconds: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", + "signature": "pExpire(key: RedisArgument, ms: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", "params": [ { "name": "key", @@ -96073,7 +96096,7 @@ "description": "" }, { - "name": "milliseconds", + "name": "ms", "type": "number", "description": "" }, @@ -96643,7 +96666,7 @@ ], "node_redis": [ { - "signature": "pExpireAt(key: RedisArgument, millisecondsTimestamp: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", + "signature": "pExpireAt(key: RedisArgument, msTimestamp: number | Date, mode?: 'NX' | 'XX' | 'GT' | 'LT')", "params": [ { "name": "key", @@ -96651,8 +96674,8 @@ "description": "" }, { - "name": "millisecondsTimestamp", - "type": "number", + "name": "msTimestamp", + "type": "number | Date", "description": "" }, { @@ -101332,22 +101355,7 @@ } } ], - "node_redis": [ - { - "signature": "parseCommand(parser: CommandParser)", - "params": [ - { - "name": "parser", - "type": "CommandParser", - "description": "The command parser" - } - ], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String readWrite()", @@ -105295,16 +105303,7 @@ } } ], - "node_redis": [ - { - "signature": "SAVE()", - "params": [], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String save()", @@ -111335,22 +111334,7 @@ } } ], - "node_redis": [ - { - "signature": "SHUTDOWN(options?: ShutdownOptions)", - "params": [ - { - "name": "options", - "type": "ShutdownOptions", - "description": "Options for the shutdown process" - } - ], - "returns": { - "type": "void | SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "void shutdown(boolean save)", @@ -123589,19 +123573,17 @@ ], "node_redis": [ { - "signature": "client.tDigest.merge(destination, numKeys, sourceKeys, options?)", + "signature": "client.tDigest.merge(destination, source, options?)", "params": [ { "name": "destination", - "type": "string" - }, - { - "name": "numKeys", - "type": "number" + "type": "RedisArgument", + "description": "" }, { - "name": "sourceKeys", - "type": "string[]" + "name": "source", + "type": "RedisVariadicArgument", + "description": "" }, { "name": "options", @@ -124435,18 +124417,18 @@ ], "node_redis": [ { - "signature": "client.tDigest.trimmedMean(key, lowCutQuantile, highCutQuantile)", + "signature": "client.tDigest.trimmedMean(key, lowCutPercentile, highCutPercentile)", "params": [ { "name": "key", "type": "string" }, { - "name": "lowCutQuantile", + "name": "lowCutPercentile", "type": "number" }, { - "name": "highCutQuantile", + "name": "highCutPercentile", "type": "number" } ], @@ -125931,10 +125913,10 @@ ], "node_redis": [ { - "signature": "touch(keys: RedisVariadicArgument)", + "signature": "touch(key: RedisVariadicArgument)", "params": [ { - "name": "keys", + "name": "key", "type": "RedisVariadicArgument", "description": "" } @@ -127513,11 +127495,21 @@ ], "node_redis": [ { - "signature": "client.ts.decrBy(...args: Parameters)", + "signature": "client.ts.decrBy(key: RedisArgument, value: number, options?: TsIncrByOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "value", + "type": "number", + "description": "" + }, + { + "name": "options", + "type": "TsIncrByOptions", "description": "" } ], @@ -128381,11 +128373,21 @@ ], "node_redis": [ { - "signature": "client.ts.incrBy(...args: Parameters)", + "signature": "client.ts.incrBy(key: RedisArgument, value: number, options?: TsIncrByOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "value", + "type": "number", + "description": "" + }, + { + "name": "options", + "type": "TsIncrByOptions", "description": "" } ], @@ -130194,11 +130196,26 @@ ], "node_redis": [ { - "signature": "client.ts.range(...args: Parameters)", + "signature": "client.ts.range(key: RedisArgument, fromTimestamp: Timestamp, toTimestamp: Timestamp, options?: TsRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "fromTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "toTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "options", + "type": "TsRangeOptions", "description": "" } ], @@ -130573,11 +130590,26 @@ ], "node_redis": [ { - "signature": "client.ts.revRange(...args: Parameters)", + "signature": "client.ts.revRange(key: RedisArgument, fromTimestamp: Timestamp, toTimestamp: Timestamp, options?: TsRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "fromTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "toTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "options", + "type": "TsRangeOptions", "description": "" } ], @@ -138694,11 +138726,26 @@ ], "node_redis": [ { - "signature": "xAdd(...args: Tail>)", + "signature": "xAdd(key: RedisArgument, id: RedisArgument, message: Record, options?: XAddOptions)", "params": [ { - "name": "...args", - "type": "Tail>", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "id", + "type": "RedisArgument", + "description": "" + }, + { + "name": "message", + "type": "Record", + "description": "" + }, + { + "name": "options", + "type": "XAddOptions", "description": "" } ], @@ -149428,7 +149475,7 @@ ], "node_redis": [ { - "signature": "xRange(key: RedisArgument, ...args: Parameters)", + "signature": "xRange(key: RedisArgument, start: RedisArgument, end: RedisArgument, options?: XRangeOptions)", "params": [ { "name": "key", @@ -149436,8 +149483,18 @@ "description": "" }, { - "name": "...args", - "type": "Parameters", + "name": "start", + "type": "RedisArgument", + "description": "" + }, + { + "name": "end", + "type": "RedisArgument", + "description": "" + }, + { + "name": "options", + "type": "XRangeOptions", "description": "" } ], @@ -152143,7 +152200,7 @@ ], "node_redis": [ { - "signature": "xRevRange(key: RedisArgument, ...args: Parameters)", + "signature": "xRevRange(key: RedisArgument, start: RedisArgument, end: RedisArgument, options?: XRangeOptions)", "params": [ { "name": "key", @@ -152151,8 +152208,18 @@ "description": "" }, { - "name": "...args", - "type": "Parameters", + "name": "start", + "type": "RedisArgument", + "description": "" + }, + { + "name": "end", + "type": "RedisArgument", + "description": "" + }, + { + "name": "options", + "type": "XRangeOptions", "description": "" } ], @@ -163543,11 +163610,26 @@ } }, { - "signature": "zRangeWithScores(...args: Parameters)", + "signature": "zRangeWithScores(key: RedisArgument, min: RedisArgument | number, max: RedisArgument | number, options?: ZRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "min", + "type": "RedisArgument | number", + "description": "" + }, + { + "name": "max", + "type": "RedisArgument | number", + "description": "" + }, + { + "name": "options?", + "type": "ZRangeOptions", "description": "" } ], @@ -165799,11 +165881,26 @@ } }, { - "signature": "zRangeByScoreWithScores(...args: Parameters)", + "signature": "zRangeByScoreWithScores(key: RedisArgument, min: string | number, max: string | number, options?: ZRangeByScoreOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "min", + "type": "string | number", + "description": "" + }, + { + "name": "max", + "type": "string | number", + "description": "" + }, + { + "name": "options?", + "type": "ZRangeByScoreOptions", "description": "" } ], diff --git a/data/command-api-mapping/BZMPOP.json b/data/command-api-mapping/BZMPOP.json index 1d57012839..426b9f4d21 100644 --- a/data/command-api-mapping/BZMPOP.json +++ b/data/command-api-mapping/BZMPOP.json @@ -458,7 +458,7 @@ ], "node_redis": [ { - "signature": "bzmPop(timeout: number, ...args: ZMPopArguments)", + "signature": "bzmPop(timeout: number, keys: RedisVariadicArgument, side: SortedSetSide, options?: ZMPopOptions)", "params": [ { "name": "timeout", @@ -466,8 +466,18 @@ "description": "" }, { - "name": "...args", - "type": "ZMPopArguments", + "name": "keys", + "type": "RedisVariadicArgument", + "description": "" + }, + { + "name": "side", + "type": "SortedSetSide", + "description": "" + }, + { + "name": "options", + "type": "ZMPopOptions", "description": "" } ], diff --git a/data/command-api-mapping/CF.LOADCHUNK.json b/data/command-api-mapping/CF.LOADCHUNK.json index 22470faa48..c9c0927ac1 100644 --- a/data/command-api-mapping/CF.LOADCHUNK.json +++ b/data/command-api-mapping/CF.LOADCHUNK.json @@ -85,7 +85,7 @@ ], "node_redis": [ { - "signature": "client.cf.loadChunk(key: RedisArgument, iterator: number, data: RedisArgument)", + "signature": "client.cf.loadChunk(key: RedisArgument, iterator: number, chunk: RedisArgument)", "params": [ { "name": "key", @@ -98,7 +98,7 @@ "description": "Iterator from SCANDUMP" }, { - "name": "data", + "name": "chunk", "type": "RedisArgument", "description": "Data from SCANDUMP" } diff --git a/data/command-api-mapping/CMS.INITBYDIM.json b/data/command-api-mapping/CMS.INITBYDIM.json index a842b9519b..adcea0515c 100644 --- a/data/command-api-mapping/CMS.INITBYDIM.json +++ b/data/command-api-mapping/CMS.INITBYDIM.json @@ -77,7 +77,7 @@ ], "node_redis": [ { - "signature": "client.cms.initByDim(key, width, depth)", + "signature": "client.cms.initByDim(key, width, depth, options?)", "params": [ { "name": "key", @@ -92,6 +92,11 @@ "name": "depth", "type": "number", "description": "Number of counter arrays" + }, + { + "name": "options", + "type": "CmsInitOptions", + "description": "" } ], "returns": { diff --git a/data/command-api-mapping/CMS.INITBYPROB.json b/data/command-api-mapping/CMS.INITBYPROB.json index 48119d384a..491728b3c6 100644 --- a/data/command-api-mapping/CMS.INITBYPROB.json +++ b/data/command-api-mapping/CMS.INITBYPROB.json @@ -77,7 +77,7 @@ ], "node_redis": [ { - "signature": "client.cms.initByProb(key, error, probability)", + "signature": "client.cms.initByProb(key, error, probability, options?)", "params": [ { "name": "key", @@ -92,6 +92,11 @@ "name": "probability", "type": "number", "description": "Probability for inflated count" + }, + { + "name": "options", + "type": "CmsInitOptions", + "description": "" } ], "returns": { diff --git a/data/command-api-mapping/DECR.json b/data/command-api-mapping/DECR.json index fde973a03f..2104c488dc 100644 --- a/data/command-api-mapping/DECR.json +++ b/data/command-api-mapping/DECR.json @@ -253,25 +253,6 @@ "type": "NumberReply", "description": "" } - }, - { - "signature": "decrBy(key: RedisArgument, decrement: number)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - }, - { - "name": "decrement", - "type": "number", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } } ], "ioredis": [ diff --git a/data/command-api-mapping/DECRBY.json b/data/command-api-mapping/DECRBY.json index 6e1621f033..c8d004268e 100644 --- a/data/command-api-mapping/DECRBY.json +++ b/data/command-api-mapping/DECRBY.json @@ -240,20 +240,6 @@ } ], "node_redis": [ - { - "signature": "decr(key: RedisArgument)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } - }, { "signature": "decrBy(key: RedisArgument, decrement: number)", "params": [ diff --git a/data/command-api-mapping/FAILOVER.json b/data/command-api-mapping/FAILOVER.json index 339c647113..8c0a02f728 100644 --- a/data/command-api-mapping/FAILOVER.json +++ b/data/command-api-mapping/FAILOVER.json @@ -41,22 +41,7 @@ } } ], - "node_redis": [ - { - "signature": "failover(options?: FailoverOptions)", - "params": [ - { - "name": "options", - "type": "FailoverOptions", - "description": "Failover options including target host, abort flag, and timeout" - } - ], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String failover()", diff --git a/data/command-api-mapping/FT.ALTER.json b/data/command-api-mapping/FT.ALTER.json index 98b70de6b8..18a0aa2cc6 100644 --- a/data/command-api-mapping/FT.ALTER.json +++ b/data/command-api-mapping/FT.ALTER.json @@ -224,7 +224,7 @@ ], "node_redis": [ { - "signature": "client.ft.alter(index: RedisArgument, field: SchemaField)", + "signature": "client.ft.alter(index: RedisArgument, schema: RediSearchSchema)", "params": [ { "name": "index", @@ -232,8 +232,8 @@ "description": "The index name" }, { - "name": "field", - "type": "SchemaField", + "name": "schema", + "type": "RediSearchSchema", "description": "The field to add" } ], diff --git a/data/command-api-mapping/FT.CURSOR READ.json b/data/command-api-mapping/FT.CURSOR READ.json index 9d3b92683a..474462fac3 100644 --- a/data/command-api-mapping/FT.CURSOR READ.json +++ b/data/command-api-mapping/FT.CURSOR READ.json @@ -215,7 +215,7 @@ ], "node_redis": [ { - "signature": "client.ft.cursorRead(index: RedisArgument, cursorId: number, options?: { COUNT?: number })", + "signature": "client.ft.cursorRead(index: RedisArgument, cursor: number, options?: { COUNT?: number })", "params": [ { "name": "index", @@ -223,7 +223,7 @@ "description": "The index name" }, { - "name": "cursorId", + "name": "cursor", "type": "number", "description": "The cursor ID" }, diff --git a/data/command-api-mapping/FT.DICTADD.json b/data/command-api-mapping/FT.DICTADD.json index b4dad96bd0..dc204e5a3f 100644 --- a/data/command-api-mapping/FT.DICTADD.json +++ b/data/command-api-mapping/FT.DICTADD.json @@ -133,7 +133,7 @@ ], "node_redis": [ { - "signature": "client.ft.dictAdd(dictionary: RedisArgument, terms: Array | RedisArgument)", + "signature": "client.ft.dictAdd(dictionary: RedisArgument, term: Array | RedisArgument)", "params": [ { "name": "dictionary", @@ -141,7 +141,7 @@ "description": "The dictionary name" }, { - "name": "terms", + "name": "term", "type": "Array | RedisArgument", "description": "Terms to add" } diff --git a/data/command-api-mapping/FT.DICTDEL.json b/data/command-api-mapping/FT.DICTDEL.json index c73266ad1e..8cd279e13f 100644 --- a/data/command-api-mapping/FT.DICTDEL.json +++ b/data/command-api-mapping/FT.DICTDEL.json @@ -133,7 +133,7 @@ ], "node_redis": [ { - "signature": "client.ft.dictDel(dictionary: RedisArgument, terms: Array | RedisArgument)", + "signature": "client.ft.dictDel(dictionary: RedisArgument, term: Array | RedisArgument)", "params": [ { "name": "dictionary", @@ -141,7 +141,7 @@ "description": "The dictionary name" }, { - "name": "terms", + "name": "term", "type": "Array | RedisArgument", "description": "Terms to delete" } diff --git a/data/command-api-mapping/FT.PROFILE.json b/data/command-api-mapping/FT.PROFILE.json index aef0e459b1..1d31fe386d 100644 --- a/data/command-api-mapping/FT.PROFILE.json +++ b/data/command-api-mapping/FT.PROFILE.json @@ -136,7 +136,7 @@ ], "node_redis": [ { - "signature": "PROFILE(index: RedisArgument, queryType: 'SEARCH' | 'AGGREGATE', query: RedisArgument, options?: { LIMITED?: boolean })", + "signature": "client.ft.profileSearch(index: RedisArgument, query: RedisArgument, options?: ProfileOptions & FtSearchOptions)", "params": [ { "name": "index", @@ -144,23 +144,42 @@ "description": "The index name" }, { - "name": "queryType", - "type": "'SEARCH' | 'AGGREGATE'", - "description": "The query type" + "name": "query", + "type": "RedisArgument", + "description": "The query to profile" + }, + { + "name": "options", + "type": "ProfileOptions & FtSearchOptions", + "description": "Optional profile and search options" + } + ], + "returns": { + "type": "ProfileReplyResp2", + "description": "Profiling information" + } + }, + { + "signature": "client.ft.profileAggregate(index: string, query: string, options?: ProfileOptions & FtAggregateOptions)", + "params": [ + { + "name": "index", + "type": "string", + "description": "The index name" }, { "name": "query", - "type": "RedisArgument", + "type": "string", "description": "The query to profile" }, { "name": "options", - "type": "{ LIMITED?: boolean }", - "description": "Optional profile options" + "type": "ProfileOptions & FtAggregateOptions", + "description": "Optional profile and aggregate options" } ], "returns": { - "type": "Promise", + "type": "ProfileReplyResp2", "description": "Profiling information" } } diff --git a/data/command-api-mapping/FT.SYNUPDATE.json b/data/command-api-mapping/FT.SYNUPDATE.json index 0a30dddde0..7d691fbdd8 100644 --- a/data/command-api-mapping/FT.SYNUPDATE.json +++ b/data/command-api-mapping/FT.SYNUPDATE.json @@ -250,7 +250,7 @@ ], "node_redis": [ { - "signature": "client.ft.synUpdate(index: RedisArgument, synonymGroupId: RedisArgument, terms: Array | RedisArgument, options?: { SKIPINITIALSCAN?: boolean })", + "signature": "client.ft.synUpdate(index: RedisArgument, groupId: RedisArgument, terms: Array | RedisArgument, options?: { SKIPINITIALSCAN?: boolean })", "params": [ { "name": "index", @@ -258,7 +258,7 @@ "description": "The index name" }, { - "name": "synonymGroupId", + "name": "groupId", "type": "RedisArgument", "description": "The synonym group ID" }, diff --git a/data/command-api-mapping/FT._LIST.json b/data/command-api-mapping/FT._LIST.json index 41838c26a3..9bfeaf632d 100644 --- a/data/command-api-mapping/FT._LIST.json +++ b/data/command-api-mapping/FT._LIST.json @@ -68,7 +68,7 @@ ], "node_redis": [ { - "signature": "client.ft._LIST()", + "signature": "client.ft._list()", "params": [], "returns": { "type": "Array", diff --git a/data/command-api-mapping/GEORADIUS.json b/data/command-api-mapping/GEORADIUS.json index 12ac29e8db..4f94d3820d 100644 --- a/data/command-api-mapping/GEORADIUS.json +++ b/data/command-api-mapping/GEORADIUS.json @@ -593,11 +593,31 @@ ], "node_redis": [ { - "signature": "geoRadius(...args: Parameters)", + "signature": "geoRadius(key: RedisArgument, from: GeoCoordinates, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "GeoCoordinates", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options", + "type": "GeoSearchOptions", "description": "" } ], diff --git a/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json b/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json index da8dbccc0b..179fe0c3bf 100644 --- a/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json +++ b/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json @@ -2,11 +2,31 @@ "api_calls": { "node_redis": [ { - "signature": "geoRadiusByMemberRo(...args: Parameters)", + "signature": "geoRadiusByMemberRo(key: RedisArgument, from: RedisArgument, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "RedisArgument", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options?", + "type": "GeoSearchOptions", "description": "" } ], diff --git a/data/command-api-mapping/GEORADIUS_RO.json b/data/command-api-mapping/GEORADIUS_RO.json index 6b9f73263c..eeed40261e 100644 --- a/data/command-api-mapping/GEORADIUS_RO.json +++ b/data/command-api-mapping/GEORADIUS_RO.json @@ -2,11 +2,31 @@ "api_calls": { "node_redis": [ { - "signature": "geoRadiusRo(...args: Parameters)", + "signature": "geoRadiusRo(key: RedisArgument, from: GeoCoordinates, radius: number, unit: GeoUnits, options?: GeoSearchOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "from", + "type": "GeoCoordinates", + "description": "" + }, + { + "name": "radius", + "type": "number", + "description": "" + }, + { + "name": "unit", + "type": "GeoUnits", + "description": "" + }, + { + "name": "options", + "type": "GeoSearchOptions", "description": "" } ], diff --git a/data/command-api-mapping/INCR.json b/data/command-api-mapping/INCR.json index 63f7dbc3fb..a361232f1d 100644 --- a/data/command-api-mapping/INCR.json +++ b/data/command-api-mapping/INCR.json @@ -253,25 +253,6 @@ "type": "NumberReply", "description": "" } - }, - { - "signature": "incrBy(key: RedisArgument, increment: number)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - }, - { - "name": "increment", - "type": "number", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } } ], "ioredis": [ diff --git a/data/command-api-mapping/INCRBY.json b/data/command-api-mapping/INCRBY.json index 7a8fc9800b..59a94bcb06 100644 --- a/data/command-api-mapping/INCRBY.json +++ b/data/command-api-mapping/INCRBY.json @@ -240,20 +240,6 @@ } ], "node_redis": [ - { - "signature": "incr(key: RedisArgument)", - "params": [ - { - "name": "key", - "type": "RedisArgument", - "description": "" - } - ], - "returns": { - "type": "NumberReply", - "description": "" - } - }, { "signature": "incrBy(key: RedisArgument, increment: number)", "params": [ diff --git a/data/command-api-mapping/JSON.MGET.json b/data/command-api-mapping/JSON.MGET.json index 051654c92c..e89379e5e3 100644 --- a/data/command-api-mapping/JSON.MGET.json +++ b/data/command-api-mapping/JSON.MGET.json @@ -233,7 +233,7 @@ ], "node_redis": [ { - "signature": "client.json.mGet(keys: Array, path: RedisArgument)", + "signature": "client.json.mGet(keys: Array, path: RedisArgument, reviver?: JsonReviver)", "params": [ { "name": "keys", @@ -244,6 +244,11 @@ "name": "path", "type": "RedisArgument", "description": "" + }, + { + "name": "reviver", + "type": "JsonReviver", + "description": "" } ], "returns": { diff --git a/data/command-api-mapping/MIGRATE.json b/data/command-api-mapping/MIGRATE.json index 944e699fef..b927a0c2f2 100644 --- a/data/command-api-mapping/MIGRATE.json +++ b/data/command-api-mapping/MIGRATE.json @@ -242,11 +242,11 @@ ], "node_redis": [ { - "signature": "migrate(host: string, port: number, key: RedisArgument, destination: number, timeout: number, options?: MigrateOptions)", + "signature": "migrate(host: RedisArgument, port: number, key: RedisArgument | Array, destinationDb: number, timeout: number, options?: MigrateOptions)", "params": [ { "name": "host", - "type": "string", + "type": "RedisArgument", "description": "" }, { @@ -256,11 +256,11 @@ }, { "name": "key", - "type": "RedisArgument", + "type": "RedisArgument | Array", "description": "" }, { - "name": "destination", + "name": "destinationDb", "type": "number", "description": "" }, diff --git a/data/command-api-mapping/PEXPIRE.json b/data/command-api-mapping/PEXPIRE.json index 030c77a544..0ebf3b6459 100644 --- a/data/command-api-mapping/PEXPIRE.json +++ b/data/command-api-mapping/PEXPIRE.json @@ -157,7 +157,7 @@ ], "node_redis": [ { - "signature": "pExpire(key: RedisArgument, milliseconds: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", + "signature": "pExpire(key: RedisArgument, ms: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", "params": [ { "name": "key", @@ -165,7 +165,7 @@ "description": "" }, { - "name": "milliseconds", + "name": "ms", "type": "number", "description": "" }, diff --git a/data/command-api-mapping/PEXPIREAT.json b/data/command-api-mapping/PEXPIREAT.json index d89043536c..efb3068111 100644 --- a/data/command-api-mapping/PEXPIREAT.json +++ b/data/command-api-mapping/PEXPIREAT.json @@ -157,7 +157,7 @@ ], "node_redis": [ { - "signature": "pExpireAt(key: RedisArgument, millisecondsTimestamp: number, mode?: 'NX' | 'XX' | 'GT' | 'LT')", + "signature": "pExpireAt(key: RedisArgument, msTimestamp: number | Date, mode?: 'NX' | 'XX' | 'GT' | 'LT')", "params": [ { "name": "key", @@ -165,8 +165,8 @@ "description": "" }, { - "name": "millisecondsTimestamp", - "type": "number", + "name": "msTimestamp", + "type": "number | Date", "description": "" }, { diff --git a/data/command-api-mapping/READWRITE.json b/data/command-api-mapping/READWRITE.json index 9464f58676..0733c69605 100644 --- a/data/command-api-mapping/READWRITE.json +++ b/data/command-api-mapping/READWRITE.json @@ -42,22 +42,7 @@ } } ], - "node_redis": [ - { - "signature": "parseCommand(parser: CommandParser)", - "params": [ - { - "name": "parser", - "type": "CommandParser", - "description": "The command parser" - } - ], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String readWrite()", diff --git a/data/command-api-mapping/SAVE.json b/data/command-api-mapping/SAVE.json index f0774bb8e2..52e44c91e8 100644 --- a/data/command-api-mapping/SAVE.json +++ b/data/command-api-mapping/SAVE.json @@ -42,16 +42,7 @@ } } ], - "node_redis": [ - { - "signature": "SAVE()", - "params": [], - "returns": { - "type": "SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "String save()", diff --git a/data/command-api-mapping/SHUTDOWN.json b/data/command-api-mapping/SHUTDOWN.json index d0c5552732..7acd6cb989 100644 --- a/data/command-api-mapping/SHUTDOWN.json +++ b/data/command-api-mapping/SHUTDOWN.json @@ -89,22 +89,7 @@ } } ], - "node_redis": [ - { - "signature": "SHUTDOWN(options?: ShutdownOptions)", - "params": [ - { - "name": "options", - "type": "ShutdownOptions", - "description": "Options for the shutdown process" - } - ], - "returns": { - "type": "void | SimpleStringReply", - "description": "" - } - } - ], + "node_redis": [], "lettuce_sync": [ { "signature": "void shutdown(boolean save)", diff --git a/data/command-api-mapping/TDIGEST.MERGE.json b/data/command-api-mapping/TDIGEST.MERGE.json index f103aada35..58356c9ad1 100644 --- a/data/command-api-mapping/TDIGEST.MERGE.json +++ b/data/command-api-mapping/TDIGEST.MERGE.json @@ -100,19 +100,17 @@ ], "node_redis": [ { - "signature": "client.tDigest.merge(destination, numKeys, sourceKeys, options?)", + "signature": "client.tDigest.merge(destination, source, options?)", "params": [ { "name": "destination", - "type": "string" - }, - { - "name": "numKeys", - "type": "number" + "type": "RedisArgument", + "description": "" }, { - "name": "sourceKeys", - "type": "string[]" + "name": "source", + "type": "RedisVariadicArgument", + "description": "" }, { "name": "options", diff --git a/data/command-api-mapping/TDIGEST.TRIMMED_MEAN.json b/data/command-api-mapping/TDIGEST.TRIMMED_MEAN.json index a294de1457..3c335efa83 100644 --- a/data/command-api-mapping/TDIGEST.TRIMMED_MEAN.json +++ b/data/command-api-mapping/TDIGEST.TRIMMED_MEAN.json @@ -75,18 +75,18 @@ ], "node_redis": [ { - "signature": "client.tDigest.trimmedMean(key, lowCutQuantile, highCutQuantile)", + "signature": "client.tDigest.trimmedMean(key, lowCutPercentile, highCutPercentile)", "params": [ { "name": "key", "type": "string" }, { - "name": "lowCutQuantile", + "name": "lowCutPercentile", "type": "number" }, { - "name": "highCutQuantile", + "name": "highCutPercentile", "type": "number" } ], diff --git a/data/command-api-mapping/TOUCH.json b/data/command-api-mapping/TOUCH.json index d0ef76d577..79b1246dbc 100644 --- a/data/command-api-mapping/TOUCH.json +++ b/data/command-api-mapping/TOUCH.json @@ -97,10 +97,10 @@ ], "node_redis": [ { - "signature": "touch(keys: RedisVariadicArgument)", + "signature": "touch(key: RedisVariadicArgument)", "params": [ { - "name": "keys", + "name": "key", "type": "RedisVariadicArgument", "description": "" } diff --git a/data/command-api-mapping/TS.DECRBY.json b/data/command-api-mapping/TS.DECRBY.json index a73f1dc865..2227542803 100644 --- a/data/command-api-mapping/TS.DECRBY.json +++ b/data/command-api-mapping/TS.DECRBY.json @@ -158,11 +158,21 @@ ], "node_redis": [ { - "signature": "client.ts.decrBy(...args: Parameters)", + "signature": "client.ts.decrBy(key: RedisArgument, value: number, options?: TsIncrByOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "value", + "type": "number", + "description": "" + }, + { + "name": "options", + "type": "TsIncrByOptions", "description": "" } ], diff --git a/data/command-api-mapping/TS.INCRBY.json b/data/command-api-mapping/TS.INCRBY.json index 3b038269a5..223875c1bc 100644 --- a/data/command-api-mapping/TS.INCRBY.json +++ b/data/command-api-mapping/TS.INCRBY.json @@ -158,11 +158,21 @@ ], "node_redis": [ { - "signature": "client.ts.incrBy(...args: Parameters)", + "signature": "client.ts.incrBy(key: RedisArgument, value: number, options?: TsIncrByOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "value", + "type": "number", + "description": "" + }, + { + "name": "options", + "type": "TsIncrByOptions", "description": "" } ], diff --git a/data/command-api-mapping/TS.RANGE.json b/data/command-api-mapping/TS.RANGE.json index 85d8e558be..7be2ae6f8b 100644 --- a/data/command-api-mapping/TS.RANGE.json +++ b/data/command-api-mapping/TS.RANGE.json @@ -188,11 +188,26 @@ ], "node_redis": [ { - "signature": "client.ts.range(...args: Parameters)", + "signature": "client.ts.range(key: RedisArgument, fromTimestamp: Timestamp, toTimestamp: Timestamp, options?: TsRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "fromTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "toTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "options", + "type": "TsRangeOptions", "description": "" } ], diff --git a/data/command-api-mapping/TS.REVRANGE.json b/data/command-api-mapping/TS.REVRANGE.json index c11b404bd1..c1c4356505 100644 --- a/data/command-api-mapping/TS.REVRANGE.json +++ b/data/command-api-mapping/TS.REVRANGE.json @@ -188,11 +188,26 @@ ], "node_redis": [ { - "signature": "client.ts.revRange(...args: Parameters)", + "signature": "client.ts.revRange(key: RedisArgument, fromTimestamp: Timestamp, toTimestamp: Timestamp, options?: TsRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "fromTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "toTimestamp", + "type": "Timestamp", + "description": "" + }, + { + "name": "options", + "type": "TsRangeOptions", "description": "" } ], diff --git a/data/command-api-mapping/XADD.json b/data/command-api-mapping/XADD.json index 638595b8a1..cc0d181070 100644 --- a/data/command-api-mapping/XADD.json +++ b/data/command-api-mapping/XADD.json @@ -475,11 +475,26 @@ ], "node_redis": [ { - "signature": "xAdd(...args: Tail>)", + "signature": "xAdd(key: RedisArgument, id: RedisArgument, message: Record, options?: XAddOptions)", "params": [ { - "name": "...args", - "type": "Tail>", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "id", + "type": "RedisArgument", + "description": "" + }, + { + "name": "message", + "type": "Record", + "description": "" + }, + { + "name": "options", + "type": "XAddOptions", "description": "" } ], diff --git a/data/command-api-mapping/XRANGE.json b/data/command-api-mapping/XRANGE.json index b6f23515de..53b19b5ff3 100644 --- a/data/command-api-mapping/XRANGE.json +++ b/data/command-api-mapping/XRANGE.json @@ -360,7 +360,7 @@ ], "node_redis": [ { - "signature": "xRange(key: RedisArgument, ...args: Parameters)", + "signature": "xRange(key: RedisArgument, start: RedisArgument, end: RedisArgument, options?: XRangeOptions)", "params": [ { "name": "key", @@ -368,8 +368,18 @@ "description": "" }, { - "name": "...args", - "type": "Parameters", + "name": "start", + "type": "RedisArgument", + "description": "" + }, + { + "name": "end", + "type": "RedisArgument", + "description": "" + }, + { + "name": "options", + "type": "XRangeOptions", "description": "" } ], diff --git a/data/command-api-mapping/XREVRANGE.json b/data/command-api-mapping/XREVRANGE.json index 19e6481604..394ad462f9 100644 --- a/data/command-api-mapping/XREVRANGE.json +++ b/data/command-api-mapping/XREVRANGE.json @@ -355,7 +355,7 @@ ], "node_redis": [ { - "signature": "xRevRange(key: RedisArgument, ...args: Parameters)", + "signature": "xRevRange(key: RedisArgument, start: RedisArgument, end: RedisArgument, options?: XRangeOptions)", "params": [ { "name": "key", @@ -363,8 +363,18 @@ "description": "" }, { - "name": "...args", - "type": "Parameters", + "name": "start", + "type": "RedisArgument", + "description": "" + }, + { + "name": "end", + "type": "RedisArgument", + "description": "" + }, + { + "name": "options", + "type": "XRangeOptions", "description": "" } ], diff --git a/data/command-api-mapping/ZRANGE.json b/data/command-api-mapping/ZRANGE.json index 1673d09ed0..4130c6ead3 100644 --- a/data/command-api-mapping/ZRANGE.json +++ b/data/command-api-mapping/ZRANGE.json @@ -588,11 +588,26 @@ } }, { - "signature": "zRangeWithScores(...args: Parameters)", + "signature": "zRangeWithScores(key: RedisArgument, min: RedisArgument | number, max: RedisArgument | number, options?: ZRangeOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "min", + "type": "RedisArgument | number", + "description": "" + }, + { + "name": "max", + "type": "RedisArgument | number", + "description": "" + }, + { + "name": "options?", + "type": "ZRangeOptions", "description": "" } ], diff --git a/data/command-api-mapping/ZRANGEBYSCORE.json b/data/command-api-mapping/ZRANGEBYSCORE.json index fce0d2a5f2..933ccfb2dc 100644 --- a/data/command-api-mapping/ZRANGEBYSCORE.json +++ b/data/command-api-mapping/ZRANGEBYSCORE.json @@ -651,11 +651,26 @@ } }, { - "signature": "zRangeByScoreWithScores(...args: Parameters)", + "signature": "zRangeByScoreWithScores(key: RedisArgument, min: string | number, max: string | number, options?: ZRangeByScoreOptions)", "params": [ { - "name": "...args", - "type": "Parameters", + "name": "key", + "type": "RedisArgument", + "description": "" + }, + { + "name": "min", + "type": "string | number", + "description": "" + }, + { + "name": "max", + "type": "string | number", + "description": "" + }, + { + "name": "options?", + "type": "ZRangeByScoreOptions", "description": "" } ], diff --git a/data/components_local b/data/components_local new file mode 120000 index 0000000000..50a79b0ae8 --- /dev/null +++ b/data/components_local @@ -0,0 +1 @@ +/Users/andrew.stark/Documents/Repos/docs/data/components_local \ No newline at end of file