From 2166b40212a27183e11f5ea4287e2a68f4a2d042 Mon Sep 17 00:00:00 2001 From: Andy Stark Date: Fri, 6 Nov 2026 11:17:30 +0000 Subject: [PATCH] DOC-7267 Rebuild the ioredis entries from the declared overloads The ioredis data was scraped from RedisCommander.d.ts by something that ran text together: signatures with stray commas and empty leading parameters, params arrays reduced to a single garbled ...args item, 16 entries that glued one command's overload, a JSDoc comment and other commands' overloads into one string, and an Any return on 416 of 429 entries. Each entry is now matched to the overload it came from and rebuilt from that declaration. The reference is ioredis 5.11.1, the latest 5.x. The harness pins ^5.4.0, and 430 of the 458 existing pieces match a 5.11.1 overload exactly against 333 for 6.0.0, so the data is 5.x. The six himport entries are the exception: himport only exists in 6.0.0, where they were authored, and they were already correct. 154 command lists change. 175 signatures are regenerated verbatim from the declaration, 264 params arrays are rebuilt (one item per tuple element, as in HIMPORT PREPARE), and every return becomes the declared Result. Existing text that already matched stays byte for byte, apart from the return. Collapsed entries split into their real overloads, so the file grows from 429 to 458 entries, and 16 pieces that belonged to other commands (hget inside HEXPIRE, lmove inside LLEN, migrate inside MGET and so on) are dropped. The 154 distinct method names all exist on the 5.11.1 Redis type (checked with tsc), except himport. Learned: the scraper concatenated declarations, so a collapsed entry can hold another command's overloads, match pieces to declarations before trusting an entry Constraint: the reference is ioredis 5.x, 6.0.0 differs on about 100 overload signatures (bitop and geoadd option names, for one) Directive: keep the existing per-command overload selection, do not import all 2,891 declared overloads Gaps: which overloads each command should list was not reviewed, HEXPIRE now lists ten Gaps: the pieces dropped from other commands were not added to those commands' own lists Recheck: when the docs move to ioredis 6.x, rerun the match against its declarations Ticket: DOC-7267 Co-Authored-By: Claude Sonnet 5.5 --- data/command-api-mapping.json | 5342 +++++++++++++---- data/command-api-mapping/APPEND.json | 2 +- data/command-api-mapping/BITCOUNT.json | 21 +- data/command-api-mapping/BITFIELD.json | 10 +- data/command-api-mapping/BITFIELD_RO.json | 41 +- data/command-api-mapping/BITOP.json | 80 +- data/command-api-mapping/BITPOS.json | 10 +- data/command-api-mapping/BLMOVE.json | 8 +- data/command-api-mapping/BLMPOP.json | 140 +- data/command-api-mapping/BLPOP.json | 58 +- data/command-api-mapping/BRPOP.json | 58 +- data/command-api-mapping/BRPOPLPUSH.json | 2 +- data/command-api-mapping/BZMPOP.json | 140 +- data/command-api-mapping/BZPOPMAX.json | 58 +- data/command-api-mapping/BZPOPMIN.json | 58 +- data/command-api-mapping/DECR.json | 19 +- data/command-api-mapping/DECRBY.json | 14 +- data/command-api-mapping/GEOADD.json | 95 +- data/command-api-mapping/GEODIST.json | 10 +- data/command-api-mapping/GEOHASH.json | 58 +- data/command-api-mapping/GEOPOS.json | 58 +- data/command-api-mapping/GEORADIUS.json | 57 +- .../GEORADIUSBYMEMBER.json | 47 +- .../GEORADIUSBYMEMBER_RO.json | 47 +- data/command-api-mapping/GEORADIUS_RO.json | 57 +- data/command-api-mapping/GEOSEARCH.json | 25 +- data/command-api-mapping/GEOSEARCHSTORE.json | 35 +- data/command-api-mapping/GET.json | 2 +- data/command-api-mapping/GETBIT.json | 2 +- data/command-api-mapping/GETDEL.json | 2 +- data/command-api-mapping/GETEX.json | 10 +- data/command-api-mapping/GETRANGE.json | 2 +- data/command-api-mapping/GETSET.json | 2 +- data/command-api-mapping/HDEL.json | 29 +- data/command-api-mapping/HEXISTS.json | 2 +- data/command-api-mapping/HEXPIRE.json | 372 +- data/command-api-mapping/HGETALL.json | 2 +- data/command-api-mapping/HINCRBY.json | 2 +- data/command-api-mapping/HINCRBYFLOAT.json | 2 +- data/command-api-mapping/HKEYS.json | 2 +- data/command-api-mapping/HLEN.json | 11 +- data/command-api-mapping/HMGET.json | 11 +- data/command-api-mapping/HMSET.json | 33 +- data/command-api-mapping/HPEXPIRE.json | 383 +- data/command-api-mapping/HRANDFIELD.json | 4 +- data/command-api-mapping/HSCAN.json | 16 +- data/command-api-mapping/HSET.json | 33 +- data/command-api-mapping/HSETNX.json | 2 +- data/command-api-mapping/HSTRLEN.json | 2 +- data/command-api-mapping/HVALS.json | 2 +- data/command-api-mapping/INCR.json | 19 +- data/command-api-mapping/INCRBY.json | 14 +- data/command-api-mapping/INCRBYFLOAT.json | 2 +- data/command-api-mapping/LCS.json | 10 +- data/command-api-mapping/LINDEX.json | 2 +- data/command-api-mapping/LINSERT.json | 4 +- data/command-api-mapping/LLEN.json | 31 +- data/command-api-mapping/LMOVE.json | 6 +- data/command-api-mapping/LMPOP.json | 111 +- data/command-api-mapping/LPOP.json | 4 +- data/command-api-mapping/LPOS.json | 10 +- data/command-api-mapping/LPUSH.json | 29 +- data/command-api-mapping/LPUSHX.json | 29 +- data/command-api-mapping/LRANGE.json | 2 +- data/command-api-mapping/LREM.json | 2 +- data/command-api-mapping/LSET.json | 2 +- data/command-api-mapping/LTRIM.json | 2 +- data/command-api-mapping/MGET.json | 68 +- data/command-api-mapping/MSET.json | 36 +- data/command-api-mapping/MSETNX.json | 36 +- data/command-api-mapping/PFADD.json | 2 +- data/command-api-mapping/PFCOUNT.json | 2 +- data/command-api-mapping/PFMERGE.json | 4 +- data/command-api-mapping/PSETEX.json | 2 +- data/command-api-mapping/RPOP.json | 2 +- data/command-api-mapping/RPOPLPUSH.json | 2 +- data/command-api-mapping/RPUSH.json | 29 +- data/command-api-mapping/RPUSHX.json | 29 +- data/command-api-mapping/SADD.json | 58 +- data/command-api-mapping/SCARD.json | 21 +- data/command-api-mapping/SDIFF.json | 73 +- data/command-api-mapping/SDIFFSTORE.json | 40 +- data/command-api-mapping/SET.json | 10 +- data/command-api-mapping/SETBIT.json | 2 +- data/command-api-mapping/SETEX.json | 2 +- data/command-api-mapping/SETNX.json | 2 +- data/command-api-mapping/SETRANGE.json | 2 +- data/command-api-mapping/SINTER.json | 73 +- data/command-api-mapping/SINTERCARD.json | 96 +- data/command-api-mapping/SINTERSTORE.json | 58 +- data/command-api-mapping/SISMEMBER.json | 2 +- data/command-api-mapping/SMEMBERS.json | 2 +- data/command-api-mapping/SMISMEMBER.json | 58 +- data/command-api-mapping/SMOVE.json | 2 +- data/command-api-mapping/SPOP.json | 4 +- data/command-api-mapping/SRANDMEMBER.json | 4 +- data/command-api-mapping/SREM.json | 58 +- data/command-api-mapping/SSCAN.json | 16 +- data/command-api-mapping/STRLEN.json | 11 +- data/command-api-mapping/SUBSTR.json | 4 +- data/command-api-mapping/SUNION.json | 73 +- data/command-api-mapping/SUNIONSTORE.json | 40 +- data/command-api-mapping/XACK.json | 18 +- data/command-api-mapping/XADD.json | 25 +- data/command-api-mapping/XAUTOCLAIM.json | 8 +- data/command-api-mapping/XCLAIM.json | 170 +- data/command-api-mapping/XDEL.json | 29 +- data/command-api-mapping/XDELEX.json | 145 +- data/command-api-mapping/XGROUP CREATE.json | 10 +- .../XGROUP CREATECONSUMER.json | 10 +- .../XGROUP DELCONSUMER.json | 10 +- data/command-api-mapping/XGROUP DESTROY.json | 10 +- data/command-api-mapping/XGROUP SETID.json | 10 +- data/command-api-mapping/XINFO CONSUMERS.json | 10 +- data/command-api-mapping/XINFO GROUPS.json | 10 +- data/command-api-mapping/XINFO STREAM.json | 10 +- data/command-api-mapping/XLEN.json | 21 +- data/command-api-mapping/XPENDING.json | 8 +- data/command-api-mapping/XRANGE.json | 8 +- data/command-api-mapping/XREAD.json | 98 +- data/command-api-mapping/XREADGROUP.json | 165 +- data/command-api-mapping/XREVRANGE.json | 8 +- data/command-api-mapping/XSETID.json | 8 +- data/command-api-mapping/XTRIM.json | 10 +- data/command-api-mapping/ZADD.json | 93 +- data/command-api-mapping/ZCARD.json | 24 +- data/command-api-mapping/ZDIFF.json | 81 +- data/command-api-mapping/ZDIFFSTORE.json | 80 +- data/command-api-mapping/ZINCRBY.json | 2 +- data/command-api-mapping/ZINTER.json | 81 +- data/command-api-mapping/ZINTERCARD.json | 86 +- data/command-api-mapping/ZINTERSTORE.json | 113 +- data/command-api-mapping/ZLEXCOUNT.json | 2 +- data/command-api-mapping/ZMPOP.json | 111 +- data/command-api-mapping/ZMSCORE.json | 58 +- data/command-api-mapping/ZPOPMAX.json | 4 +- data/command-api-mapping/ZPOPMIN.json | 4 +- data/command-api-mapping/ZRANDMEMBER.json | 6 +- data/command-api-mapping/ZRANGE.json | 10 +- data/command-api-mapping/ZRANGEBYLEX.json | 4 +- data/command-api-mapping/ZRANGEBYSCORE.json | 8 +- data/command-api-mapping/ZRANGESTORE.json | 10 +- data/command-api-mapping/ZRANK.json | 2 +- data/command-api-mapping/ZREM.json | 58 +- data/command-api-mapping/ZREMRANGEBYLEX.json | 2 +- data/command-api-mapping/ZREMRANGEBYRANK.json | 2 +- .../command-api-mapping/ZREMRANGEBYSCORE.json | 2 +- data/command-api-mapping/ZREVRANGE.json | 4 +- data/command-api-mapping/ZREVRANGEBYLEX.json | 4 +- .../command-api-mapping/ZREVRANGEBYSCORE.json | 8 +- data/command-api-mapping/ZREVRANK.json | 2 +- data/command-api-mapping/ZSCAN.json | 16 +- data/command-api-mapping/ZSCORE.json | 2 +- data/command-api-mapping/ZUNION.json | 81 +- data/command-api-mapping/ZUNIONSTORE.json | 113 +- 155 files changed, 8233 insertions(+), 2321 deletions(-) diff --git a/data/command-api-mapping.json b/data/command-api-mapping.json index fd20c23f74..8730d02525 100644 --- a/data/command-api-mapping.json +++ b/data/command-api-mapping.json @@ -2675,7 +2675,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -10312,7 +10312,7 @@ ], "ioredis": [ { - "signature": "bitcount(key: RedisKey, callback?: Callback): Result;, bitcount(, key: RedisKey, start: number | string, end: number | string, callback?: Callback)", + "signature": "bitcount(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -10321,9 +10321,18 @@ }, { "name": "callback?", - "type": "Callback)", + "type": "Callback", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "bitcount(key: RedisKey, start: number | string, end: number | string, callback?: Callback)", + "params": [ { "name": "key", "type": "RedisKey", @@ -10346,7 +10355,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -10380,7 +10389,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -10414,7 +10423,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -11050,7 +11059,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -11089,7 +11098,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -11128,7 +11137,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -11177,7 +11186,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -11226,7 +11235,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -11381,30 +11390,55 @@ ], "ioredis": [ { - "signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback, ])", + "signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "encodingOffsetToken", + "type": "\"GET\"", + "description": "" + }, + { + "name": "...encodingOffsets", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], ])", + "signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "encodingOffsetToken", + "type": "\"GET\"", + "description": "" + }, + { + "name": "...encodingOffsets", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -11971,44 +12005,84 @@ ], "ioredis": [ { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -12016,13 +12090,23 @@ "signature": "bitop(...args: [operation: string | Buffer, destkey: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -13072,7 +13156,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -13101,7 +13185,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -13135,7 +13219,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -13174,7 +13258,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -13213,7 +13297,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -13980,7 +14064,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -14019,7 +14103,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -14058,7 +14142,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -14097,7 +14181,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -14756,113 +14840,213 @@ ], "ioredis": [ { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", "description": "" - } - ], - "returns": { - "type": "Any", - "description": "" - } - }, - { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", - "params": [ + }, { - "name": "...args", - "type": "[, timeout", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } - } - ], - "redis_rs_sync": [ + }, { - "signature": "blmpop(timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize)", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { "name": "timeout", - "type": "f64", + "type": "number | string", "description": "" }, { "name": "numkeys", - "type": "usize", + "type": "number | string", "description": "" }, { - "name": "key", - "type": "K", + "name": "...keys", + "type": "RedisKey[]", "description": "" }, { - "name": "dir", - "type": "Direction", + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", "description": "" }, { "name": "count", - "type": "usize", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "(Option<[String", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } } ], - "redis_rs_async": [ + "redis_rs_sync": [ + { + "signature": "blmpop(timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize)", + "params": [ + { + "name": "timeout", + "type": "f64", + "description": "" + }, + { + "name": "numkeys", + "type": "usize", + "description": "" + }, + { + "name": "key", + "type": "K", + "description": "" + }, + { + "name": "dir", + "type": "Direction", + "description": "" + }, + { + "name": "count", + "type": "usize", + "description": "" + } + ], + "returns": { + "type": "(Option<[String", + "description": "" + } + } + ], + "redis_rs_async": [ { "signature": "blmpop(timeout: f64, numkeys: usize, key: K, dir: Direction, count: usize)", "params": [ @@ -15324,30 +15508,50 @@ ], "ioredis": [ { - "signature": "blpop(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "blpop(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, { - "signature": "blpop(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "blpop(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -15355,13 +15559,18 @@ "signature": "blpop(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -15369,13 +15578,18 @@ "signature": "blpop(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } } @@ -15798,30 +16012,50 @@ ], "ioredis": [ { - "signature": "brpop(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "brpop(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, { - "signature": "brpop(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "brpop(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -15829,13 +16063,18 @@ "signature": "brpop(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -15843,13 +16082,18 @@ "signature": "brpop(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } } @@ -16289,7 +16533,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -16907,103 +17151,179 @@ ], "ioredis": [ { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", "description": "" - } - ], - "returns": { - "type": "Any", - "description": "" - } - }, - { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback, ])", - "params": [ + }, { - "name": "...args", - "type": "[, timeout", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback, ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } - } - ], - "redis_rs_sync": [ + }, { - "signature": "bzmpop_max(timeout: f64, keys: K, count: isize)", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback ])", "params": [ { "name": "timeout", - "type": "f64", + "type": "number | string", "description": "" }, { - "name": "keys", - "type": "K", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", "description": "" }, { "name": "count", - "type": "isize", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "(Option<(String, Vec<(String, f64)>)>)", + "type": "Result", "description": "" } - }, + } + ], + "redis_rs_sync": [ { - "signature": "bzmpop_min(timeout: f64, keys: K, count: isize)", + "signature": "bzmpop_max(timeout: f64, keys: K, count: isize)", "params": [ { "name": "timeout", @@ -17025,11 +17345,35 @@ "type": "(Option<(String, Vec<(String, f64)>)>)", "description": "" } - } - ], - "redis_rs_async": [ + }, { - "signature": "bzmpop_max(timeout: f64, keys: K, count: isize)", + "signature": "bzmpop_min(timeout: f64, keys: K, count: isize)", + "params": [ + { + "name": "timeout", + "type": "f64", + "description": "" + }, + { + "name": "keys", + "type": "K", + "description": "" + }, + { + "name": "count", + "type": "isize", + "description": "" + } + ], + "returns": { + "type": "(Option<(String, Vec<(String, f64)>)>)", + "description": "" + } + } + ], + "redis_rs_async": [ + { + "signature": "bzmpop_max(timeout: f64, keys: K, count: isize)", "params": [ { "name": "timeout", @@ -17448,30 +17792,50 @@ ], "ioredis": [ { - "signature": "bzpopmax(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmax(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, { - "signature": "bzpopmax(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmax(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -17479,13 +17843,18 @@ "signature": "bzpopmax(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -17493,13 +17862,18 @@ "signature": "bzpopmax(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } } @@ -17867,30 +18241,50 @@ ], "ioredis": [ { - "signature": "bzpopmin(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmin(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, { - "signature": "bzpopmin(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmin(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -17898,13 +18292,18 @@ "signature": "bzpopmin(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -17912,13 +18311,18 @@ "signature": "bzpopmin(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } } @@ -30232,28 +30636,13 @@ ], "ioredis": [ { - "signature": "decr(key: RedisKey, callback?: Callback): Result;, /**, * Decrement the integer value of a key by the given number, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, decrby(, key: RedisKey, decrement: number | string, callback?: Callback)", + "signature": "decr(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "decrement", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -30261,7 +30650,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -30835,18 +31224,8 @@ ], "ioredis": [ { - "signature": "decr(key: RedisKey, callback?: Callback): Result;, /**, * Decrement the integer value of a key by the given number, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, decrby(, key: RedisKey, decrement: number | string, callback?: Callback)", + "signature": "decrby(key: RedisKey, decrement: number | string, callback?: Callback)", "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, { "name": "key", "type": "RedisKey", @@ -30864,7 +31243,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -46777,72 +47156,127 @@ ], "ioredis": [ { - "signature": "geoadd(...args: [, key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], ])", + "signature": "geoadd(...args: [ key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], ])", + "signature": "geoadd(...args: [ key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, nx: \"NX\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, nx: \"NX\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "nx", + "type": "\"NX\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -47568,7 +48002,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -47602,7 +48036,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -47636,7 +48070,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -47670,7 +48104,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -47704,7 +48138,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -48286,30 +48720,50 @@ ], "ioredis": [ { - "signature": "geohash(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geohash(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geohash(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geohash(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -48317,13 +48771,18 @@ "signature": "geohash(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -48331,13 +48790,18 @@ "signature": "geohash(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -48866,30 +49330,50 @@ ], "ioredis": [ { - "signature": "geopos(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]>, ])", + "signature": "geopos(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<([longitude: string, latitude: string] | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, { - "signature": "geopos(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]>, ])", + "signature": "geopos(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<([longitude: string, latitude: string] | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, @@ -48897,13 +49381,18 @@ "signature": "geopos(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, @@ -48911,13 +49400,18 @@ "signature": "geopos(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } } @@ -49863,30 +50357,75 @@ ], "ioredis": [ { - "signature": "georadius(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadius(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadius(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadius(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -51054,30 +51593,65 @@ ], "ioredis": [ { - "signature": "georadiusbymember(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadiusbymember(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadiusbymember(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadiusbymember(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -51258,30 +51832,65 @@ ], "ioredis": [ { - "signature": "georadiusbymember_ro(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadiusbymember_ro(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadiusbymember_ro(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadiusbymember_ro(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -51308,30 +51917,75 @@ ], "ioredis": [ { - "signature": "georadius_ro(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadius_ro(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadius_ro(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadius_ro(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -51787,30 +52441,45 @@ ], "ioredis": [ { - "signature": "geosearch(...args: [, key: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "geosearch(...args: [ key: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "geosearch(...args: [key: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -52716,30 +53385,55 @@ ], "ioredis": [ { - "signature": "geosearchstore(...args: [, destination: RedisKey, source: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "geosearchstore(...args: [ destination: RedisKey, source: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "source", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, destination", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "geosearchstore(...args: [destination: RedisKey, source: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "source", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[destination", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -53496,7 +54190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -53993,7 +54687,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -54394,7 +55088,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -54735,7 +55429,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -54764,7 +55458,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -54793,7 +55487,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -54822,7 +55516,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -54851,7 +55545,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -55378,7 +56072,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -55832,7 +56526,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -56198,16 +56892,26 @@ ], "ioredis": [ { - "signature": "hdel(...args: [, key: RedisKey, ...fields: (string | Buffer)[], callback: Callback, ])", + "signature": "hdel(...args: [ key: RedisKey, ...fields: (string | Buffer)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -56215,13 +56919,18 @@ "signature": "hdel(...args: [key: RedisKey, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -56773,7 +57482,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -57511,8 +58220,33 @@ "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], @@ -57525,8 +58259,28 @@ "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], @@ -57536,96 +58290,399 @@ } }, { - "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, /**, * Get the value of a hash field, * - _group_: hash, * - _complexity_: O(1), * - _since_: 2.0.0, */, hget(, key: RedisKey, field: string | Buffer, callback?: Callback)", + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", "description": "" }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ { "name": "key", "type": "RedisKey", "description": "" }, { - "name": "field", - "type": "string | Buffer", + "name": "seconds", + "type": "number | string", "description": "" }, { - "name": "callback?", - "type": "Callback", + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } - } - ], - "redis_rs_sync": [ + }, { - "signature": "hexpire(key: K, seconds: i64, opt: ExpireOption, fields: F)", + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { "name": "key", - "type": "K", + "type": "RedisKey", "description": "" }, { "name": "seconds", - "type": "i64", + "type": "number | string", "description": "" }, { - "name": "opt", - "type": "ExpireOption", + "name": "xx", + "type": "'XX'", "description": "" }, { - "name": "fields", - "type": "F", + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "(Vec)", + "type": "Result", "description": "" } }, { - "signature": "hexpire_at(key: K, ts: i64, opt: ExpireOption, fields: F)", + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", "params": [ { "name": "key", - "type": "K", + "type": "RedisKey", "description": "" }, { - "name": "ts", - "type": "i64", + "name": "seconds", + "type": "number | string", "description": "" }, { - "name": "opt", - "type": "ExpireOption", + "name": "xx", + "type": "'XX'", "description": "" }, { - "name": "fields", - "type": "F", + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "(Vec)", + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } ], - "redis_rs_async": [ + "redis_rs_sync": [ + { + "signature": "hexpire(key: K, seconds: i64, opt: ExpireOption, fields: F)", + "params": [ + { + "name": "key", + "type": "K", + "description": "" + }, + { + "name": "seconds", + "type": "i64", + "description": "" + }, + { + "name": "opt", + "type": "ExpireOption", + "description": "" + }, + { + "name": "fields", + "type": "F", + "description": "" + } + ], + "returns": { + "type": "(Vec)", + "description": "" + } + }, + { + "signature": "hexpire_at(key: K, ts: i64, opt: ExpireOption, fields: F)", + "params": [ + { + "name": "key", + "type": "K", + "description": "" + }, + { + "name": "ts", + "type": "i64", + "description": "" + }, + { + "name": "opt", + "type": "ExpireOption", + "description": "" + }, + { + "name": "fields", + "type": "F", + "description": "" + } + ], + "returns": { + "type": "(Vec)", + "description": "" + } + } + ], + "redis_rs_async": [ { "signature": "hexpire(key: K, seconds: i64, opt: ExpireOption, fields: F)", "params": [ @@ -59971,7 +61028,7 @@ } ], "returns": { - "type": "Any", + "type": "Result, Context>", "description": "" } } @@ -62317,7 +63374,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -62961,7 +64018,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -63506,7 +64563,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -63792,7 +64849,7 @@ ], "ioredis": [ { - "signature": "hlen(key: RedisKey, callback?: Callback): Result;, /**, * Get the values of all the given hash fields, * - _group_: hash, * - _complexity_: O(N) where N is the number of fields being requested., * - _since_: 2.0.0, */, hmget(, ...args: [, key: RedisKey, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>, ])", + "signature": "hlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -63801,17 +64858,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "...args", - "type": "[, key", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -64198,13 +65250,18 @@ "signature": "hmget(...args: [key: RedisKey, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } } @@ -64664,7 +65721,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -64688,21 +65745,31 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "hmset(...args: [, key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback<\"OK\">, ])", + "signature": "hmset(...args: [ key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback<\"OK\"> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<\"OK\">", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -64710,13 +65777,18 @@ "signature": "hmset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } @@ -66961,8 +68033,33 @@ "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], @@ -66972,26 +68069,368 @@ } }, { - "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, /**, * Get one or multiple random fields from a hash, * - _group_: hash, * - _complexity_: O(N) where N is the number of fields returned, * - _since_: 6.2.0, */, hrandfield(, key: RedisKey, callback?: Callback)", + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", "description": "" }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ { "name": "key", "type": "RedisKey", "description": "" }, { - "name": "callback?", - "type": "Callback", + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } @@ -69008,7 +70447,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -69037,7 +70476,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -69666,12 +71105,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -69700,12 +71139,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -69734,12 +71173,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -69778,12 +71217,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } @@ -70316,7 +71755,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -70340,21 +71779,31 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "hset(...args: [, key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback, ])", + "signature": "hset(...args: [ key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -70362,13 +71811,18 @@ "signature": "hset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -71376,7 +72830,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -71681,7 +73135,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -72360,7 +73814,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -72789,28 +74243,13 @@ ], "ioredis": [ { - "signature": "incr(key: RedisKey, callback?: Callback): Result;, /**, * Increment the integer value of a key by the given amount, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, incrby(, key: RedisKey, increment: number | string, callback?: Callback)", + "signature": "incr(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "increment", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -72818,7 +74257,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -73440,18 +74879,8 @@ ], "ioredis": [ { - "signature": "incr(key: RedisKey, callback?: Callback): Result;, /**, * Increment the integer value of a key by the given amount, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, incrby(, key: RedisKey, increment: number | string, callback?: Callback)", + "signature": "incrby(key: RedisKey, increment: number | string, callback?: Callback)", "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, { "name": "key", "type": "RedisKey", @@ -73469,7 +74898,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -74012,7 +75441,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -84588,7 +86017,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -84617,7 +86046,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -84651,7 +86080,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -84690,7 +86119,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -84719,7 +86148,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -84940,7 +86369,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -85403,7 +86832,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -85437,7 +86866,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -85991,7 +87420,7 @@ ], "ioredis": [ { - "signature": "llen(key: RedisKey, callback?: Callback): Result;, /**, * Pop an element from a list, push it to another list and return it, * - _group_: list, * - _complexity_: O(1), * - _since_: 6.2.0, */, lmove(, source: RedisKey, destination: RedisKey, left: \"LEFT\", left1: \"LEFT\", callback?: Callback)", + "signature": "llen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -86000,37 +87429,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "source", - "type": "RedisKey", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "left", - "type": "\"LEFT\"", - "description": "" - }, - { - "name": "left1", - "type": "\"LEFT\"", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -86414,7 +87818,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -86448,7 +87852,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -86482,7 +87886,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -86970,30 +88374,60 @@ ], "ioredis": [ { - "signature": "lmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "lmpop(...args: [, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, @@ -87001,13 +88435,23 @@ "signature": "lmpop(...args: [numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, @@ -87015,27 +88459,62 @@ "signature": "lmpop(...args: [numkeys: number | string, keys: RedisKey[], left: \"LEFT\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "lmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } } @@ -87509,7 +88988,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -87533,7 +89012,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -88339,7 +89818,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -88373,7 +89852,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -88407,7 +89886,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -88451,7 +89930,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -88485,7 +89964,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -89034,16 +90513,26 @@ ], "ioredis": [ { - "signature": "lpush(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "lpush(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -89051,13 +90540,18 @@ "signature": "lpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -89605,16 +91099,26 @@ ], "ioredis": [ { - "signature": "lpushx(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "lpushx(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -89622,13 +91126,18 @@ "signature": "lpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -90045,7 +91554,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -90513,7 +92022,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -90981,7 +92490,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } @@ -91449,7 +92958,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } @@ -92561,13 +94070,18 @@ "signature": "mget(...args: [...keys: RedisKey[], callback: Callback<(string | null)[]>])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -92575,51 +94089,74 @@ "signature": "mget(...args: [keys: RedisKey[], callback: Callback<(string | null)[]>])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, { - "signature": "mget(...args: [...keys: RedisKey[]]): Result<(string | null)[], Context>;, mgetBuffer(, ...args: [...keys: RedisKey[]])", + "signature": "mget(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result<(string | null)[], Context>", + "description": "" + } + }, + { + "signature": "mgetBuffer(...args: [...keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(Buffer | null)[], Context>", "description": "" } }, { - "signature": "mget(...args: [keys: RedisKey[]]): Result<(string | null)[], Context>;, mgetBuffer(...args: [keys: RedisKey[]]): Result<(Buffer | null)[], Context>;, /**, * Atomically transfer a key from a Redis instance to another one., * - _group_: generic, * - _complexity_: This command actually executes a DUMP+DEL in the source instance, and a RESTORE in the target instance. See the pages of these commands for time complexity. Also an O(N) data transfer between the two instances is performed., * - _since_: 2.6.0, */, migrate(, ...args: [, host: string | Buffer, port: number | string, ...args: RedisValue[], callback: Callback<\"OK\">, ])", + "signature": "mget(...args: [keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result<(string | null)[], Context>", + "description": "" + } + }, + { + "signature": "mgetBuffer(...args: [keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, host", + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(Buffer | null)[], Context>", "description": "" } } @@ -94316,7 +95853,7 @@ ], "ioredis": [ { - "signature": "mset(object: object, callback?: Callback<\"OK\">): Result<\"OK\", Context>;, mset(, map: Map, callback?: Callback<\"OK\">)", + "signature": "mset(object: object, callback?: Callback<\"OK\">)", "params": [ { "name": "object", @@ -94325,9 +95862,18 @@ }, { "name": "callback?", - "type": "Callback<\"OK\">)", + "type": "Callback<\"OK\">", "description": "" - }, + } + ], + "returns": { + "type": "Result<\"OK\", Context>", + "description": "" + } + }, + { + "signature": "mset(map: Map, callback?: Callback<\"OK\">)", + "params": [ { "name": "map", "type": "Map", @@ -94340,21 +95886,26 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "mset(...args: [, ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback<\"OK\">, ])", + "signature": "mset(...args: [ ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback<\"OK\"> ])", "params": [ { - "name": "...args", - "type": "[, ...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<\"OK\">", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -94362,13 +95913,13 @@ "signature": "mset(...args: [...keyValues: (RedisKey | string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } @@ -94826,7 +96377,7 @@ ], "ioredis": [ { - "signature": "msetnx(object: object, callback?: Callback<\"OK\">): Result<\"OK\", Context>;, msetnx(, map: Map, callback?: Callback<\"OK\">)", + "signature": "msetnx(object: object, callback?: Callback<\"OK\">)", "params": [ { "name": "object", @@ -94835,9 +96386,18 @@ }, { "name": "callback?", - "type": "Callback<\"OK\">)", + "type": "Callback<\"OK\">", "description": "" - }, + } + ], + "returns": { + "type": "Result<\"OK\", Context>", + "description": "" + } + }, + { + "signature": "msetnx(map: Map, callback?: Callback<\"OK\">)", + "params": [ { "name": "map", "type": "Map", @@ -94850,21 +96410,26 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "msetnx(...args: [, ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback, ])", + "signature": "msetnx(...args: [ ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, ...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -94872,13 +96437,13 @@ "signature": "msetnx(...args: [...keyValues: (RedisKey | string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -96565,7 +98130,7 @@ ], "ioredis": [ { - "signature": "pfadd(key: RedisKey, ...elements: (string | Buffer | number)[], callback?: Callback)", + "signature": "pfadd(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { "name": "key", @@ -96948,7 +98513,7 @@ ], "ioredis": [ { - "signature": "pfcount(...keys: RedisKey[], callback?: Callback)", + "signature": "pfcount(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { "name": "...keys", @@ -97283,7 +98848,7 @@ ], "ioredis": [ { - "signature": "pfmerge(destkey: RedisKey, ...sourcekeys: RedisKey[], callback?: Callback<'OK'>)", + "signature": "pfmerge(...args: [ destkey: RedisKey, ...sourcekeys: RedisKey[], callback: Callback<\"OK\"> ])", "params": [ { "name": "destkey", @@ -97297,7 +98862,7 @@ }, { "name": "callback", - "type": "Callback<'OK'>", + "type": "Callback<\"OK\">", "description": "Optional callback" } ], @@ -97960,7 +99525,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -102477,7 +104042,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -102960,7 +104525,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -103245,16 +104810,26 @@ ], "ioredis": [ { - "signature": "rpush(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "rpush(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -103262,13 +104837,18 @@ "signature": "rpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -103816,16 +105396,26 @@ ], "ioredis": [ { - "signature": "rpushx(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "rpushx(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -103833,13 +105423,18 @@ "signature": "rpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -104105,30 +105700,50 @@ ], "ioredis": [ { - "signature": "sadd(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "sadd(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sadd(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "sadd(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -104136,13 +105751,18 @@ "signature": "sadd(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -104150,13 +105770,18 @@ "signature": "sadd(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -105178,7 +106803,7 @@ ], "ioredis": [ { - "signature": "scard(key: RedisKey, callback?: Callback): Result;, /**, * Set the debug mode for executed scripts., * - _group_: scripting, * - _complexity_: O(1), * - _since_: 3.2.0, */, script(, subcommand: \"DEBUG\", yes: \"YES\", callback?: Callback)", + "signature": "scard(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -105187,27 +106812,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "subcommand", - "type": "\"DEBUG\"", - "description": "" - }, - { - "name": "yes", - "type": "\"YES\"", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -106485,13 +108095,18 @@ "signature": "sdiff(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -106499,32 +108114,74 @@ "signature": "sdiff(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sdiff(...args: [...keys: RedisKey[]]): Result;, sdiffBuffer(...args: [...keys: RedisKey[]]): Result;, sdiff(...args: [keys: RedisKey[]]): Result;, sdiffBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Subtract multiple sets and store the resulting set in a key, * - _group_: set, * - _complexity_: O(N) where N is the total number of elements in all given sets., * - _since_: 1.0.0, */, sdiffstore(, ...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sdiff(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiffBuffer(...args: [...keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, destination", + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiff(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiffBuffer(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } @@ -106991,16 +108648,26 @@ ], "ioredis": [ { - "signature": "sdiffstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sdiffstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -107008,13 +108675,18 @@ "signature": "sdiffstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -107022,13 +108694,18 @@ "signature": "sdiffstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -108070,7 +109747,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -108099,7 +109776,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -108128,7 +109805,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\" | null, Context>", "description": "" } }, @@ -108162,7 +109839,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -108191,7 +109868,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\" | null, Context>", "description": "" } } @@ -108953,7 +110630,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -109513,7 +111190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } @@ -109823,7 +111500,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -110153,7 +111830,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -110824,13 +112501,18 @@ "signature": "sinter(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -110838,32 +112520,74 @@ "signature": "sinter(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sinter(...args: [...keys: RedisKey[]]): Result;, sinterBuffer(...args: [...keys: RedisKey[]]): Result;, sinter(...args: [keys: RedisKey[]]): Result;, sinterBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Intersect multiple sets and return the cardinality of the result, * - _group_: set, * - _complexity_: O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets., * - _since_: 7.0.0, */, sintercard(, ...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sinter(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sinterBuffer(...args: [...keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", + "description": "" + } + }, + { + "signature": "sinter(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sinterBuffer(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } @@ -111400,16 +113124,26 @@ ], "ioredis": [ { - "signature": "sintercard(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -111417,13 +113151,18 @@ "signature": "sintercard(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -111431,41 +113170,86 @@ "signature": "sintercard(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sintercard(...args: [, numkeys: number | string, keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -111773,30 +113557,50 @@ ], "ioredis": [ { - "signature": "sinterstore(...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sinterstore(...args: [ destination: RedisKey, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sinterstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sinterstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -111804,13 +113608,18 @@ "signature": "sinterstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -111818,13 +113627,18 @@ "signature": "sinterstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -112365,7 +114179,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -113556,7 +115370,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -113887,30 +115701,50 @@ ], "ioredis": [ { - "signature": "smismember(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "smismember(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "smismember(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "smismember(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -113918,13 +115752,18 @@ "signature": "smismember(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -113932,13 +115771,18 @@ "signature": "smismember(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -114464,7 +116308,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -116015,7 +117859,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -116039,7 +117883,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -116897,7 +118741,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -116921,7 +118765,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -117177,30 +119021,50 @@ ], "ioredis": [ { - "signature": "srem(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "srem(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "srem(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "srem(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -117208,13 +119072,18 @@ "signature": "srem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -117222,13 +119091,18 @@ "signature": "srem(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -117967,12 +119841,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -118001,12 +119875,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -118035,12 +119909,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -118079,12 +119953,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } @@ -118748,7 +120622,7 @@ ], "ioredis": [ { - "signature": "strlen(key: RedisKey, callback?: Callback): Result;, /**, * Listen for messages published to the given channels, * - _group_: pubsub, * - _complexity_: O(N) where N is the number of channels to subscribe to., * - _since_: 2.0.0, */, subscribe(, ...args: [...channels: (string | Buffer)[], callback: Callback])", + "signature": "strlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -118757,17 +120631,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "...args", - "type": "[...channels", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -119631,7 +121500,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -119660,7 +121529,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -119983,13 +121852,18 @@ "signature": "sunion(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -119997,32 +121871,74 @@ "signature": "sunion(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sunion(...args: [...keys: RedisKey[]]): Result;, sunionBuffer(...args: [...keys: RedisKey[]]): Result;, sunion(...args: [keys: RedisKey[]]): Result;, sunionBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Add multiple sets and store the resulting set in a key, * - _group_: set, * - _complexity_: O(N) where N is the total number of elements in all given sets., * - _since_: 1.0.0, */, sunionstore(, ...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sunion(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sunionBuffer(...args: [...keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, destination", + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", + "description": "" + } + }, + { + "signature": "sunion(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sunionBuffer(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } @@ -120489,16 +122405,26 @@ ], "ioredis": [ { - "signature": "sunionstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sunionstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -120506,13 +122432,18 @@ "signature": "sunionstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -120520,13 +122451,18 @@ "signature": "sunionstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -135964,16 +137900,26 @@ ], "ioredis": [ { - "signature": "xack(...args: [, key: RedisKey, group: string | Buffer, ...ids: (string | Buffer | number)[], ])", + "signature": "xack(...args: [ key: RedisKey, group: string | Buffer, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -137581,30 +139527,45 @@ ], "ioredis": [ { - "signature": "xadd(...args: [, key: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "xadd(...args: [ key: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "xadd(...args: [key: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -138846,7 +140807,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -138890,7 +140851,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -138939,7 +140900,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -138993,7 +140954,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -140053,72 +142014,202 @@ ], "ioredis": [ { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "justid", + "type": "\"JUSTID\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\" ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "justid", + "type": "\"JUSTID\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], force: \"FORCE\", callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], force: \"FORCE\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "force", + "type": "\"FORCE\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -140756,16 +142847,26 @@ ], "ioredis": [ { - "signature": "xdel(...args: [, key: RedisKey, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdel(...args: [ key: RedisKey, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -140773,13 +142874,18 @@ "signature": "xdel(...args: [key: RedisKey, ...ids: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -141415,72 +143521,177 @@ ], "ioredis": [ { - "signature": "xdelex(...args: [, key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], ])", + "signature": "xdelex(...args: [ key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "keepref", + "type": "\"KEEPREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], ])", + "signature": "xdelex(...args: [ key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "keepref", + "type": "\"KEEPREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, delref: \"DELREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, delref: \"DELREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "delref", + "type": "\"DELREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -141944,7 +144155,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -141988,7 +144199,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142027,7 +144238,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142076,7 +144287,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142110,7 +144321,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -142793,7 +145004,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142837,7 +145048,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142876,7 +145087,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142925,7 +145136,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -142959,7 +145170,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -143297,7 +145508,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -143341,7 +145552,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -143380,7 +145591,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -143429,7 +145640,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -143463,7 +145674,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -143917,7 +146128,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -143961,7 +146172,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144000,7 +146211,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144049,7 +146260,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144083,7 +146294,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -144537,7 +146748,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144581,7 +146792,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144620,7 +146831,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144669,7 +146880,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -144703,7 +146914,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -145157,7 +147368,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145181,7 +147392,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145200,7 +147411,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145224,7 +147435,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145253,7 +147464,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -145596,7 +147807,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145620,7 +147831,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145639,7 +147850,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145663,7 +147874,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -145692,7 +147903,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -146062,7 +148273,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -146086,7 +148297,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -146105,7 +148316,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -146129,7 +148340,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -146158,7 +148369,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -146447,7 +148658,7 @@ ], "ioredis": [ { - "signature": "xlen(key: RedisKey, callback?: Callback): Result;, /**, * Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged., * - _group_: stream, * - _complexity_: O(N) with N being the number of elements returned, so asking for a small fixed number of entries per call is O(1). O(M), where M is the total number of entries scanned when used with the IDLE filter. When the command returns just the summary and the list of consumers is small, it runs in O(1) time; otherwise, an additional O(N) time for iterating every consumer., * - _since_: 5.0.0, */, xpending(, key: RedisKey, group: string | Buffer, callback?: Callback)", + "signature": "xlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -146456,27 +148667,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "group", - "type": "string | Buffer", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -147153,7 +149349,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -147197,7 +149393,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -147246,7 +149442,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -147300,7 +149496,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -148089,12 +150285,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } }, @@ -148128,12 +150324,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } } @@ -148778,72 +150974,142 @@ ], "ioredis": [ { - "signature": "xread(...args: [, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, streamsToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { "signature": "xread(...args: [streamsToken: \"STREAMS\", ...args: RedisValue[]])", "params": [ + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[streamsToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, millisecondsToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xread(...args: [ millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, millisecondsToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, countToken: \"COUNT\", count: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ countToken: \"COUNT\", count: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, countToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } } @@ -149577,72 +151843,207 @@ ], "ioredis": [ { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "noack", + "type": "\"NOACK\"", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "noack", + "type": "\"NOACK\"", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -150599,12 +153000,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } }, @@ -150638,12 +153039,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } } @@ -151059,7 +153460,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151093,7 +153494,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151127,7 +153528,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151171,7 +153572,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -151760,7 +154161,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151794,7 +154195,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151828,7 +154229,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151862,7 +154263,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -151901,7 +154302,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -152906,16 +155307,26 @@ ], "ioredis": [ { - "signature": "zadd(...args: [, key: RedisKey, ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -152923,55 +155334,100 @@ "signature": "zadd(...args: [key: RedisKey, ...scoreMembers: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "incr", + "type": "\"INCR\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], ])", + "signature": "zadd(...args: [ key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "incr", + "type": "\"INCR\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, ch: \"CH\", ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, ch: \"CH\", ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -153685,33 +156141,13 @@ ], "ioredis": [ { - "signature": "zcard(key: RedisKey, callback?: Callback): Result;, /**, * Count the members in a sorted set with scores within the given values, * - _group_: sorted-set, * - _complexity_: O(log(N)) with N being the number of elements in the sorted set., * - _since_: 2.0.0, */, zcount(, key: RedisKey, min: number | string, max: number | string, callback?: Callback)", + "signature": "zcard(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "min", - "type": "number | string", - "description": "" - }, - { - "name": "max", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -153719,7 +156155,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -154552,30 +156988,50 @@ ], "ioredis": [ { - "signature": "zdiff(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiff(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -154583,13 +157039,18 @@ "signature": "zdiff(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -154597,27 +157058,47 @@ "signature": "zdiff(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiff(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -154879,44 +157360,84 @@ ], "ioredis": [ { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -154924,13 +157445,23 @@ "signature": "zdiffstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -155582,7 +158113,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -156069,30 +158600,50 @@ ], "ioredis": [ { - "signature": "zinter(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinter(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -156100,13 +158651,18 @@ "signature": "zinter(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -156114,27 +158670,47 @@ "signature": "zinter(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinter(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -156593,30 +159169,50 @@ ], "ioredis": [ { - "signature": "zintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zintercard(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -156624,13 +159220,18 @@ "signature": "zintercard(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -156638,27 +159239,52 @@ "signature": "zintercard(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -157091,44 +159717,84 @@ ], "ioredis": [ { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -157136,27 +159802,62 @@ "signature": "zinterstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "aggregate", + "type": "\"AGGREGATE\"", + "description": "" + }, + { + "name": "sum", + "type": "\"SUM\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -158031,7 +160732,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -158559,30 +161260,60 @@ ], "ioredis": [ { - "signature": "zmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zmpop(...args: [, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -158590,13 +161321,23 @@ "signature": "zmpop(...args: [numkeys: number | string, ...keys: RedisKey[], min: \"MIN\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -158604,27 +161345,62 @@ "signature": "zmpop(...args: [numkeys: number | string, keys: RedisKey[], min: \"MIN\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -158938,30 +161714,50 @@ ], "ioredis": [ { - "signature": "zmscore(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<(string | null)[]>, ])", + "signature": "zmscore(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<(string | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, { - "signature": "zmscore(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback<(string | null)[]>, ])", + "signature": "zmscore(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback<(string | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -158969,13 +161765,18 @@ "signature": "zmscore(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -158983,13 +161784,18 @@ "signature": "zmscore(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } } @@ -159434,7 +162240,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -159458,7 +162264,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -160077,7 +162883,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -160101,7 +162907,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -160692,7 +163498,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -160716,7 +163522,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -160745,7 +163551,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -161594,7 +164400,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -161628,7 +164434,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -161672,7 +164478,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -161721,7 +164527,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -161755,7 +164561,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -162832,7 +165638,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -162876,7 +165682,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -163850,7 +166656,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -163894,7 +166700,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -163928,7 +166734,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -163977,7 +166783,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -164532,7 +167338,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -164581,7 +167387,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -164620,7 +167426,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -164674,7 +167480,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -164713,7 +167519,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -165031,7 +167837,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -165422,30 +168228,50 @@ ], "ioredis": [ { - "signature": "zrem(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zrem(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zrem(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zrem(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -165453,13 +168279,18 @@ "signature": "zrem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -165467,13 +168298,18 @@ "signature": "zrem(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -166104,7 +168940,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -166568,7 +169404,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -167215,7 +170051,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -167752,7 +170588,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -167786,7 +170622,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -168404,7 +171240,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -168448,7 +171284,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -169377,7 +172213,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -169421,7 +172257,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -169455,7 +172291,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -169504,7 +172340,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -169984,7 +172820,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -170700,12 +173536,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -170734,12 +173570,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -170768,12 +173604,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -170812,12 +173648,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } @@ -171215,7 +174051,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -171609,30 +174445,50 @@ ], "ioredis": [ { - "signature": "zunion(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunion(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -171640,13 +174496,18 @@ "signature": "zunion(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -171654,27 +174515,47 @@ "signature": "zunion(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunion(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } @@ -172188,44 +175069,84 @@ ], "ioredis": [ { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -172233,27 +175154,62 @@ "signature": "zunionstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "aggregate", + "type": "\"AGGREGATE\"", + "description": "" + }, + { + "name": "sum", + "type": "\"SUM\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/APPEND.json b/data/command-api-mapping/APPEND.json index c6949e92f9..0ebf426a26 100644 --- a/data/command-api-mapping/APPEND.json +++ b/data/command-api-mapping/APPEND.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BITCOUNT.json b/data/command-api-mapping/BITCOUNT.json index a4d773fcd3..11e87ff742 100644 --- a/data/command-api-mapping/BITCOUNT.json +++ b/data/command-api-mapping/BITCOUNT.json @@ -307,7 +307,7 @@ ], "ioredis": [ { - "signature": "bitcount(key: RedisKey, callback?: Callback): Result;, bitcount(, key: RedisKey, start: number | string, end: number | string, callback?: Callback)", + "signature": "bitcount(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -316,9 +316,18 @@ }, { "name": "callback?", - "type": "Callback)", + "type": "Callback", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "bitcount(key: RedisKey, start: number | string, end: number | string, callback?: Callback)", + "params": [ { "name": "key", "type": "RedisKey", @@ -341,7 +350,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -375,7 +384,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -409,7 +418,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BITFIELD.json b/data/command-api-mapping/BITFIELD.json index 2bf24c5a86..2ee730ec0e 100644 --- a/data/command-api-mapping/BITFIELD.json +++ b/data/command-api-mapping/BITFIELD.json @@ -202,7 +202,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -241,7 +241,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -280,7 +280,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -329,7 +329,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -378,7 +378,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BITFIELD_RO.json b/data/command-api-mapping/BITFIELD_RO.json index 823e9e7865..7476ca9830 100644 --- a/data/command-api-mapping/BITFIELD_RO.json +++ b/data/command-api-mapping/BITFIELD_RO.json @@ -120,30 +120,55 @@ ], "ioredis": [ { - "signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback, ])", + "signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "encodingOffsetToken", + "type": "\"GET\"", + "description": "" + }, + { + "name": "...encodingOffsets", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], ])", + "signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "encodingOffsetToken", + "type": "\"GET\"", + "description": "" + }, + { + "name": "...encodingOffsets", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BITOP.json b/data/command-api-mapping/BITOP.json index 87c81e48fc..3f3ff9f93e 100644 --- a/data/command-api-mapping/BITOP.json +++ b/data/command-api-mapping/BITOP.json @@ -537,44 +537,84 @@ ], "ioredis": [ { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], ])", + "signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -582,13 +622,23 @@ "signature": "bitop(...args: [operation: string | Buffer, destkey: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[operation", + "name": "operation", + "type": "string | Buffer", + "description": "" + }, + { + "name": "destkey", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BITPOS.json b/data/command-api-mapping/BITPOS.json index 34cb35af4e..5dbd125c1b 100644 --- a/data/command-api-mapping/BITPOS.json +++ b/data/command-api-mapping/BITPOS.json @@ -497,7 +497,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -526,7 +526,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -560,7 +560,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -599,7 +599,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -638,7 +638,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BLMOVE.json b/data/command-api-mapping/BLMOVE.json index 1f1b20277f..1b0443b158 100644 --- a/data/command-api-mapping/BLMOVE.json +++ b/data/command-api-mapping/BLMOVE.json @@ -358,7 +358,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -397,7 +397,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -436,7 +436,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -475,7 +475,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BLMPOP.json b/data/command-api-mapping/BLMPOP.json index 735d55337a..14cb25212c 100644 --- a/data/command-api-mapping/BLMPOP.json +++ b/data/command-api-mapping/BLMPOP.json @@ -332,72 +332,172 @@ ], "ioredis": [ { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], left: \"LEFT\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "blmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "blmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/BLPOP.json b/data/command-api-mapping/BLPOP.json index c1c51c35a6..0accdf5a89 100644 --- a/data/command-api-mapping/BLPOP.json +++ b/data/command-api-mapping/BLPOP.json @@ -266,30 +266,50 @@ ], "ioredis": [ { - "signature": "blpop(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "blpop(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, { - "signature": "blpop(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "blpop(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -297,13 +317,18 @@ "signature": "blpop(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -311,13 +336,18 @@ "signature": "blpop(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/BRPOP.json b/data/command-api-mapping/BRPOP.json index e1290a8c30..447a354e9e 100644 --- a/data/command-api-mapping/BRPOP.json +++ b/data/command-api-mapping/BRPOP.json @@ -266,30 +266,50 @@ ], "ioredis": [ { - "signature": "brpop(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "brpop(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, { - "signature": "brpop(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null>, ])", + "signature": "brpop(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[string, string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[string, string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -297,13 +317,18 @@ "signature": "brpop(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } }, @@ -311,13 +336,18 @@ "signature": "brpop(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[string, string] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/BRPOPLPUSH.json b/data/command-api-mapping/BRPOPLPUSH.json index adeee82c8f..8e8b1db326 100644 --- a/data/command-api-mapping/BRPOPLPUSH.json +++ b/data/command-api-mapping/BRPOPLPUSH.json @@ -283,7 +283,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BZMPOP.json b/data/command-api-mapping/BZMPOP.json index 0e0c50e042..1d57012839 100644 --- a/data/command-api-mapping/BZMPOP.json +++ b/data/command-api-mapping/BZMPOP.json @@ -479,72 +479,172 @@ ], "ioredis": [ { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\", ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, keys: RedisKey[], min: \"MIN\" ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "bzmpop(...args: [, timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback, ])", + "signature": "bzmpop(...args: [ timeout: number | string, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, timeout", + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/BZPOPMAX.json b/data/command-api-mapping/BZPOPMAX.json index 13fb108d23..2fe334bf73 100644 --- a/data/command-api-mapping/BZPOPMAX.json +++ b/data/command-api-mapping/BZPOPMAX.json @@ -211,30 +211,50 @@ ], "ioredis": [ { - "signature": "bzpopmax(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmax(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, { - "signature": "bzpopmax(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmax(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -242,13 +262,18 @@ "signature": "bzpopmax(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -256,13 +281,18 @@ "signature": "bzpopmax(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/BZPOPMIN.json b/data/command-api-mapping/BZPOPMIN.json index d134fc561c..2f6c276b89 100644 --- a/data/command-api-mapping/BZPOPMIN.json +++ b/data/command-api-mapping/BZPOPMIN.json @@ -211,30 +211,50 @@ ], "ioredis": [ { - "signature": "bzpopmin(...args: [, ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmin(...args: [ ...keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, ...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, { - "signature": "bzpopmin(...args: [, keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null>, ])", + "signature": "bzpopmin(...args: [ keys: RedisKey[], timeout: number | string, callback: Callback<[key: string, member: string, score: string] | null> ])", "params": [ { - "name": "...args", - "type": "[, keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, member: string, score: string] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -242,13 +262,18 @@ "signature": "bzpopmin(...args: [...keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } }, @@ -256,13 +281,18 @@ "signature": "bzpopmin(...args: [keys: RedisKey[], timeout: number | string])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "number | string", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, member: string, score: string] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/DECR.json b/data/command-api-mapping/DECR.json index 7564d975ba..fde973a03f 100644 --- a/data/command-api-mapping/DECR.json +++ b/data/command-api-mapping/DECR.json @@ -276,28 +276,13 @@ ], "ioredis": [ { - "signature": "decr(key: RedisKey, callback?: Callback): Result;, /**, * Decrement the integer value of a key by the given number, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, decrby(, key: RedisKey, decrement: number | string, callback?: Callback)", + "signature": "decr(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "decrement", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -305,7 +290,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/DECRBY.json b/data/command-api-mapping/DECRBY.json index e4c1b746fc..6e1621f033 100644 --- a/data/command-api-mapping/DECRBY.json +++ b/data/command-api-mapping/DECRBY.json @@ -276,18 +276,8 @@ ], "ioredis": [ { - "signature": "decr(key: RedisKey, callback?: Callback): Result;, /**, * Decrement the integer value of a key by the given number, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, decrby(, key: RedisKey, decrement: number | string, callback?: Callback)", + "signature": "decrby(key: RedisKey, decrement: number | string, callback?: Callback)", "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, { "name": "key", "type": "RedisKey", @@ -305,7 +295,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEOADD.json b/data/command-api-mapping/GEOADD.json index 2e33c9d002..68ddca9c0c 100644 --- a/data/command-api-mapping/GEOADD.json +++ b/data/command-api-mapping/GEOADD.json @@ -583,72 +583,127 @@ ], "ioredis": [ { - "signature": "geoadd(...args: [, key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[], ])", + "signature": "geoadd(...args: [ key: RedisKey, ...longitudeLatitudeMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[], ])", + "signature": "geoadd(...args: [ key: RedisKey, ch: \"CH\", ...longitudeLatitudeMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geoadd(...args: [, key: RedisKey, nx: \"NX\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geoadd(...args: [ key: RedisKey, nx: \"NX\", ...longitudeLatitudeMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "nx", + "type": "\"NX\"", + "description": "" + }, + { + "name": "...longitudeLatitudeMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEODIST.json b/data/command-api-mapping/GEODIST.json index 7f05deb435..445bc690e7 100644 --- a/data/command-api-mapping/GEODIST.json +++ b/data/command-api-mapping/GEODIST.json @@ -339,7 +339,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -373,7 +373,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -407,7 +407,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -441,7 +441,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -475,7 +475,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEOHASH.json b/data/command-api-mapping/GEOHASH.json index 745cca0422..97b3adf8aa 100644 --- a/data/command-api-mapping/GEOHASH.json +++ b/data/command-api-mapping/GEOHASH.json @@ -173,30 +173,50 @@ ], "ioredis": [ { - "signature": "geohash(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geohash(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "geohash(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "geohash(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -204,13 +224,18 @@ "signature": "geohash(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -218,13 +243,18 @@ "signature": "geohash(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEOPOS.json b/data/command-api-mapping/GEOPOS.json index d01872113e..700badc82b 100644 --- a/data/command-api-mapping/GEOPOS.json +++ b/data/command-api-mapping/GEOPOS.json @@ -192,30 +192,50 @@ ], "ioredis": [ { - "signature": "geopos(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]>, ])", + "signature": "geopos(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<([longitude: string, latitude: string] | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, { - "signature": "geopos(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]>, ])", + "signature": "geopos(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback<([longitude: string, latitude: string] | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<([longitude: string, latitude: string] | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, @@ -223,13 +243,18 @@ "signature": "geopos(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } }, @@ -237,13 +262,18 @@ "signature": "geopos(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<([longitude: string, latitude: string] | null)[], Context>", "description": "" } } diff --git a/data/command-api-mapping/GEORADIUS.json b/data/command-api-mapping/GEORADIUS.json index b3ff54183d..12ac29e8db 100644 --- a/data/command-api-mapping/GEORADIUS.json +++ b/data/command-api-mapping/GEORADIUS.json @@ -609,30 +609,75 @@ ], "ioredis": [ { - "signature": "georadius(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadius(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadius(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadius(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEORADIUSBYMEMBER.json b/data/command-api-mapping/GEORADIUSBYMEMBER.json index cf259d6842..4d153cad88 100644 --- a/data/command-api-mapping/GEORADIUSBYMEMBER.json +++ b/data/command-api-mapping/GEORADIUSBYMEMBER.json @@ -569,30 +569,65 @@ ], "ioredis": [ { - "signature": "georadiusbymember(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadiusbymember(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadiusbymember(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadiusbymember(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json b/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json index 4035bfcb8c..da8dbccc0b 100644 --- a/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json +++ b/data/command-api-mapping/GEORADIUSBYMEMBER_RO.json @@ -18,30 +18,65 @@ ], "ioredis": [ { - "signature": "georadiusbymember_ro(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadiusbymember_ro(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadiusbymember_ro(...args: [, key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadiusbymember_ro(...args: [ key: RedisKey, member: string | Buffer | number, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "member", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEORADIUS_RO.json b/data/command-api-mapping/GEORADIUS_RO.json index 71bd9b26b8..6b9f73263c 100644 --- a/data/command-api-mapping/GEORADIUS_RO.json +++ b/data/command-api-mapping/GEORADIUS_RO.json @@ -18,30 +18,75 @@ ], "ioredis": [ { - "signature": "georadius_ro(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback, ])", + "signature": "georadius_ro(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "georadius_ro(...args: [, key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[], ])", + "signature": "georadius_ro(...args: [ key: RedisKey, longitude: number | string, latitude: number | string, radius: number | string, ...args: RedisValue[] ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "longitude", + "type": "number | string", + "description": "" + }, + { + "name": "latitude", + "type": "number | string", + "description": "" + }, + { + "name": "radius", + "type": "number | string", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEOSEARCH.json b/data/command-api-mapping/GEOSEARCH.json index cbda5a9db5..cb1095c43a 100644 --- a/data/command-api-mapping/GEOSEARCH.json +++ b/data/command-api-mapping/GEOSEARCH.json @@ -447,30 +447,45 @@ ], "ioredis": [ { - "signature": "geosearch(...args: [, key: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "geosearch(...args: [ key: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "geosearch(...args: [key: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GEOSEARCHSTORE.json b/data/command-api-mapping/GEOSEARCHSTORE.json index f04a4f1211..fbf582e9b7 100644 --- a/data/command-api-mapping/GEOSEARCHSTORE.json +++ b/data/command-api-mapping/GEOSEARCHSTORE.json @@ -425,30 +425,55 @@ ], "ioredis": [ { - "signature": "geosearchstore(...args: [, destination: RedisKey, source: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "geosearchstore(...args: [ destination: RedisKey, source: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "source", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, destination", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "geosearchstore(...args: [destination: RedisKey, source: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "source", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[destination", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GET.json b/data/command-api-mapping/GET.json index 5e2dff588f..23247f3e2f 100644 --- a/data/command-api-mapping/GET.json +++ b/data/command-api-mapping/GET.json @@ -133,7 +133,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GETBIT.json b/data/command-api-mapping/GETBIT.json index 4e0dc08857..9e16405688 100644 --- a/data/command-api-mapping/GETBIT.json +++ b/data/command-api-mapping/GETBIT.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GETDEL.json b/data/command-api-mapping/GETDEL.json index bfcac76e0c..41c4432d90 100644 --- a/data/command-api-mapping/GETDEL.json +++ b/data/command-api-mapping/GETDEL.json @@ -133,7 +133,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GETEX.json b/data/command-api-mapping/GETEX.json index ab9c3003be..95092d893e 100644 --- a/data/command-api-mapping/GETEX.json +++ b/data/command-api-mapping/GETEX.json @@ -188,7 +188,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -217,7 +217,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -246,7 +246,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -275,7 +275,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -304,7 +304,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GETRANGE.json b/data/command-api-mapping/GETRANGE.json index 45132fa342..914d01bf19 100644 --- a/data/command-api-mapping/GETRANGE.json +++ b/data/command-api-mapping/GETRANGE.json @@ -213,7 +213,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/GETSET.json b/data/command-api-mapping/GETSET.json index f6a978bc52..08c88d39c2 100644 --- a/data/command-api-mapping/GETSET.json +++ b/data/command-api-mapping/GETSET.json @@ -173,7 +173,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HDEL.json b/data/command-api-mapping/HDEL.json index 9f152e285d..8219874674 100644 --- a/data/command-api-mapping/HDEL.json +++ b/data/command-api-mapping/HDEL.json @@ -173,16 +173,26 @@ ], "ioredis": [ { - "signature": "hdel(...args: [, key: RedisKey, ...fields: (string | Buffer)[], callback: Callback, ])", + "signature": "hdel(...args: [ key: RedisKey, ...fields: (string | Buffer)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -190,13 +200,18 @@ "signature": "hdel(...args: [key: RedisKey, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HEXISTS.json b/data/command-api-mapping/HEXISTS.json index 90a79e6807..6a1980a982 100644 --- a/data/command-api-mapping/HEXISTS.json +++ b/data/command-api-mapping/HEXISTS.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HEXPIRE.json b/data/command-api-mapping/HEXPIRE.json index 038a08a227..ff5946757f 100644 --- a/data/command-api-mapping/HEXPIRE.json +++ b/data/command-api-mapping/HEXPIRE.json @@ -545,8 +545,33 @@ "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], @@ -559,8 +584,277 @@ "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], @@ -570,31 +864,85 @@ } }, { - "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, /**, * Get the value of a hash field, * - _group_: hash, * - _complexity_: O(1), * - _since_: 2.0.0, */, hget(, key: RedisKey, field: string | Buffer, callback?: Callback)", + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", "description": "" }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hexpire(...args: [key: RedisKey, seconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ { "name": "key", "type": "RedisKey", "description": "" }, { - "name": "field", - "type": "string | Buffer", + "name": "seconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", "description": "" }, { - "name": "callback?", - "type": "Callback", + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HGETALL.json b/data/command-api-mapping/HGETALL.json index bb8db25391..e44bf28cd9 100644 --- a/data/command-api-mapping/HGETALL.json +++ b/data/command-api-mapping/HGETALL.json @@ -190,7 +190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result, Context>", "description": "" } } diff --git a/data/command-api-mapping/HINCRBY.json b/data/command-api-mapping/HINCRBY.json index 062452029c..44c799b71c 100644 --- a/data/command-api-mapping/HINCRBY.json +++ b/data/command-api-mapping/HINCRBY.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HINCRBYFLOAT.json b/data/command-api-mapping/HINCRBYFLOAT.json index df44c46e66..668f089418 100644 --- a/data/command-api-mapping/HINCRBYFLOAT.json +++ b/data/command-api-mapping/HINCRBYFLOAT.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HKEYS.json b/data/command-api-mapping/HKEYS.json index 11182fad31..5734387198 100644 --- a/data/command-api-mapping/HKEYS.json +++ b/data/command-api-mapping/HKEYS.json @@ -190,7 +190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HLEN.json b/data/command-api-mapping/HLEN.json index df34b3cda9..63190941fb 100644 --- a/data/command-api-mapping/HLEN.json +++ b/data/command-api-mapping/HLEN.json @@ -133,7 +133,7 @@ ], "ioredis": [ { - "signature": "hlen(key: RedisKey, callback?: Callback): Result;, /**, * Get the values of all the given hash fields, * - _group_: hash, * - _complexity_: O(N) where N is the number of fields being requested., * - _since_: 2.0.0, */, hmget(, ...args: [, key: RedisKey, ...fields: (string | Buffer)[], callback: Callback<(string | null)[]>, ])", + "signature": "hlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -142,17 +142,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "...args", - "type": "[, key", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HMGET.json b/data/command-api-mapping/HMGET.json index 09e7b3a66c..bcf8857731 100644 --- a/data/command-api-mapping/HMGET.json +++ b/data/command-api-mapping/HMGET.json @@ -234,13 +234,18 @@ "signature": "hmget(...args: [key: RedisKey, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } } diff --git a/data/command-api-mapping/HMSET.json b/data/command-api-mapping/HMSET.json index 393989bac7..2b4b8ba229 100644 --- a/data/command-api-mapping/HMSET.json +++ b/data/command-api-mapping/HMSET.json @@ -171,7 +171,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -195,21 +195,31 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "hmset(...args: [, key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback<\"OK\">, ])", + "signature": "hmset(...args: [ key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback<\"OK\"> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<\"OK\">", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -217,13 +227,18 @@ "signature": "hmset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } diff --git a/data/command-api-mapping/HPEXPIRE.json b/data/command-api-mapping/HPEXPIRE.json index c664b6f407..9a1c3a7198 100644 --- a/data/command-api-mapping/HPEXPIRE.json +++ b/data/command-api-mapping/HPEXPIRE.json @@ -545,8 +545,194 @@ "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "nx", + "type": "'NX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], @@ -556,26 +742,207 @@ } }, { - "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, nx: 'NX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback]): Result;, hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]]): Result;, /**, * Get one or multiple random fields from a hash, * - _group_: hash, * - _complexity_: O(N) where N is the number of fields returned, * - _since_: 6.2.0, */, hrandfield(, key: RedisKey, callback?: Callback)", + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, xx: 'XX', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "xx", + "type": "'XX'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", "description": "" }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ { "name": "key", "type": "RedisKey", "description": "" }, { - "name": "callback?", - "type": "Callback", + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, gt: 'GT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "gt", + "type": "'GT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[], callback: Callback])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "hpexpire(...args: [key: RedisKey, milliseconds: number | string, lt: 'LT', fieldsToken: 'FIELDS', numfields: number | string, ...fields: (string | Buffer)[]])", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "lt", + "type": "'LT'", + "description": "" + }, + { + "name": "fieldsToken", + "type": "'FIELDS'", + "description": "" + }, + { + "name": "numfields", + "type": "number | string", + "description": "" + }, + { + "name": "...fields", + "type": "(string | Buffer)[]", + "description": "" + } + ], + "returns": { + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HRANDFIELD.json b/data/command-api-mapping/HRANDFIELD.json index 81380c4eb6..eaa368c9af 100644 --- a/data/command-api-mapping/HRANDFIELD.json +++ b/data/command-api-mapping/HRANDFIELD.json @@ -229,7 +229,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -258,7 +258,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HSCAN.json b/data/command-api-mapping/HSCAN.json index 9bde389707..962e762d1c 100644 --- a/data/command-api-mapping/HSCAN.json +++ b/data/command-api-mapping/HSCAN.json @@ -488,12 +488,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -522,12 +522,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -556,12 +556,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -600,12 +600,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } diff --git a/data/command-api-mapping/HSET.json b/data/command-api-mapping/HSET.json index 3231ff94ab..c5a948d701 100644 --- a/data/command-api-mapping/HSET.json +++ b/data/command-api-mapping/HSET.json @@ -322,7 +322,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -346,21 +346,31 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "hset(...args: [, key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback, ])", + "signature": "hset(...args: [ key: RedisKey, ...fieldValues: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -368,13 +378,18 @@ "signature": "hset(...args: [key: RedisKey, ...fieldValues: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...fieldValues", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HSETNX.json b/data/command-api-mapping/HSETNX.json index 8392c0dddc..f8b68ceb09 100644 --- a/data/command-api-mapping/HSETNX.json +++ b/data/command-api-mapping/HSETNX.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HSTRLEN.json b/data/command-api-mapping/HSTRLEN.json index e4749f558f..c2355a7aa9 100644 --- a/data/command-api-mapping/HSTRLEN.json +++ b/data/command-api-mapping/HSTRLEN.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/HVALS.json b/data/command-api-mapping/HVALS.json index e9510c8c1c..f20b57bd78 100644 --- a/data/command-api-mapping/HVALS.json +++ b/data/command-api-mapping/HVALS.json @@ -190,7 +190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/INCR.json b/data/command-api-mapping/INCR.json index 2c5bd433b5..63f7dbc3fb 100644 --- a/data/command-api-mapping/INCR.json +++ b/data/command-api-mapping/INCR.json @@ -276,28 +276,13 @@ ], "ioredis": [ { - "signature": "incr(key: RedisKey, callback?: Callback): Result;, /**, * Increment the integer value of a key by the given amount, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, incrby(, key: RedisKey, increment: number | string, callback?: Callback)", + "signature": "incr(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "increment", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -305,7 +290,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/INCRBY.json b/data/command-api-mapping/INCRBY.json index 4f9324c65f..7a8fc9800b 100644 --- a/data/command-api-mapping/INCRBY.json +++ b/data/command-api-mapping/INCRBY.json @@ -276,18 +276,8 @@ ], "ioredis": [ { - "signature": "incr(key: RedisKey, callback?: Callback): Result;, /**, * Increment the integer value of a key by the given amount, * - _group_: string, * - _complexity_: O(1), * - _since_: 1.0.0, */, incrby(, key: RedisKey, increment: number | string, callback?: Callback)", + "signature": "incrby(key: RedisKey, increment: number | string, callback?: Callback)", "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, { "name": "key", "type": "RedisKey", @@ -305,7 +295,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/INCRBYFLOAT.json b/data/command-api-mapping/INCRBYFLOAT.json index d85752493c..3717401584 100644 --- a/data/command-api-mapping/INCRBYFLOAT.json +++ b/data/command-api-mapping/INCRBYFLOAT.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LCS.json b/data/command-api-mapping/LCS.json index b76e856d69..3708092507 100644 --- a/data/command-api-mapping/LCS.json +++ b/data/command-api-mapping/LCS.json @@ -256,7 +256,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -285,7 +285,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -319,7 +319,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -358,7 +358,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -387,7 +387,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LINDEX.json b/data/command-api-mapping/LINDEX.json index 1b450d35a4..a478693f2e 100644 --- a/data/command-api-mapping/LINDEX.json +++ b/data/command-api-mapping/LINDEX.json @@ -171,7 +171,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LINSERT.json b/data/command-api-mapping/LINSERT.json index ef37e94dce..598842e2ea 100644 --- a/data/command-api-mapping/LINSERT.json +++ b/data/command-api-mapping/LINSERT.json @@ -270,7 +270,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -304,7 +304,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LLEN.json b/data/command-api-mapping/LLEN.json index caf9700547..6ce5d78501 100644 --- a/data/command-api-mapping/LLEN.json +++ b/data/command-api-mapping/LLEN.json @@ -147,7 +147,7 @@ ], "ioredis": [ { - "signature": "llen(key: RedisKey, callback?: Callback): Result;, /**, * Pop an element from a list, push it to another list and return it, * - _group_: list, * - _complexity_: O(1), * - _since_: 6.2.0, */, lmove(, source: RedisKey, destination: RedisKey, left: \"LEFT\", left1: \"LEFT\", callback?: Callback)", + "signature": "llen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -156,37 +156,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "source", - "type": "RedisKey", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "left", - "type": "\"LEFT\"", - "description": "" - }, - { - "name": "left1", - "type": "\"LEFT\"", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LMOVE.json b/data/command-api-mapping/LMOVE.json index e12a3021db..170629bb5f 100644 --- a/data/command-api-mapping/LMOVE.json +++ b/data/command-api-mapping/LMOVE.json @@ -231,7 +231,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -265,7 +265,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -299,7 +299,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LMPOP.json b/data/command-api-mapping/LMPOP.json index f9a254c631..0b6177b4a1 100644 --- a/data/command-api-mapping/LMPOP.json +++ b/data/command-api-mapping/LMPOP.json @@ -215,30 +215,60 @@ ], "ioredis": [ { - "signature": "lmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "lmpop(...args: [, numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, keys: RedisKey[], left: \"LEFT\", callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, @@ -246,13 +276,23 @@ "signature": "lmpop(...args: [numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, @@ -260,27 +300,62 @@ "signature": "lmpop(...args: [numkeys: number | string, keys: RedisKey[], left: \"LEFT\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } }, { - "signature": "lmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null>, ])", + "signature": "lmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], left: \"LEFT\", countToken: \"COUNT\", count: number | string, callback: Callback<[key: string, members: string[]] | null> ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "left", + "type": "\"LEFT\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[key: string, members: string[]] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[key: string, members: string[]] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/LPOP.json b/data/command-api-mapping/LPOP.json index 75b1dcce92..14fb9b7f50 100644 --- a/data/command-api-mapping/LPOP.json +++ b/data/command-api-mapping/LPOP.json @@ -247,7 +247,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -271,7 +271,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LPOS.json b/data/command-api-mapping/LPOS.json index 0ab724431f..5edc3e83b4 100644 --- a/data/command-api-mapping/LPOS.json +++ b/data/command-api-mapping/LPOS.json @@ -494,7 +494,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -528,7 +528,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -562,7 +562,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -606,7 +606,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -640,7 +640,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LPUSH.json b/data/command-api-mapping/LPUSH.json index 0f39ec9bc1..e323dc57ac 100644 --- a/data/command-api-mapping/LPUSH.json +++ b/data/command-api-mapping/LPUSH.json @@ -192,16 +192,26 @@ ], "ioredis": [ { - "signature": "lpush(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "lpush(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +219,18 @@ "signature": "lpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LPUSHX.json b/data/command-api-mapping/LPUSHX.json index 102d12051b..db00a601ec 100644 --- a/data/command-api-mapping/LPUSHX.json +++ b/data/command-api-mapping/LPUSHX.json @@ -171,16 +171,26 @@ ], "ioredis": [ { - "signature": "lpushx(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "lpushx(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -188,13 +198,18 @@ "signature": "lpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LRANGE.json b/data/command-api-mapping/LRANGE.json index 64de850412..472608847c 100644 --- a/data/command-api-mapping/LRANGE.json +++ b/data/command-api-mapping/LRANGE.json @@ -324,7 +324,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LREM.json b/data/command-api-mapping/LREM.json index 5550eb58d8..a80cba811d 100644 --- a/data/command-api-mapping/LREM.json +++ b/data/command-api-mapping/LREM.json @@ -235,7 +235,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/LSET.json b/data/command-api-mapping/LSET.json index af3836fdf5..9ad0153ca6 100644 --- a/data/command-api-mapping/LSET.json +++ b/data/command-api-mapping/LSET.json @@ -235,7 +235,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } diff --git a/data/command-api-mapping/LTRIM.json b/data/command-api-mapping/LTRIM.json index c38e748227..b533728435 100644 --- a/data/command-api-mapping/LTRIM.json +++ b/data/command-api-mapping/LTRIM.json @@ -235,7 +235,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } diff --git a/data/command-api-mapping/MGET.json b/data/command-api-mapping/MGET.json index db06d3861f..bb664d6ddb 100644 --- a/data/command-api-mapping/MGET.json +++ b/data/command-api-mapping/MGET.json @@ -184,13 +184,18 @@ "signature": "mget(...args: [...keys: RedisKey[], callback: Callback<(string | null)[]>])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -198,51 +203,74 @@ "signature": "mget(...args: [keys: RedisKey[], callback: Callback<(string | null)[]>])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, { - "signature": "mget(...args: [...keys: RedisKey[]]): Result<(string | null)[], Context>;, mgetBuffer(, ...args: [...keys: RedisKey[]])", + "signature": "mget(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result<(string | null)[], Context>", + "description": "" + } + }, + { + "signature": "mgetBuffer(...args: [...keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(Buffer | null)[], Context>", "description": "" } }, { - "signature": "mget(...args: [keys: RedisKey[]]): Result<(string | null)[], Context>;, mgetBuffer(...args: [keys: RedisKey[]]): Result<(Buffer | null)[], Context>;, /**, * Atomically transfer a key from a Redis instance to another one., * - _group_: generic, * - _complexity_: This command actually executes a DUMP+DEL in the source instance, and a RESTORE in the target instance. See the pages of these commands for time complexity. Also an O(N) data transfer between the two instances is performed., * - _since_: 2.6.0, */, migrate(, ...args: [, host: string | Buffer, port: number | string, ...args: RedisValue[], callback: Callback<\"OK\">, ])", + "signature": "mget(...args: [keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result<(string | null)[], Context>", + "description": "" + } + }, + { + "signature": "mgetBuffer(...args: [keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, host", + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(Buffer | null)[], Context>", "description": "" } } diff --git a/data/command-api-mapping/MSET.json b/data/command-api-mapping/MSET.json index bd65ccd1df..869caa6ec7 100644 --- a/data/command-api-mapping/MSET.json +++ b/data/command-api-mapping/MSET.json @@ -133,7 +133,7 @@ ], "ioredis": [ { - "signature": "mset(object: object, callback?: Callback<\"OK\">): Result<\"OK\", Context>;, mset(, map: Map, callback?: Callback<\"OK\">)", + "signature": "mset(object: object, callback?: Callback<\"OK\">)", "params": [ { "name": "object", @@ -142,9 +142,18 @@ }, { "name": "callback?", - "type": "Callback<\"OK\">)", + "type": "Callback<\"OK\">", "description": "" - }, + } + ], + "returns": { + "type": "Result<\"OK\", Context>", + "description": "" + } + }, + { + "signature": "mset(map: Map, callback?: Callback<\"OK\">)", + "params": [ { "name": "map", "type": "Map", @@ -157,21 +166,26 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "mset(...args: [, ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback<\"OK\">, ])", + "signature": "mset(...args: [ ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback<\"OK\"> ])", "params": [ { - "name": "...args", - "type": "[, ...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<\"OK\">", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -179,13 +193,13 @@ "signature": "mset(...args: [...keyValues: (RedisKey | string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } diff --git a/data/command-api-mapping/MSETNX.json b/data/command-api-mapping/MSETNX.json index 9a152f010b..5323acd2b4 100644 --- a/data/command-api-mapping/MSETNX.json +++ b/data/command-api-mapping/MSETNX.json @@ -133,7 +133,7 @@ ], "ioredis": [ { - "signature": "msetnx(object: object, callback?: Callback<\"OK\">): Result<\"OK\", Context>;, msetnx(, map: Map, callback?: Callback<\"OK\">)", + "signature": "msetnx(object: object, callback?: Callback<\"OK\">)", "params": [ { "name": "object", @@ -142,9 +142,18 @@ }, { "name": "callback?", - "type": "Callback<\"OK\">)", + "type": "Callback<\"OK\">", "description": "" - }, + } + ], + "returns": { + "type": "Result<\"OK\", Context>", + "description": "" + } + }, + { + "signature": "msetnx(map: Map, callback?: Callback<\"OK\">)", + "params": [ { "name": "map", "type": "Map", @@ -157,21 +166,26 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, { - "signature": "msetnx(...args: [, ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback, ])", + "signature": "msetnx(...args: [ ...keyValues: (RedisKey | string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, ...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -179,13 +193,13 @@ "signature": "msetnx(...args: [...keyValues: (RedisKey | string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[...keyValues", + "name": "...keyValues", + "type": "(RedisKey | string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/PFADD.json b/data/command-api-mapping/PFADD.json index fc54232cc0..db567c6b2e 100644 --- a/data/command-api-mapping/PFADD.json +++ b/data/command-api-mapping/PFADD.json @@ -126,7 +126,7 @@ ], "ioredis": [ { - "signature": "pfadd(key: RedisKey, ...elements: (string | Buffer | number)[], callback?: Callback)", + "signature": "pfadd(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { "name": "key", diff --git a/data/command-api-mapping/PFCOUNT.json b/data/command-api-mapping/PFCOUNT.json index f7027493b2..1e601e5f74 100644 --- a/data/command-api-mapping/PFCOUNT.json +++ b/data/command-api-mapping/PFCOUNT.json @@ -124,7 +124,7 @@ ], "ioredis": [ { - "signature": "pfcount(...keys: RedisKey[], callback?: Callback)", + "signature": "pfcount(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { "name": "...keys", diff --git a/data/command-api-mapping/PFMERGE.json b/data/command-api-mapping/PFMERGE.json index afd6bf75a2..6f01e4ffd7 100644 --- a/data/command-api-mapping/PFMERGE.json +++ b/data/command-api-mapping/PFMERGE.json @@ -126,7 +126,7 @@ ], "ioredis": [ { - "signature": "pfmerge(destkey: RedisKey, ...sourcekeys: RedisKey[], callback?: Callback<'OK'>)", + "signature": "pfmerge(...args: [ destkey: RedisKey, ...sourcekeys: RedisKey[], callback: Callback<\"OK\"> ])", "params": [ { "name": "destkey", @@ -140,7 +140,7 @@ }, { "name": "callback", - "type": "Callback<'OK'>", + "type": "Callback<\"OK\">", "description": "Optional callback" } ], diff --git a/data/command-api-mapping/PSETEX.json b/data/command-api-mapping/PSETEX.json index 1f35516a18..1d034f1caa 100644 --- a/data/command-api-mapping/PSETEX.json +++ b/data/command-api-mapping/PSETEX.json @@ -206,7 +206,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/RPOP.json b/data/command-api-mapping/RPOP.json index f1fc6975fa..dd7b02e69c 100644 --- a/data/command-api-mapping/RPOP.json +++ b/data/command-api-mapping/RPOP.json @@ -252,7 +252,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/RPOPLPUSH.json b/data/command-api-mapping/RPOPLPUSH.json index bf9c607dbf..63d1adfec8 100644 --- a/data/command-api-mapping/RPOPLPUSH.json +++ b/data/command-api-mapping/RPOPLPUSH.json @@ -171,7 +171,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/RPUSH.json b/data/command-api-mapping/RPUSH.json index 27799177cc..5100926126 100644 --- a/data/command-api-mapping/RPUSH.json +++ b/data/command-api-mapping/RPUSH.json @@ -192,16 +192,26 @@ ], "ioredis": [ { - "signature": "rpush(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "rpush(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +219,18 @@ "signature": "rpush(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/RPUSHX.json b/data/command-api-mapping/RPUSHX.json index 2153b8de49..b158a1b1e6 100644 --- a/data/command-api-mapping/RPUSHX.json +++ b/data/command-api-mapping/RPUSHX.json @@ -171,16 +171,26 @@ ], "ioredis": [ { - "signature": "rpushx(...args: [, key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback, ])", + "signature": "rpushx(...args: [ key: RedisKey, ...elements: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -188,13 +198,18 @@ "signature": "rpushx(...args: [key: RedisKey, ...elements: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...elements", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SADD.json b/data/command-api-mapping/SADD.json index 784f08103d..188b7def1e 100644 --- a/data/command-api-mapping/SADD.json +++ b/data/command-api-mapping/SADD.json @@ -173,30 +173,50 @@ ], "ioredis": [ { - "signature": "sadd(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "sadd(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sadd(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "sadd(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -204,13 +224,18 @@ "signature": "sadd(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -218,13 +243,18 @@ "signature": "sadd(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SCARD.json b/data/command-api-mapping/SCARD.json index 27ed6b2b2b..5bdb76f681 100644 --- a/data/command-api-mapping/SCARD.json +++ b/data/command-api-mapping/SCARD.json @@ -133,7 +133,7 @@ ], "ioredis": [ { - "signature": "scard(key: RedisKey, callback?: Callback): Result;, /**, * Set the debug mode for executed scripts., * - _group_: scripting, * - _complexity_: O(1), * - _since_: 3.2.0, */, script(, subcommand: \"DEBUG\", yes: \"YES\", callback?: Callback)", + "signature": "scard(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -142,27 +142,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "subcommand", - "type": "\"DEBUG\"", - "description": "" - }, - { - "name": "yes", - "type": "\"YES\"", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SDIFF.json b/data/command-api-mapping/SDIFF.json index e12786bd48..542c00c7f5 100644 --- a/data/command-api-mapping/SDIFF.json +++ b/data/command-api-mapping/SDIFF.json @@ -184,13 +184,18 @@ "signature": "sdiff(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -198,32 +203,74 @@ "signature": "sdiff(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sdiff(...args: [...keys: RedisKey[]]): Result;, sdiffBuffer(...args: [...keys: RedisKey[]]): Result;, sdiff(...args: [keys: RedisKey[]]): Result;, sdiffBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Subtract multiple sets and store the resulting set in a key, * - _group_: set, * - _complexity_: O(N) where N is the total number of elements in all given sets., * - _since_: 1.0.0, */, sdiffstore(, ...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sdiff(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiffBuffer(...args: [...keys: RedisKey[]])", + "params": [ + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiff(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sdiffBuffer(...args: [keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, destination", + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SDIFFSTORE.json b/data/command-api-mapping/SDIFFSTORE.json index 51279f7472..1d4281e284 100644 --- a/data/command-api-mapping/SDIFFSTORE.json +++ b/data/command-api-mapping/SDIFFSTORE.json @@ -178,16 +178,26 @@ ], "ioredis": [ { - "signature": "sdiffstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sdiffstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -195,13 +205,18 @@ "signature": "sdiffstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +224,18 @@ "signature": "sdiffstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SET.json b/data/command-api-mapping/SET.json index 9aeedacd87..8da7d89017 100644 --- a/data/command-api-mapping/SET.json +++ b/data/command-api-mapping/SET.json @@ -547,7 +547,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } }, @@ -576,7 +576,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -605,7 +605,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\" | null, Context>", "description": "" } }, @@ -639,7 +639,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -668,7 +668,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\" | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/SETBIT.json b/data/command-api-mapping/SETBIT.json index ec1ccc9c03..9882839c6e 100644 --- a/data/command-api-mapping/SETBIT.json +++ b/data/command-api-mapping/SETBIT.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SETEX.json b/data/command-api-mapping/SETEX.json index 37e5ab10d6..a18d254aef 100644 --- a/data/command-api-mapping/SETEX.json +++ b/data/command-api-mapping/SETEX.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result<\"OK\", Context>", "description": "" } } diff --git a/data/command-api-mapping/SETNX.json b/data/command-api-mapping/SETNX.json index 71a550fc44..0e29916be9 100644 --- a/data/command-api-mapping/SETNX.json +++ b/data/command-api-mapping/SETNX.json @@ -197,7 +197,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SETRANGE.json b/data/command-api-mapping/SETRANGE.json index 655aa58a4d..78174d527e 100644 --- a/data/command-api-mapping/SETRANGE.json +++ b/data/command-api-mapping/SETRANGE.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SINTER.json b/data/command-api-mapping/SINTER.json index 3661d9394f..aa1bfa357b 100644 --- a/data/command-api-mapping/SINTER.json +++ b/data/command-api-mapping/SINTER.json @@ -184,13 +184,18 @@ "signature": "sinter(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -198,32 +203,74 @@ "signature": "sinter(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sinter(...args: [...keys: RedisKey[]]): Result;, sinterBuffer(...args: [...keys: RedisKey[]]): Result;, sinter(...args: [keys: RedisKey[]]): Result;, sinterBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Intersect multiple sets and return the cardinality of the result, * - _group_: set, * - _complexity_: O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets., * - _since_: 7.0.0, */, sintercard(, ...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sinter(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sinterBuffer(...args: [...keys: RedisKey[]])", + "params": [ + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sinter(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sinterBuffer(...args: [keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SINTERCARD.json b/data/command-api-mapping/SINTERCARD.json index a7212709bb..6c8af79534 100644 --- a/data/command-api-mapping/SINTERCARD.json +++ b/data/command-api-mapping/SINTERCARD.json @@ -248,16 +248,26 @@ ], "ioredis": [ { - "signature": "sintercard(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -265,13 +275,18 @@ "signature": "sintercard(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -279,41 +294,86 @@ "signature": "sintercard(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sintercard(...args: [, numkeys: number | string, keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "sintercard(...args: [ numkeys: number | string, keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SINTERSTORE.json b/data/command-api-mapping/SINTERSTORE.json index 7e6a0e586e..7f97f00c69 100644 --- a/data/command-api-mapping/SINTERSTORE.json +++ b/data/command-api-mapping/SINTERSTORE.json @@ -178,30 +178,50 @@ ], "ioredis": [ { - "signature": "sinterstore(...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sinterstore(...args: [ destination: RedisKey, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sinterstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sinterstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +229,18 @@ "signature": "sinterstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -223,13 +248,18 @@ "signature": "sinterstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SISMEMBER.json b/data/command-api-mapping/SISMEMBER.json index 3911a5bc78..28fc50da0e 100644 --- a/data/command-api-mapping/SISMEMBER.json +++ b/data/command-api-mapping/SISMEMBER.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SMEMBERS.json b/data/command-api-mapping/SMEMBERS.json index 31b6d88381..a625f8cc00 100644 --- a/data/command-api-mapping/SMEMBERS.json +++ b/data/command-api-mapping/SMEMBERS.json @@ -190,7 +190,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SMISMEMBER.json b/data/command-api-mapping/SMISMEMBER.json index b701222356..9c79ef3786 100644 --- a/data/command-api-mapping/SMISMEMBER.json +++ b/data/command-api-mapping/SMISMEMBER.json @@ -178,30 +178,50 @@ ], "ioredis": [ { - "signature": "smismember(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "smismember(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "smismember(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "smismember(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +229,18 @@ "signature": "smismember(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -223,13 +248,18 @@ "signature": "smismember(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SMOVE.json b/data/command-api-mapping/SMOVE.json index f925a7ab29..a58a4be5ad 100644 --- a/data/command-api-mapping/SMOVE.json +++ b/data/command-api-mapping/SMOVE.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SPOP.json b/data/command-api-mapping/SPOP.json index d184f2fee6..66ad4787f9 100644 --- a/data/command-api-mapping/SPOP.json +++ b/data/command-api-mapping/SPOP.json @@ -214,7 +214,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -238,7 +238,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SRANDMEMBER.json b/data/command-api-mapping/SRANDMEMBER.json index b4f7534b4e..8255104d69 100644 --- a/data/command-api-mapping/SRANDMEMBER.json +++ b/data/command-api-mapping/SRANDMEMBER.json @@ -286,7 +286,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -310,7 +310,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SREM.json b/data/command-api-mapping/SREM.json index b71ead9104..9c6df6672c 100644 --- a/data/command-api-mapping/SREM.json +++ b/data/command-api-mapping/SREM.json @@ -173,30 +173,50 @@ ], "ioredis": [ { - "signature": "srem(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "srem(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "srem(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "srem(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -204,13 +224,18 @@ "signature": "srem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -218,13 +243,18 @@ "signature": "srem(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SSCAN.json b/data/command-api-mapping/SSCAN.json index 654ac22600..9df658ad21 100644 --- a/data/command-api-mapping/SSCAN.json +++ b/data/command-api-mapping/SSCAN.json @@ -450,12 +450,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -484,12 +484,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -518,12 +518,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -562,12 +562,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } diff --git a/data/command-api-mapping/STRLEN.json b/data/command-api-mapping/STRLEN.json index a154321479..3fa3711153 100644 --- a/data/command-api-mapping/STRLEN.json +++ b/data/command-api-mapping/STRLEN.json @@ -133,7 +133,7 @@ ], "ioredis": [ { - "signature": "strlen(key: RedisKey, callback?: Callback): Result;, /**, * Listen for messages published to the given channels, * - _group_: pubsub, * - _complexity_: O(N) where N is the number of channels to subscribe to., * - _since_: 2.0.0, */, subscribe(, ...args: [...channels: (string | Buffer)[], callback: Callback])", + "signature": "strlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -142,17 +142,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "...args", - "type": "[...channels", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SUBSTR.json b/data/command-api-mapping/SUBSTR.json index 497a2840b4..f398d1e034 100644 --- a/data/command-api-mapping/SUBSTR.json +++ b/data/command-api-mapping/SUBSTR.json @@ -261,7 +261,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -290,7 +290,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SUNION.json b/data/command-api-mapping/SUNION.json index 6e5426aa89..b9003519b0 100644 --- a/data/command-api-mapping/SUNION.json +++ b/data/command-api-mapping/SUNION.json @@ -184,13 +184,18 @@ "signature": "sunion(...args: [...keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -198,32 +203,74 @@ "signature": "sunion(...args: [keys: RedisKey[], callback: Callback])", "params": [ { - "name": "...args", - "type": "[keys", + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "sunion(...args: [...keys: RedisKey[]]): Result;, sunionBuffer(...args: [...keys: RedisKey[]]): Result;, sunion(...args: [keys: RedisKey[]]): Result;, sunionBuffer(...args: [keys: RedisKey[]]): Result;, /**, * Add multiple sets and store the resulting set in a key, * - _group_: set, * - _complexity_: O(N) where N is the total number of elements in all given sets., * - _since_: 1.0.0, */, sunionstore(, ...args: [, destination: RedisKey, ...keys: RedisKey[], callback: Callback, ])", + "signature": "sunion(...args: [...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[...keys", + "name": "...keys", + "type": "RedisKey[]", "description": "" - }, + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sunionBuffer(...args: [...keys: RedisKey[]])", + "params": [ + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sunion(...args: [keys: RedisKey[]])", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + } + ], + "returns": { + "type": "Result", + "description": "" + } + }, + { + "signature": "sunionBuffer(...args: [keys: RedisKey[]])", + "params": [ { - "name": "...args", - "type": "[, destination", + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/SUNIONSTORE.json b/data/command-api-mapping/SUNIONSTORE.json index 798636ee2a..2683dba363 100644 --- a/data/command-api-mapping/SUNIONSTORE.json +++ b/data/command-api-mapping/SUNIONSTORE.json @@ -178,16 +178,26 @@ ], "ioredis": [ { - "signature": "sunionstore(...args: [, destination: RedisKey, keys: RedisKey[], callback: Callback, ])", + "signature": "sunionstore(...args: [ destination: RedisKey, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -195,13 +205,18 @@ "signature": "sunionstore(...args: [destination: RedisKey, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +224,18 @@ "signature": "sunionstore(...args: [destination: RedisKey, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XACK.json b/data/command-api-mapping/XACK.json index 30cd3bd5fa..2db0e4d99b 100644 --- a/data/command-api-mapping/XACK.json +++ b/data/command-api-mapping/XACK.json @@ -237,16 +237,26 @@ ], "ioredis": [ { - "signature": "xack(...args: [, key: RedisKey, group: string | Buffer, ...ids: (string | Buffer | number)[], ])", + "signature": "xack(...args: [ key: RedisKey, group: string | Buffer, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XADD.json b/data/command-api-mapping/XADD.json index fdc2df59c6..638595b8a1 100644 --- a/data/command-api-mapping/XADD.json +++ b/data/command-api-mapping/XADD.json @@ -491,30 +491,45 @@ ], "ioredis": [ { - "signature": "xadd(...args: [, key: RedisKey, ...args: RedisValue[], callback: Callback, ])", + "signature": "xadd(...args: [ key: RedisKey, ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[, key", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { "signature": "xadd(...args: [key: RedisKey, ...args: RedisValue[]])", "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, { "name": "...args", - "type": "[key", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XAUTOCLAIM.json b/data/command-api-mapping/XAUTOCLAIM.json index 9aa0cb4cc7..8fb1f87e56 100644 --- a/data/command-api-mapping/XAUTOCLAIM.json +++ b/data/command-api-mapping/XAUTOCLAIM.json @@ -398,7 +398,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -442,7 +442,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -491,7 +491,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -545,7 +545,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XCLAIM.json b/data/command-api-mapping/XCLAIM.json index 1a36c360ea..fff956477c 100644 --- a/data/command-api-mapping/XCLAIM.json +++ b/data/command-api-mapping/XCLAIM.json @@ -496,72 +496,202 @@ ], "ioredis": [ { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "justid", + "type": "\"JUSTID\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\", ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], justid: \"JUSTID\" ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "justid", + "type": "\"JUSTID\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xclaim(...args: [, key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], force: \"FORCE\", callback: Callback, ])", + "signature": "xclaim(...args: [ key: RedisKey, group: string | Buffer, consumer: string | Buffer, minIdleTime: string | Buffer | number, ...ids: (string | Buffer | number)[], force: \"FORCE\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "minIdleTime", + "type": "string | Buffer | number", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "force", + "type": "\"FORCE\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XDEL.json b/data/command-api-mapping/XDEL.json index 76a19a8c12..a28398bddf 100644 --- a/data/command-api-mapping/XDEL.json +++ b/data/command-api-mapping/XDEL.json @@ -192,16 +192,26 @@ ], "ioredis": [ { - "signature": "xdel(...args: [, key: RedisKey, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdel(...args: [ key: RedisKey, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -209,13 +219,18 @@ "signature": "xdel(...args: [key: RedisKey, ...ids: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XDELEX.json b/data/command-api-mapping/XDELEX.json index 280049631e..b91e890ff7 100644 --- a/data/command-api-mapping/XDELEX.json +++ b/data/command-api-mapping/XDELEX.json @@ -327,72 +327,177 @@ ], "ioredis": [ { - "signature": "xdelex(...args: [, key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], ])", + "signature": "xdelex(...args: [ key: RedisKey, idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "keepref", + "type": "\"KEEPREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], ])", + "signature": "xdelex(...args: [ key: RedisKey, keepref: \"KEEPREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "keepref", + "type": "\"KEEPREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xdelex(...args: [, key: RedisKey, delref: \"DELREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback, ])", + "signature": "xdelex(...args: [ key: RedisKey, delref: \"DELREF\", idsToken: \"IDS\", numids: number | string, ...ids: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "delref", + "type": "\"DELREF\"", + "description": "" + }, + { + "name": "idsToken", + "type": "\"IDS\"", + "description": "" + }, + { + "name": "numids", + "type": "number | string", + "description": "" + }, + { + "name": "...ids", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XGROUP CREATE.json b/data/command-api-mapping/XGROUP CREATE.json index bfc5ca1250..329aa74020 100644 --- a/data/command-api-mapping/XGROUP CREATE.json +++ b/data/command-api-mapping/XGROUP CREATE.json @@ -377,7 +377,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -421,7 +421,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -460,7 +460,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -509,7 +509,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -543,7 +543,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XGROUP CREATECONSUMER.json b/data/command-api-mapping/XGROUP CREATECONSUMER.json index e5564ebf17..4186a4ae3b 100644 --- a/data/command-api-mapping/XGROUP CREATECONSUMER.json +++ b/data/command-api-mapping/XGROUP CREATECONSUMER.json @@ -251,7 +251,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -295,7 +295,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -334,7 +334,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -383,7 +383,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -417,7 +417,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XGROUP DELCONSUMER.json b/data/command-api-mapping/XGROUP DELCONSUMER.json index 3a513cb82d..44a3b1322d 100644 --- a/data/command-api-mapping/XGROUP DELCONSUMER.json +++ b/data/command-api-mapping/XGROUP DELCONSUMER.json @@ -251,7 +251,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -295,7 +295,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -334,7 +334,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -383,7 +383,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -417,7 +417,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XGROUP DESTROY.json b/data/command-api-mapping/XGROUP DESTROY.json index 3d3a510464..4150e42d75 100644 --- a/data/command-api-mapping/XGROUP DESTROY.json +++ b/data/command-api-mapping/XGROUP DESTROY.json @@ -221,7 +221,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -265,7 +265,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -304,7 +304,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -353,7 +353,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -387,7 +387,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XGROUP SETID.json b/data/command-api-mapping/XGROUP SETID.json index 48b7e9ea34..7774acdc9e 100644 --- a/data/command-api-mapping/XGROUP SETID.json +++ b/data/command-api-mapping/XGROUP SETID.json @@ -261,7 +261,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -305,7 +305,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -344,7 +344,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -393,7 +393,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -427,7 +427,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XINFO CONSUMERS.json b/data/command-api-mapping/XINFO CONSUMERS.json index a170ec7f47..a2a8036a20 100644 --- a/data/command-api-mapping/XINFO CONSUMERS.json +++ b/data/command-api-mapping/XINFO CONSUMERS.json @@ -216,7 +216,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -240,7 +240,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -259,7 +259,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -283,7 +283,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -312,7 +312,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XINFO GROUPS.json b/data/command-api-mapping/XINFO GROUPS.json index 7529ae0c74..9ed88b7575 100644 --- a/data/command-api-mapping/XINFO GROUPS.json +++ b/data/command-api-mapping/XINFO GROUPS.json @@ -171,7 +171,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -195,7 +195,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -214,7 +214,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -238,7 +238,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -267,7 +267,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XINFO STREAM.json b/data/command-api-mapping/XINFO STREAM.json index 581dc4d201..2e723f1cfe 100644 --- a/data/command-api-mapping/XINFO STREAM.json +++ b/data/command-api-mapping/XINFO STREAM.json @@ -233,7 +233,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -257,7 +257,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -276,7 +276,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -300,7 +300,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -329,7 +329,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XLEN.json b/data/command-api-mapping/XLEN.json index 6070581432..7a45eaf611 100644 --- a/data/command-api-mapping/XLEN.json +++ b/data/command-api-mapping/XLEN.json @@ -147,7 +147,7 @@ ], "ioredis": [ { - "signature": "xlen(key: RedisKey, callback?: Callback): Result;, /**, * Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged., * - _group_: stream, * - _complexity_: O(N) with N being the number of elements returned, so asking for a small fixed number of entries per call is O(1). O(M), where M is the total number of entries scanned when used with the IDLE filter. When the command returns just the summary and the list of consumers is small, it runs in O(1) time; otherwise, an additional O(N) time for iterating every consumer., * - _since_: 5.0.0, */, xpending(, key: RedisKey, group: string | Buffer, callback?: Callback)", + "signature": "xlen(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", @@ -156,27 +156,12 @@ }, { "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "group", - "type": "string | Buffer", - "description": "" - }, - { - "name": "callback?", - "type": "Callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XPENDING.json b/data/command-api-mapping/XPENDING.json index 2ad9e88eb4..84371b116c 100644 --- a/data/command-api-mapping/XPENDING.json +++ b/data/command-api-mapping/XPENDING.json @@ -524,7 +524,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -568,7 +568,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -617,7 +617,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -671,7 +671,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XRANGE.json b/data/command-api-mapping/XRANGE.json index ffbf0cf17b..b6f23515de 100644 --- a/data/command-api-mapping/XRANGE.json +++ b/data/command-api-mapping/XRANGE.json @@ -400,12 +400,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } }, @@ -439,12 +439,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } } diff --git a/data/command-api-mapping/XREAD.json b/data/command-api-mapping/XREAD.json index 7d01b97399..2d817215c4 100644 --- a/data/command-api-mapping/XREAD.json +++ b/data/command-api-mapping/XREAD.json @@ -276,72 +276,142 @@ ], "ioredis": [ { - "signature": "xread(...args: [, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, streamsToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { "signature": "xread(...args: [streamsToken: \"STREAMS\", ...args: RedisValue[]])", "params": [ + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[streamsToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, millisecondsToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xread(...args: [ millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, millisecondsToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } }, { - "signature": "xread(...args: [, countToken: \"COUNT\", count: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<, [key: string, items: [id: string, fields: string[]][]][] | null, >, ])", + "signature": "xread(...args: [ countToken: \"COUNT\", count: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null> ])", "params": [ + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, countToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<[ key: string, items: [id: string, fields: string[]][] ][] | null>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[ key: string, items: [id: string, fields: string[]][] ][] | null, Context>", "description": "" } } diff --git a/data/command-api-mapping/XREADGROUP.json b/data/command-api-mapping/XREADGROUP.json index 42b63e2fc8..ceb4b9c73c 100644 --- a/data/command-api-mapping/XREADGROUP.json +++ b/data/command-api-mapping/XREADGROUP.json @@ -357,72 +357,207 @@ ], "ioredis": [ { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "noack", + "type": "\"NOACK\"", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[], ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, noack: \"NOACK\", streamsToken: \"STREAMS\", ...args: RedisValue[] ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "noack", + "type": "\"NOACK\"", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "xreadgroup(...args: [, groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback, ])", + "signature": "xreadgroup(...args: [ groupConsumerToken: \"GROUP\", group: string | Buffer, consumer: string | Buffer, millisecondsToken: \"BLOCK\", milliseconds: number | string, streamsToken: \"STREAMS\", ...args: RedisValue[], callback: Callback ])", "params": [ + { + "name": "groupConsumerToken", + "type": "\"GROUP\"", + "description": "" + }, + { + "name": "group", + "type": "string | Buffer", + "description": "" + }, + { + "name": "consumer", + "type": "string | Buffer", + "description": "" + }, + { + "name": "millisecondsToken", + "type": "\"BLOCK\"", + "description": "" + }, + { + "name": "milliseconds", + "type": "number | string", + "description": "" + }, + { + "name": "streamsToken", + "type": "\"STREAMS\"", + "description": "" + }, { "name": "...args", - "type": "[, groupConsumerToken", + "type": "RedisValue[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XREVRANGE.json b/data/command-api-mapping/XREVRANGE.json index c01ae80968..19e6481604 100644 --- a/data/command-api-mapping/XREVRANGE.json +++ b/data/command-api-mapping/XREVRANGE.json @@ -395,12 +395,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } }, @@ -434,12 +434,12 @@ }, { "name": "callback?", - "type": "Callback<[id", + "type": "Callback<[id: string, fields: string[]][]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[id: string, fields: string[]][], Context>", "description": "" } } diff --git a/data/command-api-mapping/XSETID.json b/data/command-api-mapping/XSETID.json index 038a202a81..685b06310d 100644 --- a/data/command-api-mapping/XSETID.json +++ b/data/command-api-mapping/XSETID.json @@ -47,7 +47,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -81,7 +81,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -115,7 +115,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -159,7 +159,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/XTRIM.json b/data/command-api-mapping/XTRIM.json index f7fd6a1781..8c7f5bcd29 100644 --- a/data/command-api-mapping/XTRIM.json +++ b/data/command-api-mapping/XTRIM.json @@ -549,7 +549,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -583,7 +583,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -617,7 +617,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -651,7 +651,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -690,7 +690,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZADD.json b/data/command-api-mapping/ZADD.json index c446db8785..448b50e4f4 100644 --- a/data/command-api-mapping/ZADD.json +++ b/data/command-api-mapping/ZADD.json @@ -573,16 +573,26 @@ ], "ioredis": [ { - "signature": "zadd(...args: [, key: RedisKey, ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -590,55 +600,100 @@ "signature": "zadd(...args: [key: RedisKey, ...scoreMembers: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "incr", + "type": "\"INCR\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[], ])", + "signature": "zadd(...args: [ key: RedisKey, incr: \"INCR\", ...scoreMembers: (string | Buffer | number)[] ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "incr", + "type": "\"INCR\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zadd(...args: [, key: RedisKey, ch: \"CH\", ...scoreMembers: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zadd(...args: [ key: RedisKey, ch: \"CH\", ...scoreMembers: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "ch", + "type": "\"CH\"", + "description": "" + }, + { + "name": "...scoreMembers", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZCARD.json b/data/command-api-mapping/ZCARD.json index 1ff67f1a92..b4939509c6 100644 --- a/data/command-api-mapping/ZCARD.json +++ b/data/command-api-mapping/ZCARD.json @@ -133,33 +133,13 @@ ], "ioredis": [ { - "signature": "zcard(key: RedisKey, callback?: Callback): Result;, /**, * Count the members in a sorted set with scores within the given values, * - _group_: sorted-set, * - _complexity_: O(log(N)) with N being the number of elements in the sorted set., * - _since_: 2.0.0, */, zcount(, key: RedisKey, min: number | string, max: number | string, callback?: Callback)", + "signature": "zcard(key: RedisKey, callback?: Callback)", "params": [ { "name": "key", "type": "RedisKey", "description": "" }, - { - "name": "callback?", - "type": "Callback)", - "description": "" - }, - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "min", - "type": "number | string", - "description": "" - }, - { - "name": "max", - "type": "number | string", - "description": "" - }, { "name": "callback?", "type": "Callback", @@ -167,7 +147,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZDIFF.json b/data/command-api-mapping/ZDIFF.json index 83d92b7f9c..2a2f055c3c 100644 --- a/data/command-api-mapping/ZDIFF.json +++ b/data/command-api-mapping/ZDIFF.json @@ -124,30 +124,50 @@ ], "ioredis": [ { - "signature": "zdiff(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiff(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -155,13 +175,18 @@ "signature": "zdiff(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -169,27 +194,47 @@ "signature": "zdiff(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiff(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zdiff(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZDIFFSTORE.json b/data/command-api-mapping/ZDIFFSTORE.json index 55e9532fe4..62028cc011 100644 --- a/data/command-api-mapping/ZDIFFSTORE.json +++ b/data/command-api-mapping/ZDIFFSTORE.json @@ -211,44 +211,84 @@ ], "ioredis": [ { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zdiffstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zdiffstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -256,13 +296,23 @@ "signature": "zdiffstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZINCRBY.json b/data/command-api-mapping/ZINCRBY.json index 75eace0bc8..2874976a55 100644 --- a/data/command-api-mapping/ZINCRBY.json +++ b/data/command-api-mapping/ZINCRBY.json @@ -285,7 +285,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZINTER.json b/data/command-api-mapping/ZINTER.json index 7cc0bb84f8..7de5a1d09a 100644 --- a/data/command-api-mapping/ZINTER.json +++ b/data/command-api-mapping/ZINTER.json @@ -196,30 +196,50 @@ ], "ioredis": [ { - "signature": "zinter(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinter(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -227,13 +247,18 @@ "signature": "zinter(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -241,27 +266,47 @@ "signature": "zinter(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinter(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zinter(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZINTERCARD.json b/data/command-api-mapping/ZINTERCARD.json index c2c89c4d5e..5d30f94e00 100644 --- a/data/command-api-mapping/ZINTERCARD.json +++ b/data/command-api-mapping/ZINTERCARD.json @@ -248,30 +248,50 @@ ], "ioredis": [ { - "signature": "zintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zintercard(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -279,13 +299,18 @@ "signature": "zintercard(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -293,27 +318,52 @@ "signature": "zintercard(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zintercard(...args: [, numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback, ])", + "signature": "zintercard(...args: [ numkeys: number | string, ...keys: RedisKey[], limitToken: \"LIMIT\", limit: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "limitToken", + "type": "\"LIMIT\"", + "description": "" + }, + { + "name": "limit", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZINTERSTORE.json b/data/command-api-mapping/ZINTERSTORE.json index 78cb39eb89..f1b4ef6118 100644 --- a/data/command-api-mapping/ZINTERSTORE.json +++ b/data/command-api-mapping/ZINTERSTORE.json @@ -303,44 +303,84 @@ ], "ioredis": [ { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -348,27 +388,62 @@ "signature": "zinterstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zinterstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback, ])", + "signature": "zinterstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "aggregate", + "type": "\"AGGREGATE\"", + "description": "" + }, + { + "name": "sum", + "type": "\"SUM\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZLEXCOUNT.json b/data/command-api-mapping/ZLEXCOUNT.json index 81fed7eefd..149bf271a4 100644 --- a/data/command-api-mapping/ZLEXCOUNT.json +++ b/data/command-api-mapping/ZLEXCOUNT.json @@ -294,7 +294,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZMPOP.json b/data/command-api-mapping/ZMPOP.json index 71b4dfdff2..cc60bfcfa0 100644 --- a/data/command-api-mapping/ZMPOP.json +++ b/data/command-api-mapping/ZMPOP.json @@ -275,30 +275,60 @@ ], "ioredis": [ { - "signature": "zmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zmpop(...args: [, numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, keys: RedisKey[], min: \"MIN\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -306,13 +336,23 @@ "signature": "zmpop(...args: [numkeys: number | string, ...keys: RedisKey[], min: \"MIN\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -320,27 +360,62 @@ "signature": "zmpop(...args: [numkeys: number | string, keys: RedisKey[], min: \"MIN\"])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zmpop(...args: [, numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback, ])", + "signature": "zmpop(...args: [ numkeys: number | string, ...keys: RedisKey[], min: \"MIN\", countToken: \"COUNT\", count: number | string, callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "min", + "type": "\"MIN\"", + "description": "" + }, + { + "name": "countToken", + "type": "\"COUNT\"", + "description": "" + }, + { + "name": "count", + "type": "number | string", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZMSCORE.json b/data/command-api-mapping/ZMSCORE.json index 324cc5bcd5..870c276fee 100644 --- a/data/command-api-mapping/ZMSCORE.json +++ b/data/command-api-mapping/ZMSCORE.json @@ -173,30 +173,50 @@ ], "ioredis": [ { - "signature": "zmscore(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<(string | null)[]>, ])", + "signature": "zmscore(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback<(string | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, { - "signature": "zmscore(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback<(string | null)[]>, ])", + "signature": "zmscore(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback<(string | null)[]> ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback<(string | null)[]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -204,13 +224,18 @@ "signature": "zmscore(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } }, @@ -218,13 +243,18 @@ "signature": "zmscore(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<(string | null)[], Context>", "description": "" } } diff --git a/data/command-api-mapping/ZPOPMAX.json b/data/command-api-mapping/ZPOPMAX.json index 013f2c9674..f9b9caffb8 100644 --- a/data/command-api-mapping/ZPOPMAX.json +++ b/data/command-api-mapping/ZPOPMAX.json @@ -252,7 +252,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -276,7 +276,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZPOPMIN.json b/data/command-api-mapping/ZPOPMIN.json index b3f82c6851..745bebaddb 100644 --- a/data/command-api-mapping/ZPOPMIN.json +++ b/data/command-api-mapping/ZPOPMIN.json @@ -252,7 +252,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -276,7 +276,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANDMEMBER.json b/data/command-api-mapping/ZRANDMEMBER.json index 42c0e37004..34b617a9ca 100644 --- a/data/command-api-mapping/ZRANDMEMBER.json +++ b/data/command-api-mapping/ZRANDMEMBER.json @@ -224,7 +224,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -248,7 +248,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -277,7 +277,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANGE.json b/data/command-api-mapping/ZRANGE.json index af6d1feff9..1673d09ed0 100644 --- a/data/command-api-mapping/ZRANGE.json +++ b/data/command-api-mapping/ZRANGE.json @@ -628,7 +628,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -662,7 +662,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -706,7 +706,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -755,7 +755,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -789,7 +789,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANGEBYLEX.json b/data/command-api-mapping/ZRANGEBYLEX.json index aa47c6898b..008ab976d8 100644 --- a/data/command-api-mapping/ZRANGEBYLEX.json +++ b/data/command-api-mapping/ZRANGEBYLEX.json @@ -512,7 +512,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -556,7 +556,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANGEBYSCORE.json b/data/command-api-mapping/ZRANGEBYSCORE.json index 58b44d8e50..fce0d2a5f2 100644 --- a/data/command-api-mapping/ZRANGEBYSCORE.json +++ b/data/command-api-mapping/ZRANGEBYSCORE.json @@ -691,7 +691,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -735,7 +735,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -769,7 +769,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -818,7 +818,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANGESTORE.json b/data/command-api-mapping/ZRANGESTORE.json index ce6142134f..6c5a042df8 100644 --- a/data/command-api-mapping/ZRANGESTORE.json +++ b/data/command-api-mapping/ZRANGESTORE.json @@ -277,7 +277,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -326,7 +326,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -365,7 +365,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -419,7 +419,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -458,7 +458,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZRANK.json b/data/command-api-mapping/ZRANK.json index ac6f5f7e0f..1a9007a5c2 100644 --- a/data/command-api-mapping/ZRANK.json +++ b/data/command-api-mapping/ZRANK.json @@ -202,7 +202,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREM.json b/data/command-api-mapping/ZREM.json index 5cdb34a633..64062ad822 100644 --- a/data/command-api-mapping/ZREM.json +++ b/data/command-api-mapping/ZREM.json @@ -173,30 +173,50 @@ ], "ioredis": [ { - "signature": "zrem(...args: [, key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zrem(...args: [ key: RedisKey, ...members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zrem(...args: [, key: RedisKey, members: (string | Buffer | number)[], callback: Callback, ])", + "signature": "zrem(...args: [ key: RedisKey, members: (string | Buffer | number)[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -204,13 +224,18 @@ "signature": "zrem(...args: [key: RedisKey, ...members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "...members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -218,13 +243,18 @@ "signature": "zrem(...args: [key: RedisKey, members: (string | Buffer | number)[]])", "params": [ { - "name": "...args", - "type": "[key", + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "members", + "type": "(string | Buffer | number)[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREMRANGEBYLEX.json b/data/command-api-mapping/ZREMRANGEBYLEX.json index 92048fdd72..cc37ffdf53 100644 --- a/data/command-api-mapping/ZREMRANGEBYLEX.json +++ b/data/command-api-mapping/ZREMRANGEBYLEX.json @@ -294,7 +294,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREMRANGEBYRANK.json b/data/command-api-mapping/ZREMRANGEBYRANK.json index 586ef06571..83a794e57a 100644 --- a/data/command-api-mapping/ZREMRANGEBYRANK.json +++ b/data/command-api-mapping/ZREMRANGEBYRANK.json @@ -237,7 +237,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREMRANGEBYSCORE.json b/data/command-api-mapping/ZREMRANGEBYSCORE.json index a5206c36b9..47fed675a4 100644 --- a/data/command-api-mapping/ZREMRANGEBYSCORE.json +++ b/data/command-api-mapping/ZREMRANGEBYSCORE.json @@ -414,7 +414,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREVRANGE.json b/data/command-api-mapping/ZREVRANGE.json index d32daafa14..15c1edd931 100644 --- a/data/command-api-mapping/ZREVRANGE.json +++ b/data/command-api-mapping/ZREVRANGE.json @@ -284,7 +284,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -318,7 +318,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREVRANGEBYLEX.json b/data/command-api-mapping/ZREVRANGEBYLEX.json index 3852e4a4b2..e8ba8e8a50 100644 --- a/data/command-api-mapping/ZREVRANGEBYLEX.json +++ b/data/command-api-mapping/ZREVRANGEBYLEX.json @@ -307,7 +307,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -351,7 +351,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREVRANGEBYSCORE.json b/data/command-api-mapping/ZREVRANGEBYSCORE.json index 0901817a83..0dc471fe04 100644 --- a/data/command-api-mapping/ZREVRANGEBYSCORE.json +++ b/data/command-api-mapping/ZREVRANGEBYSCORE.json @@ -646,7 +646,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -690,7 +690,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -724,7 +724,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -773,7 +773,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZREVRANK.json b/data/command-api-mapping/ZREVRANK.json index eaf5c08ea8..6e6f91ec76 100644 --- a/data/command-api-mapping/ZREVRANK.json +++ b/data/command-api-mapping/ZREVRANK.json @@ -202,7 +202,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZSCAN.json b/data/command-api-mapping/ZSCAN.json index 02c18e3e33..70b20814c7 100644 --- a/data/command-api-mapping/ZSCAN.json +++ b/data/command-api-mapping/ZSCAN.json @@ -498,12 +498,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -532,12 +532,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -566,12 +566,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } }, @@ -610,12 +610,12 @@ }, { "name": "callback?", - "type": "Callback<[cursor", + "type": "Callback<[cursor: string, elements: string[]]>", "description": "" } ], "returns": { - "type": "Any", + "type": "Result<[cursor: string, elements: string[]], Context>", "description": "" } } diff --git a/data/command-api-mapping/ZSCORE.json b/data/command-api-mapping/ZSCORE.json index fcfd2864f7..5ba861752e 100644 --- a/data/command-api-mapping/ZSCORE.json +++ b/data/command-api-mapping/ZSCORE.json @@ -192,7 +192,7 @@ } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZUNION.json b/data/command-api-mapping/ZUNION.json index 30ab441911..9a3293db23 100644 --- a/data/command-api-mapping/ZUNION.json +++ b/data/command-api-mapping/ZUNION.json @@ -201,30 +201,50 @@ ], "ioredis": [ { - "signature": "zunion(...args: [, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunion(...args: [, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -232,13 +252,18 @@ "signature": "zunion(...args: [numkeys: number | string, ...keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -246,27 +271,47 @@ "signature": "zunion(...args: [numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunion(...args: [, numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback, ])", + "signature": "zunion(...args: [ numkeys: number | string, ...keys: RedisKey[], withscores: \"WITHSCORES\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, numkeys", + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "withscores", + "type": "\"WITHSCORES\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } } diff --git a/data/command-api-mapping/ZUNIONSTORE.json b/data/command-api-mapping/ZUNIONSTORE.json index 2c37699d1f..bf6ee87f58 100644 --- a/data/command-api-mapping/ZUNIONSTORE.json +++ b/data/command-api-mapping/ZUNIONSTORE.json @@ -303,44 +303,84 @@ ], "ioredis": [ { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, keys: RedisKey[], callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[] ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, @@ -348,27 +388,62 @@ "signature": "zunionstore(...args: [destination: RedisKey, numkeys: number | string, keys: RedisKey[]])", "params": [ { - "name": "...args", - "type": "[destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }, { - "signature": "zunionstore(...args: [, destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback, ])", + "signature": "zunionstore(...args: [ destination: RedisKey, numkeys: number | string, ...keys: RedisKey[], aggregate: \"AGGREGATE\", sum: \"SUM\", callback: Callback ])", "params": [ { - "name": "...args", - "type": "[, destination", + "name": "destination", + "type": "RedisKey", + "description": "" + }, + { + "name": "numkeys", + "type": "number | string", + "description": "" + }, + { + "name": "...keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "aggregate", + "type": "\"AGGREGATE\"", + "description": "" + }, + { + "name": "sum", + "type": "\"SUM\"", + "description": "" + }, + { + "name": "callback", + "type": "Callback", "description": "" } ], "returns": { - "type": "Any", + "type": "Result", "description": "" } }