@upstash/redis 1.24.0-next.1 → 1.24.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmrc +1 -0
- package/README.md +10 -3
- package/cloudflare.d.mts +45 -0
- package/{types/platforms/cloudflare.d.ts → cloudflare.d.ts} +9 -7
- package/cloudflare.js +1 -0
- package/cloudflare.mjs +1 -0
- package/fastly.d.mts +43 -0
- package/{types/platforms/fastly.d.ts → fastly.d.ts} +8 -6
- package/fastly.js +1 -0
- package/fastly.mjs +1 -0
- package/{types/platforms/node_with_fetch.d.ts → nodejs.d.mts} +24 -7
- package/{types/platforms/nodejs.d.ts → nodejs.d.ts} +8 -6
- package/nodejs.js +1 -0
- package/nodejs.mjs +1 -0
- package/package.json +23 -65
- package/redis-b1b1b1df.d.ts +1959 -0
- package/.releaserc +0 -14
- package/esm/deps/deno.land/x/base64@v0.2.1/base.js +0 -100
- package/esm/deps/deno.land/x/base64@v0.2.1/base64url.js +0 -9
- package/esm/deps/deno.land/x/sha1@v1.0.3/deps.js +0 -1
- package/esm/deps/deno.land/x/sha1@v1.0.3/mod.js +0 -191
- package/esm/deps/denopkg.com/chiefbiiko/std-encoding@v1.0.0/mod.js +0 -50
- package/esm/package.json +0 -3
- package/esm/pkg/commands/append.js +0 -9
- package/esm/pkg/commands/bitcount.js +0 -16
- package/esm/pkg/commands/bitop.js +0 -9
- package/esm/pkg/commands/bitpos.js +0 -9
- package/esm/pkg/commands/command.js +0 -66
- package/esm/pkg/commands/dbsize.js +0 -9
- package/esm/pkg/commands/decr.js +0 -9
- package/esm/pkg/commands/decrby.js +0 -9
- package/esm/pkg/commands/del.js +0 -9
- package/esm/pkg/commands/echo.js +0 -9
- package/esm/pkg/commands/eval.js +0 -9
- package/esm/pkg/commands/evalsha.js +0 -9
- package/esm/pkg/commands/exists.js +0 -9
- package/esm/pkg/commands/expire.js +0 -9
- package/esm/pkg/commands/expireat.js +0 -9
- package/esm/pkg/commands/flushall.js +0 -13
- package/esm/pkg/commands/flushdb.js +0 -13
- package/esm/pkg/commands/geo_add.js +0 -27
- package/esm/pkg/commands/get.js +0 -9
- package/esm/pkg/commands/getbit.js +0 -9
- package/esm/pkg/commands/getdel.js +0 -9
- package/esm/pkg/commands/getrange.js +0 -9
- package/esm/pkg/commands/getset.js +0 -9
- package/esm/pkg/commands/hdel.js +0 -9
- package/esm/pkg/commands/hexists.js +0 -9
- package/esm/pkg/commands/hget.js +0 -9
- package/esm/pkg/commands/hgetall.js +0 -29
- package/esm/pkg/commands/hincrby.js +0 -9
- package/esm/pkg/commands/hincrbyfloat.js +0 -9
- package/esm/pkg/commands/hkeys.js +0 -9
- package/esm/pkg/commands/hlen.js +0 -9
- package/esm/pkg/commands/hmget.js +0 -35
- package/esm/pkg/commands/hmset.js +0 -13
- package/esm/pkg/commands/hrandfield.js +0 -39
- package/esm/pkg/commands/hscan.js +0 -16
- package/esm/pkg/commands/hset.js +0 -13
- package/esm/pkg/commands/hsetnx.js +0 -9
- package/esm/pkg/commands/hstrlen.js +0 -9
- package/esm/pkg/commands/hvals.js +0 -9
- package/esm/pkg/commands/incr.js +0 -9
- package/esm/pkg/commands/incrby.js +0 -9
- package/esm/pkg/commands/incrbyfloat.js +0 -9
- package/esm/pkg/commands/json_arrappend.js +0 -9
- package/esm/pkg/commands/json_arrindex.js +0 -9
- package/esm/pkg/commands/json_arrinsert.js +0 -9
- package/esm/pkg/commands/json_arrlen.js +0 -9
- package/esm/pkg/commands/json_arrpop.js +0 -9
- package/esm/pkg/commands/json_arrtrim.js +0 -12
- package/esm/pkg/commands/json_clear.js +0 -9
- package/esm/pkg/commands/json_del.js +0 -9
- package/esm/pkg/commands/json_forget.js +0 -9
- package/esm/pkg/commands/json_get.js +0 -30
- package/esm/pkg/commands/json_mget.js +0 -9
- package/esm/pkg/commands/json_numincrby.js +0 -9
- package/esm/pkg/commands/json_nummultby.js +0 -9
- package/esm/pkg/commands/json_objkeys.js +0 -9
- package/esm/pkg/commands/json_objlen.js +0 -9
- package/esm/pkg/commands/json_resp.js +0 -9
- package/esm/pkg/commands/json_set.js +0 -18
- package/esm/pkg/commands/json_strappend.js +0 -9
- package/esm/pkg/commands/json_strlen.js +0 -9
- package/esm/pkg/commands/json_toggle.js +0 -9
- package/esm/pkg/commands/json_type.js +0 -9
- package/esm/pkg/commands/keys.js +0 -9
- package/esm/pkg/commands/lindex.js +0 -6
- package/esm/pkg/commands/linsert.js +0 -6
- package/esm/pkg/commands/llen.js +0 -9
- package/esm/pkg/commands/lmove.js +0 -9
- package/esm/pkg/commands/lpop.js +0 -9
- package/esm/pkg/commands/lpos.js +0 -19
- package/esm/pkg/commands/lpush.js +0 -9
- package/esm/pkg/commands/lpushx.js +0 -9
- package/esm/pkg/commands/lrange.js +0 -6
- package/esm/pkg/commands/lrem.js +0 -6
- package/esm/pkg/commands/lset.js +0 -6
- package/esm/pkg/commands/ltrim.js +0 -6
- package/esm/pkg/commands/mget.js +0 -9
- package/esm/pkg/commands/mod.js +0 -143
- package/esm/pkg/commands/mset.js +0 -12
- package/esm/pkg/commands/msetnx.js +0 -9
- package/esm/pkg/commands/persist.js +0 -9
- package/esm/pkg/commands/pexpire.js +0 -9
- package/esm/pkg/commands/pexpireat.js +0 -9
- package/esm/pkg/commands/ping.js +0 -13
- package/esm/pkg/commands/psetex.js +0 -9
- package/esm/pkg/commands/pttl.js +0 -9
- package/esm/pkg/commands/publish.js +0 -9
- package/esm/pkg/commands/randomkey.js +0 -9
- package/esm/pkg/commands/rename.js +0 -9
- package/esm/pkg/commands/renamenx.js +0 -9
- package/esm/pkg/commands/rpop.js +0 -9
- package/esm/pkg/commands/rpush.js +0 -9
- package/esm/pkg/commands/rpushx.js +0 -9
- package/esm/pkg/commands/sadd.js +0 -9
- package/esm/pkg/commands/scan.js +0 -19
- package/esm/pkg/commands/scard.js +0 -9
- package/esm/pkg/commands/script_exists.js +0 -12
- package/esm/pkg/commands/script_flush.js +0 -16
- package/esm/pkg/commands/script_load.js +0 -9
- package/esm/pkg/commands/sdiff.js +0 -9
- package/esm/pkg/commands/sdiffstore.js +0 -9
- package/esm/pkg/commands/set.js +0 -36
- package/esm/pkg/commands/setbit.js +0 -9
- package/esm/pkg/commands/setex.js +0 -9
- package/esm/pkg/commands/setnx.js +0 -9
- package/esm/pkg/commands/setrange.js +0 -9
- package/esm/pkg/commands/sinter.js +0 -9
- package/esm/pkg/commands/sinterstore.js +0 -9
- package/esm/pkg/commands/sismember.js +0 -9
- package/esm/pkg/commands/smembers.js +0 -9
- package/esm/pkg/commands/smismember.js +0 -9
- package/esm/pkg/commands/smove.js +0 -9
- package/esm/pkg/commands/spop.js +0 -13
- package/esm/pkg/commands/srandmember.js +0 -13
- package/esm/pkg/commands/srem.js +0 -9
- package/esm/pkg/commands/sscan.js +0 -16
- package/esm/pkg/commands/strlen.js +0 -9
- package/esm/pkg/commands/sunion.js +0 -9
- package/esm/pkg/commands/sunionstore.js +0 -9
- package/esm/pkg/commands/time.js +0 -9
- package/esm/pkg/commands/touch.js +0 -9
- package/esm/pkg/commands/ttl.js +0 -9
- package/esm/pkg/commands/type.js +0 -9
- package/esm/pkg/commands/unlink.js +0 -9
- package/esm/pkg/commands/xadd.js +0 -26
- package/esm/pkg/commands/xrange.js +0 -36
- package/esm/pkg/commands/zadd.js +0 -26
- package/esm/pkg/commands/zcard.js +0 -9
- package/esm/pkg/commands/zcount.js +0 -9
- package/esm/pkg/commands/zdiffstore.js +0 -9
- package/esm/pkg/commands/zincrby.js +0 -9
- package/esm/pkg/commands/zinterstore.js +0 -27
- package/esm/pkg/commands/zlexcount.js +0 -9
- package/esm/pkg/commands/zmscore.js +0 -10
- package/esm/pkg/commands/zpopmax.js +0 -13
- package/esm/pkg/commands/zpopmin.js +0 -13
- package/esm/pkg/commands/zrange.js +0 -26
- package/esm/pkg/commands/zrank.js +0 -9
- package/esm/pkg/commands/zrem.js +0 -9
- package/esm/pkg/commands/zremrangebylex.js +0 -9
- package/esm/pkg/commands/zremrangebyrank.js +0 -9
- package/esm/pkg/commands/zremrangebyscore.js +0 -9
- package/esm/pkg/commands/zrevrank.js +0 -9
- package/esm/pkg/commands/zscan.js +0 -16
- package/esm/pkg/commands/zscore.js +0 -9
- package/esm/pkg/commands/zunionstore.js +0 -27
- package/esm/pkg/error.js +0 -9
- package/esm/pkg/http.js +0 -174
- package/esm/pkg/pipeline.js +0 -1298
- package/esm/pkg/redis.js +0 -1309
- package/esm/pkg/script.js +0 -77
- package/esm/pkg/types.js +0 -1
- package/esm/pkg/util.js +0 -31
- package/esm/platforms/cloudflare.js +0 -70
- package/esm/platforms/fastly.js +0 -46
- package/esm/platforms/node_with_fetch.js +0 -85
- package/esm/platforms/nodejs.js +0 -82
- package/esm/version.js +0 -1
- package/script/deps/deno.land/x/base64@v0.2.1/base.js +0 -104
- package/script/deps/deno.land/x/base64@v0.2.1/base64url.js +0 -13
- package/script/deps/deno.land/x/sha1@v1.0.3/deps.js +0 -6
- package/script/deps/deno.land/x/sha1@v1.0.3/mod.js +0 -196
- package/script/deps/denopkg.com/chiefbiiko/std-encoding@v1.0.0/mod.js +0 -55
- package/script/package.json +0 -3
- package/script/pkg/commands/append.js +0 -13
- package/script/pkg/commands/bitcount.js +0 -20
- package/script/pkg/commands/bitop.js +0 -13
- package/script/pkg/commands/bitpos.js +0 -13
- package/script/pkg/commands/command.js +0 -70
- package/script/pkg/commands/dbsize.js +0 -13
- package/script/pkg/commands/decr.js +0 -13
- package/script/pkg/commands/decrby.js +0 -13
- package/script/pkg/commands/del.js +0 -13
- package/script/pkg/commands/echo.js +0 -13
- package/script/pkg/commands/eval.js +0 -13
- package/script/pkg/commands/evalsha.js +0 -13
- package/script/pkg/commands/exists.js +0 -13
- package/script/pkg/commands/expire.js +0 -13
- package/script/pkg/commands/expireat.js +0 -13
- package/script/pkg/commands/flushall.js +0 -17
- package/script/pkg/commands/flushdb.js +0 -17
- package/script/pkg/commands/geo_add.js +0 -31
- package/script/pkg/commands/get.js +0 -13
- package/script/pkg/commands/getbit.js +0 -13
- package/script/pkg/commands/getdel.js +0 -13
- package/script/pkg/commands/getrange.js +0 -13
- package/script/pkg/commands/getset.js +0 -13
- package/script/pkg/commands/hdel.js +0 -13
- package/script/pkg/commands/hexists.js +0 -13
- package/script/pkg/commands/hget.js +0 -13
- package/script/pkg/commands/hgetall.js +0 -33
- package/script/pkg/commands/hincrby.js +0 -13
- package/script/pkg/commands/hincrbyfloat.js +0 -13
- package/script/pkg/commands/hkeys.js +0 -13
- package/script/pkg/commands/hlen.js +0 -13
- package/script/pkg/commands/hmget.js +0 -39
- package/script/pkg/commands/hmset.js +0 -17
- package/script/pkg/commands/hrandfield.js +0 -43
- package/script/pkg/commands/hscan.js +0 -20
- package/script/pkg/commands/hset.js +0 -17
- package/script/pkg/commands/hsetnx.js +0 -13
- package/script/pkg/commands/hstrlen.js +0 -13
- package/script/pkg/commands/hvals.js +0 -13
- package/script/pkg/commands/incr.js +0 -13
- package/script/pkg/commands/incrby.js +0 -13
- package/script/pkg/commands/incrbyfloat.js +0 -13
- package/script/pkg/commands/json_arrappend.js +0 -13
- package/script/pkg/commands/json_arrindex.js +0 -13
- package/script/pkg/commands/json_arrinsert.js +0 -13
- package/script/pkg/commands/json_arrlen.js +0 -13
- package/script/pkg/commands/json_arrpop.js +0 -13
- package/script/pkg/commands/json_arrtrim.js +0 -16
- package/script/pkg/commands/json_clear.js +0 -13
- package/script/pkg/commands/json_del.js +0 -13
- package/script/pkg/commands/json_forget.js +0 -13
- package/script/pkg/commands/json_get.js +0 -34
- package/script/pkg/commands/json_mget.js +0 -13
- package/script/pkg/commands/json_numincrby.js +0 -13
- package/script/pkg/commands/json_nummultby.js +0 -13
- package/script/pkg/commands/json_objkeys.js +0 -13
- package/script/pkg/commands/json_objlen.js +0 -13
- package/script/pkg/commands/json_resp.js +0 -13
- package/script/pkg/commands/json_set.js +0 -22
- package/script/pkg/commands/json_strappend.js +0 -13
- package/script/pkg/commands/json_strlen.js +0 -13
- package/script/pkg/commands/json_toggle.js +0 -13
- package/script/pkg/commands/json_type.js +0 -13
- package/script/pkg/commands/keys.js +0 -13
- package/script/pkg/commands/lindex.js +0 -10
- package/script/pkg/commands/linsert.js +0 -10
- package/script/pkg/commands/llen.js +0 -13
- package/script/pkg/commands/lmove.js +0 -13
- package/script/pkg/commands/lpop.js +0 -13
- package/script/pkg/commands/lpos.js +0 -23
- package/script/pkg/commands/lpush.js +0 -13
- package/script/pkg/commands/lpushx.js +0 -13
- package/script/pkg/commands/lrange.js +0 -10
- package/script/pkg/commands/lrem.js +0 -10
- package/script/pkg/commands/lset.js +0 -10
- package/script/pkg/commands/ltrim.js +0 -10
- package/script/pkg/commands/mget.js +0 -13
- package/script/pkg/commands/mod.js +0 -159
- package/script/pkg/commands/mset.js +0 -16
- package/script/pkg/commands/msetnx.js +0 -13
- package/script/pkg/commands/persist.js +0 -13
- package/script/pkg/commands/pexpire.js +0 -13
- package/script/pkg/commands/pexpireat.js +0 -13
- package/script/pkg/commands/ping.js +0 -17
- package/script/pkg/commands/psetex.js +0 -13
- package/script/pkg/commands/pttl.js +0 -13
- package/script/pkg/commands/publish.js +0 -13
- package/script/pkg/commands/randomkey.js +0 -13
- package/script/pkg/commands/rename.js +0 -13
- package/script/pkg/commands/renamenx.js +0 -13
- package/script/pkg/commands/rpop.js +0 -13
- package/script/pkg/commands/rpush.js +0 -13
- package/script/pkg/commands/rpushx.js +0 -13
- package/script/pkg/commands/sadd.js +0 -13
- package/script/pkg/commands/scan.js +0 -23
- package/script/pkg/commands/scard.js +0 -13
- package/script/pkg/commands/script_exists.js +0 -16
- package/script/pkg/commands/script_flush.js +0 -20
- package/script/pkg/commands/script_load.js +0 -13
- package/script/pkg/commands/sdiff.js +0 -13
- package/script/pkg/commands/sdiffstore.js +0 -13
- package/script/pkg/commands/set.js +0 -40
- package/script/pkg/commands/setbit.js +0 -13
- package/script/pkg/commands/setex.js +0 -13
- package/script/pkg/commands/setnx.js +0 -13
- package/script/pkg/commands/setrange.js +0 -13
- package/script/pkg/commands/sinter.js +0 -13
- package/script/pkg/commands/sinterstore.js +0 -13
- package/script/pkg/commands/sismember.js +0 -13
- package/script/pkg/commands/smembers.js +0 -13
- package/script/pkg/commands/smismember.js +0 -13
- package/script/pkg/commands/smove.js +0 -13
- package/script/pkg/commands/spop.js +0 -17
- package/script/pkg/commands/srandmember.js +0 -17
- package/script/pkg/commands/srem.js +0 -13
- package/script/pkg/commands/sscan.js +0 -20
- package/script/pkg/commands/strlen.js +0 -13
- package/script/pkg/commands/sunion.js +0 -13
- package/script/pkg/commands/sunionstore.js +0 -13
- package/script/pkg/commands/time.js +0 -13
- package/script/pkg/commands/touch.js +0 -13
- package/script/pkg/commands/ttl.js +0 -13
- package/script/pkg/commands/type.js +0 -13
- package/script/pkg/commands/unlink.js +0 -13
- package/script/pkg/commands/xadd.js +0 -30
- package/script/pkg/commands/xrange.js +0 -40
- package/script/pkg/commands/zadd.js +0 -30
- package/script/pkg/commands/zcard.js +0 -13
- package/script/pkg/commands/zcount.js +0 -13
- package/script/pkg/commands/zdiffstore.js +0 -13
- package/script/pkg/commands/zincrby.js +0 -13
- package/script/pkg/commands/zinterstore.js +0 -31
- package/script/pkg/commands/zlexcount.js +0 -13
- package/script/pkg/commands/zmscore.js +0 -14
- package/script/pkg/commands/zpopmax.js +0 -17
- package/script/pkg/commands/zpopmin.js +0 -17
- package/script/pkg/commands/zrange.js +0 -30
- package/script/pkg/commands/zrank.js +0 -13
- package/script/pkg/commands/zrem.js +0 -13
- package/script/pkg/commands/zremrangebylex.js +0 -13
- package/script/pkg/commands/zremrangebyrank.js +0 -13
- package/script/pkg/commands/zremrangebyscore.js +0 -13
- package/script/pkg/commands/zrevrank.js +0 -13
- package/script/pkg/commands/zscan.js +0 -20
- package/script/pkg/commands/zscore.js +0 -13
- package/script/pkg/commands/zunionstore.js +0 -31
- package/script/pkg/error.js +0 -13
- package/script/pkg/http.js +0 -178
- package/script/pkg/pipeline.js +0 -1302
- package/script/pkg/redis.js +0 -1313
- package/script/pkg/script.js +0 -81
- package/script/pkg/types.js +0 -2
- package/script/pkg/util.js +0 -35
- package/script/platforms/cloudflare.js +0 -97
- package/script/platforms/fastly.js +0 -73
- package/script/platforms/node_with_fetch.js +0 -112
- package/script/platforms/nodejs.js +0 -109
- package/script/version.js +0 -4
- package/types/deps/deno.land/x/base64@v0.2.1/base.d.ts +0 -5
- package/types/deps/deno.land/x/base64@v0.2.1/base64url.d.ts +0 -1
- package/types/deps/deno.land/x/sha1@v1.0.3/deps.d.ts +0 -1
- package/types/deps/deno.land/x/sha1@v1.0.3/mod.d.ts +0 -26
- package/types/deps/denopkg.com/chiefbiiko/std-encoding@v1.0.0/mod.d.ts +0 -3
- package/types/pkg/commands/append.d.ts +0 -7
- package/types/pkg/commands/bitcount.d.ts +0 -8
- package/types/pkg/commands/bitop.d.ts +0 -12
- package/types/pkg/commands/bitpos.d.ts +0 -7
- package/types/pkg/commands/command.d.ts +0 -37
- package/types/pkg/commands/dbsize.d.ts +0 -7
- package/types/pkg/commands/decr.d.ts +0 -7
- package/types/pkg/commands/decrby.d.ts +0 -7
- package/types/pkg/commands/del.d.ts +0 -7
- package/types/pkg/commands/echo.d.ts +0 -7
- package/types/pkg/commands/eval.d.ts +0 -7
- package/types/pkg/commands/evalsha.d.ts +0 -7
- package/types/pkg/commands/exists.d.ts +0 -7
- package/types/pkg/commands/expire.d.ts +0 -7
- package/types/pkg/commands/expireat.d.ts +0 -7
- package/types/pkg/commands/flushall.d.ts +0 -9
- package/types/pkg/commands/flushdb.d.ts +0 -9
- package/types/pkg/commands/geo_add.d.ts +0 -25
- package/types/pkg/commands/get.d.ts +0 -7
- package/types/pkg/commands/getbit.d.ts +0 -7
- package/types/pkg/commands/getdel.d.ts +0 -7
- package/types/pkg/commands/getrange.d.ts +0 -7
- package/types/pkg/commands/getset.d.ts +0 -7
- package/types/pkg/commands/hdel.d.ts +0 -7
- package/types/pkg/commands/hexists.d.ts +0 -7
- package/types/pkg/commands/hget.d.ts +0 -7
- package/types/pkg/commands/hgetall.d.ts +0 -7
- package/types/pkg/commands/hincrby.d.ts +0 -7
- package/types/pkg/commands/hincrbyfloat.d.ts +0 -7
- package/types/pkg/commands/hkeys.d.ts +0 -7
- package/types/pkg/commands/hlen.d.ts +0 -7
- package/types/pkg/commands/hmget.d.ts +0 -15
- package/types/pkg/commands/hmset.d.ts +0 -9
- package/types/pkg/commands/hrandfield.d.ts +0 -9
- package/types/pkg/commands/hscan.d.ts +0 -24
- package/types/pkg/commands/hset.d.ts +0 -9
- package/types/pkg/commands/hsetnx.d.ts +0 -7
- package/types/pkg/commands/hstrlen.d.ts +0 -7
- package/types/pkg/commands/hvals.d.ts +0 -7
- package/types/pkg/commands/incr.d.ts +0 -7
- package/types/pkg/commands/incrby.d.ts +0 -7
- package/types/pkg/commands/incrbyfloat.d.ts +0 -7
- package/types/pkg/commands/json_arrappend.d.ts +0 -7
- package/types/pkg/commands/json_arrindex.d.ts +0 -13
- package/types/pkg/commands/json_arrinsert.d.ts +0 -7
- package/types/pkg/commands/json_arrlen.d.ts +0 -7
- package/types/pkg/commands/json_arrpop.d.ts +0 -7
- package/types/pkg/commands/json_arrtrim.d.ts +0 -7
- package/types/pkg/commands/json_clear.d.ts +0 -7
- package/types/pkg/commands/json_del.d.ts +0 -7
- package/types/pkg/commands/json_forget.d.ts +0 -7
- package/types/pkg/commands/json_get.d.ts +0 -15
- package/types/pkg/commands/json_mget.d.ts +0 -7
- package/types/pkg/commands/json_numincrby.d.ts +0 -7
- package/types/pkg/commands/json_nummultby.d.ts +0 -7
- package/types/pkg/commands/json_objkeys.d.ts +0 -7
- package/types/pkg/commands/json_objlen.d.ts +0 -7
- package/types/pkg/commands/json_resp.d.ts +0 -7
- package/types/pkg/commands/json_set.d.ts +0 -18
- package/types/pkg/commands/json_strappend.d.ts +0 -7
- package/types/pkg/commands/json_strlen.d.ts +0 -7
- package/types/pkg/commands/json_toggle.d.ts +0 -7
- package/types/pkg/commands/json_type.d.ts +0 -7
- package/types/pkg/commands/keys.d.ts +0 -7
- package/types/pkg/commands/lindex.d.ts +0 -4
- package/types/pkg/commands/linsert.d.ts +0 -9
- package/types/pkg/commands/llen.d.ts +0 -7
- package/types/pkg/commands/lmove.d.ts +0 -12
- package/types/pkg/commands/lpop.d.ts +0 -7
- package/types/pkg/commands/lpos.d.ts +0 -15
- package/types/pkg/commands/lpush.d.ts +0 -7
- package/types/pkg/commands/lpushx.d.ts +0 -7
- package/types/pkg/commands/lrange.d.ts +0 -4
- package/types/pkg/commands/lrem.d.ts +0 -4
- package/types/pkg/commands/lset.d.ts +0 -4
- package/types/pkg/commands/ltrim.d.ts +0 -4
- package/types/pkg/commands/mget.d.ts +0 -7
- package/types/pkg/commands/mod.d.ts +0 -143
- package/types/pkg/commands/mset.d.ts +0 -9
- package/types/pkg/commands/msetnx.d.ts +0 -9
- package/types/pkg/commands/persist.d.ts +0 -7
- package/types/pkg/commands/pexpire.d.ts +0 -7
- package/types/pkg/commands/pexpireat.d.ts +0 -7
- package/types/pkg/commands/ping.d.ts +0 -7
- package/types/pkg/commands/psetex.d.ts +0 -7
- package/types/pkg/commands/pttl.d.ts +0 -7
- package/types/pkg/commands/publish.d.ts +0 -7
- package/types/pkg/commands/randomkey.d.ts +0 -7
- package/types/pkg/commands/rename.d.ts +0 -7
- package/types/pkg/commands/renamenx.d.ts +0 -7
- package/types/pkg/commands/rpop.d.ts +0 -7
- package/types/pkg/commands/rpush.d.ts +0 -7
- package/types/pkg/commands/rpushx.d.ts +0 -7
- package/types/pkg/commands/sadd.d.ts +0 -7
- package/types/pkg/commands/scan.d.ts +0 -18
- package/types/pkg/commands/scard.d.ts +0 -7
- package/types/pkg/commands/script_exists.d.ts +0 -7
- package/types/pkg/commands/script_flush.d.ts +0 -14
- package/types/pkg/commands/script_load.d.ts +0 -7
- package/types/pkg/commands/sdiff.d.ts +0 -7
- package/types/pkg/commands/sdiffstore.d.ts +0 -7
- package/types/pkg/commands/set.d.ts +0 -55
- package/types/pkg/commands/setbit.d.ts +0 -7
- package/types/pkg/commands/setex.d.ts +0 -7
- package/types/pkg/commands/setnx.d.ts +0 -7
- package/types/pkg/commands/setrange.d.ts +0 -7
- package/types/pkg/commands/sinter.d.ts +0 -7
- package/types/pkg/commands/sinterstore.d.ts +0 -7
- package/types/pkg/commands/sismember.d.ts +0 -7
- package/types/pkg/commands/smembers.d.ts +0 -7
- package/types/pkg/commands/smismember.d.ts +0 -7
- package/types/pkg/commands/smove.d.ts +0 -7
- package/types/pkg/commands/spop.d.ts +0 -7
- package/types/pkg/commands/srandmember.d.ts +0 -7
- package/types/pkg/commands/srem.d.ts +0 -7
- package/types/pkg/commands/sscan.d.ts +0 -24
- package/types/pkg/commands/strlen.d.ts +0 -7
- package/types/pkg/commands/sunion.d.ts +0 -7
- package/types/pkg/commands/sunionstore.d.ts +0 -7
- package/types/pkg/commands/time.d.ts +0 -7
- package/types/pkg/commands/touch.d.ts +0 -7
- package/types/pkg/commands/ttl.d.ts +0 -7
- package/types/pkg/commands/type.d.ts +0 -8
- package/types/pkg/commands/unlink.d.ts +0 -7
- package/types/pkg/commands/xadd.d.ts +0 -31
- package/types/pkg/commands/xrange.d.ts +0 -9
- package/types/pkg/commands/zadd.d.ts +0 -35
- package/types/pkg/commands/zcard.d.ts +0 -7
- package/types/pkg/commands/zcount.d.ts +0 -7
- package/types/pkg/commands/zdiffstore.d.ts +0 -7
- package/types/pkg/commands/zincrby.d.ts +0 -7
- package/types/pkg/commands/zinterstore.d.ts +0 -30
- package/types/pkg/commands/zlexcount.d.ts +0 -7
- package/types/pkg/commands/zmscore.d.ts +0 -7
- package/types/pkg/commands/zpopmax.d.ts +0 -7
- package/types/pkg/commands/zpopmin.d.ts +0 -7
- package/types/pkg/commands/zrange.d.ts +0 -42
- package/types/pkg/commands/zrank.d.ts +0 -7
- package/types/pkg/commands/zrem.d.ts +0 -7
- package/types/pkg/commands/zremrangebylex.d.ts +0 -7
- package/types/pkg/commands/zremrangebyrank.d.ts +0 -7
- package/types/pkg/commands/zremrangebyscore.d.ts +0 -7
- package/types/pkg/commands/zrevrank.d.ts +0 -7
- package/types/pkg/commands/zscan.d.ts +0 -24
- package/types/pkg/commands/zscore.d.ts +0 -7
- package/types/pkg/commands/zunionstore.d.ts +0 -30
- package/types/pkg/error.d.ts +0 -6
- package/types/pkg/http.d.ts +0 -95
- package/types/pkg/pipeline.d.ts +0 -682
- package/types/pkg/redis.d.ts +0 -688
- package/types/pkg/script.d.ts +0 -42
- package/types/pkg/types.d.ts +0 -27
- package/types/pkg/util.d.ts +0 -1
- package/types/version.d.ts +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/eval
|
|
4
|
-
*/
|
|
5
|
-
export declare class EvalCommand<TArgs extends unknown[], TData> extends Command<unknown, TData> {
|
|
6
|
-
constructor([script, keys, args]: [script: string, keys: string[], args: TArgs], opts?: CommandOptions<unknown, TData>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/evalsha
|
|
4
|
-
*/
|
|
5
|
-
export declare class EvalshaCommand<TArgs extends unknown[], TData> extends Command<unknown, TData> {
|
|
6
|
-
constructor([sha, keys, args]: [sha: string, keys: string[], args?: TArgs], opts?: CommandOptions<unknown, TData>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/expire
|
|
4
|
-
*/
|
|
5
|
-
export declare class ExpireCommand extends Command<"0" | "1", 0 | 1> {
|
|
6
|
-
constructor(cmd: [key: string, seconds: number], opts?: CommandOptions<"0" | "1", 0 | 1>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/expireat
|
|
4
|
-
*/
|
|
5
|
-
export declare class ExpireAtCommand extends Command<"0" | "1", 0 | 1> {
|
|
6
|
-
constructor(cmd: [key: string, unix: number], opts?: CommandOptions<"0" | "1", 0 | 1>);
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/flushall
|
|
4
|
-
*/
|
|
5
|
-
export declare class FlushAllCommand extends Command<"OK", "OK"> {
|
|
6
|
-
constructor(args?: [{
|
|
7
|
-
async?: boolean;
|
|
8
|
-
}], opts?: CommandOptions<"OK", "OK">);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/flushdb
|
|
4
|
-
*/
|
|
5
|
-
export declare class FlushDBCommand extends Command<"OK", "OK"> {
|
|
6
|
-
constructor([opts]: [opts?: {
|
|
7
|
-
async?: boolean;
|
|
8
|
-
}], cmdOpts?: CommandOptions<"OK", "OK">);
|
|
9
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
export type GeoAddCommandOptions = {
|
|
3
|
-
nx?: boolean;
|
|
4
|
-
xx?: never;
|
|
5
|
-
} | ({
|
|
6
|
-
nx?: never;
|
|
7
|
-
xx?: boolean;
|
|
8
|
-
} & {
|
|
9
|
-
ch?: boolean;
|
|
10
|
-
});
|
|
11
|
-
export interface GeoMember<TMemberType> {
|
|
12
|
-
latitude: number;
|
|
13
|
-
longitude: number;
|
|
14
|
-
member: TMemberType;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @see https://redis.io/commands/geoadd
|
|
18
|
-
*/
|
|
19
|
-
export declare class GeoAddCommand<TMemberType = string> extends Command<number | null, number | null> {
|
|
20
|
-
constructor([key, arg1, ...arg2]: [
|
|
21
|
-
string,
|
|
22
|
-
GeoMember<TMemberType> | GeoAddCommandOptions,
|
|
23
|
-
...GeoMember<TMemberType>[]
|
|
24
|
-
], opts?: CommandOptions<number | null, number | null>);
|
|
25
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/get
|
|
4
|
-
*/
|
|
5
|
-
export declare class GetCommand<TData = string> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/getbit
|
|
4
|
-
*/
|
|
5
|
-
export declare class GetBitCommand extends Command<"0" | "1", 0 | 1> {
|
|
6
|
-
constructor(cmd: [key: string, offset: number], opts?: CommandOptions<"0" | "1", 0 | 1>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/getdel
|
|
4
|
-
*/
|
|
5
|
-
export declare class GetDelCommand<TData = string> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/getrange
|
|
4
|
-
*/
|
|
5
|
-
export declare class GetRangeCommand extends Command<string, string> {
|
|
6
|
-
constructor(cmd: [key: string, start: number, end: number], opts?: CommandOptions<string, string>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/getset
|
|
4
|
-
*/
|
|
5
|
-
export declare class GetSetCommand<TData = string> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string, value: TData], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hdel
|
|
4
|
-
*/
|
|
5
|
-
export declare class HDelCommand extends Command<"0" | "1", 0 | 1> {
|
|
6
|
-
constructor(cmd: [key: string, ...fields: string[]], opts?: CommandOptions<"0" | "1", 0 | 1>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hexists
|
|
4
|
-
*/
|
|
5
|
-
export declare class HExistsCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, field: string], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hget
|
|
4
|
-
*/
|
|
5
|
-
export declare class HGetCommand<TData> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string, field: string], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hgetall
|
|
4
|
-
*/
|
|
5
|
-
export declare class HGetAllCommand<TData extends Record<string, unknown>> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hincrby
|
|
4
|
-
*/
|
|
5
|
-
export declare class HIncrByCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, field: string, increment: number], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hincrbyfloat
|
|
4
|
-
*/
|
|
5
|
-
export declare class HIncrByFloatCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, field: string, increment: number], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* hmget returns an object of all requested fields from a hash
|
|
4
|
-
* The field values are returned as an object like this:
|
|
5
|
-
* ```ts
|
|
6
|
-
* {[fieldName: string]: T | null}
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* In case the hash does not exist or all fields are empty `null` is returned
|
|
10
|
-
*
|
|
11
|
-
* @see https://redis.io/commands/hmget
|
|
12
|
-
*/
|
|
13
|
-
export declare class HMGetCommand<TData extends Record<string, unknown>> extends Command<(string | null)[], TData | null> {
|
|
14
|
-
constructor([key, ...fields]: [key: string, ...fields: string[]], opts?: CommandOptions<(string | null)[], TData | null>);
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hmset
|
|
4
|
-
*/
|
|
5
|
-
export declare class HMSetCommand<TData> extends Command<"OK", "OK"> {
|
|
6
|
-
constructor([key, kv]: [key: string, kv: {
|
|
7
|
-
[field: string]: TData;
|
|
8
|
-
}], opts?: CommandOptions<"OK", "OK">);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hrandfield
|
|
4
|
-
*/
|
|
5
|
-
export declare class HRandFieldCommand<TData extends string | string[] | Record<string, unknown>> extends Command<string | string[], TData> {
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<string, string>);
|
|
7
|
-
constructor(cmd: [key: string, count: number], opts?: CommandOptions<string[], string[]>);
|
|
8
|
-
constructor(cmd: [key: string, count: number, withValues: boolean], opts?: CommandOptions<string[], Partial<TData>>);
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ScanCommandOptions } from "./scan.js";
|
|
2
|
-
import { Command, CommandOptions } from "./command.js";
|
|
3
|
-
/**
|
|
4
|
-
* @see https://redis.io/commands/hscan
|
|
5
|
-
*/
|
|
6
|
-
export declare class HScanCommand extends Command<[
|
|
7
|
-
number,
|
|
8
|
-
(string | number)[]
|
|
9
|
-
], [
|
|
10
|
-
number,
|
|
11
|
-
(string | number)[]
|
|
12
|
-
]> {
|
|
13
|
-
constructor([key, cursor, cmdOpts]: [
|
|
14
|
-
key: string,
|
|
15
|
-
cursor: number,
|
|
16
|
-
cmdOpts?: ScanCommandOptions
|
|
17
|
-
], opts?: CommandOptions<[
|
|
18
|
-
number,
|
|
19
|
-
(string | number)[]
|
|
20
|
-
], [
|
|
21
|
-
number,
|
|
22
|
-
(string | number)[]
|
|
23
|
-
]>);
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hset
|
|
4
|
-
*/
|
|
5
|
-
export declare class HSetCommand<TData> extends Command<number, number> {
|
|
6
|
-
constructor([key, kv]: [key: string, kv: {
|
|
7
|
-
[field: string]: TData;
|
|
8
|
-
}], opts?: CommandOptions<number, number>);
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hsetnx
|
|
4
|
-
*/
|
|
5
|
-
export declare class HSetNXCommand<TData> extends Command<"0" | "1", 0 | 1> {
|
|
6
|
-
constructor(cmd: [key: string, field: string, value: TData], opts?: CommandOptions<"0" | "1", 0 | 1>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hstrlen
|
|
4
|
-
*/
|
|
5
|
-
export declare class HStrLenCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, field: string], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/hvals
|
|
4
|
-
*/
|
|
5
|
-
export declare class HValsCommand<TData extends unknown[]> extends Command<unknown[], TData> {
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<unknown[], TData>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/incrby
|
|
4
|
-
*/
|
|
5
|
-
export declare class IncrByCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, value: number], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/incrbyfloat
|
|
4
|
-
*/
|
|
5
|
-
export declare class IncrByFloatCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, value: number], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrappend
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrAppendCommand<TData extends unknown[]> extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string, ...values: TData], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrindex
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrIndexCommand<TValue extends unknown> extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [
|
|
7
|
-
key: string,
|
|
8
|
-
path: string,
|
|
9
|
-
value: TValue,
|
|
10
|
-
start?: number,
|
|
11
|
-
stop?: number
|
|
12
|
-
], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrinsert
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrInsertCommand<TData extends unknown[]> extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string, index: number, ...values: TData], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrlen
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrLenCommand<TValue extends unknown> extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrpop
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrPopCommand<TData extends unknown> extends Command<(null | string)[], (TData | null)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string, index?: number], opts?: CommandOptions<(null | string)[], (TData | null)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.arrtrim
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonArrTrimCommand extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string, start?: number, stop?: number], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.clear
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonClearCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.del
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonDelCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.forget
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonForgetCommand extends Command<number, number> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<number, number>);
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.get
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonGetCommand<TData extends (unknown | Record<string, unknown>) | (unknown | Record<string, unknown>)[]> extends Command<TData | null, TData | null> {
|
|
6
|
-
constructor(cmd: [
|
|
7
|
-
key: string,
|
|
8
|
-
opts?: {
|
|
9
|
-
indent?: string;
|
|
10
|
-
newline?: string;
|
|
11
|
-
space?: string;
|
|
12
|
-
},
|
|
13
|
-
...path: string[]
|
|
14
|
-
] | [key: string, ...path: string[]], opts?: CommandOptions<TData | null, TData | null>);
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.mget
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonMGetCommand<TData extends (unknown | Record<string, unknown>)[]> extends Command<TData, TData> {
|
|
6
|
-
constructor(cmd: [keys: string[], path: string], opts?: CommandOptions<TData, TData>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.numincrby
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonNumIncrByCommand extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string, value: number], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.nummultby
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonNumMultByCommand extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string, value: number], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.objkeys
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonObjKeysCommand extends Command<(string[] | null)[], (string[] | null)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<(string[] | null)[], (string[] | null)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.objlen
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonObjLenCommand extends Command<(number | null)[], (number | null)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<(number | null)[], (number | null)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.resp
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonRespCommand<TData extends unknown[]> extends Command<TData, TData> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<TData, TData>);
|
|
7
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.set
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonSetCommand<TData extends number | string | boolean | Record<string, unknown> | (number | string | boolean | Record<string, unknown>)[]> extends Command<"OK" | null, "OK" | null> {
|
|
6
|
-
constructor(cmd: [
|
|
7
|
-
key: string,
|
|
8
|
-
path: string,
|
|
9
|
-
value: TData,
|
|
10
|
-
opts?: {
|
|
11
|
-
nx: true;
|
|
12
|
-
xx?: never;
|
|
13
|
-
} | {
|
|
14
|
-
nx?: never;
|
|
15
|
-
xx: true;
|
|
16
|
-
}
|
|
17
|
-
], opts?: CommandOptions<"OK" | null, "OK" | null>);
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.strappend
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonStrAppendCommand<TData extends unknown[]> extends Command<(null | string)[], (null | number)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string, value: string], opts?: CommandOptions<(null | string)[], (null | number)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.strlen
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonStrLenCommand extends Command<(number | null)[], (number | null)[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<(number | null)[], (number | null)[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.toggle
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonToggleCommand extends Command<number[], number[]> {
|
|
6
|
-
constructor(cmd: [key: string, path: string], opts?: CommandOptions<number[], number[]>);
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/json.type
|
|
4
|
-
*/
|
|
5
|
-
export declare class JsonTypeCommand extends Command<string[], string[]> {
|
|
6
|
-
constructor(cmd: [key: string, path?: string], opts?: CommandOptions<string[], string[]>);
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
export declare class LInsertCommand<TData = string> extends Command<number, number> {
|
|
3
|
-
constructor(cmd: [
|
|
4
|
-
key: string,
|
|
5
|
-
direction: "before" | "after",
|
|
6
|
-
pivot: TData,
|
|
7
|
-
value: TData
|
|
8
|
-
], opts?: CommandOptions<number, number>);
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/lmove
|
|
4
|
-
*/
|
|
5
|
-
export declare class LMoveCommand<TData = string> extends Command<TData, TData> {
|
|
6
|
-
constructor(cmd: [
|
|
7
|
-
source: string,
|
|
8
|
-
destination: string,
|
|
9
|
-
whereFrom: "left" | "right",
|
|
10
|
-
whereTo: "left" | "right"
|
|
11
|
-
], opts?: CommandOptions<TData, TData>);
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from "./command.js";
|
|
2
|
-
/**
|
|
3
|
-
* @see https://redis.io/commands/lpop
|
|
4
|
-
*/
|
|
5
|
-
export declare class LPopCommand<TData = string> extends Command<unknown | null, TData | null> {
|
|
6
|
-
constructor(cmd: [key: string, count?: number], opts?: CommandOptions<unknown | null, TData | null>);
|
|
7
|
-
}
|