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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/63YtjFEq.js +1 -0
- package/.output/public/_nuxt/{BxDrCsPf.js → 8tyEaimf.js} +1 -1
- package/.output/public/_nuxt/AymhMj9v.js +1 -0
- package/.output/public/_nuxt/B2IKcIj2.js +1 -0
- package/.output/public/_nuxt/{CvcedJeQ.js → B46blMXm.js} +1 -1
- package/.output/public/_nuxt/B5WGo5x7.js +1 -0
- package/.output/public/_nuxt/{DHnNoguE.js → B6MkNyZd.js} +1 -1
- package/.output/public/_nuxt/B73IHAoF.js +1 -0
- package/.output/public/_nuxt/{DWBoXz89.js → B8TrrBEb.js} +1 -1
- package/.output/public/_nuxt/{CE8aasoy.js → B9uki8o2.js} +1 -1
- package/.output/public/_nuxt/{TuKV3Ilv.js → BEyCol50.js} +1 -1
- package/.output/public/_nuxt/{BvUhrUEH.js → BJCrbji-.js} +1 -1
- package/.output/public/_nuxt/{BnFDcr74.js → BJVPtt2X.js} +1 -1
- package/.output/public/_nuxt/BL__uYa3.js +1 -0
- package/.output/public/_nuxt/BPACuoI0.js +1 -0
- package/.output/public/_nuxt/BRFPdiIh.js +1 -0
- package/.output/public/_nuxt/BS-LtKx4.js +1 -0
- package/.output/public/_nuxt/{BJYf67_H.js → BTYBVtfa.js} +1 -1
- package/.output/public/_nuxt/BTheloyh.js +1 -0
- package/.output/public/_nuxt/BVUHbgGW.js +27 -0
- package/.output/public/_nuxt/BWZ7atse.js +1 -0
- package/.output/public/_nuxt/{CS5ItJPR.js → BWebIWit.js} +1 -1
- package/.output/public/_nuxt/{4by6-f6q.js → BcsKoAPU.js} +315 -313
- package/.output/public/_nuxt/{B6hH0qos.js → Bf6Q3Zl5.js} +1 -1
- package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
- package/.output/public/_nuxt/BjqbQLK3.js +1 -0
- package/.output/public/_nuxt/{C1jMZ4hc.js → Bmgr9uz4.js} +1 -1
- package/.output/public/_nuxt/{Bq7otXBA.js → Bmx1kTaZ.js} +1 -1
- package/.output/public/_nuxt/BoIj4dtd.js +1 -0
- package/.output/public/_nuxt/{Cx6s86aR.js → BoMjapT5.js} +1 -1
- package/.output/public/_nuxt/BogEzQi9.js +12 -0
- package/.output/public/_nuxt/BpLDGvqy.js +1 -0
- package/.output/public/_nuxt/BpUSbMUb.js +1 -0
- package/.output/public/_nuxt/BpvGVfME.js +1 -0
- package/.output/public/_nuxt/{DESYlybj.js → Bq47tjcm.js} +1 -1
- package/.output/public/_nuxt/{H5m89x1B.js → Bq7OeLM1.js} +1 -1
- package/.output/public/_nuxt/BqU89KuH.js +2 -0
- package/.output/public/_nuxt/{CrLqg4B0.js → BrNfge84.js} +1 -1
- package/.output/public/_nuxt/BtyzMl9p.js +1 -0
- package/.output/public/_nuxt/{BGVGiigU.js → ByiJDSw8.js} +1 -1
- package/.output/public/_nuxt/{DJqZzQsX.js → ByibjLZn.js} +1 -1
- package/.output/public/_nuxt/BzvSm28k.js +67 -0
- package/.output/public/_nuxt/C2XHqDOf.js +1 -0
- package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
- package/.output/public/_nuxt/{F5lCgNdb.js → C6dIAdHr.js} +1 -1
- package/.output/public/_nuxt/C7BQpy74.js +1 -0
- package/.output/public/_nuxt/{B84SvUzr.js → CAnr3OhD.js} +1 -1
- package/.output/public/_nuxt/CDJKw_ak.js +1 -0
- package/.output/public/_nuxt/CHEpbbGc.js +1 -0
- package/.output/public/_nuxt/{DNdM2ZyK.js → CMkzSwnO.js} +1 -1
- package/.output/public/_nuxt/{BdDEVolW.js → COHOh4Oe.js} +1 -1
- package/.output/public/_nuxt/COq7mAG7.js +10 -0
- package/.output/public/_nuxt/CS5akSNT.js +1 -0
- package/.output/public/_nuxt/CS9hqyP3.js +1 -0
- package/.output/public/_nuxt/{CR6_eO9a.js → CSQ0xnqv.js} +1 -1
- package/.output/public/_nuxt/C_7gtl40.js +1 -0
- package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
- package/.output/public/_nuxt/CerLmMsC.js +22 -0
- package/.output/public/_nuxt/{DaKikgWm.js → Ci5B19-c.js} +1 -1
- package/.output/public/_nuxt/{TEF-nDfP.js → Cnfx1zWl.js} +1 -1
- package/.output/public/_nuxt/{Ci43mke5.js → Cq-MDPLE.js} +1 -1
- package/.output/public/_nuxt/{minLMBmY.js → CrNLwdoE.js} +1 -1
- package/.output/public/_nuxt/{PUe8M07P.js → CsRSZpa6.js} +1 -1
- package/.output/public/_nuxt/CtWq1MER.js +7 -0
- package/.output/public/_nuxt/Cww9dXBK.js +1 -0
- package/.output/public/_nuxt/{ZObQcd0X.js → CycELG5y.js} +1 -1
- package/.output/public/_nuxt/{b_MfGg1c.js → D-9vaM6z.js} +1 -1
- package/.output/public/_nuxt/{D9dEqMyH.js → D4pAW_0T.js} +1 -1
- package/.output/public/_nuxt/DAr5YiBT.js +1 -0
- package/.output/public/_nuxt/{DFM-aCBX.js → DDebxXP-.js} +1 -1
- package/.output/public/_nuxt/{CEvNlevo.js → DEZMnZ2r.js} +1 -1
- package/.output/public/_nuxt/{BeNILdbT.js → DGvAu532.js} +1 -1
- package/.output/public/_nuxt/{CREZ9f0O.js → DHAL8jJG.js} +4 -4
- package/.output/public/_nuxt/{BprXyYdv.js → DJH-4SVI.js} +1 -1
- package/.output/public/_nuxt/{Dpl6-lqE.js → DMmjWR_K.js} +1 -1
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/{DkadXn5U.js → DNoTlUiY.js} +1 -1
- package/.output/public/_nuxt/DPIEiNwW.js +1 -0
- package/.output/public/_nuxt/{DQT4eICL.js → DSaBCmOg.js} +1 -1
- package/.output/public/_nuxt/DVnDb6ua.js +1 -0
- package/.output/public/_nuxt/DWqOZJe7.js +1 -0
- package/.output/public/_nuxt/DcCF9IZB.js +1 -0
- package/.output/public/_nuxt/DfNTLojg.js +1 -0
- package/.output/public/_nuxt/{Cvq07PgE.js → DkD29_YA.js} +1 -1
- package/.output/public/_nuxt/DpEV6S2O.js +1 -0
- package/.output/public/_nuxt/{DhKwXzSk.js → DpT8FO1Q.js} +1 -1
- package/.output/public/_nuxt/{D60Pzl_V.js → Dq1JM9WZ.js} +1 -1
- package/.output/public/_nuxt/{DXp9fCib.js → DsmBazLf.js} +1 -1
- package/.output/public/_nuxt/{ByOuUnNS.js → DuCDilAk.js} +1 -1
- package/.output/public/_nuxt/{CKqvNpN3.js → FDw04QOj.js} +1 -1
- package/.output/public/_nuxt/JOg_XIAv.js +1 -0
- package/.output/public/_nuxt/{BmU9CNkM.js → L2I3LmpB.js} +1 -1
- package/.output/public/_nuxt/M6bBaUHa.js +1 -0
- package/.output/public/_nuxt/MW5K_zef.js +1 -0
- package/.output/public/_nuxt/{YJvNy3iu.js → MeLWmO7R.js} +27 -27
- package/.output/public/_nuxt/{B4ebLeWY.js → Oe2GG0Lt.js} +3 -3
- package/.output/public/_nuxt/S1qa1a4x.js +1 -0
- package/.output/public/_nuxt/{CA99KAte.js → Sf02B6Pt.js} +2 -2
- package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
- package/.output/public/_nuxt/_qKPTuua.js +1 -0
- package/.output/public/_nuxt/{CybtvDjH.js → atdCACH-.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
- package/.output/public/_nuxt/dNPwafbq.js +1 -0
- package/.output/public/_nuxt/dWu56FdP.js +3867 -0
- package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
- package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
- package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
- package/.output/public/_nuxt/{C5bgdIOp.js → ioXB9E2w.js} +1 -1
- package/.output/public/_nuxt/{B7HEMfgt.js → kvtnkChG.js} +1 -1
- package/.output/public/_nuxt/{DNNdcUH4.js → qzrMNYut.js} +1 -1
- package/.output/public/_nuxt/{DaMyovpr.js → sk7V7xQl.js} +1 -1
- package/.output/public/_nuxt/vhkvHdfO.js +1 -0
- package/.output/public/_nuxt/wRAs0MDn.js +2 -0
- package/.output/public/_nuxt/xOD4Ev56.js +1 -0
- package/.output/public/_nuxt/xp7rFxcm.js +1 -0
- package/.output/server/chunks/_/create-adapter.mjs +2 -0
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
- package/.output/server/chunks/_/db-connection.mjs +500 -19
- package/.output/server/chunks/_/db-connection.mjs.map +1 -1
- package/.output/server/chunks/_/instance-insights.factory.mjs +2037 -14
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +302 -22
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
- package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
- package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis.client.mjs +129 -0
- package/.output/server/chunks/_/redis.client.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +20 -8
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +748 -632
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +715 -606
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +4 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +4 -1
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +5 -2
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +7 -1
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +7 -2
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +6 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +7 -2
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +4 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +6 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +15 -3
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +8 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +9 -5
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +9 -5
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +5 -2
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
- package/.output/server/node_modules/@libsql/client/package.json +123 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
- package/.output/server/node_modules/@libsql/core/package.json +91 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
- package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/bloom/package.json +36 -0
- package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
- package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
- package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
- package/.output/server/node_modules/@redis/client/package.json +52 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
- package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/json/package.json +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
- package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
- package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/search/package.json +37 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/time-series/package.json +36 -0
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
- package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
- package/.output/server/node_modules/js-base64/base64.mjs +301 -0
- package/.output/server/node_modules/js-base64/package.json +43 -0
- package/.output/server/node_modules/promise-limit/index.js +88 -0
- package/.output/server/node_modules/promise-limit/package.json +39 -0
- package/.output/server/node_modules/redis/dist/index.js +77 -0
- package/.output/server/node_modules/redis/package.json +36 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +19 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/package.json +16 -1
- package/package.json +8 -2
- package/.output/public/_nuxt/8Ppmjv9D.js +0 -1
- package/.output/public/_nuxt/B1qjkRVO.js +0 -1
- package/.output/public/_nuxt/B3KEisfc.js +0 -1
- package/.output/public/_nuxt/BDXvbRNW.js +0 -1
- package/.output/public/_nuxt/BGRcizqy.js +0 -1
- package/.output/public/_nuxt/BOK5ZFNK.js +0 -1
- package/.output/public/_nuxt/BPY2ud8g.js +0 -1
- package/.output/public/_nuxt/BSONoRG4.js +0 -2
- package/.output/public/_nuxt/BT53m-su.js +0 -1
- package/.output/public/_nuxt/BTJSh8in.js +0 -2
- package/.output/public/_nuxt/BVpt8J3a.js +0 -1
- package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
- package/.output/public/_nuxt/BqyO8OjC.js +0 -3867
- package/.output/public/_nuxt/Bs1og3h1.js +0 -10
- package/.output/public/_nuxt/Bs2DgR_z.js +0 -1
- package/.output/public/_nuxt/BxrwrGYE.js +0 -1
- package/.output/public/_nuxt/By0aUn7N.js +0 -1
- package/.output/public/_nuxt/C177_GoB.js +0 -1
- package/.output/public/_nuxt/C69a9jD3.js +0 -67
- package/.output/public/_nuxt/C8AyZ3_X.js +0 -2
- package/.output/public/_nuxt/C8KplD68.js +0 -1
- package/.output/public/_nuxt/CNF1h1lI.js +0 -1
- package/.output/public/_nuxt/CcK14gfI.js +0 -1
- package/.output/public/_nuxt/CjouDEjz.js +0 -1
- package/.output/public/_nuxt/Cp5lMcfd.js +0 -1
- package/.output/public/_nuxt/CpYiq1Wv.js +0 -1
- package/.output/public/_nuxt/CwmbX4-U.js +0 -1
- package/.output/public/_nuxt/D-YUpbah.js +0 -9
- package/.output/public/_nuxt/D9BYd7AV.js +0 -1
- package/.output/public/_nuxt/DCJ49Fnq.js +0 -1
- package/.output/public/_nuxt/DeBdxlx0.js +0 -1
- package/.output/public/_nuxt/Dkikh2OC.js +0 -22
- package/.output/public/_nuxt/DlOyXrKK.js +0 -1
- package/.output/public/_nuxt/DqA_edEU.js +0 -1
- package/.output/public/_nuxt/DqxL2Lpl.js +0 -1
- package/.output/public/_nuxt/Dt3rfvTn.js +0 -1
- package/.output/public/_nuxt/Dt5h0Tys.js +0 -1
- package/.output/public/_nuxt/DwrSZ8Vj.js +0 -1
- package/.output/public/_nuxt/DwyFZZT6.js +0 -1
- package/.output/public/_nuxt/EM8J-XL1.js +0 -7
- package/.output/public/_nuxt/ESKvsKwc.js +0 -1
- package/.output/public/_nuxt/V5LvXMJl.js +0 -1
- package/.output/public/_nuxt/builds/meta/455d4da4-6357-4478-8703-78a79ccbbc0f.json +0 -1
- package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
- package/.output/public/_nuxt/entry.qdzR7QFr.css +0 -1
- package/.output/public/_nuxt/fpuEgQ7C.js +0 -12
- package/.output/public/_nuxt/jU7fkvuR.js +0 -1
- package/.output/public/_nuxt/lHkFwi3L.js +0 -1
- package/.output/public/_nuxt/pQ8l8BR2.js +0 -1
- package/.output/public/_nuxt/xYXqL1eV.js +0 -1
- package/.output/public/_nuxt/xxfb8w7n.js +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ResponseError } from "./errors.js";
|
|
2
|
+
import { valueFromProto } from "./value.js";
|
|
3
|
+
export function stmtResultFromProto(result) {
|
|
4
|
+
return {
|
|
5
|
+
affectedRowCount: result.affectedRowCount,
|
|
6
|
+
lastInsertRowid: result.lastInsertRowid,
|
|
7
|
+
columnNames: result.cols.map(col => col.name),
|
|
8
|
+
columnDecltypes: result.cols.map(col => col.decltype),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function rowsResultFromProto(result, intMode) {
|
|
12
|
+
const stmtResult = stmtResultFromProto(result);
|
|
13
|
+
const rows = result.rows.map(row => rowFromProto(stmtResult.columnNames, row, intMode));
|
|
14
|
+
return { ...stmtResult, rows };
|
|
15
|
+
}
|
|
16
|
+
export function rowResultFromProto(result, intMode) {
|
|
17
|
+
const stmtResult = stmtResultFromProto(result);
|
|
18
|
+
let row;
|
|
19
|
+
if (result.rows.length > 0) {
|
|
20
|
+
row = rowFromProto(stmtResult.columnNames, result.rows[0], intMode);
|
|
21
|
+
}
|
|
22
|
+
return { ...stmtResult, row };
|
|
23
|
+
}
|
|
24
|
+
export function valueResultFromProto(result, intMode) {
|
|
25
|
+
const stmtResult = stmtResultFromProto(result);
|
|
26
|
+
let value;
|
|
27
|
+
if (result.rows.length > 0 && stmtResult.columnNames.length > 0) {
|
|
28
|
+
value = valueFromProto(result.rows[0][0], intMode);
|
|
29
|
+
}
|
|
30
|
+
return { ...stmtResult, value };
|
|
31
|
+
}
|
|
32
|
+
function rowFromProto(colNames, values, intMode) {
|
|
33
|
+
const row = {};
|
|
34
|
+
// make sure that the "length" property is not enumerable
|
|
35
|
+
Object.defineProperty(row, "length", { value: values.length });
|
|
36
|
+
for (let i = 0; i < values.length; ++i) {
|
|
37
|
+
const value = valueFromProto(values[i], intMode);
|
|
38
|
+
Object.defineProperty(row, i, { value });
|
|
39
|
+
const colName = colNames[i];
|
|
40
|
+
if (colName !== undefined && !Object.hasOwn(row, colName)) {
|
|
41
|
+
Object.defineProperty(row, colName, { value, enumerable: true, configurable: true, writable: true });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return row;
|
|
45
|
+
}
|
|
46
|
+
export function errorFromProto(error) {
|
|
47
|
+
return new ResponseError(error.message, error);
|
|
48
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Base64 } from "js-base64";
|
|
2
|
+
import { ProtoError } from "../errors.js";
|
|
3
|
+
import * as d from "../encoding/json/decode.js";
|
|
4
|
+
export function Error(obj) {
|
|
5
|
+
const message = d.string(obj["message"]);
|
|
6
|
+
const code = d.stringOpt(obj["code"]);
|
|
7
|
+
return { message, code };
|
|
8
|
+
}
|
|
9
|
+
export function StmtResult(obj) {
|
|
10
|
+
const cols = d.arrayObjectsMap(obj["cols"], Col);
|
|
11
|
+
const rows = d.array(obj["rows"]).map((rowObj) => d.arrayObjectsMap(rowObj, Value));
|
|
12
|
+
const affectedRowCount = d.number(obj["affected_row_count"]);
|
|
13
|
+
const lastInsertRowidStr = d.stringOpt(obj["last_insert_rowid"]);
|
|
14
|
+
const lastInsertRowid = lastInsertRowidStr !== undefined
|
|
15
|
+
? BigInt(lastInsertRowidStr) : undefined;
|
|
16
|
+
return { cols, rows, affectedRowCount, lastInsertRowid };
|
|
17
|
+
}
|
|
18
|
+
function Col(obj) {
|
|
19
|
+
const name = d.stringOpt(obj["name"]);
|
|
20
|
+
const decltype = d.stringOpt(obj["decltype"]);
|
|
21
|
+
return { name, decltype };
|
|
22
|
+
}
|
|
23
|
+
export function BatchResult(obj) {
|
|
24
|
+
const stepResults = new Map();
|
|
25
|
+
d.array(obj["step_results"]).forEach((value, i) => {
|
|
26
|
+
if (value !== null) {
|
|
27
|
+
stepResults.set(i, StmtResult(d.object(value)));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const stepErrors = new Map();
|
|
31
|
+
d.array(obj["step_errors"]).forEach((value, i) => {
|
|
32
|
+
if (value !== null) {
|
|
33
|
+
stepErrors.set(i, Error(d.object(value)));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
return { stepResults, stepErrors };
|
|
37
|
+
}
|
|
38
|
+
export function CursorEntry(obj) {
|
|
39
|
+
const type = d.string(obj["type"]);
|
|
40
|
+
if (type === "step_begin") {
|
|
41
|
+
const step = d.number(obj["step"]);
|
|
42
|
+
const cols = d.arrayObjectsMap(obj["cols"], Col);
|
|
43
|
+
return { type: "step_begin", step, cols };
|
|
44
|
+
}
|
|
45
|
+
else if (type === "step_end") {
|
|
46
|
+
const affectedRowCount = d.number(obj["affected_row_count"]);
|
|
47
|
+
const lastInsertRowidStr = d.stringOpt(obj["last_insert_rowid"]);
|
|
48
|
+
const lastInsertRowid = lastInsertRowidStr !== undefined
|
|
49
|
+
? BigInt(lastInsertRowidStr) : undefined;
|
|
50
|
+
return { type: "step_end", affectedRowCount, lastInsertRowid };
|
|
51
|
+
}
|
|
52
|
+
else if (type === "step_error") {
|
|
53
|
+
const step = d.number(obj["step"]);
|
|
54
|
+
const error = Error(d.object(obj["error"]));
|
|
55
|
+
return { type: "step_error", step, error };
|
|
56
|
+
}
|
|
57
|
+
else if (type === "row") {
|
|
58
|
+
const row = d.arrayObjectsMap(obj["row"], Value);
|
|
59
|
+
return { type: "row", row };
|
|
60
|
+
}
|
|
61
|
+
else if (type === "error") {
|
|
62
|
+
const error = Error(d.object(obj["error"]));
|
|
63
|
+
return { type: "error", error };
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
throw new ProtoError("Unexpected type of CursorEntry");
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export function DescribeResult(obj) {
|
|
70
|
+
const params = d.arrayObjectsMap(obj["params"], DescribeParam);
|
|
71
|
+
const cols = d.arrayObjectsMap(obj["cols"], DescribeCol);
|
|
72
|
+
const isExplain = d.boolean(obj["is_explain"]);
|
|
73
|
+
const isReadonly = d.boolean(obj["is_readonly"]);
|
|
74
|
+
return { params, cols, isExplain, isReadonly };
|
|
75
|
+
}
|
|
76
|
+
function DescribeParam(obj) {
|
|
77
|
+
const name = d.stringOpt(obj["name"]);
|
|
78
|
+
return { name };
|
|
79
|
+
}
|
|
80
|
+
function DescribeCol(obj) {
|
|
81
|
+
const name = d.string(obj["name"]);
|
|
82
|
+
const decltype = d.stringOpt(obj["decltype"]);
|
|
83
|
+
return { name, decltype };
|
|
84
|
+
}
|
|
85
|
+
export function Value(obj) {
|
|
86
|
+
const type = d.string(obj["type"]);
|
|
87
|
+
if (type === "null") {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
else if (type === "integer") {
|
|
91
|
+
const value = d.string(obj["value"]);
|
|
92
|
+
return BigInt(value);
|
|
93
|
+
}
|
|
94
|
+
else if (type === "float") {
|
|
95
|
+
return d.number(obj["value"]);
|
|
96
|
+
}
|
|
97
|
+
else if (type === "text") {
|
|
98
|
+
return d.string(obj["value"]);
|
|
99
|
+
}
|
|
100
|
+
else if (type === "blob") {
|
|
101
|
+
return Base64.toUint8Array(d.string(obj["base64"]));
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
throw new ProtoError("Unexpected type of Value");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Base64 } from "js-base64";
|
|
2
|
+
import { impossible } from "../util.js";
|
|
3
|
+
export function Stmt(w, msg) {
|
|
4
|
+
if (msg.sql !== undefined) {
|
|
5
|
+
w.string("sql", msg.sql);
|
|
6
|
+
}
|
|
7
|
+
if (msg.sqlId !== undefined) {
|
|
8
|
+
w.number("sql_id", msg.sqlId);
|
|
9
|
+
}
|
|
10
|
+
w.arrayObjects("args", msg.args, Value);
|
|
11
|
+
w.arrayObjects("named_args", msg.namedArgs, NamedArg);
|
|
12
|
+
w.boolean("want_rows", msg.wantRows);
|
|
13
|
+
}
|
|
14
|
+
function NamedArg(w, msg) {
|
|
15
|
+
w.string("name", msg.name);
|
|
16
|
+
w.object("value", msg.value, Value);
|
|
17
|
+
}
|
|
18
|
+
export function Batch(w, msg) {
|
|
19
|
+
w.arrayObjects("steps", msg.steps, BatchStep);
|
|
20
|
+
}
|
|
21
|
+
function BatchStep(w, msg) {
|
|
22
|
+
if (msg.condition !== undefined) {
|
|
23
|
+
w.object("condition", msg.condition, BatchCond);
|
|
24
|
+
}
|
|
25
|
+
w.object("stmt", msg.stmt, Stmt);
|
|
26
|
+
}
|
|
27
|
+
function BatchCond(w, msg) {
|
|
28
|
+
w.stringRaw("type", msg.type);
|
|
29
|
+
if (msg.type === "ok" || msg.type === "error") {
|
|
30
|
+
w.number("step", msg.step);
|
|
31
|
+
}
|
|
32
|
+
else if (msg.type === "not") {
|
|
33
|
+
w.object("cond", msg.cond, BatchCond);
|
|
34
|
+
}
|
|
35
|
+
else if (msg.type === "and" || msg.type === "or") {
|
|
36
|
+
w.arrayObjects("conds", msg.conds, BatchCond);
|
|
37
|
+
}
|
|
38
|
+
else if (msg.type === "is_autocommit") {
|
|
39
|
+
// do nothing
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
throw impossible(msg, "Impossible type of BatchCond");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function Value(w, msg) {
|
|
46
|
+
if (msg === null) {
|
|
47
|
+
w.stringRaw("type", "null");
|
|
48
|
+
}
|
|
49
|
+
else if (typeof msg === "bigint") {
|
|
50
|
+
w.stringRaw("type", "integer");
|
|
51
|
+
w.stringRaw("value", "" + msg);
|
|
52
|
+
}
|
|
53
|
+
else if (typeof msg === "number") {
|
|
54
|
+
w.stringRaw("type", "float");
|
|
55
|
+
w.number("value", msg);
|
|
56
|
+
}
|
|
57
|
+
else if (typeof msg === "string") {
|
|
58
|
+
w.stringRaw("type", "text");
|
|
59
|
+
w.string("value", msg);
|
|
60
|
+
}
|
|
61
|
+
else if (msg instanceof Uint8Array) {
|
|
62
|
+
w.stringRaw("type", "blob");
|
|
63
|
+
w.stringRaw("base64", Base64.fromUint8Array(msg));
|
|
64
|
+
}
|
|
65
|
+
else if (msg === undefined) {
|
|
66
|
+
// do nothing
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
throw impossible(msg, "Impossible type of Value");
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export const Error = {
|
|
2
|
+
default() { return { message: "", code: undefined }; },
|
|
3
|
+
1(r, msg) { msg.message = r.string(); },
|
|
4
|
+
2(r, msg) { msg.code = r.string(); },
|
|
5
|
+
};
|
|
6
|
+
export const StmtResult = {
|
|
7
|
+
default() {
|
|
8
|
+
return {
|
|
9
|
+
cols: [],
|
|
10
|
+
rows: [],
|
|
11
|
+
affectedRowCount: 0,
|
|
12
|
+
lastInsertRowid: undefined,
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
1(r, msg) { msg.cols.push(r.message(Col)); },
|
|
16
|
+
2(r, msg) { msg.rows.push(r.message(Row)); },
|
|
17
|
+
3(r, msg) { msg.affectedRowCount = Number(r.uint64()); },
|
|
18
|
+
4(r, msg) { msg.lastInsertRowid = r.sint64(); },
|
|
19
|
+
};
|
|
20
|
+
const Col = {
|
|
21
|
+
default() { return { name: undefined, decltype: undefined }; },
|
|
22
|
+
1(r, msg) { msg.name = r.string(); },
|
|
23
|
+
2(r, msg) { msg.decltype = r.string(); },
|
|
24
|
+
};
|
|
25
|
+
const Row = {
|
|
26
|
+
default() { return []; },
|
|
27
|
+
1(r, msg) { msg.push(r.message(Value)); },
|
|
28
|
+
};
|
|
29
|
+
export const BatchResult = {
|
|
30
|
+
default() { return { stepResults: new Map(), stepErrors: new Map() }; },
|
|
31
|
+
1(r, msg) {
|
|
32
|
+
const [key, value] = r.message(BatchResultStepResult);
|
|
33
|
+
msg.stepResults.set(key, value);
|
|
34
|
+
},
|
|
35
|
+
2(r, msg) {
|
|
36
|
+
const [key, value] = r.message(BatchResultStepError);
|
|
37
|
+
msg.stepErrors.set(key, value);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
const BatchResultStepResult = {
|
|
41
|
+
default() { return [0, StmtResult.default()]; },
|
|
42
|
+
1(r, msg) { msg[0] = r.uint32(); },
|
|
43
|
+
2(r, msg) { msg[1] = r.message(StmtResult); },
|
|
44
|
+
};
|
|
45
|
+
const BatchResultStepError = {
|
|
46
|
+
default() { return [0, Error.default()]; },
|
|
47
|
+
1(r, msg) { msg[0] = r.uint32(); },
|
|
48
|
+
2(r, msg) { msg[1] = r.message(Error); },
|
|
49
|
+
};
|
|
50
|
+
export const CursorEntry = {
|
|
51
|
+
default() { return { type: "none" }; },
|
|
52
|
+
1(r) { return r.message(StepBeginEntry); },
|
|
53
|
+
2(r) { return r.message(StepEndEntry); },
|
|
54
|
+
3(r) { return r.message(StepErrorEntry); },
|
|
55
|
+
4(r) { return { type: "row", row: r.message(Row) }; },
|
|
56
|
+
5(r) { return { type: "error", error: r.message(Error) }; },
|
|
57
|
+
};
|
|
58
|
+
const StepBeginEntry = {
|
|
59
|
+
default() { return { type: "step_begin", step: 0, cols: [] }; },
|
|
60
|
+
1(r, msg) { msg.step = r.uint32(); },
|
|
61
|
+
2(r, msg) { msg.cols.push(r.message(Col)); },
|
|
62
|
+
};
|
|
63
|
+
const StepEndEntry = {
|
|
64
|
+
default() {
|
|
65
|
+
return {
|
|
66
|
+
type: "step_end",
|
|
67
|
+
affectedRowCount: 0,
|
|
68
|
+
lastInsertRowid: undefined,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
1(r, msg) { msg.affectedRowCount = r.uint32(); },
|
|
72
|
+
2(r, msg) { msg.lastInsertRowid = r.uint64(); },
|
|
73
|
+
};
|
|
74
|
+
const StepErrorEntry = {
|
|
75
|
+
default() {
|
|
76
|
+
return {
|
|
77
|
+
type: "step_error",
|
|
78
|
+
step: 0,
|
|
79
|
+
error: Error.default(),
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
1(r, msg) { msg.step = r.uint32(); },
|
|
83
|
+
2(r, msg) { msg.error = r.message(Error); },
|
|
84
|
+
};
|
|
85
|
+
export const DescribeResult = {
|
|
86
|
+
default() {
|
|
87
|
+
return {
|
|
88
|
+
params: [],
|
|
89
|
+
cols: [],
|
|
90
|
+
isExplain: false,
|
|
91
|
+
isReadonly: false,
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
1(r, msg) { msg.params.push(r.message(DescribeParam)); },
|
|
95
|
+
2(r, msg) { msg.cols.push(r.message(DescribeCol)); },
|
|
96
|
+
3(r, msg) { msg.isExplain = r.bool(); },
|
|
97
|
+
4(r, msg) { msg.isReadonly = r.bool(); },
|
|
98
|
+
};
|
|
99
|
+
const DescribeParam = {
|
|
100
|
+
default() { return { name: undefined }; },
|
|
101
|
+
1(r, msg) { msg.name = r.string(); },
|
|
102
|
+
};
|
|
103
|
+
const DescribeCol = {
|
|
104
|
+
default() { return { name: "", decltype: undefined }; },
|
|
105
|
+
1(r, msg) { msg.name = r.string(); },
|
|
106
|
+
2(r, msg) { msg.decltype = r.string(); },
|
|
107
|
+
};
|
|
108
|
+
const Value = {
|
|
109
|
+
default() { return undefined; },
|
|
110
|
+
1(r) { return null; },
|
|
111
|
+
2(r) { return r.sint64(); },
|
|
112
|
+
3(r) { return r.double(); },
|
|
113
|
+
4(r) { return r.string(); },
|
|
114
|
+
5(r) { return r.bytes(); },
|
|
115
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { impossible } from "../util.js";
|
|
2
|
+
export function Stmt(w, msg) {
|
|
3
|
+
if (msg.sql !== undefined) {
|
|
4
|
+
w.string(1, msg.sql);
|
|
5
|
+
}
|
|
6
|
+
if (msg.sqlId !== undefined) {
|
|
7
|
+
w.int32(2, msg.sqlId);
|
|
8
|
+
}
|
|
9
|
+
for (const arg of msg.args) {
|
|
10
|
+
w.message(3, arg, Value);
|
|
11
|
+
}
|
|
12
|
+
for (const arg of msg.namedArgs) {
|
|
13
|
+
w.message(4, arg, NamedArg);
|
|
14
|
+
}
|
|
15
|
+
w.bool(5, msg.wantRows);
|
|
16
|
+
}
|
|
17
|
+
function NamedArg(w, msg) {
|
|
18
|
+
w.string(1, msg.name);
|
|
19
|
+
w.message(2, msg.value, Value);
|
|
20
|
+
}
|
|
21
|
+
export function Batch(w, msg) {
|
|
22
|
+
for (const step of msg.steps) {
|
|
23
|
+
w.message(1, step, BatchStep);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function BatchStep(w, msg) {
|
|
27
|
+
if (msg.condition !== undefined) {
|
|
28
|
+
w.message(1, msg.condition, BatchCond);
|
|
29
|
+
}
|
|
30
|
+
w.message(2, msg.stmt, Stmt);
|
|
31
|
+
}
|
|
32
|
+
function BatchCond(w, msg) {
|
|
33
|
+
if (msg.type === "ok") {
|
|
34
|
+
w.uint32(1, msg.step);
|
|
35
|
+
}
|
|
36
|
+
else if (msg.type === "error") {
|
|
37
|
+
w.uint32(2, msg.step);
|
|
38
|
+
}
|
|
39
|
+
else if (msg.type === "not") {
|
|
40
|
+
w.message(3, msg.cond, BatchCond);
|
|
41
|
+
}
|
|
42
|
+
else if (msg.type === "and") {
|
|
43
|
+
w.message(4, msg.conds, BatchCondList);
|
|
44
|
+
}
|
|
45
|
+
else if (msg.type === "or") {
|
|
46
|
+
w.message(5, msg.conds, BatchCondList);
|
|
47
|
+
}
|
|
48
|
+
else if (msg.type === "is_autocommit") {
|
|
49
|
+
w.message(6, undefined, Empty);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
throw impossible(msg, "Impossible type of BatchCond");
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function BatchCondList(w, msg) {
|
|
56
|
+
for (const cond of msg) {
|
|
57
|
+
w.message(1, cond, BatchCond);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function Value(w, msg) {
|
|
61
|
+
if (msg === null) {
|
|
62
|
+
w.message(1, undefined, Empty);
|
|
63
|
+
}
|
|
64
|
+
else if (typeof msg === "bigint") {
|
|
65
|
+
w.sint64(2, msg);
|
|
66
|
+
}
|
|
67
|
+
else if (typeof msg === "number") {
|
|
68
|
+
w.double(3, msg);
|
|
69
|
+
}
|
|
70
|
+
else if (typeof msg === "string") {
|
|
71
|
+
w.string(4, msg);
|
|
72
|
+
}
|
|
73
|
+
else if (msg instanceof Uint8Array) {
|
|
74
|
+
w.bytes(5, msg);
|
|
75
|
+
}
|
|
76
|
+
else if (msg === undefined) {
|
|
77
|
+
// do nothing
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
throw impossible(msg, "Impossible type of Value");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function Empty(_w, _msg) {
|
|
84
|
+
// do nothing
|
|
85
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ClientError, ClosedError, MisuseError } from "./errors.js";
|
|
2
|
+
/** Text of an SQL statement cached on the server. */
|
|
3
|
+
export class Sql {
|
|
4
|
+
#owner;
|
|
5
|
+
#sqlId;
|
|
6
|
+
#closed;
|
|
7
|
+
/** @private */
|
|
8
|
+
constructor(owner, sqlId) {
|
|
9
|
+
this.#owner = owner;
|
|
10
|
+
this.#sqlId = sqlId;
|
|
11
|
+
this.#closed = undefined;
|
|
12
|
+
}
|
|
13
|
+
/** @private */
|
|
14
|
+
_getSqlId(owner) {
|
|
15
|
+
if (this.#owner !== owner) {
|
|
16
|
+
throw new MisuseError("Attempted to use SQL text opened with other object");
|
|
17
|
+
}
|
|
18
|
+
else if (this.#closed !== undefined) {
|
|
19
|
+
throw new ClosedError("SQL text is closed", this.#closed);
|
|
20
|
+
}
|
|
21
|
+
return this.#sqlId;
|
|
22
|
+
}
|
|
23
|
+
/** Remove the SQL text from the server, releasing resouces. */
|
|
24
|
+
close() {
|
|
25
|
+
this._setClosed(new ClientError("SQL text was manually closed"));
|
|
26
|
+
}
|
|
27
|
+
/** @private */
|
|
28
|
+
_setClosed(error) {
|
|
29
|
+
if (this.#closed === undefined) {
|
|
30
|
+
this.#closed = error;
|
|
31
|
+
this.#owner._closeSql(this.#sqlId);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/** True if the SQL text is closed (removed from the server). */
|
|
35
|
+
get closed() {
|
|
36
|
+
return this.#closed !== undefined;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export function sqlToProto(owner, sql) {
|
|
40
|
+
if (sql instanceof Sql) {
|
|
41
|
+
return { sqlId: sql._getSqlId(owner) };
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
return { sql: "" + sql };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { sqlToProto } from "./sql.js";
|
|
2
|
+
import { valueToProto } from "./value.js";
|
|
3
|
+
/** A statement that can be evaluated by the database. Besides the SQL text, it also contains the positional
|
|
4
|
+
* and named arguments. */
|
|
5
|
+
export class Stmt {
|
|
6
|
+
/** The SQL statement text. */
|
|
7
|
+
sql;
|
|
8
|
+
/** @private */
|
|
9
|
+
_args;
|
|
10
|
+
/** @private */
|
|
11
|
+
_namedArgs;
|
|
12
|
+
/** Initialize the statement with given SQL text. */
|
|
13
|
+
constructor(sql) {
|
|
14
|
+
this.sql = sql;
|
|
15
|
+
this._args = [];
|
|
16
|
+
this._namedArgs = new Map();
|
|
17
|
+
}
|
|
18
|
+
/** Binds positional parameters from the given `values`. All previous positional bindings are cleared. */
|
|
19
|
+
bindIndexes(values) {
|
|
20
|
+
this._args.length = 0;
|
|
21
|
+
for (const value of values) {
|
|
22
|
+
this._args.push(valueToProto(value));
|
|
23
|
+
}
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
/** Binds a parameter by a 1-based index. */
|
|
27
|
+
bindIndex(index, value) {
|
|
28
|
+
if (index !== (index | 0) || index <= 0) {
|
|
29
|
+
throw new RangeError("Index of a positional argument must be positive integer");
|
|
30
|
+
}
|
|
31
|
+
while (this._args.length < index) {
|
|
32
|
+
this._args.push(null);
|
|
33
|
+
}
|
|
34
|
+
this._args[index - 1] = valueToProto(value);
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
/** Binds a parameter by name. */
|
|
38
|
+
bindName(name, value) {
|
|
39
|
+
this._namedArgs.set(name, valueToProto(value));
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
/** Clears all bindings. */
|
|
43
|
+
unbindAll() {
|
|
44
|
+
this._args.length = 0;
|
|
45
|
+
this._namedArgs.clear();
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export function stmtToProto(sqlOwner, stmt, wantRows) {
|
|
50
|
+
let inSql;
|
|
51
|
+
let args = [];
|
|
52
|
+
let namedArgs = [];
|
|
53
|
+
if (stmt instanceof Stmt) {
|
|
54
|
+
inSql = stmt.sql;
|
|
55
|
+
args = stmt._args;
|
|
56
|
+
for (const [name, value] of stmt._namedArgs.entries()) {
|
|
57
|
+
namedArgs.push({ name, value });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else if (Array.isArray(stmt)) {
|
|
61
|
+
inSql = stmt[0];
|
|
62
|
+
if (Array.isArray(stmt[1])) {
|
|
63
|
+
args = stmt[1].map((arg) => valueToProto(arg));
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
namedArgs = Object.entries(stmt[1]).map(([name, value]) => {
|
|
67
|
+
return { name, value: valueToProto(value) };
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
inSql = stmt;
|
|
73
|
+
}
|
|
74
|
+
const { sql, sqlId } = sqlToProto(sqlOwner, inSql);
|
|
75
|
+
return { sql, sqlId, args, namedArgs, wantRows };
|
|
76
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Batch } from "./batch.js";
|
|
2
|
+
import { describeResultFromProto } from "./describe.js";
|
|
3
|
+
import { stmtResultFromProto, rowsResultFromProto, rowResultFromProto, valueResultFromProto, } from "./result.js";
|
|
4
|
+
import { sqlToProto } from "./sql.js";
|
|
5
|
+
import { stmtToProto } from "./stmt.js";
|
|
6
|
+
/** A stream for executing SQL statements (a "database connection"). */
|
|
7
|
+
export class Stream {
|
|
8
|
+
/** @private */
|
|
9
|
+
constructor(intMode) {
|
|
10
|
+
this.intMode = intMode;
|
|
11
|
+
}
|
|
12
|
+
/** Execute a statement and return rows. */
|
|
13
|
+
query(stmt) {
|
|
14
|
+
return this.#execute(stmt, true, rowsResultFromProto);
|
|
15
|
+
}
|
|
16
|
+
/** Execute a statement and return at most a single row. */
|
|
17
|
+
queryRow(stmt) {
|
|
18
|
+
return this.#execute(stmt, true, rowResultFromProto);
|
|
19
|
+
}
|
|
20
|
+
/** Execute a statement and return at most a single value. */
|
|
21
|
+
queryValue(stmt) {
|
|
22
|
+
return this.#execute(stmt, true, valueResultFromProto);
|
|
23
|
+
}
|
|
24
|
+
/** Execute a statement without returning rows. */
|
|
25
|
+
run(stmt) {
|
|
26
|
+
return this.#execute(stmt, false, stmtResultFromProto);
|
|
27
|
+
}
|
|
28
|
+
#execute(inStmt, wantRows, fromProto) {
|
|
29
|
+
const stmt = stmtToProto(this._sqlOwner(), inStmt, wantRows);
|
|
30
|
+
return this._execute(stmt).then((r) => fromProto(r, this.intMode));
|
|
31
|
+
}
|
|
32
|
+
/** Return a builder for creating and executing a batch.
|
|
33
|
+
*
|
|
34
|
+
* If `useCursor` is true, the batch will be executed using a Hrana cursor, which will stream results from
|
|
35
|
+
* the server to the client, which consumes less memory on the server. This requires protocol version 3 or
|
|
36
|
+
* higher.
|
|
37
|
+
*/
|
|
38
|
+
batch(useCursor = false) {
|
|
39
|
+
return new Batch(this, useCursor);
|
|
40
|
+
}
|
|
41
|
+
/** Parse and analyze a statement. This requires protocol version 2 or higher. */
|
|
42
|
+
describe(inSql) {
|
|
43
|
+
const protoSql = sqlToProto(this._sqlOwner(), inSql);
|
|
44
|
+
return this._describe(protoSql).then(describeResultFromProto);
|
|
45
|
+
}
|
|
46
|
+
/** Execute a sequence of statements separated by semicolons. This requires protocol version 2 or higher.
|
|
47
|
+
* */
|
|
48
|
+
sequence(inSql) {
|
|
49
|
+
const protoSql = sqlToProto(this._sqlOwner(), inSql);
|
|
50
|
+
return this._sequence(protoSql);
|
|
51
|
+
}
|
|
52
|
+
/** Representation of integers returned from the database. See {@link IntMode}.
|
|
53
|
+
*
|
|
54
|
+
* This value affects the results of all operations on this stream.
|
|
55
|
+
*/
|
|
56
|
+
intMode;
|
|
57
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ProtoError, MisuseError } from "./errors.js";
|
|
2
|
+
import { impossible } from "./util.js";
|
|
3
|
+
export function valueToProto(value) {
|
|
4
|
+
if (value === null) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
else if (typeof value === "string") {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
else if (typeof value === "number") {
|
|
11
|
+
if (!Number.isFinite(value)) {
|
|
12
|
+
throw new RangeError("Only finite numbers (not Infinity or NaN) can be passed as arguments");
|
|
13
|
+
}
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
else if (typeof value === "bigint") {
|
|
17
|
+
if (value < minInteger || value > maxInteger) {
|
|
18
|
+
throw new RangeError("This bigint value is too large to be represented as a 64-bit integer and passed as argument");
|
|
19
|
+
}
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
else if (typeof value === "boolean") {
|
|
23
|
+
return value ? 1n : 0n;
|
|
24
|
+
}
|
|
25
|
+
else if (value instanceof ArrayBuffer) {
|
|
26
|
+
return new Uint8Array(value);
|
|
27
|
+
}
|
|
28
|
+
else if (value instanceof Uint8Array) {
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
else if (value instanceof Date) {
|
|
32
|
+
return +value.valueOf();
|
|
33
|
+
}
|
|
34
|
+
else if (typeof value === "object") {
|
|
35
|
+
return "" + value.toString();
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
throw new TypeError("Unsupported type of value");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const minInteger = -9223372036854775808n;
|
|
42
|
+
const maxInteger = 9223372036854775807n;
|
|
43
|
+
export function valueFromProto(value, intMode) {
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
else if (typeof value === "number") {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
else if (typeof value === "string") {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
else if (typeof value === "bigint") {
|
|
54
|
+
if (intMode === "number") {
|
|
55
|
+
const num = Number(value);
|
|
56
|
+
if (!Number.isSafeInteger(num)) {
|
|
57
|
+
throw new RangeError("Received integer which is too large to be safely represented as a JavaScript number");
|
|
58
|
+
}
|
|
59
|
+
return num;
|
|
60
|
+
}
|
|
61
|
+
else if (intMode === "bigint") {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
else if (intMode === "string") {
|
|
65
|
+
return "" + value;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
throw new MisuseError("Invalid value for IntMode");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
else if (value instanceof Uint8Array) {
|
|
72
|
+
// TODO: we need to copy data from `Uint8Array` to return an `ArrayBuffer`. Perhaps we should add a
|
|
73
|
+
// `blobMode` parameter, similar to `intMode`, which would allow the user to choose between receiving
|
|
74
|
+
// `ArrayBuffer` (default, convenient) and `Uint8Array` (zero copy)?
|
|
75
|
+
return value.slice().buffer;
|
|
76
|
+
}
|
|
77
|
+
else if (value === undefined) {
|
|
78
|
+
throw new ProtoError("Received unrecognized type of Value");
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
throw impossible(value, "Impossible type of Value");
|
|
82
|
+
}
|
|
83
|
+
}
|