@upstash/ratelimit 0.1.0 → 0.1.3-rc.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 (383) hide show
  1. package/README.md +82 -4
  2. package/esm/mod.js +2 -2
  3. package/esm/multi.js +228 -0
  4. package/esm/ratelimit.js +129 -0
  5. package/esm/{ratelimiter.js → single.js} +15 -131
  6. package/esm/types.js +1 -2
  7. package/package.json +2 -2
  8. package/script/mod.js +5 -16
  9. package/script/multi.js +232 -0
  10. package/script/ratelimit.js +133 -0
  11. package/script/{ratelimiter.js → single.js} +17 -133
  12. package/script/types.js +0 -3
  13. package/types/mod.d.ts +5 -2
  14. package/types/multi.d.ts +98 -0
  15. package/types/ratelimit.d.ts +85 -0
  16. package/types/{ratelimiter.d.ts → single.d.ts} +10 -54
  17. package/types/types.d.ts +33 -4
  18. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.js +0 -46
  19. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.js +0 -9
  20. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.js +0 -16
  21. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.js +0 -9
  22. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.js +0 -9
  23. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.js +0 -57
  24. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.js +0 -9
  25. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.js +0 -9
  26. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.js +0 -9
  27. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.js +0 -9
  28. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.js +0 -9
  29. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.js +0 -9
  30. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.js +0 -9
  31. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.js +0 -9
  32. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.js +0 -9
  33. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.js +0 -9
  34. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.js +0 -13
  35. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.js +0 -13
  36. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.js +0 -9
  37. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.js +0 -9
  38. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.js +0 -9
  39. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.js +0 -9
  40. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.js +0 -9
  41. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.js +0 -9
  42. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.js +0 -9
  43. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.js +0 -33
  44. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.js +0 -9
  45. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.js +0 -9
  46. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.js +0 -9
  47. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.js +0 -9
  48. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.js +0 -35
  49. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.js +0 -13
  50. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.js +0 -16
  51. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.js +0 -13
  52. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.js +0 -9
  53. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.js +0 -9
  54. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.js +0 -9
  55. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.js +0 -9
  56. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.js +0 -9
  57. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.js +0 -9
  58. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.js +0 -9
  59. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.js +0 -6
  60. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.js +0 -6
  61. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.js +0 -9
  62. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.js +0 -9
  63. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.js +0 -9
  64. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.js +0 -9
  65. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.js +0 -6
  66. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.js +0 -6
  67. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.js +0 -6
  68. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.js +0 -6
  69. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.js +0 -9
  70. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.js +0 -114
  71. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.js +0 -12
  72. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.js +0 -9
  73. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.js +0 -9
  74. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.js +0 -9
  75. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.js +0 -9
  76. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.js +0 -13
  77. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.js +0 -9
  78. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.js +0 -9
  79. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.js +0 -9
  80. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.js +0 -9
  81. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.js +0 -9
  82. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.js +0 -9
  83. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.js +0 -9
  84. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.js +0 -9
  85. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.js +0 -9
  86. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.js +0 -9
  87. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.js +0 -16
  88. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.js +0 -9
  89. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.js +0 -21
  90. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.js +0 -16
  91. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.js +0 -9
  92. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.js +0 -9
  93. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.js +0 -9
  94. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.js +0 -24
  95. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.js +0 -9
  96. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.js +0 -9
  97. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.js +0 -9
  98. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.js +0 -9
  99. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.js +0 -9
  100. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.js +0 -9
  101. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.js +0 -9
  102. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.js +0 -9
  103. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.js +0 -9
  104. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.js +0 -13
  105. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.js +0 -13
  106. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.js +0 -9
  107. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.js +0 -16
  108. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.js +0 -9
  109. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.js +0 -9
  110. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.js +0 -9
  111. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.js +0 -9
  112. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.js +0 -9
  113. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.js +0 -9
  114. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.js +0 -9
  115. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.js +0 -9
  116. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.js +0 -26
  117. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.js +0 -9
  118. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.js +0 -9
  119. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.js +0 -9
  120. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.js +0 -27
  121. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.js +0 -9
  122. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.js +0 -13
  123. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.js +0 -13
  124. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.js +0 -20
  125. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.js +0 -9
  126. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.js +0 -9
  127. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.js +0 -9
  128. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.js +0 -9
  129. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.js +0 -9
  130. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.js +0 -9
  131. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.js +0 -16
  132. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.js +0 -9
  133. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.js +0 -27
  134. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.js +0 -9
  135. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.js +0 -49
  136. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.js +0 -1125
  137. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.js +0 -1067
  138. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.js +0 -1
  139. package/esm/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.js +0 -31
  140. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.js +0 -73
  141. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.js +0 -13
  142. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.js +0 -20
  143. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.js +0 -13
  144. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.js +0 -13
  145. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.js +0 -61
  146. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.js +0 -13
  147. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.js +0 -13
  148. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.js +0 -13
  149. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.js +0 -13
  150. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.js +0 -13
  151. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.js +0 -13
  152. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.js +0 -13
  153. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.js +0 -13
  154. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.js +0 -13
  155. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.js +0 -13
  156. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.js +0 -17
  157. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.js +0 -17
  158. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.js +0 -13
  159. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.js +0 -13
  160. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.js +0 -13
  161. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.js +0 -13
  162. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.js +0 -13
  163. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.js +0 -13
  164. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.js +0 -13
  165. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.js +0 -37
  166. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.js +0 -13
  167. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.js +0 -13
  168. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.js +0 -13
  169. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.js +0 -13
  170. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.js +0 -39
  171. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.js +0 -17
  172. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.js +0 -20
  173. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.js +0 -17
  174. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.js +0 -13
  175. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.js +0 -13
  176. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.js +0 -13
  177. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.js +0 -13
  178. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.js +0 -13
  179. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.js +0 -13
  180. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.js +0 -13
  181. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.js +0 -10
  182. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.js +0 -10
  183. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.js +0 -13
  184. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.js +0 -13
  185. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.js +0 -13
  186. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.js +0 -13
  187. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.js +0 -10
  188. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.js +0 -10
  189. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.js +0 -10
  190. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.js +0 -10
  191. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.js +0 -13
  192. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.js +0 -130
  193. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.js +0 -16
  194. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.js +0 -13
  195. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.js +0 -13
  196. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.js +0 -13
  197. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.js +0 -13
  198. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.js +0 -17
  199. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.js +0 -13
  200. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.js +0 -13
  201. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.js +0 -13
  202. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.js +0 -13
  203. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.js +0 -13
  204. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.js +0 -13
  205. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.js +0 -13
  206. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.js +0 -13
  207. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.js +0 -13
  208. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.js +0 -13
  209. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.js +0 -20
  210. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.js +0 -13
  211. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.js +0 -25
  212. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.js +0 -20
  213. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.js +0 -13
  214. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.js +0 -13
  215. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.js +0 -13
  216. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.js +0 -28
  217. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.js +0 -13
  218. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.js +0 -13
  219. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.js +0 -13
  220. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.js +0 -13
  221. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.js +0 -13
  222. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.js +0 -13
  223. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.js +0 -13
  224. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.js +0 -13
  225. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.js +0 -13
  226. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.js +0 -17
  227. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.js +0 -17
  228. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.js +0 -13
  229. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.js +0 -20
  230. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.js +0 -13
  231. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.js +0 -13
  232. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.js +0 -13
  233. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.js +0 -13
  234. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.js +0 -13
  235. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.js +0 -13
  236. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.js +0 -13
  237. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.js +0 -13
  238. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.js +0 -30
  239. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.js +0 -13
  240. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.js +0 -13
  241. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.js +0 -13
  242. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.js +0 -31
  243. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.js +0 -13
  244. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.js +0 -17
  245. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.js +0 -17
  246. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.js +0 -24
  247. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.js +0 -13
  248. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.js +0 -13
  249. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.js +0 -13
  250. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.js +0 -13
  251. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.js +0 -13
  252. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.js +0 -13
  253. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.js +0 -20
  254. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.js +0 -13
  255. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.js +0 -31
  256. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.js +0 -13
  257. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.js +0 -53
  258. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.js +0 -1129
  259. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.js +0 -1071
  260. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.js +0 -2
  261. package/script/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.js +0 -35
  262. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/mod.d.ts +0 -33
  263. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/append.d.ts +0 -7
  264. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitcount.d.ts +0 -8
  265. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitop.d.ts +0 -13
  266. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/bitpos.d.ts +0 -7
  267. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/command.d.ts +0 -37
  268. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/dbsize.d.ts +0 -7
  269. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decr.d.ts +0 -7
  270. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/decrby.d.ts +0 -7
  271. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/del.d.ts +0 -7
  272. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/echo.d.ts +0 -7
  273. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/eval.d.ts +0 -7
  274. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/evalsha.d.ts +0 -7
  275. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/exists.d.ts +0 -7
  276. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expire.d.ts +0 -7
  277. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/expireat.d.ts +0 -7
  278. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushall.d.ts +0 -9
  279. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/flushdb.d.ts +0 -9
  280. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/get.d.ts +0 -7
  281. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getbit.d.ts +0 -7
  282. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getrange.d.ts +0 -7
  283. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/getset.d.ts +0 -7
  284. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hdel.d.ts +0 -7
  285. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hexists.d.ts +0 -7
  286. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hget.d.ts +0 -7
  287. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hgetall.d.ts +0 -7
  288. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrby.d.ts +0 -7
  289. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hincrbyfloat.d.ts +0 -7
  290. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hkeys.d.ts +0 -7
  291. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hlen.d.ts +0 -7
  292. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmget.d.ts +0 -15
  293. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hmset.d.ts +0 -9
  294. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hscan.d.ts +0 -24
  295. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hset.d.ts +0 -9
  296. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hsetnx.d.ts +0 -7
  297. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hstrlen.d.ts +0 -7
  298. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/hvals.d.ts +0 -7
  299. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incr.d.ts +0 -7
  300. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrby.d.ts +0 -7
  301. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/incrbyfloat.d.ts +0 -7
  302. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/keys.d.ts +0 -7
  303. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lindex.d.ts +0 -4
  304. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/linsert.d.ts +0 -9
  305. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/llen.d.ts +0 -7
  306. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpop.d.ts +0 -7
  307. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpush.d.ts +0 -7
  308. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lpushx.d.ts +0 -7
  309. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrange.d.ts +0 -4
  310. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lrem.d.ts +0 -4
  311. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/lset.d.ts +0 -4
  312. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ltrim.d.ts +0 -4
  313. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mget.d.ts +0 -7
  314. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mod.d.ts +0 -114
  315. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/mset.d.ts +0 -9
  316. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/msetnx.d.ts +0 -9
  317. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/persist.d.ts +0 -7
  318. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpire.d.ts +0 -7
  319. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pexpireat.d.ts +0 -7
  320. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ping.d.ts +0 -7
  321. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/psetex.d.ts +0 -7
  322. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/pttl.d.ts +0 -7
  323. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/publish.d.ts +0 -7
  324. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/randomkey.d.ts +0 -7
  325. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rename.d.ts +0 -7
  326. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/renamenx.d.ts +0 -7
  327. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpop.d.ts +0 -7
  328. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpush.d.ts +0 -7
  329. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/rpushx.d.ts +0 -7
  330. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sadd.d.ts +0 -7
  331. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scan.d.ts +0 -17
  332. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/scard.d.ts +0 -7
  333. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_exists.d.ts +0 -9
  334. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_flush.d.ts +0 -14
  335. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/script_load.d.ts +0 -7
  336. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiff.d.ts +0 -7
  337. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sdiffstore.d.ts +0 -7
  338. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/set.d.ts +0 -26
  339. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setbit.d.ts +0 -7
  340. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setex.d.ts +0 -7
  341. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setnx.d.ts +0 -7
  342. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/setrange.d.ts +0 -7
  343. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinter.d.ts +0 -7
  344. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sinterstore.d.ts +0 -7
  345. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sismember.d.ts +0 -7
  346. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smembers.d.ts +0 -7
  347. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/smove.d.ts +0 -7
  348. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/spop.d.ts +0 -7
  349. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srandmember.d.ts +0 -7
  350. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/srem.d.ts +0 -7
  351. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sscan.d.ts +0 -24
  352. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/strlen.d.ts +0 -7
  353. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunion.d.ts +0 -7
  354. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/sunionstore.d.ts +0 -7
  355. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/time.d.ts +0 -7
  356. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/touch.d.ts +0 -7
  357. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/ttl.d.ts +0 -7
  358. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/type.d.ts +0 -8
  359. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/unlink.d.ts +0 -7
  360. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zadd.d.ts +0 -35
  361. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcard.d.ts +0 -7
  362. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zcount.d.ts +0 -7
  363. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zincrby.d.ts +0 -7
  364. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zinterstore.d.ts +0 -30
  365. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zlexcount.d.ts +0 -7
  366. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmax.d.ts +0 -7
  367. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zpopmin.d.ts +0 -7
  368. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrange.d.ts +0 -35
  369. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrank.d.ts +0 -7
  370. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrem.d.ts +0 -7
  371. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebylex.d.ts +0 -7
  372. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyrank.d.ts +0 -7
  373. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zremrangebyscore.d.ts +0 -7
  374. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zrevrank.d.ts +0 -7
  375. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscan.d.ts +0 -24
  376. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zscore.d.ts +0 -7
  377. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/commands/zunionstore.d.ts +0 -30
  378. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/error.d.ts +0 -6
  379. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/http.d.ts +0 -30
  380. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/pipeline.d.ts +0 -540
  381. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/redis.d.ts +0 -516
  382. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/types.d.ts +0 -1
  383. package/types/deps/deno.land/x/upstash_redis@v1.3.3-alpha.1/pkg/util.d.ts +0 -1
@@ -1,1067 +0,0 @@
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
- }