@upstash/ratelimit 0.1.0-alpha.0 → 0.1.0

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.
Files changed (373) hide show
  1. package/README.md +4 -1
  2. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.js +46 -0
  3. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.js +9 -0
  4. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.js +16 -0
  5. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.js +9 -0
  6. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.js +9 -0
  7. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.js +57 -0
  8. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.js +9 -0
  9. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.js +9 -0
  10. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.js +9 -0
  11. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.js +9 -0
  12. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.js +9 -0
  13. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.js +9 -0
  14. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.js +9 -0
  15. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.js +9 -0
  16. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.js +9 -0
  17. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.js +9 -0
  18. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.js +13 -0
  19. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.js +13 -0
  20. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.js +9 -0
  21. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.js +9 -0
  22. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.js +9 -0
  23. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.js +9 -0
  24. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.js +9 -0
  25. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.js +9 -0
  26. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.js +9 -0
  27. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.js +33 -0
  28. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.js +9 -0
  29. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.js +9 -0
  30. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.js +9 -0
  31. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.js +9 -0
  32. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.js +35 -0
  33. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.js +13 -0
  34. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.js +16 -0
  35. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.js +13 -0
  36. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.js +9 -0
  37. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.js +9 -0
  38. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.js +9 -0
  39. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.js +9 -0
  40. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.js +9 -0
  41. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.js +9 -0
  42. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.js +9 -0
  43. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.js +6 -0
  44. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.js +6 -0
  45. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.js +9 -0
  46. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.js +9 -0
  47. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.js +9 -0
  48. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.js +9 -0
  49. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.js +6 -0
  50. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.js +6 -0
  51. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.js +6 -0
  52. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.js +6 -0
  53. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.js +9 -0
  54. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.js +114 -0
  55. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.js +12 -0
  56. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.js +9 -0
  57. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.js +9 -0
  58. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.js +9 -0
  59. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.js +9 -0
  60. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.js +13 -0
  61. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.js +9 -0
  62. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.js +9 -0
  63. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.js +9 -0
  64. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.js +9 -0
  65. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.js +9 -0
  66. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.js +9 -0
  67. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.js +9 -0
  68. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.js +9 -0
  69. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.js +9 -0
  70. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.js +9 -0
  71. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.js +16 -0
  72. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.js +9 -0
  73. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.js +21 -0
  74. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.js +16 -0
  75. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.js +9 -0
  76. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.js +9 -0
  77. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.js +9 -0
  78. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.js +24 -0
  79. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.js +9 -0
  80. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.js +9 -0
  81. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.js +9 -0
  82. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.js +9 -0
  83. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.js +9 -0
  84. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.js +9 -0
  85. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.js +9 -0
  86. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.js +9 -0
  87. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.js +9 -0
  88. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.js +13 -0
  89. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.js +13 -0
  90. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.js +9 -0
  91. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.js +16 -0
  92. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.js +9 -0
  93. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.js +9 -0
  94. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.js +9 -0
  95. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.js +9 -0
  96. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.js +9 -0
  97. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.js +9 -0
  98. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.js +9 -0
  99. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.js +9 -0
  100. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.js +26 -0
  101. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.js +9 -0
  102. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.js +9 -0
  103. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.js +9 -0
  104. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.js +27 -0
  105. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.js +9 -0
  106. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.js +13 -0
  107. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.js +13 -0
  108. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.js +20 -0
  109. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.js +9 -0
  110. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.js +9 -0
  111. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.js +9 -0
  112. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.js +9 -0
  113. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.js +9 -0
  114. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.js +9 -0
  115. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.js +16 -0
  116. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.js +9 -0
  117. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.js +27 -0
  118. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.js +9 -0
  119. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.js +49 -0
  120. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.js +1125 -0
  121. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.js +1067 -0
  122. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.js +1 -0
  123. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.js +31 -0
  124. package/esm/ratelimiter.js +20 -48
  125. package/esm/types.js +2 -1
  126. package/package.json +3 -3
  127. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.js +73 -0
  128. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.js +13 -0
  129. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.js +20 -0
  130. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.js +13 -0
  131. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.js +13 -0
  132. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.js +61 -0
  133. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.js +13 -0
  134. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.js +13 -0
  135. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.js +13 -0
  136. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.js +13 -0
  137. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.js +13 -0
  138. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.js +13 -0
  139. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.js +13 -0
  140. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.js +13 -0
  141. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.js +13 -0
  142. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.js +13 -0
  143. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.js +17 -0
  144. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.js +17 -0
  145. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.js +13 -0
  146. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.js +13 -0
  147. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.js +13 -0
  148. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.js +13 -0
  149. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.js +13 -0
  150. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.js +13 -0
  151. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.js +13 -0
  152. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.js +37 -0
  153. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.js +13 -0
  154. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.js +13 -0
  155. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.js +13 -0
  156. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.js +13 -0
  157. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.js +39 -0
  158. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.js +17 -0
  159. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.js +20 -0
  160. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.js +17 -0
  161. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.js +13 -0
  162. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.js +13 -0
  163. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.js +13 -0
  164. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.js +13 -0
  165. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.js +13 -0
  166. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.js +13 -0
  167. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.js +13 -0
  168. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.js +10 -0
  169. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.js +10 -0
  170. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.js +13 -0
  171. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.js +13 -0
  172. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.js +13 -0
  173. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.js +13 -0
  174. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.js +10 -0
  175. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.js +10 -0
  176. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.js +10 -0
  177. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.js +10 -0
  178. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.js +13 -0
  179. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.js +130 -0
  180. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.js +16 -0
  181. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.js +13 -0
  182. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.js +13 -0
  183. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.js +13 -0
  184. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.js +13 -0
  185. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.js +17 -0
  186. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.js +13 -0
  187. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.js +13 -0
  188. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.js +13 -0
  189. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.js +13 -0
  190. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.js +13 -0
  191. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.js +13 -0
  192. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.js +13 -0
  193. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.js +13 -0
  194. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.js +13 -0
  195. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.js +13 -0
  196. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.js +20 -0
  197. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.js +13 -0
  198. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.js +25 -0
  199. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.js +20 -0
  200. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.js +13 -0
  201. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.js +13 -0
  202. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.js +13 -0
  203. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.js +28 -0
  204. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.js +13 -0
  205. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.js +13 -0
  206. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.js +13 -0
  207. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.js +13 -0
  208. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.js +13 -0
  209. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.js +13 -0
  210. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.js +13 -0
  211. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.js +13 -0
  212. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.js +13 -0
  213. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.js +17 -0
  214. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.js +17 -0
  215. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.js +13 -0
  216. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.js +20 -0
  217. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.js +13 -0
  218. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.js +13 -0
  219. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.js +13 -0
  220. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.js +13 -0
  221. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.js +13 -0
  222. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.js +13 -0
  223. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.js +13 -0
  224. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.js +13 -0
  225. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.js +30 -0
  226. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.js +13 -0
  227. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.js +13 -0
  228. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.js +13 -0
  229. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.js +31 -0
  230. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.js +13 -0
  231. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.js +17 -0
  232. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.js +17 -0
  233. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.js +24 -0
  234. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.js +13 -0
  235. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.js +13 -0
  236. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.js +13 -0
  237. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.js +13 -0
  238. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.js +13 -0
  239. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.js +13 -0
  240. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.js +20 -0
  241. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.js +13 -0
  242. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.js +31 -0
  243. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.js +13 -0
  244. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.js +53 -0
  245. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.js +1129 -0
  246. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.js +1071 -0
  247. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.js +2 -0
  248. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.js +35 -0
  249. package/script/ratelimiter.js +20 -48
  250. package/script/types.js +3 -0
  251. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.d.ts +33 -0
  252. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.d.ts +7 -0
  253. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.d.ts +8 -0
  254. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.d.ts +13 -0
  255. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.d.ts +7 -0
  256. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.d.ts +37 -0
  257. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.d.ts +7 -0
  258. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.d.ts +7 -0
  259. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.d.ts +7 -0
  260. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.d.ts +7 -0
  261. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.d.ts +7 -0
  262. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.d.ts +7 -0
  263. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.d.ts +7 -0
  264. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.d.ts +7 -0
  265. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.d.ts +7 -0
  266. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.d.ts +7 -0
  267. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.d.ts +9 -0
  268. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.d.ts +9 -0
  269. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.d.ts +7 -0
  270. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.d.ts +7 -0
  271. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.d.ts +7 -0
  272. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.d.ts +7 -0
  273. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.d.ts +7 -0
  274. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.d.ts +7 -0
  275. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.d.ts +7 -0
  276. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.d.ts +7 -0
  277. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.d.ts +7 -0
  278. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.d.ts +7 -0
  279. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.d.ts +7 -0
  280. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.d.ts +7 -0
  281. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.d.ts +15 -0
  282. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.d.ts +9 -0
  283. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.d.ts +24 -0
  284. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.d.ts +9 -0
  285. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.d.ts +7 -0
  286. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.d.ts +7 -0
  287. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.d.ts +7 -0
  288. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.d.ts +7 -0
  289. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.d.ts +7 -0
  290. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.d.ts +7 -0
  291. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.d.ts +7 -0
  292. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.d.ts +4 -0
  293. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.d.ts +9 -0
  294. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.d.ts +7 -0
  295. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.d.ts +7 -0
  296. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.d.ts +7 -0
  297. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.d.ts +7 -0
  298. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.d.ts +4 -0
  299. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.d.ts +4 -0
  300. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.d.ts +4 -0
  301. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.d.ts +4 -0
  302. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.d.ts +7 -0
  303. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.d.ts +114 -0
  304. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.d.ts +9 -0
  305. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.d.ts +9 -0
  306. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.d.ts +7 -0
  307. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.d.ts +7 -0
  308. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.d.ts +7 -0
  309. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.d.ts +7 -0
  310. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.d.ts +7 -0
  311. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.d.ts +7 -0
  312. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.d.ts +7 -0
  313. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.d.ts +7 -0
  314. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.d.ts +7 -0
  315. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.d.ts +7 -0
  316. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.d.ts +7 -0
  317. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.d.ts +7 -0
  318. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.d.ts +7 -0
  319. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.d.ts +7 -0
  320. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.d.ts +17 -0
  321. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.d.ts +7 -0
  322. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.d.ts +9 -0
  323. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.d.ts +14 -0
  324. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.d.ts +7 -0
  325. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.d.ts +7 -0
  326. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.d.ts +7 -0
  327. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.d.ts +26 -0
  328. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.d.ts +7 -0
  329. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.d.ts +7 -0
  330. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.d.ts +7 -0
  331. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.d.ts +7 -0
  332. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.d.ts +7 -0
  333. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.d.ts +7 -0
  334. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.d.ts +7 -0
  335. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.d.ts +7 -0
  336. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.d.ts +7 -0
  337. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.d.ts +7 -0
  338. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.d.ts +7 -0
  339. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.d.ts +7 -0
  340. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.d.ts +24 -0
  341. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.d.ts +7 -0
  342. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.d.ts +7 -0
  343. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.d.ts +7 -0
  344. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.d.ts +7 -0
  345. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.d.ts +7 -0
  346. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.d.ts +7 -0
  347. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.d.ts +8 -0
  348. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.d.ts +7 -0
  349. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.d.ts +35 -0
  350. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.d.ts +7 -0
  351. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.d.ts +7 -0
  352. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.d.ts +7 -0
  353. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.d.ts +30 -0
  354. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.d.ts +7 -0
  355. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.d.ts +7 -0
  356. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.d.ts +7 -0
  357. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.d.ts +35 -0
  358. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.d.ts +7 -0
  359. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.d.ts +7 -0
  360. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.d.ts +7 -0
  361. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.d.ts +7 -0
  362. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.d.ts +7 -0
  363. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.d.ts +7 -0
  364. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.d.ts +24 -0
  365. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.d.ts +7 -0
  366. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.d.ts +30 -0
  367. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.d.ts +6 -0
  368. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.d.ts +30 -0
  369. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.d.ts +540 -0
  370. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.d.ts +516 -0
  371. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.d.ts +1 -0
  372. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.d.ts +1 -0
  373. package/types/types.d.ts +2 -3
@@ -0,0 +1,1067 @@
1
+ import { AppendCommand, BitCountCommand, BitOpCommand, BitPosCommand, DBSizeCommand, DecrByCommand, DecrCommand, DelCommand, EchoCommand, EvalCommand, EvalshaCommand, ExistsCommand, ExpireAtCommand, ExpireCommand, FlushAllCommand, FlushDBCommand, GetBitCommand, GetCommand, GetRangeCommand, GetSetCommand, HDelCommand, HExistsCommand, HGetAllCommand, HGetCommand, HIncrByCommand, HIncrByFloatCommand, HKeysCommand, HLenCommand, HMGetCommand, HMSetCommand, HScanCommand, HSetCommand, HSetNXCommand, HStrLenCommand, HValsCommand, IncrByCommand, IncrByFloatCommand, IncrCommand, KeysCommand, LIndexCommand, LInsertCommand, LLenCommand, LPopCommand, LPushCommand, LPushXCommand, LRangeCommand, LRemCommand, LSetCommand, LTrimCommand, MGetCommand, MSetCommand, MSetNXCommand, PersistCommand, PExpireAtCommand, PExpireCommand, PingCommand, PSetEXCommand, PTtlCommand, PublishCommand, RandomKeyCommand, RenameCommand, RenameNXCommand, RPopCommand, RPushCommand, RPushXCommand, SAddCommand, ScanCommand, SCardCommand, ScriptExistsCommand, ScriptFlushCommand, ScriptLoadCommand, SDiffCommand, SDiffStoreCommand, SetBitCommand, SetCommand, SetExCommand, SetNxCommand, SetRangeCommand, SInterCommand, SInterStoreCommand, SIsMemberCommand, SMembersCommand, SMoveCommand, SPopCommand, SRandMemberCommand, SRemCommand, SScanCommand, StrLenCommand, SUnionCommand, SUnionStoreCommand, TimeCommand, TouchCommand, TtlCommand, TypeCommand, UnlinkCommand, ZAddCommand, ZCardCommand, ZCountCommand, ZIncrByCommand, ZInterStoreCommand, ZLexCountCommand, ZPopMaxCommand, ZPopMinCommand, ZRangeCommand, ZRankCommand, ZRemCommand, ZRemRangeByLexCommand, ZRemRangeByRankCommand, ZRemRangeByScoreCommand, ZRevRankCommand, ZScanCommand, ZScoreCommand, ZUnionStoreCommand, } from "./commands/mod.js";
2
+ import { Pipeline } from "./pipeline.js";
3
+ /**
4
+ * Serverless redis client for upstash.
5
+ */
6
+ export class Redis {
7
+ /**
8
+ * Create a new redis client
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const redis = new Redis({
13
+ * url: "<UPSTASH_REDIS_REST_URL>",
14
+ * token: "<UPSTASH_REDIS_REST_TOKEN>",
15
+ * });
16
+ * ```
17
+ */
18
+ constructor(client, opts) {
19
+ Object.defineProperty(this, "client", {
20
+ enumerable: true,
21
+ configurable: true,
22
+ writable: true,
23
+ value: void 0
24
+ });
25
+ Object.defineProperty(this, "opts", {
26
+ enumerable: true,
27
+ configurable: true,
28
+ writable: true,
29
+ value: void 0
30
+ });
31
+ /**
32
+ * Create a new pipeline that allows you to send requests in bulk.
33
+ *
34
+ * @see {@link Pipeline}
35
+ */
36
+ Object.defineProperty(this, "pipeline", {
37
+ enumerable: true,
38
+ configurable: true,
39
+ writable: true,
40
+ value: () => new Pipeline(this.client, this.opts)
41
+ });
42
+ /**
43
+ * @see https://redis.io/commands/append
44
+ */
45
+ Object.defineProperty(this, "append", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: (...args) => new AppendCommand(args, this.opts).exec(this.client)
50
+ });
51
+ /**
52
+ * @see https://redis.io/commands/bitcount
53
+ */
54
+ Object.defineProperty(this, "bitcount", {
55
+ enumerable: true,
56
+ configurable: true,
57
+ writable: true,
58
+ value: (...args) => new BitCountCommand(args, this.opts).exec(this.client)
59
+ });
60
+ /**
61
+ * @see https://redis.io/commands/bitop
62
+ */
63
+ Object.defineProperty(this, "bitop", {
64
+ enumerable: true,
65
+ configurable: true,
66
+ writable: true,
67
+ value: (op, destinationKey, sourceKey, ...sourceKeys) => new BitOpCommand([op, destinationKey, sourceKey, ...sourceKeys], this.opts).exec(this.client)
68
+ });
69
+ /**
70
+ * @see https://redis.io/commands/bitpos
71
+ */
72
+ Object.defineProperty(this, "bitpos", {
73
+ enumerable: true,
74
+ configurable: true,
75
+ writable: true,
76
+ value: (...args) => new BitPosCommand(args, this.opts).exec(this.client)
77
+ });
78
+ /**
79
+ * @see https://redis.io/commands/dbsize
80
+ */
81
+ Object.defineProperty(this, "dbsize", {
82
+ enumerable: true,
83
+ configurable: true,
84
+ writable: true,
85
+ value: () => new DBSizeCommand(this.opts).exec(this.client)
86
+ });
87
+ /**
88
+ * @see https://redis.io/commands/decr
89
+ */
90
+ Object.defineProperty(this, "decr", {
91
+ enumerable: true,
92
+ configurable: true,
93
+ writable: true,
94
+ value: (...args) => new DecrCommand(args, this.opts).exec(this.client)
95
+ });
96
+ /**
97
+ * @see https://redis.io/commands/decrby
98
+ */
99
+ Object.defineProperty(this, "decrby", {
100
+ enumerable: true,
101
+ configurable: true,
102
+ writable: true,
103
+ value: (...args) => new DecrByCommand(args, this.opts).exec(this.client)
104
+ });
105
+ /**
106
+ * @see https://redis.io/commands/del
107
+ */
108
+ Object.defineProperty(this, "del", {
109
+ enumerable: true,
110
+ configurable: true,
111
+ writable: true,
112
+ value: (...args) => new DelCommand(args, this.opts).exec(this.client)
113
+ });
114
+ /**
115
+ * @see https://redis.io/commands/echo
116
+ */
117
+ Object.defineProperty(this, "echo", {
118
+ enumerable: true,
119
+ configurable: true,
120
+ writable: true,
121
+ value: (...args) => new EchoCommand(args, this.opts).exec(this.client)
122
+ });
123
+ /**
124
+ * @see https://redis.io/commands/eval
125
+ */
126
+ Object.defineProperty(this, "eval", {
127
+ enumerable: true,
128
+ configurable: true,
129
+ writable: true,
130
+ value: (...args) => new EvalCommand(args, this.opts).exec(this.client)
131
+ });
132
+ /**
133
+ * @see https://redis.io/commands/evalsha
134
+ */
135
+ Object.defineProperty(this, "evalsha", {
136
+ enumerable: true,
137
+ configurable: true,
138
+ writable: true,
139
+ value: (...args) => new EvalshaCommand(args, this.opts).exec(this.client)
140
+ });
141
+ /**
142
+ * @see https://redis.io/commands/exists
143
+ */
144
+ Object.defineProperty(this, "exists", {
145
+ enumerable: true,
146
+ configurable: true,
147
+ writable: true,
148
+ value: (...args) => new ExistsCommand(args, this.opts).exec(this.client)
149
+ });
150
+ /**
151
+ * @see https://redis.io/commands/expire
152
+ */
153
+ Object.defineProperty(this, "expire", {
154
+ enumerable: true,
155
+ configurable: true,
156
+ writable: true,
157
+ value: (...args) => new ExpireCommand(args, this.opts).exec(this.client)
158
+ });
159
+ /**
160
+ * @see https://redis.io/commands/expireat
161
+ */
162
+ Object.defineProperty(this, "expireat", {
163
+ enumerable: true,
164
+ configurable: true,
165
+ writable: true,
166
+ value: (...args) => new ExpireAtCommand(args, this.opts).exec(this.client)
167
+ });
168
+ /**
169
+ * @see https://redis.io/commands/flushall
170
+ */
171
+ Object.defineProperty(this, "flushall", {
172
+ enumerable: true,
173
+ configurable: true,
174
+ writable: true,
175
+ value: (args) => new FlushAllCommand(args, this.opts).exec(this.client)
176
+ });
177
+ /**
178
+ * @see https://redis.io/commands/flushdb
179
+ */
180
+ Object.defineProperty(this, "flushdb", {
181
+ enumerable: true,
182
+ configurable: true,
183
+ writable: true,
184
+ value: (...args) => new FlushDBCommand(args, this.opts).exec(this.client)
185
+ });
186
+ /**
187
+ * @see https://redis.io/commands/get
188
+ */
189
+ Object.defineProperty(this, "get", {
190
+ enumerable: true,
191
+ configurable: true,
192
+ writable: true,
193
+ value: (...args) => new GetCommand(args, this.opts).exec(this.client)
194
+ });
195
+ /**
196
+ * @see https://redis.io/commands/getbit
197
+ */
198
+ Object.defineProperty(this, "getbit", {
199
+ enumerable: true,
200
+ configurable: true,
201
+ writable: true,
202
+ value: (...args) => new GetBitCommand(args, this.opts).exec(this.client)
203
+ });
204
+ /**
205
+ * @see https://redis.io/commands/getrange
206
+ */
207
+ Object.defineProperty(this, "getrange", {
208
+ enumerable: true,
209
+ configurable: true,
210
+ writable: true,
211
+ value: (...args) => new GetRangeCommand(args, this.opts).exec(this.client)
212
+ });
213
+ /**
214
+ * @see https://redis.io/commands/getset
215
+ */
216
+ Object.defineProperty(this, "getset", {
217
+ enumerable: true,
218
+ configurable: true,
219
+ writable: true,
220
+ value: (key, value) => new GetSetCommand([key, value], this.opts).exec(this.client)
221
+ });
222
+ /**
223
+ * @see https://redis.io/commands/hdel
224
+ */
225
+ Object.defineProperty(this, "hdel", {
226
+ enumerable: true,
227
+ configurable: true,
228
+ writable: true,
229
+ value: (...args) => new HDelCommand(args, this.opts).exec(this.client)
230
+ });
231
+ /**
232
+ * @see https://redis.io/commands/hexists
233
+ */
234
+ Object.defineProperty(this, "hexists", {
235
+ enumerable: true,
236
+ configurable: true,
237
+ writable: true,
238
+ value: (...args) => new HExistsCommand(args, this.opts).exec(this.client)
239
+ });
240
+ /**
241
+ * @see https://redis.io/commands/hget
242
+ */
243
+ Object.defineProperty(this, "hget", {
244
+ enumerable: true,
245
+ configurable: true,
246
+ writable: true,
247
+ value: (...args) => new HGetCommand(args, this.opts).exec(this.client)
248
+ });
249
+ /**
250
+ * @see https://redis.io/commands/hgetall
251
+ */
252
+ Object.defineProperty(this, "hgetall", {
253
+ enumerable: true,
254
+ configurable: true,
255
+ writable: true,
256
+ value: (...args) => new HGetAllCommand(args, this.opts).exec(this.client)
257
+ });
258
+ /**
259
+ * @see https://redis.io/commands/hincrby
260
+ */
261
+ Object.defineProperty(this, "hincrby", {
262
+ enumerable: true,
263
+ configurable: true,
264
+ writable: true,
265
+ value: (...args) => new HIncrByCommand(args, this.opts).exec(this.client)
266
+ });
267
+ /**
268
+ * @see https://redis.io/commands/hincrbyfloat
269
+ */
270
+ Object.defineProperty(this, "hincrbyfloat", {
271
+ enumerable: true,
272
+ configurable: true,
273
+ writable: true,
274
+ value: (...args) => new HIncrByFloatCommand(args, this.opts).exec(this.client)
275
+ });
276
+ /**
277
+ * @see https://redis.io/commands/hkeys
278
+ */
279
+ Object.defineProperty(this, "hkeys", {
280
+ enumerable: true,
281
+ configurable: true,
282
+ writable: true,
283
+ value: (...args) => new HKeysCommand(args, this.opts).exec(this.client)
284
+ });
285
+ /**
286
+ * @see https://redis.io/commands/hlen
287
+ */
288
+ Object.defineProperty(this, "hlen", {
289
+ enumerable: true,
290
+ configurable: true,
291
+ writable: true,
292
+ value: (...args) => new HLenCommand(args, this.opts).exec(this.client)
293
+ });
294
+ /**
295
+ * @see https://redis.io/commands/hmget
296
+ */
297
+ Object.defineProperty(this, "hmget", {
298
+ enumerable: true,
299
+ configurable: true,
300
+ writable: true,
301
+ value: (...args) => new HMGetCommand(args, this.opts).exec(this.client)
302
+ });
303
+ /**
304
+ * @see https://redis.io/commands/hmset
305
+ */
306
+ Object.defineProperty(this, "hmset", {
307
+ enumerable: true,
308
+ configurable: true,
309
+ writable: true,
310
+ value: (key, kv) => new HMSetCommand([key, kv], this.opts).exec(this.client)
311
+ });
312
+ /**
313
+ * @see https://redis.io/commands/hscan
314
+ */
315
+ Object.defineProperty(this, "hscan", {
316
+ enumerable: true,
317
+ configurable: true,
318
+ writable: true,
319
+ value: (...args) => new HScanCommand(args, this.opts).exec(this.client)
320
+ });
321
+ /**
322
+ * @see https://redis.io/commands/hset
323
+ */
324
+ Object.defineProperty(this, "hset", {
325
+ enumerable: true,
326
+ configurable: true,
327
+ writable: true,
328
+ value: (key, kv) => new HSetCommand([key, kv], this.opts).exec(this.client)
329
+ });
330
+ /**
331
+ * @see https://redis.io/commands/hsetnx
332
+ */
333
+ Object.defineProperty(this, "hsetnx", {
334
+ enumerable: true,
335
+ configurable: true,
336
+ writable: true,
337
+ value: (key, field, value) => new HSetNXCommand([key, field, value], this.opts).exec(this.client)
338
+ });
339
+ /**
340
+ * @see https://redis.io/commands/hstrlen
341
+ */
342
+ Object.defineProperty(this, "hstrlen", {
343
+ enumerable: true,
344
+ configurable: true,
345
+ writable: true,
346
+ value: (...args) => new HStrLenCommand(args, this.opts).exec(this.client)
347
+ });
348
+ /**
349
+ * @see https://redis.io/commands/hvals
350
+ */
351
+ Object.defineProperty(this, "hvals", {
352
+ enumerable: true,
353
+ configurable: true,
354
+ writable: true,
355
+ value: (...args) => new HValsCommand(args, this.opts).exec(this.client)
356
+ });
357
+ /**
358
+ * @see https://redis.io/commands/incr
359
+ */
360
+ Object.defineProperty(this, "incr", {
361
+ enumerable: true,
362
+ configurable: true,
363
+ writable: true,
364
+ value: (...args) => new IncrCommand(args, this.opts).exec(this.client)
365
+ });
366
+ /**
367
+ * @see https://redis.io/commands/incrby
368
+ */
369
+ Object.defineProperty(this, "incrby", {
370
+ enumerable: true,
371
+ configurable: true,
372
+ writable: true,
373
+ value: (...args) => new IncrByCommand(args, this.opts).exec(this.client)
374
+ });
375
+ /**
376
+ * @see https://redis.io/commands/incrbyfloat
377
+ */
378
+ Object.defineProperty(this, "incrbyfloat", {
379
+ enumerable: true,
380
+ configurable: true,
381
+ writable: true,
382
+ value: (...args) => new IncrByFloatCommand(args, this.opts).exec(this.client)
383
+ });
384
+ /**
385
+ * @see https://redis.io/commands/keys
386
+ */
387
+ Object.defineProperty(this, "keys", {
388
+ enumerable: true,
389
+ configurable: true,
390
+ writable: true,
391
+ value: (...args) => new KeysCommand(args, this.opts).exec(this.client)
392
+ });
393
+ /**
394
+ * @see https://redis.io/commands/lindex
395
+ */
396
+ Object.defineProperty(this, "lindex", {
397
+ enumerable: true,
398
+ configurable: true,
399
+ writable: true,
400
+ value: (...args) => new LIndexCommand(args, this.opts).exec(this.client)
401
+ });
402
+ /**
403
+ * @see https://redis.io/commands/linsert
404
+ */
405
+ Object.defineProperty(this, "linsert", {
406
+ enumerable: true,
407
+ configurable: true,
408
+ writable: true,
409
+ value: (key, direction, pivot, value) => new LInsertCommand([key, direction, pivot, value], this.opts).exec(this.client)
410
+ });
411
+ /**
412
+ * @see https://redis.io/commands/llen
413
+ */
414
+ Object.defineProperty(this, "llen", {
415
+ enumerable: true,
416
+ configurable: true,
417
+ writable: true,
418
+ value: (...args) => new LLenCommand(args, this.opts).exec(this.client)
419
+ });
420
+ /**
421
+ * @see https://redis.io/commands/lpop
422
+ */
423
+ Object.defineProperty(this, "lpop", {
424
+ enumerable: true,
425
+ configurable: true,
426
+ writable: true,
427
+ value: (...args) => new LPopCommand(args, this.opts).exec(this.client)
428
+ });
429
+ /**
430
+ * @see https://redis.io/commands/lpush
431
+ */
432
+ Object.defineProperty(this, "lpush", {
433
+ enumerable: true,
434
+ configurable: true,
435
+ writable: true,
436
+ value: (key, ...elements) => new LPushCommand([key, ...elements], this.opts).exec(this.client)
437
+ });
438
+ /**
439
+ * @see https://redis.io/commands/lpushx
440
+ */
441
+ Object.defineProperty(this, "lpushx", {
442
+ enumerable: true,
443
+ configurable: true,
444
+ writable: true,
445
+ value: (key, ...elements) => new LPushXCommand([key, ...elements], this.opts).exec(this.client)
446
+ });
447
+ /**
448
+ * @see https://redis.io/commands/lrange
449
+ */
450
+ Object.defineProperty(this, "lrange", {
451
+ enumerable: true,
452
+ configurable: true,
453
+ writable: true,
454
+ value: (...args) => new LRangeCommand(args, this.opts).exec(this.client)
455
+ });
456
+ /**
457
+ * @see https://redis.io/commands/lrem
458
+ */
459
+ Object.defineProperty(this, "lrem", {
460
+ enumerable: true,
461
+ configurable: true,
462
+ writable: true,
463
+ value: (key, count, value) => new LRemCommand([key, count, value], this.opts).exec(this.client)
464
+ });
465
+ /**
466
+ * @see https://redis.io/commands/lset
467
+ */
468
+ Object.defineProperty(this, "lset", {
469
+ enumerable: true,
470
+ configurable: true,
471
+ writable: true,
472
+ value: (key, index, value) => new LSetCommand([key, index, value], this.opts).exec(this.client)
473
+ });
474
+ /**
475
+ * @see https://redis.io/commands/ltrim
476
+ */
477
+ Object.defineProperty(this, "ltrim", {
478
+ enumerable: true,
479
+ configurable: true,
480
+ writable: true,
481
+ value: (...args) => new LTrimCommand(args, this.opts).exec(this.client)
482
+ });
483
+ /**
484
+ * @see https://redis.io/commands/mget
485
+ */
486
+ Object.defineProperty(this, "mget", {
487
+ enumerable: true,
488
+ configurable: true,
489
+ writable: true,
490
+ value: (...args) => new MGetCommand(args, this.opts).exec(this.client)
491
+ });
492
+ /**
493
+ * @see https://redis.io/commands/mset
494
+ */
495
+ Object.defineProperty(this, "mset", {
496
+ enumerable: true,
497
+ configurable: true,
498
+ writable: true,
499
+ value: (kv) => new MSetCommand([kv], this.opts).exec(this.client)
500
+ });
501
+ /**
502
+ * @see https://redis.io/commands/msetnx
503
+ */
504
+ Object.defineProperty(this, "msetnx", {
505
+ enumerable: true,
506
+ configurable: true,
507
+ writable: true,
508
+ value: (kv) => new MSetNXCommand([kv], this.opts).exec(this.client)
509
+ });
510
+ /**
511
+ * @see https://redis.io/commands/persist
512
+ */
513
+ Object.defineProperty(this, "persist", {
514
+ enumerable: true,
515
+ configurable: true,
516
+ writable: true,
517
+ value: (...args) => new PersistCommand(args, this.opts).exec(this.client)
518
+ });
519
+ /**
520
+ * @see https://redis.io/commands/pexpire
521
+ */
522
+ Object.defineProperty(this, "pexpire", {
523
+ enumerable: true,
524
+ configurable: true,
525
+ writable: true,
526
+ value: (...args) => new PExpireCommand(args, this.opts).exec(this.client)
527
+ });
528
+ /**
529
+ * @see https://redis.io/commands/pexpireat
530
+ */
531
+ Object.defineProperty(this, "pexpireat", {
532
+ enumerable: true,
533
+ configurable: true,
534
+ writable: true,
535
+ value: (...args) => new PExpireAtCommand(args, this.opts).exec(this.client)
536
+ });
537
+ /**
538
+ * @see https://redis.io/commands/ping
539
+ */
540
+ Object.defineProperty(this, "ping", {
541
+ enumerable: true,
542
+ configurable: true,
543
+ writable: true,
544
+ value: (args) => new PingCommand(args, this.opts).exec(this.client)
545
+ });
546
+ /**
547
+ * @see https://redis.io/commands/psetex
548
+ */
549
+ Object.defineProperty(this, "psetex", {
550
+ enumerable: true,
551
+ configurable: true,
552
+ writable: true,
553
+ value: (key, ttl, value) => new PSetEXCommand([key, ttl, value], this.opts).exec(this.client)
554
+ });
555
+ /**
556
+ * @see https://redis.io/commands/pttl
557
+ */
558
+ Object.defineProperty(this, "pttl", {
559
+ enumerable: true,
560
+ configurable: true,
561
+ writable: true,
562
+ value: (...args) => new PTtlCommand(args, this.opts).exec(this.client)
563
+ });
564
+ /**
565
+ * @see https://redis.io/commands/publish
566
+ */
567
+ Object.defineProperty(this, "publish", {
568
+ enumerable: true,
569
+ configurable: true,
570
+ writable: true,
571
+ value: (...args) => new PublishCommand(args, this.opts).exec(this.client)
572
+ });
573
+ /**
574
+ * @see https://redis.io/commands/randomkey
575
+ */
576
+ Object.defineProperty(this, "randomkey", {
577
+ enumerable: true,
578
+ configurable: true,
579
+ writable: true,
580
+ value: () => new RandomKeyCommand().exec(this.client)
581
+ });
582
+ /**
583
+ * @see https://redis.io/commands/rename
584
+ */
585
+ Object.defineProperty(this, "rename", {
586
+ enumerable: true,
587
+ configurable: true,
588
+ writable: true,
589
+ value: (...args) => new RenameCommand(args, this.opts).exec(this.client)
590
+ });
591
+ /**
592
+ * @see https://redis.io/commands/renamenx
593
+ */
594
+ Object.defineProperty(this, "renamenx", {
595
+ enumerable: true,
596
+ configurable: true,
597
+ writable: true,
598
+ value: (...args) => new RenameNXCommand(args, this.opts).exec(this.client)
599
+ });
600
+ /**
601
+ * @see https://redis.io/commands/rpop
602
+ */
603
+ Object.defineProperty(this, "rpop", {
604
+ enumerable: true,
605
+ configurable: true,
606
+ writable: true,
607
+ value: (...args) => new RPopCommand(args, this.opts).exec(this.client)
608
+ });
609
+ /**
610
+ * @see https://redis.io/commands/rpush
611
+ */
612
+ Object.defineProperty(this, "rpush", {
613
+ enumerable: true,
614
+ configurable: true,
615
+ writable: true,
616
+ value: (key, ...elements) => new RPushCommand([key, ...elements], this.opts).exec(this.client)
617
+ });
618
+ /**
619
+ * @see https://redis.io/commands/rpushx
620
+ */
621
+ Object.defineProperty(this, "rpushx", {
622
+ enumerable: true,
623
+ configurable: true,
624
+ writable: true,
625
+ value: (key, ...elements) => new RPushXCommand([key, ...elements], this.opts).exec(this.client)
626
+ });
627
+ /**
628
+ * @see https://redis.io/commands/sadd
629
+ */
630
+ Object.defineProperty(this, "sadd", {
631
+ enumerable: true,
632
+ configurable: true,
633
+ writable: true,
634
+ value: (key, ...members) => new SAddCommand([key, ...members], this.opts).exec(this.client)
635
+ });
636
+ /**
637
+ * @see https://redis.io/commands/scan
638
+ */
639
+ Object.defineProperty(this, "scan", {
640
+ enumerable: true,
641
+ configurable: true,
642
+ writable: true,
643
+ value: (...args) => new ScanCommand(args, this.opts).exec(this.client)
644
+ });
645
+ /**
646
+ * @see https://redis.io/commands/scard
647
+ */
648
+ Object.defineProperty(this, "scard", {
649
+ enumerable: true,
650
+ configurable: true,
651
+ writable: true,
652
+ value: (...args) => new SCardCommand(args, this.opts).exec(this.client)
653
+ });
654
+ /**
655
+ * @see https://redis.io/commands/script-exists
656
+ */
657
+ Object.defineProperty(this, "scriptExists", {
658
+ enumerable: true,
659
+ configurable: true,
660
+ writable: true,
661
+ value: (...args) => new ScriptExistsCommand(args, this.opts).exec(this.client)
662
+ });
663
+ /**
664
+ * @see https://redis.io/commands/script-flush
665
+ */
666
+ Object.defineProperty(this, "scriptFlush", {
667
+ enumerable: true,
668
+ configurable: true,
669
+ writable: true,
670
+ value: (...args) => new ScriptFlushCommand(args, this.opts).exec(this.client)
671
+ });
672
+ /**
673
+ * @see https://redis.io/commands/script-load
674
+ */
675
+ Object.defineProperty(this, "scriptLoad", {
676
+ enumerable: true,
677
+ configurable: true,
678
+ writable: true,
679
+ value: (...args) => new ScriptLoadCommand(args, this.opts).exec(this.client)
680
+ });
681
+ /**
682
+ * @see https://redis.io/commands/sdiff
683
+ */
684
+ Object.defineProperty(this, "sdiff", {
685
+ enumerable: true,
686
+ configurable: true,
687
+ writable: true,
688
+ value: (...args) => new SDiffCommand(args, this.opts).exec(this.client)
689
+ });
690
+ /**
691
+ * @see https://redis.io/commands/sdiffstore
692
+ */
693
+ Object.defineProperty(this, "sdiffstore", {
694
+ enumerable: true,
695
+ configurable: true,
696
+ writable: true,
697
+ value: (...args) => new SDiffStoreCommand(args, this.opts).exec(this.client)
698
+ });
699
+ /**
700
+ * @see https://redis.io/commands/set
701
+ */
702
+ Object.defineProperty(this, "set", {
703
+ enumerable: true,
704
+ configurable: true,
705
+ writable: true,
706
+ value: (key, value, opts) => new SetCommand([key, value, opts], this.opts).exec(this.client)
707
+ });
708
+ /**
709
+ * @see https://redis.io/commands/setbit
710
+ */
711
+ Object.defineProperty(this, "setbit", {
712
+ enumerable: true,
713
+ configurable: true,
714
+ writable: true,
715
+ value: (...args) => new SetBitCommand(args, this.opts).exec(this.client)
716
+ });
717
+ /**
718
+ * @see https://redis.io/commands/setex
719
+ */
720
+ Object.defineProperty(this, "setex", {
721
+ enumerable: true,
722
+ configurable: true,
723
+ writable: true,
724
+ value: (key, ttl, value) => new SetExCommand([key, ttl, value], this.opts).exec(this.client)
725
+ });
726
+ /**
727
+ * @see https://redis.io/commands/setnx
728
+ */
729
+ Object.defineProperty(this, "setnx", {
730
+ enumerable: true,
731
+ configurable: true,
732
+ writable: true,
733
+ value: (key, value) => new SetNxCommand([key, value], this.opts).exec(this.client)
734
+ });
735
+ /**
736
+ * @see https://redis.io/commands/setrange
737
+ */
738
+ Object.defineProperty(this, "setrange", {
739
+ enumerable: true,
740
+ configurable: true,
741
+ writable: true,
742
+ value: (...args) => new SetRangeCommand(args, this.opts).exec(this.client)
743
+ });
744
+ /**
745
+ * @see https://redis.io/commands/sinter
746
+ */
747
+ Object.defineProperty(this, "sinter", {
748
+ enumerable: true,
749
+ configurable: true,
750
+ writable: true,
751
+ value: (...args) => new SInterCommand(args, this.opts).exec(this.client)
752
+ });
753
+ /**
754
+ * @see https://redis.io/commands/sinterstore
755
+ */
756
+ Object.defineProperty(this, "sinterstore", {
757
+ enumerable: true,
758
+ configurable: true,
759
+ writable: true,
760
+ value: (...args) => new SInterStoreCommand(args, this.opts).exec(this.client)
761
+ });
762
+ /**
763
+ * @see https://redis.io/commands/sismember
764
+ */
765
+ Object.defineProperty(this, "sismember", {
766
+ enumerable: true,
767
+ configurable: true,
768
+ writable: true,
769
+ value: (key, member) => new SIsMemberCommand([key, member], this.opts).exec(this.client)
770
+ });
771
+ /**
772
+ * @see https://redis.io/commands/smembers
773
+ */
774
+ Object.defineProperty(this, "smembers", {
775
+ enumerable: true,
776
+ configurable: true,
777
+ writable: true,
778
+ value: (...args) => new SMembersCommand(args, this.opts).exec(this.client)
779
+ });
780
+ /**
781
+ * @see https://redis.io/commands/smove
782
+ */
783
+ Object.defineProperty(this, "smove", {
784
+ enumerable: true,
785
+ configurable: true,
786
+ writable: true,
787
+ value: (source, destination, member) => new SMoveCommand([source, destination, member], this.opts).exec(this.client)
788
+ });
789
+ /**
790
+ * @see https://redis.io/commands/spop
791
+ */
792
+ Object.defineProperty(this, "spop", {
793
+ enumerable: true,
794
+ configurable: true,
795
+ writable: true,
796
+ value: (...args) => new SPopCommand(args, this.opts).exec(this.client)
797
+ });
798
+ /**
799
+ * @see https://redis.io/commands/srandmember
800
+ */
801
+ Object.defineProperty(this, "srandmember", {
802
+ enumerable: true,
803
+ configurable: true,
804
+ writable: true,
805
+ value: (...args) => new SRandMemberCommand(args, this.opts).exec(this.client)
806
+ });
807
+ /**
808
+ * @see https://redis.io/commands/srem
809
+ */
810
+ Object.defineProperty(this, "srem", {
811
+ enumerable: true,
812
+ configurable: true,
813
+ writable: true,
814
+ value: (key, ...members) => new SRemCommand([key, ...members], this.opts).exec(this.client)
815
+ });
816
+ /**
817
+ * @see https://redis.io/commands/sscan
818
+ */
819
+ Object.defineProperty(this, "sscan", {
820
+ enumerable: true,
821
+ configurable: true,
822
+ writable: true,
823
+ value: (...args) => new SScanCommand(args, this.opts).exec(this.client)
824
+ });
825
+ /**
826
+ * @see https://redis.io/commands/strlen
827
+ */
828
+ Object.defineProperty(this, "strlen", {
829
+ enumerable: true,
830
+ configurable: true,
831
+ writable: true,
832
+ value: (...args) => new StrLenCommand(args, this.opts).exec(this.client)
833
+ });
834
+ /**
835
+ * @see https://redis.io/commands/sunion
836
+ */
837
+ Object.defineProperty(this, "sunion", {
838
+ enumerable: true,
839
+ configurable: true,
840
+ writable: true,
841
+ value: (...args) => new SUnionCommand(args, this.opts).exec(this.client)
842
+ });
843
+ /**
844
+ * @see https://redis.io/commands/sunionstore
845
+ */
846
+ Object.defineProperty(this, "sunionstore", {
847
+ enumerable: true,
848
+ configurable: true,
849
+ writable: true,
850
+ value: (...args) => new SUnionStoreCommand(args, this.opts).exec(this.client)
851
+ });
852
+ /**
853
+ * @see https://redis.io/commands/time
854
+ */
855
+ Object.defineProperty(this, "time", {
856
+ enumerable: true,
857
+ configurable: true,
858
+ writable: true,
859
+ value: () => new TimeCommand().exec(this.client)
860
+ });
861
+ /**
862
+ * @see https://redis.io/commands/touch
863
+ */
864
+ Object.defineProperty(this, "touch", {
865
+ enumerable: true,
866
+ configurable: true,
867
+ writable: true,
868
+ value: (...args) => new TouchCommand(args, this.opts).exec(this.client)
869
+ });
870
+ /**
871
+ * @see https://redis.io/commands/ttl
872
+ */
873
+ Object.defineProperty(this, "ttl", {
874
+ enumerable: true,
875
+ configurable: true,
876
+ writable: true,
877
+ value: (...args) => new TtlCommand(args, this.opts).exec(this.client)
878
+ });
879
+ /**
880
+ * @see https://redis.io/commands/type
881
+ */
882
+ Object.defineProperty(this, "type", {
883
+ enumerable: true,
884
+ configurable: true,
885
+ writable: true,
886
+ value: (...args) => new TypeCommand(args, this.opts).exec(this.client)
887
+ });
888
+ /**
889
+ * @see https://redis.io/commands/unlink
890
+ */
891
+ Object.defineProperty(this, "unlink", {
892
+ enumerable: true,
893
+ configurable: true,
894
+ writable: true,
895
+ value: (...args) => new UnlinkCommand(args, this.opts).exec(this.client)
896
+ });
897
+ /**
898
+ * @see https://redis.io/commands/zadd
899
+ */
900
+ Object.defineProperty(this, "zadd", {
901
+ enumerable: true,
902
+ configurable: true,
903
+ writable: true,
904
+ value: (...args) => {
905
+ if ("score" in args[1]) {
906
+ return new ZAddCommand([args[0], args[1], ...args.slice(2)], this.opts).exec(this.client);
907
+ }
908
+ return new ZAddCommand([args[0], args[1], ...args.slice(2)], this.opts).exec(this.client);
909
+ }
910
+ });
911
+ /**
912
+ * @see https://redis.io/commands/zcard
913
+ */
914
+ Object.defineProperty(this, "zcard", {
915
+ enumerable: true,
916
+ configurable: true,
917
+ writable: true,
918
+ value: (...args) => new ZCardCommand(args, this.opts).exec(this.client)
919
+ });
920
+ /**
921
+ * @see https://redis.io/commands/zcount
922
+ */
923
+ Object.defineProperty(this, "zcount", {
924
+ enumerable: true,
925
+ configurable: true,
926
+ writable: true,
927
+ value: (...args) => new ZCountCommand(args, this.opts).exec(this.client)
928
+ });
929
+ /**
930
+ * @see https://redis.io/commands/zincrby
931
+ */
932
+ Object.defineProperty(this, "zincrby", {
933
+ enumerable: true,
934
+ configurable: true,
935
+ writable: true,
936
+ value: (key, increment, member) => new ZIncrByCommand([key, increment, member], this.opts).exec(this.client)
937
+ });
938
+ /**
939
+ * @see https://redis.io/commands/zinterstore
940
+ */
941
+ Object.defineProperty(this, "zinterstore", {
942
+ enumerable: true,
943
+ configurable: true,
944
+ writable: true,
945
+ value: (...args) => new ZInterStoreCommand(args, this.opts).exec(this.client)
946
+ });
947
+ /**
948
+ * @see https://redis.io/commands/zlexcount
949
+ */
950
+ Object.defineProperty(this, "zlexcount", {
951
+ enumerable: true,
952
+ configurable: true,
953
+ writable: true,
954
+ value: (...args) => new ZLexCountCommand(args, this.opts).exec(this.client)
955
+ });
956
+ /**
957
+ * @see https://redis.io/commands/zpopmax
958
+ */
959
+ Object.defineProperty(this, "zpopmax", {
960
+ enumerable: true,
961
+ configurable: true,
962
+ writable: true,
963
+ value: (...args) => new ZPopMaxCommand(args, this.opts).exec(this.client)
964
+ });
965
+ /**
966
+ * @see https://redis.io/commands/zpopmin
967
+ */
968
+ Object.defineProperty(this, "zpopmin", {
969
+ enumerable: true,
970
+ configurable: true,
971
+ writable: true,
972
+ value: (...args) => new ZPopMinCommand(args, this.opts).exec(this.client)
973
+ });
974
+ /**
975
+ * @see https://redis.io/commands/zrange
976
+ */
977
+ Object.defineProperty(this, "zrange", {
978
+ enumerable: true,
979
+ configurable: true,
980
+ writable: true,
981
+ value: (...args) => new ZRangeCommand(args, this.opts).exec(this.client)
982
+ });
983
+ /**
984
+ * @see https://redis.io/commands/zrank
985
+ */
986
+ Object.defineProperty(this, "zrank", {
987
+ enumerable: true,
988
+ configurable: true,
989
+ writable: true,
990
+ value: (key, member) => new ZRankCommand([key, member], this.opts).exec(this.client)
991
+ });
992
+ /**
993
+ * @see https://redis.io/commands/zrem
994
+ */
995
+ Object.defineProperty(this, "zrem", {
996
+ enumerable: true,
997
+ configurable: true,
998
+ writable: true,
999
+ value: (key, ...members) => new ZRemCommand([key, ...members], this.opts).exec(this.client)
1000
+ });
1001
+ /**
1002
+ * @see https://redis.io/commands/zremrangebylex
1003
+ */
1004
+ Object.defineProperty(this, "zremrangebylex", {
1005
+ enumerable: true,
1006
+ configurable: true,
1007
+ writable: true,
1008
+ value: (...args) => new ZRemRangeByLexCommand(args, this.opts).exec(this.client)
1009
+ });
1010
+ /**
1011
+ * @see https://redis.io/commands/zremrangebyrank
1012
+ */
1013
+ Object.defineProperty(this, "zremrangebyrank", {
1014
+ enumerable: true,
1015
+ configurable: true,
1016
+ writable: true,
1017
+ value: (...args) => new ZRemRangeByRankCommand(args, this.opts).exec(this.client)
1018
+ });
1019
+ /**
1020
+ * @see https://redis.io/commands/zremrangebyscore
1021
+ */
1022
+ Object.defineProperty(this, "zremrangebyscore", {
1023
+ enumerable: true,
1024
+ configurable: true,
1025
+ writable: true,
1026
+ value: (...args) => new ZRemRangeByScoreCommand(args, this.opts).exec(this.client)
1027
+ });
1028
+ /**
1029
+ * @see https://redis.io/commands/zrevrank
1030
+ */
1031
+ Object.defineProperty(this, "zrevrank", {
1032
+ enumerable: true,
1033
+ configurable: true,
1034
+ writable: true,
1035
+ value: (key, member) => new ZRevRankCommand([key, member], this.opts).exec(this.client)
1036
+ });
1037
+ /**
1038
+ * @see https://redis.io/commands/zscan
1039
+ */
1040
+ Object.defineProperty(this, "zscan", {
1041
+ enumerable: true,
1042
+ configurable: true,
1043
+ writable: true,
1044
+ value: (...args) => new ZScanCommand(args, this.opts).exec(this.client)
1045
+ });
1046
+ /**
1047
+ * @see https://redis.io/commands/zscore
1048
+ */
1049
+ Object.defineProperty(this, "zscore", {
1050
+ enumerable: true,
1051
+ configurable: true,
1052
+ writable: true,
1053
+ value: (key, member) => new ZScoreCommand([key, member], this.opts).exec(this.client)
1054
+ });
1055
+ /**
1056
+ * @see https://redis.io/commands/zunionstore
1057
+ */
1058
+ Object.defineProperty(this, "zunionstore", {
1059
+ enumerable: true,
1060
+ configurable: true,
1061
+ writable: true,
1062
+ value: (...args) => new ZUnionStoreCommand(args, this.opts).exec(this.client)
1063
+ });
1064
+ this.client = client;
1065
+ this.opts = opts;
1066
+ }
1067
+ }