orcaq 1.1.1 → 1.1.3
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/{BvUhrUEH.js → 5oARMrld.js} +1 -1
- package/.output/public/_nuxt/{B7HEMfgt.js → 9sDqz0uT.js} +1 -1
- package/.output/public/_nuxt/{C1jMZ4hc.js → B-4cXhNx.js} +1 -1
- package/.output/public/_nuxt/{DhKwXzSk.js → BC6CdfCG.js} +1 -1
- package/.output/public/_nuxt/BCAMWuzu.js +9 -0
- package/.output/public/_nuxt/{DESYlybj.js → BG-rJefG.js} +1 -1
- package/.output/public/_nuxt/BKFPmrcv.js +1 -0
- package/.output/public/_nuxt/{BdDEVolW.js → BMLhg7hE.js} +1 -1
- package/.output/public/_nuxt/BVUHbgGW.js +27 -0
- package/.output/public/_nuxt/{CybtvDjH.js → BYOPXIhP.js} +1 -1
- package/.output/public/_nuxt/{CvcedJeQ.js → BYxQJ0gE.js} +1 -1
- package/.output/public/_nuxt/{CrLqg4B0.js → BZ4ThSRp.js} +1 -1
- package/.output/public/_nuxt/{D60Pzl_V.js → BZmDBfmV.js} +1 -1
- package/.output/public/_nuxt/{CREZ9f0O.js → B_ERKujF.js} +4 -4
- package/.output/public/_nuxt/{ZObQcd0X.js → BccuQbKA.js} +1 -1
- package/.output/public/_nuxt/{DHnNoguE.js → BcyZ-eCi.js} +1 -1
- package/.output/public/_nuxt/BdZsZgcB.js +1 -0
- package/.output/public/_nuxt/BigePTMZ.js +1 -0
- package/.output/public/_nuxt/BkN-uAef.js +1 -0
- package/.output/public/_nuxt/BmAp-sfn.js +1 -0
- package/.output/public/_nuxt/BqHKqsJ5.js +12 -0
- package/.output/public/_nuxt/BseVuOZ1.js +1 -0
- package/.output/public/_nuxt/BtuY54_l.js +1 -0
- package/.output/public/_nuxt/{DWBoXz89.js → Buh0pI3n.js} +1 -1
- package/.output/public/_nuxt/{B84SvUzr.js → BzVvHKKC.js} +1 -1
- package/.output/public/_nuxt/{ByOuUnNS.js → BzywwPw6.js} +1 -1
- package/.output/public/_nuxt/BzzgEvr9.js +7 -0
- package/.output/public/_nuxt/C-I81xfB.js +1 -0
- package/.output/public/_nuxt/C-Pa1rIR.js +1 -0
- package/.output/public/_nuxt/{DNdM2ZyK.js → C-pX1zRI.js} +1 -1
- package/.output/public/_nuxt/{C5bgdIOp.js → C0vscAQB.js} +1 -1
- package/.output/public/_nuxt/C4FrpL8k.js +1 -0
- package/.output/public/_nuxt/{Ci43mke5.js → C4zYnWdF.js} +1 -1
- package/.output/public/_nuxt/C9kgALYc.js +1 -0
- package/.output/public/_nuxt/{B4ebLeWY.js → CCmd8DpQ.js} +3 -3
- package/.output/public/_nuxt/{DXp9fCib.js → CGq9Twnj.js} +1 -1
- package/.output/public/_nuxt/{TuKV3Ilv.js → CHMlsxJw.js} +1 -1
- package/.output/public/_nuxt/CLQzuV82.js +1 -0
- package/.output/public/_nuxt/{BnFDcr74.js → CL_1HDtg.js} +1 -1
- package/.output/public/_nuxt/CRqiHVA4.js +1 -0
- package/.output/public/_nuxt/{DJqZzQsX.js → CS4EJV3B.js} +1 -1
- package/.output/public/_nuxt/CS5akSNT.js +1 -0
- package/.output/public/_nuxt/{B6hH0qos.js → CSExCj8O.js} +1 -1
- package/.output/public/_nuxt/{YJvNy3iu.js → CY_CG0AU.js} +27 -27
- package/.output/public/_nuxt/{b_MfGg1c.js → CbHZwHBV.js} +1 -1
- package/.output/public/_nuxt/Cbo6GmdE.js +1 -0
- package/.output/public/_nuxt/Cf460dGA.js +3867 -0
- package/.output/public/_nuxt/CfseWBL0.js +1 -0
- package/.output/public/_nuxt/{DNNdcUH4.js → Ch0I4juX.js} +1 -1
- package/.output/public/_nuxt/Chvs1m1n.js +1 -0
- package/.output/public/_nuxt/Chx1IK9D.js +1 -0
- package/.output/public/_nuxt/{BGVGiigU.js → CjpXgncp.js} +1 -1
- package/.output/public/_nuxt/CkjXKCQH.js +1 -0
- package/.output/public/_nuxt/Ckry8tuC.js +2 -0
- package/.output/public/_nuxt/{PUe8M07P.js → CmOZ0DCP.js} +1 -1
- package/.output/public/_nuxt/{H5m89x1B.js → CmjR7OTc.js} +1 -1
- package/.output/public/_nuxt/Co7e2XML.js +1 -0
- package/.output/public/_nuxt/CqkctA6I.js +67 -0
- package/.output/public/_nuxt/{CEvNlevo.js → CtB2-SFY.js} +1 -1
- package/.output/public/_nuxt/CtCx-4nJ.js +1 -0
- package/.output/public/_nuxt/CtkhwZY7.js +1 -0
- package/.output/public/_nuxt/Cty7uMrC.js +1 -0
- package/.output/public/_nuxt/CvFjsYJZ.js +1 -0
- package/.output/public/_nuxt/{D9dEqMyH.js → Czr647QE.js} +1 -1
- package/.output/public/_nuxt/{4by6-f6q.js → D0lW43G8.js} +315 -313
- package/.output/public/_nuxt/{DFM-aCBX.js → D28ykMUi.js} +1 -1
- package/.output/public/_nuxt/{DaKikgWm.js → DA4Xn6lm.js} +1 -1
- package/.output/public/_nuxt/{CS5ItJPR.js → DChDHsIe.js} +1 -1
- package/.output/public/_nuxt/{DQT4eICL.js → DJBO_9pO.js} +1 -1
- package/.output/public/_nuxt/DJXB1Li8.js +1 -0
- package/.output/public/_nuxt/{BprXyYdv.js → DKLk0T0H.js} +1 -1
- package/.output/public/_nuxt/{F5lCgNdb.js → DLBsdU7G.js} +1 -1
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/DOAixkpJ.js +1 -0
- package/.output/public/_nuxt/{Cx6s86aR.js → DPq8O9CC.js} +1 -1
- package/.output/public/_nuxt/{Bq7otXBA.js → DQdA5Twt.js} +1 -1
- package/.output/public/_nuxt/{BeNILdbT.js → DRh-06Hb.js} +1 -1
- package/.output/public/_nuxt/DTvJImVU.js +1 -0
- package/.output/public/_nuxt/DVkCRFXi.js +1 -0
- package/.output/public/_nuxt/DX8ecA59.js +1 -0
- package/.output/public/_nuxt/DakKehZj.js +1 -0
- package/.output/public/_nuxt/Db3rTgnd.js +1 -0
- package/.output/public/_nuxt/DfyynWBR.js +1 -0
- package/.output/public/_nuxt/DgJOougY.js +1 -0
- package/.output/public/_nuxt/DkQCknMw.js +1 -0
- package/.output/public/_nuxt/{CA99KAte.js → DpBeiFQV.js} +2 -2
- package/.output/public/_nuxt/{DaMyovpr.js → DrdbRRXx.js} +1 -1
- package/.output/public/_nuxt/Dtl3qje7.js +1 -0
- package/.output/public/_nuxt/{DkadXn5U.js → Du5Ka6uI.js} +1 -1
- package/.output/public/_nuxt/Dunt8-TF.js +1 -0
- package/.output/public/_nuxt/{minLMBmY.js → DvWEWtFg.js} +1 -1
- package/.output/public/_nuxt/{Cvq07PgE.js → KynNdNgX.js} +1 -1
- package/.output/public/_nuxt/MWrJVKEf.js +2 -0
- package/.output/public/_nuxt/{Dpl6-lqE.js → NYpsF1lW.js} +1 -1
- package/.output/public/_nuxt/{BmU9CNkM.js → Nof0nVJ6.js} +1 -1
- package/.output/public/_nuxt/{BJYf67_H.js → Ohrg3hU7.js} +1 -1
- package/.output/public/_nuxt/Rrce0BXL.js +22 -0
- package/.output/public/_nuxt/VNOocds9.js +1 -0
- package/.output/public/_nuxt/Y-MEKhtd.js +1 -0
- package/.output/public/_nuxt/{CR6_eO9a.js → YdOCcCRS.js} +1 -1
- package/.output/public/_nuxt/bYQCSC5-.js +1 -0
- package/.output/public/_nuxt/bkzIFcLw.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/ad11b978-8fdd-4bb2-9b38-1d6fe93f994e.json +1 -0
- package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
- package/.output/public/_nuxt/{CKqvNpN3.js → eOeO5uM0.js} +1 -1
- package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
- package/.output/public/_nuxt/g9ZMnTLJ.js +1 -0
- package/.output/public/_nuxt/{TEF-nDfP.js → hIbRoJ89.js} +1 -1
- package/.output/public/_nuxt/{BxDrCsPf.js → j23gQsG7.js} +1 -1
- package/.output/public/_nuxt/klVlxnpt.js +1 -0
- package/.output/public/_nuxt/qRiDKEr7.js +1 -0
- package/.output/public/_nuxt/syq5mCJi.js +1 -0
- package/.output/public/_nuxt/v41yYOa9.js +10 -0
- package/.output/public/_nuxt/{CE8aasoy.js → vaJvtND9.js} +1 -1
- package/.output/public/_nuxt/wodl4bLW.js +2 -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 +730 -614
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +722 -613
- 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,318 @@
|
|
|
1
|
+
import { Client } from "../client.js";
|
|
2
|
+
import { readJsonObject, writeJsonObject, readProtobufMessage, writeProtobufMessage, } from "../encoding/index.js";
|
|
3
|
+
import { ClientError, ProtoError, ClosedError, WebSocketError, ProtocolVersionError, InternalError, } from "../errors.js";
|
|
4
|
+
import { IdAlloc } from "../id_alloc.js";
|
|
5
|
+
import { errorFromProto } from "../result.js";
|
|
6
|
+
import { Sql } from "../sql.js";
|
|
7
|
+
import { impossible } from "../util.js";
|
|
8
|
+
import { WsStream } from "./stream.js";
|
|
9
|
+
import { ClientMsg as json_ClientMsg } from "./json_encode.js";
|
|
10
|
+
import { ClientMsg as protobuf_ClientMsg } from "./protobuf_encode.js";
|
|
11
|
+
import { ServerMsg as json_ServerMsg } from "./json_decode.js";
|
|
12
|
+
import { ServerMsg as protobuf_ServerMsg } from "./protobuf_decode.js";
|
|
13
|
+
export const subprotocolsV2 = new Map([
|
|
14
|
+
["hrana2", { version: 2, encoding: "json" }],
|
|
15
|
+
["hrana1", { version: 1, encoding: "json" }],
|
|
16
|
+
]);
|
|
17
|
+
export const subprotocolsV3 = new Map([
|
|
18
|
+
["hrana3-protobuf", { version: 3, encoding: "protobuf" }],
|
|
19
|
+
["hrana3", { version: 3, encoding: "json" }],
|
|
20
|
+
["hrana2", { version: 2, encoding: "json" }],
|
|
21
|
+
["hrana1", { version: 1, encoding: "json" }],
|
|
22
|
+
]);
|
|
23
|
+
/** A client for the Hrana protocol over a WebSocket. */
|
|
24
|
+
export class WsClient extends Client {
|
|
25
|
+
#socket;
|
|
26
|
+
// List of callbacks that we queue until the socket transitions from the CONNECTING to the OPEN state.
|
|
27
|
+
#openCallbacks;
|
|
28
|
+
// Have we already transitioned from CONNECTING to OPEN and fired the callbacks in #openCallbacks?
|
|
29
|
+
#opened;
|
|
30
|
+
// Stores the error that caused us to close the client (and the socket). If we are not closed, this is
|
|
31
|
+
// `undefined`.
|
|
32
|
+
#closed;
|
|
33
|
+
// Have we received a response to our "hello" from the server?
|
|
34
|
+
#recvdHello;
|
|
35
|
+
// Subprotocol negotiated with the server. It is only available after the socket transitions to the OPEN
|
|
36
|
+
// state.
|
|
37
|
+
#subprotocol;
|
|
38
|
+
// Has the `getVersion()` function been called? This is only used to validate that the API is used
|
|
39
|
+
// correctly.
|
|
40
|
+
#getVersionCalled;
|
|
41
|
+
// A map from request id to the responses that we expect to receive from the server.
|
|
42
|
+
#responseMap;
|
|
43
|
+
// An allocator of request ids.
|
|
44
|
+
#requestIdAlloc;
|
|
45
|
+
// An allocator of stream ids.
|
|
46
|
+
/** @private */
|
|
47
|
+
_streamIdAlloc;
|
|
48
|
+
// An allocator of cursor ids.
|
|
49
|
+
/** @private */
|
|
50
|
+
_cursorIdAlloc;
|
|
51
|
+
// An allocator of SQL text ids.
|
|
52
|
+
#sqlIdAlloc;
|
|
53
|
+
/** @private */
|
|
54
|
+
constructor(socket, jwt) {
|
|
55
|
+
super();
|
|
56
|
+
this.#socket = socket;
|
|
57
|
+
this.#openCallbacks = [];
|
|
58
|
+
this.#opened = false;
|
|
59
|
+
this.#closed = undefined;
|
|
60
|
+
this.#recvdHello = false;
|
|
61
|
+
this.#subprotocol = undefined;
|
|
62
|
+
this.#getVersionCalled = false;
|
|
63
|
+
this.#responseMap = new Map();
|
|
64
|
+
this.#requestIdAlloc = new IdAlloc();
|
|
65
|
+
this._streamIdAlloc = new IdAlloc();
|
|
66
|
+
this._cursorIdAlloc = new IdAlloc();
|
|
67
|
+
this.#sqlIdAlloc = new IdAlloc();
|
|
68
|
+
this.#socket.binaryType = "arraybuffer";
|
|
69
|
+
this.#socket.addEventListener("open", () => this.#onSocketOpen());
|
|
70
|
+
this.#socket.addEventListener("close", (event) => this.#onSocketClose(event));
|
|
71
|
+
this.#socket.addEventListener("error", (event) => this.#onSocketError(event));
|
|
72
|
+
this.#socket.addEventListener("message", (event) => this.#onSocketMessage(event));
|
|
73
|
+
this.#send({ type: "hello", jwt });
|
|
74
|
+
}
|
|
75
|
+
// Send (or enqueue to send) a message to the server.
|
|
76
|
+
#send(msg) {
|
|
77
|
+
if (this.#closed !== undefined) {
|
|
78
|
+
throw new InternalError("Trying to send a message on a closed client");
|
|
79
|
+
}
|
|
80
|
+
if (this.#opened) {
|
|
81
|
+
this.#sendToSocket(msg);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const openCallback = () => this.#sendToSocket(msg);
|
|
85
|
+
const errorCallback = () => undefined;
|
|
86
|
+
this.#openCallbacks.push({ openCallback, errorCallback });
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
// The socket transitioned from CONNECTING to OPEN
|
|
90
|
+
#onSocketOpen() {
|
|
91
|
+
const protocol = this.#socket.protocol;
|
|
92
|
+
if (protocol === undefined) {
|
|
93
|
+
this.#setClosed(new ClientError("The `WebSocket.protocol` property is undefined. This most likely means that the WebSocket " +
|
|
94
|
+
"implementation provided by the environment is broken. If you are using Miniflare 2, " +
|
|
95
|
+
"please update to Miniflare 3, which fixes this problem."));
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
else if (protocol === "") {
|
|
99
|
+
this.#subprotocol = { version: 1, encoding: "json" };
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.#subprotocol = subprotocolsV3.get(protocol);
|
|
103
|
+
if (this.#subprotocol === undefined) {
|
|
104
|
+
this.#setClosed(new ProtoError(`Unrecognized WebSocket subprotocol: ${JSON.stringify(protocol)}`));
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
for (const callbacks of this.#openCallbacks) {
|
|
109
|
+
callbacks.openCallback();
|
|
110
|
+
}
|
|
111
|
+
this.#openCallbacks.length = 0;
|
|
112
|
+
this.#opened = true;
|
|
113
|
+
}
|
|
114
|
+
#sendToSocket(msg) {
|
|
115
|
+
const encoding = this.#subprotocol.encoding;
|
|
116
|
+
if (encoding === "json") {
|
|
117
|
+
const jsonMsg = writeJsonObject(msg, json_ClientMsg);
|
|
118
|
+
this.#socket.send(jsonMsg);
|
|
119
|
+
}
|
|
120
|
+
else if (encoding === "protobuf") {
|
|
121
|
+
const protobufMsg = writeProtobufMessage(msg, protobuf_ClientMsg);
|
|
122
|
+
this.#socket.send(protobufMsg);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
throw impossible(encoding, "Impossible encoding");
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/** Get the protocol version negotiated with the server, possibly waiting until the socket is open. */
|
|
129
|
+
getVersion() {
|
|
130
|
+
return new Promise((versionCallback, errorCallback) => {
|
|
131
|
+
this.#getVersionCalled = true;
|
|
132
|
+
if (this.#closed !== undefined) {
|
|
133
|
+
errorCallback(this.#closed);
|
|
134
|
+
}
|
|
135
|
+
else if (!this.#opened) {
|
|
136
|
+
const openCallback = () => versionCallback(this.#subprotocol.version);
|
|
137
|
+
this.#openCallbacks.push({ openCallback, errorCallback });
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
versionCallback(this.#subprotocol.version);
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
// Make sure that the negotiated version is at least `minVersion`.
|
|
145
|
+
/** @private */
|
|
146
|
+
_ensureVersion(minVersion, feature) {
|
|
147
|
+
if (this.#subprotocol === undefined || !this.#getVersionCalled) {
|
|
148
|
+
throw new ProtocolVersionError(`${feature} is supported only on protocol version ${minVersion} and higher, ` +
|
|
149
|
+
"but the version supported by the WebSocket server is not yet known. " +
|
|
150
|
+
"Use Client.getVersion() to wait until the version is available.");
|
|
151
|
+
}
|
|
152
|
+
else if (this.#subprotocol.version < minVersion) {
|
|
153
|
+
throw new ProtocolVersionError(`${feature} is supported on protocol version ${minVersion} and higher, ` +
|
|
154
|
+
`but the WebSocket server only supports version ${this.#subprotocol.version}`);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
// Send a request to the server and invoke a callback when we get the response.
|
|
158
|
+
/** @private */
|
|
159
|
+
_sendRequest(request, callbacks) {
|
|
160
|
+
if (this.#closed !== undefined) {
|
|
161
|
+
callbacks.errorCallback(new ClosedError("Client is closed", this.#closed));
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const requestId = this.#requestIdAlloc.alloc();
|
|
165
|
+
this.#responseMap.set(requestId, { ...callbacks, type: request.type });
|
|
166
|
+
this.#send({ type: "request", requestId, request });
|
|
167
|
+
}
|
|
168
|
+
// The socket encountered an error.
|
|
169
|
+
#onSocketError(event) {
|
|
170
|
+
const eventMessage = event.message;
|
|
171
|
+
const message = eventMessage ?? "WebSocket was closed due to an error";
|
|
172
|
+
this.#setClosed(new WebSocketError(message));
|
|
173
|
+
}
|
|
174
|
+
// The socket was closed.
|
|
175
|
+
#onSocketClose(event) {
|
|
176
|
+
let message = `WebSocket was closed with code ${event.code}`;
|
|
177
|
+
if (event.reason) {
|
|
178
|
+
message += `: ${event.reason}`;
|
|
179
|
+
}
|
|
180
|
+
this.#setClosed(new WebSocketError(message));
|
|
181
|
+
}
|
|
182
|
+
// Close the client with the given error.
|
|
183
|
+
#setClosed(error) {
|
|
184
|
+
if (this.#closed !== undefined) {
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
this.#closed = error;
|
|
188
|
+
for (const callbacks of this.#openCallbacks) {
|
|
189
|
+
callbacks.errorCallback(error);
|
|
190
|
+
}
|
|
191
|
+
this.#openCallbacks.length = 0;
|
|
192
|
+
for (const [requestId, responseState] of this.#responseMap.entries()) {
|
|
193
|
+
responseState.errorCallback(error);
|
|
194
|
+
this.#requestIdAlloc.free(requestId);
|
|
195
|
+
}
|
|
196
|
+
this.#responseMap.clear();
|
|
197
|
+
this.#socket.close();
|
|
198
|
+
}
|
|
199
|
+
// We received a message from the socket.
|
|
200
|
+
#onSocketMessage(event) {
|
|
201
|
+
if (this.#closed !== undefined) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
try {
|
|
205
|
+
let msg;
|
|
206
|
+
const encoding = this.#subprotocol.encoding;
|
|
207
|
+
if (encoding === "json") {
|
|
208
|
+
if (typeof event.data !== "string") {
|
|
209
|
+
this.#socket.close(3003, "Only text messages are accepted with JSON encoding");
|
|
210
|
+
this.#setClosed(new ProtoError("Received non-text message from server with JSON encoding"));
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
msg = readJsonObject(JSON.parse(event.data), json_ServerMsg);
|
|
214
|
+
}
|
|
215
|
+
else if (encoding === "protobuf") {
|
|
216
|
+
if (!(event.data instanceof ArrayBuffer)) {
|
|
217
|
+
this.#socket.close(3003, "Only binary messages are accepted with Protobuf encoding");
|
|
218
|
+
this.#setClosed(new ProtoError("Received non-binary message from server with Protobuf encoding"));
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
msg = readProtobufMessage(new Uint8Array(event.data), protobuf_ServerMsg);
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
throw impossible(encoding, "Impossible encoding");
|
|
225
|
+
}
|
|
226
|
+
this.#handleMsg(msg);
|
|
227
|
+
}
|
|
228
|
+
catch (e) {
|
|
229
|
+
this.#socket.close(3007, "Could not handle message");
|
|
230
|
+
this.#setClosed(e);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
// Handle a message from the server.
|
|
234
|
+
#handleMsg(msg) {
|
|
235
|
+
if (msg.type === "none") {
|
|
236
|
+
throw new ProtoError("Received an unrecognized ServerMsg");
|
|
237
|
+
}
|
|
238
|
+
else if (msg.type === "hello_ok" || msg.type === "hello_error") {
|
|
239
|
+
if (this.#recvdHello) {
|
|
240
|
+
throw new ProtoError("Received a duplicated hello response");
|
|
241
|
+
}
|
|
242
|
+
this.#recvdHello = true;
|
|
243
|
+
if (msg.type === "hello_error") {
|
|
244
|
+
throw errorFromProto(msg.error);
|
|
245
|
+
}
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
else if (!this.#recvdHello) {
|
|
249
|
+
throw new ProtoError("Received a non-hello message before a hello response");
|
|
250
|
+
}
|
|
251
|
+
if (msg.type === "response_ok") {
|
|
252
|
+
const requestId = msg.requestId;
|
|
253
|
+
const responseState = this.#responseMap.get(requestId);
|
|
254
|
+
this.#responseMap.delete(requestId);
|
|
255
|
+
if (responseState === undefined) {
|
|
256
|
+
throw new ProtoError("Received unexpected OK response");
|
|
257
|
+
}
|
|
258
|
+
this.#requestIdAlloc.free(requestId);
|
|
259
|
+
try {
|
|
260
|
+
if (responseState.type !== msg.response.type) {
|
|
261
|
+
console.dir({ responseState, msg });
|
|
262
|
+
throw new ProtoError("Received unexpected type of response");
|
|
263
|
+
}
|
|
264
|
+
responseState.responseCallback(msg.response);
|
|
265
|
+
}
|
|
266
|
+
catch (e) {
|
|
267
|
+
responseState.errorCallback(e);
|
|
268
|
+
throw e;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
else if (msg.type === "response_error") {
|
|
272
|
+
const requestId = msg.requestId;
|
|
273
|
+
const responseState = this.#responseMap.get(requestId);
|
|
274
|
+
this.#responseMap.delete(requestId);
|
|
275
|
+
if (responseState === undefined) {
|
|
276
|
+
throw new ProtoError("Received unexpected error response");
|
|
277
|
+
}
|
|
278
|
+
this.#requestIdAlloc.free(requestId);
|
|
279
|
+
responseState.errorCallback(errorFromProto(msg.error));
|
|
280
|
+
}
|
|
281
|
+
else {
|
|
282
|
+
throw impossible(msg, "Impossible ServerMsg type");
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
/** Open a {@link WsStream}, a stream for executing SQL statements. */
|
|
286
|
+
openStream() {
|
|
287
|
+
return WsStream.open(this);
|
|
288
|
+
}
|
|
289
|
+
/** Cache a SQL text on the server. This requires protocol version 2 or higher. */
|
|
290
|
+
storeSql(sql) {
|
|
291
|
+
this._ensureVersion(2, "storeSql()");
|
|
292
|
+
const sqlId = this.#sqlIdAlloc.alloc();
|
|
293
|
+
const sqlObj = new Sql(this, sqlId);
|
|
294
|
+
const responseCallback = () => undefined;
|
|
295
|
+
const errorCallback = (e) => sqlObj._setClosed(e);
|
|
296
|
+
const request = { type: "store_sql", sqlId, sql };
|
|
297
|
+
this._sendRequest(request, { responseCallback, errorCallback });
|
|
298
|
+
return sqlObj;
|
|
299
|
+
}
|
|
300
|
+
/** @private */
|
|
301
|
+
_closeSql(sqlId) {
|
|
302
|
+
if (this.#closed !== undefined) {
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
const responseCallback = () => this.#sqlIdAlloc.free(sqlId);
|
|
306
|
+
const errorCallback = (e) => this.#setClosed(e);
|
|
307
|
+
const request = { type: "close_sql", sqlId };
|
|
308
|
+
this._sendRequest(request, { responseCallback, errorCallback });
|
|
309
|
+
}
|
|
310
|
+
/** Close the client and the WebSocket. */
|
|
311
|
+
close() {
|
|
312
|
+
this.#setClosed(new ClientError("Client was manually closed"));
|
|
313
|
+
}
|
|
314
|
+
/** True if the client is closed. */
|
|
315
|
+
get closed() {
|
|
316
|
+
return this.#closed !== undefined;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ClientError, ClosedError } from "../errors.js";
|
|
2
|
+
import { Cursor } from "../cursor.js";
|
|
3
|
+
import { Queue } from "../queue.js";
|
|
4
|
+
const fetchChunkSize = 1000;
|
|
5
|
+
const fetchQueueSize = 10;
|
|
6
|
+
export class WsCursor extends Cursor {
|
|
7
|
+
#client;
|
|
8
|
+
#stream;
|
|
9
|
+
#cursorId;
|
|
10
|
+
#entryQueue;
|
|
11
|
+
#fetchQueue;
|
|
12
|
+
#closed;
|
|
13
|
+
#done;
|
|
14
|
+
/** @private */
|
|
15
|
+
constructor(client, stream, cursorId) {
|
|
16
|
+
super();
|
|
17
|
+
this.#client = client;
|
|
18
|
+
this.#stream = stream;
|
|
19
|
+
this.#cursorId = cursorId;
|
|
20
|
+
this.#entryQueue = new Queue();
|
|
21
|
+
this.#fetchQueue = new Queue();
|
|
22
|
+
this.#closed = undefined;
|
|
23
|
+
this.#done = false;
|
|
24
|
+
}
|
|
25
|
+
/** Fetch the next entry from the cursor. */
|
|
26
|
+
async next() {
|
|
27
|
+
for (;;) {
|
|
28
|
+
if (this.#closed !== undefined) {
|
|
29
|
+
throw new ClosedError("Cursor is closed", this.#closed);
|
|
30
|
+
}
|
|
31
|
+
while (!this.#done && this.#fetchQueue.length < fetchQueueSize) {
|
|
32
|
+
this.#fetchQueue.push(this.#fetch());
|
|
33
|
+
}
|
|
34
|
+
const entry = this.#entryQueue.shift();
|
|
35
|
+
if (this.#done || entry !== undefined) {
|
|
36
|
+
return entry;
|
|
37
|
+
}
|
|
38
|
+
// we assume that `Cursor.next()` is never called concurrently
|
|
39
|
+
await this.#fetchQueue.shift().then((response) => {
|
|
40
|
+
if (response === undefined) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
for (const entry of response.entries) {
|
|
44
|
+
this.#entryQueue.push(entry);
|
|
45
|
+
}
|
|
46
|
+
this.#done ||= response.done;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
#fetch() {
|
|
51
|
+
return this.#stream._sendCursorRequest(this, {
|
|
52
|
+
type: "fetch_cursor",
|
|
53
|
+
cursorId: this.#cursorId,
|
|
54
|
+
maxCount: fetchChunkSize,
|
|
55
|
+
}).then((resp) => resp, (error) => {
|
|
56
|
+
this._setClosed(error);
|
|
57
|
+
return undefined;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/** @private */
|
|
61
|
+
_setClosed(error) {
|
|
62
|
+
if (this.#closed !== undefined) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
this.#closed = error;
|
|
66
|
+
this.#stream._sendCursorRequest(this, {
|
|
67
|
+
type: "close_cursor",
|
|
68
|
+
cursorId: this.#cursorId,
|
|
69
|
+
}).catch(() => undefined);
|
|
70
|
+
this.#stream._cursorClosed(this);
|
|
71
|
+
}
|
|
72
|
+
/** Close the cursor. */
|
|
73
|
+
close() {
|
|
74
|
+
this._setClosed(new ClientError("Cursor was manually closed"));
|
|
75
|
+
}
|
|
76
|
+
/** True if the cursor is closed. */
|
|
77
|
+
get closed() {
|
|
78
|
+
return this.#closed !== undefined;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ProtoError } from "../errors.js";
|
|
2
|
+
import * as d from "../encoding/json/decode.js";
|
|
3
|
+
import { Error, StmtResult, BatchResult, CursorEntry, DescribeResult } from "../shared/json_decode.js";
|
|
4
|
+
export function ServerMsg(obj) {
|
|
5
|
+
const type = d.string(obj["type"]);
|
|
6
|
+
if (type === "hello_ok") {
|
|
7
|
+
return { type: "hello_ok" };
|
|
8
|
+
}
|
|
9
|
+
else if (type === "hello_error") {
|
|
10
|
+
const error = Error(d.object(obj["error"]));
|
|
11
|
+
return { type: "hello_error", error };
|
|
12
|
+
}
|
|
13
|
+
else if (type === "response_ok") {
|
|
14
|
+
const requestId = d.number(obj["request_id"]);
|
|
15
|
+
const response = Response(d.object(obj["response"]));
|
|
16
|
+
return { type: "response_ok", requestId, response };
|
|
17
|
+
}
|
|
18
|
+
else if (type === "response_error") {
|
|
19
|
+
const requestId = d.number(obj["request_id"]);
|
|
20
|
+
const error = Error(d.object(obj["error"]));
|
|
21
|
+
return { type: "response_error", requestId, error };
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new ProtoError("Unexpected type of ServerMsg");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function Response(obj) {
|
|
28
|
+
const type = d.string(obj["type"]);
|
|
29
|
+
if (type === "open_stream") {
|
|
30
|
+
return { type: "open_stream" };
|
|
31
|
+
}
|
|
32
|
+
else if (type === "close_stream") {
|
|
33
|
+
return { type: "close_stream" };
|
|
34
|
+
}
|
|
35
|
+
else if (type === "execute") {
|
|
36
|
+
const result = StmtResult(d.object(obj["result"]));
|
|
37
|
+
return { type: "execute", result };
|
|
38
|
+
}
|
|
39
|
+
else if (type === "batch") {
|
|
40
|
+
const result = BatchResult(d.object(obj["result"]));
|
|
41
|
+
return { type: "batch", result };
|
|
42
|
+
}
|
|
43
|
+
else if (type === "open_cursor") {
|
|
44
|
+
return { type: "open_cursor" };
|
|
45
|
+
}
|
|
46
|
+
else if (type === "close_cursor") {
|
|
47
|
+
return { type: "close_cursor" };
|
|
48
|
+
}
|
|
49
|
+
else if (type === "fetch_cursor") {
|
|
50
|
+
const entries = d.arrayObjectsMap(obj["entries"], CursorEntry);
|
|
51
|
+
const done = d.boolean(obj["done"]);
|
|
52
|
+
return { type: "fetch_cursor", entries, done };
|
|
53
|
+
}
|
|
54
|
+
else if (type === "sequence") {
|
|
55
|
+
return { type: "sequence" };
|
|
56
|
+
}
|
|
57
|
+
else if (type === "describe") {
|
|
58
|
+
const result = DescribeResult(d.object(obj["result"]));
|
|
59
|
+
return { type: "describe", result };
|
|
60
|
+
}
|
|
61
|
+
else if (type === "store_sql") {
|
|
62
|
+
return { type: "store_sql" };
|
|
63
|
+
}
|
|
64
|
+
else if (type === "close_sql") {
|
|
65
|
+
return { type: "close_sql" };
|
|
66
|
+
}
|
|
67
|
+
else if (type === "get_autocommit") {
|
|
68
|
+
const isAutocommit = d.boolean(obj["is_autocommit"]);
|
|
69
|
+
return { type: "get_autocommit", isAutocommit };
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
throw new ProtoError("Unexpected type of Response");
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Stmt, Batch } from "../shared/json_encode.js";
|
|
2
|
+
import { impossible } from "../util.js";
|
|
3
|
+
export function ClientMsg(w, msg) {
|
|
4
|
+
w.stringRaw("type", msg.type);
|
|
5
|
+
if (msg.type === "hello") {
|
|
6
|
+
if (msg.jwt !== undefined) {
|
|
7
|
+
w.string("jwt", msg.jwt);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
else if (msg.type === "request") {
|
|
11
|
+
w.number("request_id", msg.requestId);
|
|
12
|
+
w.object("request", msg.request, Request);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
throw impossible(msg, "Impossible type of ClientMsg");
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function Request(w, msg) {
|
|
19
|
+
w.stringRaw("type", msg.type);
|
|
20
|
+
if (msg.type === "open_stream") {
|
|
21
|
+
w.number("stream_id", msg.streamId);
|
|
22
|
+
}
|
|
23
|
+
else if (msg.type === "close_stream") {
|
|
24
|
+
w.number("stream_id", msg.streamId);
|
|
25
|
+
}
|
|
26
|
+
else if (msg.type === "execute") {
|
|
27
|
+
w.number("stream_id", msg.streamId);
|
|
28
|
+
w.object("stmt", msg.stmt, Stmt);
|
|
29
|
+
}
|
|
30
|
+
else if (msg.type === "batch") {
|
|
31
|
+
w.number("stream_id", msg.streamId);
|
|
32
|
+
w.object("batch", msg.batch, Batch);
|
|
33
|
+
}
|
|
34
|
+
else if (msg.type === "open_cursor") {
|
|
35
|
+
w.number("stream_id", msg.streamId);
|
|
36
|
+
w.number("cursor_id", msg.cursorId);
|
|
37
|
+
w.object("batch", msg.batch, Batch);
|
|
38
|
+
}
|
|
39
|
+
else if (msg.type === "close_cursor") {
|
|
40
|
+
w.number("cursor_id", msg.cursorId);
|
|
41
|
+
}
|
|
42
|
+
else if (msg.type === "fetch_cursor") {
|
|
43
|
+
w.number("cursor_id", msg.cursorId);
|
|
44
|
+
w.number("max_count", msg.maxCount);
|
|
45
|
+
}
|
|
46
|
+
else if (msg.type === "sequence") {
|
|
47
|
+
w.number("stream_id", msg.streamId);
|
|
48
|
+
if (msg.sql !== undefined) {
|
|
49
|
+
w.string("sql", msg.sql);
|
|
50
|
+
}
|
|
51
|
+
if (msg.sqlId !== undefined) {
|
|
52
|
+
w.number("sql_id", msg.sqlId);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
else if (msg.type === "describe") {
|
|
56
|
+
w.number("stream_id", msg.streamId);
|
|
57
|
+
if (msg.sql !== undefined) {
|
|
58
|
+
w.string("sql", msg.sql);
|
|
59
|
+
}
|
|
60
|
+
if (msg.sqlId !== undefined) {
|
|
61
|
+
w.number("sql_id", msg.sqlId);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else if (msg.type === "store_sql") {
|
|
65
|
+
w.number("sql_id", msg.sqlId);
|
|
66
|
+
w.string("sql", msg.sql);
|
|
67
|
+
}
|
|
68
|
+
else if (msg.type === "close_sql") {
|
|
69
|
+
w.number("sql_id", msg.sqlId);
|
|
70
|
+
}
|
|
71
|
+
else if (msg.type === "get_autocommit") {
|
|
72
|
+
w.number("stream_id", msg.streamId);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
throw impossible(msg, "Impossible type of Request");
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Error, StmtResult, BatchResult, CursorEntry, DescribeResult } from "../shared/protobuf_decode.js";
|
|
2
|
+
export const ServerMsg = {
|
|
3
|
+
default() { return { type: "none" }; },
|
|
4
|
+
1(r) { return { type: "hello_ok" }; },
|
|
5
|
+
2(r) { return r.message(HelloErrorMsg); },
|
|
6
|
+
3(r) { return r.message(ResponseOkMsg); },
|
|
7
|
+
4(r) { return r.message(ResponseErrorMsg); },
|
|
8
|
+
};
|
|
9
|
+
const HelloErrorMsg = {
|
|
10
|
+
default() { return { type: "hello_error", error: Error.default() }; },
|
|
11
|
+
1(r, msg) { msg.error = r.message(Error); },
|
|
12
|
+
};
|
|
13
|
+
const ResponseErrorMsg = {
|
|
14
|
+
default() { return { type: "response_error", requestId: 0, error: Error.default() }; },
|
|
15
|
+
1(r, msg) { msg.requestId = r.int32(); },
|
|
16
|
+
2(r, msg) { msg.error = r.message(Error); },
|
|
17
|
+
};
|
|
18
|
+
const ResponseOkMsg = {
|
|
19
|
+
default() {
|
|
20
|
+
return {
|
|
21
|
+
type: "response_ok",
|
|
22
|
+
requestId: 0,
|
|
23
|
+
response: { type: "none" },
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
1(r, msg) { msg.requestId = r.int32(); },
|
|
27
|
+
2(r, msg) { msg.response = { type: "open_stream" }; },
|
|
28
|
+
3(r, msg) { msg.response = { type: "close_stream" }; },
|
|
29
|
+
4(r, msg) { msg.response = r.message(ExecuteResp); },
|
|
30
|
+
5(r, msg) { msg.response = r.message(BatchResp); },
|
|
31
|
+
6(r, msg) { msg.response = { type: "open_cursor" }; },
|
|
32
|
+
7(r, msg) { msg.response = { type: "close_cursor" }; },
|
|
33
|
+
8(r, msg) { msg.response = r.message(FetchCursorResp); },
|
|
34
|
+
9(r, msg) { msg.response = { type: "sequence" }; },
|
|
35
|
+
10(r, msg) { msg.response = r.message(DescribeResp); },
|
|
36
|
+
11(r, msg) { msg.response = { type: "store_sql" }; },
|
|
37
|
+
12(r, msg) { msg.response = { type: "close_sql" }; },
|
|
38
|
+
13(r, msg) { msg.response = r.message(GetAutocommitResp); },
|
|
39
|
+
};
|
|
40
|
+
const ExecuteResp = {
|
|
41
|
+
default() { return { type: "execute", result: StmtResult.default() }; },
|
|
42
|
+
1(r, msg) { msg.result = r.message(StmtResult); },
|
|
43
|
+
};
|
|
44
|
+
const BatchResp = {
|
|
45
|
+
default() { return { type: "batch", result: BatchResult.default() }; },
|
|
46
|
+
1(r, msg) { msg.result = r.message(BatchResult); },
|
|
47
|
+
};
|
|
48
|
+
const FetchCursorResp = {
|
|
49
|
+
default() { return { type: "fetch_cursor", entries: [], done: false }; },
|
|
50
|
+
1(r, msg) { msg.entries.push(r.message(CursorEntry)); },
|
|
51
|
+
2(r, msg) { msg.done = r.bool(); },
|
|
52
|
+
};
|
|
53
|
+
const DescribeResp = {
|
|
54
|
+
default() { return { type: "describe", result: DescribeResult.default() }; },
|
|
55
|
+
1(r, msg) { msg.result = r.message(DescribeResult); },
|
|
56
|
+
};
|
|
57
|
+
const GetAutocommitResp = {
|
|
58
|
+
default() { return { type: "get_autocommit", isAutocommit: false }; },
|
|
59
|
+
1(r, msg) { msg.isAutocommit = r.bool(); },
|
|
60
|
+
};
|