orcaq 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/63YtjFEq.js +1 -0
- package/.output/public/_nuxt/{BxDrCsPf.js → 8tyEaimf.js} +1 -1
- package/.output/public/_nuxt/AymhMj9v.js +1 -0
- package/.output/public/_nuxt/B2IKcIj2.js +1 -0
- package/.output/public/_nuxt/{CvcedJeQ.js → B46blMXm.js} +1 -1
- package/.output/public/_nuxt/B5WGo5x7.js +1 -0
- package/.output/public/_nuxt/{DHnNoguE.js → B6MkNyZd.js} +1 -1
- package/.output/public/_nuxt/B73IHAoF.js +1 -0
- package/.output/public/_nuxt/{DWBoXz89.js → B8TrrBEb.js} +1 -1
- package/.output/public/_nuxt/{CE8aasoy.js → B9uki8o2.js} +1 -1
- package/.output/public/_nuxt/{TuKV3Ilv.js → BEyCol50.js} +1 -1
- package/.output/public/_nuxt/{BvUhrUEH.js → BJCrbji-.js} +1 -1
- package/.output/public/_nuxt/{BnFDcr74.js → BJVPtt2X.js} +1 -1
- package/.output/public/_nuxt/BL__uYa3.js +1 -0
- package/.output/public/_nuxt/BPACuoI0.js +1 -0
- package/.output/public/_nuxt/BRFPdiIh.js +1 -0
- package/.output/public/_nuxt/BS-LtKx4.js +1 -0
- package/.output/public/_nuxt/{BJYf67_H.js → BTYBVtfa.js} +1 -1
- package/.output/public/_nuxt/BTheloyh.js +1 -0
- package/.output/public/_nuxt/BVUHbgGW.js +27 -0
- package/.output/public/_nuxt/BWZ7atse.js +1 -0
- package/.output/public/_nuxt/{CS5ItJPR.js → BWebIWit.js} +1 -1
- package/.output/public/_nuxt/{4by6-f6q.js → BcsKoAPU.js} +315 -313
- package/.output/public/_nuxt/{B6hH0qos.js → Bf6Q3Zl5.js} +1 -1
- package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
- package/.output/public/_nuxt/BjqbQLK3.js +1 -0
- package/.output/public/_nuxt/{C1jMZ4hc.js → Bmgr9uz4.js} +1 -1
- package/.output/public/_nuxt/{Bq7otXBA.js → Bmx1kTaZ.js} +1 -1
- package/.output/public/_nuxt/BoIj4dtd.js +1 -0
- package/.output/public/_nuxt/{Cx6s86aR.js → BoMjapT5.js} +1 -1
- package/.output/public/_nuxt/BogEzQi9.js +12 -0
- package/.output/public/_nuxt/BpLDGvqy.js +1 -0
- package/.output/public/_nuxt/BpUSbMUb.js +1 -0
- package/.output/public/_nuxt/BpvGVfME.js +1 -0
- package/.output/public/_nuxt/{DESYlybj.js → Bq47tjcm.js} +1 -1
- package/.output/public/_nuxt/{H5m89x1B.js → Bq7OeLM1.js} +1 -1
- package/.output/public/_nuxt/BqU89KuH.js +2 -0
- package/.output/public/_nuxt/{CrLqg4B0.js → BrNfge84.js} +1 -1
- package/.output/public/_nuxt/BtyzMl9p.js +1 -0
- package/.output/public/_nuxt/{BGVGiigU.js → ByiJDSw8.js} +1 -1
- package/.output/public/_nuxt/{DJqZzQsX.js → ByibjLZn.js} +1 -1
- package/.output/public/_nuxt/BzvSm28k.js +67 -0
- package/.output/public/_nuxt/C2XHqDOf.js +1 -0
- package/.output/public/_nuxt/C3ZBsVV_.js +2 -0
- package/.output/public/_nuxt/{F5lCgNdb.js → C6dIAdHr.js} +1 -1
- package/.output/public/_nuxt/C7BQpy74.js +1 -0
- package/.output/public/_nuxt/{B84SvUzr.js → CAnr3OhD.js} +1 -1
- package/.output/public/_nuxt/CDJKw_ak.js +1 -0
- package/.output/public/_nuxt/CHEpbbGc.js +1 -0
- package/.output/public/_nuxt/{DNdM2ZyK.js → CMkzSwnO.js} +1 -1
- package/.output/public/_nuxt/{BdDEVolW.js → COHOh4Oe.js} +1 -1
- package/.output/public/_nuxt/COq7mAG7.js +10 -0
- package/.output/public/_nuxt/CS5akSNT.js +1 -0
- package/.output/public/_nuxt/CS9hqyP3.js +1 -0
- package/.output/public/_nuxt/{CR6_eO9a.js → CSQ0xnqv.js} +1 -1
- package/.output/public/_nuxt/C_7gtl40.js +1 -0
- package/.output/public/_nuxt/Ca0KO9Xq.js +9 -0
- package/.output/public/_nuxt/CerLmMsC.js +22 -0
- package/.output/public/_nuxt/{DaKikgWm.js → Ci5B19-c.js} +1 -1
- package/.output/public/_nuxt/{TEF-nDfP.js → Cnfx1zWl.js} +1 -1
- package/.output/public/_nuxt/{Ci43mke5.js → Cq-MDPLE.js} +1 -1
- package/.output/public/_nuxt/{minLMBmY.js → CrNLwdoE.js} +1 -1
- package/.output/public/_nuxt/{PUe8M07P.js → CsRSZpa6.js} +1 -1
- package/.output/public/_nuxt/CtWq1MER.js +7 -0
- package/.output/public/_nuxt/Cww9dXBK.js +1 -0
- package/.output/public/_nuxt/{ZObQcd0X.js → CycELG5y.js} +1 -1
- package/.output/public/_nuxt/{b_MfGg1c.js → D-9vaM6z.js} +1 -1
- package/.output/public/_nuxt/{D9dEqMyH.js → D4pAW_0T.js} +1 -1
- package/.output/public/_nuxt/DAr5YiBT.js +1 -0
- package/.output/public/_nuxt/{DFM-aCBX.js → DDebxXP-.js} +1 -1
- package/.output/public/_nuxt/{CEvNlevo.js → DEZMnZ2r.js} +1 -1
- package/.output/public/_nuxt/{BeNILdbT.js → DGvAu532.js} +1 -1
- package/.output/public/_nuxt/{CREZ9f0O.js → DHAL8jJG.js} +4 -4
- package/.output/public/_nuxt/{BprXyYdv.js → DJH-4SVI.js} +1 -1
- package/.output/public/_nuxt/{Dpl6-lqE.js → DMmjWR_K.js} +1 -1
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/{DkadXn5U.js → DNoTlUiY.js} +1 -1
- package/.output/public/_nuxt/DPIEiNwW.js +1 -0
- package/.output/public/_nuxt/{DQT4eICL.js → DSaBCmOg.js} +1 -1
- package/.output/public/_nuxt/DVnDb6ua.js +1 -0
- package/.output/public/_nuxt/DWqOZJe7.js +1 -0
- package/.output/public/_nuxt/DcCF9IZB.js +1 -0
- package/.output/public/_nuxt/DfNTLojg.js +1 -0
- package/.output/public/_nuxt/{Cvq07PgE.js → DkD29_YA.js} +1 -1
- package/.output/public/_nuxt/DpEV6S2O.js +1 -0
- package/.output/public/_nuxt/{DhKwXzSk.js → DpT8FO1Q.js} +1 -1
- package/.output/public/_nuxt/{D60Pzl_V.js → Dq1JM9WZ.js} +1 -1
- package/.output/public/_nuxt/{DXp9fCib.js → DsmBazLf.js} +1 -1
- package/.output/public/_nuxt/{ByOuUnNS.js → DuCDilAk.js} +1 -1
- package/.output/public/_nuxt/{CKqvNpN3.js → FDw04QOj.js} +1 -1
- package/.output/public/_nuxt/JOg_XIAv.js +1 -0
- package/.output/public/_nuxt/{BmU9CNkM.js → L2I3LmpB.js} +1 -1
- package/.output/public/_nuxt/M6bBaUHa.js +1 -0
- package/.output/public/_nuxt/MW5K_zef.js +1 -0
- package/.output/public/_nuxt/{YJvNy3iu.js → MeLWmO7R.js} +27 -27
- package/.output/public/_nuxt/{B4ebLeWY.js → Oe2GG0Lt.js} +3 -3
- package/.output/public/_nuxt/S1qa1a4x.js +1 -0
- package/.output/public/_nuxt/{CA99KAte.js → Sf02B6Pt.js} +2 -2
- package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
- package/.output/public/_nuxt/_qKPTuua.js +1 -0
- package/.output/public/_nuxt/{CybtvDjH.js → atdCACH-.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +1 -0
- package/.output/public/_nuxt/dNPwafbq.js +1 -0
- package/.output/public/_nuxt/dWu56FdP.js +3867 -0
- package/.output/public/_nuxt/default.B0xlD4Sl.css +1 -0
- package/.output/public/_nuxt/entry.DxCQuGXb.css +1 -0
- package/.output/public/_nuxt/iNy-Nl0_.js +1 -0
- package/.output/public/_nuxt/{C5bgdIOp.js → ioXB9E2w.js} +1 -1
- package/.output/public/_nuxt/{B7HEMfgt.js → kvtnkChG.js} +1 -1
- package/.output/public/_nuxt/{DNNdcUH4.js → qzrMNYut.js} +1 -1
- package/.output/public/_nuxt/{DaMyovpr.js → sk7V7xQl.js} +1 -1
- package/.output/public/_nuxt/vhkvHdfO.js +1 -0
- package/.output/public/_nuxt/wRAs0MDn.js +2 -0
- package/.output/public/_nuxt/xOD4Ev56.js +1 -0
- package/.output/public/_nuxt/xp7rFxcm.js +1 -0
- package/.output/server/chunks/_/create-adapter.mjs +2 -0
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
- package/.output/server/chunks/_/db-connection.mjs +500 -19
- package/.output/server/chunks/_/db-connection.mjs.map +1 -1
- package/.output/server/chunks/_/instance-insights.factory.mjs +2037 -14
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +302 -22
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
- package/.output/server/chunks/_/redis-browser.service.mjs +513 -0
- package/.output/server/chunks/_/redis-browser.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs +442 -0
- package/.output/server/chunks/_/redis-instance-insights.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs +227 -0
- package/.output/server/chunks/_/redis-pubsub.service.mjs.map +1 -0
- package/.output/server/chunks/_/redis.client.mjs +129 -0
- package/.output/server/chunks/_/redis.client.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +20 -8
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +748 -632
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +715 -606
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +4 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +4 -1
- package/.output/server/chunks/routes/api/database-import/import-database.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs +4 -1
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/delete-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases-with-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-databases.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-role-inheritance.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-role.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-roles.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-schema-objects.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/get-schemas.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/grant-bulk-permissions.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/grant-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs +4 -1
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +4 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +5 -2
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/configuration.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/dashboard.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/drop-slot.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/replication.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/state.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/terminate-connection.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs +5 -2
- package/.output/server/chunks/routes/api/instance-insights/toggle-slot-status.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs +66 -0
- package/.output/server/chunks/routes/api/instance-insights/view.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +7 -1
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +7 -2
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +6 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs +7 -2
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +4 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +6 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs +15 -3
- package/.output/server/chunks/routes/api/query/raw-execute-stream.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs +8 -1
- package/.output/server/chunks/routes/api/query/raw-execute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/databases.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/browser/value.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs +25 -0
- package/.output/server/chunks/routes/api/redis/browser/value.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs +37 -0
- package/.output/server/chunks/routes/api/redis/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/kill-client.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs +35 -0
- package/.output/server/chunks/routes/api/redis/instance-insights/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/messages.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs +38 -0
- package/.output/server/chunks/routes/api/redis/pubsub/overview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs +39 -0
- package/.output/server/chunks/routes/api/redis/pubsub/subscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs +24 -0
- package/.output/server/chunks/routes/api/redis/pubsub/unsubscribe.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs +60 -0
- package/.output/server/chunks/routes/api/redis/workbench/execute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs +9 -5
- package/.output/server/chunks/routes/api/tables/bulk-delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs +9 -5
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +5 -2
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +4 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +4 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/@libsql/client/lib-esm/hrana.js +310 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/http.js +230 -0
- package/.output/server/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
- package/.output/server/node_modules/@libsql/client/package.json +123 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/api.js +16 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/config.js +136 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/uri.js +120 -0
- package/.output/server/node_modules/@libsql/core/lib-esm/util.js +55 -0
- package/.output/server/node_modules/@libsql/core/package.json +91 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/batch.js +271 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/byte_queue.js +45 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/client.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/cursor.js +2 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/describe.js +8 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/index.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js +59 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js +72 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js +150 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js +95 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js +6 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/errors.js +102 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/client.js +124 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/cursor.js +135 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js +62 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js +55 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js +44 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js +78 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/http/stream.js +363 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/id_alloc.js +47 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/index.js +42 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/libsql_url.js +75 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue.js +26 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js +13 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/result.js +48 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js +106 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js +71 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js +85 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/sql.js +46 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stmt.js +76 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/stream.js +57 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/util.js +4 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/value.js +83 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/client.js +318 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js +80 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js +74 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js +77 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js +60 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js +115 -0
- package/.output/server/node_modules/@libsql/hrana-client/lib-esm/ws/stream.js +211 -0
- package/.output/server/node_modules/@libsql/hrana-client/package.json +60 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/node.js +6 -0
- package/.output/server/node_modules/@libsql/isomorphic-fetch/package.json +51 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/node.mjs +2 -0
- package/.output/server/node_modules/@libsql/isomorphic-ws/package.json +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/CARD.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/INSERT.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/MEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/RESERVE.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/helpers.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/bloom/index.js +53 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYDIM.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/INITBYPROB.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/MERGE.js +33 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/QUERY.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/count-min-sketch/index.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADD.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/ADDNX.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/DEL.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERT.js +34 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/INSERTNX.js +44 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/RESERVE.js +31 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/SCANDUMP.js +23 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/cuckoo/index.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/index.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/ADD.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYRANK.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/BYREVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CDF.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/CREATE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/INFO.js +22 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MAX.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MERGE.js +27 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/MIN.js +17 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/QUANTILE.js +21 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RANK.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/RESET.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/REVRANK.js +41 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/TRIMMED_MEAN.js +20 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/t-digest/index.js +50 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/ADD.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/COUNT.js +18 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INCRBY.js +28 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/INFO.js +24 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST.js +16 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/LIST_WITHCOUNT.js +26 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/QUERY.js +19 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/RESERVE.js +25 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/commands/top-k/index.js +32 -0
- package/.output/server/node_modules/@redis/bloom/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/bloom/package.json +36 -0
- package/.output/server/node_modules/@redis/client/dist/index.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/decoder.js +727 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/encoder.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/RESP/verbatim-string.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/credentials-provider.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/index.js +12 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token-manager.js +184 -0
- package/.output/server/node_modules/@redis/client/dist/lib/authx/token.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/cache.js +634 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/commands-queue.js +497 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/enterprise-maintenance-manager.js +387 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/identity.js +65 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/index.js +1118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/legacy-mode.js +119 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/linked-list.js +212 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/multi-command.js +118 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/parser.js +83 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pool.js +373 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/pub-sub.js +351 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/socket.js +336 -0
- package/.output/server/node_modules/@redis/client/dist/lib/client/tracing.js +122 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/cluster-slots.js +657 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/index.js +425 -0
- package/.output/server/node_modules/@redis/client/dist/lib/cluster/multi-command.js +124 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commander.js +91 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_CAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DELUSER.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_DRYRUN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GENPASS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LIST.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOAD.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_LOG_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SAVE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_SETUSER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_USERS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ACL_WHOAMI.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/APPEND.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/AUTH.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGREWRITEAOF.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BGSAVE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITCOUNT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITFIELD_RO.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITOP.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BITPOS.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BLPOP.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOP.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BRPOPLPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZMPOP.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/BZPOPMIN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_CACHING.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETNAME.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_GETREDIR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_ID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_INFO.js +62 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_KILL.js +66 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_LIST.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-EVICT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_NO-TOUCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_PAUSE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_SETNAME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKING.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_TRACKINGINFO.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLIENT_UNPAUSE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_ADDSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_BUMPEPOCH.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNT-FAILURE-REPORTS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_COUNTKEYSINSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_DELSLOTSRANGE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FAILOVER.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FLUSHSLOTS.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_FORGET.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_GETKEYSINSLOT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_INFO.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_KEYSLOT.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_LINKS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MEET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_MYSHARDID.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_NODES.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICAS.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_REPLICATE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_RESET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SAVECONFIG.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SET-CONFIG-EPOCH.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SETSLOT.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CLUSTER_SLOTS.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_COUNT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_GETKEYSANDFLAGS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_INFO.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COMMAND_LIST.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_GET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_RESETSTAT.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_REWRITE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/CONFIG_SET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/COPY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DBSIZE.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECR.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DECRBY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DELEX.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DIGEST.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/DUMP.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ECHO.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVALSHA_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EVAL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXISTS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIREAT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/EXPIRETIME.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FCALL_RO.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHALL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FLUSHDB.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DELETE.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_DUMP.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_FLUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_KILL.js +15 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LIST_WITHCODE.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_LOAD.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_RESTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOADD.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEODIST.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOHASH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOPOS.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_RO_WITH.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUSBYMEMBER_WITH.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_RO_WITH.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_STORE.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEORADIUS_WITH.js +56 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH.js +54 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCHSTORE.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GEOSEARCH_WITH.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GET.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETBIT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETDEL.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETEX.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/GETSET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HDEL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HELLO.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRE.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETALL.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETDEL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HGETEX.js +30 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HINCRBYFLOAT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HKEYS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HLEN.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HMGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_GET.js +131 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_RESET.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_START.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HOTKEYS_STOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPERSIST.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIREAT.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPEXPIRETIME.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HPTTL.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HRANDFIELD_COUNT_WITHVALUES.js +41 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSCAN_NOVALUES.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSET.js +55 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETEX.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSETNX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HSTRLEN.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HTTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/HVALS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INCRBYFLOAT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/INFO.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/KEYS.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LASTSAVE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTOGRAM.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_HISTORY.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_LATEST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LATENCY_RESET.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX.js +33 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_IDX_WITHMATCHLEN.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LCS_LEN.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINDEX.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LINSERT.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LLEN.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMOVE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LMPOP.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LOLWUT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOP_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPOS_COUNT.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LRANGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LREM.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LSET.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/LTRIM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_DOCTOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_MALLOC-STATS.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_PURGE.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_STATS.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MEMORY_USAGE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MGET.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MIGRATE.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LIST.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_LOAD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MODULE_UNLOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MOVE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSET.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETEX.js +104 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/MSETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_ENCODING.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_FREQ.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_IDLETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/OBJECT_REFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PERSIST.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRE.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIREAT.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PEXPIRETIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFADD.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFCOUNT.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PFMERGE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PING.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PSETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PTTL.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMPAT.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_NUMSUB.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDCHANNELS.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/PUBSUB_SHARDNUMSUB.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RANDOMKEY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/READONLY.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAME.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RENAMENX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/REPLICAOF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE-ASKING.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RESTORE.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ROLE.js +60 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOPLPUSH.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPOP_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/RPUSHX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SADD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCAN.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCARD.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_DEBUG.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_EXISTS.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_FLUSH.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_KILL.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SCRIPT_LOAD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFF.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SDIFFSTORE.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SET.js +61 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETBIT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETNX.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SETRANGE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTER.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERCARD.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMEMBERS.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMISMEMBER.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SMOVE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT.js +53 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_RO.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SORT_STORE.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPOP_COUNT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SPUBLISH.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SRANDMEMBER_COUNT.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SREM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SSCAN.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/STRLEN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNION.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SUNIONSTORE.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/SWAPDB.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TIME.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TOUCH.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TTL.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/TYPE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/UNLINK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VADD.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VCARD.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VDIM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VEMB_RAW.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VGETATTR.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VINFO.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VLINKS_WITHSCORES.js +39 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANDMEMBER.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VRANGE.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VREM.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSETATTR.js +27 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM.js +51 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/VSIM_WITHSCORES.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/WAIT.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACK.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XACKDEL.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD.js +71 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XADD_NOMKSTREAM.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM.js +43 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XAUTOCLAIM_JUSTID.js +35 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCFGSET.js +28 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM.js +52 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XCLAIM_JUSTID.js +31 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDEL.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XDELEX.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATE.js +29 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_CREATECONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DELCONSUMER.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_DESTROY.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XGROUP_SETID.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_CONSUMERS.js +40 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_GROUPS.js +46 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XINFO_STREAM.js +72 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XLEN.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XPENDING_RANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XRANGE.js +50 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREAD.js +57 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREADGROUP.js +42 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XREVRANGE.js +49 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XSETID.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/XTRIM.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD.js +73 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZADD_INCR.js +36 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCARD.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFFSTORE.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZDIFF_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINCRBY.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERCARD.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTERSTORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZINTER_WITHSCORES.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZLEXCOUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMPOP.js +47 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZMSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMAX_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZPOPMIN_COUNT.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANDMEMBER_COUNT_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE.js +45 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYLEX.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGEBYSCORE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGESTORE.js +37 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANGE_WITHSCORES.js +22 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZRANK_WITHSCORE.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREM.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYLEX.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREMRANGEBYSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZREVRANK.js +19 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCAN.js +26 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZSCORE.js +20 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNIONSTORE.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/ZUNION_WITHSCORES.js +21 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/generic-transformers.js +492 -0
- package/.output/server/node_modules/@redis/client/dist/lib/commands/index.js +1161 -0
- package/.output/server/node_modules/@redis/client/dist/lib/errors.js +110 -0
- package/.output/server/node_modules/@redis/client/dist/lib/lua-script.js +16 -0
- package/.output/server/node_modules/@redis/client/dist/lib/multi-command.js +48 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/client-registry.js +84 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/index.js +81 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/metrics.js +647 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/types.js +120 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/error.util.js +199 -0
- package/.output/server/node_modules/@redis/client/dist/lib/opentelemetry/utils/index.js +32 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MASTER.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_MONITOR.js +17 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_REPLICAS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SENTINELS.js +25 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/SENTINEL_SET.js +18 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/commands/index.js +23 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/index.js +1229 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/module.js +10 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/multi-commands.js +115 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/pub-sub-proxy.js +150 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/utils.js +98 -0
- package/.output/server/node_modules/@redis/client/dist/lib/sentinel/wait-queue.js +24 -0
- package/.output/server/node_modules/@redis/client/dist/lib/single-entry-cache.js +38 -0
- package/.output/server/node_modules/@redis/client/dist/lib/utils/digest.js +34 -0
- package/.output/server/node_modules/@redis/client/dist/package.json +52 -0
- package/.output/server/node_modules/@redis/client/package.json +52 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINDEX.js +31 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRINSERT.js +27 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRPOP.js +32 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/ARRTRIM.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/CLEAR.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEBUG_MEMORY.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/DEL.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/FORGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/GET.js +24 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MERGE.js +22 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MGET.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/MSET.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMINCRBY.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/NUMMULTBY.js +25 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJKEYS.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/OBJLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/SET.js +35 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRAPPEND.js +26 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/STRLEN.js +23 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TOGGLE.js +20 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/TYPE.js +29 -0
- package/.output/server/node_modules/@redis/json/dist/lib/commands/index.js +91 -0
- package/.output/server/node_modules/@redis/json/dist/lib/index.js +9 -0
- package/.output/server/node_modules/@redis/json/package.json +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE.js +212 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/AGGREGATE_WITHCURSOR.js +40 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASADD.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASDEL.js +16 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALIASUPDATE.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/ALTER.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_GET.js +23 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CONFIG_SET.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CREATE.js +277 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_DEL.js +17 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTADD.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DICTDUMP.js +19 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/DROPINDEX.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAIN.js +29 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/EXPLAINCLI.js +26 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/HYBRID.js +273 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/INFO.js +106 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_AGGREGATE.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/PROFILE_SEARCH.js +58 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH.js +160 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SEARCH_NOCONTENT.js +34 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SPELLCHECK.js +56 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGADD.js +28 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGDEL.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHPAYLOADS.js +36 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES.js +51 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGGET_WITHSCORES_WITHPAYLOADS.js +53 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SUGLEN.js +15 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNDUMP.js +27 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/SYNUPDATE.js +24 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/TAGVALS.js +20 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/_LIST.js +18 -0
- package/.output/server/node_modules/@redis/search/dist/lib/commands/index.js +125 -0
- package/.output/server/node_modules/@redis/search/dist/lib/dialect/default.js +5 -0
- package/.output/server/node_modules/@redis/search/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/search/package.json +37 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ADD.js +29 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/ALTER.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATE.js +24 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/CREATERULE.js +48 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DECRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DEL.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/DELETERULE.js +17 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/GET.js +33 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INCRBY.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO.js +58 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/INFO_DEBUG.js +46 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MADD.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET.js +57 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_SELECTED_LABELS.js +23 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MGET_WITHLABELS.js +43 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE.js +44 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_GROUPBY.js +96 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS.js +51 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_SELECTED_LABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS.js +59 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MRANGE_WITHLABELS_GROUPBY.js +52 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_SELECTED_LABELS_GROUPBY.js +42 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/MREVRANGE_WITHLABELS_GROUPBY.js +41 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/QUERYINDEX.js +20 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/RANGE.js +66 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/REVRANGE.js +40 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/helpers.js +237 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/commands/index.js +113 -0
- package/.output/server/node_modules/@redis/time-series/dist/lib/index.js +17 -0
- package/.output/server/node_modules/@redis/time-series/package.json +36 -0
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
- package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
- package/.output/server/node_modules/js-base64/base64.mjs +301 -0
- package/.output/server/node_modules/js-base64/package.json +43 -0
- package/.output/server/node_modules/promise-limit/index.js +88 -0
- package/.output/server/node_modules/promise-limit/package.json +39 -0
- package/.output/server/node_modules/redis/dist/index.js +77 -0
- package/.output/server/node_modules/redis/package.json +36 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +19 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +554 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1393 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/package.json +16 -1
- package/package.json +8 -2
- package/.output/public/_nuxt/8Ppmjv9D.js +0 -1
- package/.output/public/_nuxt/B1qjkRVO.js +0 -1
- package/.output/public/_nuxt/B3KEisfc.js +0 -1
- package/.output/public/_nuxt/BDXvbRNW.js +0 -1
- package/.output/public/_nuxt/BGRcizqy.js +0 -1
- package/.output/public/_nuxt/BOK5ZFNK.js +0 -1
- package/.output/public/_nuxt/BPY2ud8g.js +0 -1
- package/.output/public/_nuxt/BSONoRG4.js +0 -2
- package/.output/public/_nuxt/BT53m-su.js +0 -1
- package/.output/public/_nuxt/BTJSh8in.js +0 -2
- package/.output/public/_nuxt/BVpt8J3a.js +0 -1
- package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
- package/.output/public/_nuxt/BqyO8OjC.js +0 -3867
- package/.output/public/_nuxt/Bs1og3h1.js +0 -10
- package/.output/public/_nuxt/Bs2DgR_z.js +0 -1
- package/.output/public/_nuxt/BxrwrGYE.js +0 -1
- package/.output/public/_nuxt/By0aUn7N.js +0 -1
- package/.output/public/_nuxt/C177_GoB.js +0 -1
- package/.output/public/_nuxt/C69a9jD3.js +0 -67
- package/.output/public/_nuxt/C8AyZ3_X.js +0 -2
- package/.output/public/_nuxt/C8KplD68.js +0 -1
- package/.output/public/_nuxt/CNF1h1lI.js +0 -1
- package/.output/public/_nuxt/CcK14gfI.js +0 -1
- package/.output/public/_nuxt/CjouDEjz.js +0 -1
- package/.output/public/_nuxt/Cp5lMcfd.js +0 -1
- package/.output/public/_nuxt/CpYiq1Wv.js +0 -1
- package/.output/public/_nuxt/CwmbX4-U.js +0 -1
- package/.output/public/_nuxt/D-YUpbah.js +0 -9
- package/.output/public/_nuxt/D9BYd7AV.js +0 -1
- package/.output/public/_nuxt/DCJ49Fnq.js +0 -1
- package/.output/public/_nuxt/DeBdxlx0.js +0 -1
- package/.output/public/_nuxt/Dkikh2OC.js +0 -22
- package/.output/public/_nuxt/DlOyXrKK.js +0 -1
- package/.output/public/_nuxt/DqA_edEU.js +0 -1
- package/.output/public/_nuxt/DqxL2Lpl.js +0 -1
- package/.output/public/_nuxt/Dt3rfvTn.js +0 -1
- package/.output/public/_nuxt/Dt5h0Tys.js +0 -1
- package/.output/public/_nuxt/DwrSZ8Vj.js +0 -1
- package/.output/public/_nuxt/DwyFZZT6.js +0 -1
- package/.output/public/_nuxt/EM8J-XL1.js +0 -7
- package/.output/public/_nuxt/ESKvsKwc.js +0 -1
- package/.output/public/_nuxt/V5LvXMJl.js +0 -1
- package/.output/public/_nuxt/builds/meta/455d4da4-6357-4478-8703-78a79ccbbc0f.json +0 -1
- package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
- package/.output/public/_nuxt/entry.qdzR7QFr.css +0 -1
- package/.output/public/_nuxt/fpuEgQ7C.js +0 -12
- package/.output/public/_nuxt/jU7fkvuR.js +0 -1
- package/.output/public/_nuxt/lHkFwi3L.js +0 -1
- package/.output/public/_nuxt/pQ8l8BR2.js +0 -1
- package/.output/public/_nuxt/xYXqL1eV.js +0 -1
- package/.output/public/_nuxt/xxfb8w7n.js +0 -1
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { f as createRedisRuntimeClient } from './redis.client.mjs';
|
|
2
|
+
|
|
3
|
+
const pubSubSessions = /* @__PURE__ */ new Map();
|
|
4
|
+
const resolveDatabaseIndex = (input) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const parsed = (_b = input.databaseIndex) != null ? _b : Number.parseInt((_a = input.database) != null ? _a : "0", 10);
|
|
7
|
+
return Number.isFinite(parsed) ? parsed : 0;
|
|
8
|
+
};
|
|
9
|
+
const inferRedisPubSubMode = (target) => {
|
|
10
|
+
return /[*?[\]]/.test(target) ? "pattern" : "channel";
|
|
11
|
+
};
|
|
12
|
+
const buildSubscriptionStatus = (session) => {
|
|
13
|
+
var _a, _b, _c, _d, _e;
|
|
14
|
+
const primaryTarget = (_a = session == null ? void 0 : session.targets[0]) != null ? _a : null;
|
|
15
|
+
return {
|
|
16
|
+
sessionId: (_b = session == null ? void 0 : session.id) != null ? _b : null,
|
|
17
|
+
target: (_c = primaryTarget == null ? void 0 : primaryTarget.target) != null ? _c : null,
|
|
18
|
+
mode: (_d = primaryTarget == null ? void 0 : primaryTarget.mode) != null ? _d : null,
|
|
19
|
+
targets: (_e = session == null ? void 0 : session.targets) != null ? _e : []
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
const pushPubSubMessage = (session, channel, payload, pattern) => {
|
|
23
|
+
session.messages = [
|
|
24
|
+
...session.messages,
|
|
25
|
+
{
|
|
26
|
+
id: crypto.randomUUID(),
|
|
27
|
+
channel,
|
|
28
|
+
payload,
|
|
29
|
+
pattern,
|
|
30
|
+
receivedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
31
|
+
}
|
|
32
|
+
].slice(-200);
|
|
33
|
+
};
|
|
34
|
+
const withSelectedDatabase = async (input, run) => {
|
|
35
|
+
const databaseIndex = resolveDatabaseIndex(input);
|
|
36
|
+
const runtime = await createRedisRuntimeClient({
|
|
37
|
+
...input,
|
|
38
|
+
database: `${databaseIndex}`
|
|
39
|
+
});
|
|
40
|
+
try {
|
|
41
|
+
if (databaseIndex > 0) {
|
|
42
|
+
await runtime.client.select(databaseIndex);
|
|
43
|
+
}
|
|
44
|
+
return await run(runtime);
|
|
45
|
+
} finally {
|
|
46
|
+
await runtime.close();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const parsePubSubNumSub = (raw) => {
|
|
50
|
+
var _a, _b;
|
|
51
|
+
if (!Array.isArray(raw)) {
|
|
52
|
+
return [];
|
|
53
|
+
}
|
|
54
|
+
const channels = [];
|
|
55
|
+
for (let index = 0; index < raw.length; index += 2) {
|
|
56
|
+
channels.push({
|
|
57
|
+
channel: String((_a = raw[index]) != null ? _a : ""),
|
|
58
|
+
subscribers: Number((_b = raw[index + 1]) != null ? _b : 0)
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return channels;
|
|
62
|
+
};
|
|
63
|
+
const getSessionById = (sessionId) => {
|
|
64
|
+
if (!sessionId) {
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
return pubSubSessions.get(sessionId);
|
|
68
|
+
};
|
|
69
|
+
const createRedisPubSubSession = async (input, databaseIndex) => {
|
|
70
|
+
const runtime = await createRedisRuntimeClient({
|
|
71
|
+
...input,
|
|
72
|
+
database: `${databaseIndex}`
|
|
73
|
+
});
|
|
74
|
+
if (databaseIndex > 0) {
|
|
75
|
+
await runtime.client.select(databaseIndex);
|
|
76
|
+
}
|
|
77
|
+
const session = {
|
|
78
|
+
id: crypto.randomUUID(),
|
|
79
|
+
targets: [],
|
|
80
|
+
databaseIndex,
|
|
81
|
+
runtime,
|
|
82
|
+
messages: []
|
|
83
|
+
};
|
|
84
|
+
pubSubSessions.set(session.id, session);
|
|
85
|
+
return session;
|
|
86
|
+
};
|
|
87
|
+
const subscribeTarget = async (session, subscriptionTarget) => {
|
|
88
|
+
if (subscriptionTarget.mode === "pattern") {
|
|
89
|
+
await session.runtime.client.pSubscribe(
|
|
90
|
+
subscriptionTarget.target,
|
|
91
|
+
(payload, channel) => {
|
|
92
|
+
pushPubSubMessage(session, channel, payload, subscriptionTarget.target);
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
await session.runtime.client.subscribe(subscriptionTarget.target, (payload) => {
|
|
98
|
+
pushPubSubMessage(session, subscriptionTarget.target, payload, null);
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
const unsubscribeTarget = async (session, subscriptionTarget) => {
|
|
102
|
+
if (subscriptionTarget.mode === "pattern") {
|
|
103
|
+
await session.runtime.client.pUnsubscribe(subscriptionTarget.target);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
await session.runtime.client.unsubscribe(subscriptionTarget.target);
|
|
107
|
+
};
|
|
108
|
+
async function getRedisPubSubOverview(input, sessionId) {
|
|
109
|
+
return withSelectedDatabase(input, async (runtime) => {
|
|
110
|
+
var _a;
|
|
111
|
+
const rawChannels = await runtime.client.sendCommand([
|
|
112
|
+
"PUBSUB",
|
|
113
|
+
"CHANNELS"
|
|
114
|
+
]);
|
|
115
|
+
const channelNames = Array.isArray(rawChannels) ? rawChannels.map((channel) => String(channel)) : [];
|
|
116
|
+
const rawCounts = channelNames.length ? await runtime.client.sendCommand(["PUBSUB", "NUMSUB", ...channelNames]) : [];
|
|
117
|
+
const rawPatternCount = await runtime.client.sendCommand([
|
|
118
|
+
"PUBSUB",
|
|
119
|
+
"NUMPAT"
|
|
120
|
+
]);
|
|
121
|
+
const session = getSessionById(sessionId);
|
|
122
|
+
return {
|
|
123
|
+
channels: parsePubSubNumSub(rawCounts),
|
|
124
|
+
patterns: (_a = session == null ? void 0 : session.targets.filter((target) => target.mode === "pattern").map((target) => target.target)) != null ? _a : [],
|
|
125
|
+
patternCount: Number(rawPatternCount != null ? rawPatternCount : 0),
|
|
126
|
+
subscription: buildSubscriptionStatus(session)
|
|
127
|
+
};
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
async function subscribeRedisPubSub(input, target, existingSessionId) {
|
|
131
|
+
const normalizedTarget = target.trim();
|
|
132
|
+
if (!normalizedTarget) {
|
|
133
|
+
throw new Error("A Redis channel or pattern is required.");
|
|
134
|
+
}
|
|
135
|
+
const databaseIndex = resolveDatabaseIndex(input);
|
|
136
|
+
let session = getSessionById(existingSessionId);
|
|
137
|
+
if (session && session.databaseIndex !== databaseIndex) {
|
|
138
|
+
await closeRedisPubSubSession(existingSessionId);
|
|
139
|
+
session = void 0;
|
|
140
|
+
}
|
|
141
|
+
if (!session) {
|
|
142
|
+
session = await createRedisPubSubSession(input, databaseIndex);
|
|
143
|
+
}
|
|
144
|
+
const subscriptionTarget = {
|
|
145
|
+
target: normalizedTarget,
|
|
146
|
+
mode: inferRedisPubSubMode(normalizedTarget)
|
|
147
|
+
};
|
|
148
|
+
const alreadySubscribed = session.targets.some(
|
|
149
|
+
(item) => item.target === subscriptionTarget.target && item.mode === subscriptionTarget.mode
|
|
150
|
+
);
|
|
151
|
+
if (!alreadySubscribed) {
|
|
152
|
+
await subscribeTarget(session, subscriptionTarget);
|
|
153
|
+
session.targets = [...session.targets, subscriptionTarget];
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
messages: session.messages,
|
|
157
|
+
subscription: buildSubscriptionStatus(session)
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
async function getRedisPubSubMessages(sessionId) {
|
|
161
|
+
var _a;
|
|
162
|
+
const session = getSessionById(sessionId);
|
|
163
|
+
return {
|
|
164
|
+
messages: (_a = session == null ? void 0 : session.messages) != null ? _a : [],
|
|
165
|
+
subscription: buildSubscriptionStatus(session)
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
async function publishRedisPubSubMessage(input, channel, payload) {
|
|
169
|
+
const normalizedChannel = channel.trim();
|
|
170
|
+
if (!normalizedChannel) {
|
|
171
|
+
throw new Error("A Redis channel is required to publish a message.");
|
|
172
|
+
}
|
|
173
|
+
return withSelectedDatabase(input, async (runtime) => {
|
|
174
|
+
const subscribers = await runtime.client.publish(
|
|
175
|
+
normalizedChannel,
|
|
176
|
+
payload
|
|
177
|
+
);
|
|
178
|
+
return {
|
|
179
|
+
channel: normalizedChannel,
|
|
180
|
+
payload,
|
|
181
|
+
subscribers
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
async function closeRedisPubSubSession(sessionId) {
|
|
186
|
+
const session = getSessionById(sessionId);
|
|
187
|
+
if (!session) {
|
|
188
|
+
return { closed: false };
|
|
189
|
+
}
|
|
190
|
+
const targets = [...session.targets];
|
|
191
|
+
try {
|
|
192
|
+
for (const subscriptionTarget of targets) {
|
|
193
|
+
await unsubscribeTarget(session, subscriptionTarget);
|
|
194
|
+
}
|
|
195
|
+
} finally {
|
|
196
|
+
pubSubSessions.delete(session.id);
|
|
197
|
+
await session.runtime.close();
|
|
198
|
+
}
|
|
199
|
+
return { closed: true };
|
|
200
|
+
}
|
|
201
|
+
async function unsubscribeRedisPubSubTarget(sessionId, target) {
|
|
202
|
+
const session = getSessionById(sessionId);
|
|
203
|
+
if (!session) {
|
|
204
|
+
return { closed: false };
|
|
205
|
+
}
|
|
206
|
+
const normalizedTarget = target == null ? void 0 : target.trim();
|
|
207
|
+
if (!normalizedTarget) {
|
|
208
|
+
return closeRedisPubSubSession(sessionId);
|
|
209
|
+
}
|
|
210
|
+
const matchedTarget = session.targets.find(
|
|
211
|
+
(item) => item.target === normalizedTarget
|
|
212
|
+
);
|
|
213
|
+
if (!matchedTarget) {
|
|
214
|
+
return { closed: false };
|
|
215
|
+
}
|
|
216
|
+
await unsubscribeTarget(session, matchedTarget);
|
|
217
|
+
session.targets = session.targets.filter(
|
|
218
|
+
(item) => item.target !== normalizedTarget
|
|
219
|
+
);
|
|
220
|
+
if (session.targets.length === 0) {
|
|
221
|
+
return closeRedisPubSubSession(sessionId);
|
|
222
|
+
}
|
|
223
|
+
return { closed: false };
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export { getRedisPubSubOverview as a, getRedisPubSubMessages as g, publishRedisPubSubMessage as p, subscribeRedisPubSub as s, unsubscribeRedisPubSubTarget as u };
|
|
227
|
+
//# sourceMappingURL=redis-pubsub.service.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-pubsub.service.mjs","sources":["../../../../server/infrastructure/nosql/redis/redis-pubsub.service.ts"],"sourcesContent":null,"names":[],"mappings":";;AA4BA,MAAM,cAAA,uBAAqB,GAAgC,EAAA;A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Ae,EAAA;AAClB,IAAO,OAAA,EAAE,QAAQ,KAAM,EAAA;AAAA;AAGzB,EAAM,MAAA,iBAAA,CAAkB,SAAS,aAAa,CAAA;AAC9C,EAAQ,OAAA,CAAA,OAAA,GAAU,QAAQ,OAAQ,CAAA,MAAA;AAAA,IAChC,CAAA,IAAA,KAAQ,KAAK,MAAW,KAAA;AAAA,GAC1B;AAEA,EAAI,IAAA,OAAA,CAAQ,OAAQ,CAAA,MAAA,KAAW,CAAG,EAAA;AAChC,IAAA,OAAO,wBAAwB,SAAS,CAAA;AAAA;AAG1C,EAAO,OAAA,EAAE,QAAQ,KAAM,EAAA;AACzB;;;;"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { createClient } from 'redis';
|
|
2
|
+
import { e as createSshTunnel } from '../nitro/nitro.mjs';
|
|
3
|
+
|
|
4
|
+
var EConnectionMethod = /* @__PURE__ */ ((EConnectionMethod2) => {
|
|
5
|
+
EConnectionMethod2["STRING"] = "string";
|
|
6
|
+
EConnectionMethod2["FORM"] = "form";
|
|
7
|
+
EConnectionMethod2["FILE"] = "file";
|
|
8
|
+
EConnectionMethod2["MANAGED"] = "managed";
|
|
9
|
+
return EConnectionMethod2;
|
|
10
|
+
})(EConnectionMethod || {});
|
|
11
|
+
var EConnectionProviderKind = /* @__PURE__ */ ((EConnectionProviderKind2) => {
|
|
12
|
+
EConnectionProviderKind2["DIRECT_SQL"] = "direct-sql";
|
|
13
|
+
EConnectionProviderKind2["SQLITE_FILE"] = "sqlite-file";
|
|
14
|
+
EConnectionProviderKind2["CLOUDFLARE_D1"] = "cloudflare-d1";
|
|
15
|
+
EConnectionProviderKind2["TURSO"] = "turso";
|
|
16
|
+
EConnectionProviderKind2["REDIS_DIRECT"] = "redis-direct";
|
|
17
|
+
return EConnectionProviderKind2;
|
|
18
|
+
})(EConnectionProviderKind || {});
|
|
19
|
+
var EConnectionFamily = /* @__PURE__ */ ((EConnectionFamily2) => {
|
|
20
|
+
EConnectionFamily2["SQL"] = "sql";
|
|
21
|
+
EConnectionFamily2["REDIS"] = "redis";
|
|
22
|
+
return EConnectionFamily2;
|
|
23
|
+
})(EConnectionFamily || {});
|
|
24
|
+
var EManagedSqliteProvider = /* @__PURE__ */ ((EManagedSqliteProvider2) => {
|
|
25
|
+
EManagedSqliteProvider2["CLOUDFLARE_D1"] = "cloudflare-d1";
|
|
26
|
+
EManagedSqliteProvider2["TURSO"] = "turso";
|
|
27
|
+
return EManagedSqliteProvider2;
|
|
28
|
+
})(EManagedSqliteProvider || {});
|
|
29
|
+
var ESSLMode = /* @__PURE__ */ ((ESSLMode2) => {
|
|
30
|
+
ESSLMode2["DISABLE"] = "disable";
|
|
31
|
+
ESSLMode2["PREFERRED"] = "preferred";
|
|
32
|
+
ESSLMode2["REQUIRE"] = "require";
|
|
33
|
+
ESSLMode2["VERIFY_CA"] = "verify-ca";
|
|
34
|
+
ESSLMode2["VERIFY_FULL"] = "verify-full";
|
|
35
|
+
return ESSLMode2;
|
|
36
|
+
})(ESSLMode || {});
|
|
37
|
+
var ESSHAuthMethod = /* @__PURE__ */ ((ESSHAuthMethod2) => {
|
|
38
|
+
ESSHAuthMethod2["PASSWORD"] = "password";
|
|
39
|
+
ESSHAuthMethod2["KEY"] = "key";
|
|
40
|
+
return ESSHAuthMethod2;
|
|
41
|
+
})(ESSHAuthMethod || {});
|
|
42
|
+
|
|
43
|
+
const DEFAULT_REDIS_PORT = 6379;
|
|
44
|
+
const parseRedisDatabaseIndex = (value) => {
|
|
45
|
+
const parsed = Number.parseInt(value || "0", 10);
|
|
46
|
+
return Number.isFinite(parsed) ? parsed : 0;
|
|
47
|
+
};
|
|
48
|
+
const encodeAuthSegment = (value) => value ? encodeURIComponent(value) : "";
|
|
49
|
+
const buildRedisUrl = (input, host, port) => {
|
|
50
|
+
var _a;
|
|
51
|
+
const scheme = ((_a = input.ssl) == null ? void 0 : _a.mode) && input.ssl.mode !== "disable" ? "rediss" : "redis";
|
|
52
|
+
const dbIndex = parseRedisDatabaseIndex(input.database);
|
|
53
|
+
const username = encodeAuthSegment(input.username);
|
|
54
|
+
const password = encodeAuthSegment(input.password);
|
|
55
|
+
const auth = username || password ? `${username}${password ? `:${password}` : ""}@` : "";
|
|
56
|
+
return `${scheme}://${auth}${host}:${port}/${dbIndex}`;
|
|
57
|
+
};
|
|
58
|
+
async function createRedisRuntimeClient(input) {
|
|
59
|
+
var _a, _b, _c, _d;
|
|
60
|
+
let sshTunnelClose;
|
|
61
|
+
let url = input.url;
|
|
62
|
+
if (input.method === EConnectionMethod.FORM) {
|
|
63
|
+
if (!input.host) {
|
|
64
|
+
throw new Error("Redis host is required.");
|
|
65
|
+
}
|
|
66
|
+
let finalHost = input.host;
|
|
67
|
+
let finalPort = Number.parseInt(input.port || `${DEFAULT_REDIS_PORT}`, 10);
|
|
68
|
+
if ((_a = input.ssh) == null ? void 0 : _a.enabled) {
|
|
69
|
+
const tunnel = await createSshTunnel(input.ssh, input.host, finalPort);
|
|
70
|
+
finalHost = tunnel.localHost;
|
|
71
|
+
finalPort = tunnel.localPort;
|
|
72
|
+
sshTunnelClose = tunnel.close;
|
|
73
|
+
}
|
|
74
|
+
url = buildRedisUrl(input, finalHost, finalPort);
|
|
75
|
+
} else if (input.method === EConnectionMethod.STRING && ((_b = input.ssh) == null ? void 0 : _b.enabled)) {
|
|
76
|
+
if (!input.url) {
|
|
77
|
+
throw new Error("Redis connection string is required.");
|
|
78
|
+
}
|
|
79
|
+
const parsed = new URL(input.url);
|
|
80
|
+
const tunnel = await createSshTunnel(
|
|
81
|
+
input.ssh,
|
|
82
|
+
parsed.hostname,
|
|
83
|
+
Number.parseInt(parsed.port || `${DEFAULT_REDIS_PORT}`, 10)
|
|
84
|
+
);
|
|
85
|
+
parsed.hostname = tunnel.localHost;
|
|
86
|
+
parsed.port = `${tunnel.localPort}`;
|
|
87
|
+
url = parsed.toString();
|
|
88
|
+
sshTunnelClose = tunnel.close;
|
|
89
|
+
}
|
|
90
|
+
if (!url) {
|
|
91
|
+
throw new Error("Redis connection details are incomplete.");
|
|
92
|
+
}
|
|
93
|
+
const client = createClient({
|
|
94
|
+
url,
|
|
95
|
+
socket: ((_c = input.ssl) == null ? void 0 : _c.mode) && input.ssl.mode !== "disable" ? {
|
|
96
|
+
tls: true,
|
|
97
|
+
rejectUnauthorized: (_d = input.ssl.rejectUnauthorized) != null ? _d : true,
|
|
98
|
+
ca: input.ssl.ca,
|
|
99
|
+
cert: input.ssl.cert,
|
|
100
|
+
key: input.ssl.key
|
|
101
|
+
} : void 0
|
|
102
|
+
});
|
|
103
|
+
client.on("error", () => void 0);
|
|
104
|
+
await client.connect();
|
|
105
|
+
return {
|
|
106
|
+
client,
|
|
107
|
+
databaseIndex: parseRedisDatabaseIndex(input.database),
|
|
108
|
+
close: async () => {
|
|
109
|
+
if (client.isOpen) {
|
|
110
|
+
await client.quit();
|
|
111
|
+
}
|
|
112
|
+
if (sshTunnelClose) {
|
|
113
|
+
await sshTunnelClose();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
async function pingRedisConnection(input) {
|
|
119
|
+
const runtime = await createRedisRuntimeClient(input);
|
|
120
|
+
try {
|
|
121
|
+
await runtime.client.ping();
|
|
122
|
+
return true;
|
|
123
|
+
} finally {
|
|
124
|
+
await runtime.close();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export { EManagedSqliteProvider as E, EConnectionProviderKind as a, EConnectionMethod as b, EConnectionFamily as c, ESSHAuthMethod as d, ESSLMode as e, createRedisRuntimeClient as f, pingRedisConnection as p };
|
|
129
|
+
//# sourceMappingURL=redis.client.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis.client.mjs","sources":["../../../../core/types/entities/connection.entity.ts","../../../../server/infrastructure/nosql/redis/redis.client.ts"],"sourcesContent":null,"names":["EConnectionMethod","EConnectionProviderKind","EConnectionFamily","EManagedSqliteProvider","ESSLMode","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OAAO,OAAQ,EAAA;AAErB,EAAO,OAAA;AAAA,IACL,MAAA;AAAA,IACA,aAAA,EAAe,uBAAwB,CAAA,KAAA,CAAM,QAAQ,CAAA;AAAA,IACrD,OAAO,YAAY;AACjB,MAAA,IAAI,OAAO,MAAQ,EAAA;AACjB,QAAA,MAAM,OAAO,IAAK,EAAA;AAAA;AAGpB,MAAA,IAAI,cAAgB,EAAA;AAClB,QAAA,MAAM,cAAe,EAAA;AAAA;AACvB;AACF,GACF;AACF;AAEA,eAAsB,oBAAoB,KAA0B,EAAA;AAClE,EAAM,MAAA,OAAA,GAAU,MAAM,wBAAA,CAAyB,KAAK,CAAA;AAEpD,EAAI,IAAA;AACF,IAAM,MAAA,OAAA,CAAQ,OAAO,IAAK,EAAA;AAC1B,IAAO,OAAA,IAAA;AAAA,GACP,SAAA;AACA,IAAA,MAAM,QAAQ,KAAM,EAAA;AAAA;AAExB;;;;"}
|
|
@@ -1424,8 +1424,15 @@ function escapeSqliteIdentifier(identifier) {
|
|
|
1424
1424
|
function quoteSqliteString(value) {
|
|
1425
1425
|
return `'${value.replace(/'/g, "''")}'`;
|
|
1426
1426
|
}
|
|
1427
|
+
function resolveSqliteSchema(schema) {
|
|
1428
|
+
if (!schema || schema === "public") {
|
|
1429
|
+
return "main";
|
|
1430
|
+
}
|
|
1431
|
+
return schema;
|
|
1432
|
+
}
|
|
1427
1433
|
function buildQualifiedTable(schema, tableName) {
|
|
1428
|
-
|
|
1434
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1435
|
+
return `${escapeSqliteIdentifier(resolvedSchema)}.${escapeSqliteIdentifier(tableName)}`;
|
|
1429
1436
|
}
|
|
1430
1437
|
class SqliteTableAdapter extends BaseDomainAdapter {
|
|
1431
1438
|
constructor() {
|
|
@@ -1440,29 +1447,32 @@ class SqliteTableAdapter extends BaseDomainAdapter {
|
|
|
1440
1447
|
return new SqliteTableAdapter(adapter);
|
|
1441
1448
|
}
|
|
1442
1449
|
async getTableInfo(schema, tableName) {
|
|
1450
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1443
1451
|
return this.adapter.rawQuery(
|
|
1444
|
-
`PRAGMA ${escapeSqliteIdentifier(
|
|
1452
|
+
`PRAGMA ${escapeSqliteIdentifier(resolvedSchema)}.table_info(${quoteSqliteString(tableName)})`
|
|
1445
1453
|
);
|
|
1446
1454
|
}
|
|
1447
1455
|
async getForeignKeys(schema, tableName) {
|
|
1456
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1448
1457
|
return this.adapter.rawQuery(
|
|
1449
|
-
`PRAGMA ${escapeSqliteIdentifier(
|
|
1458
|
+
`PRAGMA ${escapeSqliteIdentifier(resolvedSchema)}.foreign_key_list(${quoteSqliteString(tableName)})`
|
|
1450
1459
|
);
|
|
1451
1460
|
}
|
|
1452
1461
|
async getOverviewTables(schema) {
|
|
1462
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1453
1463
|
return this.adapter.rawQuery(
|
|
1454
1464
|
`
|
|
1455
1465
|
SELECT
|
|
1456
1466
|
name,
|
|
1457
|
-
${quoteSqliteString(
|
|
1467
|
+
${quoteSqliteString(resolvedSchema)} AS schema,
|
|
1458
1468
|
'TABLE' AS kind,
|
|
1459
|
-
${quoteSqliteString(
|
|
1469
|
+
${quoteSqliteString(resolvedSchema)} AS owner,
|
|
1460
1470
|
NULL AS estimated_row,
|
|
1461
1471
|
'0 B' AS total_size,
|
|
1462
1472
|
'0 B' AS data_size,
|
|
1463
1473
|
'0 B' AS index_size,
|
|
1464
1474
|
NULL AS comment
|
|
1465
|
-
FROM ${escapeSqliteIdentifier(
|
|
1475
|
+
FROM ${escapeSqliteIdentifier(resolvedSchema)}.sqlite_master
|
|
1466
1476
|
WHERE type = 'table'
|
|
1467
1477
|
AND name NOT LIKE 'sqlite_%'
|
|
1468
1478
|
ORDER BY name
|
|
@@ -1515,10 +1525,11 @@ class SqliteTableAdapter extends BaseDomainAdapter {
|
|
|
1515
1525
|
};
|
|
1516
1526
|
}
|
|
1517
1527
|
async getTableDdl(schema, tableName) {
|
|
1528
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1518
1529
|
const [row] = await this.adapter.rawQuery(
|
|
1519
1530
|
`
|
|
1520
1531
|
SELECT sql
|
|
1521
|
-
FROM ${escapeSqliteIdentifier(
|
|
1532
|
+
FROM ${escapeSqliteIdentifier(resolvedSchema)}.sqlite_master
|
|
1522
1533
|
WHERE type = 'table'
|
|
1523
1534
|
AND name = ?
|
|
1524
1535
|
`,
|
|
@@ -1574,10 +1585,11 @@ ${ddlColumns.join(",\n")}
|
|
|
1574
1585
|
return [];
|
|
1575
1586
|
}
|
|
1576
1587
|
async getTableTriggers(schema, tableName) {
|
|
1588
|
+
const resolvedSchema = resolveSqliteSchema(schema);
|
|
1577
1589
|
const rows = await this.adapter.rawQuery(
|
|
1578
1590
|
`
|
|
1579
1591
|
SELECT name, sql
|
|
1580
|
-
FROM ${escapeSqliteIdentifier(
|
|
1592
|
+
FROM ${escapeSqliteIdentifier(resolvedSchema)}.sqlite_master
|
|
1581
1593
|
WHERE type = 'trigger'
|
|
1582
1594
|
AND tbl_name = ?
|
|
1583
1595
|
ORDER BY name
|