orcaq 1.1.1 → 1.1.2

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 (999) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/63YtjFEq.js +1 -0
  3. package/.output/public/_nuxt/{BxDrCsPf.js → 8tyEaimf.js} +1 -1
  4. package/.output/public/_nuxt/AymhMj9v.js +1 -0
  5. package/.output/public/_nuxt/B2IKcIj2.js +1 -0
  6. package/.output/public/_nuxt/{CvcedJeQ.js → B46blMXm.js} +1 -1
  7. package/.output/public/_nuxt/B5WGo5x7.js +1 -0
  8. package/.output/public/_nuxt/{DHnNoguE.js → B6MkNyZd.js} +1 -1
  9. package/.output/public/_nuxt/B73IHAoF.js +1 -0
  10. package/.output/public/_nuxt/{DWBoXz89.js → B8TrrBEb.js} +1 -1
  11. package/.output/public/_nuxt/{CE8aasoy.js → B9uki8o2.js} +1 -1
  12. package/.output/public/_nuxt/{TuKV3Ilv.js → BEyCol50.js} +1 -1
  13. package/.output/public/_nuxt/{BvUhrUEH.js → BJCrbji-.js} +1 -1
  14. package/.output/public/_nuxt/{BnFDcr74.js → BJVPtt2X.js} +1 -1
  15. package/.output/public/_nuxt/BL__uYa3.js +1 -0
  16. package/.output/public/_nuxt/BPACuoI0.js +1 -0
  17. package/.output/public/_nuxt/BRFPdiIh.js +1 -0
  18. package/.output/public/_nuxt/BS-LtKx4.js +1 -0
  19. package/.output/public/_nuxt/{BJYf67_H.js → BTYBVtfa.js} +1 -1
  20. package/.output/public/_nuxt/BTheloyh.js +1 -0
  21. package/.output/public/_nuxt/BVUHbgGW.js +27 -0
  22. package/.output/public/_nuxt/BWZ7atse.js +1 -0
  23. package/.output/public/_nuxt/{CS5ItJPR.js → BWebIWit.js} +1 -1
  24. package/.output/public/_nuxt/{4by6-f6q.js → BcsKoAPU.js} +315 -313
  25. package/.output/public/_nuxt/{B6hH0qos.js → Bf6Q3Zl5.js} +1 -1
  26. package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
  27. package/.output/public/_nuxt/BjqbQLK3.js +1 -0
  28. package/.output/public/_nuxt/{C1jMZ4hc.js → Bmgr9uz4.js} +1 -1
  29. package/.output/public/_nuxt/{Bq7otXBA.js → Bmx1kTaZ.js} +1 -1
  30. package/.output/public/_nuxt/BoIj4dtd.js +1 -0
  31. package/.output/public/_nuxt/{Cx6s86aR.js → BoMjapT5.js} +1 -1
  32. package/.output/public/_nuxt/BogEzQi9.js +12 -0
  33. package/.output/public/_nuxt/BpLDGvqy.js +1 -0
  34. package/.output/public/_nuxt/BpUSbMUb.js +1 -0
  35. package/.output/public/_nuxt/BpvGVfME.js +1 -0
  36. package/.output/public/_nuxt/{DESYlybj.js → Bq47tjcm.js} +1 -1
  37. package/.output/public/_nuxt/{H5m89x1B.js → Bq7OeLM1.js} +1 -1
  38. package/.output/public/_nuxt/BqU89KuH.js +2 -0
  39. package/.output/public/_nuxt/{CrLqg4B0.js → BrNfge84.js} +1 -1
  40. package/.output/public/_nuxt/BtyzMl9p.js +1 -0
  41. package/.output/public/_nuxt/{BGVGiigU.js → ByiJDSw8.js} +1 -1
  42. package/.output/public/_nuxt/{DJqZzQsX.js → ByibjLZn.js} +1 -1
  43. package/.output/public/_nuxt/BzvSm28k.js +67 -0
  44. package/.output/public/_nuxt/C2XHqDOf.js +1 -0
  45. package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
  46. package/.output/public/_nuxt/{F5lCgNdb.js → C6dIAdHr.js} +1 -1
  47. package/.output/public/_nuxt/C7BQpy74.js +1 -0
  48. package/.output/public/_nuxt/{B84SvUzr.js → CAnr3OhD.js} +1 -1
  49. package/.output/public/_nuxt/CDJKw_ak.js +1 -0
  50. package/.output/public/_nuxt/CHEpbbGc.js +1 -0
  51. package/.output/public/_nuxt/{DNdM2ZyK.js → CMkzSwnO.js} +1 -1
  52. package/.output/public/_nuxt/{BdDEVolW.js → COHOh4Oe.js} +1 -1
  53. package/.output/public/_nuxt/COq7mAG7.js +10 -0
  54. package/.output/public/_nuxt/CS5akSNT.js +1 -0
  55. package/.output/public/_nuxt/CS9hqyP3.js +1 -0
  56. package/.output/public/_nuxt/{CR6_eO9a.js → CSQ0xnqv.js} +1 -1
  57. package/.output/public/_nuxt/C_7gtl40.js +1 -0
  58. package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
  59. package/.output/public/_nuxt/CerLmMsC.js +22 -0
  60. package/.output/public/_nuxt/{DaKikgWm.js → Ci5B19-c.js} +1 -1
  61. package/.output/public/_nuxt/{TEF-nDfP.js → Cnfx1zWl.js} +1 -1
  62. package/.output/public/_nuxt/{Ci43mke5.js → Cq-MDPLE.js} +1 -1
  63. package/.output/public/_nuxt/{minLMBmY.js → CrNLwdoE.js} +1 -1
  64. package/.output/public/_nuxt/{PUe8M07P.js → CsRSZpa6.js} +1 -1
  65. package/.output/public/_nuxt/CtWq1MER.js +7 -0
  66. package/.output/public/_nuxt/Cww9dXBK.js +1 -0
  67. package/.output/public/_nuxt/{ZObQcd0X.js → CycELG5y.js} +1 -1
  68. package/.output/public/_nuxt/{b_MfGg1c.js → D-9vaM6z.js} +1 -1
  69. package/.output/public/_nuxt/{D9dEqMyH.js → D4pAW_0T.js} +1 -1
  70. package/.output/public/_nuxt/DAr5YiBT.js +1 -0
  71. package/.output/public/_nuxt/{DFM-aCBX.js → DDebxXP-.js} +1 -1
  72. package/.output/public/_nuxt/{CEvNlevo.js → DEZMnZ2r.js} +1 -1
  73. package/.output/public/_nuxt/{BeNILdbT.js → DGvAu532.js} +1 -1
  74. package/.output/public/_nuxt/{CREZ9f0O.js → DHAL8jJG.js} +4 -4
  75. package/.output/public/_nuxt/{BprXyYdv.js → DJH-4SVI.js} +1 -1
  76. package/.output/public/_nuxt/{Dpl6-lqE.js → DMmjWR_K.js} +1 -1
  77. package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
  78. package/.output/public/_nuxt/{DkadXn5U.js → DNoTlUiY.js} +1 -1
  79. package/.output/public/_nuxt/DPIEiNwW.js +1 -0
  80. package/.output/public/_nuxt/{DQT4eICL.js → DSaBCmOg.js} +1 -1
  81. package/.output/public/_nuxt/DVnDb6ua.js +1 -0
  82. package/.output/public/_nuxt/DWqOZJe7.js +1 -0
  83. package/.output/public/_nuxt/DcCF9IZB.js +1 -0
  84. package/.output/public/_nuxt/DfNTLojg.js +1 -0
  85. package/.output/public/_nuxt/{Cvq07PgE.js → DkD29_YA.js} +1 -1
  86. package/.output/public/_nuxt/DpEV6S2O.js +1 -0
  87. package/.output/public/_nuxt/{DhKwXzSk.js → DpT8FO1Q.js} +1 -1
  88. package/.output/public/_nuxt/{D60Pzl_V.js → Dq1JM9WZ.js} +1 -1
  89. package/.output/public/_nuxt/{DXp9fCib.js → DsmBazLf.js} +1 -1
  90. package/.output/public/_nuxt/{ByOuUnNS.js → DuCDilAk.js} +1 -1
  91. package/.output/public/_nuxt/{CKqvNpN3.js → FDw04QOj.js} +1 -1
  92. package/.output/public/_nuxt/JOg_XIAv.js +1 -0
  93. package/.output/public/_nuxt/{BmU9CNkM.js → L2I3LmpB.js} +1 -1
  94. package/.output/public/_nuxt/M6bBaUHa.js +1 -0
  95. package/.output/public/_nuxt/MW5K_zef.js +1 -0
  96. package/.output/public/_nuxt/{YJvNy3iu.js → MeLWmO7R.js} +27 -27
  97. package/.output/public/_nuxt/{B4ebLeWY.js → Oe2GG0Lt.js} +3 -3
  98. package/.output/public/_nuxt/S1qa1a4x.js +1 -0
  99. package/.output/public/_nuxt/{CA99KAte.js → Sf02B6Pt.js} +2 -2
  100. package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
  101. package/.output/public/_nuxt/_qKPTuua.js +1 -0
  102. package/.output/public/_nuxt/{CybtvDjH.js → atdCACH-.js} +1 -1
  103. package/.output/public/_nuxt/builds/latest.json +1 -1
  104. package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
  105. package/.output/public/_nuxt/dNPwafbq.js +1 -0
  106. package/.output/public/_nuxt/dWu56FdP.js +3867 -0
  107. package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
  108. package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
  109. package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
  110. package/.output/public/_nuxt/{C5bgdIOp.js → ioXB9E2w.js} +1 -1
  111. package/.output/public/_nuxt/{B7HEMfgt.js → kvtnkChG.js} +1 -1
  112. package/.output/public/_nuxt/{DNNdcUH4.js → qzrMNYut.js} +1 -1
  113. package/.output/public/_nuxt/{DaMyovpr.js → sk7V7xQl.js} +1 -1
  114. package/.output/public/_nuxt/vhkvHdfO.js +1 -0
  115. package/.output/public/_nuxt/wRAs0MDn.js +2 -0
  116. package/.output/public/_nuxt/xOD4Ev56.js +1 -0
  117. package/.output/public/_nuxt/xp7rFxcm.js +1 -0
  118. package/.output/server/chunks/_/create-adapter.mjs +2 -0
  119. package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
  120. package/.output/server/chunks/_/db-connection.mjs +500 -19
  121. package/.output/server/chunks/_/db-connection.mjs.map +1 -1
  122. package/.output/server/chunks/_/instance-insights.factory.mjs +2037 -14
  123. package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
  124. package/.output/server/chunks/_/metadata.factory.mjs +302 -22
  125. package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
  126. package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
  127. package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
  128. package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
  129. package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
  130. package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
  131. package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
  132. package/.output/server/chunks/_/redis.client.mjs +129 -0
  133. package/.output/server/chunks/_/redis.client.mjs.map +1 -0
  134. package/.output/server/chunks/_/tables.factory.mjs +20 -8
  135. package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
  136. package/.output/server/chunks/build/client.manifest.mjs +748 -632
  137. package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
  138. package/.output/server/chunks/nitro/nitro.mjs +715 -606
  139. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  140. package/.output/server/chunks/routes/api/ai/agent.mjs +4 -1
  141. package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
  142. package/.output/server/chunks/routes/api/database-export/export-database.mjs +4 -1
  143. package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
  144. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +4 -1
  145. package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -1
  146. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +4 -1
  147. package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -1
  148. package/.output/server/chunks/routes/api/database-import/import-database.mjs +4 -1
  149. package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
  150. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +4 -1
  151. package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -1
  152. package/.output/server/chunks/routes/api/database-roles/create-role.mjs +4 -1
  153. package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
  154. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +4 -1
  155. package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
  156. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +4 -1
  157. package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
  158. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +4 -1
  159. package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
  160. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +4 -1
  161. package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
  162. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +4 -1
  163. package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
  164. package/.output/server/chunks/routes/api/database-roles/get-role.mjs +4 -1
  165. package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
  166. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +4 -1
  167. package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
  168. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +4 -1
  169. package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
  170. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +4 -1
  171. package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
  172. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +4 -1
  173. package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
  174. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +4 -1
  175. package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
  176. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +4 -1
  177. package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
  178. package/.output/server/chunks/routes/api/functions/definition.post.mjs +4 -1
  179. package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
  180. package/.output/server/chunks/routes/api/functions/delete.post.mjs +4 -1
  181. package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
  182. package/.output/server/chunks/routes/api/functions/overview.post.mjs +4 -1
  183. package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
  184. package/.output/server/chunks/routes/api/functions/rename.post.mjs +4 -1
  185. package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
  186. package/.output/server/chunks/routes/api/functions/signature.post.mjs +4 -1
  187. package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
  188. package/.output/server/chunks/routes/api/functions/update.post.mjs +4 -1
  189. package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
  190. package/.output/server/chunks/routes/api/index.post.mjs +5 -2
  191. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
  192. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +5 -2
  193. package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
  194. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +5 -2
  195. package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
  196. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +5 -2
  197. package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
  198. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +5 -2
  199. package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
  200. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +5 -2
  201. package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
  202. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +5 -2
  203. package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
  204. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +5 -2
  205. package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
  206. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +5 -2
  207. package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
  208. package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
  209. package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
  210. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +7 -1
  211. package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
  212. package/.output/server/chunks/routes/api/metadata/erd.post.mjs +7 -2
  213. package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
  214. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +6 -1
  215. package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
  216. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +7 -2
  217. package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
  218. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +4 -1
  219. package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
  220. package/.output/server/chunks/routes/api/query/execute.post.mjs +6 -1
  221. package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
  222. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +15 -3
  223. package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
  224. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +8 -1
  225. package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
  226. package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
  227. package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
  228. package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
  229. package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
  230. package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
  231. package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
  232. package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
  233. package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
  234. package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
  235. package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
  236. package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
  237. package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
  238. package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
  239. package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
  240. package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
  241. package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
  242. package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
  243. package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
  244. package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
  245. package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
  246. package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
  247. package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
  248. package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
  249. package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +9 -5
  251. package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
  252. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +9 -5
  253. package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
  254. package/.output/server/chunks/routes/api/tables/ddl.post.mjs +4 -1
  255. package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
  256. package/.output/server/chunks/routes/api/tables/export.post.mjs +5 -2
  257. package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
  258. package/.output/server/chunks/routes/api/tables/indexes.post.mjs +4 -1
  259. package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
  260. package/.output/server/chunks/routes/api/tables/meta.post.mjs +7 -2
  261. package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
  262. package/.output/server/chunks/routes/api/tables/overview.post.mjs +4 -1
  263. package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
  264. package/.output/server/chunks/routes/api/tables/rls.post.mjs +4 -1
  265. package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
  266. package/.output/server/chunks/routes/api/tables/rules.post.mjs +4 -1
  267. package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
  268. package/.output/server/chunks/routes/api/tables/size.post.mjs +4 -1
  269. package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
  270. package/.output/server/chunks/routes/api/tables/structure.post.mjs +4 -1
  271. package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
  272. package/.output/server/chunks/routes/api/tables/triggers.post.mjs +4 -1
  273. package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
  274. package/.output/server/chunks/routes/api/views/definition.post.mjs +4 -1
  275. package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
  276. package/.output/server/chunks/routes/api/views/dependencies.post.mjs +4 -1
  277. package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
  278. package/.output/server/chunks/routes/api/views/explain.post.mjs +4 -1
  279. package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
  280. package/.output/server/chunks/routes/api/views/indexes.post.mjs +4 -1
  281. package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
  282. package/.output/server/chunks/routes/api/views/meta.post.mjs +4 -1
  283. package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
  284. package/.output/server/chunks/routes/api/views/overview.post.mjs +4 -1
  285. package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
  286. package/.output/server/chunks/routes/renderer.mjs +1 -1
  287. package/.output/server/index.mjs +1 -1
  288. package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
  289. package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
  290. package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
  291. package/.output/server/node_modules/@libsql/client/package.json +123 -0
  292. package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
  293. package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
  294. package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
  295. package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
  296. package/.output/server/node_modules/@libsql/core/package.json +91 -0
  297. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
  298. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
  299. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
  300. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
  301. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
  302. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
  303. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
  304. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
  305. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
  306. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
  307. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
  308. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
  309. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
  310. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
  311. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
  312. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
  313. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
  314. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
  315. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
  316. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
  317. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
  318. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
  319. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
  320. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
  321. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
  322. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
  323. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
  324. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
  325. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
  326. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
  327. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
  328. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
  329. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
  330. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
  331. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
  332. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
  333. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
  334. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
  335. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
  336. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
  337. package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
  338. package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
  339. package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
  340. package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
  341. package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
  342. package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
  343. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
  344. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
  345. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
  346. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
  347. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
  348. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
  349. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
  350. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
  351. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
  352. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
  353. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
  354. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
  355. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
  356. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
  357. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
  358. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
  359. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
  360. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
  361. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
  362. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
  363. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
  364. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
  365. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
  366. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
  367. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
  368. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
  369. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
  370. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
  371. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
  372. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
  373. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
  374. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
  375. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
  376. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
  377. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
  378. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
  379. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
  380. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
  381. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
  382. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
  383. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
  384. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
  385. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
  386. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
  387. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
  388. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
  389. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
  390. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
  391. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
  392. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
  393. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
  394. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
  395. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
  396. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
  397. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
  398. package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
  399. package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
  400. package/.output/server/node_modules/@redis/bloom/package.json +36 -0
  401. package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
  402. package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
  403. package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
  404. package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
  405. package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
  406. package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
  407. package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
  408. package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
  409. package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
  410. package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
  411. package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
  412. package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
  413. package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
  414. package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
  415. package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
  416. package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
  417. package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
  418. package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
  419. package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
  420. package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
  421. package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
  422. package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
  423. package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
  424. package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
  425. package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
  426. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
  427. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
  428. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
  429. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
  430. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
  431. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
  432. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
  433. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
  434. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
  435. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
  436. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
  437. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
  438. package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
  439. package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
  440. package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
  441. package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
  442. package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
  443. package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
  444. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
  445. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
  446. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
  447. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
  448. package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
  449. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
  450. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
  451. package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
  452. package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
  453. package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
  454. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
  455. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
  456. package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
  457. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
  458. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
  459. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
  460. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
  461. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
  462. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
  463. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
  464. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
  465. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
  466. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
  467. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
  468. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
  469. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
  470. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
  471. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
  472. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
  473. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
  474. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
  475. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
  476. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
  477. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
  478. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
  479. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
  480. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
  481. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
  482. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
  483. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
  484. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
  485. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
  486. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
  487. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
  488. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
  489. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
  490. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
  491. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
  492. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
  493. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
  494. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
  495. package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
  496. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
  497. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
  498. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
  499. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
  500. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
  501. package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
  502. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
  503. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
  504. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
  505. package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
  506. package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
  507. package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
  508. package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
  509. package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
  510. package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
  511. package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
  512. package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
  513. package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
  514. package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
  515. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
  516. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
  517. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
  518. package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
  519. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
  520. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
  521. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
  522. package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
  523. package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
  524. package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
  525. package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
  526. package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
  527. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
  528. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
  529. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
  530. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
  531. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
  532. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
  533. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
  534. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
  535. package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
  536. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
  537. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
  538. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
  539. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
  540. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
  541. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
  542. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
  543. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
  544. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
  545. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
  546. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
  547. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
  548. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
  549. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
  550. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
  551. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
  552. package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
  553. package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
  554. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
  555. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
  556. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
  557. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
  558. package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
  559. package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
  560. package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
  561. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
  562. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
  563. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
  564. package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
  565. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
  566. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
  567. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
  568. package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
  569. package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
  570. package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
  571. package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
  572. package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
  573. package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
  574. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
  575. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
  576. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
  577. package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
  578. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
  579. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
  580. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
  581. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
  582. package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
  583. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
  584. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
  585. package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
  586. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
  587. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
  588. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
  589. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
  590. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
  591. package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
  592. package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
  593. package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
  594. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
  595. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
  596. package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
  597. package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
  598. package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
  599. package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
  600. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
  601. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
  602. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
  603. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
  604. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
  605. package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
  606. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
  607. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
  608. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
  609. package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
  610. package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
  611. package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
  612. package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
  613. package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
  614. package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
  615. package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
  616. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
  617. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
  618. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
  619. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
  620. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
  621. package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
  622. package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
  623. package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
  624. package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
  625. package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
  626. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
  627. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
  628. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
  629. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
  630. package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
  631. package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
  632. package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
  633. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
  634. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
  635. package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
  636. package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
  637. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
  638. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
  639. package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
  640. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
  641. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
  642. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
  643. package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
  644. package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
  645. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
  646. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
  647. package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
  648. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
  649. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
  650. package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
  651. package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
  652. package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
  653. package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
  654. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
  655. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
  656. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
  657. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
  658. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
  659. package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
  660. package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
  661. package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
  662. package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
  663. package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
  664. package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
  665. package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
  666. package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
  667. package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
  668. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
  669. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
  670. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
  671. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
  672. package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
  673. package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
  674. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
  675. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
  676. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
  677. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
  678. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
  679. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
  680. package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
  681. package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
  682. package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
  683. package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
  684. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
  685. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
  686. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
  687. package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
  688. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
  689. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
  690. package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
  691. package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
  692. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
  693. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
  694. package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
  695. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
  696. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
  697. package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
  698. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
  699. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
  700. package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
  701. package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
  702. package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
  703. package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
  704. package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
  705. package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
  706. package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
  707. package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
  708. package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
  709. package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
  710. package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
  711. package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
  712. package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
  713. package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
  714. package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
  715. package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
  716. package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
  717. package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
  718. package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
  719. package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
  720. package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
  721. package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
  722. package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
  723. package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
  724. package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
  725. package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
  726. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
  727. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
  728. package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
  729. package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
  730. package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
  731. package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
  732. package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
  733. package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
  734. package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
  735. package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
  736. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
  737. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
  738. package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
  739. package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
  740. package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
  741. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
  742. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
  743. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
  744. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
  745. package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
  746. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
  747. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
  748. package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
  749. package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
  750. package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
  751. package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
  752. package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
  753. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
  754. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
  755. package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
  756. package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
  757. package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
  758. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
  759. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
  760. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
  761. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
  762. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
  763. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
  764. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
  765. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
  766. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
  767. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
  768. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
  769. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
  770. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
  771. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
  772. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
  773. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
  774. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
  775. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
  776. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
  777. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
  778. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
  779. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
  780. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
  781. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
  782. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
  783. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
  784. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
  785. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
  786. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
  787. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
  788. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
  789. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
  790. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
  791. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
  792. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
  793. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
  794. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
  795. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
  796. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
  797. package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
  798. package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
  799. package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
  800. package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
  801. package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
  802. package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
  803. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
  804. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
  805. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
  806. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
  807. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
  808. package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
  809. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
  810. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
  811. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
  812. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
  813. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
  814. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
  815. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
  816. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
  817. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
  818. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
  819. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
  820. package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
  821. package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
  822. package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
  823. package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
  824. package/.output/server/node_modules/@redis/client/package.json +52 -0
  825. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
  826. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
  827. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
  828. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
  829. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
  830. package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
  831. package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
  832. package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
  833. package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
  834. package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
  835. package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
  836. package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
  837. package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
  838. package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
  839. package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
  840. package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
  841. package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
  842. package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
  843. package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
  844. package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
  845. package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
  846. package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
  847. package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
  848. package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
  849. package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
  850. package/.output/server/node_modules/@redis/json/package.json +36 -0
  851. package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
  852. package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
  853. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
  854. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
  855. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
  856. package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
  857. package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
  858. package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
  859. package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
  860. package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
  861. package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
  862. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
  863. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
  864. package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
  865. package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
  866. package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
  867. package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
  868. package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
  869. package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
  870. package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
  871. package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
  872. package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
  873. package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
  874. package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
  875. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
  876. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
  877. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
  878. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
  879. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
  880. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
  881. package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
  882. package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
  883. package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
  884. package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
  885. package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
  886. package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
  887. package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
  888. package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
  889. package/.output/server/node_modules/@redis/search/package.json +37 -0
  890. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
  891. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
  892. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
  893. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
  894. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
  895. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
  896. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
  897. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
  898. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
  899. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
  900. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
  901. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
  902. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
  903. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
  904. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
  905. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
  906. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
  907. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
  908. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
  909. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
  910. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
  911. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
  912. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
  913. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
  914. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
  915. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
  916. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
  917. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
  918. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
  919. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
  920. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
  921. package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
  922. package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
  923. package/.output/server/node_modules/@redis/time-series/package.json +36 -0
  924. package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
  925. package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
  926. package/.output/server/node_modules/js-base64/base64.mjs +301 -0
  927. package/.output/server/node_modules/js-base64/package.json +43 -0
  928. package/.output/server/node_modules/promise-limit/index.js +88 -0
  929. package/.output/server/node_modules/promise-limit/package.json +39 -0
  930. package/.output/server/node_modules/redis/dist/index.js +77 -0
  931. package/.output/server/node_modules/redis/package.json +36 -0
  932. package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
  933. package/.output/server/node_modules/ws/lib/constants.js +19 -0
  934. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  935. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  936. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  937. package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
  938. package/.output/server/node_modules/ws/lib/receiver.js +706 -0
  939. package/.output/server/node_modules/ws/lib/sender.js +602 -0
  940. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  941. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  942. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  943. package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
  944. package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
  945. package/.output/server/node_modules/ws/package.json +69 -0
  946. package/.output/server/node_modules/ws/wrapper.mjs +8 -0
  947. package/.output/server/package.json +16 -1
  948. package/package.json +8 -2
  949. package/.output/public/_nuxt/8Ppmjv9D.js +0 -1
  950. package/.output/public/_nuxt/B1qjkRVO.js +0 -1
  951. package/.output/public/_nuxt/B3KEisfc.js +0 -1
  952. package/.output/public/_nuxt/BDXvbRNW.js +0 -1
  953. package/.output/public/_nuxt/BGRcizqy.js +0 -1
  954. package/.output/public/_nuxt/BOK5ZFNK.js +0 -1
  955. package/.output/public/_nuxt/BPY2ud8g.js +0 -1
  956. package/.output/public/_nuxt/BSONoRG4.js +0 -2
  957. package/.output/public/_nuxt/BT53m-su.js +0 -1
  958. package/.output/public/_nuxt/BTJSh8in.js +0 -2
  959. package/.output/public/_nuxt/BVpt8J3a.js +0 -1
  960. package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
  961. package/.output/public/_nuxt/BqyO8OjC.js +0 -3867
  962. package/.output/public/_nuxt/Bs1og3h1.js +0 -10
  963. package/.output/public/_nuxt/Bs2DgR_z.js +0 -1
  964. package/.output/public/_nuxt/BxrwrGYE.js +0 -1
  965. package/.output/public/_nuxt/By0aUn7N.js +0 -1
  966. package/.output/public/_nuxt/C177_GoB.js +0 -1
  967. package/.output/public/_nuxt/C69a9jD3.js +0 -67
  968. package/.output/public/_nuxt/C8AyZ3_X.js +0 -2
  969. package/.output/public/_nuxt/C8KplD68.js +0 -1
  970. package/.output/public/_nuxt/CNF1h1lI.js +0 -1
  971. package/.output/public/_nuxt/CcK14gfI.js +0 -1
  972. package/.output/public/_nuxt/CjouDEjz.js +0 -1
  973. package/.output/public/_nuxt/Cp5lMcfd.js +0 -1
  974. package/.output/public/_nuxt/CpYiq1Wv.js +0 -1
  975. package/.output/public/_nuxt/CwmbX4-U.js +0 -1
  976. package/.output/public/_nuxt/D-YUpbah.js +0 -9
  977. package/.output/public/_nuxt/D9BYd7AV.js +0 -1
  978. package/.output/public/_nuxt/DCJ49Fnq.js +0 -1
  979. package/.output/public/_nuxt/DeBdxlx0.js +0 -1
  980. package/.output/public/_nuxt/Dkikh2OC.js +0 -22
  981. package/.output/public/_nuxt/DlOyXrKK.js +0 -1
  982. package/.output/public/_nuxt/DqA_edEU.js +0 -1
  983. package/.output/public/_nuxt/DqxL2Lpl.js +0 -1
  984. package/.output/public/_nuxt/Dt3rfvTn.js +0 -1
  985. package/.output/public/_nuxt/Dt5h0Tys.js +0 -1
  986. package/.output/public/_nuxt/DwrSZ8Vj.js +0 -1
  987. package/.output/public/_nuxt/DwyFZZT6.js +0 -1
  988. package/.output/public/_nuxt/EM8J-XL1.js +0 -7
  989. package/.output/public/_nuxt/ESKvsKwc.js +0 -1
  990. package/.output/public/_nuxt/V5LvXMJl.js +0 -1
  991. package/.output/public/_nuxt/builds/meta/455d4da4-6357-4478-8703-78a79ccbbc0f.json +0 -1
  992. package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
  993. package/.output/public/_nuxt/entry.qdzR7QFr.css +0 -1
  994. package/.output/public/_nuxt/fpuEgQ7C.js +0 -12
  995. package/.output/public/_nuxt/jU7fkvuR.js +0 -1
  996. package/.output/public/_nuxt/lHkFwi3L.js +0 -1
  997. package/.output/public/_nuxt/pQ8l8BR2.js +0 -1
  998. package/.output/public/_nuxt/xYXqL1eV.js +0 -1
  999. package/.output/public/_nuxt/xxfb8w7n.js +0 -1
@@ -0,0 +1,78 @@
1
+ import { Stmt, Batch } from "../shared/protobuf_encode.js";
2
+ import { impossible } from "../util.js";
3
+ export function PipelineReqBody(w, msg) {
4
+ if (msg.baton !== undefined) {
5
+ w.string(1, msg.baton);
6
+ }
7
+ for (const req of msg.requests) {
8
+ w.message(2, req, StreamRequest);
9
+ }
10
+ }
11
+ function StreamRequest(w, msg) {
12
+ if (msg.type === "close") {
13
+ w.message(1, msg, CloseStreamReq);
14
+ }
15
+ else if (msg.type === "execute") {
16
+ w.message(2, msg, ExecuteStreamReq);
17
+ }
18
+ else if (msg.type === "batch") {
19
+ w.message(3, msg, BatchStreamReq);
20
+ }
21
+ else if (msg.type === "sequence") {
22
+ w.message(4, msg, SequenceStreamReq);
23
+ }
24
+ else if (msg.type === "describe") {
25
+ w.message(5, msg, DescribeStreamReq);
26
+ }
27
+ else if (msg.type === "store_sql") {
28
+ w.message(6, msg, StoreSqlStreamReq);
29
+ }
30
+ else if (msg.type === "close_sql") {
31
+ w.message(7, msg, CloseSqlStreamReq);
32
+ }
33
+ else if (msg.type === "get_autocommit") {
34
+ w.message(8, msg, GetAutocommitStreamReq);
35
+ }
36
+ else {
37
+ throw impossible(msg, "Impossible type of StreamRequest");
38
+ }
39
+ }
40
+ function CloseStreamReq(_w, _msg) {
41
+ }
42
+ function ExecuteStreamReq(w, msg) {
43
+ w.message(1, msg.stmt, Stmt);
44
+ }
45
+ function BatchStreamReq(w, msg) {
46
+ w.message(1, msg.batch, Batch);
47
+ }
48
+ function SequenceStreamReq(w, msg) {
49
+ if (msg.sql !== undefined) {
50
+ w.string(1, msg.sql);
51
+ }
52
+ if (msg.sqlId !== undefined) {
53
+ w.int32(2, msg.sqlId);
54
+ }
55
+ }
56
+ function DescribeStreamReq(w, msg) {
57
+ if (msg.sql !== undefined) {
58
+ w.string(1, msg.sql);
59
+ }
60
+ if (msg.sqlId !== undefined) {
61
+ w.int32(2, msg.sqlId);
62
+ }
63
+ }
64
+ function StoreSqlStreamReq(w, msg) {
65
+ w.int32(1, msg.sqlId);
66
+ w.string(2, msg.sql);
67
+ }
68
+ function CloseSqlStreamReq(w, msg) {
69
+ w.int32(1, msg.sqlId);
70
+ }
71
+ function GetAutocommitStreamReq(_w, _msg) {
72
+ }
73
+ export function CursorReqBody(w, msg) {
74
+ if (msg.baton !== undefined) {
75
+ w.string(1, msg.baton);
76
+ }
77
+ w.message(2, msg.batch, Batch);
78
+ }
@@ -0,0 +1,363 @@
1
+ import { Request, Headers } from "@libsql/isomorphic-fetch";
2
+ import { ClientError, HttpServerError, ProtocolVersionError, ProtoError, ClosedError, InternalError, } from "../errors.js";
3
+ import { readJsonObject, writeJsonObject, readProtobufMessage, writeProtobufMessage, } from "../encoding/index.js";
4
+ import { IdAlloc } from "../id_alloc.js";
5
+ import { Queue } from "../queue.js";
6
+ import { queueMicrotask } from "../queue_microtask.js";
7
+ import { errorFromProto } from "../result.js";
8
+ import { Sql } from "../sql.js";
9
+ import { Stream } from "../stream.js";
10
+ import { impossible } from "../util.js";
11
+ import { HttpCursor } from "./cursor.js";
12
+ import { PipelineReqBody as json_PipelineReqBody } from "./json_encode.js";
13
+ import { PipelineReqBody as protobuf_PipelineReqBody } from "./protobuf_encode.js";
14
+ import { CursorReqBody as json_CursorReqBody } from "./json_encode.js";
15
+ import { CursorReqBody as protobuf_CursorReqBody } from "./protobuf_encode.js";
16
+ import { PipelineRespBody as json_PipelineRespBody } from "./json_decode.js";
17
+ import { PipelineRespBody as protobuf_PipelineRespBody } from "./protobuf_decode.js";
18
+ export class HttpStream extends Stream {
19
+ #client;
20
+ #baseUrl;
21
+ #jwt;
22
+ #fetch;
23
+ #baton;
24
+ #queue;
25
+ #flushing;
26
+ #cursor;
27
+ #closing;
28
+ #closeQueued;
29
+ #closed;
30
+ #sqlIdAlloc;
31
+ /** @private */
32
+ constructor(client, baseUrl, jwt, customFetch) {
33
+ super(client.intMode);
34
+ this.#client = client;
35
+ this.#baseUrl = baseUrl.toString();
36
+ this.#jwt = jwt;
37
+ this.#fetch = customFetch;
38
+ this.#baton = undefined;
39
+ this.#queue = new Queue();
40
+ this.#flushing = false;
41
+ this.#closing = false;
42
+ this.#closeQueued = false;
43
+ this.#closed = undefined;
44
+ this.#sqlIdAlloc = new IdAlloc();
45
+ }
46
+ /** Get the {@link HttpClient} object that this stream belongs to. */
47
+ client() {
48
+ return this.#client;
49
+ }
50
+ /** @private */
51
+ _sqlOwner() {
52
+ return this;
53
+ }
54
+ /** Cache a SQL text on the server. */
55
+ storeSql(sql) {
56
+ const sqlId = this.#sqlIdAlloc.alloc();
57
+ this.#sendStreamRequest({ type: "store_sql", sqlId, sql }).then(() => undefined, (error) => this._setClosed(error));
58
+ return new Sql(this, sqlId);
59
+ }
60
+ /** @private */
61
+ _closeSql(sqlId) {
62
+ if (this.#closed !== undefined) {
63
+ return;
64
+ }
65
+ this.#sendStreamRequest({ type: "close_sql", sqlId }).then(() => this.#sqlIdAlloc.free(sqlId), (error) => this._setClosed(error));
66
+ }
67
+ /** @private */
68
+ _execute(stmt) {
69
+ return this.#sendStreamRequest({ type: "execute", stmt }).then((response) => {
70
+ return response.result;
71
+ });
72
+ }
73
+ /** @private */
74
+ _batch(batch) {
75
+ return this.#sendStreamRequest({ type: "batch", batch }).then((response) => {
76
+ return response.result;
77
+ });
78
+ }
79
+ /** @private */
80
+ _describe(protoSql) {
81
+ return this.#sendStreamRequest({
82
+ type: "describe",
83
+ sql: protoSql.sql,
84
+ sqlId: protoSql.sqlId
85
+ }).then((response) => {
86
+ return response.result;
87
+ });
88
+ }
89
+ /** @private */
90
+ _sequence(protoSql) {
91
+ return this.#sendStreamRequest({
92
+ type: "sequence",
93
+ sql: protoSql.sql,
94
+ sqlId: protoSql.sqlId,
95
+ }).then((_response) => {
96
+ return undefined;
97
+ });
98
+ }
99
+ /** Check whether the SQL connection underlying this stream is in autocommit state (i.e., outside of an
100
+ * explicit transaction). This requires protocol version 3 or higher.
101
+ */
102
+ getAutocommit() {
103
+ this.#client._ensureVersion(3, "getAutocommit()");
104
+ return this.#sendStreamRequest({
105
+ type: "get_autocommit",
106
+ }).then((response) => {
107
+ return response.isAutocommit;
108
+ });
109
+ }
110
+ #sendStreamRequest(request) {
111
+ return new Promise((responseCallback, errorCallback) => {
112
+ this.#pushToQueue({ type: "pipeline", request, responseCallback, errorCallback });
113
+ });
114
+ }
115
+ /** @private */
116
+ _openCursor(batch) {
117
+ return new Promise((cursorCallback, errorCallback) => {
118
+ this.#pushToQueue({ type: "cursor", batch, cursorCallback, errorCallback });
119
+ });
120
+ }
121
+ /** @private */
122
+ _cursorClosed(cursor) {
123
+ if (cursor !== this.#cursor) {
124
+ throw new InternalError("Cursor was closed, but it was not associated with the stream");
125
+ }
126
+ this.#cursor = undefined;
127
+ queueMicrotask(() => this.#flushQueue());
128
+ }
129
+ /** Immediately close the stream. */
130
+ close() {
131
+ this._setClosed(new ClientError("Stream was manually closed"));
132
+ }
133
+ /** Gracefully close the stream. */
134
+ closeGracefully() {
135
+ this.#closing = true;
136
+ queueMicrotask(() => this.#flushQueue());
137
+ }
138
+ /** True if the stream is closed. */
139
+ get closed() {
140
+ return this.#closed !== undefined || this.#closing;
141
+ }
142
+ /** @private */
143
+ _setClosed(error) {
144
+ if (this.#closed !== undefined) {
145
+ return;
146
+ }
147
+ this.#closed = error;
148
+ if (this.#cursor !== undefined) {
149
+ this.#cursor._setClosed(error);
150
+ }
151
+ this.#client._streamClosed(this);
152
+ for (;;) {
153
+ const entry = this.#queue.shift();
154
+ if (entry !== undefined) {
155
+ entry.errorCallback(error);
156
+ }
157
+ else {
158
+ break;
159
+ }
160
+ }
161
+ if ((this.#baton !== undefined || this.#flushing) && !this.#closeQueued) {
162
+ this.#queue.push({
163
+ type: "pipeline",
164
+ request: { type: "close" },
165
+ responseCallback: () => undefined,
166
+ errorCallback: () => undefined,
167
+ });
168
+ this.#closeQueued = true;
169
+ queueMicrotask(() => this.#flushQueue());
170
+ }
171
+ }
172
+ #pushToQueue(entry) {
173
+ if (this.#closed !== undefined) {
174
+ throw new ClosedError("Stream is closed", this.#closed);
175
+ }
176
+ else if (this.#closing) {
177
+ throw new ClosedError("Stream is closing", undefined);
178
+ }
179
+ else {
180
+ this.#queue.push(entry);
181
+ queueMicrotask(() => this.#flushQueue());
182
+ }
183
+ }
184
+ #flushQueue() {
185
+ if (this.#flushing || this.#cursor !== undefined) {
186
+ return;
187
+ }
188
+ if (this.#closing && this.#queue.length === 0) {
189
+ this._setClosed(new ClientError("Stream was gracefully closed"));
190
+ return;
191
+ }
192
+ const endpoint = this.#client._endpoint;
193
+ if (endpoint === undefined) {
194
+ this.#client._endpointPromise.then(() => this.#flushQueue(), (error) => this._setClosed(error));
195
+ return;
196
+ }
197
+ const firstEntry = this.#queue.shift();
198
+ if (firstEntry === undefined) {
199
+ return;
200
+ }
201
+ else if (firstEntry.type === "pipeline") {
202
+ const pipeline = [firstEntry];
203
+ for (;;) {
204
+ const entry = this.#queue.first();
205
+ if (entry !== undefined && entry.type === "pipeline") {
206
+ pipeline.push(entry);
207
+ this.#queue.shift();
208
+ }
209
+ else if (entry === undefined && this.#closing && !this.#closeQueued) {
210
+ pipeline.push({
211
+ type: "pipeline",
212
+ request: { type: "close" },
213
+ responseCallback: () => undefined,
214
+ errorCallback: () => undefined,
215
+ });
216
+ this.#closeQueued = true;
217
+ break;
218
+ }
219
+ else {
220
+ break;
221
+ }
222
+ }
223
+ this.#flushPipeline(endpoint, pipeline);
224
+ }
225
+ else if (firstEntry.type === "cursor") {
226
+ this.#flushCursor(endpoint, firstEntry);
227
+ }
228
+ else {
229
+ throw impossible(firstEntry, "Impossible type of QueueEntry");
230
+ }
231
+ }
232
+ #flushPipeline(endpoint, pipeline) {
233
+ this.#flush(() => this.#createPipelineRequest(pipeline, endpoint), (resp) => decodePipelineResponse(resp, endpoint.encoding), (respBody) => respBody.baton, (respBody) => respBody.baseUrl, (respBody) => handlePipelineResponse(pipeline, respBody), (error) => pipeline.forEach((entry) => entry.errorCallback(error)));
234
+ }
235
+ #flushCursor(endpoint, entry) {
236
+ const cursor = new HttpCursor(this, endpoint.encoding);
237
+ this.#cursor = cursor;
238
+ this.#flush(() => this.#createCursorRequest(entry, endpoint), (resp) => cursor.open(resp), (respBody) => respBody.baton, (respBody) => respBody.baseUrl, (_respBody) => entry.cursorCallback(cursor), (error) => entry.errorCallback(error));
239
+ }
240
+ #flush(createRequest, decodeResponse, getBaton, getBaseUrl, handleResponse, handleError) {
241
+ let promise;
242
+ try {
243
+ const request = createRequest();
244
+ const fetch = this.#fetch;
245
+ promise = fetch(request);
246
+ }
247
+ catch (error) {
248
+ promise = Promise.reject(error);
249
+ }
250
+ this.#flushing = true;
251
+ promise.then((resp) => {
252
+ if (!resp.ok) {
253
+ return errorFromResponse(resp).then((error) => {
254
+ throw error;
255
+ });
256
+ }
257
+ return decodeResponse(resp);
258
+ }).then((r) => {
259
+ this.#baton = getBaton(r);
260
+ this.#baseUrl = getBaseUrl(r) ?? this.#baseUrl;
261
+ handleResponse(r);
262
+ }).catch((error) => {
263
+ this._setClosed(error);
264
+ handleError(error);
265
+ }).finally(() => {
266
+ this.#flushing = false;
267
+ this.#flushQueue();
268
+ });
269
+ }
270
+ #createPipelineRequest(pipeline, endpoint) {
271
+ return this.#createRequest(new URL(endpoint.pipelinePath, this.#baseUrl), {
272
+ baton: this.#baton,
273
+ requests: pipeline.map((entry) => entry.request),
274
+ }, endpoint.encoding, json_PipelineReqBody, protobuf_PipelineReqBody);
275
+ }
276
+ #createCursorRequest(entry, endpoint) {
277
+ if (endpoint.cursorPath === undefined) {
278
+ throw new ProtocolVersionError("Cursors are supported only on protocol version 3 and higher, " +
279
+ `but the HTTP server only supports version ${endpoint.version}.`);
280
+ }
281
+ return this.#createRequest(new URL(endpoint.cursorPath, this.#baseUrl), {
282
+ baton: this.#baton,
283
+ batch: entry.batch,
284
+ }, endpoint.encoding, json_CursorReqBody, protobuf_CursorReqBody);
285
+ }
286
+ #createRequest(url, reqBody, encoding, jsonFun, protobufFun) {
287
+ let bodyData;
288
+ let contentType;
289
+ if (encoding === "json") {
290
+ bodyData = writeJsonObject(reqBody, jsonFun);
291
+ contentType = "application/json";
292
+ }
293
+ else if (encoding === "protobuf") {
294
+ bodyData = writeProtobufMessage(reqBody, protobufFun);
295
+ contentType = "application/x-protobuf";
296
+ }
297
+ else {
298
+ throw impossible(encoding, "Impossible encoding");
299
+ }
300
+ const headers = new Headers();
301
+ headers.set("content-type", contentType);
302
+ if (this.#jwt !== undefined) {
303
+ headers.set("authorization", `Bearer ${this.#jwt}`);
304
+ }
305
+ return new Request(url.toString(), { method: "POST", headers, body: bodyData });
306
+ }
307
+ }
308
+ function handlePipelineResponse(pipeline, respBody) {
309
+ if (respBody.results.length !== pipeline.length) {
310
+ throw new ProtoError("Server returned unexpected number of pipeline results");
311
+ }
312
+ for (let i = 0; i < pipeline.length; ++i) {
313
+ const result = respBody.results[i];
314
+ const entry = pipeline[i];
315
+ if (result.type === "ok") {
316
+ if (result.response.type !== entry.request.type) {
317
+ throw new ProtoError("Received unexpected type of response");
318
+ }
319
+ entry.responseCallback(result.response);
320
+ }
321
+ else if (result.type === "error") {
322
+ entry.errorCallback(errorFromProto(result.error));
323
+ }
324
+ else if (result.type === "none") {
325
+ throw new ProtoError("Received unrecognized type of StreamResult");
326
+ }
327
+ else {
328
+ throw impossible(result, "Received impossible type of StreamResult");
329
+ }
330
+ }
331
+ }
332
+ async function decodePipelineResponse(resp, encoding) {
333
+ if (encoding === "json") {
334
+ const respJson = await resp.json();
335
+ return readJsonObject(respJson, json_PipelineRespBody);
336
+ }
337
+ if (encoding === "protobuf") {
338
+ const respData = await resp.arrayBuffer();
339
+ return readProtobufMessage(new Uint8Array(respData), protobuf_PipelineRespBody);
340
+ }
341
+ await resp.body?.cancel();
342
+ throw impossible(encoding, "Impossible encoding");
343
+ }
344
+ async function errorFromResponse(resp) {
345
+ const respType = resp.headers.get("content-type") ?? "text/plain";
346
+ let message = `Server returned HTTP status ${resp.status}`;
347
+ if (respType === "application/json") {
348
+ const respBody = await resp.json();
349
+ if ("message" in respBody) {
350
+ return errorFromProto(respBody);
351
+ }
352
+ return new HttpServerError(message, resp.status);
353
+ }
354
+ if (respType === "text/plain") {
355
+ const respBody = (await resp.text()).trim();
356
+ if (respBody !== "") {
357
+ message += `: ${respBody}`;
358
+ }
359
+ return new HttpServerError(message, resp.status);
360
+ }
361
+ await resp.body?.cancel();
362
+ return new HttpServerError(message, resp.status);
363
+ }
@@ -0,0 +1,47 @@
1
+ import { InternalError } from "./errors.js";
2
+ // An allocator of non-negative integer ids.
3
+ //
4
+ // This clever data structure has these "ideal" properties:
5
+ // - It consumes memory proportional to the number of used ids (which is optimal).
6
+ // - All operations are O(1) time.
7
+ // - The allocated ids are small (with a slight modification, we could always provide the smallest possible
8
+ // id).
9
+ export class IdAlloc {
10
+ // Set of all allocated ids
11
+ #usedIds;
12
+ // Set of all free ids lower than `#usedIds.size`
13
+ #freeIds;
14
+ constructor() {
15
+ this.#usedIds = new Set();
16
+ this.#freeIds = new Set();
17
+ }
18
+ // Returns an id that was free, and marks it as used.
19
+ alloc() {
20
+ // this "loop" is just a way to pick an arbitrary element from the `#freeIds` set
21
+ for (const freeId of this.#freeIds) {
22
+ this.#freeIds.delete(freeId);
23
+ this.#usedIds.add(freeId);
24
+ // maintain the invariant of `#freeIds`
25
+ if (!this.#usedIds.has(this.#usedIds.size - 1)) {
26
+ this.#freeIds.add(this.#usedIds.size - 1);
27
+ }
28
+ return freeId;
29
+ }
30
+ // the `#freeIds` set is empty, so there are no free ids lower than `#usedIds.size`
31
+ // this means that `#usedIds` is a set that contains all numbers from 0 to `#usedIds.size - 1`,
32
+ // so `#usedIds.size` is free
33
+ const freeId = this.#usedIds.size;
34
+ this.#usedIds.add(freeId);
35
+ return freeId;
36
+ }
37
+ free(id) {
38
+ if (!this.#usedIds.delete(id)) {
39
+ throw new InternalError("Freeing an id that is not allocated");
40
+ }
41
+ // maintain the invariant of `#freeIds`
42
+ this.#freeIds.delete(this.#usedIds.size);
43
+ if (id < this.#usedIds.size) {
44
+ this.#freeIds.add(id);
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,42 @@
1
+ import { WebSocket } from "@libsql/isomorphic-ws";
2
+ import { subprotocolsV2, subprotocolsV3 } from "./ws/client.js";
3
+ import { WebSocketUnsupportedError } from "./errors.js";
4
+ import { HttpClient } from "./http/client.js";
5
+ import { WsClient } from "./ws/client.js";
6
+ export { WebSocket } from "@libsql/isomorphic-ws";
7
+ export { fetch, Request, Headers } from "@libsql/isomorphic-fetch";
8
+ export { Client } from "./client.js";
9
+ export * from "./errors.js";
10
+ export { Batch, BatchStep, BatchCond } from "./batch.js";
11
+ export { parseLibsqlUrl } from "./libsql_url.js";
12
+ export { Sql } from "./sql.js";
13
+ export { Stmt } from "./stmt.js";
14
+ export { Stream } from "./stream.js";
15
+ export { HttpClient } from "./http/client.js";
16
+ export { HttpStream } from "./http/stream.js";
17
+ export { WsClient } from "./ws/client.js";
18
+ export { WsStream } from "./ws/stream.js";
19
+ /** Open a Hrana client over WebSocket connected to the given `url`. */
20
+ export function openWs(url, jwt, protocolVersion = 2) {
21
+ if (typeof WebSocket === "undefined") {
22
+ throw new WebSocketUnsupportedError("WebSockets are not supported in this environment");
23
+ }
24
+ var subprotocols = undefined;
25
+ if (protocolVersion == 3) {
26
+ subprotocols = Array.from(subprotocolsV3.keys());
27
+ }
28
+ else {
29
+ subprotocols = Array.from(subprotocolsV2.keys());
30
+ }
31
+ const socket = new WebSocket(url, subprotocols);
32
+ return new WsClient(socket, jwt);
33
+ }
34
+ /** Open a Hrana client over HTTP connected to the given `url`.
35
+ *
36
+ * If the `customFetch` argument is passed and not `undefined`, it is used in place of the `fetch` function
37
+ * from `@libsql/isomorphic-fetch`. This function is always called with a `Request` object from
38
+ * `@libsql/isomorphic-fetch`.
39
+ */
40
+ export function openHttp(url, jwt, customFetch, protocolVersion = 2) {
41
+ return new HttpClient(url instanceof URL ? url : new URL(url), jwt, customFetch, protocolVersion);
42
+ }
@@ -0,0 +1,75 @@
1
+ import { LibsqlUrlParseError } from "./errors.js";
2
+ ;
3
+ /** Parses a URL compatible with the libsql client (`@libsql/client`). This URL may have the "libsql:" scheme
4
+ * and may contain query parameters. */
5
+ export function parseLibsqlUrl(urlStr) {
6
+ const url = new URL(urlStr);
7
+ let authToken = undefined;
8
+ let tls = undefined;
9
+ for (const [key, value] of url.searchParams.entries()) {
10
+ if (key === "authToken") {
11
+ authToken = value;
12
+ }
13
+ else if (key === "tls") {
14
+ if (value === "0") {
15
+ tls = false;
16
+ }
17
+ else if (value === "1") {
18
+ tls = true;
19
+ }
20
+ else {
21
+ throw new LibsqlUrlParseError(`Unknown value for the "tls" query argument: ${JSON.stringify(value)}`);
22
+ }
23
+ }
24
+ else {
25
+ throw new LibsqlUrlParseError(`Unknown URL query argument ${JSON.stringify(key)}`);
26
+ }
27
+ }
28
+ let hranaWsScheme;
29
+ let hranaHttpScheme;
30
+ if ((url.protocol === "http:" || url.protocol === "ws:") && (tls === true)) {
31
+ throw new LibsqlUrlParseError(`A ${JSON.stringify(url.protocol)} URL cannot opt into TLS using ?tls=1`);
32
+ }
33
+ else if ((url.protocol === "https:" || url.protocol === "wss:") && (tls === false)) {
34
+ throw new LibsqlUrlParseError(`A ${JSON.stringify(url.protocol)} URL cannot opt out of TLS using ?tls=0`);
35
+ }
36
+ if (url.protocol === "http:" || url.protocol === "https:") {
37
+ hranaHttpScheme = url.protocol;
38
+ }
39
+ else if (url.protocol === "ws:" || url.protocol === "wss:") {
40
+ hranaWsScheme = url.protocol;
41
+ }
42
+ else if (url.protocol === "libsql:") {
43
+ if (tls === false) {
44
+ if (!url.port) {
45
+ throw new LibsqlUrlParseError(`A "libsql:" URL with ?tls=0 must specify an explicit port`);
46
+ }
47
+ hranaHttpScheme = "http:";
48
+ hranaWsScheme = "ws:";
49
+ }
50
+ else {
51
+ hranaHttpScheme = "https:";
52
+ hranaWsScheme = "wss:";
53
+ }
54
+ }
55
+ else {
56
+ throw new LibsqlUrlParseError(`This client does not support ${JSON.stringify(url.protocol)} URLs. ` +
57
+ 'Please use a "libsql:", "ws:", "wss:", "http:" or "https:" URL instead.');
58
+ }
59
+ if (url.username || url.password) {
60
+ throw new LibsqlUrlParseError("This client does not support HTTP Basic authentication with a username and password. " +
61
+ 'You can authenticate using a token passed in the "authToken" URL query parameter.');
62
+ }
63
+ if (url.hash) {
64
+ throw new LibsqlUrlParseError("URL fragments are not supported");
65
+ }
66
+ let hranaPath = url.pathname;
67
+ if (hranaPath === "/") {
68
+ hranaPath = "";
69
+ }
70
+ const hranaWsUrl = hranaWsScheme !== undefined
71
+ ? `${hranaWsScheme}//${url.host}${hranaPath}` : undefined;
72
+ const hranaHttpUrl = hranaHttpScheme !== undefined
73
+ ? `${hranaHttpScheme}//${url.host}${hranaPath}` : undefined;
74
+ return { hranaWsUrl, hranaHttpUrl, authToken };
75
+ }
@@ -0,0 +1,26 @@
1
+ export class Queue {
2
+ #pushStack;
3
+ #shiftStack;
4
+ constructor() {
5
+ this.#pushStack = [];
6
+ this.#shiftStack = [];
7
+ }
8
+ get length() {
9
+ return this.#pushStack.length + this.#shiftStack.length;
10
+ }
11
+ push(elem) {
12
+ this.#pushStack.push(elem);
13
+ }
14
+ shift() {
15
+ if (this.#shiftStack.length === 0 && this.#pushStack.length > 0) {
16
+ this.#shiftStack = this.#pushStack.reverse();
17
+ this.#pushStack = [];
18
+ }
19
+ return this.#shiftStack.pop();
20
+ }
21
+ first() {
22
+ return this.#shiftStack.length !== 0
23
+ ? this.#shiftStack[this.#shiftStack.length - 1]
24
+ : this.#pushStack[0];
25
+ }
26
+ }
@@ -0,0 +1,13 @@
1
+ // queueMicrotask() ponyfill
2
+ // https://github.com/libsql/libsql-client-ts/issues/47
3
+ let _queueMicrotask;
4
+ if (typeof queueMicrotask !== "undefined") {
5
+ _queueMicrotask = queueMicrotask;
6
+ }
7
+ else {
8
+ const resolved = Promise.resolve();
9
+ _queueMicrotask = (callback) => {
10
+ resolved.then(callback);
11
+ };
12
+ }
13
+ export { _queueMicrotask as queueMicrotask };