@upstash/redis 1.40.0 → 1.41.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 (475) hide show
  1. package/README.md +5 -0
  2. package/{chunk-RLVWMRRX.mjs → chunk-CGMWROAN.mjs} +557 -4
  3. package/cloudflare.d.mts +2 -2
  4. package/cloudflare.d.ts +2 -2
  5. package/cloudflare.js +557 -4
  6. package/cloudflare.mjs +1 -1
  7. package/docs/advanced.mdx +83 -0
  8. package/docs/commands/array/arcount.mdx +28 -0
  9. package/docs/commands/array/ardel.mdx +30 -0
  10. package/docs/commands/array/ardelrange.mdx +32 -0
  11. package/docs/commands/array/arget.mdx +33 -0
  12. package/docs/commands/array/argetrange.mdx +38 -0
  13. package/docs/commands/array/argrep.mdx +69 -0
  14. package/docs/commands/array/arinfo.mdx +49 -0
  15. package/docs/commands/array/arinsert.mdx +32 -0
  16. package/docs/commands/array/arlastitems.mdx +40 -0
  17. package/docs/commands/array/arlen.mdx +28 -0
  18. package/docs/commands/array/armget.mdx +31 -0
  19. package/docs/commands/array/armset.mdx +31 -0
  20. package/docs/commands/array/arnext.mdx +25 -0
  21. package/docs/commands/array/arop.mdx +44 -0
  22. package/docs/commands/array/arring.mdx +36 -0
  23. package/docs/commands/array/arscan.mdx +42 -0
  24. package/docs/commands/array/arseek.mdx +34 -0
  25. package/docs/commands/array/arset.mdx +35 -0
  26. package/docs/commands/auth/echo.mdx +24 -0
  27. package/docs/commands/auth/ping.mdx +21 -0
  28. package/docs/commands/bitmap/bitcount.mdx +39 -0
  29. package/docs/commands/bitmap/bitop.mdx +142 -0
  30. package/docs/commands/bitmap/bitpos.mdx +39 -0
  31. package/docs/commands/bitmap/getbit.mdx +28 -0
  32. package/docs/commands/bitmap/setbit.mdx +31 -0
  33. package/docs/commands/connection/client_setinfo.mdx +91 -0
  34. package/docs/commands/functions/call.mdx +72 -0
  35. package/docs/commands/functions/call_ro.mdx +57 -0
  36. package/docs/commands/functions/delete.mdx +22 -0
  37. package/docs/commands/functions/flush.mdx +16 -0
  38. package/docs/commands/functions/list.mdx +72 -0
  39. package/docs/commands/functions/load.mdx +64 -0
  40. package/docs/commands/functions/stats.mdx +46 -0
  41. package/docs/commands/generic/del.mdx +29 -0
  42. package/docs/commands/generic/exists.mdx +26 -0
  43. package/docs/commands/generic/expire.mdx +29 -0
  44. package/docs/commands/generic/expireat.mdx +29 -0
  45. package/docs/commands/generic/keys.mdx +32 -0
  46. package/docs/commands/generic/persist.mdx +23 -0
  47. package/docs/commands/generic/pexpire.mdx +28 -0
  48. package/docs/commands/generic/pexpireat.mdx +29 -0
  49. package/docs/commands/generic/pttl.mdx +23 -0
  50. package/docs/commands/generic/randomkey.mdx +21 -0
  51. package/docs/commands/generic/rename.mdx +28 -0
  52. package/docs/commands/generic/renamenx.mdx +28 -0
  53. package/docs/commands/generic/scan.mdx +38 -0
  54. package/docs/commands/generic/touch.mdx +23 -0
  55. package/docs/commands/generic/ttl.mdx +23 -0
  56. package/docs/commands/generic/type.mdx +27 -0
  57. package/docs/commands/generic/unlink.mdx +29 -0
  58. package/docs/commands/hash/hdel.mdx +28 -0
  59. package/docs/commands/hash/hexists.mdx +30 -0
  60. package/docs/commands/hash/hexpire.mdx +49 -0
  61. package/docs/commands/hash/hexpireat.mdx +48 -0
  62. package/docs/commands/hash/hexpiretime.mdx +35 -0
  63. package/docs/commands/hash/hget.mdx +29 -0
  64. package/docs/commands/hash/hgetall.mdx +27 -0
  65. package/docs/commands/hash/hgetdel.mdx +67 -0
  66. package/docs/commands/hash/hgetex.mdx +123 -0
  67. package/docs/commands/hash/hincrby.mdx +34 -0
  68. package/docs/commands/hash/hincrbyfloat.mdx +34 -0
  69. package/docs/commands/hash/hkeys.mdx +28 -0
  70. package/docs/commands/hash/hlen.mdx +28 -0
  71. package/docs/commands/hash/hmget.mdx +33 -0
  72. package/docs/commands/hash/hpersist.mdx +37 -0
  73. package/docs/commands/hash/hpexpire.mdx +50 -0
  74. package/docs/commands/hash/hpexpireat.mdx +48 -0
  75. package/docs/commands/hash/hpexpiretime.mdx +35 -0
  76. package/docs/commands/hash/hpttl.mdx +35 -0
  77. package/docs/commands/hash/hrandfield.mdx +57 -0
  78. package/docs/commands/hash/hscan.mdx +65 -0
  79. package/docs/commands/hash/hset.mdx +32 -0
  80. package/docs/commands/hash/hsetex.mdx +186 -0
  81. package/docs/commands/hash/hsetnx.mdx +30 -0
  82. package/docs/commands/hash/hstrlen.mdx +28 -0
  83. package/docs/commands/hash/httl.mdx +35 -0
  84. package/docs/commands/hash/hvals.mdx +29 -0
  85. package/docs/commands/json/arrappend.mdx +35 -0
  86. package/docs/commands/json/arrindex.mdx +37 -0
  87. package/docs/commands/json/arrinsert.mdx +34 -0
  88. package/docs/commands/json/arrlen.mdx +26 -0
  89. package/docs/commands/json/arrpop.mdx +36 -0
  90. package/docs/commands/json/arrtrim.mdx +34 -0
  91. package/docs/commands/json/clear.mdx +30 -0
  92. package/docs/commands/json/del.mdx +26 -0
  93. package/docs/commands/json/forget.mdx +26 -0
  94. package/docs/commands/json/get.mdx +53 -0
  95. package/docs/commands/json/merge.mdx +32 -0
  96. package/docs/commands/json/mget.mdx +27 -0
  97. package/docs/commands/json/mset.mdx +26 -0
  98. package/docs/commands/json/numincrby.mdx +33 -0
  99. package/docs/commands/json/nummultby.mdx +33 -0
  100. package/docs/commands/json/objkeys.mdx +27 -0
  101. package/docs/commands/json/objlen.mdx +27 -0
  102. package/docs/commands/json/set.mdx +42 -0
  103. package/docs/commands/json/strappend.mdx +32 -0
  104. package/docs/commands/json/strlen.mdx +26 -0
  105. package/docs/commands/json/toggle.mdx +28 -0
  106. package/docs/commands/json/type.mdx +28 -0
  107. package/docs/commands/list/lindex.mdx +32 -0
  108. package/docs/commands/list/linsert.mdx +41 -0
  109. package/docs/commands/list/llen.mdx +26 -0
  110. package/docs/commands/list/lmove.mdx +34 -0
  111. package/docs/commands/list/lpop.mdx +37 -0
  112. package/docs/commands/list/lpos.mdx +56 -0
  113. package/docs/commands/list/lpush.mdx +32 -0
  114. package/docs/commands/list/lpushx.mdx +38 -0
  115. package/docs/commands/list/lrange.mdx +37 -0
  116. package/docs/commands/list/lrem.mdx +33 -0
  117. package/docs/commands/list/lset.mdx +34 -0
  118. package/docs/commands/list/ltrim.mdx +33 -0
  119. package/docs/commands/list/rpop.mdx +37 -0
  120. package/docs/commands/list/rpush.mdx +32 -0
  121. package/docs/commands/list/rpushx.mdx +38 -0
  122. package/docs/commands/overview.mdx +692 -0
  123. package/docs/commands/pubsub/psubscribe.mdx +36 -0
  124. package/docs/commands/pubsub/publish.mdx +27 -0
  125. package/docs/commands/pubsub/subscribe.mdx +28 -0
  126. package/docs/commands/scripts/eval.mdx +36 -0
  127. package/docs/commands/scripts/eval_ro.mdx +36 -0
  128. package/docs/commands/scripts/evalsha.mdx +36 -0
  129. package/docs/commands/scripts/evalsha_ro.mdx +36 -0
  130. package/docs/commands/scripts/script_exists.mdx +26 -0
  131. package/docs/commands/scripts/script_flush.mdx +28 -0
  132. package/docs/commands/scripts/script_load.mdx +28 -0
  133. package/docs/commands/server/dbsize.mdx +22 -0
  134. package/docs/commands/server/flushall.mdx +25 -0
  135. package/docs/commands/server/flushdb.mdx +25 -0
  136. package/docs/commands/set/sadd.mdx +32 -0
  137. package/docs/commands/set/scard.mdx +26 -0
  138. package/docs/commands/set/sdiff.mdx +27 -0
  139. package/docs/commands/set/sdiffstore.mdx +32 -0
  140. package/docs/commands/set/sinter.mdx +27 -0
  141. package/docs/commands/set/sinterstore.mdx +33 -0
  142. package/docs/commands/set/sismember.mdx +30 -0
  143. package/docs/commands/set/smembers.mdx +25 -0
  144. package/docs/commands/set/smismember.mdx +31 -0
  145. package/docs/commands/set/smove.mdx +34 -0
  146. package/docs/commands/set/spop.mdx +36 -0
  147. package/docs/commands/set/srandmember.mdx +36 -0
  148. package/docs/commands/set/srem.mdx +29 -0
  149. package/docs/commands/set/sscan.mdx +39 -0
  150. package/docs/commands/set/sunion.mdx +27 -0
  151. package/docs/commands/set/sunionstore.mdx +33 -0
  152. package/docs/commands/stream/xack.mdx +37 -0
  153. package/docs/commands/stream/xackdel.mdx +211 -0
  154. package/docs/commands/stream/xadd.mdx +137 -0
  155. package/docs/commands/stream/xautoclaim.mdx +80 -0
  156. package/docs/commands/stream/xclaim.mdx +84 -0
  157. package/docs/commands/stream/xdel.mdx +34 -0
  158. package/docs/commands/stream/xdelex.mdx +119 -0
  159. package/docs/commands/stream/xgroup.mdx +141 -0
  160. package/docs/commands/stream/xinfo.mdx +77 -0
  161. package/docs/commands/stream/xlen.mdx +22 -0
  162. package/docs/commands/stream/xpending.mdx +75 -0
  163. package/docs/commands/stream/xrange.mdx +59 -0
  164. package/docs/commands/stream/xread.mdx +65 -0
  165. package/docs/commands/stream/xreadgroup.mdx +87 -0
  166. package/docs/commands/stream/xrevrange.mdx +65 -0
  167. package/docs/commands/stream/xtrim.mdx +75 -0
  168. package/docs/commands/string/append.mdx +28 -0
  169. package/docs/commands/string/decr.mdx +27 -0
  170. package/docs/commands/string/decrby.mdx +30 -0
  171. package/docs/commands/string/get.mdx +34 -0
  172. package/docs/commands/string/getdel.mdx +29 -0
  173. package/docs/commands/string/getrange.mdx +34 -0
  174. package/docs/commands/string/getset.mdx +28 -0
  175. package/docs/commands/string/incr.mdx +27 -0
  176. package/docs/commands/string/incrby.mdx +30 -0
  177. package/docs/commands/string/incrbyfloat.mdx +30 -0
  178. package/docs/commands/string/mget.mdx +31 -0
  179. package/docs/commands/string/mset.mdx +32 -0
  180. package/docs/commands/string/msetnx.mdx +29 -0
  181. package/docs/commands/string/set.mdx +79 -0
  182. package/docs/commands/string/setrange.mdx +38 -0
  183. package/docs/commands/string/strlen.mdx +26 -0
  184. package/docs/commands/transaction.mdx +22 -0
  185. package/docs/commands/zset/zadd.mdx +102 -0
  186. package/docs/commands/zset/zcard.mdx +31 -0
  187. package/docs/commands/zset/zcount.mdx +47 -0
  188. package/docs/commands/zset/zdiffstore.mdx +33 -0
  189. package/docs/commands/zset/zincrby.mdx +37 -0
  190. package/docs/commands/zset/zinterstore.mdx +98 -0
  191. package/docs/commands/zset/zlexcount.mdx +43 -0
  192. package/docs/commands/zset/zmscore.mdx +34 -0
  193. package/docs/commands/zset/zpopmax.mdx +25 -0
  194. package/docs/commands/zset/zpopmin.mdx +25 -0
  195. package/docs/commands/zset/zrange.mdx +85 -0
  196. package/docs/commands/zset/zrank.mdx +29 -0
  197. package/docs/commands/zset/zrem.mdx +33 -0
  198. package/docs/commands/zset/zremrangebylex.mdx +32 -0
  199. package/docs/commands/zset/zremrangebyrank.mdx +32 -0
  200. package/docs/commands/zset/zremrangebyscore.mdx +32 -0
  201. package/docs/commands/zset/zrevrank.mdx +29 -0
  202. package/docs/commands/zset/zscan.mdx +58 -0
  203. package/docs/commands/zset/zscore.mdx +34 -0
  204. package/docs/commands/zset/zunionstore.mdx +98 -0
  205. package/docs/deployment.mdx +117 -0
  206. package/docs/developing.mdx +118 -0
  207. package/docs/getstarted.mdx +68 -0
  208. package/docs/overview.mdx +29 -0
  209. package/docs/pipelining/auto-pipeline.mdx +108 -0
  210. package/docs/pipelining/pipeline-transaction.mdx +65 -0
  211. package/docs/retries.mdx +24 -0
  212. package/docs/troubleshooting.mdx +80 -0
  213. package/{error-BNzLTXJG.d.mts → error-4e36-PC0.d.mts} +838 -8
  214. package/{error-BNzLTXJG.d.ts → error-4e36-PC0.d.ts} +838 -8
  215. package/fastly.d.mts +2 -2
  216. package/fastly.d.ts +2 -2
  217. package/fastly.js +557 -4
  218. package/fastly.mjs +1 -1
  219. package/nodejs.d.mts +34 -2
  220. package/nodejs.d.ts +34 -2
  221. package/nodejs.js +586 -4
  222. package/nodejs.mjs +30 -1
  223. package/package.json +16 -5
  224. package/src/pkg/auto-pipeline.ts +284 -0
  225. package/src/pkg/commands/append.ts +12 -0
  226. package/src/pkg/commands/arcount.ts +14 -0
  227. package/src/pkg/commands/ardel.ts +19 -0
  228. package/src/pkg/commands/ardelrange.ts +19 -0
  229. package/src/pkg/commands/arget.ts +17 -0
  230. package/src/pkg/commands/argetrange.ts +20 -0
  231. package/src/pkg/commands/argrep.ts +109 -0
  232. package/src/pkg/commands/arinfo.ts +88 -0
  233. package/src/pkg/commands/arinsert.ts +24 -0
  234. package/src/pkg/commands/arlastitems.ts +29 -0
  235. package/src/pkg/commands/arlen.ts +23 -0
  236. package/src/pkg/commands/armget.ts +18 -0
  237. package/src/pkg/commands/armset.ts +26 -0
  238. package/src/pkg/commands/arnext.ts +20 -0
  239. package/src/pkg/commands/arop.ts +48 -0
  240. package/src/pkg/commands/arring.ts +23 -0
  241. package/src/pkg/commands/arscan.ts +44 -0
  242. package/src/pkg/commands/arseek.ts +17 -0
  243. package/src/pkg/commands/arset.ts +20 -0
  244. package/src/pkg/commands/bitcount.ts +30 -0
  245. package/src/pkg/commands/bitfield.ts +50 -0
  246. package/src/pkg/commands/bitop.ts +35 -0
  247. package/src/pkg/commands/bitpos.ts +15 -0
  248. package/src/pkg/commands/client_setinfo.ts +17 -0
  249. package/src/pkg/commands/command.ts +142 -0
  250. package/src/pkg/commands/copy.ts +22 -0
  251. package/src/pkg/commands/dbsize.ts +12 -0
  252. package/src/pkg/commands/decr.ts +12 -0
  253. package/src/pkg/commands/decrby.ts +12 -0
  254. package/src/pkg/commands/del.ts +12 -0
  255. package/src/pkg/commands/echo.ts +12 -0
  256. package/src/pkg/commands/eval.ts +18 -0
  257. package/src/pkg/commands/evalRo.ts +18 -0
  258. package/src/pkg/commands/evalsha.ts +18 -0
  259. package/src/pkg/commands/evalshaRo.ts +18 -0
  260. package/src/pkg/commands/exec.ts +23 -0
  261. package/src/pkg/commands/exists.ts +12 -0
  262. package/src/pkg/commands/expire.ts +13 -0
  263. package/src/pkg/commands/expireat.ts +16 -0
  264. package/src/pkg/commands/fcall.ts +15 -0
  265. package/src/pkg/commands/fcall_ro.ts +18 -0
  266. package/src/pkg/commands/flushall.ts +15 -0
  267. package/src/pkg/commands/flushdb.ts +15 -0
  268. package/src/pkg/commands/function_delete.ts +12 -0
  269. package/src/pkg/commands/function_flush.ts +12 -0
  270. package/src/pkg/commands/function_list.ts +77 -0
  271. package/src/pkg/commands/function_load.ts +31 -0
  272. package/src/pkg/commands/function_stats.ts +42 -0
  273. package/src/pkg/commands/geo_add.ts +54 -0
  274. package/src/pkg/commands/geo_dist.ts +19 -0
  275. package/src/pkg/commands/geo_hash.ts +23 -0
  276. package/src/pkg/commands/geo_pos.ts +39 -0
  277. package/src/pkg/commands/geo_search.ts +140 -0
  278. package/src/pkg/commands/geo_search_store.ts +69 -0
  279. package/src/pkg/commands/get.ts +15 -0
  280. package/src/pkg/commands/getbit.ts +12 -0
  281. package/src/pkg/commands/getdel.ts +15 -0
  282. package/src/pkg/commands/getex.ts +36 -0
  283. package/src/pkg/commands/getrange.ts +15 -0
  284. package/src/pkg/commands/getset.ts +15 -0
  285. package/src/pkg/commands/hdel.ts +12 -0
  286. package/src/pkg/commands/hexists.ts +12 -0
  287. package/src/pkg/commands/hexpire.ts +30 -0
  288. package/src/pkg/commands/hexpireat.ts +30 -0
  289. package/src/pkg/commands/hexpiretime.ts +13 -0
  290. package/src/pkg/commands/hget.ts +18 -0
  291. package/src/pkg/commands/hgetall.ts +44 -0
  292. package/src/pkg/commands/hgetdel.ts +30 -0
  293. package/src/pkg/commands/hgetex.ts +56 -0
  294. package/src/pkg/commands/hincrby.ts +15 -0
  295. package/src/pkg/commands/hincrbyfloat.ts +15 -0
  296. package/src/pkg/commands/hkeys.ts +12 -0
  297. package/src/pkg/commands/hlen.ts +12 -0
  298. package/src/pkg/commands/hmget.ts +53 -0
  299. package/src/pkg/commands/hmset.ts +14 -0
  300. package/src/pkg/commands/hpersist.ts +13 -0
  301. package/src/pkg/commands/hpexpire.ts +30 -0
  302. package/src/pkg/commands/hpexpireat.ts +30 -0
  303. package/src/pkg/commands/hpexpiretime.ts +13 -0
  304. package/src/pkg/commands/hpttl.ts +13 -0
  305. package/src/pkg/commands/hrandfield.ts +52 -0
  306. package/src/pkg/commands/hscan.ts +31 -0
  307. package/src/pkg/commands/hset.ts +15 -0
  308. package/src/pkg/commands/hsetex.ts +59 -0
  309. package/src/pkg/commands/hsetnx.ts +15 -0
  310. package/src/pkg/commands/hstrlen.ts +12 -0
  311. package/src/pkg/commands/httl.ts +13 -0
  312. package/src/pkg/commands/hvals.ts +12 -0
  313. package/src/pkg/commands/incr.ts +12 -0
  314. package/src/pkg/commands/incrby.ts +12 -0
  315. package/src/pkg/commands/incrbyfloat.ts +12 -0
  316. package/src/pkg/commands/json_arrappend.ts +18 -0
  317. package/src/pkg/commands/json_arrindex.ts +15 -0
  318. package/src/pkg/commands/json_arrinsert.ts +18 -0
  319. package/src/pkg/commands/json_arrlen.ts +15 -0
  320. package/src/pkg/commands/json_arrpop.ts +15 -0
  321. package/src/pkg/commands/json_arrtrim.ts +19 -0
  322. package/src/pkg/commands/json_clear.ts +12 -0
  323. package/src/pkg/commands/json_del.ts +12 -0
  324. package/src/pkg/commands/json_forget.ts +12 -0
  325. package/src/pkg/commands/json_get.ts +45 -0
  326. package/src/pkg/commands/json_merge.ts +18 -0
  327. package/src/pkg/commands/json_mget.ts +12 -0
  328. package/src/pkg/commands/json_mset.ts +27 -0
  329. package/src/pkg/commands/json_numincrby.ts +15 -0
  330. package/src/pkg/commands/json_nummultby.ts +15 -0
  331. package/src/pkg/commands/json_objkeys.ts +15 -0
  332. package/src/pkg/commands/json_objlen.ts +15 -0
  333. package/src/pkg/commands/json_resp.ts +11 -0
  334. package/src/pkg/commands/json_set.ts +35 -0
  335. package/src/pkg/commands/json_strappend.ts +15 -0
  336. package/src/pkg/commands/json_strlen.ts +15 -0
  337. package/src/pkg/commands/json_toggle.ts +12 -0
  338. package/src/pkg/commands/json_type.ts +12 -0
  339. package/src/pkg/commands/keys.ts +12 -0
  340. package/src/pkg/commands/lindex.ts +11 -0
  341. package/src/pkg/commands/linsert.ts +10 -0
  342. package/src/pkg/commands/llen.ts +12 -0
  343. package/src/pkg/commands/lmove.ts +20 -0
  344. package/src/pkg/commands/lmpop.ts +19 -0
  345. package/src/pkg/commands/lpop.ts +18 -0
  346. package/src/pkg/commands/lpos.ts +26 -0
  347. package/src/pkg/commands/lpush.ts +12 -0
  348. package/src/pkg/commands/lpushx.ts +12 -0
  349. package/src/pkg/commands/lrange.ts +11 -0
  350. package/src/pkg/commands/lrem.ts +10 -0
  351. package/src/pkg/commands/lset.ts +8 -0
  352. package/src/pkg/commands/ltrim.ts +8 -0
  353. package/src/pkg/commands/mget.ts +15 -0
  354. package/src/pkg/commands/mod.ts +222 -0
  355. package/src/pkg/commands/mset.ts +12 -0
  356. package/src/pkg/commands/msetnx.ts +12 -0
  357. package/src/pkg/commands/persist.ts +12 -0
  358. package/src/pkg/commands/pexpire.ts +16 -0
  359. package/src/pkg/commands/pexpireat.ts +16 -0
  360. package/src/pkg/commands/pfadd.ts +11 -0
  361. package/src/pkg/commands/pfcount.ts +11 -0
  362. package/src/pkg/commands/pfmerge.ts +11 -0
  363. package/src/pkg/commands/ping.ts +15 -0
  364. package/src/pkg/commands/psetex.ts +14 -0
  365. package/src/pkg/commands/psubscribe.ts +26 -0
  366. package/src/pkg/commands/pttl.ts +12 -0
  367. package/src/pkg/commands/publish.ts +12 -0
  368. package/src/pkg/commands/randomkey.ts +12 -0
  369. package/src/pkg/commands/rename.ts +12 -0
  370. package/src/pkg/commands/renamenx.ts +12 -0
  371. package/src/pkg/commands/rpop.ts +21 -0
  372. package/src/pkg/commands/rpush.ts +12 -0
  373. package/src/pkg/commands/rpushx.ts +12 -0
  374. package/src/pkg/commands/sadd.ts +15 -0
  375. package/src/pkg/commands/scan.ts +63 -0
  376. package/src/pkg/commands/scard.ts +11 -0
  377. package/src/pkg/commands/script_exists.ts +15 -0
  378. package/src/pkg/commands/script_flush.ts +22 -0
  379. package/src/pkg/commands/script_load.ts +12 -0
  380. package/src/pkg/commands/sdiff.ts +11 -0
  381. package/src/pkg/commands/sdiffstore.ts +14 -0
  382. package/src/pkg/commands/search/command-builder.ts +162 -0
  383. package/src/pkg/commands/search/index.ts +4 -0
  384. package/src/pkg/commands/search/schema-builder.ts +320 -0
  385. package/src/pkg/commands/search/search.ts +218 -0
  386. package/src/pkg/commands/search/types.ts +1029 -0
  387. package/src/pkg/commands/search/utils.ts +275 -0
  388. package/src/pkg/commands/set.ts +52 -0
  389. package/src/pkg/commands/setbit.ts +15 -0
  390. package/src/pkg/commands/setex.ts +11 -0
  391. package/src/pkg/commands/setnx.ts +11 -0
  392. package/src/pkg/commands/setrange.ts +15 -0
  393. package/src/pkg/commands/sinter.ts +11 -0
  394. package/src/pkg/commands/sintercard.ts +19 -0
  395. package/src/pkg/commands/sinterstore.ts +14 -0
  396. package/src/pkg/commands/sismember.ts +11 -0
  397. package/src/pkg/commands/smembers.ts +12 -0
  398. package/src/pkg/commands/smismember.ts +17 -0
  399. package/src/pkg/commands/smove.ts +14 -0
  400. package/src/pkg/commands/spop.ts +18 -0
  401. package/src/pkg/commands/srandmember.ts +18 -0
  402. package/src/pkg/commands/srem.ts +11 -0
  403. package/src/pkg/commands/sscan.ts +31 -0
  404. package/src/pkg/commands/strlen.ts +12 -0
  405. package/src/pkg/commands/subscribe.ts +254 -0
  406. package/src/pkg/commands/sunion.ts +12 -0
  407. package/src/pkg/commands/sunionstore.ts +15 -0
  408. package/src/pkg/commands/time.ts +10 -0
  409. package/src/pkg/commands/touch.ts +12 -0
  410. package/src/pkg/commands/ttl.ts +12 -0
  411. package/src/pkg/commands/type.ts +13 -0
  412. package/src/pkg/commands/types.ts +201 -0
  413. package/src/pkg/commands/unlink.ts +12 -0
  414. package/src/pkg/commands/vector/index.ts +11 -0
  415. package/src/pkg/commands/vector/types.ts +63 -0
  416. package/src/pkg/commands/vector/utils.ts +67 -0
  417. package/src/pkg/commands/vector/vector.ts +131 -0
  418. package/src/pkg/commands/vector_add.ts +18 -0
  419. package/src/pkg/commands/vector_count.ts +11 -0
  420. package/src/pkg/commands/vector_create.ts +28 -0
  421. package/src/pkg/commands/vector_del.ts +13 -0
  422. package/src/pkg/commands/vector_drop.ts +13 -0
  423. package/src/pkg/commands/vector_get.ts +18 -0
  424. package/src/pkg/commands/vector_info.ts +25 -0
  425. package/src/pkg/commands/vector_query.ts +24 -0
  426. package/src/pkg/commands/xack.ts +16 -0
  427. package/src/pkg/commands/xackdel.ts +21 -0
  428. package/src/pkg/commands/xadd.ts +70 -0
  429. package/src/pkg/commands/xautoclaim.ts +31 -0
  430. package/src/pkg/commands/xclaim.ts +56 -0
  431. package/src/pkg/commands/xdel.ts +16 -0
  432. package/src/pkg/commands/xdelex.ts +25 -0
  433. package/src/pkg/commands/xgroup.ts +101 -0
  434. package/src/pkg/commands/xinfo.ts +28 -0
  435. package/src/pkg/commands/xlen.ts +12 -0
  436. package/src/pkg/commands/xpending.ts +44 -0
  437. package/src/pkg/commands/xrange.ts +49 -0
  438. package/src/pkg/commands/xread.ts +78 -0
  439. package/src/pkg/commands/xreadgroup.ts +74 -0
  440. package/src/pkg/commands/xrevrange.ts +48 -0
  441. package/src/pkg/commands/xtrim.ts +25 -0
  442. package/src/pkg/commands/zadd.ts +54 -0
  443. package/src/pkg/commands/zcard.ts +12 -0
  444. package/src/pkg/commands/zcount.ts +14 -0
  445. package/src/pkg/commands/zdiffstore.ts +15 -0
  446. package/src/pkg/commands/zincrby.ts +14 -0
  447. package/src/pkg/commands/zinterstore.ts +51 -0
  448. package/src/pkg/commands/zlexcount.ts +11 -0
  449. package/src/pkg/commands/zmscore.ts +16 -0
  450. package/src/pkg/commands/zpopmax.ts +18 -0
  451. package/src/pkg/commands/zpopmin.ts +18 -0
  452. package/src/pkg/commands/zrange.ts +72 -0
  453. package/src/pkg/commands/zrank.ts +14 -0
  454. package/src/pkg/commands/zrem.ts +11 -0
  455. package/src/pkg/commands/zremrangebylex.ts +11 -0
  456. package/src/pkg/commands/zremrangebyrank.ts +14 -0
  457. package/src/pkg/commands/zremrangebyscore.ts +18 -0
  458. package/src/pkg/commands/zrevrank.ts +14 -0
  459. package/src/pkg/commands/zscan.ts +31 -0
  460. package/src/pkg/commands/zscore.ts +15 -0
  461. package/src/pkg/commands/zunion.ts +54 -0
  462. package/src/pkg/commands/zunionstore.ts +52 -0
  463. package/src/pkg/error.ts +28 -0
  464. package/src/pkg/http.ts +458 -0
  465. package/src/pkg/index.ts +1 -0
  466. package/src/pkg/pipeline.ts +2041 -0
  467. package/src/pkg/redis.ts +2130 -0
  468. package/src/pkg/script.ts +100 -0
  469. package/src/pkg/scriptRo.ts +98 -0
  470. package/src/pkg/types.ts +35 -0
  471. package/src/pkg/util.ts +115 -0
  472. package/src/platforms/cloudflare.ts +162 -0
  473. package/src/platforms/fastly.ts +105 -0
  474. package/src/platforms/nodejs.ts +231 -0
  475. package/src/version.ts +1 -0
@@ -425,7 +425,8 @@ var FIELD_TYPES = [
425
425
  "BOOL",
426
426
  "DATE",
427
427
  "KEYWORD",
428
- "FACET"
428
+ "FACET",
429
+ "HYBRID"
429
430
  ];
430
431
 
431
432
  // pkg/commands/search/utils.ts
@@ -795,8 +796,12 @@ var SearchIndex = class {
795
796
  ).exec(this.client);
796
797
  return deserializeAggregateResponse(rawResult);
797
798
  }
798
- async count({ filter }) {
799
- const command = buildQueryCommand("SEARCH.COUNT", this.name, { filter });
799
+ async count({
800
+ filter
801
+ }) {
802
+ const command = buildQueryCommand("SEARCH.COUNT", this.name, {
803
+ filter
804
+ });
800
805
  const rawResult = await new ExecCommand(command).exec(
801
806
  this.client
802
807
  );
@@ -3527,82 +3532,102 @@ var Pipeline = class {
3527
3532
  }
3528
3533
  /**
3529
3534
  * @see https://redis.io/commands/append
3535
+ * @see node_modules/@upstash/redis/docs/commands/string/append.mdx
3530
3536
  */
3531
3537
  append = (...args) => this.chain(new AppendCommand(args, this.commandOptions));
3532
3538
  /**
3533
3539
  * @see https://upstash.com/docs/redis/commands/array/arcount
3540
+ * @see node_modules/@upstash/redis/docs/commands/array/arcount.mdx
3534
3541
  */
3535
3542
  arcount = (...args) => this.chain(new ArCountCommand(args, this.commandOptions));
3536
3543
  /**
3537
3544
  * @see https://upstash.com/docs/redis/commands/array/ardel
3545
+ * @see node_modules/@upstash/redis/docs/commands/array/ardel.mdx
3538
3546
  */
3539
3547
  ardel = (...args) => this.chain(new ArDelCommand(args, this.commandOptions));
3540
3548
  /**
3541
3549
  * @see https://upstash.com/docs/redis/commands/array/ardelrange
3550
+ * @see node_modules/@upstash/redis/docs/commands/array/ardelrange.mdx
3542
3551
  */
3543
3552
  ardelrange = (...args) => this.chain(new ArDelRangeCommand(args, this.commandOptions));
3544
3553
  /**
3545
3554
  * @see https://upstash.com/docs/redis/commands/array/arget
3555
+ * @see node_modules/@upstash/redis/docs/commands/array/arget.mdx
3546
3556
  */
3547
3557
  arget = (...args) => this.chain(new ArGetCommand(args, this.commandOptions));
3548
3558
  /**
3549
3559
  * @see https://upstash.com/docs/redis/commands/array/argetrange
3560
+ * @see node_modules/@upstash/redis/docs/commands/array/argetrange.mdx
3550
3561
  */
3551
3562
  argetrange = (...args) => this.chain(new ArGetRangeCommand(args, this.commandOptions));
3552
3563
  /**
3553
3564
  * @see https://upstash.com/docs/redis/commands/array/argrep
3565
+ * @see node_modules/@upstash/redis/docs/commands/array/argrep.mdx
3554
3566
  */
3555
3567
  argrep = (key, start, end, opts) => this.chain(new ArGrepCommand([key, start, end, opts], this.commandOptions));
3556
3568
  /**
3557
3569
  * @see https://upstash.com/docs/redis/commands/array/arinfo
3570
+ * @see node_modules/@upstash/redis/docs/commands/array/arinfo.mdx
3558
3571
  */
3559
3572
  arinfo = (...args) => this.chain(new ArInfoCommand(args, this.commandOptions));
3560
3573
  /**
3561
3574
  * @see https://upstash.com/docs/redis/commands/array/arinsert
3575
+ * @see node_modules/@upstash/redis/docs/commands/array/arinsert.mdx
3562
3576
  */
3563
3577
  arinsert = (key, ...values) => this.chain(new ArInsertCommand([key, ...values], this.commandOptions));
3564
3578
  /**
3565
3579
  * @see https://upstash.com/docs/redis/commands/array/arlastitems
3580
+ * @see node_modules/@upstash/redis/docs/commands/array/arlastitems.mdx
3566
3581
  */
3567
3582
  arlastitems = (...args) => this.chain(new ArLastItemsCommand(args, this.commandOptions));
3568
3583
  /**
3569
3584
  * @see https://upstash.com/docs/redis/commands/array/arlen
3585
+ * @see node_modules/@upstash/redis/docs/commands/array/arlen.mdx
3570
3586
  */
3571
3587
  arlen = (...args) => this.chain(new ArLenCommand(args, this.commandOptions));
3572
3588
  /**
3573
3589
  * @see https://upstash.com/docs/redis/commands/array/armget
3590
+ * @see node_modules/@upstash/redis/docs/commands/array/armget.mdx
3574
3591
  */
3575
3592
  armget = (...args) => this.chain(new ArMGetCommand(args, this.commandOptions));
3576
3593
  /**
3577
3594
  * @see https://upstash.com/docs/redis/commands/array/armset
3595
+ * @see node_modules/@upstash/redis/docs/commands/array/armset.mdx
3578
3596
  */
3579
3597
  armset = (key, values) => this.chain(new ArMSetCommand([key, values], this.commandOptions));
3580
3598
  /**
3581
3599
  * @see https://upstash.com/docs/redis/commands/array/arnext
3600
+ * @see node_modules/@upstash/redis/docs/commands/array/arnext.mdx
3582
3601
  */
3583
3602
  arnext = (...args) => this.chain(new ArNextCommand(args, this.commandOptions));
3584
3603
  /**
3585
3604
  * @see https://upstash.com/docs/redis/commands/array/arop
3605
+ * @see node_modules/@upstash/redis/docs/commands/array/arop.mdx
3586
3606
  */
3587
3607
  arop = (key, start, end, operation) => this.chain(new ArOpCommand([key, start, end, operation], this.commandOptions));
3588
3608
  /**
3589
3609
  * @see https://upstash.com/docs/redis/commands/array/arring
3610
+ * @see node_modules/@upstash/redis/docs/commands/array/arring.mdx
3590
3611
  */
3591
3612
  arring = (key, size, ...values) => this.chain(new ArRingCommand([key, size, ...values], this.commandOptions));
3592
3613
  /**
3593
3614
  * @see https://upstash.com/docs/redis/commands/array/arscan
3615
+ * @see node_modules/@upstash/redis/docs/commands/array/arscan.mdx
3594
3616
  */
3595
3617
  arscan = (...args) => this.chain(new ArScanCommand(args, this.commandOptions));
3596
3618
  /**
3597
3619
  * @see https://upstash.com/docs/redis/commands/array/arseek
3620
+ * @see node_modules/@upstash/redis/docs/commands/array/arseek.mdx
3598
3621
  */
3599
3622
  arseek = (...args) => this.chain(new ArSeekCommand(args, this.commandOptions));
3600
3623
  /**
3601
3624
  * @see https://upstash.com/docs/redis/commands/array/arset
3625
+ * @see node_modules/@upstash/redis/docs/commands/array/arset.mdx
3602
3626
  */
3603
3627
  arset = (key, index, ...values) => this.chain(new ArSetCommand([key, index, ...values], this.commandOptions));
3604
3628
  /**
3605
3629
  * @see https://redis.io/commands/bitcount
3630
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitcount.mdx
3606
3631
  */
3607
3632
  bitcount = (...args) => this.chain(new BitCountCommand(args, this.commandOptions));
3608
3633
  /**
@@ -3624,16 +3649,19 @@ var Pipeline = class {
3624
3649
  bitfield = (...args) => new BitFieldCommand(args, this.client, this.commandOptions, this.chain.bind(this));
3625
3650
  /**
3626
3651
  * @see https://redis.io/commands/bitop
3652
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitop.mdx
3627
3653
  */
3628
3654
  bitop = (op, destinationKey, sourceKey, ...sourceKeys) => this.chain(
3629
3655
  new BitOpCommand([op, destinationKey, sourceKey, ...sourceKeys], this.commandOptions)
3630
3656
  );
3631
3657
  /**
3632
3658
  * @see https://redis.io/commands/bitpos
3659
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitpos.mdx
3633
3660
  */
3634
3661
  bitpos = (...args) => this.chain(new BitPosCommand(args, this.commandOptions));
3635
3662
  /**
3636
3663
  * @see https://redis.io/commands/client-setinfo
3664
+ * @see node_modules/@upstash/redis/docs/commands/connection/client_setinfo.mdx
3637
3665
  */
3638
3666
  clientSetinfo = (...args) => this.chain(new ClientSetInfoCommand(args, this.commandOptions));
3639
3667
  /**
@@ -3642,62 +3670,89 @@ var Pipeline = class {
3642
3670
  copy = (...args) => this.chain(new CopyCommand(args, this.commandOptions));
3643
3671
  /**
3644
3672
  * @see https://redis.io/commands/zdiffstore
3673
+ * @see node_modules/@upstash/redis/docs/commands/zset/zdiffstore.mdx
3645
3674
  */
3646
3675
  zdiffstore = (...args) => this.chain(new ZDiffStoreCommand(args, this.commandOptions));
3647
3676
  /**
3648
3677
  * @see https://redis.io/commands/dbsize
3678
+ * @see node_modules/@upstash/redis/docs/commands/server/dbsize.mdx
3649
3679
  */
3650
3680
  dbsize = () => this.chain(new DBSizeCommand(this.commandOptions));
3651
3681
  /**
3652
3682
  * @see https://redis.io/commands/decr
3683
+ * @see node_modules/@upstash/redis/docs/commands/string/decr.mdx
3653
3684
  */
3654
3685
  decr = (...args) => this.chain(new DecrCommand(args, this.commandOptions));
3655
3686
  /**
3656
3687
  * @see https://redis.io/commands/decrby
3688
+ * @see node_modules/@upstash/redis/docs/commands/string/decrby.mdx
3657
3689
  */
3658
3690
  decrby = (...args) => this.chain(new DecrByCommand(args, this.commandOptions));
3659
3691
  /**
3660
3692
  * @see https://redis.io/commands/del
3693
+ * @see node_modules/@upstash/redis/docs/commands/generic/del.mdx
3661
3694
  */
3662
3695
  del = (...args) => this.chain(new DelCommand(args, this.commandOptions));
3663
3696
  /**
3664
3697
  * @see https://redis.io/commands/echo
3698
+ * @see node_modules/@upstash/redis/docs/commands/auth/echo.mdx
3665
3699
  */
3666
3700
  echo = (...args) => this.chain(new EchoCommand(args, this.commandOptions));
3667
3701
  /**
3668
3702
  * @see https://redis.io/commands/eval_ro
3703
+ * @see node_modules/@upstash/redis/docs/commands/scripts/eval_ro.mdx
3704
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3705
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3706
+ * to receive raw strings.
3669
3707
  */
3670
3708
  evalRo = (...args) => this.chain(new EvalROCommand(args, this.commandOptions));
3671
3709
  /**
3672
3710
  * @see https://redis.io/commands/eval
3711
+ * @see node_modules/@upstash/redis/docs/commands/scripts/eval.mdx
3712
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3713
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3714
+ * to receive raw strings.
3673
3715
  */
3674
3716
  eval = (...args) => this.chain(new EvalCommand(args, this.commandOptions));
3675
3717
  /**
3676
3718
  * @see https://redis.io/commands/evalsha_ro
3719
+ * @see node_modules/@upstash/redis/docs/commands/scripts/evalsha_ro.mdx
3720
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3721
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3722
+ * to receive raw strings.
3677
3723
  */
3678
3724
  evalshaRo = (...args) => this.chain(new EvalshaROCommand(args, this.commandOptions));
3679
3725
  /**
3680
3726
  * @see https://redis.io/commands/evalsha
3727
+ * @see node_modules/@upstash/redis/docs/commands/scripts/evalsha.mdx
3728
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3729
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3730
+ * to receive raw strings.
3681
3731
  */
3682
3732
  evalsha = (...args) => this.chain(new EvalshaCommand(args, this.commandOptions));
3683
3733
  /**
3684
3734
  * @see https://redis.io/commands/exists
3735
+ * @see node_modules/@upstash/redis/docs/commands/generic/exists.mdx
3685
3736
  */
3686
3737
  exists = (...args) => this.chain(new ExistsCommand(args, this.commandOptions));
3687
3738
  /**
3688
3739
  * @see https://redis.io/commands/expire
3740
+ * @see node_modules/@upstash/redis/docs/commands/generic/expire.mdx
3689
3741
  */
3690
3742
  expire = (...args) => this.chain(new ExpireCommand(args, this.commandOptions));
3691
3743
  /**
3692
3744
  * @see https://redis.io/commands/expireat
3745
+ * @see node_modules/@upstash/redis/docs/commands/generic/expireat.mdx
3693
3746
  */
3694
3747
  expireat = (...args) => this.chain(new ExpireAtCommand(args, this.commandOptions));
3695
3748
  /**
3696
3749
  * @see https://redis.io/commands/flushall
3750
+ * @see node_modules/@upstash/redis/docs/commands/server/flushall.mdx
3697
3751
  */
3698
3752
  flushall = (args) => this.chain(new FlushAllCommand(args, this.commandOptions));
3699
3753
  /**
3700
3754
  * @see https://redis.io/commands/flushdb
3755
+ * @see node_modules/@upstash/redis/docs/commands/server/flushdb.mdx
3701
3756
  */
3702
3757
  flushdb = (...args) => this.chain(new FlushDBCommand(args, this.commandOptions));
3703
3758
  /**
@@ -3726,106 +3781,166 @@ var Pipeline = class {
3726
3781
  geosearchstore = (...args) => this.chain(new GeoSearchStoreCommand(args, this.commandOptions));
3727
3782
  /**
3728
3783
  * @see https://redis.io/commands/get
3784
+ * @see node_modules/@upstash/redis/docs/commands/string/get.mdx
3785
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3786
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3787
+ * to receive raw strings.
3729
3788
  */
3730
3789
  get = (...args) => this.chain(new GetCommand(args, this.commandOptions));
3731
3790
  /**
3732
3791
  * @see https://redis.io/commands/getbit
3792
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/getbit.mdx
3733
3793
  */
3734
3794
  getbit = (...args) => this.chain(new GetBitCommand(args, this.commandOptions));
3735
3795
  /**
3736
3796
  * @see https://redis.io/commands/getdel
3797
+ * @see node_modules/@upstash/redis/docs/commands/string/getdel.mdx
3798
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3799
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3800
+ * to receive raw strings.
3737
3801
  */
3738
3802
  getdel = (...args) => this.chain(new GetDelCommand(args, this.commandOptions));
3739
3803
  /**
3740
3804
  * @see https://redis.io/commands/getex
3805
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3806
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3807
+ * to receive raw strings.
3741
3808
  */
3742
3809
  getex = (...args) => this.chain(new GetExCommand(args, this.commandOptions));
3743
3810
  /**
3744
3811
  * @see https://redis.io/commands/getrange
3812
+ * @see node_modules/@upstash/redis/docs/commands/string/getrange.mdx
3745
3813
  */
3746
3814
  getrange = (...args) => this.chain(new GetRangeCommand(args, this.commandOptions));
3747
3815
  /**
3748
3816
  * @see https://redis.io/commands/getset
3817
+ * @see node_modules/@upstash/redis/docs/commands/string/getset.mdx
3818
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3819
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3820
+ * to receive raw strings.
3749
3821
  */
3750
3822
  getset = (key, value) => this.chain(new GetSetCommand([key, value], this.commandOptions));
3751
3823
  /**
3752
3824
  * @see https://redis.io/commands/hdel
3825
+ * @see node_modules/@upstash/redis/docs/commands/hash/hdel.mdx
3753
3826
  */
3754
3827
  hdel = (...args) => this.chain(new HDelCommand(args, this.commandOptions));
3755
3828
  /**
3756
3829
  * @see https://redis.io/commands/hexists
3830
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexists.mdx
3757
3831
  */
3758
3832
  hexists = (...args) => this.chain(new HExistsCommand(args, this.commandOptions));
3759
3833
  /**
3760
3834
  * @see https://redis.io/commands/hexpire
3835
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpire.mdx
3761
3836
  */
3762
3837
  hexpire = (...args) => this.chain(new HExpireCommand(args, this.commandOptions));
3763
3838
  /**
3764
3839
  * @see https://redis.io/commands/hexpireat
3840
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpireat.mdx
3765
3841
  */
3766
3842
  hexpireat = (...args) => this.chain(new HExpireAtCommand(args, this.commandOptions));
3767
3843
  /**
3768
3844
  * @see https://redis.io/commands/hexpiretime
3845
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpiretime.mdx
3769
3846
  */
3770
3847
  hexpiretime = (...args) => this.chain(new HExpireTimeCommand(args, this.commandOptions));
3771
3848
  /**
3772
3849
  * @see https://redis.io/commands/httl
3850
+ * @see node_modules/@upstash/redis/docs/commands/hash/httl.mdx
3773
3851
  */
3774
3852
  httl = (...args) => this.chain(new HTtlCommand(args, this.commandOptions));
3775
3853
  /**
3776
3854
  * @see https://redis.io/commands/hpexpire
3855
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpire.mdx
3777
3856
  */
3778
3857
  hpexpire = (...args) => this.chain(new HPExpireCommand(args, this.commandOptions));
3779
3858
  /**
3780
3859
  * @see https://redis.io/commands/hpexpireat
3860
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpireat.mdx
3781
3861
  */
3782
3862
  hpexpireat = (...args) => this.chain(new HPExpireAtCommand(args, this.commandOptions));
3783
3863
  /**
3784
3864
  * @see https://redis.io/commands/hpexpiretime
3865
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpiretime.mdx
3785
3866
  */
3786
3867
  hpexpiretime = (...args) => this.chain(new HPExpireTimeCommand(args, this.commandOptions));
3787
3868
  /**
3788
3869
  * @see https://redis.io/commands/hpttl
3870
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpttl.mdx
3789
3871
  */
3790
3872
  hpttl = (...args) => this.chain(new HPTtlCommand(args, this.commandOptions));
3791
3873
  /**
3792
3874
  * @see https://redis.io/commands/hpersist
3875
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpersist.mdx
3793
3876
  */
3794
3877
  hpersist = (...args) => this.chain(new HPersistCommand(args, this.commandOptions));
3795
3878
  /**
3796
3879
  * @see https://redis.io/commands/hget
3880
+ * @see node_modules/@upstash/redis/docs/commands/hash/hget.mdx
3881
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3882
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3883
+ * to receive raw strings.
3797
3884
  */
3798
3885
  hget = (...args) => this.chain(new HGetCommand(args, this.commandOptions));
3799
3886
  /**
3800
3887
  * @see https://redis.io/commands/hgetall
3888
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetall.mdx
3889
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3890
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3891
+ * to receive raw strings.
3892
+ * With automaticDeserialization: false, hgetall returns a flat array instead, such as
3893
+ * ["text", "123", "version", "1"], and [] for a missing key.
3801
3894
  */
3802
3895
  hgetall = (...args) => this.chain(new HGetAllCommand(args, this.commandOptions));
3803
3896
  /**
3804
3897
  * @see https://redis.io/commands/hgetdel
3898
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetdel.mdx
3899
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3900
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3901
+ * to receive raw strings.
3902
+ * With automaticDeserialization: false, hgetdel returns an array of values in field order instead,
3903
+ * such as ["123", null], with null for each field when the key is missing.
3805
3904
  */
3806
3905
  hgetdel = (...args) => this.chain(new HGetDelCommand(args, this.commandOptions));
3807
3906
  /**
3808
3907
  * @see https://redis.io/commands/hgetex
3908
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetex.mdx
3909
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3910
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3911
+ * to receive raw strings.
3912
+ * With automaticDeserialization: false, hgetex returns an array of values in field order instead,
3913
+ * such as ["123", null], with null for each field when the key is missing.
3809
3914
  */
3810
3915
  hgetex = (...args) => this.chain(new HGetExCommand(args, this.commandOptions));
3811
3916
  /**
3812
3917
  * @see https://redis.io/commands/hincrby
3918
+ * @see node_modules/@upstash/redis/docs/commands/hash/hincrby.mdx
3813
3919
  */
3814
3920
  hincrby = (...args) => this.chain(new HIncrByCommand(args, this.commandOptions));
3815
3921
  /**
3816
3922
  * @see https://redis.io/commands/hincrbyfloat
3923
+ * @see node_modules/@upstash/redis/docs/commands/hash/hincrbyfloat.mdx
3817
3924
  */
3818
3925
  hincrbyfloat = (...args) => this.chain(new HIncrByFloatCommand(args, this.commandOptions));
3819
3926
  /**
3820
3927
  * @see https://redis.io/commands/hkeys
3928
+ * @see node_modules/@upstash/redis/docs/commands/hash/hkeys.mdx
3821
3929
  */
3822
3930
  hkeys = (...args) => this.chain(new HKeysCommand(args, this.commandOptions));
3823
3931
  /**
3824
3932
  * @see https://redis.io/commands/hlen
3933
+ * @see node_modules/@upstash/redis/docs/commands/hash/hlen.mdx
3825
3934
  */
3826
3935
  hlen = (...args) => this.chain(new HLenCommand(args, this.commandOptions));
3827
3936
  /**
3828
3937
  * @see https://redis.io/commands/hmget
3938
+ * @see node_modules/@upstash/redis/docs/commands/hash/hmget.mdx
3939
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
3940
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
3941
+ * to receive raw strings.
3942
+ * With automaticDeserialization: false, hmget returns an array of values in field order instead,
3943
+ * such as ["123", null], with null for each field when the key is missing.
3829
3944
  */
3830
3945
  hmget = (...args) => this.chain(new HMGetCommand(args, this.commandOptions));
3831
3946
  /**
@@ -3834,66 +3949,88 @@ var Pipeline = class {
3834
3949
  hmset = (key, kv) => this.chain(new HMSetCommand([key, kv], this.commandOptions));
3835
3950
  /**
3836
3951
  * @see https://redis.io/commands/hrandfield
3952
+ * @see node_modules/@upstash/redis/docs/commands/hash/hrandfield.mdx
3837
3953
  */
3838
3954
  hrandfield = (key, count, withValues) => this.chain(new HRandFieldCommand([key, count, withValues], this.commandOptions));
3839
3955
  /**
3840
3956
  * @see https://redis.io/commands/hscan
3957
+ * @see node_modules/@upstash/redis/docs/commands/hash/hscan.mdx
3841
3958
  */
3842
3959
  hscan = (...args) => this.chain(new HScanCommand(args, this.commandOptions));
3843
3960
  /**
3844
3961
  * @see https://redis.io/commands/hset
3962
+ * @see node_modules/@upstash/redis/docs/commands/hash/hset.mdx
3845
3963
  */
3846
3964
  hset = (key, kv) => this.chain(new HSetCommand([key, kv], this.commandOptions));
3847
3965
  /**
3848
3966
  * @see https://redis.io/commands/hsetex
3967
+ * @see node_modules/@upstash/redis/docs/commands/hash/hsetex.mdx
3849
3968
  */
3850
3969
  hsetex = (...args) => this.chain(new HSetExCommand(args, this.commandOptions));
3851
3970
  /**
3852
3971
  * @see https://redis.io/commands/hsetnx
3972
+ * @see node_modules/@upstash/redis/docs/commands/hash/hsetnx.mdx
3853
3973
  */
3854
3974
  hsetnx = (key, field, value) => this.chain(new HSetNXCommand([key, field, value], this.commandOptions));
3855
3975
  /**
3856
3976
  * @see https://redis.io/commands/hstrlen
3977
+ * @see node_modules/@upstash/redis/docs/commands/hash/hstrlen.mdx
3857
3978
  */
3858
3979
  hstrlen = (...args) => this.chain(new HStrLenCommand(args, this.commandOptions));
3859
3980
  /**
3860
3981
  * @see https://redis.io/commands/hvals
3982
+ * @see node_modules/@upstash/redis/docs/commands/hash/hvals.mdx
3861
3983
  */
3862
3984
  hvals = (...args) => this.chain(new HValsCommand(args, this.commandOptions));
3863
3985
  /**
3864
3986
  * @see https://redis.io/commands/incr
3987
+ * @see node_modules/@upstash/redis/docs/commands/string/incr.mdx
3865
3988
  */
3866
3989
  incr = (...args) => this.chain(new IncrCommand(args, this.commandOptions));
3867
3990
  /**
3868
3991
  * @see https://redis.io/commands/incrby
3992
+ * @see node_modules/@upstash/redis/docs/commands/string/incrby.mdx
3869
3993
  */
3870
3994
  incrby = (...args) => this.chain(new IncrByCommand(args, this.commandOptions));
3871
3995
  /**
3872
3996
  * @see https://redis.io/commands/incrbyfloat
3997
+ * @see node_modules/@upstash/redis/docs/commands/string/incrbyfloat.mdx
3873
3998
  */
3874
3999
  incrbyfloat = (...args) => this.chain(new IncrByFloatCommand(args, this.commandOptions));
3875
4000
  /**
3876
4001
  * @see https://redis.io/commands/keys
4002
+ * @see node_modules/@upstash/redis/docs/commands/generic/keys.mdx
3877
4003
  */
3878
4004
  keys = (...args) => this.chain(new KeysCommand(args, this.commandOptions));
3879
4005
  /**
3880
4006
  * @see https://redis.io/commands/lindex
4007
+ * @see node_modules/@upstash/redis/docs/commands/list/lindex.mdx
4008
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4009
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4010
+ * to receive raw strings.
3881
4011
  */
3882
4012
  lindex = (...args) => this.chain(new LIndexCommand(args, this.commandOptions));
3883
4013
  /**
3884
4014
  * @see https://redis.io/commands/linsert
4015
+ * @see node_modules/@upstash/redis/docs/commands/list/linsert.mdx
3885
4016
  */
3886
4017
  linsert = (key, direction, pivot, value) => this.chain(new LInsertCommand([key, direction, pivot, value], this.commandOptions));
3887
4018
  /**
3888
4019
  * @see https://redis.io/commands/llen
4020
+ * @see node_modules/@upstash/redis/docs/commands/list/llen.mdx
3889
4021
  */
3890
4022
  llen = (...args) => this.chain(new LLenCommand(args, this.commandOptions));
3891
4023
  /**
3892
4024
  * @see https://redis.io/commands/lmove
4025
+ * @see node_modules/@upstash/redis/docs/commands/list/lmove.mdx
3893
4026
  */
3894
4027
  lmove = (...args) => this.chain(new LMoveCommand(args, this.commandOptions));
3895
4028
  /**
3896
4029
  * @see https://redis.io/commands/lpop
4030
+ * @see node_modules/@upstash/redis/docs/commands/list/lpop.mdx
4031
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4032
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4033
+ * to receive raw strings.
3897
4034
  */
3898
4035
  lpop = (...args) => this.chain(new LPopCommand(args, this.commandOptions));
3899
4036
  /**
@@ -3902,54 +4039,73 @@ var Pipeline = class {
3902
4039
  lmpop = (...args) => this.chain(new LmPopCommand(args, this.commandOptions));
3903
4040
  /**
3904
4041
  * @see https://redis.io/commands/lpos
4042
+ * @see node_modules/@upstash/redis/docs/commands/list/lpos.mdx
3905
4043
  */
3906
4044
  lpos = (...args) => this.chain(new LPosCommand(args, this.commandOptions));
3907
4045
  /**
3908
4046
  * @see https://redis.io/commands/lpush
4047
+ * @see node_modules/@upstash/redis/docs/commands/list/lpush.mdx
3909
4048
  */
3910
4049
  lpush = (key, ...elements) => this.chain(new LPushCommand([key, ...elements], this.commandOptions));
3911
4050
  /**
3912
4051
  * @see https://redis.io/commands/lpushx
4052
+ * @see node_modules/@upstash/redis/docs/commands/list/lpushx.mdx
3913
4053
  */
3914
4054
  lpushx = (key, ...elements) => this.chain(new LPushXCommand([key, ...elements], this.commandOptions));
3915
4055
  /**
3916
4056
  * @see https://redis.io/commands/lrange
4057
+ * @see node_modules/@upstash/redis/docs/commands/list/lrange.mdx
4058
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4059
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4060
+ * to receive raw strings.
3917
4061
  */
3918
4062
  lrange = (...args) => this.chain(new LRangeCommand(args, this.commandOptions));
3919
4063
  /**
3920
4064
  * @see https://redis.io/commands/lrem
4065
+ * @see node_modules/@upstash/redis/docs/commands/list/lrem.mdx
3921
4066
  */
3922
4067
  lrem = (key, count, value) => this.chain(new LRemCommand([key, count, value], this.commandOptions));
3923
4068
  /**
3924
4069
  * @see https://redis.io/commands/lset
4070
+ * @see node_modules/@upstash/redis/docs/commands/list/lset.mdx
3925
4071
  */
3926
4072
  lset = (key, index, value) => this.chain(new LSetCommand([key, index, value], this.commandOptions));
3927
4073
  /**
3928
4074
  * @see https://redis.io/commands/ltrim
4075
+ * @see node_modules/@upstash/redis/docs/commands/list/ltrim.mdx
3929
4076
  */
3930
4077
  ltrim = (...args) => this.chain(new LTrimCommand(args, this.commandOptions));
3931
4078
  /**
3932
4079
  * @see https://redis.io/commands/mget
4080
+ * @see node_modules/@upstash/redis/docs/commands/string/mget.mdx
4081
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4082
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4083
+ * to receive raw strings.
3933
4084
  */
3934
4085
  mget = (...args) => this.chain(new MGetCommand(args, this.commandOptions));
3935
4086
  /**
3936
4087
  * @see https://redis.io/commands/mset
4088
+ * @see node_modules/@upstash/redis/docs/commands/string/mset.mdx
3937
4089
  */
3938
4090
  mset = (kv) => this.chain(new MSetCommand([kv], this.commandOptions));
3939
4091
  /**
3940
4092
  * @see https://redis.io/commands/msetnx
4093
+ * @see node_modules/@upstash/redis/docs/commands/string/msetnx.mdx
3941
4094
  */
3942
4095
  msetnx = (kv) => this.chain(new MSetNXCommand([kv], this.commandOptions));
3943
4096
  /**
3944
4097
  * @see https://redis.io/commands/persist
4098
+ * @see node_modules/@upstash/redis/docs/commands/generic/persist.mdx
3945
4099
  */
3946
4100
  persist = (...args) => this.chain(new PersistCommand(args, this.commandOptions));
3947
4101
  /**
3948
4102
  * @see https://redis.io/commands/pexpire
4103
+ * @see node_modules/@upstash/redis/docs/commands/generic/pexpire.mdx
3949
4104
  */
3950
4105
  pexpire = (...args) => this.chain(new PExpireCommand(args, this.commandOptions));
3951
4106
  /**
3952
4107
  * @see https://redis.io/commands/pexpireat
4108
+ * @see node_modules/@upstash/redis/docs/commands/generic/pexpireat.mdx
3953
4109
  */
3954
4110
  pexpireat = (...args) => this.chain(new PExpireAtCommand(args, this.commandOptions));
3955
4111
  /**
@@ -3966,6 +4122,7 @@ var Pipeline = class {
3966
4122
  pfmerge = (...args) => this.chain(new PfMergeCommand(args, this.commandOptions));
3967
4123
  /**
3968
4124
  * @see https://redis.io/commands/ping
4125
+ * @see node_modules/@upstash/redis/docs/commands/auth/ping.mdx
3969
4126
  */
3970
4127
  ping = (args) => this.chain(new PingCommand(args, this.commandOptions));
3971
4128
  /**
@@ -3974,74 +4131,95 @@ var Pipeline = class {
3974
4131
  psetex = (key, ttl, value) => this.chain(new PSetEXCommand([key, ttl, value], this.commandOptions));
3975
4132
  /**
3976
4133
  * @see https://redis.io/commands/pttl
4134
+ * @see node_modules/@upstash/redis/docs/commands/generic/pttl.mdx
3977
4135
  */
3978
4136
  pttl = (...args) => this.chain(new PTtlCommand(args, this.commandOptions));
3979
4137
  /**
3980
4138
  * @see https://redis.io/commands/publish
4139
+ * @see node_modules/@upstash/redis/docs/commands/pubsub/publish.mdx
3981
4140
  */
3982
4141
  publish = (...args) => this.chain(new PublishCommand(args, this.commandOptions));
3983
4142
  /**
3984
4143
  * @see https://redis.io/commands/randomkey
4144
+ * @see node_modules/@upstash/redis/docs/commands/generic/randomkey.mdx
3985
4145
  */
3986
4146
  randomkey = () => this.chain(new RandomKeyCommand(this.commandOptions));
3987
4147
  /**
3988
4148
  * @see https://redis.io/commands/rename
4149
+ * @see node_modules/@upstash/redis/docs/commands/generic/rename.mdx
3989
4150
  */
3990
4151
  rename = (...args) => this.chain(new RenameCommand(args, this.commandOptions));
3991
4152
  /**
3992
4153
  * @see https://redis.io/commands/renamenx
4154
+ * @see node_modules/@upstash/redis/docs/commands/generic/renamenx.mdx
3993
4155
  */
3994
4156
  renamenx = (...args) => this.chain(new RenameNXCommand(args, this.commandOptions));
3995
4157
  /**
3996
4158
  * @see https://redis.io/commands/rpop
4159
+ * @see node_modules/@upstash/redis/docs/commands/list/rpop.mdx
4160
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4161
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4162
+ * to receive raw strings.
3997
4163
  */
3998
4164
  rpop = (...args) => this.chain(new RPopCommand(args, this.commandOptions));
3999
4165
  /**
4000
4166
  * @see https://redis.io/commands/rpush
4167
+ * @see node_modules/@upstash/redis/docs/commands/list/rpush.mdx
4001
4168
  */
4002
4169
  rpush = (key, ...elements) => this.chain(new RPushCommand([key, ...elements], this.commandOptions));
4003
4170
  /**
4004
4171
  * @see https://redis.io/commands/rpushx
4172
+ * @see node_modules/@upstash/redis/docs/commands/list/rpushx.mdx
4005
4173
  */
4006
4174
  rpushx = (key, ...elements) => this.chain(new RPushXCommand([key, ...elements], this.commandOptions));
4007
4175
  /**
4008
4176
  * @see https://redis.io/commands/sadd
4177
+ * @see node_modules/@upstash/redis/docs/commands/set/sadd.mdx
4009
4178
  */
4010
4179
  sadd = (key, member, ...members) => this.chain(new SAddCommand([key, member, ...members], this.commandOptions));
4011
4180
  /**
4012
4181
  * @see https://redis.io/commands/scan
4182
+ * @see node_modules/@upstash/redis/docs/commands/generic/scan.mdx
4013
4183
  */
4014
4184
  scan = (...args) => this.chain(new ScanCommand(args, this.commandOptions));
4015
4185
  /**
4016
4186
  * @see https://redis.io/commands/scard
4187
+ * @see node_modules/@upstash/redis/docs/commands/set/scard.mdx
4017
4188
  */
4018
4189
  scard = (...args) => this.chain(new SCardCommand(args, this.commandOptions));
4019
4190
  /**
4020
4191
  * @see https://redis.io/commands/script-exists
4192
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_exists.mdx
4021
4193
  */
4022
4194
  scriptExists = (...args) => this.chain(new ScriptExistsCommand(args, this.commandOptions));
4023
4195
  /**
4024
4196
  * @see https://redis.io/commands/script-flush
4197
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_flush.mdx
4025
4198
  */
4026
4199
  scriptFlush = (...args) => this.chain(new ScriptFlushCommand(args, this.commandOptions));
4027
4200
  /**
4028
4201
  * @see https://redis.io/commands/script-load
4202
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_load.mdx
4029
4203
  */
4030
4204
  scriptLoad = (...args) => this.chain(new ScriptLoadCommand(args, this.commandOptions));
4031
4205
  /*)*
4032
4206
  * @see https://redis.io/commands/sdiff
4207
+ * @see node_modules/@upstash/redis/docs/commands/set/sdiff.mdx
4033
4208
  */
4034
4209
  sdiff = (...args) => this.chain(new SDiffCommand(args, this.commandOptions));
4035
4210
  /**
4036
4211
  * @see https://redis.io/commands/sdiffstore
4212
+ * @see node_modules/@upstash/redis/docs/commands/set/sdiffstore.mdx
4037
4213
  */
4038
4214
  sdiffstore = (...args) => this.chain(new SDiffStoreCommand(args, this.commandOptions));
4039
4215
  /**
4040
4216
  * @see https://redis.io/commands/set
4217
+ * @see node_modules/@upstash/redis/docs/commands/string/set.mdx
4041
4218
  */
4042
4219
  set = (key, value, opts) => this.chain(new SetCommand([key, value, opts], this.commandOptions));
4043
4220
  /**
4044
4221
  * @see https://redis.io/commands/setbit
4222
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/setbit.mdx
4045
4223
  */
4046
4224
  setbit = (...args) => this.chain(new SetBitCommand(args, this.commandOptions));
4047
4225
  /**
@@ -4054,10 +4232,12 @@ var Pipeline = class {
4054
4232
  setnx = (key, value) => this.chain(new SetNxCommand([key, value], this.commandOptions));
4055
4233
  /**
4056
4234
  * @see https://redis.io/commands/setrange
4235
+ * @see node_modules/@upstash/redis/docs/commands/string/setrange.mdx
4057
4236
  */
4058
4237
  setrange = (...args) => this.chain(new SetRangeCommand(args, this.commandOptions));
4059
4238
  /**
4060
4239
  * @see https://redis.io/commands/sinter
4240
+ * @see node_modules/@upstash/redis/docs/commands/set/sinter.mdx
4061
4241
  */
4062
4242
  sinter = (...args) => this.chain(new SInterCommand(args, this.commandOptions));
4063
4243
  /**
@@ -4066,50 +4246,62 @@ var Pipeline = class {
4066
4246
  sintercard = (...args) => this.chain(new SInterCardCommand(args, this.commandOptions));
4067
4247
  /**
4068
4248
  * @see https://redis.io/commands/sinterstore
4249
+ * @see node_modules/@upstash/redis/docs/commands/set/sinterstore.mdx
4069
4250
  */
4070
4251
  sinterstore = (...args) => this.chain(new SInterStoreCommand(args, this.commandOptions));
4071
4252
  /**
4072
4253
  * @see https://redis.io/commands/sismember
4254
+ * @see node_modules/@upstash/redis/docs/commands/set/sismember.mdx
4073
4255
  */
4074
4256
  sismember = (key, member) => this.chain(new SIsMemberCommand([key, member], this.commandOptions));
4075
4257
  /**
4076
4258
  * @see https://redis.io/commands/smembers
4259
+ * @see node_modules/@upstash/redis/docs/commands/set/smembers.mdx
4077
4260
  */
4078
4261
  smembers = (...args) => this.chain(new SMembersCommand(args, this.commandOptions));
4079
4262
  /**
4080
4263
  * @see https://redis.io/commands/smismember
4264
+ * @see node_modules/@upstash/redis/docs/commands/set/smismember.mdx
4081
4265
  */
4082
4266
  smismember = (key, members) => this.chain(new SMIsMemberCommand([key, members], this.commandOptions));
4083
4267
  /**
4084
4268
  * @see https://redis.io/commands/smove
4269
+ * @see node_modules/@upstash/redis/docs/commands/set/smove.mdx
4085
4270
  */
4086
4271
  smove = (source, destination, member) => this.chain(new SMoveCommand([source, destination, member], this.commandOptions));
4087
4272
  /**
4088
4273
  * @see https://redis.io/commands/spop
4274
+ * @see node_modules/@upstash/redis/docs/commands/set/spop.mdx
4089
4275
  */
4090
4276
  spop = (...args) => this.chain(new SPopCommand(args, this.commandOptions));
4091
4277
  /**
4092
4278
  * @see https://redis.io/commands/srandmember
4279
+ * @see node_modules/@upstash/redis/docs/commands/set/srandmember.mdx
4093
4280
  */
4094
4281
  srandmember = (...args) => this.chain(new SRandMemberCommand(args, this.commandOptions));
4095
4282
  /**
4096
4283
  * @see https://redis.io/commands/srem
4284
+ * @see node_modules/@upstash/redis/docs/commands/set/srem.mdx
4097
4285
  */
4098
4286
  srem = (key, ...members) => this.chain(new SRemCommand([key, ...members], this.commandOptions));
4099
4287
  /**
4100
4288
  * @see https://redis.io/commands/sscan
4289
+ * @see node_modules/@upstash/redis/docs/commands/set/sscan.mdx
4101
4290
  */
4102
4291
  sscan = (...args) => this.chain(new SScanCommand(args, this.commandOptions));
4103
4292
  /**
4104
4293
  * @see https://redis.io/commands/strlen
4294
+ * @see node_modules/@upstash/redis/docs/commands/string/strlen.mdx
4105
4295
  */
4106
4296
  strlen = (...args) => this.chain(new StrLenCommand(args, this.commandOptions));
4107
4297
  /**
4108
4298
  * @see https://redis.io/commands/sunion
4299
+ * @see node_modules/@upstash/redis/docs/commands/set/sunion.mdx
4109
4300
  */
4110
4301
  sunion = (...args) => this.chain(new SUnionCommand(args, this.commandOptions));
4111
4302
  /**
4112
4303
  * @see https://redis.io/commands/sunionstore
4304
+ * @see node_modules/@upstash/redis/docs/commands/set/sunionstore.mdx
4113
4305
  */
4114
4306
  sunionstore = (...args) => this.chain(new SUnionStoreCommand(args, this.commandOptions));
4115
4307
  /**
@@ -4118,22 +4310,27 @@ var Pipeline = class {
4118
4310
  time = () => this.chain(new TimeCommand(this.commandOptions));
4119
4311
  /**
4120
4312
  * @see https://redis.io/commands/touch
4313
+ * @see node_modules/@upstash/redis/docs/commands/generic/touch.mdx
4121
4314
  */
4122
4315
  touch = (...args) => this.chain(new TouchCommand(args, this.commandOptions));
4123
4316
  /**
4124
4317
  * @see https://redis.io/commands/ttl
4318
+ * @see node_modules/@upstash/redis/docs/commands/generic/ttl.mdx
4125
4319
  */
4126
4320
  ttl = (...args) => this.chain(new TtlCommand(args, this.commandOptions));
4127
4321
  /**
4128
4322
  * @see https://redis.io/commands/type
4323
+ * @see node_modules/@upstash/redis/docs/commands/generic/type.mdx
4129
4324
  */
4130
4325
  type = (...args) => this.chain(new TypeCommand(args, this.commandOptions));
4131
4326
  /**
4132
4327
  * @see https://redis.io/commands/unlink
4328
+ * @see node_modules/@upstash/redis/docs/commands/generic/unlink.mdx
4133
4329
  */
4134
4330
  unlink = (...args) => this.chain(new UnlinkCommand(args, this.commandOptions));
4135
4331
  /**
4136
4332
  * @see https://redis.io/commands/zadd
4333
+ * @see node_modules/@upstash/redis/docs/commands/zset/zadd.mdx
4137
4334
  */
4138
4335
  zadd = (...args) => {
4139
4336
  if ("score" in args[1]) {
@@ -4150,138 +4347,185 @@ var Pipeline = class {
4150
4347
  };
4151
4348
  /**
4152
4349
  * @see https://redis.io/commands/xadd
4350
+ * @see node_modules/@upstash/redis/docs/commands/stream/xadd.mdx
4153
4351
  */
4154
4352
  xadd = (...args) => this.chain(new XAddCommand(args, this.commandOptions));
4155
4353
  /**
4156
4354
  * @see https://redis.io/commands/xack
4355
+ * @see node_modules/@upstash/redis/docs/commands/stream/xack.mdx
4157
4356
  */
4158
4357
  xack = (...args) => this.chain(new XAckCommand(args, this.commandOptions));
4159
4358
  /**
4160
4359
  * @see https://redis.io/commands/xackdel
4360
+ * @see node_modules/@upstash/redis/docs/commands/stream/xackdel.mdx
4161
4361
  */
4162
4362
  xackdel = (...args) => this.chain(new XAckDelCommand(args, this.commandOptions));
4163
4363
  /**
4164
4364
  * @see https://redis.io/commands/xdel
4365
+ * @see node_modules/@upstash/redis/docs/commands/stream/xdel.mdx
4165
4366
  */
4166
4367
  xdel = (...args) => this.chain(new XDelCommand(args, this.commandOptions));
4167
4368
  /**
4168
4369
  * @see https://redis.io/commands/xdelex
4370
+ * @see node_modules/@upstash/redis/docs/commands/stream/xdelex.mdx
4169
4371
  */
4170
4372
  xdelex = (...args) => this.chain(new XDelExCommand(args, this.commandOptions));
4171
4373
  /**
4172
4374
  * @see https://redis.io/commands/xgroup
4375
+ * @see node_modules/@upstash/redis/docs/commands/stream/xgroup.mdx
4173
4376
  */
4174
4377
  xgroup = (...args) => this.chain(new XGroupCommand(args, this.commandOptions));
4175
4378
  /**
4176
4379
  * @see https://redis.io/commands/xread
4380
+ * @see node_modules/@upstash/redis/docs/commands/stream/xread.mdx
4177
4381
  */
4178
4382
  xread = (...args) => this.chain(new XReadCommand(args, this.commandOptions));
4179
4383
  /**
4180
4384
  * @see https://redis.io/commands/xreadgroup
4385
+ * @see node_modules/@upstash/redis/docs/commands/stream/xreadgroup.mdx
4181
4386
  */
4182
4387
  xreadgroup = (...args) => this.chain(new XReadGroupCommand(args, this.commandOptions));
4183
4388
  /**
4184
4389
  * @see https://redis.io/commands/xinfo
4390
+ * @see node_modules/@upstash/redis/docs/commands/stream/xinfo.mdx
4185
4391
  */
4186
4392
  xinfo = (...args) => this.chain(new XInfoCommand(args, this.commandOptions));
4187
4393
  /**
4188
4394
  * @see https://redis.io/commands/xlen
4395
+ * @see node_modules/@upstash/redis/docs/commands/stream/xlen.mdx
4189
4396
  */
4190
4397
  xlen = (...args) => this.chain(new XLenCommand(args, this.commandOptions));
4191
4398
  /**
4192
4399
  * @see https://redis.io/commands/xpending
4400
+ * @see node_modules/@upstash/redis/docs/commands/stream/xpending.mdx
4193
4401
  */
4194
4402
  xpending = (...args) => this.chain(new XPendingCommand(args, this.commandOptions));
4195
4403
  /**
4196
4404
  * @see https://redis.io/commands/xclaim
4405
+ * @see node_modules/@upstash/redis/docs/commands/stream/xclaim.mdx
4197
4406
  */
4198
4407
  xclaim = (...args) => this.chain(new XClaimCommand(args, this.commandOptions));
4199
4408
  /**
4200
4409
  * @see https://redis.io/commands/xautoclaim
4410
+ * @see node_modules/@upstash/redis/docs/commands/stream/xautoclaim.mdx
4201
4411
  */
4202
4412
  xautoclaim = (...args) => this.chain(new XAutoClaim(args, this.commandOptions));
4203
4413
  /**
4204
4414
  * @see https://redis.io/commands/xtrim
4415
+ * @see node_modules/@upstash/redis/docs/commands/stream/xtrim.mdx
4205
4416
  */
4206
4417
  xtrim = (...args) => this.chain(new XTrimCommand(args, this.commandOptions));
4207
4418
  /**
4208
4419
  * @see https://redis.io/commands/xrange
4420
+ * @see node_modules/@upstash/redis/docs/commands/stream/xrange.mdx
4421
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4422
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4423
+ * to receive raw strings.
4424
+ * With automaticDeserialization: false, xrange returns [id, [field, value, ...]] entries instead,
4425
+ * such as [["1790341484470-0", ["text", "123"]]], and [] for a missing key.
4209
4426
  */
4210
4427
  xrange = (...args) => this.chain(new XRangeCommand(args, this.commandOptions));
4211
4428
  /**
4212
4429
  * @see https://redis.io/commands/xrevrange
4430
+ * @see node_modules/@upstash/redis/docs/commands/stream/xrevrange.mdx
4431
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4432
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4433
+ * to receive raw strings.
4434
+ * With automaticDeserialization: false, xrevrange returns [id, [field, value, ...]] entries instead,
4435
+ * such as [["1790341484470-0", ["text", "123"]]], and [] for a missing key.
4213
4436
  */
4214
4437
  xrevrange = (...args) => this.chain(new XRevRangeCommand(args, this.commandOptions));
4215
4438
  /**
4216
4439
  * @see https://redis.io/commands/zcard
4440
+ * @see node_modules/@upstash/redis/docs/commands/zset/zcard.mdx
4217
4441
  */
4218
4442
  zcard = (...args) => this.chain(new ZCardCommand(args, this.commandOptions));
4219
4443
  /**
4220
4444
  * @see https://redis.io/commands/zcount
4445
+ * @see node_modules/@upstash/redis/docs/commands/zset/zcount.mdx
4221
4446
  */
4222
4447
  zcount = (...args) => this.chain(new ZCountCommand(args, this.commandOptions));
4223
4448
  /**
4224
4449
  * @see https://redis.io/commands/zincrby
4450
+ * @see node_modules/@upstash/redis/docs/commands/zset/zincrby.mdx
4225
4451
  */
4226
4452
  zincrby = (key, increment, member) => this.chain(new ZIncrByCommand([key, increment, member], this.commandOptions));
4227
4453
  /**
4228
4454
  * @see https://redis.io/commands/zinterstore
4455
+ * @see node_modules/@upstash/redis/docs/commands/zset/zinterstore.mdx
4229
4456
  */
4230
4457
  zinterstore = (...args) => this.chain(new ZInterStoreCommand(args, this.commandOptions));
4231
4458
  /**
4232
4459
  * @see https://redis.io/commands/zlexcount
4460
+ * @see node_modules/@upstash/redis/docs/commands/zset/zlexcount.mdx
4233
4461
  */
4234
4462
  zlexcount = (...args) => this.chain(new ZLexCountCommand(args, this.commandOptions));
4235
4463
  /**
4236
4464
  * @see https://redis.io/commands/zmscore
4465
+ * @see node_modules/@upstash/redis/docs/commands/zset/zmscore.mdx
4237
4466
  */
4238
4467
  zmscore = (...args) => this.chain(new ZMScoreCommand(args, this.commandOptions));
4239
4468
  /**
4240
4469
  * @see https://redis.io/commands/zpopmax
4470
+ * @see node_modules/@upstash/redis/docs/commands/zset/zpopmax.mdx
4241
4471
  */
4242
4472
  zpopmax = (...args) => this.chain(new ZPopMaxCommand(args, this.commandOptions));
4243
4473
  /**
4244
4474
  * @see https://redis.io/commands/zpopmin
4475
+ * @see node_modules/@upstash/redis/docs/commands/zset/zpopmin.mdx
4245
4476
  */
4246
4477
  zpopmin = (...args) => this.chain(new ZPopMinCommand(args, this.commandOptions));
4247
4478
  /**
4248
4479
  * @see https://redis.io/commands/zrange
4480
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrange.mdx
4481
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
4482
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
4483
+ * to receive raw strings.
4249
4484
  */
4250
4485
  zrange = (...args) => this.chain(new ZRangeCommand(args, this.commandOptions));
4251
4486
  /**
4252
4487
  * @see https://redis.io/commands/zrank
4488
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrank.mdx
4253
4489
  */
4254
4490
  zrank = (key, member) => this.chain(new ZRankCommand([key, member], this.commandOptions));
4255
4491
  /**
4256
4492
  * @see https://redis.io/commands/zrem
4493
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrem.mdx
4257
4494
  */
4258
4495
  zrem = (key, ...members) => this.chain(new ZRemCommand([key, ...members], this.commandOptions));
4259
4496
  /**
4260
4497
  * @see https://redis.io/commands/zremrangebylex
4498
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebylex.mdx
4261
4499
  */
4262
4500
  zremrangebylex = (...args) => this.chain(new ZRemRangeByLexCommand(args, this.commandOptions));
4263
4501
  /**
4264
4502
  * @see https://redis.io/commands/zremrangebyrank
4503
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebyrank.mdx
4265
4504
  */
4266
4505
  zremrangebyrank = (...args) => this.chain(new ZRemRangeByRankCommand(args, this.commandOptions));
4267
4506
  /**
4268
4507
  * @see https://redis.io/commands/zremrangebyscore
4508
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebyscore.mdx
4269
4509
  */
4270
4510
  zremrangebyscore = (...args) => this.chain(new ZRemRangeByScoreCommand(args, this.commandOptions));
4271
4511
  /**
4272
4512
  * @see https://redis.io/commands/zrevrank
4513
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrevrank.mdx
4273
4514
  */
4274
4515
  zrevrank = (key, member) => this.chain(new ZRevRankCommand([key, member], this.commandOptions));
4275
4516
  /**
4276
4517
  * @see https://redis.io/commands/zscan
4518
+ * @see node_modules/@upstash/redis/docs/commands/zset/zscan.mdx
4277
4519
  */
4278
4520
  zscan = (...args) => this.chain(new ZScanCommand(args, this.commandOptions));
4279
4521
  /**
4280
4522
  * @see https://redis.io/commands/zscore
4523
+ * @see node_modules/@upstash/redis/docs/commands/zset/zscore.mdx
4281
4524
  */
4282
4525
  zscore = (key, member) => this.chain(new ZScoreCommand([key, member], this.commandOptions));
4283
4526
  /**
4284
4527
  * @see https://redis.io/commands/zunionstore
4528
+ * @see node_modules/@upstash/redis/docs/commands/zset/zunionstore.mdx
4285
4529
  */
4286
4530
  zunionstore = (...args) => this.chain(new ZUnionStoreCommand(args, this.commandOptions));
4287
4531
  /**
@@ -4295,70 +4539,87 @@ var Pipeline = class {
4295
4539
  return {
4296
4540
  /**
4297
4541
  * @see https://redis.io/commands/json.arrappend
4542
+ * @see node_modules/@upstash/redis/docs/commands/json/arrappend.mdx
4298
4543
  */
4299
4544
  arrappend: (...args) => this.chain(new JsonArrAppendCommand(args, this.commandOptions)),
4300
4545
  /**
4301
4546
  * @see https://redis.io/commands/json.arrindex
4547
+ * @see node_modules/@upstash/redis/docs/commands/json/arrindex.mdx
4302
4548
  */
4303
4549
  arrindex: (...args) => this.chain(new JsonArrIndexCommand(args, this.commandOptions)),
4304
4550
  /**
4305
4551
  * @see https://redis.io/commands/json.arrinsert
4552
+ * @see node_modules/@upstash/redis/docs/commands/json/arrinsert.mdx
4306
4553
  */
4307
4554
  arrinsert: (...args) => this.chain(new JsonArrInsertCommand(args, this.commandOptions)),
4308
4555
  /**
4309
4556
  * @see https://redis.io/commands/json.arrlen
4557
+ * @see node_modules/@upstash/redis/docs/commands/json/arrlen.mdx
4310
4558
  */
4311
4559
  arrlen: (...args) => this.chain(new JsonArrLenCommand(args, this.commandOptions)),
4312
4560
  /**
4313
4561
  * @see https://redis.io/commands/json.arrpop
4562
+ * @see node_modules/@upstash/redis/docs/commands/json/arrpop.mdx
4314
4563
  */
4315
4564
  arrpop: (...args) => this.chain(new JsonArrPopCommand(args, this.commandOptions)),
4316
4565
  /**
4317
4566
  * @see https://redis.io/commands/json.arrtrim
4567
+ * @see node_modules/@upstash/redis/docs/commands/json/arrtrim.mdx
4318
4568
  */
4319
4569
  arrtrim: (...args) => this.chain(new JsonArrTrimCommand(args, this.commandOptions)),
4320
4570
  /**
4321
4571
  * @see https://redis.io/commands/json.clear
4572
+ * @see node_modules/@upstash/redis/docs/commands/json/clear.mdx
4322
4573
  */
4323
4574
  clear: (...args) => this.chain(new JsonClearCommand(args, this.commandOptions)),
4324
4575
  /**
4325
4576
  * @see https://redis.io/commands/json.del
4577
+ * @see node_modules/@upstash/redis/docs/commands/json/del.mdx
4326
4578
  */
4327
4579
  del: (...args) => this.chain(new JsonDelCommand(args, this.commandOptions)),
4328
4580
  /**
4329
4581
  * @see https://redis.io/commands/json.forget
4582
+ * @see node_modules/@upstash/redis/docs/commands/json/forget.mdx
4330
4583
  */
4331
4584
  forget: (...args) => this.chain(new JsonForgetCommand(args, this.commandOptions)),
4332
4585
  /**
4333
4586
  * @see https://redis.io/commands/json.get
4587
+ * @see node_modules/@upstash/redis/docs/commands/json/get.mdx
4334
4588
  */
4335
4589
  get: (...args) => this.chain(new JsonGetCommand(args, this.commandOptions)),
4336
4590
  /**
4337
4591
  * @see https://redis.io/commands/json.merge
4592
+ * @see node_modules/@upstash/redis/docs/commands/json/merge.mdx
4338
4593
  */
4339
4594
  merge: (...args) => this.chain(new JsonMergeCommand(args, this.commandOptions)),
4340
4595
  /**
4341
4596
  * @see https://redis.io/commands/json.mget
4597
+ * @see node_modules/@upstash/redis/docs/commands/json/mget.mdx
4342
4598
  */
4343
4599
  mget: (...args) => this.chain(new JsonMGetCommand(args, this.commandOptions)),
4344
4600
  /**
4345
4601
  * @see https://redis.io/commands/json.mset
4602
+ * @see node_modules/@upstash/redis/docs/commands/json/mset.mdx
4346
4603
  */
4347
4604
  mset: (...args) => this.chain(new JsonMSetCommand(args, this.commandOptions)),
4348
4605
  /**
4349
4606
  * @see https://redis.io/commands/json.numincrby
4607
+ * @see node_modules/@upstash/redis/docs/commands/json/numincrby.mdx
4350
4608
  */
4351
4609
  numincrby: (...args) => this.chain(new JsonNumIncrByCommand(args, this.commandOptions)),
4352
4610
  /**
4353
4611
  * @see https://redis.io/commands/json.nummultby
4612
+ * @see node_modules/@upstash/redis/docs/commands/json/nummultby.mdx
4354
4613
  */
4355
4614
  nummultby: (...args) => this.chain(new JsonNumMultByCommand(args, this.commandOptions)),
4356
4615
  /**
4357
4616
  * @see https://redis.io/commands/json.objkeys
4617
+ * @see node_modules/@upstash/redis/docs/commands/json/objkeys.mdx
4358
4618
  */
4359
4619
  objkeys: (...args) => this.chain(new JsonObjKeysCommand(args, this.commandOptions)),
4360
4620
  /**
4361
4621
  * @see https://redis.io/commands/json.objlen
4622
+ * @see node_modules/@upstash/redis/docs/commands/json/objlen.mdx
4362
4623
  */
4363
4624
  objlen: (...args) => this.chain(new JsonObjLenCommand(args, this.commandOptions)),
4364
4625
  /**
@@ -4367,22 +4628,27 @@ var Pipeline = class {
4367
4628
  resp: (...args) => this.chain(new JsonRespCommand(args, this.commandOptions)),
4368
4629
  /**
4369
4630
  * @see https://redis.io/commands/json.set
4631
+ * @see node_modules/@upstash/redis/docs/commands/json/set.mdx
4370
4632
  */
4371
4633
  set: (...args) => this.chain(new JsonSetCommand(args, this.commandOptions)),
4372
4634
  /**
4373
4635
  * @see https://redis.io/commands/json.strappend
4636
+ * @see node_modules/@upstash/redis/docs/commands/json/strappend.mdx
4374
4637
  */
4375
4638
  strappend: (...args) => this.chain(new JsonStrAppendCommand(args, this.commandOptions)),
4376
4639
  /**
4377
4640
  * @see https://redis.io/commands/json.strlen
4641
+ * @see node_modules/@upstash/redis/docs/commands/json/strlen.mdx
4378
4642
  */
4379
4643
  strlen: (...args) => this.chain(new JsonStrLenCommand(args, this.commandOptions)),
4380
4644
  /**
4381
4645
  * @see https://redis.io/commands/json.toggle
4646
+ * @see node_modules/@upstash/redis/docs/commands/json/toggle.mdx
4382
4647
  */
4383
4648
  toggle: (...args) => this.chain(new JsonToggleCommand(args, this.commandOptions)),
4384
4649
  /**
4385
4650
  * @see https://redis.io/commands/json.type
4651
+ * @see node_modules/@upstash/redis/docs/commands/json/type.mdx
4386
4652
  */
4387
4653
  type: (...args) => this.chain(new JsonTypeCommand(args, this.commandOptions))
4388
4654
  };
@@ -4391,30 +4657,37 @@ var Pipeline = class {
4391
4657
  return {
4392
4658
  /**
4393
4659
  * @see https://redis.io/docs/latest/commands/function-load/
4660
+ * @see node_modules/@upstash/redis/docs/commands/functions/load.mdx
4394
4661
  */
4395
4662
  load: (...args) => this.chain(new FunctionLoadCommand(args, this.commandOptions)),
4396
4663
  /**
4397
4664
  * @see https://redis.io/docs/latest/commands/function-list/
4665
+ * @see node_modules/@upstash/redis/docs/commands/functions/list.mdx
4398
4666
  */
4399
4667
  list: (...args) => this.chain(new FunctionListCommand(args, this.commandOptions)),
4400
4668
  /**
4401
4669
  * @see https://redis.io/docs/latest/commands/function-delete/
4670
+ * @see node_modules/@upstash/redis/docs/commands/functions/delete.mdx
4402
4671
  */
4403
4672
  delete: (...args) => this.chain(new FunctionDeleteCommand(args, this.commandOptions)),
4404
4673
  /**
4405
4674
  * @see https://redis.io/docs/latest/commands/function-flush/
4675
+ * @see node_modules/@upstash/redis/docs/commands/functions/flush.mdx
4406
4676
  */
4407
4677
  flush: () => this.chain(new FunctionFlushCommand(this.commandOptions)),
4408
4678
  /**
4409
4679
  * @see https://redis.io/docs/latest/commands/function-stats/
4680
+ * @see node_modules/@upstash/redis/docs/commands/functions/stats.mdx
4410
4681
  */
4411
4682
  stats: () => this.chain(new FunctionStatsCommand(this.commandOptions)),
4412
4683
  /**
4413
4684
  * @see https://redis.io/docs/latest/commands/fcall/
4685
+ * @see node_modules/@upstash/redis/docs/commands/functions/call.mdx
4414
4686
  */
4415
4687
  call: (...args) => this.chain(new FCallCommand(args, this.commandOptions)),
4416
4688
  /**
4417
4689
  * @see https://redis.io/docs/latest/commands/fcall_ro/
4690
+ * @see node_modules/@upstash/redis/docs/commands/functions/call_ro.mdx
4418
4691
  */
4419
4692
  callRo: (...args) => this.chain(new FCallRoCommand(args, this.commandOptions))
4420
4693
  };
@@ -5012,70 +5285,87 @@ var Redis = class {
5012
5285
  return {
5013
5286
  /**
5014
5287
  * @see https://redis.io/commands/json.arrappend
5288
+ * @see node_modules/@upstash/redis/docs/commands/json/arrappend.mdx
5015
5289
  */
5016
5290
  arrappend: (...args) => new JsonArrAppendCommand(args, this.opts).exec(this.client),
5017
5291
  /**
5018
5292
  * @see https://redis.io/commands/json.arrindex
5293
+ * @see node_modules/@upstash/redis/docs/commands/json/arrindex.mdx
5019
5294
  */
5020
5295
  arrindex: (...args) => new JsonArrIndexCommand(args, this.opts).exec(this.client),
5021
5296
  /**
5022
5297
  * @see https://redis.io/commands/json.arrinsert
5298
+ * @see node_modules/@upstash/redis/docs/commands/json/arrinsert.mdx
5023
5299
  */
5024
5300
  arrinsert: (...args) => new JsonArrInsertCommand(args, this.opts).exec(this.client),
5025
5301
  /**
5026
5302
  * @see https://redis.io/commands/json.arrlen
5303
+ * @see node_modules/@upstash/redis/docs/commands/json/arrlen.mdx
5027
5304
  */
5028
5305
  arrlen: (...args) => new JsonArrLenCommand(args, this.opts).exec(this.client),
5029
5306
  /**
5030
5307
  * @see https://redis.io/commands/json.arrpop
5308
+ * @see node_modules/@upstash/redis/docs/commands/json/arrpop.mdx
5031
5309
  */
5032
5310
  arrpop: (...args) => new JsonArrPopCommand(args, this.opts).exec(this.client),
5033
5311
  /**
5034
5312
  * @see https://redis.io/commands/json.arrtrim
5313
+ * @see node_modules/@upstash/redis/docs/commands/json/arrtrim.mdx
5035
5314
  */
5036
5315
  arrtrim: (...args) => new JsonArrTrimCommand(args, this.opts).exec(this.client),
5037
5316
  /**
5038
5317
  * @see https://redis.io/commands/json.clear
5318
+ * @see node_modules/@upstash/redis/docs/commands/json/clear.mdx
5039
5319
  */
5040
5320
  clear: (...args) => new JsonClearCommand(args, this.opts).exec(this.client),
5041
5321
  /**
5042
5322
  * @see https://redis.io/commands/json.del
5323
+ * @see node_modules/@upstash/redis/docs/commands/json/del.mdx
5043
5324
  */
5044
5325
  del: (...args) => new JsonDelCommand(args, this.opts).exec(this.client),
5045
5326
  /**
5046
5327
  * @see https://redis.io/commands/json.forget
5328
+ * @see node_modules/@upstash/redis/docs/commands/json/forget.mdx
5047
5329
  */
5048
5330
  forget: (...args) => new JsonForgetCommand(args, this.opts).exec(this.client),
5049
5331
  /**
5050
5332
  * @see https://redis.io/commands/json.get
5333
+ * @see node_modules/@upstash/redis/docs/commands/json/get.mdx
5051
5334
  */
5052
5335
  get: (...args) => new JsonGetCommand(args, this.opts).exec(this.client),
5053
5336
  /**
5054
5337
  * @see https://redis.io/commands/json.merge
5338
+ * @see node_modules/@upstash/redis/docs/commands/json/merge.mdx
5055
5339
  */
5056
5340
  merge: (...args) => new JsonMergeCommand(args, this.opts).exec(this.client),
5057
5341
  /**
5058
5342
  * @see https://redis.io/commands/json.mget
5343
+ * @see node_modules/@upstash/redis/docs/commands/json/mget.mdx
5059
5344
  */
5060
5345
  mget: (...args) => new JsonMGetCommand(args, this.opts).exec(this.client),
5061
5346
  /**
5062
5347
  * @see https://redis.io/commands/json.mset
5348
+ * @see node_modules/@upstash/redis/docs/commands/json/mset.mdx
5063
5349
  */
5064
5350
  mset: (...args) => new JsonMSetCommand(args, this.opts).exec(this.client),
5065
5351
  /**
5066
5352
  * @see https://redis.io/commands/json.numincrby
5353
+ * @see node_modules/@upstash/redis/docs/commands/json/numincrby.mdx
5067
5354
  */
5068
5355
  numincrby: (...args) => new JsonNumIncrByCommand(args, this.opts).exec(this.client),
5069
5356
  /**
5070
5357
  * @see https://redis.io/commands/json.nummultby
5358
+ * @see node_modules/@upstash/redis/docs/commands/json/nummultby.mdx
5071
5359
  */
5072
5360
  nummultby: (...args) => new JsonNumMultByCommand(args, this.opts).exec(this.client),
5073
5361
  /**
5074
5362
  * @see https://redis.io/commands/json.objkeys
5363
+ * @see node_modules/@upstash/redis/docs/commands/json/objkeys.mdx
5075
5364
  */
5076
5365
  objkeys: (...args) => new JsonObjKeysCommand(args, this.opts).exec(this.client),
5077
5366
  /**
5078
5367
  * @see https://redis.io/commands/json.objlen
5368
+ * @see node_modules/@upstash/redis/docs/commands/json/objlen.mdx
5079
5369
  */
5080
5370
  objlen: (...args) => new JsonObjLenCommand(args, this.opts).exec(this.client),
5081
5371
  /**
@@ -5084,22 +5374,27 @@ var Redis = class {
5084
5374
  resp: (...args) => new JsonRespCommand(args, this.opts).exec(this.client),
5085
5375
  /**
5086
5376
  * @see https://redis.io/commands/json.set
5377
+ * @see node_modules/@upstash/redis/docs/commands/json/set.mdx
5087
5378
  */
5088
5379
  set: (...args) => new JsonSetCommand(args, this.opts).exec(this.client),
5089
5380
  /**
5090
5381
  * @see https://redis.io/commands/json.strappend
5382
+ * @see node_modules/@upstash/redis/docs/commands/json/strappend.mdx
5091
5383
  */
5092
5384
  strappend: (...args) => new JsonStrAppendCommand(args, this.opts).exec(this.client),
5093
5385
  /**
5094
5386
  * @see https://redis.io/commands/json.strlen
5387
+ * @see node_modules/@upstash/redis/docs/commands/json/strlen.mdx
5095
5388
  */
5096
5389
  strlen: (...args) => new JsonStrLenCommand(args, this.opts).exec(this.client),
5097
5390
  /**
5098
5391
  * @see https://redis.io/commands/json.toggle
5392
+ * @see node_modules/@upstash/redis/docs/commands/json/toggle.mdx
5099
5393
  */
5100
5394
  toggle: (...args) => new JsonToggleCommand(args, this.opts).exec(this.client),
5101
5395
  /**
5102
5396
  * @see https://redis.io/commands/json.type
5397
+ * @see node_modules/@upstash/redis/docs/commands/json/type.mdx
5103
5398
  */
5104
5399
  type: (...args) => new JsonTypeCommand(args, this.opts).exec(this.client)
5105
5400
  };
@@ -5108,32 +5403,39 @@ var Redis = class {
5108
5403
  return {
5109
5404
  /**
5110
5405
  * @see https://redis.io/docs/latest/commands/function-load/
5406
+ * @see node_modules/@upstash/redis/docs/commands/functions/load.mdx
5111
5407
  */
5112
5408
  load: (...args) => new FunctionLoadCommand(args, this.opts).exec(this.client),
5113
5409
  /**
5114
5410
  * @see https://redis.io/docs/latest/commands/function-list/
5411
+ * @see node_modules/@upstash/redis/docs/commands/functions/list.mdx
5115
5412
  */
5116
5413
  list: (...args) => new FunctionListCommand(args, this.opts).exec(this.client),
5117
5414
  /**
5118
5415
  * @see https://redis.io/docs/latest/commands/function-delete/
5416
+ * @see node_modules/@upstash/redis/docs/commands/functions/delete.mdx
5119
5417
  */
5120
5418
  delete: (...args) => new FunctionDeleteCommand(args, this.opts).exec(this.client),
5121
5419
  /**
5122
5420
  * @see https://redis.io/docs/latest/commands/function-flush/
5421
+ * @see node_modules/@upstash/redis/docs/commands/functions/flush.mdx
5123
5422
  */
5124
5423
  flush: () => new FunctionFlushCommand(this.opts).exec(this.client),
5125
5424
  /**
5126
5425
  * @see https://redis.io/docs/latest/commands/function-stats/
5426
+ * @see node_modules/@upstash/redis/docs/commands/functions/stats.mdx
5127
5427
  *
5128
5428
  * Note: `running_script` field is not supported and therefore not included in the type.
5129
5429
  */
5130
5430
  stats: () => new FunctionStatsCommand(this.opts).exec(this.client),
5131
5431
  /**
5132
5432
  * @see https://redis.io/docs/latest/commands/fcall/
5433
+ * @see node_modules/@upstash/redis/docs/commands/functions/call.mdx
5133
5434
  */
5134
5435
  call: (...args) => new FCallCommand(args, this.opts).exec(this.client),
5135
5436
  /**
5136
5437
  * @see https://redis.io/docs/latest/commands/fcall_ro/
5438
+ * @see node_modules/@upstash/redis/docs/commands/functions/call_ro.mdx
5137
5439
  */
5138
5440
  callRo: (...args) => new FCallRoCommand(args, this.opts).exec(this.client)
5139
5441
  };
@@ -5164,6 +5466,10 @@ var Redis = class {
5164
5466
  * entire script to the server. If the script is loaded on the server, it tries again by sending
5165
5467
  * the entire script. Afterwards, the script is cached on the server.
5166
5468
  *
5469
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5470
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5471
+ * to receive raw strings.
5472
+ *
5167
5473
  * @param script - The script to create
5168
5474
  * @param opts - Optional options to pass to the script `{ readonly?: boolean }`
5169
5475
  * @returns A new script
@@ -5280,96 +5586,119 @@ var Redis = class {
5280
5586
  bitfield = (...args) => new BitFieldCommand(args, this.client, this.opts);
5281
5587
  /**
5282
5588
  * @see https://redis.io/commands/append
5589
+ * @see node_modules/@upstash/redis/docs/commands/string/append.mdx
5283
5590
  */
5284
5591
  append = (...args) => new AppendCommand(args, this.opts).exec(this.client);
5285
5592
  /**
5286
5593
  * @see https://upstash.com/docs/redis/commands/array/arcount
5594
+ * @see node_modules/@upstash/redis/docs/commands/array/arcount.mdx
5287
5595
  */
5288
5596
  arcount = (...args) => new ArCountCommand(args, this.opts).exec(this.client);
5289
5597
  /**
5290
5598
  * @see https://upstash.com/docs/redis/commands/array/ardel
5599
+ * @see node_modules/@upstash/redis/docs/commands/array/ardel.mdx
5291
5600
  */
5292
5601
  ardel = (...args) => new ArDelCommand(args, this.opts).exec(this.client);
5293
5602
  /**
5294
5603
  * @see https://upstash.com/docs/redis/commands/array/ardelrange
5604
+ * @see node_modules/@upstash/redis/docs/commands/array/ardelrange.mdx
5295
5605
  */
5296
5606
  ardelrange = (...args) => new ArDelRangeCommand(args, this.opts).exec(this.client);
5297
5607
  /**
5298
5608
  * @see https://upstash.com/docs/redis/commands/array/arget
5609
+ * @see node_modules/@upstash/redis/docs/commands/array/arget.mdx
5299
5610
  */
5300
5611
  arget = (...args) => new ArGetCommand(args, this.opts).exec(this.client);
5301
5612
  /**
5302
5613
  * @see https://upstash.com/docs/redis/commands/array/argetrange
5614
+ * @see node_modules/@upstash/redis/docs/commands/array/argetrange.mdx
5303
5615
  */
5304
5616
  argetrange = (...args) => new ArGetRangeCommand(args, this.opts).exec(this.client);
5305
5617
  /**
5306
5618
  * @see https://upstash.com/docs/redis/commands/array/argrep
5619
+ * @see node_modules/@upstash/redis/docs/commands/array/argrep.mdx
5307
5620
  */
5308
5621
  argrep = (key, start, end, opts) => new ArGrepCommand([key, start, end, opts], this.opts).exec(this.client);
5309
5622
  /**
5310
5623
  * @see https://upstash.com/docs/redis/commands/array/arinfo
5624
+ * @see node_modules/@upstash/redis/docs/commands/array/arinfo.mdx
5311
5625
  */
5312
5626
  arinfo = (...args) => new ArInfoCommand(args, this.opts).exec(this.client);
5313
5627
  /**
5314
5628
  * @see https://upstash.com/docs/redis/commands/array/arinsert
5629
+ * @see node_modules/@upstash/redis/docs/commands/array/arinsert.mdx
5315
5630
  */
5316
5631
  arinsert = (key, ...values) => new ArInsertCommand([key, ...values], this.opts).exec(this.client);
5317
5632
  /**
5318
5633
  * @see https://upstash.com/docs/redis/commands/array/arlastitems
5634
+ * @see node_modules/@upstash/redis/docs/commands/array/arlastitems.mdx
5319
5635
  */
5320
5636
  arlastitems = (...args) => new ArLastItemsCommand(args, this.opts).exec(this.client);
5321
5637
  /**
5322
5638
  * @see https://upstash.com/docs/redis/commands/array/arlen
5639
+ * @see node_modules/@upstash/redis/docs/commands/array/arlen.mdx
5323
5640
  */
5324
5641
  arlen = (...args) => new ArLenCommand(args, this.opts).exec(this.client);
5325
5642
  /**
5326
5643
  * @see https://upstash.com/docs/redis/commands/array/armget
5644
+ * @see node_modules/@upstash/redis/docs/commands/array/armget.mdx
5327
5645
  */
5328
5646
  armget = (...args) => new ArMGetCommand(args, this.opts).exec(this.client);
5329
5647
  /**
5330
5648
  * @see https://upstash.com/docs/redis/commands/array/armset
5649
+ * @see node_modules/@upstash/redis/docs/commands/array/armset.mdx
5331
5650
  */
5332
5651
  armset = (key, values) => new ArMSetCommand([key, values], this.opts).exec(this.client);
5333
5652
  /**
5334
5653
  * @see https://upstash.com/docs/redis/commands/array/arnext
5654
+ * @see node_modules/@upstash/redis/docs/commands/array/arnext.mdx
5335
5655
  */
5336
5656
  arnext = (...args) => new ArNextCommand(args, this.opts).exec(this.client);
5337
5657
  /**
5338
5658
  * @see https://upstash.com/docs/redis/commands/array/arop
5659
+ * @see node_modules/@upstash/redis/docs/commands/array/arop.mdx
5339
5660
  */
5340
5661
  arop = (key, start, end, operation) => new ArOpCommand([key, start, end, operation], this.opts).exec(this.client);
5341
5662
  /**
5342
5663
  * @see https://upstash.com/docs/redis/commands/array/arring
5664
+ * @see node_modules/@upstash/redis/docs/commands/array/arring.mdx
5343
5665
  */
5344
5666
  arring = (key, size, ...values) => new ArRingCommand([key, size, ...values], this.opts).exec(this.client);
5345
5667
  /**
5346
5668
  * @see https://upstash.com/docs/redis/commands/array/arscan
5669
+ * @see node_modules/@upstash/redis/docs/commands/array/arscan.mdx
5347
5670
  */
5348
5671
  arscan = (...args) => new ArScanCommand(args, this.opts).exec(this.client);
5349
5672
  /**
5350
5673
  * @see https://upstash.com/docs/redis/commands/array/arseek
5674
+ * @see node_modules/@upstash/redis/docs/commands/array/arseek.mdx
5351
5675
  */
5352
5676
  arseek = (...args) => new ArSeekCommand(args, this.opts).exec(this.client);
5353
5677
  /**
5354
5678
  * @see https://upstash.com/docs/redis/commands/array/arset
5679
+ * @see node_modules/@upstash/redis/docs/commands/array/arset.mdx
5355
5680
  */
5356
5681
  arset = (key, index, ...values) => new ArSetCommand([key, index, ...values], this.opts).exec(this.client);
5357
5682
  /**
5358
5683
  * @see https://redis.io/commands/bitcount
5684
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitcount.mdx
5359
5685
  */
5360
5686
  bitcount = (...args) => new BitCountCommand(args, this.opts).exec(this.client);
5361
5687
  /**
5362
5688
  * @see https://redis.io/commands/bitop
5689
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitop.mdx
5363
5690
  */
5364
5691
  bitop = (op, destinationKey, sourceKey, ...sourceKeys) => new BitOpCommand([op, destinationKey, sourceKey, ...sourceKeys], this.opts).exec(
5365
5692
  this.client
5366
5693
  );
5367
5694
  /**
5368
5695
  * @see https://redis.io/commands/bitpos
5696
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/bitpos.mdx
5369
5697
  */
5370
5698
  bitpos = (...args) => new BitPosCommand(args, this.opts).exec(this.client);
5371
5699
  /**
5372
5700
  * @see https://redis.io/commands/client-setinfo
5701
+ * @see node_modules/@upstash/redis/docs/commands/connection/client_setinfo.mdx
5373
5702
  */
5374
5703
  clientSetinfo = (...args) => new ClientSetInfoCommand(args, this.opts).exec(this.client);
5375
5704
  /**
@@ -5378,38 +5707,59 @@ var Redis = class {
5378
5707
  copy = (...args) => new CopyCommand(args, this.opts).exec(this.client);
5379
5708
  /**
5380
5709
  * @see https://redis.io/commands/dbsize
5710
+ * @see node_modules/@upstash/redis/docs/commands/server/dbsize.mdx
5381
5711
  */
5382
5712
  dbsize = () => new DBSizeCommand(this.opts).exec(this.client);
5383
5713
  /**
5384
5714
  * @see https://redis.io/commands/decr
5715
+ * @see node_modules/@upstash/redis/docs/commands/string/decr.mdx
5385
5716
  */
5386
5717
  decr = (...args) => new DecrCommand(args, this.opts).exec(this.client);
5387
5718
  /**
5388
5719
  * @see https://redis.io/commands/decrby
5720
+ * @see node_modules/@upstash/redis/docs/commands/string/decrby.mdx
5389
5721
  */
5390
5722
  decrby = (...args) => new DecrByCommand(args, this.opts).exec(this.client);
5391
5723
  /**
5392
5724
  * @see https://redis.io/commands/del
5725
+ * @see node_modules/@upstash/redis/docs/commands/generic/del.mdx
5393
5726
  */
5394
5727
  del = (...args) => new DelCommand(args, this.opts).exec(this.client);
5395
5728
  /**
5396
5729
  * @see https://redis.io/commands/echo
5730
+ * @see node_modules/@upstash/redis/docs/commands/auth/echo.mdx
5397
5731
  */
5398
5732
  echo = (...args) => new EchoCommand(args, this.opts).exec(this.client);
5399
5733
  /**
5400
5734
  * @see https://redis.io/commands/eval_ro
5735
+ * @see node_modules/@upstash/redis/docs/commands/scripts/eval_ro.mdx
5736
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5737
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5738
+ * to receive raw strings.
5401
5739
  */
5402
5740
  evalRo = (...args) => new EvalROCommand(args, this.opts).exec(this.client);
5403
5741
  /**
5404
5742
  * @see https://redis.io/commands/eval
5743
+ * @see node_modules/@upstash/redis/docs/commands/scripts/eval.mdx
5744
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5745
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5746
+ * to receive raw strings.
5405
5747
  */
5406
5748
  eval = (...args) => new EvalCommand(args, this.opts).exec(this.client);
5407
5749
  /**
5408
5750
  * @see https://redis.io/commands/evalsha_ro
5751
+ * @see node_modules/@upstash/redis/docs/commands/scripts/evalsha_ro.mdx
5752
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5753
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5754
+ * to receive raw strings.
5409
5755
  */
5410
5756
  evalshaRo = (...args) => new EvalshaROCommand(args, this.opts).exec(this.client);
5411
5757
  /**
5412
5758
  * @see https://redis.io/commands/evalsha
5759
+ * @see node_modules/@upstash/redis/docs/commands/scripts/evalsha.mdx
5760
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5761
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5762
+ * to receive raw strings.
5413
5763
  */
5414
5764
  evalsha = (...args) => new EvalshaCommand(args, this.opts).exec(this.client);
5415
5765
  /**
@@ -5418,22 +5768,27 @@ var Redis = class {
5418
5768
  exec = (args) => new ExecCommand(args, this.opts).exec(this.client);
5419
5769
  /**
5420
5770
  * @see https://redis.io/commands/exists
5771
+ * @see node_modules/@upstash/redis/docs/commands/generic/exists.mdx
5421
5772
  */
5422
5773
  exists = (...args) => new ExistsCommand(args, this.opts).exec(this.client);
5423
5774
  /**
5424
5775
  * @see https://redis.io/commands/expire
5776
+ * @see node_modules/@upstash/redis/docs/commands/generic/expire.mdx
5425
5777
  */
5426
5778
  expire = (...args) => new ExpireCommand(args, this.opts).exec(this.client);
5427
5779
  /**
5428
5780
  * @see https://redis.io/commands/expireat
5781
+ * @see node_modules/@upstash/redis/docs/commands/generic/expireat.mdx
5429
5782
  */
5430
5783
  expireat = (...args) => new ExpireAtCommand(args, this.opts).exec(this.client);
5431
5784
  /**
5432
5785
  * @see https://redis.io/commands/flushall
5786
+ * @see node_modules/@upstash/redis/docs/commands/server/flushall.mdx
5433
5787
  */
5434
5788
  flushall = (args) => new FlushAllCommand(args, this.opts).exec(this.client);
5435
5789
  /**
5436
5790
  * @see https://redis.io/commands/flushdb
5791
+ * @see node_modules/@upstash/redis/docs/commands/server/flushdb.mdx
5437
5792
  */
5438
5793
  flushdb = (...args) => new FlushDBCommand(args, this.opts).exec(this.client);
5439
5794
  /**
@@ -5462,106 +5817,166 @@ var Redis = class {
5462
5817
  geosearchstore = (...args) => new GeoSearchStoreCommand(args, this.opts).exec(this.client);
5463
5818
  /**
5464
5819
  * @see https://redis.io/commands/get
5820
+ * @see node_modules/@upstash/redis/docs/commands/string/get.mdx
5821
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5822
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5823
+ * to receive raw strings.
5465
5824
  */
5466
5825
  get = (...args) => new GetCommand(args, this.opts).exec(this.client);
5467
5826
  /**
5468
5827
  * @see https://redis.io/commands/getbit
5828
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/getbit.mdx
5469
5829
  */
5470
5830
  getbit = (...args) => new GetBitCommand(args, this.opts).exec(this.client);
5471
5831
  /**
5472
5832
  * @see https://redis.io/commands/getdel
5833
+ * @see node_modules/@upstash/redis/docs/commands/string/getdel.mdx
5834
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5835
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5836
+ * to receive raw strings.
5473
5837
  */
5474
5838
  getdel = (...args) => new GetDelCommand(args, this.opts).exec(this.client);
5475
5839
  /**
5476
5840
  * @see https://redis.io/commands/getex
5841
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5842
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5843
+ * to receive raw strings.
5477
5844
  */
5478
5845
  getex = (...args) => new GetExCommand(args, this.opts).exec(this.client);
5479
5846
  /**
5480
5847
  * @see https://redis.io/commands/getrange
5848
+ * @see node_modules/@upstash/redis/docs/commands/string/getrange.mdx
5481
5849
  */
5482
5850
  getrange = (...args) => new GetRangeCommand(args, this.opts).exec(this.client);
5483
5851
  /**
5484
5852
  * @see https://redis.io/commands/getset
5853
+ * @see node_modules/@upstash/redis/docs/commands/string/getset.mdx
5854
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5855
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5856
+ * to receive raw strings.
5485
5857
  */
5486
5858
  getset = (key, value) => new GetSetCommand([key, value], this.opts).exec(this.client);
5487
5859
  /**
5488
5860
  * @see https://redis.io/commands/hdel
5861
+ * @see node_modules/@upstash/redis/docs/commands/hash/hdel.mdx
5489
5862
  */
5490
5863
  hdel = (...args) => new HDelCommand(args, this.opts).exec(this.client);
5491
5864
  /**
5492
5865
  * @see https://redis.io/commands/hexists
5866
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexists.mdx
5493
5867
  */
5494
5868
  hexists = (...args) => new HExistsCommand(args, this.opts).exec(this.client);
5495
5869
  /**
5496
5870
  * @see https://redis.io/commands/hexpire
5871
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpire.mdx
5497
5872
  */
5498
5873
  hexpire = (...args) => new HExpireCommand(args, this.opts).exec(this.client);
5499
5874
  /**
5500
5875
  * @see https://redis.io/commands/hexpireat
5876
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpireat.mdx
5501
5877
  */
5502
5878
  hexpireat = (...args) => new HExpireAtCommand(args, this.opts).exec(this.client);
5503
5879
  /**
5504
5880
  * @see https://redis.io/commands/hexpiretime
5881
+ * @see node_modules/@upstash/redis/docs/commands/hash/hexpiretime.mdx
5505
5882
  */
5506
5883
  hexpiretime = (...args) => new HExpireTimeCommand(args, this.opts).exec(this.client);
5507
5884
  /**
5508
5885
  * @see https://redis.io/commands/httl
5886
+ * @see node_modules/@upstash/redis/docs/commands/hash/httl.mdx
5509
5887
  */
5510
5888
  httl = (...args) => new HTtlCommand(args, this.opts).exec(this.client);
5511
5889
  /**
5512
5890
  * @see https://redis.io/commands/hpexpire
5891
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpire.mdx
5513
5892
  */
5514
5893
  hpexpire = (...args) => new HPExpireCommand(args, this.opts).exec(this.client);
5515
5894
  /**
5516
5895
  * @see https://redis.io/commands/hpexpireat
5896
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpireat.mdx
5517
5897
  */
5518
5898
  hpexpireat = (...args) => new HPExpireAtCommand(args, this.opts).exec(this.client);
5519
5899
  /**
5520
5900
  * @see https://redis.io/commands/hpexpiretime
5901
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpexpiretime.mdx
5521
5902
  */
5522
5903
  hpexpiretime = (...args) => new HPExpireTimeCommand(args, this.opts).exec(this.client);
5523
5904
  /**
5524
5905
  * @see https://redis.io/commands/hpttl
5906
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpttl.mdx
5525
5907
  */
5526
5908
  hpttl = (...args) => new HPTtlCommand(args, this.opts).exec(this.client);
5527
5909
  /**
5528
5910
  * @see https://redis.io/commands/hpersist
5911
+ * @see node_modules/@upstash/redis/docs/commands/hash/hpersist.mdx
5529
5912
  */
5530
5913
  hpersist = (...args) => new HPersistCommand(args, this.opts).exec(this.client);
5531
5914
  /**
5532
5915
  * @see https://redis.io/commands/hget
5916
+ * @see node_modules/@upstash/redis/docs/commands/hash/hget.mdx
5917
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5918
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5919
+ * to receive raw strings.
5533
5920
  */
5534
5921
  hget = (...args) => new HGetCommand(args, this.opts).exec(this.client);
5535
5922
  /**
5536
5923
  * @see https://redis.io/commands/hgetall
5924
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetall.mdx
5925
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5926
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5927
+ * to receive raw strings.
5928
+ * With automaticDeserialization: false, hgetall returns a flat array instead, such as
5929
+ * ["text", "123", "version", "1"], and [] for a missing key.
5537
5930
  */
5538
5931
  hgetall = (...args) => new HGetAllCommand(args, this.opts).exec(this.client);
5539
5932
  /**
5540
5933
  * @see https://redis.io/commands/hgetdel
5934
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetdel.mdx
5935
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5936
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5937
+ * to receive raw strings.
5938
+ * With automaticDeserialization: false, hgetdel returns an array of values in field order instead,
5939
+ * such as ["123", null], with null for each field when the key is missing.
5541
5940
  */
5542
5941
  hgetdel = (...args) => new HGetDelCommand(args, this.opts).exec(this.client);
5543
5942
  /**
5544
5943
  * @see https://redis.io/commands/hgetex
5944
+ * @see node_modules/@upstash/redis/docs/commands/hash/hgetex.mdx
5945
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5946
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5947
+ * to receive raw strings.
5948
+ * With automaticDeserialization: false, hgetex returns an array of values in field order instead,
5949
+ * such as ["123", null], with null for each field when the key is missing.
5545
5950
  */
5546
5951
  hgetex = (...args) => new HGetExCommand(args, this.opts).exec(this.client);
5547
5952
  /**
5548
5953
  * @see https://redis.io/commands/hincrby
5954
+ * @see node_modules/@upstash/redis/docs/commands/hash/hincrby.mdx
5549
5955
  */
5550
5956
  hincrby = (...args) => new HIncrByCommand(args, this.opts).exec(this.client);
5551
5957
  /**
5552
5958
  * @see https://redis.io/commands/hincrbyfloat
5959
+ * @see node_modules/@upstash/redis/docs/commands/hash/hincrbyfloat.mdx
5553
5960
  */
5554
5961
  hincrbyfloat = (...args) => new HIncrByFloatCommand(args, this.opts).exec(this.client);
5555
5962
  /**
5556
5963
  * @see https://redis.io/commands/hkeys
5964
+ * @see node_modules/@upstash/redis/docs/commands/hash/hkeys.mdx
5557
5965
  */
5558
5966
  hkeys = (...args) => new HKeysCommand(args, this.opts).exec(this.client);
5559
5967
  /**
5560
5968
  * @see https://redis.io/commands/hlen
5969
+ * @see node_modules/@upstash/redis/docs/commands/hash/hlen.mdx
5561
5970
  */
5562
5971
  hlen = (...args) => new HLenCommand(args, this.opts).exec(this.client);
5563
5972
  /**
5564
5973
  * @see https://redis.io/commands/hmget
5974
+ * @see node_modules/@upstash/redis/docs/commands/hash/hmget.mdx
5975
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
5976
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
5977
+ * to receive raw strings.
5978
+ * With automaticDeserialization: false, hmget returns an array of values in field order instead,
5979
+ * such as ["123", null], with null for each field when the key is missing.
5565
5980
  */
5566
5981
  hmget = (...args) => new HMGetCommand(args, this.opts).exec(this.client);
5567
5982
  /**
@@ -5570,66 +5985,88 @@ var Redis = class {
5570
5985
  hmset = (key, kv) => new HMSetCommand([key, kv], this.opts).exec(this.client);
5571
5986
  /**
5572
5987
  * @see https://redis.io/commands/hrandfield
5988
+ * @see node_modules/@upstash/redis/docs/commands/hash/hrandfield.mdx
5573
5989
  */
5574
5990
  hrandfield = (key, count, withValues) => new HRandFieldCommand([key, count, withValues], this.opts).exec(this.client);
5575
5991
  /**
5576
5992
  * @see https://redis.io/commands/hscan
5993
+ * @see node_modules/@upstash/redis/docs/commands/hash/hscan.mdx
5577
5994
  */
5578
5995
  hscan = (...args) => new HScanCommand(args, this.opts).exec(this.client);
5579
5996
  /**
5580
5997
  * @see https://redis.io/commands/hset
5998
+ * @see node_modules/@upstash/redis/docs/commands/hash/hset.mdx
5581
5999
  */
5582
6000
  hset = (key, kv) => new HSetCommand([key, kv], this.opts).exec(this.client);
5583
6001
  /**
5584
6002
  * @see https://redis.io/commands/hsetex
6003
+ * @see node_modules/@upstash/redis/docs/commands/hash/hsetex.mdx
5585
6004
  */
5586
6005
  hsetex = (...args) => new HSetExCommand(args, this.opts).exec(this.client);
5587
6006
  /**
5588
6007
  * @see https://redis.io/commands/hsetnx
6008
+ * @see node_modules/@upstash/redis/docs/commands/hash/hsetnx.mdx
5589
6009
  */
5590
6010
  hsetnx = (key, field, value) => new HSetNXCommand([key, field, value], this.opts).exec(this.client);
5591
6011
  /**
5592
6012
  * @see https://redis.io/commands/hstrlen
6013
+ * @see node_modules/@upstash/redis/docs/commands/hash/hstrlen.mdx
5593
6014
  */
5594
6015
  hstrlen = (...args) => new HStrLenCommand(args, this.opts).exec(this.client);
5595
6016
  /**
5596
6017
  * @see https://redis.io/commands/hvals
6018
+ * @see node_modules/@upstash/redis/docs/commands/hash/hvals.mdx
5597
6019
  */
5598
6020
  hvals = (...args) => new HValsCommand(args, this.opts).exec(this.client);
5599
6021
  /**
5600
6022
  * @see https://redis.io/commands/incr
6023
+ * @see node_modules/@upstash/redis/docs/commands/string/incr.mdx
5601
6024
  */
5602
6025
  incr = (...args) => new IncrCommand(args, this.opts).exec(this.client);
5603
6026
  /**
5604
6027
  * @see https://redis.io/commands/incrby
6028
+ * @see node_modules/@upstash/redis/docs/commands/string/incrby.mdx
5605
6029
  */
5606
6030
  incrby = (...args) => new IncrByCommand(args, this.opts).exec(this.client);
5607
6031
  /**
5608
6032
  * @see https://redis.io/commands/incrbyfloat
6033
+ * @see node_modules/@upstash/redis/docs/commands/string/incrbyfloat.mdx
5609
6034
  */
5610
6035
  incrbyfloat = (...args) => new IncrByFloatCommand(args, this.opts).exec(this.client);
5611
6036
  /**
5612
6037
  * @see https://redis.io/commands/keys
6038
+ * @see node_modules/@upstash/redis/docs/commands/generic/keys.mdx
5613
6039
  */
5614
6040
  keys = (...args) => new KeysCommand(args, this.opts).exec(this.client);
5615
6041
  /**
5616
6042
  * @see https://redis.io/commands/lindex
6043
+ * @see node_modules/@upstash/redis/docs/commands/list/lindex.mdx
6044
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6045
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6046
+ * to receive raw strings.
5617
6047
  */
5618
6048
  lindex = (...args) => new LIndexCommand(args, this.opts).exec(this.client);
5619
6049
  /**
5620
6050
  * @see https://redis.io/commands/linsert
6051
+ * @see node_modules/@upstash/redis/docs/commands/list/linsert.mdx
5621
6052
  */
5622
6053
  linsert = (key, direction, pivot, value) => new LInsertCommand([key, direction, pivot, value], this.opts).exec(this.client);
5623
6054
  /**
5624
6055
  * @see https://redis.io/commands/llen
6056
+ * @see node_modules/@upstash/redis/docs/commands/list/llen.mdx
5625
6057
  */
5626
6058
  llen = (...args) => new LLenCommand(args, this.opts).exec(this.client);
5627
6059
  /**
5628
6060
  * @see https://redis.io/commands/lmove
6061
+ * @see node_modules/@upstash/redis/docs/commands/list/lmove.mdx
5629
6062
  */
5630
6063
  lmove = (...args) => new LMoveCommand(args, this.opts).exec(this.client);
5631
6064
  /**
5632
6065
  * @see https://redis.io/commands/lpop
6066
+ * @see node_modules/@upstash/redis/docs/commands/list/lpop.mdx
6067
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6068
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6069
+ * to receive raw strings.
5633
6070
  */
5634
6071
  lpop = (...args) => new LPopCommand(args, this.opts).exec(this.client);
5635
6072
  /**
@@ -5638,54 +6075,73 @@ var Redis = class {
5638
6075
  lmpop = (...args) => new LmPopCommand(args, this.opts).exec(this.client);
5639
6076
  /**
5640
6077
  * @see https://redis.io/commands/lpos
6078
+ * @see node_modules/@upstash/redis/docs/commands/list/lpos.mdx
5641
6079
  */
5642
6080
  lpos = (...args) => new LPosCommand(args, this.opts).exec(this.client);
5643
6081
  /**
5644
6082
  * @see https://redis.io/commands/lpush
6083
+ * @see node_modules/@upstash/redis/docs/commands/list/lpush.mdx
5645
6084
  */
5646
6085
  lpush = (key, ...elements) => new LPushCommand([key, ...elements], this.opts).exec(this.client);
5647
6086
  /**
5648
6087
  * @see https://redis.io/commands/lpushx
6088
+ * @see node_modules/@upstash/redis/docs/commands/list/lpushx.mdx
5649
6089
  */
5650
6090
  lpushx = (key, ...elements) => new LPushXCommand([key, ...elements], this.opts).exec(this.client);
5651
6091
  /**
5652
6092
  * @see https://redis.io/commands/lrange
6093
+ * @see node_modules/@upstash/redis/docs/commands/list/lrange.mdx
6094
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6095
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6096
+ * to receive raw strings.
5653
6097
  */
5654
6098
  lrange = (...args) => new LRangeCommand(args, this.opts).exec(this.client);
5655
6099
  /**
5656
6100
  * @see https://redis.io/commands/lrem
6101
+ * @see node_modules/@upstash/redis/docs/commands/list/lrem.mdx
5657
6102
  */
5658
6103
  lrem = (key, count, value) => new LRemCommand([key, count, value], this.opts).exec(this.client);
5659
6104
  /**
5660
6105
  * @see https://redis.io/commands/lset
6106
+ * @see node_modules/@upstash/redis/docs/commands/list/lset.mdx
5661
6107
  */
5662
6108
  lset = (key, index, value) => new LSetCommand([key, index, value], this.opts).exec(this.client);
5663
6109
  /**
5664
6110
  * @see https://redis.io/commands/ltrim
6111
+ * @see node_modules/@upstash/redis/docs/commands/list/ltrim.mdx
5665
6112
  */
5666
6113
  ltrim = (...args) => new LTrimCommand(args, this.opts).exec(this.client);
5667
6114
  /**
5668
6115
  * @see https://redis.io/commands/mget
6116
+ * @see node_modules/@upstash/redis/docs/commands/string/mget.mdx
6117
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6118
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6119
+ * to receive raw strings.
5669
6120
  */
5670
6121
  mget = (...args) => new MGetCommand(args, this.opts).exec(this.client);
5671
6122
  /**
5672
6123
  * @see https://redis.io/commands/mset
6124
+ * @see node_modules/@upstash/redis/docs/commands/string/mset.mdx
5673
6125
  */
5674
6126
  mset = (kv) => new MSetCommand([kv], this.opts).exec(this.client);
5675
6127
  /**
5676
6128
  * @see https://redis.io/commands/msetnx
6129
+ * @see node_modules/@upstash/redis/docs/commands/string/msetnx.mdx
5677
6130
  */
5678
6131
  msetnx = (kv) => new MSetNXCommand([kv], this.opts).exec(this.client);
5679
6132
  /**
5680
6133
  * @see https://redis.io/commands/persist
6134
+ * @see node_modules/@upstash/redis/docs/commands/generic/persist.mdx
5681
6135
  */
5682
6136
  persist = (...args) => new PersistCommand(args, this.opts).exec(this.client);
5683
6137
  /**
5684
6138
  * @see https://redis.io/commands/pexpire
6139
+ * @see node_modules/@upstash/redis/docs/commands/generic/pexpire.mdx
5685
6140
  */
5686
6141
  pexpire = (...args) => new PExpireCommand(args, this.opts).exec(this.client);
5687
6142
  /**
5688
6143
  * @see https://redis.io/commands/pexpireat
6144
+ * @see node_modules/@upstash/redis/docs/commands/generic/pexpireat.mdx
5689
6145
  */
5690
6146
  pexpireat = (...args) => new PExpireAtCommand(args, this.opts).exec(this.client);
5691
6147
  /**
@@ -5702,6 +6158,7 @@ var Redis = class {
5702
6158
  pfmerge = (...args) => new PfMergeCommand(args, this.opts).exec(this.client);
5703
6159
  /**
5704
6160
  * @see https://redis.io/commands/ping
6161
+ * @see node_modules/@upstash/redis/docs/commands/auth/ping.mdx
5705
6162
  */
5706
6163
  ping = (args) => new PingCommand(args, this.opts).exec(this.client);
5707
6164
  /**
@@ -5710,6 +6167,11 @@ var Redis = class {
5710
6167
  psetex = (key, ttl, value) => new PSetEXCommand([key, ttl, value], this.opts).exec(this.client);
5711
6168
  /**
5712
6169
  * @see https://redis.io/commands/psubscribe
6170
+ * @see node_modules/@upstash/redis/docs/commands/pubsub/psubscribe.mdx
6171
+ * Messages are JSON-parsed automatically: a published "123" arrives as the number 123. Unlike
6172
+ * subscribe, a message that is not valid JSON (such as "hello") never reaches the listener and
6173
+ * emits an "error" event instead. Pass automaticDeserialization: false to the Redis constructor
6174
+ * to receive raw strings.
5713
6175
  */
5714
6176
  psubscribe = (patterns) => {
5715
6177
  const patternArray = Array.isArray(patterns) ? patterns : [patterns];
@@ -5717,38 +6179,50 @@ var Redis = class {
5717
6179
  };
5718
6180
  /**
5719
6181
  * @see https://redis.io/commands/pttl
6182
+ * @see node_modules/@upstash/redis/docs/commands/generic/pttl.mdx
5720
6183
  */
5721
6184
  pttl = (...args) => new PTtlCommand(args, this.opts).exec(this.client);
5722
6185
  /**
5723
6186
  * @see https://redis.io/commands/publish
6187
+ * @see node_modules/@upstash/redis/docs/commands/pubsub/publish.mdx
5724
6188
  */
5725
6189
  publish = (...args) => new PublishCommand(args, this.opts).exec(this.client);
5726
6190
  /**
5727
6191
  * @see https://redis.io/commands/randomkey
6192
+ * @see node_modules/@upstash/redis/docs/commands/generic/randomkey.mdx
5728
6193
  */
5729
6194
  randomkey = () => new RandomKeyCommand().exec(this.client);
5730
6195
  /**
5731
6196
  * @see https://redis.io/commands/rename
6197
+ * @see node_modules/@upstash/redis/docs/commands/generic/rename.mdx
5732
6198
  */
5733
6199
  rename = (...args) => new RenameCommand(args, this.opts).exec(this.client);
5734
6200
  /**
5735
6201
  * @see https://redis.io/commands/renamenx
6202
+ * @see node_modules/@upstash/redis/docs/commands/generic/renamenx.mdx
5736
6203
  */
5737
6204
  renamenx = (...args) => new RenameNXCommand(args, this.opts).exec(this.client);
5738
6205
  /**
5739
6206
  * @see https://redis.io/commands/rpop
6207
+ * @see node_modules/@upstash/redis/docs/commands/list/rpop.mdx
6208
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6209
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6210
+ * to receive raw strings.
5740
6211
  */
5741
6212
  rpop = (...args) => new RPopCommand(args, this.opts).exec(this.client);
5742
6213
  /**
5743
6214
  * @see https://redis.io/commands/rpush
6215
+ * @see node_modules/@upstash/redis/docs/commands/list/rpush.mdx
5744
6216
  */
5745
6217
  rpush = (key, ...elements) => new RPushCommand([key, ...elements], this.opts).exec(this.client);
5746
6218
  /**
5747
6219
  * @see https://redis.io/commands/rpushx
6220
+ * @see node_modules/@upstash/redis/docs/commands/list/rpushx.mdx
5748
6221
  */
5749
6222
  rpushx = (key, ...elements) => new RPushXCommand([key, ...elements], this.opts).exec(this.client);
5750
6223
  /**
5751
6224
  * @see https://redis.io/commands/sadd
6225
+ * @see node_modules/@upstash/redis/docs/commands/set/sadd.mdx
5752
6226
  */
5753
6227
  sadd = (key, member, ...members) => new SAddCommand([key, member, ...members], this.opts).exec(this.client);
5754
6228
  scan(cursor, opts) {
@@ -5756,34 +6230,42 @@ var Redis = class {
5756
6230
  }
5757
6231
  /**
5758
6232
  * @see https://redis.io/commands/scard
6233
+ * @see node_modules/@upstash/redis/docs/commands/set/scard.mdx
5759
6234
  */
5760
6235
  scard = (...args) => new SCardCommand(args, this.opts).exec(this.client);
5761
6236
  /**
5762
6237
  * @see https://redis.io/commands/script-exists
6238
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_exists.mdx
5763
6239
  */
5764
6240
  scriptExists = (...args) => new ScriptExistsCommand(args, this.opts).exec(this.client);
5765
6241
  /**
5766
6242
  * @see https://redis.io/commands/script-flush
6243
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_flush.mdx
5767
6244
  */
5768
6245
  scriptFlush = (...args) => new ScriptFlushCommand(args, this.opts).exec(this.client);
5769
6246
  /**
5770
6247
  * @see https://redis.io/commands/script-load
6248
+ * @see node_modules/@upstash/redis/docs/commands/scripts/script_load.mdx
5771
6249
  */
5772
6250
  scriptLoad = (...args) => new ScriptLoadCommand(args, this.opts).exec(this.client);
5773
6251
  /**
5774
6252
  * @see https://redis.io/commands/sdiff
6253
+ * @see node_modules/@upstash/redis/docs/commands/set/sdiff.mdx
5775
6254
  */
5776
6255
  sdiff = (...args) => new SDiffCommand(args, this.opts).exec(this.client);
5777
6256
  /**
5778
6257
  * @see https://redis.io/commands/sdiffstore
6258
+ * @see node_modules/@upstash/redis/docs/commands/set/sdiffstore.mdx
5779
6259
  */
5780
6260
  sdiffstore = (...args) => new SDiffStoreCommand(args, this.opts).exec(this.client);
5781
6261
  /**
5782
6262
  * @see https://redis.io/commands/set
6263
+ * @see node_modules/@upstash/redis/docs/commands/string/set.mdx
5783
6264
  */
5784
6265
  set = (key, value, opts) => new SetCommand([key, value, opts], this.opts).exec(this.client);
5785
6266
  /**
5786
6267
  * @see https://redis.io/commands/setbit
6268
+ * @see node_modules/@upstash/redis/docs/commands/bitmap/setbit.mdx
5787
6269
  */
5788
6270
  setbit = (...args) => new SetBitCommand(args, this.opts).exec(this.client);
5789
6271
  /**
@@ -5796,10 +6278,12 @@ var Redis = class {
5796
6278
  setnx = (key, value) => new SetNxCommand([key, value], this.opts).exec(this.client);
5797
6279
  /**
5798
6280
  * @see https://redis.io/commands/setrange
6281
+ * @see node_modules/@upstash/redis/docs/commands/string/setrange.mdx
5799
6282
  */
5800
6283
  setrange = (...args) => new SetRangeCommand(args, this.opts).exec(this.client);
5801
6284
  /**
5802
6285
  * @see https://redis.io/commands/sinter
6286
+ * @see node_modules/@upstash/redis/docs/commands/set/sinter.mdx
5803
6287
  */
5804
6288
  sinter = (...args) => new SInterCommand(args, this.opts).exec(this.client);
5805
6289
  /**
@@ -5808,46 +6292,60 @@ var Redis = class {
5808
6292
  sintercard = (...args) => new SInterCardCommand(args, this.opts).exec(this.client);
5809
6293
  /**
5810
6294
  * @see https://redis.io/commands/sinterstore
6295
+ * @see node_modules/@upstash/redis/docs/commands/set/sinterstore.mdx
5811
6296
  */
5812
6297
  sinterstore = (...args) => new SInterStoreCommand(args, this.opts).exec(this.client);
5813
6298
  /**
5814
6299
  * @see https://redis.io/commands/sismember
6300
+ * @see node_modules/@upstash/redis/docs/commands/set/sismember.mdx
5815
6301
  */
5816
6302
  sismember = (key, member) => new SIsMemberCommand([key, member], this.opts).exec(this.client);
5817
6303
  /**
5818
6304
  * @see https://redis.io/commands/smismember
6305
+ * @see node_modules/@upstash/redis/docs/commands/set/smismember.mdx
5819
6306
  */
5820
6307
  smismember = (key, members) => new SMIsMemberCommand([key, members], this.opts).exec(this.client);
5821
6308
  /**
5822
6309
  * @see https://redis.io/commands/smembers
6310
+ * @see node_modules/@upstash/redis/docs/commands/set/smembers.mdx
5823
6311
  */
5824
6312
  smembers = (...args) => new SMembersCommand(args, this.opts).exec(this.client);
5825
6313
  /**
5826
6314
  * @see https://redis.io/commands/smove
6315
+ * @see node_modules/@upstash/redis/docs/commands/set/smove.mdx
5827
6316
  */
5828
6317
  smove = (source, destination, member) => new SMoveCommand([source, destination, member], this.opts).exec(this.client);
5829
6318
  /**
5830
6319
  * @see https://redis.io/commands/spop
6320
+ * @see node_modules/@upstash/redis/docs/commands/set/spop.mdx
5831
6321
  */
5832
6322
  spop = (...args) => new SPopCommand(args, this.opts).exec(this.client);
5833
6323
  /**
5834
6324
  * @see https://redis.io/commands/srandmember
6325
+ * @see node_modules/@upstash/redis/docs/commands/set/srandmember.mdx
5835
6326
  */
5836
6327
  srandmember = (...args) => new SRandMemberCommand(args, this.opts).exec(this.client);
5837
6328
  /**
5838
6329
  * @see https://redis.io/commands/srem
6330
+ * @see node_modules/@upstash/redis/docs/commands/set/srem.mdx
5839
6331
  */
5840
6332
  srem = (key, ...members) => new SRemCommand([key, ...members], this.opts).exec(this.client);
5841
6333
  /**
5842
6334
  * @see https://redis.io/commands/sscan
6335
+ * @see node_modules/@upstash/redis/docs/commands/set/sscan.mdx
5843
6336
  */
5844
6337
  sscan = (...args) => new SScanCommand(args, this.opts).exec(this.client);
5845
6338
  /**
5846
6339
  * @see https://redis.io/commands/strlen
6340
+ * @see node_modules/@upstash/redis/docs/commands/string/strlen.mdx
5847
6341
  */
5848
6342
  strlen = (...args) => new StrLenCommand(args, this.opts).exec(this.client);
5849
6343
  /**
5850
6344
  * @see https://redis.io/commands/subscribe
6345
+ * @see node_modules/@upstash/redis/docs/commands/pubsub/subscribe.mdx
6346
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6347
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6348
+ * to receive raw strings.
5851
6349
  */
5852
6350
  subscribe = (channels) => {
5853
6351
  const channelArray = Array.isArray(channels) ? channels : [channels];
@@ -5855,10 +6353,12 @@ var Redis = class {
5855
6353
  };
5856
6354
  /**
5857
6355
  * @see https://redis.io/commands/sunion
6356
+ * @see node_modules/@upstash/redis/docs/commands/set/sunion.mdx
5858
6357
  */
5859
6358
  sunion = (...args) => new SUnionCommand(args, this.opts).exec(this.client);
5860
6359
  /**
5861
6360
  * @see https://redis.io/commands/sunionstore
6361
+ * @see node_modules/@upstash/redis/docs/commands/set/sunionstore.mdx
5862
6362
  */
5863
6363
  sunionstore = (...args) => new SUnionStoreCommand(args, this.opts).exec(this.client);
5864
6364
  /**
@@ -5867,86 +6367,117 @@ var Redis = class {
5867
6367
  time = () => new TimeCommand().exec(this.client);
5868
6368
  /**
5869
6369
  * @see https://redis.io/commands/touch
6370
+ * @see node_modules/@upstash/redis/docs/commands/generic/touch.mdx
5870
6371
  */
5871
6372
  touch = (...args) => new TouchCommand(args, this.opts).exec(this.client);
5872
6373
  /**
5873
6374
  * @see https://redis.io/commands/ttl
6375
+ * @see node_modules/@upstash/redis/docs/commands/generic/ttl.mdx
5874
6376
  */
5875
6377
  ttl = (...args) => new TtlCommand(args, this.opts).exec(this.client);
5876
6378
  /**
5877
6379
  * @see https://redis.io/commands/type
6380
+ * @see node_modules/@upstash/redis/docs/commands/generic/type.mdx
5878
6381
  */
5879
6382
  type = (...args) => new TypeCommand(args, this.opts).exec(this.client);
5880
6383
  /**
5881
6384
  * @see https://redis.io/commands/unlink
6385
+ * @see node_modules/@upstash/redis/docs/commands/generic/unlink.mdx
5882
6386
  */
5883
6387
  unlink = (...args) => new UnlinkCommand(args, this.opts).exec(this.client);
5884
6388
  /**
5885
6389
  * @see https://redis.io/commands/xadd
6390
+ * @see node_modules/@upstash/redis/docs/commands/stream/xadd.mdx
5886
6391
  */
5887
6392
  xadd = (...args) => new XAddCommand(args, this.opts).exec(this.client);
5888
6393
  /**
5889
6394
  * @see https://redis.io/commands/xack
6395
+ * @see node_modules/@upstash/redis/docs/commands/stream/xack.mdx
5890
6396
  */
5891
6397
  xack = (...args) => new XAckCommand(args, this.opts).exec(this.client);
5892
6398
  /**
5893
6399
  * @see https://redis.io/commands/xackdel
6400
+ * @see node_modules/@upstash/redis/docs/commands/stream/xackdel.mdx
5894
6401
  */
5895
6402
  xackdel = (...args) => new XAckDelCommand(args, this.opts).exec(this.client);
5896
6403
  /**
5897
6404
  * @see https://redis.io/commands/xdel
6405
+ * @see node_modules/@upstash/redis/docs/commands/stream/xdel.mdx
5898
6406
  */
5899
6407
  xdel = (...args) => new XDelCommand(args, this.opts).exec(this.client);
5900
6408
  /**
5901
6409
  * @see https://redis.io/commands/xdelex
6410
+ * @see node_modules/@upstash/redis/docs/commands/stream/xdelex.mdx
5902
6411
  */
5903
6412
  xdelex = (...args) => new XDelExCommand(args, this.opts).exec(this.client);
5904
6413
  /**
5905
6414
  * @see https://redis.io/commands/xgroup
6415
+ * @see node_modules/@upstash/redis/docs/commands/stream/xgroup.mdx
5906
6416
  */
5907
6417
  xgroup = (...args) => new XGroupCommand(args, this.opts).exec(this.client);
5908
6418
  /**
5909
6419
  * @see https://redis.io/commands/xread
6420
+ * @see node_modules/@upstash/redis/docs/commands/stream/xread.mdx
5910
6421
  */
5911
6422
  xread = (...args) => new XReadCommand(args, this.opts).exec(this.client);
5912
6423
  /**
5913
6424
  * @see https://redis.io/commands/xreadgroup
6425
+ * @see node_modules/@upstash/redis/docs/commands/stream/xreadgroup.mdx
5914
6426
  */
5915
6427
  xreadgroup = (...args) => new XReadGroupCommand(args, this.opts).exec(this.client);
5916
6428
  /**
5917
6429
  * @see https://redis.io/commands/xinfo
6430
+ * @see node_modules/@upstash/redis/docs/commands/stream/xinfo.mdx
5918
6431
  */
5919
6432
  xinfo = (...args) => new XInfoCommand(args, this.opts).exec(this.client);
5920
6433
  /**
5921
6434
  * @see https://redis.io/commands/xlen
6435
+ * @see node_modules/@upstash/redis/docs/commands/stream/xlen.mdx
5922
6436
  */
5923
6437
  xlen = (...args) => new XLenCommand(args, this.opts).exec(this.client);
5924
6438
  /**
5925
6439
  * @see https://redis.io/commands/xpending
6440
+ * @see node_modules/@upstash/redis/docs/commands/stream/xpending.mdx
5926
6441
  */
5927
6442
  xpending = (...args) => new XPendingCommand(args, this.opts).exec(this.client);
5928
6443
  /**
5929
6444
  * @see https://redis.io/commands/xclaim
6445
+ * @see node_modules/@upstash/redis/docs/commands/stream/xclaim.mdx
5930
6446
  */
5931
6447
  xclaim = (...args) => new XClaimCommand(args, this.opts).exec(this.client);
5932
6448
  /**
5933
6449
  * @see https://redis.io/commands/xautoclaim
6450
+ * @see node_modules/@upstash/redis/docs/commands/stream/xautoclaim.mdx
5934
6451
  */
5935
6452
  xautoclaim = (...args) => new XAutoClaim(args, this.opts).exec(this.client);
5936
6453
  /**
5937
6454
  * @see https://redis.io/commands/xtrim
6455
+ * @see node_modules/@upstash/redis/docs/commands/stream/xtrim.mdx
5938
6456
  */
5939
6457
  xtrim = (...args) => new XTrimCommand(args, this.opts).exec(this.client);
5940
6458
  /**
5941
6459
  * @see https://redis.io/commands/xrange
6460
+ * @see node_modules/@upstash/redis/docs/commands/stream/xrange.mdx
6461
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6462
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6463
+ * to receive raw strings.
6464
+ * With automaticDeserialization: false, xrange returns [id, [field, value, ...]] entries instead,
6465
+ * such as [["1790341484470-0", ["text", "123"]]], and [] for a missing key.
5942
6466
  */
5943
6467
  xrange = (...args) => new XRangeCommand(args, this.opts).exec(this.client);
5944
6468
  /**
5945
6469
  * @see https://redis.io/commands/xrevrange
6470
+ * @see node_modules/@upstash/redis/docs/commands/stream/xrevrange.mdx
6471
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6472
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6473
+ * to receive raw strings.
6474
+ * With automaticDeserialization: false, xrevrange returns [id, [field, value, ...]] entries instead,
6475
+ * such as [["1790341484470-0", ["text", "123"]]], and [] for a missing key.
5946
6476
  */
5947
6477
  xrevrange = (...args) => new XRevRangeCommand(args, this.opts).exec(this.client);
5948
6478
  /**
5949
6479
  * @see https://redis.io/commands/zadd
6480
+ * @see node_modules/@upstash/redis/docs/commands/zset/zadd.mdx
5950
6481
  */
5951
6482
  zadd = (...args) => {
5952
6483
  if ("score" in args[1]) {
@@ -5961,74 +6492,95 @@ var Redis = class {
5961
6492
  };
5962
6493
  /**
5963
6494
  * @see https://redis.io/commands/zcard
6495
+ * @see node_modules/@upstash/redis/docs/commands/zset/zcard.mdx
5964
6496
  */
5965
6497
  zcard = (...args) => new ZCardCommand(args, this.opts).exec(this.client);
5966
6498
  /**
5967
6499
  * @see https://redis.io/commands/zcount
6500
+ * @see node_modules/@upstash/redis/docs/commands/zset/zcount.mdx
5968
6501
  */
5969
6502
  zcount = (...args) => new ZCountCommand(args, this.opts).exec(this.client);
5970
6503
  /**
5971
6504
  * @see https://redis.io/commands/zdiffstore
6505
+ * @see node_modules/@upstash/redis/docs/commands/zset/zdiffstore.mdx
5972
6506
  */
5973
6507
  zdiffstore = (...args) => new ZDiffStoreCommand(args, this.opts).exec(this.client);
5974
6508
  /**
5975
6509
  * @see https://redis.io/commands/zincrby
6510
+ * @see node_modules/@upstash/redis/docs/commands/zset/zincrby.mdx
5976
6511
  */
5977
6512
  zincrby = (key, increment, member) => new ZIncrByCommand([key, increment, member], this.opts).exec(this.client);
5978
6513
  /**
5979
6514
  * @see https://redis.io/commands/zinterstore
6515
+ * @see node_modules/@upstash/redis/docs/commands/zset/zinterstore.mdx
5980
6516
  */
5981
6517
  zinterstore = (...args) => new ZInterStoreCommand(args, this.opts).exec(this.client);
5982
6518
  /**
5983
6519
  * @see https://redis.io/commands/zlexcount
6520
+ * @see node_modules/@upstash/redis/docs/commands/zset/zlexcount.mdx
5984
6521
  */
5985
6522
  zlexcount = (...args) => new ZLexCountCommand(args, this.opts).exec(this.client);
5986
6523
  /**
5987
6524
  * @see https://redis.io/commands/zmscore
6525
+ * @see node_modules/@upstash/redis/docs/commands/zset/zmscore.mdx
5988
6526
  */
5989
6527
  zmscore = (...args) => new ZMScoreCommand(args, this.opts).exec(this.client);
5990
6528
  /**
5991
6529
  * @see https://redis.io/commands/zpopmax
6530
+ * @see node_modules/@upstash/redis/docs/commands/zset/zpopmax.mdx
5992
6531
  */
5993
6532
  zpopmax = (...args) => new ZPopMaxCommand(args, this.opts).exec(this.client);
5994
6533
  /**
5995
6534
  * @see https://redis.io/commands/zpopmin
6535
+ * @see node_modules/@upstash/redis/docs/commands/zset/zpopmin.mdx
5996
6536
  */
5997
6537
  zpopmin = (...args) => new ZPopMinCommand(args, this.opts).exec(this.client);
5998
6538
  /**
5999
6539
  * @see https://redis.io/commands/zrange
6540
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrange.mdx
6541
+ * Responses are JSON-parsed automatically: a stored "123" comes back as the number 123, "true" as
6542
+ * true, and '{"a":1}' as an object. Pass automaticDeserialization: false to the Redis constructor
6543
+ * to receive raw strings.
6000
6544
  */
6001
6545
  zrange = (...args) => new ZRangeCommand(args, this.opts).exec(this.client);
6002
6546
  /**
6003
6547
  * @see https://redis.io/commands/zrank
6548
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrank.mdx
6004
6549
  */
6005
6550
  zrank = (key, member) => new ZRankCommand([key, member], this.opts).exec(this.client);
6006
6551
  /**
6007
6552
  * @see https://redis.io/commands/zrem
6553
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrem.mdx
6008
6554
  */
6009
6555
  zrem = (key, ...members) => new ZRemCommand([key, ...members], this.opts).exec(this.client);
6010
6556
  /**
6011
6557
  * @see https://redis.io/commands/zremrangebylex
6558
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebylex.mdx
6012
6559
  */
6013
6560
  zremrangebylex = (...args) => new ZRemRangeByLexCommand(args, this.opts).exec(this.client);
6014
6561
  /**
6015
6562
  * @see https://redis.io/commands/zremrangebyrank
6563
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebyrank.mdx
6016
6564
  */
6017
6565
  zremrangebyrank = (...args) => new ZRemRangeByRankCommand(args, this.opts).exec(this.client);
6018
6566
  /**
6019
6567
  * @see https://redis.io/commands/zremrangebyscore
6568
+ * @see node_modules/@upstash/redis/docs/commands/zset/zremrangebyscore.mdx
6020
6569
  */
6021
6570
  zremrangebyscore = (...args) => new ZRemRangeByScoreCommand(args, this.opts).exec(this.client);
6022
6571
  /**
6023
6572
  * @see https://redis.io/commands/zrevrank
6573
+ * @see node_modules/@upstash/redis/docs/commands/zset/zrevrank.mdx
6024
6574
  */
6025
6575
  zrevrank = (key, member) => new ZRevRankCommand([key, member], this.opts).exec(this.client);
6026
6576
  /**
6027
6577
  * @see https://redis.io/commands/zscan
6578
+ * @see node_modules/@upstash/redis/docs/commands/zset/zscan.mdx
6028
6579
  */
6029
6580
  zscan = (...args) => new ZScanCommand(args, this.opts).exec(this.client);
6030
6581
  /**
6031
6582
  * @see https://redis.io/commands/zscore
6583
+ * @see node_modules/@upstash/redis/docs/commands/zset/zscore.mdx
6032
6584
  */
6033
6585
  zscore = (key, member) => new ZScoreCommand([key, member], this.opts).exec(this.client);
6034
6586
  /**
@@ -6037,12 +6589,13 @@ var Redis = class {
6037
6589
  zunion = (...args) => new ZUnionCommand(args, this.opts).exec(this.client);
6038
6590
  /**
6039
6591
  * @see https://redis.io/commands/zunionstore
6592
+ * @see node_modules/@upstash/redis/docs/commands/zset/zunionstore.mdx
6040
6593
  */
6041
6594
  zunionstore = (...args) => new ZUnionStoreCommand(args, this.opts).exec(this.client);
6042
6595
  };
6043
6596
 
6044
6597
  // version.ts
6045
- var VERSION = "v1.40.0";
6598
+ var VERSION = "v1.41.0";
6046
6599
 
6047
6600
  export {
6048
6601
  error_exports,