orcaq 1.0.33 → 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/8tyEaimf.js +30 -0
- package/.output/public/_nuxt/AymhMj9v.js +1 -0
- package/.output/public/_nuxt/B2IKcIj2.js +1 -0
- package/.output/public/_nuxt/B46blMXm.js +7 -0
- package/.output/public/_nuxt/B5WGo5x7.js +1 -0
- package/.output/public/_nuxt/B6MkNyZd.js +132 -0
- package/.output/public/_nuxt/B73IHAoF.js +1 -0
- package/.output/public/_nuxt/B8TrrBEb.js +189 -0
- package/.output/public/_nuxt/B9uki8o2.js +1 -0
- package/.output/public/_nuxt/BEyCol50.js +1 -0
- package/.output/public/_nuxt/BJCrbji-.js +24 -0
- package/.output/public/_nuxt/BJVPtt2X.js +24 -0
- 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/BTYBVtfa.js +70 -0
- 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/BWebIWit.js +39 -0
- package/.output/public/_nuxt/BcsKoAPU.js +984 -0
- package/.output/public/_nuxt/Bf6Q3Zl5.js +89 -0
- package/.output/public/_nuxt/Bj7ctTfH.js +1 -0
- package/.output/public/_nuxt/BjqbQLK3.js +1 -0
- package/.output/public/_nuxt/Bmgr9uz4.js +36 -0
- package/.output/public/_nuxt/Bmx1kTaZ.js +139 -0
- package/.output/public/_nuxt/BoIj4dtd.js +1 -0
- package/.output/public/_nuxt/BoMjapT5.js +220 -0
- 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/Bq47tjcm.js +1 -0
- package/.output/public/_nuxt/Bq7OeLM1.js +1 -0
- package/.output/public/_nuxt/BqU89KuH.js +2 -0
- package/.output/public/_nuxt/BrNfge84.js +34 -0
- package/.output/public/_nuxt/BtyzMl9p.js +1 -0
- package/.output/public/_nuxt/ByiJDSw8.js +68 -0
- package/.output/public/_nuxt/ByibjLZn.js +43 -0
- 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/C6dIAdHr.js +1 -0
- package/.output/public/_nuxt/C7BQpy74.js +1 -0
- package/.output/public/_nuxt/CAnr3OhD.js +1 -0
- package/.output/public/_nuxt/CDJKw_ak.js +1 -0
- package/.output/public/_nuxt/CHEpbbGc.js +1 -0
- package/.output/public/_nuxt/CMkzSwnO.js +61 -0
- package/.output/public/_nuxt/COAycMg4.js +1 -0
- package/.output/public/_nuxt/COHOh4Oe.js +1 -0
- 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/CSQ0xnqv.js +6 -0
- 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/Ci5B19-c.js +15 -0
- package/.output/public/_nuxt/Cnfx1zWl.js +10 -0
- package/.output/public/_nuxt/Cq-MDPLE.js +53 -0
- package/.output/public/_nuxt/CrNLwdoE.js +145 -0
- package/.output/public/_nuxt/CsRSZpa6.js +15 -0
- package/.output/public/_nuxt/CtWq1MER.js +7 -0
- package/.output/public/_nuxt/Cww9dXBK.js +1 -0
- package/.output/public/_nuxt/CycELG5y.js +65 -0
- package/.output/public/_nuxt/CzB2y8br.js +18 -0
- package/.output/public/_nuxt/D-9vaM6z.js +4 -0
- package/.output/public/_nuxt/D4pAW_0T.js +152 -0
- package/.output/public/_nuxt/DAr5YiBT.js +1 -0
- package/.output/public/_nuxt/DDebxXP-.js +1 -0
- package/.output/public/_nuxt/DEZMnZ2r.js +292 -0
- package/.output/public/_nuxt/DGvAu532.js +1 -0
- package/.output/public/_nuxt/DHAL8jJG.js +255 -0
- package/.output/public/_nuxt/DJH-4SVI.js +1 -0
- package/.output/public/_nuxt/DMmjWR_K.js +10 -0
- package/.output/public/_nuxt/DNB4Xmyo.js +37 -0
- package/.output/public/_nuxt/DNoTlUiY.js +7 -0
- package/.output/public/_nuxt/DPIEiNwW.js +1 -0
- package/.output/public/_nuxt/DSaBCmOg.js +162 -0
- 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/DkD29_YA.js +73 -0
- package/.output/public/_nuxt/DpEV6S2O.js +1 -0
- package/.output/public/_nuxt/DpT8FO1Q.js +70 -0
- package/.output/public/_nuxt/Dq1JM9WZ.js +1 -0
- package/.output/public/_nuxt/DsmBazLf.js +20 -0
- package/.output/public/_nuxt/DuCDilAk.js +1 -0
- package/.output/public/_nuxt/FDw04QOj.js +2 -0
- package/.output/public/_nuxt/JOg_XIAv.js +1 -0
- package/.output/public/_nuxt/L2I3LmpB.js +68 -0
- package/.output/public/_nuxt/M6bBaUHa.js +1 -0
- package/.output/public/_nuxt/MW5K_zef.js +1 -0
- package/.output/public/_nuxt/MeLWmO7R.js +162 -0
- package/.output/public/_nuxt/Oe2GG0Lt.js +9 -0
- package/.output/public/_nuxt/S1qa1a4x.js +1 -0
- package/.output/public/_nuxt/Sf02B6Pt.js +3 -0
- package/.output/public/_nuxt/Y1gXUmjt.js +1 -0
- package/.output/public/_nuxt/_qKPTuua.js +1 -0
- package/.output/public/_nuxt/atdCACH-.js +1 -0
- 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/ioXB9E2w.js +1 -0
- package/.output/public/_nuxt/kvtnkChG.js +1 -0
- package/.output/public/_nuxt/qzrMNYut.js +1 -0
- package/.output/public/_nuxt/sk7V7xQl.js +1 -0
- 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 +38 -7
- package/.output/server/chunks/_/create-adapter.mjs.map +1 -1
- package/.output/server/chunks/_/database-error.mjs +10 -0
- package/.output/server/chunks/_/database-error.mjs.map +1 -1
- package/.output/server/chunks/_/database-roles.factory.mjs +126 -22
- package/.output/server/chunks/_/database-roles.factory.mjs.map +1 -1
- package/.output/server/chunks/_/db-connection.mjs +1202 -81
- package/.output/server/chunks/_/db-connection.mjs.map +1 -1
- package/.output/server/chunks/_/functions.factory.mjs +97 -6
- package/.output/server/chunks/_/functions.factory.mjs.map +1 -1
- package/.output/server/chunks/_/instance-insights.factory.mjs +2130 -8
- package/.output/server/chunks/_/instance-insights.factory.mjs.map +1 -1
- package/.output/server/chunks/_/metadata.factory.mjs +1192 -43
- package/.output/server/chunks/_/metadata.factory.mjs.map +1 -1
- package/.output/server/chunks/_/native-backup-jobs.mjs +1302 -0
- package/.output/server/chunks/_/native-backup-jobs.mjs.map +1 -0
- package/.output/server/chunks/_/query.factory.mjs +536 -14
- package/.output/server/chunks/_/query.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/_/schemaMeta.type.mjs +13 -0
- package/.output/server/chunks/_/schemaMeta.type.mjs.map +1 -0
- package/.output/server/chunks/_/tables.factory.mjs +917 -37
- package/.output/server/chunks/_/tables.factory.mjs.map +1 -1
- package/.output/server/chunks/_/type-alias.constants.mjs +242 -0
- package/.output/server/chunks/_/type-alias.constants.mjs.map +1 -0
- package/.output/server/chunks/_/views.factory.mjs +106 -8
- package/.output/server/chunks/_/views.factory.mjs.map +1 -1
- package/.output/server/chunks/build/client.manifest.mjs +776 -659
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +1152 -749
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/ai/agent.mjs +33 -79
- package/.output/server/chunks/routes/api/ai/agent.mjs.map +1 -1
- package/.output/server/chunks/routes/api/database-export/export-database.mjs +29 -124
- 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 +55 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/database-export/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-import/import-database.mjs +72 -134
- 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 +46 -0
- package/.output/server/chunks/routes/api/database-import/jobs/_jobId_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/database-roles/create-role.mjs +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- 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 +5 -0
- package/.output/server/chunks/routes/api/database-roles/revoke-permission.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/delete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/rename.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs +6 -1
- package/.output/server/chunks/routes/api/functions/signature.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/functions/update.post.mjs +27 -6
- package/.output/server/chunks/routes/api/functions/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +66 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/instance-insights/cancel-query.post.mjs +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +6 -1
- 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 +16 -4
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs +10 -1
- package/.output/server/chunks/routes/api/metadata/erd.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metadata/meta-data.post.mjs +9 -0
- 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 +10 -1
- package/.output/server/chunks/routes/api/metadata/reverse-schemas.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs +83 -7
- package/.output/server/chunks/routes/api/metrics/monitor.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/query/execute.post.mjs +8 -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 +17 -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 +10 -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 +12 -6
- 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 +12 -6
- package/.output/server/chunks/routes/api/tables/bulk-update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/ddl.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/export.post.mjs +8 -3
- package/.output/server/chunks/routes/api/tables/export.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/meta.post.mjs +10 -3
- package/.output/server/chunks/routes/api/tables/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/overview.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/overview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rls.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rls.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/rules.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/rules.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/size.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/size.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/structure.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/structure.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs +7 -2
- package/.output/server/chunks/routes/api/tables/triggers.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/definition.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/definition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/dependencies.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/explain.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/explain.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/indexes.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/indexes.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/meta.post.mjs +5 -0
- package/.output/server/chunks/routes/api/views/meta.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/views/overview.post.mjs +5 -0
- 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/aws-ssl-profiles/lib/index.js +13 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/defaults.js +2888 -0
- package/.output/server/node_modules/aws-ssl-profiles/lib/profiles/ca/proxies.js +111 -0
- package/.output/server/node_modules/aws-ssl-profiles/package.json +52 -0
- package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
- package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
- package/.output/server/node_modules/better-sqlite3/package.json +59 -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/cpu-features/build/Release/cpufeatures.node +0 -0
- package/.output/server/node_modules/cpu-features/lib/index.js +5 -0
- package/.output/server/node_modules/cpu-features/package.json +40 -0
- package/.output/server/node_modules/denque/index.js +481 -0
- package/.output/server/node_modules/denque/package.json +58 -0
- package/.output/server/node_modules/generate-function/index.js +181 -0
- package/.output/server/node_modules/generate-function/package.json +32 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/.output/server/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/.output/server/node_modules/iconv-lite/encodings/index.js +23 -0
- package/.output/server/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/.output/server/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/.output/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/.output/server/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/.output/server/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/.output/server/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/.output/server/node_modules/iconv-lite/lib/index.js +182 -0
- package/.output/server/node_modules/iconv-lite/lib/streams.js +105 -0
- package/.output/server/node_modules/iconv-lite/package.json +70 -0
- package/.output/server/node_modules/is-property/is-property.js +5 -0
- package/.output/server/node_modules/is-property/package.json +36 -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/long/package.json +58 -0
- package/.output/server/node_modules/long/umd/index.js +1622 -0
- package/.output/server/node_modules/long/umd/package.json +3 -0
- package/.output/server/node_modules/lru.min/lib/index.js +248 -0
- package/.output/server/node_modules/lru.min/package.json +87 -0
- package/.output/server/node_modules/mysql2/index.js +77 -0
- package/.output/server/node_modules/mysql2/lib/auth_41.js +95 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js +115 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/index.js +8 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js +17 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js +34 -0
- package/.output/server/node_modules/mysql2/lib/auth_plugins/sha256_password.js +74 -0
- package/.output/server/node_modules/mysql2/lib/base/connection.js +1139 -0
- package/.output/server/node_modules/mysql2/lib/base/pool.js +343 -0
- package/.output/server/node_modules/mysql2/lib/commands/auth_switch.js +151 -0
- package/.output/server/node_modules/mysql2/lib/commands/binlog_dump.js +109 -0
- package/.output/server/node_modules/mysql2/lib/commands/change_user.js +68 -0
- package/.output/server/node_modules/mysql2/lib/commands/client_handshake.js +386 -0
- package/.output/server/node_modules/mysql2/lib/commands/close_statement.js +18 -0
- package/.output/server/node_modules/mysql2/lib/commands/command.js +54 -0
- package/.output/server/node_modules/mysql2/lib/commands/execute.js +116 -0
- package/.output/server/node_modules/mysql2/lib/commands/index.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/ping.js +36 -0
- package/.output/server/node_modules/mysql2/lib/commands/prepare.js +143 -0
- package/.output/server/node_modules/mysql2/lib/commands/query.js +365 -0
- package/.output/server/node_modules/mysql2/lib/commands/quit.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/register_slave.js +27 -0
- package/.output/server/node_modules/mysql2/lib/commands/reset_connection.js +29 -0
- package/.output/server/node_modules/mysql2/lib/commands/server_handshake.js +205 -0
- package/.output/server/node_modules/mysql2/lib/compressed_protocol.js +153 -0
- package/.output/server/node_modules/mysql2/lib/connection.js +12 -0
- package/.output/server/node_modules/mysql2/lib/connection_config.js +299 -0
- package/.output/server/node_modules/mysql2/lib/constants/charset_encodings.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/charsets.js +317 -0
- package/.output/server/node_modules/mysql2/lib/constants/client.js +39 -0
- package/.output/server/node_modules/mysql2/lib/constants/commands.js +37 -0
- package/.output/server/node_modules/mysql2/lib/constants/cursor.js +9 -0
- package/.output/server/node_modules/mysql2/lib/constants/encoding_charset.js +50 -0
- package/.output/server/node_modules/mysql2/lib/constants/errors.js +3973 -0
- package/.output/server/node_modules/mysql2/lib/constants/field_flags.js +20 -0
- package/.output/server/node_modules/mysql2/lib/constants/server_status.js +44 -0
- package/.output/server/node_modules/mysql2/lib/constants/session_track.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/ssl_profiles.js +11 -0
- package/.output/server/node_modules/mysql2/lib/constants/types.js +64 -0
- package/.output/server/node_modules/mysql2/lib/create_connection.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool.js +10 -0
- package/.output/server/node_modules/mysql2/lib/create_pool_cluster.js +9 -0
- package/.output/server/node_modules/mysql2/lib/helpers.js +83 -0
- package/.output/server/node_modules/mysql2/lib/packet_parser.js +195 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_next_factor.js +35 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request.js +38 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/auth_switch_response.js +30 -0
- package/.output/server/node_modules/mysql2/lib/packets/binary_row.js +95 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_dump.js +33 -0
- package/.output/server/node_modules/mysql2/lib/packets/binlog_query_statusvars.js +115 -0
- package/.output/server/node_modules/mysql2/lib/packets/change_user.js +97 -0
- package/.output/server/node_modules/mysql2/lib/packets/close_statement.js +21 -0
- package/.output/server/node_modules/mysql2/lib/packets/column_definition.js +291 -0
- package/.output/server/node_modules/mysql2/lib/packets/encode_parameter.js +69 -0
- package/.output/server/node_modules/mysql2/lib/packets/execute.js +177 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake.js +112 -0
- package/.output/server/node_modules/mysql2/lib/packets/handshake_response.js +173 -0
- package/.output/server/node_modules/mysql2/lib/packets/index.js +154 -0
- package/.output/server/node_modules/mysql2/lib/packets/packet.js +978 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepare_statement.js +27 -0
- package/.output/server/node_modules/mysql2/lib/packets/prepared_statement_header.js +16 -0
- package/.output/server/node_modules/mysql2/lib/packets/query.js +102 -0
- package/.output/server/node_modules/mysql2/lib/packets/register_slave.js +46 -0
- package/.output/server/node_modules/mysql2/lib/packets/reset_connection.js +17 -0
- package/.output/server/node_modules/mysql2/lib/packets/resultset_header.js +124 -0
- package/.output/server/node_modules/mysql2/lib/packets/ssl_request.js +25 -0
- package/.output/server/node_modules/mysql2/lib/packets/text_row.js +47 -0
- package/.output/server/node_modules/mysql2/lib/parsers/binary_parser.js +235 -0
- package/.output/server/node_modules/mysql2/lib/parsers/parser_cache.js +68 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_binary_parser.js +213 -0
- package/.output/server/node_modules/mysql2/lib/parsers/static_text_parser.js +152 -0
- package/.output/server/node_modules/mysql2/lib/parsers/string.js +50 -0
- package/.output/server/node_modules/mysql2/lib/parsers/text_parser.js +214 -0
- package/.output/server/node_modules/mysql2/lib/pool.js +12 -0
- package/.output/server/node_modules/mysql2/lib/pool_cluster.js +375 -0
- package/.output/server/node_modules/mysql2/lib/pool_config.js +34 -0
- package/.output/server/node_modules/mysql2/lib/pool_connection.js +81 -0
- package/.output/server/node_modules/mysql2/lib/promise/capture_local_err.js +25 -0
- package/.output/server/node_modules/mysql2/lib/promise/connection.js +237 -0
- package/.output/server/node_modules/mysql2/lib/promise/inherit_events.js +27 -0
- package/.output/server/node_modules/mysql2/lib/promise/make_done_cb.js +16 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool.js +118 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_cluster.js +59 -0
- package/.output/server/node_modules/mysql2/lib/promise/pool_connection.js +19 -0
- package/.output/server/node_modules/mysql2/lib/promise/prepared_statement_info.js +35 -0
- package/.output/server/node_modules/mysql2/lib/server.js +37 -0
- package/.output/server/node_modules/mysql2/lib/tracing.js +81 -0
- package/.output/server/node_modules/mysql2/package.json +95 -0
- package/.output/server/node_modules/mysql2/promise.js +209 -0
- package/.output/server/node_modules/named-placeholders/index.js +179 -0
- package/.output/server/node_modules/named-placeholders/package.json +36 -0
- package/.output/server/node_modules/oracledb/index.js +27 -0
- package/.output/server/node_modules/oracledb/lib/aqDeqOptions.js +186 -0
- package/.output/server/node_modules/oracledb/lib/aqEnqOptions.js +81 -0
- package/.output/server/node_modules/oracledb/lib/aqMessage.js +149 -0
- package/.output/server/node_modules/oracledb/lib/aqQueue.js +293 -0
- package/.output/server/node_modules/oracledb/lib/connection.js +1842 -0
- package/.output/server/node_modules/oracledb/lib/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/dbObject.js +606 -0
- package/.output/server/node_modules/oracledb/lib/errors.js +1046 -0
- package/.output/server/node_modules/oracledb/lib/future.js +53 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqDeqOptions.js +206 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqEnqOptions.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqMessage.js +134 -0
- package/.output/server/node_modules/oracledb/lib/impl/aqQueue.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/base.js +45 -0
- package/.output/server/node_modules/oracledb/lib/impl/connection.js +671 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/buffer.js +1214 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/constants.js +110 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/oson.js +852 -0
- package/.output/server/node_modules/oracledb/lib/impl/datahandlers/vector.js +197 -0
- package/.output/server/node_modules/oracledb/lib/impl/dbObject.js +159 -0
- package/.output/server/node_modules/oracledb/lib/impl/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/impl/lob.js +113 -0
- package/.output/server/node_modules/oracledb/lib/impl/pool.js +230 -0
- package/.output/server/node_modules/oracledb/lib/impl/resultset.js +307 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaCollection.js +175 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDatabase.js +82 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocCursor.js +64 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaDocument.js +89 -0
- package/.output/server/node_modules/oracledb/lib/impl/sodaOperation.js +110 -0
- package/.output/server/node_modules/oracledb/lib/lob.js +315 -0
- package/.output/server/node_modules/oracledb/lib/oracledb.js +1716 -0
- package/.output/server/node_modules/oracledb/lib/pool.js +873 -0
- package/.output/server/node_modules/oracledb/lib/poolStatistics.js +143 -0
- package/.output/server/node_modules/oracledb/lib/queryStream.js +119 -0
- package/.output/server/node_modules/oracledb/lib/resultset.js +368 -0
- package/.output/server/node_modules/oracledb/lib/settings.js +221 -0
- package/.output/server/node_modules/oracledb/lib/sodaCollection.js +284 -0
- package/.output/server/node_modules/oracledb/lib/sodaDatabase.js +176 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocCursor.js +82 -0
- package/.output/server/node_modules/oracledb/lib/sodaDocument.js +125 -0
- package/.output/server/node_modules/oracledb/lib/sodaOperation.js +236 -0
- package/.output/server/node_modules/oracledb/lib/thin/aq.js +475 -0
- package/.output/server/node_modules/oracledb/lib/thin/connection.js +1504 -0
- package/.output/server/node_modules/oracledb/lib/thin/dbObject.js +737 -0
- package/.output/server/node_modules/oracledb/lib/thin/index.js +40 -0
- package/.output/server/node_modules/oracledb/lib/thin/lob.js +380 -0
- package/.output/server/node_modules/oracledb/lib/thin/pool.js +738 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/capabilities.js +145 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/constants.js +872 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/encryptDecrypt.js +197 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqArray.js +238 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqBase.js +305 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqDeq.js +164 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/aqEnq.js +135 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/auth.js +376 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/base.js +568 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/commit.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/dataType.js +401 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/execute.js +358 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fastAuth.js +83 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/fetch.js +64 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/index.js +59 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/lobOp.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/logOff.js +52 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/ping.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/protocol.js +97 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/rollback.js +56 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/sessionRelease.js +60 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionChangeState.js +99 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/transactionSwitch.js +147 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/messages/withData.js +920 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/packet.js +631 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/protocol.js +240 -0
- package/.output/server/node_modules/oracledb/lib/thin/protocol/utils.js +82 -0
- package/.output/server/node_modules/oracledb/lib/thin/resultSet.js +122 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ANO.js +438 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/connStrategy.js +316 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/constants.js +210 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ezConnectResolver.js +466 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/navNodes.js +904 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/networkSession.js +733 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/ntTcp.js +609 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/nvStrToNvPair.js +780 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/packet.js +439 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/paramParser.js +239 -0
- package/.output/server/node_modules/oracledb/lib/thin/sqlnet/sessionAtts.js +198 -0
- package/.output/server/node_modules/oracledb/lib/thin/statement.js +573 -0
- package/.output/server/node_modules/oracledb/lib/thin/statementCache.js +195 -0
- package/.output/server/node_modules/oracledb/lib/thin/util.js +254 -0
- package/.output/server/node_modules/oracledb/lib/traceHandler.js +133 -0
- package/.output/server/node_modules/oracledb/lib/transformer.js +279 -0
- package/.output/server/node_modules/oracledb/lib/types.js +592 -0
- package/.output/server/node_modules/oracledb/lib/util.js +648 -0
- package/.output/server/node_modules/oracledb/lib/version.js +36 -0
- package/.output/server/node_modules/oracledb/package.json +48 -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/sql-escaper/lib/index.js +398 -0
- package/.output/server/node_modules/sql-escaper/package.json +81 -0
- package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
- package/.output/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -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 +29 -18
- package/package.json +9 -3
- package/.output/public/_nuxt/0-wJGyFY.js +0 -2
- package/.output/public/_nuxt/1ntlIJ3J.js +0 -61
- package/.output/public/_nuxt/3c6UPAJG.js +0 -73
- package/.output/public/_nuxt/ACQvpkWm.js +0 -15
- package/.output/public/_nuxt/B-5Px-78.js +0 -1
- package/.output/public/_nuxt/B2GYb2Zp.js +0 -34
- package/.output/public/_nuxt/B2RqwDKD.js +0 -1
- package/.output/public/_nuxt/B8ibHW1N.js +0 -53
- package/.output/public/_nuxt/B9-NZWuC.js +0 -4
- package/.output/public/_nuxt/BBGY5Dij.js +0 -70
- package/.output/public/_nuxt/BC7xWBZm.js +0 -1
- package/.output/public/_nuxt/BCC0qnRS.js +0 -1
- package/.output/public/_nuxt/BEqwcled.js +0 -65
- package/.output/public/_nuxt/BHBluah9.js +0 -39
- package/.output/public/_nuxt/BKKBkPNN.js +0 -160
- package/.output/public/_nuxt/BKltSiU0.js +0 -1
- package/.output/public/_nuxt/BKokR8_i.js +0 -2
- package/.output/public/_nuxt/BL9A1tZd.js +0 -7
- package/.output/public/_nuxt/BOzTRnyW.js +0 -1
- package/.output/public/_nuxt/BP3TGvlW.js +0 -36
- package/.output/public/_nuxt/BPj7cOdr.js +0 -9
- package/.output/public/_nuxt/BSs9H74b.js +0 -1
- package/.output/public/_nuxt/BTp4hJJX.js +0 -30
- package/.output/public/_nuxt/BUolzwzd.js +0 -1
- package/.output/public/_nuxt/BWSKnXVC.js +0 -1
- package/.output/public/_nuxt/BX8ZW8Wz.js +0 -1
- package/.output/public/_nuxt/BZOx0xl6.js +0 -1
- package/.output/public/_nuxt/B_IzdKBm.js +0 -1
- package/.output/public/_nuxt/BaseCodeEditor.SAr2eD8R.css +0 -1
- package/.output/public/_nuxt/BbHeTL4H.js +0 -1
- package/.output/public/_nuxt/Bdd_MGHp.js +0 -1
- package/.output/public/_nuxt/Bdtn2mn5.js +0 -1
- package/.output/public/_nuxt/Bf6dfiAn.js +0 -1
- package/.output/public/_nuxt/BfStSYv5.js +0 -10
- package/.output/public/_nuxt/BiCaG3fA.js +0 -1
- package/.output/public/_nuxt/BiZhfq--.js +0 -1
- package/.output/public/_nuxt/Bj9pfQd-.js +0 -10
- package/.output/public/_nuxt/BjU0QAaV.js +0 -732
- package/.output/public/_nuxt/Bpvd5Z9l.js +0 -132
- package/.output/public/_nuxt/BvXVax75.js +0 -162
- package/.output/public/_nuxt/BwI9KIOm.js +0 -255
- package/.output/public/_nuxt/C-3-JfbB.js +0 -1
- package/.output/public/_nuxt/C-xlKweX.js +0 -1
- package/.output/public/_nuxt/CEj-unU2.js +0 -1
- package/.output/public/_nuxt/CEza5aSi.js +0 -1
- package/.output/public/_nuxt/CJWptbcK.js +0 -1
- package/.output/public/_nuxt/CKSjfllY.js +0 -1
- package/.output/public/_nuxt/CMpNcsXd.js +0 -12
- package/.output/public/_nuxt/CPabAXsJ.js +0 -24
- package/.output/public/_nuxt/CPipTUnI.js +0 -152
- package/.output/public/_nuxt/CQ45OBWa.js +0 -89
- package/.output/public/_nuxt/CQAA248G.js +0 -1
- package/.output/public/_nuxt/CRM1vXw3.js +0 -2
- package/.output/public/_nuxt/CUIMPQKu.js +0 -70
- package/.output/public/_nuxt/CUvvUJMD.js +0 -1
- package/.output/public/_nuxt/CWE6B2ZO.js +0 -1
- package/.output/public/_nuxt/CY1oztNj.js +0 -1
- package/.output/public/_nuxt/Cb_5VLq-.js +0 -1
- package/.output/public/_nuxt/Cc9Pv3NC.js +0 -67
- package/.output/public/_nuxt/CdeKF_Y5.js +0 -1
- package/.output/public/_nuxt/Ceqb0tnW.js +0 -9
- package/.output/public/_nuxt/Cf4SYIMN.js +0 -15
- package/.output/public/_nuxt/CfJy-WiZ.js +0 -2
- package/.output/public/_nuxt/Ch9DdZ1v.js +0 -1
- package/.output/public/_nuxt/Chnnd034.js +0 -1
- package/.output/public/_nuxt/CmPpU8kK.js +0 -7
- package/.output/public/_nuxt/CoTGLOo-.js +0 -10
- package/.output/public/_nuxt/CqvBmMuN.js +0 -1
- package/.output/public/_nuxt/CtJG7C0n.js +0 -1
- package/.output/public/_nuxt/Cv13FokC.js +0 -24
- package/.output/public/_nuxt/CyIart-B.js +0 -1
- package/.output/public/_nuxt/Czb-ugrz.js +0 -1
- package/.output/public/_nuxt/D0HVzqS-.js +0 -1
- package/.output/public/_nuxt/D5MxrHN6.js +0 -1
- package/.output/public/_nuxt/DBC_DJ4H.js +0 -292
- package/.output/public/_nuxt/DD0_MMyC.js +0 -22
- package/.output/public/_nuxt/DLBa45iT.js +0 -68
- package/.output/public/_nuxt/DNX5WjhQ.js +0 -1
- package/.output/public/_nuxt/DS5KvVtc.js +0 -1
- package/.output/public/_nuxt/DeHEBoXc.js +0 -43
- package/.output/public/_nuxt/DiVOI330.js +0 -1
- package/.output/public/_nuxt/DkFAxPAy.js +0 -162
- package/.output/public/_nuxt/DonU4d08.js +0 -3
- package/.output/public/_nuxt/Dsj6LIQK.js +0 -220
- package/.output/public/_nuxt/DuEMN8L_.js +0 -189
- package/.output/public/_nuxt/Dv-XdIM2.js +0 -68
- package/.output/public/_nuxt/DyxiJtlL.js +0 -72
- package/.output/public/_nuxt/Dzy5OQn7.js +0 -139
- package/.output/public/_nuxt/EJAhTysQ.js +0 -1
- package/.output/public/_nuxt/GoTwJjoS.js +0 -39
- package/.output/public/_nuxt/L22G0LO0.js +0 -2
- package/.output/public/_nuxt/MT_t-3iM.js +0 -145
- package/.output/public/_nuxt/NPxge8Vj.js +0 -1
- package/.output/public/_nuxt/PuW66QXY.js +0 -6
- package/.output/public/_nuxt/RVJfUWby.js +0 -1
- package/.output/public/_nuxt/Vvsm7Zcb.js +0 -1
- package/.output/public/_nuxt/Yhg2AuOM.js +0 -1
- package/.output/public/_nuxt/Yzrsuije.js +0 -1
- package/.output/public/_nuxt/_pURwnjj.js +0 -1
- package/.output/public/_nuxt/ak-AMfNO.js +0 -1
- package/.output/public/_nuxt/bTGk4NZ_.js +0 -1
- package/.output/public/_nuxt/builds/meta/b0b2d3d7-8491-43b2-b747-bf8ac00fec15.json +0 -1
- package/.output/public/_nuxt/default.DC7ec2JI.css +0 -1
- package/.output/public/_nuxt/entry.kqv_Ayaq.css +0 -1
- package/.output/public/_nuxt/kehy-5uo.js +0 -1
- package/.output/public/_nuxt/newKnrX1.js +0 -1
- package/.output/public/_nuxt/oXG7qeES.js +0 -1
- package/.output/public/_nuxt/rOvrJUdX.js +0 -1
- package/.output/public/_nuxt/vnfYlYqV.js +0 -1
- package/.output/public/_nuxt/x9AB1FGL.js +0 -3867
- package/.output/server/node_modules/cross-spawn/index.js +0 -39
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/.output/server/node_modules/cross-spawn/package.json +0 -73
- package/.output/server/node_modules/execa/index.js +0 -268
- package/.output/server/node_modules/execa/lib/command.js +0 -52
- package/.output/server/node_modules/execa/lib/error.js +0 -88
- package/.output/server/node_modules/execa/lib/kill.js +0 -115
- package/.output/server/node_modules/execa/lib/promise.js +0 -46
- package/.output/server/node_modules/execa/lib/stdio.js +0 -52
- package/.output/server/node_modules/execa/lib/stream.js +0 -97
- package/.output/server/node_modules/execa/package.json +0 -74
- package/.output/server/node_modules/get-stream/buffer-stream.js +0 -52
- package/.output/server/node_modules/get-stream/index.js +0 -61
- package/.output/server/node_modules/get-stream/package.json +0 -47
- package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
- package/.output/server/node_modules/human-signals/build/src/main.js +0 -71
- package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -19
- package/.output/server/node_modules/human-signals/build/src/signals.js +0 -35
- package/.output/server/node_modules/human-signals/package.json +0 -64
- package/.output/server/node_modules/is-stream/index.js +0 -28
- package/.output/server/node_modules/is-stream/package.json +0 -42
- package/.output/server/node_modules/isexe/index.js +0 -57
- package/.output/server/node_modules/isexe/mode.js +0 -41
- package/.output/server/node_modules/isexe/package.json +0 -31
- package/.output/server/node_modules/isexe/windows.js +0 -42
- package/.output/server/node_modules/merge-stream/index.js +0 -41
- package/.output/server/node_modules/merge-stream/package.json +0 -19
- package/.output/server/node_modules/mimic-fn/index.js +0 -13
- package/.output/server/node_modules/mimic-fn/package.json +0 -42
- package/.output/server/node_modules/npm-run-path/index.js +0 -47
- package/.output/server/node_modules/npm-run-path/package.json +0 -44
- package/.output/server/node_modules/onetime/index.js +0 -44
- package/.output/server/node_modules/onetime/package.json +0 -43
- package/.output/server/node_modules/path-key/index.js +0 -16
- package/.output/server/node_modules/path-key/package.json +0 -39
- package/.output/server/node_modules/pg-dump-restore/lib/common.js +0 -33
- package/.output/server/node_modules/pg-dump-restore/lib/index.js +0 -9
- package/.output/server/node_modules/pg-dump-restore/lib/pg-dump.js +0 -95
- package/.output/server/node_modules/pg-dump-restore/lib/pg-restore.js +0 -87
- package/.output/server/node_modules/pg-dump-restore/package.json +0 -66
- package/.output/server/node_modules/shebang-command/index.js +0 -19
- package/.output/server/node_modules/shebang-command/package.json +0 -34
- package/.output/server/node_modules/shebang-regex/index.js +0 -2
- package/.output/server/node_modules/shebang-regex/package.json +0 -35
- package/.output/server/node_modules/signal-exit/index.js +0 -202
- package/.output/server/node_modules/signal-exit/package.json +0 -38
- package/.output/server/node_modules/signal-exit/signals.js +0 -53
- package/.output/server/node_modules/strip-final-newline/index.js +0 -16
- package/.output/server/node_modules/strip-final-newline/package.json +0 -40
- package/.output/server/node_modules/which/package.json +0 -43
- package/.output/server/node_modules/which/which.js +0 -125
|
@@ -1,73 +1,310 @@
|
|
|
1
|
+
import { E as EManagedSqliteProvider, a as EConnectionProviderKind, b as EConnectionMethod, c as EConnectionFamily, p as pingRedisConnection } from './redis.client.mjs';
|
|
1
2
|
import { e as createSshTunnel } from '../nitro/nitro.mjs';
|
|
2
3
|
import knex from 'knex';
|
|
4
|
+
import { Readable } from 'node:stream';
|
|
5
|
+
import { createClient } from '@libsql/client/http';
|
|
6
|
+
import * as oracledb from 'oracledb';
|
|
3
7
|
import pg from 'pg';
|
|
8
|
+
import { accessSync, constants } from 'node:fs';
|
|
4
9
|
|
|
5
10
|
var DatabaseClientType = /* @__PURE__ */ ((DatabaseClientType2) => {
|
|
6
11
|
DatabaseClientType2["POSTGRES"] = "postgres";
|
|
7
12
|
DatabaseClientType2["MYSQL"] = "mysql";
|
|
13
|
+
DatabaseClientType2["MARIADB"] = "mariadb";
|
|
8
14
|
DatabaseClientType2["MYSQL2"] = "mysql2";
|
|
15
|
+
DatabaseClientType2["REDIS"] = "redis";
|
|
9
16
|
DatabaseClientType2["SQLITE3"] = "sqlite3";
|
|
17
|
+
DatabaseClientType2["SNOWFLAKE"] = "snowflake";
|
|
10
18
|
DatabaseClientType2["BETTER_SQLITE3"] = "better-sqlite3";
|
|
11
19
|
DatabaseClientType2["MSSQL"] = "mssql";
|
|
12
20
|
DatabaseClientType2["ORACLE"] = "oracledb";
|
|
13
21
|
return DatabaseClientType2;
|
|
14
22
|
})(DatabaseClientType || {});
|
|
23
|
+
const SQL_DATABASE_CLIENT_TYPES = [
|
|
24
|
+
"postgres" /* POSTGRES */,
|
|
25
|
+
"mysql" /* MYSQL */,
|
|
26
|
+
"mariadb" /* MARIADB */,
|
|
27
|
+
"mysql2" /* MYSQL2 */,
|
|
28
|
+
"sqlite3" /* SQLITE3 */,
|
|
29
|
+
"better-sqlite3" /* BETTER_SQLITE3 */,
|
|
30
|
+
"mssql" /* MSSQL */,
|
|
31
|
+
"oracledb" /* ORACLE */
|
|
32
|
+
];
|
|
33
|
+
const NOSQL_DATABASE_CLIENT_TYPES = ["redis" /* REDIS */];
|
|
15
34
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
35
|
+
const DEFAULT_RENDER_LIMIT = 100;
|
|
36
|
+
const MAX_RENDER_LIMIT = 500;
|
|
37
|
+
const MAX_EXPORT_LIMIT = 1e5;
|
|
38
|
+
const SELECT_PATTERN = /^(select|with|values|table)\b/i;
|
|
39
|
+
const MUTATION_PATTERN = /^(insert|update|delete|drop|truncate|alter|create|grant|revoke|comment|refresh|vacuum)\b/i;
|
|
40
|
+
const POSTGRES_OID_TYPE_MAP = {
|
|
41
|
+
16: "bool",
|
|
42
|
+
20: "int8",
|
|
43
|
+
21: "int2",
|
|
44
|
+
23: "int4",
|
|
45
|
+
25: "text",
|
|
46
|
+
114: "json",
|
|
47
|
+
700: "float4",
|
|
48
|
+
701: "float8",
|
|
49
|
+
1043: "varchar",
|
|
50
|
+
1082: "date",
|
|
51
|
+
1114: "timestamp",
|
|
52
|
+
1184: "timestamptz",
|
|
53
|
+
1700: "numeric",
|
|
54
|
+
2950: "uuid",
|
|
55
|
+
3802: "jsonb"
|
|
56
|
+
};
|
|
57
|
+
function stripSqlComments(sql) {
|
|
58
|
+
return sql.replace(/\/\*[\s\S]*?\*\//g, "").replace(/--.*$/gm, "");
|
|
59
|
+
}
|
|
60
|
+
function replaceSqlComments(sql, replacer) {
|
|
61
|
+
let index = 0;
|
|
62
|
+
let nextSql = "";
|
|
63
|
+
while (index < sql.length) {
|
|
64
|
+
const current = sql[index];
|
|
65
|
+
const next = sql[index + 1];
|
|
66
|
+
if (current === "'") {
|
|
67
|
+
nextSql += current;
|
|
68
|
+
index += 1;
|
|
69
|
+
while (index < sql.length) {
|
|
70
|
+
const quotedChar = sql[index];
|
|
71
|
+
nextSql += quotedChar;
|
|
72
|
+
if (quotedChar === "'" && sql[index + 1] === "'") {
|
|
73
|
+
nextSql += sql[index + 1];
|
|
74
|
+
index += 2;
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
index += 1;
|
|
78
|
+
if (quotedChar === "'") {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
if (current === '"') {
|
|
85
|
+
nextSql += current;
|
|
86
|
+
index += 1;
|
|
87
|
+
while (index < sql.length) {
|
|
88
|
+
const quotedChar = sql[index];
|
|
89
|
+
nextSql += quotedChar;
|
|
90
|
+
if (quotedChar === '"' && sql[index + 1] === '"') {
|
|
91
|
+
nextSql += sql[index + 1];
|
|
92
|
+
index += 2;
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
index += 1;
|
|
96
|
+
if (quotedChar === '"') {
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
if (current === "-" && next === "-") {
|
|
103
|
+
const start = index;
|
|
104
|
+
index += 2;
|
|
105
|
+
while (index < sql.length && sql[index] !== "\n") {
|
|
106
|
+
index += 1;
|
|
107
|
+
}
|
|
108
|
+
nextSql += replacer(sql.slice(start, index));
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if (current === "/" && next === "*") {
|
|
112
|
+
const start = index;
|
|
113
|
+
index += 2;
|
|
114
|
+
while (index < sql.length) {
|
|
115
|
+
if (sql[index] === "*" && sql[index + 1] === "/") {
|
|
116
|
+
index += 2;
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
index += 1;
|
|
120
|
+
}
|
|
121
|
+
nextSql += replacer(sql.slice(start, index));
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
nextSql += current;
|
|
125
|
+
index += 1;
|
|
27
126
|
}
|
|
28
|
-
|
|
29
|
-
|
|
127
|
+
return nextSql;
|
|
128
|
+
}
|
|
129
|
+
const COMMENT_NAMED_BIND_PATTERN = /(^|[^A-Za-z0-9_:]):([A-Za-z_][A-Za-z0-9_]*)/g;
|
|
130
|
+
function maskNamedBindParametersInComments(sql) {
|
|
131
|
+
return replaceSqlComments(
|
|
132
|
+
sql,
|
|
133
|
+
(comment) => comment.replace(
|
|
134
|
+
COMMENT_NAMED_BIND_PATTERN,
|
|
135
|
+
(_, prefix, name) => `${prefix}__heraq_comment_bind_${name}__`
|
|
136
|
+
)
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
function stripMarkdownCodeFence(sql) {
|
|
140
|
+
var _a;
|
|
141
|
+
const trimmed = sql.trim();
|
|
142
|
+
const match = trimmed.match(/^```(?:sql)?\s*([\s\S]*?)```$/i);
|
|
143
|
+
return ((_a = match == null ? void 0 : match[1]) == null ? void 0 : _a.trim()) || trimmed;
|
|
144
|
+
}
|
|
145
|
+
function normalizeSql(sql) {
|
|
146
|
+
return stripSqlComments(stripMarkdownCodeFence(sql)).trim().replace(/;+\s*$/, "");
|
|
147
|
+
}
|
|
148
|
+
function isSelectLikeSql(sql) {
|
|
149
|
+
return SELECT_PATTERN.test(normalizeSql(sql));
|
|
150
|
+
}
|
|
151
|
+
function isMutationSql(sql) {
|
|
152
|
+
return MUTATION_PATTERN.test(normalizeSql(sql));
|
|
153
|
+
}
|
|
154
|
+
function clampLimit(limit) {
|
|
155
|
+
if (!limit || Number.isNaN(limit)) {
|
|
156
|
+
return DEFAULT_RENDER_LIMIT;
|
|
30
157
|
}
|
|
31
|
-
|
|
32
|
-
|
|
158
|
+
return Math.max(1, Math.min(limit, MAX_RENDER_LIMIT));
|
|
159
|
+
}
|
|
160
|
+
function quoteIdentifier(identifier) {
|
|
161
|
+
if (!/^[A-Za-z_][A-Za-z0-9_$]*$/.test(identifier)) {
|
|
162
|
+
throw new Error(`Invalid SQL identifier: ${identifier}`);
|
|
33
163
|
}
|
|
34
|
-
|
|
35
|
-
|
|
164
|
+
return `"${identifier.replace(/"/g, '""')}"`;
|
|
165
|
+
}
|
|
166
|
+
function getQualifiedTableName(schemaName, tableName) {
|
|
167
|
+
return `${quoteIdentifier(schemaName)}.${quoteIdentifier(tableName)}`;
|
|
168
|
+
}
|
|
169
|
+
function resolveFieldType(field) {
|
|
170
|
+
const oid = Number(field.dataTypeID);
|
|
171
|
+
return POSTGRES_OID_TYPE_MAP[oid] || String(field.dataTypeID || "unknown");
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
var TabViewType = /* @__PURE__ */ ((TabViewType2) => {
|
|
175
|
+
TabViewType2["AllERD"] = "AllERD";
|
|
176
|
+
TabViewType2["DetailERD"] = "DetailERD";
|
|
177
|
+
TabViewType2["TableOverview"] = "TableOverview";
|
|
178
|
+
TabViewType2["TableDetail"] = "tableDetail";
|
|
179
|
+
TabViewType2["FunctionsOverview"] = "FunctionsOverview";
|
|
180
|
+
TabViewType2["FunctionsDetail"] = "FunctionsDetail";
|
|
181
|
+
TabViewType2["ViewOverview"] = "ViewOverview";
|
|
182
|
+
TabViewType2["ViewDetail"] = "ViewDetail";
|
|
183
|
+
TabViewType2["CodeQuery"] = "CodeQuery";
|
|
184
|
+
TabViewType2["UserPermissions"] = "UserPermissions";
|
|
185
|
+
TabViewType2["DatabaseTools"] = "DatabaseTools";
|
|
186
|
+
TabViewType2["InstanceInsights"] = "InstanceInsights";
|
|
187
|
+
TabViewType2["SchemaDiff"] = "SchemaDiff";
|
|
188
|
+
TabViewType2["Connection"] = "Connection";
|
|
189
|
+
TabViewType2["Explorer"] = "Explorer";
|
|
190
|
+
TabViewType2["Export"] = "Export";
|
|
191
|
+
TabViewType2["AgentChat"] = "AgentChat";
|
|
192
|
+
TabViewType2["RedisBrowser"] = "RedisBrowser";
|
|
193
|
+
TabViewType2["RedisPubSub"] = "RedisPubSub";
|
|
194
|
+
return TabViewType2;
|
|
195
|
+
})(TabViewType || {});
|
|
196
|
+
|
|
197
|
+
[
|
|
198
|
+
TabViewType.AllERD,
|
|
199
|
+
TabViewType.DetailERD,
|
|
200
|
+
TabViewType.TableOverview,
|
|
201
|
+
TabViewType.TableDetail,
|
|
202
|
+
TabViewType.FunctionsOverview,
|
|
203
|
+
TabViewType.FunctionsDetail,
|
|
204
|
+
TabViewType.ViewOverview,
|
|
205
|
+
TabViewType.ViewDetail,
|
|
206
|
+
TabViewType.CodeQuery,
|
|
207
|
+
TabViewType.UserPermissions,
|
|
208
|
+
TabViewType.DatabaseTools,
|
|
209
|
+
TabViewType.InstanceInsights,
|
|
210
|
+
TabViewType.SchemaDiff,
|
|
211
|
+
TabViewType.Connection,
|
|
212
|
+
TabViewType.Explorer,
|
|
213
|
+
TabViewType.Export,
|
|
214
|
+
TabViewType.AgentChat
|
|
215
|
+
];
|
|
216
|
+
[
|
|
217
|
+
TabViewType.CodeQuery,
|
|
218
|
+
TabViewType.Connection,
|
|
219
|
+
TabViewType.Explorer,
|
|
220
|
+
TabViewType.AgentChat,
|
|
221
|
+
TabViewType.RedisBrowser,
|
|
222
|
+
TabViewType.RedisPubSub,
|
|
223
|
+
TabViewType.InstanceInsights
|
|
224
|
+
];
|
|
225
|
+
({
|
|
226
|
+
[EConnectionFamily.SQL]: {
|
|
227
|
+
hiddenFeatureReasons: {
|
|
228
|
+
[TabViewType.RedisBrowser]: "Redis tools are only available for Redis connections."
|
|
229
|
+
}
|
|
230
|
+
}});
|
|
231
|
+
function resolveConnectionProviderKind(input) {
|
|
232
|
+
var _a, _b;
|
|
233
|
+
if (input.providerKind) {
|
|
234
|
+
return input.providerKind;
|
|
36
235
|
}
|
|
37
|
-
|
|
38
|
-
|
|
236
|
+
if (input.type === DatabaseClientType.SQLITE3) {
|
|
237
|
+
if (((_a = input.managedSqlite) == null ? void 0 : _a.provider) === EManagedSqliteProvider.CLOUDFLARE_D1) {
|
|
238
|
+
return EConnectionProviderKind.CLOUDFLARE_D1;
|
|
239
|
+
}
|
|
240
|
+
if (((_b = input.managedSqlite) == null ? void 0 : _b.provider) === EManagedSqliteProvider.TURSO) {
|
|
241
|
+
return EConnectionProviderKind.TURSO;
|
|
242
|
+
}
|
|
243
|
+
if (input.method === EConnectionMethod.FILE) {
|
|
244
|
+
return EConnectionProviderKind.SQLITE_FILE;
|
|
245
|
+
}
|
|
39
246
|
}
|
|
40
|
-
|
|
41
|
-
|
|
247
|
+
if (input.type === DatabaseClientType.REDIS) {
|
|
248
|
+
return EConnectionProviderKind.REDIS_DIRECT;
|
|
42
249
|
}
|
|
43
|
-
|
|
44
|
-
|
|
250
|
+
return EConnectionProviderKind.DIRECT_SQL;
|
|
251
|
+
}
|
|
252
|
+
function resolveConnectionFamily(input) {
|
|
253
|
+
const providerKind = resolveConnectionProviderKind(input);
|
|
254
|
+
if (providerKind === EConnectionProviderKind.REDIS_DIRECT) {
|
|
255
|
+
return EConnectionFamily.REDIS;
|
|
45
256
|
}
|
|
46
|
-
|
|
47
|
-
|
|
257
|
+
if (NOSQL_DATABASE_CLIENT_TYPES.includes(input.type)) {
|
|
258
|
+
return EConnectionFamily.REDIS;
|
|
48
259
|
}
|
|
49
|
-
|
|
50
|
-
return;
|
|
260
|
+
if (SQL_DATABASE_CLIENT_TYPES.includes(input.type)) {
|
|
261
|
+
return EConnectionFamily.SQL;
|
|
51
262
|
}
|
|
263
|
+
return EConnectionFamily.SQL;
|
|
52
264
|
}
|
|
53
265
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
266
|
+
function isNoSqlClientType(type) {
|
|
267
|
+
return type === DatabaseClientType.REDIS;
|
|
268
|
+
}
|
|
269
|
+
function buildUnsupportedConnectionMessage(input) {
|
|
270
|
+
if (input.family === EConnectionFamily.REDIS) {
|
|
271
|
+
return "Redis connections are supported, but they cannot be created through the SQL adapter stack.";
|
|
272
|
+
}
|
|
273
|
+
return "Only SQL-family connections are wired through the current runtime adapter stack.";
|
|
274
|
+
}
|
|
275
|
+
function assertSupportedConnectionRuntime(input) {
|
|
276
|
+
const isSupported = input.family === EConnectionFamily.SQL;
|
|
277
|
+
if (!isSupported) {
|
|
278
|
+
throw new Error(buildUnsupportedConnectionMessage(input));
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
var __defProp$2 = Object.defineProperty;
|
|
283
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
284
|
+
var __publicField$2 = (obj, key, value) => __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
285
|
+
const normalizeBindableSql = (sql, bindings) => {
|
|
286
|
+
if (!bindings || Array.isArray(bindings) || typeof bindings !== "object") {
|
|
287
|
+
return sql;
|
|
288
|
+
}
|
|
289
|
+
return maskNamedBindParametersInComments(sql);
|
|
290
|
+
};
|
|
57
291
|
class BaseDatabaseAdapter {
|
|
58
292
|
constructor(dbType, connection, knexInstance) {
|
|
59
|
-
__publicField(this, "knex");
|
|
60
|
-
__publicField(this, "dbType");
|
|
61
|
-
__publicField(this, "connection");
|
|
293
|
+
__publicField$2(this, "knex");
|
|
294
|
+
__publicField$2(this, "dbType");
|
|
295
|
+
__publicField$2(this, "connection");
|
|
62
296
|
this.dbType = dbType;
|
|
63
297
|
this.connection = connection;
|
|
64
298
|
this.knex = knexInstance;
|
|
65
299
|
}
|
|
66
300
|
async rawQuery(sql, bindings = []) {
|
|
67
|
-
return this._rawQuery(
|
|
301
|
+
return this._rawQuery(
|
|
302
|
+
normalizeBindableSql(sql, bindings),
|
|
303
|
+
bindings
|
|
304
|
+
);
|
|
68
305
|
}
|
|
69
306
|
async rawOut(sql, bindings = []) {
|
|
70
|
-
return this._rawOut(sql, bindings);
|
|
307
|
+
return this._rawOut(normalizeBindableSql(sql, bindings), bindings);
|
|
71
308
|
}
|
|
72
309
|
streamQuery(sql, bindings = [], options = {}) {
|
|
73
310
|
return this._streamQuery(sql, bindings, options);
|
|
@@ -79,7 +316,7 @@ class BaseDatabaseAdapter {
|
|
|
79
316
|
await this.knex.client.releaseConnection(connection);
|
|
80
317
|
}
|
|
81
318
|
getNativeSql(sql, bindings) {
|
|
82
|
-
return this._getNativeSql(sql, bindings);
|
|
319
|
+
return this._getNativeSql(normalizeBindableSql(sql, bindings), bindings);
|
|
83
320
|
}
|
|
84
321
|
async healthCheck() {
|
|
85
322
|
try {
|
|
@@ -98,6 +335,489 @@ class BaseDatabaseAdapter {
|
|
|
98
335
|
}
|
|
99
336
|
}
|
|
100
337
|
|
|
338
|
+
var __defProp$1 = Object.defineProperty;
|
|
339
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
340
|
+
var __publicField$1 = (obj, key, value) => __defNormalProp$1(obj, key + "" , value);
|
|
341
|
+
class D1Adapter extends BaseDatabaseAdapter {
|
|
342
|
+
constructor(managedSqlite) {
|
|
343
|
+
super(
|
|
344
|
+
DatabaseClientType.SQLITE3,
|
|
345
|
+
createManagedSqliteConnectionString(
|
|
346
|
+
EConnectionProviderKind.CLOUDFLARE_D1,
|
|
347
|
+
managedSqlite
|
|
348
|
+
),
|
|
349
|
+
createManagedSqliteKnex()
|
|
350
|
+
);
|
|
351
|
+
__publicField$1(this, "managedSqlite");
|
|
352
|
+
this.managedSqlite = managedSqlite;
|
|
353
|
+
}
|
|
354
|
+
get endpoint() {
|
|
355
|
+
if (!this.managedSqlite.accountId || !this.managedSqlite.databaseId) {
|
|
356
|
+
throw new Error("Cloudflare D1 requires both accountId and databaseId.");
|
|
357
|
+
}
|
|
358
|
+
return `https://api.cloudflare.com/client/v4/accounts/${this.managedSqlite.accountId}/d1/database/${this.managedSqlite.databaseId}/query`;
|
|
359
|
+
}
|
|
360
|
+
get headers() {
|
|
361
|
+
if (!this.managedSqlite.apiToken) {
|
|
362
|
+
throw new Error("Cloudflare D1 requires an API token.");
|
|
363
|
+
}
|
|
364
|
+
return {
|
|
365
|
+
"Content-Type": "application/json",
|
|
366
|
+
Authorization: `Bearer ${this.managedSqlite.apiToken}`
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
async executeStatement(sql, bindings = []) {
|
|
370
|
+
var _a, _b, _c;
|
|
371
|
+
const response = await fetch(this.endpoint, {
|
|
372
|
+
method: "POST",
|
|
373
|
+
headers: this.headers,
|
|
374
|
+
body: JSON.stringify({
|
|
375
|
+
sql,
|
|
376
|
+
params: bindings
|
|
377
|
+
})
|
|
378
|
+
});
|
|
379
|
+
const payload = await response.json();
|
|
380
|
+
const message = (_b = (_a = payload.errors) == null ? void 0 : _a[0]) == null ? void 0 : _b.message;
|
|
381
|
+
if (!response.ok || payload.success === false) {
|
|
382
|
+
throw new Error(
|
|
383
|
+
message || `Cloudflare D1 request failed with status ${response.status}.`
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
const result = (_c = payload.result) == null ? void 0 : _c[0];
|
|
387
|
+
if (!result || result.success === false) {
|
|
388
|
+
throw new Error(message || "Cloudflare D1 query failed.");
|
|
389
|
+
}
|
|
390
|
+
return result;
|
|
391
|
+
}
|
|
392
|
+
async _rawQuery(sql, bindings = []) {
|
|
393
|
+
const result = await this.executeStatement(sql, bindings);
|
|
394
|
+
return normalizeRecordRows(result.results || []);
|
|
395
|
+
}
|
|
396
|
+
async _rawOut(sql, bindings = []) {
|
|
397
|
+
var _a, _b;
|
|
398
|
+
const result = await this.executeStatement(sql, bindings);
|
|
399
|
+
const rows = normalizeRecordRows(result.results || []);
|
|
400
|
+
const fields = createSyntheticFields$1(Object.keys(rows[0] || {}));
|
|
401
|
+
const rowCount = rows.length > 0 ? rows.length : (_b = (_a = result.meta) == null ? void 0 : _a.changes) != null ? _b : 0;
|
|
402
|
+
return {
|
|
403
|
+
rows: rowsToArray(rows, fields),
|
|
404
|
+
fields,
|
|
405
|
+
rowCount,
|
|
406
|
+
command: inferSqliteCommand$1(sql)
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
_streamQuery(sql, bindings = [], _options = {}) {
|
|
410
|
+
const adapter = this;
|
|
411
|
+
return Readable.from(
|
|
412
|
+
async function* () {
|
|
413
|
+
const rows = await adapter._rawQuery(
|
|
414
|
+
sql,
|
|
415
|
+
bindings
|
|
416
|
+
);
|
|
417
|
+
for (const row of rows) {
|
|
418
|
+
yield row;
|
|
419
|
+
}
|
|
420
|
+
}()
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
_getNativeSql(sql, bindings) {
|
|
424
|
+
return this.knex.raw(sql, bindings).toSQL().toNative();
|
|
425
|
+
}
|
|
426
|
+
async healthCheck() {
|
|
427
|
+
try {
|
|
428
|
+
await this.executeStatement("SELECT 1 AS health_check");
|
|
429
|
+
return true;
|
|
430
|
+
} catch (error) {
|
|
431
|
+
console.error("[D1Adapter] Health check failed", error);
|
|
432
|
+
return false;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
var __defProp = Object.defineProperty;
|
|
438
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
439
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
440
|
+
class TursoAdapter extends BaseDatabaseAdapter {
|
|
441
|
+
constructor(managedSqlite) {
|
|
442
|
+
super(
|
|
443
|
+
DatabaseClientType.SQLITE3,
|
|
444
|
+
createManagedSqliteConnectionString("turso", managedSqlite),
|
|
445
|
+
createManagedSqliteKnex()
|
|
446
|
+
);
|
|
447
|
+
this.managedSqlite = managedSqlite;
|
|
448
|
+
__publicField(this, "client");
|
|
449
|
+
if (!managedSqlite.url) {
|
|
450
|
+
throw new Error("Turso requires a database URL.");
|
|
451
|
+
}
|
|
452
|
+
if (!managedSqlite.authToken) {
|
|
453
|
+
throw new Error("Turso requires an auth token.");
|
|
454
|
+
}
|
|
455
|
+
this.client = createClient({
|
|
456
|
+
url: createManagedSqliteConnectionString("turso", managedSqlite),
|
|
457
|
+
authToken: managedSqlite.authToken
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
async executeStatement(sql, bindings = []) {
|
|
461
|
+
return await this.client.execute({
|
|
462
|
+
sql,
|
|
463
|
+
args: bindings
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
async _rawQuery(sql, bindings = []) {
|
|
467
|
+
const result = await this.executeStatement(sql, bindings);
|
|
468
|
+
return normalizeRecordRows(result.rows || []);
|
|
469
|
+
}
|
|
470
|
+
async _rawOut(sql, bindings = []) {
|
|
471
|
+
var _a, _b;
|
|
472
|
+
const result = await this.executeStatement(sql, bindings);
|
|
473
|
+
const rows = normalizeRecordRows(result.rows || []);
|
|
474
|
+
const fields = createSyntheticFields$1(
|
|
475
|
+
((_a = result.columns) == null ? void 0 : _a.length) ? result.columns : Object.keys(rows[0] || {})
|
|
476
|
+
);
|
|
477
|
+
return {
|
|
478
|
+
rows: rowsToArray(rows, fields),
|
|
479
|
+
fields,
|
|
480
|
+
rowCount: (_b = result.rowsAffected) != null ? _b : rows.length,
|
|
481
|
+
command: inferSqliteCommand$1(sql)
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
_streamQuery(sql, bindings = [], _options = {}) {
|
|
485
|
+
const adapter = this;
|
|
486
|
+
return Readable.from(
|
|
487
|
+
async function* () {
|
|
488
|
+
const rows = await adapter._rawQuery(
|
|
489
|
+
sql,
|
|
490
|
+
bindings
|
|
491
|
+
);
|
|
492
|
+
for (const row of rows) {
|
|
493
|
+
yield row;
|
|
494
|
+
}
|
|
495
|
+
}()
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
_getNativeSql(sql, bindings) {
|
|
499
|
+
return this.knex.raw(sql, bindings).toSQL().toNative();
|
|
500
|
+
}
|
|
501
|
+
async healthCheck() {
|
|
502
|
+
try {
|
|
503
|
+
await this.executeStatement("SELECT 1 AS health_check");
|
|
504
|
+
return true;
|
|
505
|
+
} catch (error) {
|
|
506
|
+
console.error("[TursoAdapter] Health check failed", error);
|
|
507
|
+
return false;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
async destroy() {
|
|
511
|
+
this.client.close();
|
|
512
|
+
await super.destroy();
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
function isManagedSqliteProviderKind(providerKind) {
|
|
517
|
+
return providerKind === EConnectionProviderKind.CLOUDFLARE_D1 || providerKind === EConnectionProviderKind.TURSO;
|
|
518
|
+
}
|
|
519
|
+
function createManagedSqliteConnectionString(providerKind, managedSqlite) {
|
|
520
|
+
if (providerKind === EConnectionProviderKind.CLOUDFLARE_D1) {
|
|
521
|
+
return `d1://${managedSqlite.accountId || ""}/${managedSqlite.databaseId || ""}`;
|
|
522
|
+
}
|
|
523
|
+
return buildTursoUrl(managedSqlite.url || "", managedSqlite.branchName);
|
|
524
|
+
}
|
|
525
|
+
function createManagedSqliteAdapter(options) {
|
|
526
|
+
if (!options.providerKind || !isManagedSqliteProviderKind(options.providerKind)) {
|
|
527
|
+
throw new Error("Managed SQLite adapters require a managed provider kind.");
|
|
528
|
+
}
|
|
529
|
+
if (!options.managedSqlite) {
|
|
530
|
+
throw new Error("Managed SQLite adapters require provider credentials.");
|
|
531
|
+
}
|
|
532
|
+
if (options.providerKind === EConnectionProviderKind.CLOUDFLARE_D1) {
|
|
533
|
+
return new D1Adapter(options.managedSqlite);
|
|
534
|
+
}
|
|
535
|
+
if (options.providerKind === EConnectionProviderKind.TURSO) {
|
|
536
|
+
return new TursoAdapter(options.managedSqlite);
|
|
537
|
+
}
|
|
538
|
+
throw new Error(
|
|
539
|
+
`Unsupported managed SQLite provider: ${options.providerKind}`
|
|
540
|
+
);
|
|
541
|
+
}
|
|
542
|
+
function createManagedSqliteKnex() {
|
|
543
|
+
return knex({
|
|
544
|
+
client: "sqlite3",
|
|
545
|
+
connection: {
|
|
546
|
+
filename: ":memory:"
|
|
547
|
+
},
|
|
548
|
+
useNullAsDefault: true,
|
|
549
|
+
pool: {
|
|
550
|
+
min: 1,
|
|
551
|
+
max: 1
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
function createSyntheticFields$1(columnNames) {
|
|
556
|
+
return columnNames.map((name, index) => ({
|
|
557
|
+
name,
|
|
558
|
+
tableID: 0,
|
|
559
|
+
columnID: index,
|
|
560
|
+
dataTypeID: 0,
|
|
561
|
+
dataTypeSize: 0,
|
|
562
|
+
dataTypeModifier: 0,
|
|
563
|
+
format: "text"
|
|
564
|
+
}));
|
|
565
|
+
}
|
|
566
|
+
function inferSqliteCommand$1(sql) {
|
|
567
|
+
var _a;
|
|
568
|
+
return ((_a = sql.trim().split(/\s+/, 1)[0]) == null ? void 0 : _a.toUpperCase()) || "";
|
|
569
|
+
}
|
|
570
|
+
function rowsToArray(rows, fields) {
|
|
571
|
+
return rows.map((row) => fields.map((field) => row[field.name]));
|
|
572
|
+
}
|
|
573
|
+
function normalizeRecordRows(rows) {
|
|
574
|
+
return rows.filter(Boolean).map((row) => ({ ...row }));
|
|
575
|
+
}
|
|
576
|
+
function buildTursoUrl(url, branchName) {
|
|
577
|
+
if (!branchName || !url) {
|
|
578
|
+
return url;
|
|
579
|
+
}
|
|
580
|
+
const nextUrl = new URL(url);
|
|
581
|
+
if (!nextUrl.searchParams.has("branch")) {
|
|
582
|
+
nextUrl.searchParams.set("branch", branchName);
|
|
583
|
+
}
|
|
584
|
+
return nextUrl.toString();
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
function normalizeMysqlFields(fields = []) {
|
|
588
|
+
return fields.map((field, index) => {
|
|
589
|
+
var _a, _b;
|
|
590
|
+
return {
|
|
591
|
+
name: field.name,
|
|
592
|
+
tableID: 0,
|
|
593
|
+
columnID: index,
|
|
594
|
+
dataTypeID: (_a = field.columnType) != null ? _a : 0,
|
|
595
|
+
dataTypeSize: (_b = field.columnLength) != null ? _b : 0,
|
|
596
|
+
dataTypeModifier: 0,
|
|
597
|
+
format: "text"
|
|
598
|
+
};
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
function inferMysqlCommand(sql) {
|
|
602
|
+
var _a;
|
|
603
|
+
return ((_a = sql.trim().split(/\s+/, 1)[0]) == null ? void 0 : _a.toUpperCase()) || "";
|
|
604
|
+
}
|
|
605
|
+
class MysqlAdapter extends BaseDatabaseAdapter {
|
|
606
|
+
constructor(connection, dbType = DatabaseClientType.MYSQL) {
|
|
607
|
+
const knexInstance = knex({
|
|
608
|
+
client: DatabaseClientType.MYSQL2,
|
|
609
|
+
connection,
|
|
610
|
+
pool: {
|
|
611
|
+
min: 1,
|
|
612
|
+
max: 10,
|
|
613
|
+
idleTimeoutMillis: 5 * 60 * 1e3
|
|
614
|
+
},
|
|
615
|
+
log: {
|
|
616
|
+
warn(message) {
|
|
617
|
+
console.warn("[MysqlAdapter]", message);
|
|
618
|
+
},
|
|
619
|
+
error(message) {
|
|
620
|
+
console.error("[MysqlAdapter]", message);
|
|
621
|
+
},
|
|
622
|
+
deprecate(message) {
|
|
623
|
+
console.warn("[MysqlAdapter] Deprecation:", message);
|
|
624
|
+
},
|
|
625
|
+
debug(message) {
|
|
626
|
+
console.debug("[MysqlAdapter]", message);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
});
|
|
630
|
+
super(dbType, connection, knexInstance);
|
|
631
|
+
}
|
|
632
|
+
async queryWithMetadata(sql, bindings = [], rowsAsArray = false) {
|
|
633
|
+
const connection = await this.acquireRawConnection();
|
|
634
|
+
try {
|
|
635
|
+
return await new Promise((resolve, reject) => {
|
|
636
|
+
connection.query(
|
|
637
|
+
{
|
|
638
|
+
sql,
|
|
639
|
+
values: bindings,
|
|
640
|
+
rowsAsArray
|
|
641
|
+
},
|
|
642
|
+
(error, rows, fields) => {
|
|
643
|
+
if (error) {
|
|
644
|
+
reject(error);
|
|
645
|
+
return;
|
|
646
|
+
}
|
|
647
|
+
resolve({
|
|
648
|
+
rows,
|
|
649
|
+
fields: fields != null ? fields : []
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
);
|
|
653
|
+
});
|
|
654
|
+
} finally {
|
|
655
|
+
await this.releaseRawConnection(connection);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
async _rawQuery(sql, bindings = []) {
|
|
659
|
+
const { rows } = await this.queryWithMetadata(sql, bindings);
|
|
660
|
+
return Array.isArray(rows) ? rows : [];
|
|
661
|
+
}
|
|
662
|
+
async _rawOut(sql, bindings = []) {
|
|
663
|
+
const { rows, fields } = await this.queryWithMetadata(
|
|
664
|
+
sql,
|
|
665
|
+
bindings,
|
|
666
|
+
true
|
|
667
|
+
);
|
|
668
|
+
if (Array.isArray(rows)) {
|
|
669
|
+
return {
|
|
670
|
+
rows,
|
|
671
|
+
fields: normalizeMysqlFields(fields),
|
|
672
|
+
rowCount: rows.length,
|
|
673
|
+
command: inferMysqlCommand(sql)
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
return {
|
|
677
|
+
rows: [],
|
|
678
|
+
fields: normalizeMysqlFields(fields),
|
|
679
|
+
rowCount: rows.affectedRows,
|
|
680
|
+
command: inferMysqlCommand(sql)
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
_streamQuery(sql, bindings = [], options = {}) {
|
|
684
|
+
return this.knex.raw(sql, bindings).stream(options);
|
|
685
|
+
}
|
|
686
|
+
_getNativeSql(sql, bindings) {
|
|
687
|
+
return this.knex.raw(sql, bindings).toSQL().toNative();
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
const DEFAULT_ORACLE_PORT = 1521;
|
|
692
|
+
function buildOracleConnectString(host, port, serviceName) {
|
|
693
|
+
return `${host}:${port}/${serviceName}`;
|
|
694
|
+
}
|
|
695
|
+
function normalizeOracleConnection(connection) {
|
|
696
|
+
var _a;
|
|
697
|
+
if (typeof connection === "string") {
|
|
698
|
+
const url = new URL(connection);
|
|
699
|
+
const serviceName2 = decodeURIComponent(url.pathname.replace(/^\/+/, ""));
|
|
700
|
+
return {
|
|
701
|
+
user: decodeURIComponent(url.username),
|
|
702
|
+
password: decodeURIComponent(url.password),
|
|
703
|
+
connectString: buildOracleConnectString(
|
|
704
|
+
url.hostname,
|
|
705
|
+
Number(url.port) || DEFAULT_ORACLE_PORT,
|
|
706
|
+
serviceName2
|
|
707
|
+
)
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
const candidate = connection || {};
|
|
711
|
+
const host = candidate.host || "127.0.0.1";
|
|
712
|
+
const port = Number(candidate.port) || DEFAULT_ORACLE_PORT;
|
|
713
|
+
const serviceName = candidate.serviceName || candidate.database;
|
|
714
|
+
if (!serviceName && !candidate.connectString) {
|
|
715
|
+
throw new Error(
|
|
716
|
+
"Oracle connections require a service name or connectString."
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
return {
|
|
720
|
+
user: (_a = candidate.user) != null ? _a : candidate.username,
|
|
721
|
+
password: candidate.password,
|
|
722
|
+
connectString: candidate.connectString || buildOracleConnectString(host, port, serviceName),
|
|
723
|
+
...candidate.ssl ? { ssl: candidate.ssl } : {}
|
|
724
|
+
};
|
|
725
|
+
}
|
|
726
|
+
function normalizeOracleFields(fields = []) {
|
|
727
|
+
return fields.map((field, index) => {
|
|
728
|
+
var _a, _b, _c;
|
|
729
|
+
return {
|
|
730
|
+
name: field.name || `column_${index + 1}`,
|
|
731
|
+
tableID: 0,
|
|
732
|
+
columnID: index,
|
|
733
|
+
dataTypeID: (_b = (_a = field.dbType) != null ? _a : field.fetchType) != null ? _b : 0,
|
|
734
|
+
dataTypeSize: (_c = field.byteSize) != null ? _c : 0,
|
|
735
|
+
dataTypeModifier: 0,
|
|
736
|
+
format: "text"
|
|
737
|
+
};
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
function inferOracleCommand(sql) {
|
|
741
|
+
var _a;
|
|
742
|
+
return ((_a = sql.trim().split(/\s+/, 1)[0]) == null ? void 0 : _a.toUpperCase()) || "";
|
|
743
|
+
}
|
|
744
|
+
class OracleAdapter extends BaseDatabaseAdapter {
|
|
745
|
+
constructor(connection) {
|
|
746
|
+
const normalizedConnection = normalizeOracleConnection(connection);
|
|
747
|
+
const knexInstance = knex({
|
|
748
|
+
client: DatabaseClientType.ORACLE,
|
|
749
|
+
connection: normalizedConnection,
|
|
750
|
+
pool: {
|
|
751
|
+
min: 1,
|
|
752
|
+
max: 10,
|
|
753
|
+
idleTimeoutMillis: 5 * 60 * 1e3
|
|
754
|
+
},
|
|
755
|
+
log: {
|
|
756
|
+
warn(message) {
|
|
757
|
+
console.warn("[OracleAdapter]", message);
|
|
758
|
+
},
|
|
759
|
+
error(message) {
|
|
760
|
+
console.error("[OracleAdapter]", message);
|
|
761
|
+
},
|
|
762
|
+
deprecate(message) {
|
|
763
|
+
console.warn("[OracleAdapter] Deprecation:", message);
|
|
764
|
+
},
|
|
765
|
+
debug(message) {
|
|
766
|
+
console.debug("[OracleAdapter]", message);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
super(DatabaseClientType.ORACLE, normalizedConnection, knexInstance);
|
|
771
|
+
}
|
|
772
|
+
async execute(sql, bindings = [], outFormat = oracledb.OUT_FORMAT_OBJECT) {
|
|
773
|
+
const connection = await this.acquireRawConnection();
|
|
774
|
+
try {
|
|
775
|
+
return await connection.execute(sql, bindings, {
|
|
776
|
+
outFormat
|
|
777
|
+
});
|
|
778
|
+
} finally {
|
|
779
|
+
await this.releaseRawConnection(connection);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
async healthCheck() {
|
|
783
|
+
try {
|
|
784
|
+
await this.knex.raw("SELECT 1 FROM DUAL");
|
|
785
|
+
return true;
|
|
786
|
+
} catch (error) {
|
|
787
|
+
console.error("[OracleAdapter] Health check failed", error);
|
|
788
|
+
return false;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
async _rawQuery(sql, bindings = []) {
|
|
792
|
+
const result = await this.execute(
|
|
793
|
+
sql,
|
|
794
|
+
bindings,
|
|
795
|
+
oracledb.OUT_FORMAT_OBJECT
|
|
796
|
+
);
|
|
797
|
+
return result.rows || [];
|
|
798
|
+
}
|
|
799
|
+
async _rawOut(sql, bindings = []) {
|
|
800
|
+
var _a, _b, _c;
|
|
801
|
+
const result = await this.execute(
|
|
802
|
+
sql,
|
|
803
|
+
bindings,
|
|
804
|
+
oracledb.OUT_FORMAT_ARRAY
|
|
805
|
+
);
|
|
806
|
+
return {
|
|
807
|
+
rows: result.rows || [],
|
|
808
|
+
fields: normalizeOracleFields(result.metaData),
|
|
809
|
+
rowCount: (_c = (_b = result.rowsAffected) != null ? _b : (_a = result.rows) == null ? void 0 : _a.length) != null ? _c : 0,
|
|
810
|
+
command: inferOracleCommand(sql)
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
_streamQuery(sql, bindings = [], options = {}) {
|
|
814
|
+
return this.knex.raw(sql, bindings).stream(options);
|
|
815
|
+
}
|
|
816
|
+
_getNativeSql(sql, bindings) {
|
|
817
|
+
return this.knex.raw(sql, bindings).toSQL().toNative();
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
101
821
|
const RAW = (val) => val;
|
|
102
822
|
const TEMPORAL_OIDS = [
|
|
103
823
|
1082,
|
|
@@ -190,14 +910,198 @@ class PostgresAdapter extends BaseDatabaseAdapter {
|
|
|
190
910
|
}
|
|
191
911
|
}
|
|
192
912
|
|
|
913
|
+
function assertReadableSqliteFile(filename) {
|
|
914
|
+
if (filename === ":memory:") {
|
|
915
|
+
return;
|
|
916
|
+
}
|
|
917
|
+
try {
|
|
918
|
+
accessSync(filename, constants.F_OK);
|
|
919
|
+
} catch {
|
|
920
|
+
throw new Error(`SQLite database file was not found: ${filename}`);
|
|
921
|
+
}
|
|
922
|
+
try {
|
|
923
|
+
accessSync(filename, constants.R_OK);
|
|
924
|
+
} catch {
|
|
925
|
+
throw new Error(`SQLite database file is not readable: ${filename}`);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
function normalizeSqliteFilename(fileName) {
|
|
929
|
+
const normalizedPath = decodeURIComponent(fileName).replace(/\\/g, "/");
|
|
930
|
+
if (/^\/[A-Za-z]:\//.test(normalizedPath)) {
|
|
931
|
+
return normalizedPath.slice(1);
|
|
932
|
+
}
|
|
933
|
+
return normalizedPath;
|
|
934
|
+
}
|
|
935
|
+
function normalizeSqliteConnection(connection) {
|
|
936
|
+
if (typeof connection === "string") {
|
|
937
|
+
if (connection.startsWith("sqlite3://")) {
|
|
938
|
+
const url = new URL(connection);
|
|
939
|
+
const filename2 = normalizeSqliteFilename(url.pathname);
|
|
940
|
+
assertReadableSqliteFile(filename2);
|
|
941
|
+
return {
|
|
942
|
+
filename: filename2
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
const filename = normalizeSqliteFilename(connection);
|
|
946
|
+
assertReadableSqliteFile(filename);
|
|
947
|
+
return {
|
|
948
|
+
filename
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
const candidate = connection || {};
|
|
952
|
+
if (candidate.filename) {
|
|
953
|
+
const filename = normalizeSqliteFilename(candidate.filename);
|
|
954
|
+
assertReadableSqliteFile(filename);
|
|
955
|
+
return {
|
|
956
|
+
filename
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
if (candidate.filePath) {
|
|
960
|
+
const filename = normalizeSqliteFilename(candidate.filePath);
|
|
961
|
+
assertReadableSqliteFile(filename);
|
|
962
|
+
return {
|
|
963
|
+
filename
|
|
964
|
+
};
|
|
965
|
+
}
|
|
966
|
+
throw new Error("SQLite connections require a filename.");
|
|
967
|
+
}
|
|
968
|
+
function createSyntheticFields(row) {
|
|
969
|
+
return Object.keys(row || {}).map((name, index) => ({
|
|
970
|
+
name,
|
|
971
|
+
tableID: 0,
|
|
972
|
+
columnID: index,
|
|
973
|
+
dataTypeID: 0,
|
|
974
|
+
dataTypeSize: 0,
|
|
975
|
+
dataTypeModifier: 0,
|
|
976
|
+
format: "text"
|
|
977
|
+
}));
|
|
978
|
+
}
|
|
979
|
+
function inferSqliteCommand(sql) {
|
|
980
|
+
var _a;
|
|
981
|
+
return ((_a = sql.trim().split(/\s+/, 1)[0]) == null ? void 0 : _a.toUpperCase()) || "";
|
|
982
|
+
}
|
|
983
|
+
class SqliteAdapter extends BaseDatabaseAdapter {
|
|
984
|
+
constructor(connection) {
|
|
985
|
+
const normalizedConnection = normalizeSqliteConnection(connection);
|
|
986
|
+
const knexInstance = knex({
|
|
987
|
+
client: DatabaseClientType.SQLITE3,
|
|
988
|
+
connection: normalizedConnection,
|
|
989
|
+
useNullAsDefault: true,
|
|
990
|
+
pool: {
|
|
991
|
+
min: 1,
|
|
992
|
+
max: 1,
|
|
993
|
+
idleTimeoutMillis: 5 * 60 * 1e3
|
|
994
|
+
},
|
|
995
|
+
log: {
|
|
996
|
+
warn(message) {
|
|
997
|
+
console.warn("[SqliteAdapter]", message);
|
|
998
|
+
},
|
|
999
|
+
error(message) {
|
|
1000
|
+
console.error("[SqliteAdapter]", message);
|
|
1001
|
+
},
|
|
1002
|
+
deprecate(message) {
|
|
1003
|
+
console.warn("[SqliteAdapter] Deprecation:", message);
|
|
1004
|
+
},
|
|
1005
|
+
debug(message) {
|
|
1006
|
+
console.debug("[SqliteAdapter]", message);
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
});
|
|
1010
|
+
super(DatabaseClientType.SQLITE3, normalizedConnection, knexInstance);
|
|
1011
|
+
}
|
|
1012
|
+
async all(sql, bindings = []) {
|
|
1013
|
+
const connection = await this.acquireRawConnection();
|
|
1014
|
+
try {
|
|
1015
|
+
return await new Promise((resolve, reject) => {
|
|
1016
|
+
connection.all(sql, bindings, (error, rows) => {
|
|
1017
|
+
if (error) {
|
|
1018
|
+
reject(error);
|
|
1019
|
+
return;
|
|
1020
|
+
}
|
|
1021
|
+
resolve(rows || []);
|
|
1022
|
+
});
|
|
1023
|
+
});
|
|
1024
|
+
} finally {
|
|
1025
|
+
await this.releaseRawConnection(connection);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
async run(sql, bindings = []) {
|
|
1029
|
+
const connection = await this.acquireRawConnection();
|
|
1030
|
+
try {
|
|
1031
|
+
return await new Promise((resolve, reject) => {
|
|
1032
|
+
connection.run(
|
|
1033
|
+
sql,
|
|
1034
|
+
bindings,
|
|
1035
|
+
function(error) {
|
|
1036
|
+
if (error) {
|
|
1037
|
+
reject(error);
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
resolve(this);
|
|
1041
|
+
}
|
|
1042
|
+
);
|
|
1043
|
+
});
|
|
1044
|
+
} finally {
|
|
1045
|
+
await this.releaseRawConnection(connection);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
async _rawQuery(sql, bindings = []) {
|
|
1049
|
+
return this.all(sql, bindings);
|
|
1050
|
+
}
|
|
1051
|
+
async _rawOut(sql, bindings = []) {
|
|
1052
|
+
const trimmedQuery = sql.trim().toUpperCase();
|
|
1053
|
+
const isSelectLike = trimmedQuery.startsWith("SELECT") || trimmedQuery.startsWith("WITH") || trimmedQuery.startsWith("PRAGMA") || trimmedQuery.startsWith("EXPLAIN");
|
|
1054
|
+
if (isSelectLike) {
|
|
1055
|
+
const namedRows = await this.all(sql, bindings);
|
|
1056
|
+
const fields = createSyntheticFields(namedRows[0]);
|
|
1057
|
+
const rows = namedRows.map((row) => fields.map((f) => row[f.name]));
|
|
1058
|
+
return {
|
|
1059
|
+
rows,
|
|
1060
|
+
fields,
|
|
1061
|
+
rowCount: rows.length,
|
|
1062
|
+
command: inferSqliteCommand(sql)
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
const result = await this.run(sql, bindings);
|
|
1066
|
+
return {
|
|
1067
|
+
rows: [],
|
|
1068
|
+
fields: [],
|
|
1069
|
+
rowCount: result.changes || 0,
|
|
1070
|
+
command: inferSqliteCommand(sql)
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
_streamQuery(sql, bindings = [], _options = {}) {
|
|
1074
|
+
const adapter = this;
|
|
1075
|
+
return Readable.from(
|
|
1076
|
+
async function* () {
|
|
1077
|
+
const rows = await adapter.all(sql, bindings);
|
|
1078
|
+
for (const row of rows) {
|
|
1079
|
+
yield row;
|
|
1080
|
+
}
|
|
1081
|
+
}()
|
|
1082
|
+
);
|
|
1083
|
+
}
|
|
1084
|
+
_getNativeSql(sql, bindings) {
|
|
1085
|
+
return this.knex.raw(sql, bindings).toSQL().toNative();
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
|
|
193
1089
|
const ADAPTER_FACTORIES = {
|
|
194
1090
|
[DatabaseClientType.POSTGRES]: (connection) => new PostgresAdapter(connection),
|
|
195
1091
|
[DatabaseClientType.MYSQL]: (connection) => new MysqlAdapter(connection),
|
|
196
|
-
[DatabaseClientType.
|
|
197
|
-
|
|
198
|
-
|
|
1092
|
+
[DatabaseClientType.MARIADB]: (connection) => new MysqlAdapter(connection, DatabaseClientType.MARIADB),
|
|
1093
|
+
[DatabaseClientType.ORACLE]: (connection) => new OracleAdapter(connection),
|
|
1094
|
+
[DatabaseClientType.SQLITE3]: (connection) => new SqliteAdapter(connection)
|
|
199
1095
|
};
|
|
200
|
-
function createDatabaseAdapter(type, connection) {
|
|
1096
|
+
function createDatabaseAdapter(type, connection, options = {}) {
|
|
1097
|
+
if (isNoSqlClientType(type)) {
|
|
1098
|
+
throw new Error(
|
|
1099
|
+
`${type} uses a dedicated NoSQL runtime and cannot be created through the SQL adapter factory.`
|
|
1100
|
+
);
|
|
1101
|
+
}
|
|
1102
|
+
if (type === DatabaseClientType.SQLITE3 && isManagedSqliteProviderKind(options.providerKind)) {
|
|
1103
|
+
return createManagedSqliteAdapter(options);
|
|
1104
|
+
}
|
|
201
1105
|
const factory = ADAPTER_FACTORIES[type];
|
|
202
1106
|
if (!factory) {
|
|
203
1107
|
throw new Error(`Database type '${type}' is not supported yet.`);
|
|
@@ -207,6 +1111,18 @@ function createDatabaseAdapter(type, connection) {
|
|
|
207
1111
|
|
|
208
1112
|
const adapterCache = /* @__PURE__ */ new Map();
|
|
209
1113
|
const LRU_TIMEOUT = 5 * 60 * 1e3;
|
|
1114
|
+
const DEFAULT_PORTS = {
|
|
1115
|
+
[DatabaseClientType.POSTGRES]: 5432,
|
|
1116
|
+
[DatabaseClientType.MYSQL]: 3306,
|
|
1117
|
+
[DatabaseClientType.MARIADB]: 3306,
|
|
1118
|
+
[DatabaseClientType.MYSQL2]: 3306,
|
|
1119
|
+
[DatabaseClientType.REDIS]: 6379,
|
|
1120
|
+
[DatabaseClientType.MSSQL]: 1433,
|
|
1121
|
+
[DatabaseClientType.ORACLE]: 1521,
|
|
1122
|
+
[DatabaseClientType.SNOWFLAKE]: 443,
|
|
1123
|
+
[DatabaseClientType.BETTER_SQLITE3]: 0,
|
|
1124
|
+
[DatabaseClientType.SQLITE3]: 0
|
|
1125
|
+
};
|
|
210
1126
|
function cleanupIdleAdapters() {
|
|
211
1127
|
const now = Date.now();
|
|
212
1128
|
for (const [key, cached] of adapterCache.entries()) {
|
|
@@ -255,6 +1171,133 @@ process.on("SIGTERM", async () => {
|
|
|
255
1171
|
process.on("exit", async () => {
|
|
256
1172
|
await shutdownAllAdapters();
|
|
257
1173
|
});
|
|
1174
|
+
function getDefaultPort(type) {
|
|
1175
|
+
var _a;
|
|
1176
|
+
return (_a = DEFAULT_PORTS[type]) != null ? _a : 5432;
|
|
1177
|
+
}
|
|
1178
|
+
function resolveRuntimeContext(input) {
|
|
1179
|
+
var _a;
|
|
1180
|
+
const providerKind = resolveConnectionProviderKind({
|
|
1181
|
+
type: input.type,
|
|
1182
|
+
method: input.method,
|
|
1183
|
+
providerKind: input.providerKind,
|
|
1184
|
+
managedSqlite: input.managedSqlite
|
|
1185
|
+
});
|
|
1186
|
+
const family = (_a = input.family) != null ? _a : resolveConnectionFamily({
|
|
1187
|
+
type: input.type,
|
|
1188
|
+
method: input.method,
|
|
1189
|
+
providerKind,
|
|
1190
|
+
managedSqlite: input.managedSqlite
|
|
1191
|
+
});
|
|
1192
|
+
return {
|
|
1193
|
+
providerKind,
|
|
1194
|
+
family
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
async function resolveHealthCheckConnection({
|
|
1198
|
+
url,
|
|
1199
|
+
type,
|
|
1200
|
+
method,
|
|
1201
|
+
host,
|
|
1202
|
+
port,
|
|
1203
|
+
username,
|
|
1204
|
+
password,
|
|
1205
|
+
database,
|
|
1206
|
+
serviceName,
|
|
1207
|
+
filePath,
|
|
1208
|
+
providerKind,
|
|
1209
|
+
family,
|
|
1210
|
+
managedSqlite,
|
|
1211
|
+
ssl,
|
|
1212
|
+
ssh
|
|
1213
|
+
}) {
|
|
1214
|
+
var _a;
|
|
1215
|
+
let sshTunnelClose;
|
|
1216
|
+
const runtimeContext = resolveRuntimeContext({
|
|
1217
|
+
type,
|
|
1218
|
+
method,
|
|
1219
|
+
providerKind,
|
|
1220
|
+
family,
|
|
1221
|
+
managedSqlite
|
|
1222
|
+
});
|
|
1223
|
+
assertSupportedConnectionRuntime(runtimeContext);
|
|
1224
|
+
if (method === EConnectionMethod.STRING) {
|
|
1225
|
+
if (!url) {
|
|
1226
|
+
throw new Error(
|
|
1227
|
+
"Missing connection string for string-based health check."
|
|
1228
|
+
);
|
|
1229
|
+
}
|
|
1230
|
+
return {
|
|
1231
|
+
connection: url,
|
|
1232
|
+
sshTunnelClose
|
|
1233
|
+
};
|
|
1234
|
+
}
|
|
1235
|
+
if (method === EConnectionMethod.FILE) {
|
|
1236
|
+
if (!filePath) {
|
|
1237
|
+
throw new Error("Missing file path for file-based health check.");
|
|
1238
|
+
}
|
|
1239
|
+
return {
|
|
1240
|
+
connection: {
|
|
1241
|
+
filename: filePath
|
|
1242
|
+
},
|
|
1243
|
+
sshTunnelClose
|
|
1244
|
+
};
|
|
1245
|
+
}
|
|
1246
|
+
if (method === EConnectionMethod.MANAGED) {
|
|
1247
|
+
if (!runtimeContext.providerKind || !isManagedSqliteProviderKind(runtimeContext.providerKind)) {
|
|
1248
|
+
throw new Error(
|
|
1249
|
+
"Managed SQLite health checks require a managed provider kind."
|
|
1250
|
+
);
|
|
1251
|
+
}
|
|
1252
|
+
if (!managedSqlite) {
|
|
1253
|
+
throw new Error(
|
|
1254
|
+
"Managed SQLite health checks require provider credentials."
|
|
1255
|
+
);
|
|
1256
|
+
}
|
|
1257
|
+
return {
|
|
1258
|
+
connection: createManagedSqliteConnectionString(
|
|
1259
|
+
runtimeContext.providerKind,
|
|
1260
|
+
managedSqlite
|
|
1261
|
+
),
|
|
1262
|
+
sshTunnelClose
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
if (!host) {
|
|
1266
|
+
throw new Error("Missing host for form-based health check.");
|
|
1267
|
+
}
|
|
1268
|
+
let finalHost = host;
|
|
1269
|
+
let finalPort = parseInt(port || `${getDefaultPort(type)}`, 10);
|
|
1270
|
+
if (ssh == null ? void 0 : ssh.enabled) {
|
|
1271
|
+
const tunnel = await createSshTunnel(ssh, host, finalPort);
|
|
1272
|
+
finalHost = tunnel.localHost;
|
|
1273
|
+
finalPort = tunnel.localPort;
|
|
1274
|
+
sshTunnelClose = tunnel.close;
|
|
1275
|
+
}
|
|
1276
|
+
const connection = {
|
|
1277
|
+
host: finalHost,
|
|
1278
|
+
port: finalPort,
|
|
1279
|
+
user: username,
|
|
1280
|
+
password
|
|
1281
|
+
};
|
|
1282
|
+
if (serviceName) {
|
|
1283
|
+
connection.database = serviceName;
|
|
1284
|
+
connection.serviceName = serviceName;
|
|
1285
|
+
} else if (database) {
|
|
1286
|
+
connection.database = database;
|
|
1287
|
+
}
|
|
1288
|
+
if ((ssl == null ? void 0 : ssl.mode) && ssl.mode !== "disable") {
|
|
1289
|
+
connection.ssl = {
|
|
1290
|
+
rejectUnauthorized: (_a = ssl.rejectUnauthorized) != null ? _a : true,
|
|
1291
|
+
ca: ssl.ca,
|
|
1292
|
+
cert: ssl.cert,
|
|
1293
|
+
key: ssl.key
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
return {
|
|
1297
|
+
connection,
|
|
1298
|
+
sshTunnelClose
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
258
1301
|
const getDatabaseSource = async ({
|
|
259
1302
|
dbConnectionString,
|
|
260
1303
|
type,
|
|
@@ -263,30 +1306,76 @@ const getDatabaseSource = async ({
|
|
|
263
1306
|
username,
|
|
264
1307
|
password,
|
|
265
1308
|
database,
|
|
1309
|
+
serviceName,
|
|
1310
|
+
filePath,
|
|
1311
|
+
providerKind,
|
|
1312
|
+
family,
|
|
1313
|
+
managedSqlite,
|
|
266
1314
|
ssl,
|
|
267
1315
|
ssh
|
|
268
1316
|
}) => {
|
|
269
1317
|
var _a;
|
|
270
|
-
|
|
1318
|
+
if (!type) {
|
|
1319
|
+
throw new Error("Database type is required to resolve a database adapter.");
|
|
1320
|
+
}
|
|
1321
|
+
const dbType = type;
|
|
1322
|
+
const method = filePath ? EConnectionMethod.FILE : providerKind && isManagedSqliteProviderKind(providerKind) ? EConnectionMethod.MANAGED : managedSqlite && isManagedSqliteProviderKind(
|
|
1323
|
+
resolveConnectionProviderKind({
|
|
1324
|
+
type: dbType,
|
|
1325
|
+
method: EConnectionMethod.MANAGED,
|
|
1326
|
+
providerKind,
|
|
1327
|
+
managedSqlite
|
|
1328
|
+
})
|
|
1329
|
+
) ? EConnectionMethod.MANAGED : dbConnectionString ? EConnectionMethod.STRING : EConnectionMethod.FORM;
|
|
1330
|
+
const runtimeContext = resolveRuntimeContext({
|
|
1331
|
+
type: dbType,
|
|
1332
|
+
method,
|
|
1333
|
+
providerKind,
|
|
1334
|
+
family,
|
|
1335
|
+
managedSqlite
|
|
1336
|
+
});
|
|
1337
|
+
assertSupportedConnectionRuntime(runtimeContext);
|
|
271
1338
|
let finalConnection = dbConnectionString;
|
|
272
1339
|
let cacheKey = `${dbType}://${dbConnectionString}`;
|
|
273
1340
|
let sshTunnelClose;
|
|
274
|
-
|
|
1341
|
+
const targetName = serviceName || database || "";
|
|
1342
|
+
if (!dbConnectionString && filePath) {
|
|
1343
|
+
finalConnection = {
|
|
1344
|
+
filename: filePath
|
|
1345
|
+
};
|
|
1346
|
+
cacheKey = `${dbType}://${filePath}`;
|
|
1347
|
+
} else if (method === EConnectionMethod.MANAGED && runtimeContext.providerKind && managedSqlite) {
|
|
1348
|
+
finalConnection = createManagedSqliteConnectionString(
|
|
1349
|
+
runtimeContext.providerKind,
|
|
1350
|
+
managedSqlite
|
|
1351
|
+
);
|
|
1352
|
+
cacheKey = `${runtimeContext.providerKind}://${finalConnection}`;
|
|
1353
|
+
} else if (!dbConnectionString && host) {
|
|
275
1354
|
let finalHost = host;
|
|
276
|
-
let finalPort = parseInt(port ||
|
|
1355
|
+
let finalPort = parseInt(port || `${getDefaultPort(dbType)}`, 10);
|
|
277
1356
|
if (ssh == null ? void 0 : ssh.enabled) {
|
|
278
1357
|
const tunnel = await createSshTunnel(ssh, host, finalPort);
|
|
279
1358
|
finalHost = tunnel.localHost;
|
|
280
1359
|
finalPort = tunnel.localPort;
|
|
281
1360
|
sshTunnelClose = tunnel.close;
|
|
282
1361
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
1362
|
+
if (dbType === DatabaseClientType.ORACLE) {
|
|
1363
|
+
finalConnection = {
|
|
1364
|
+
user: username,
|
|
1365
|
+
password,
|
|
1366
|
+
connectString: `${finalHost}:${finalPort}/${targetName}`,
|
|
1367
|
+
serviceName: targetName,
|
|
1368
|
+
database: targetName
|
|
1369
|
+
};
|
|
1370
|
+
} else {
|
|
1371
|
+
finalConnection = {
|
|
1372
|
+
host: finalHost,
|
|
1373
|
+
port: finalPort,
|
|
1374
|
+
user: username,
|
|
1375
|
+
password,
|
|
1376
|
+
database: targetName
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
290
1379
|
if ((ssl == null ? void 0 : ssl.mode) && ssl.mode !== "disable") {
|
|
291
1380
|
finalConnection.ssl = {
|
|
292
1381
|
rejectUnauthorized: (_a = ssl.rejectUnauthorized) != null ? _a : true,
|
|
@@ -295,14 +1384,17 @@ const getDatabaseSource = async ({
|
|
|
295
1384
|
key: ssl.key
|
|
296
1385
|
};
|
|
297
1386
|
}
|
|
298
|
-
cacheKey = `${dbType}://${username}@${host}:${
|
|
1387
|
+
cacheKey = `${dbType}://${username}@${host}:${finalPort}/${targetName}${(ssh == null ? void 0 : ssh.enabled) ? "-ssh" : ""}${(ssl == null ? void 0 : ssl.mode) ? `-${ssl.mode}` : ""}`;
|
|
299
1388
|
}
|
|
300
1389
|
let cached = adapterCache.get(cacheKey);
|
|
301
1390
|
if (cached) {
|
|
302
1391
|
cached.lastUsed = Date.now();
|
|
303
1392
|
return cached.adapter;
|
|
304
1393
|
}
|
|
305
|
-
const newAdapter = createDatabaseAdapter(dbType, finalConnection
|
|
1394
|
+
const newAdapter = createDatabaseAdapter(dbType, finalConnection, {
|
|
1395
|
+
providerKind: runtimeContext.providerKind,
|
|
1396
|
+
managedSqlite
|
|
1397
|
+
});
|
|
306
1398
|
adapterCache.set(cacheKey, {
|
|
307
1399
|
adapter: newAdapter,
|
|
308
1400
|
lastUsed: Date.now(),
|
|
@@ -312,55 +1404,84 @@ const getDatabaseSource = async ({
|
|
|
312
1404
|
};
|
|
313
1405
|
async function healthCheckConnection({
|
|
314
1406
|
url,
|
|
315
|
-
type
|
|
1407
|
+
type,
|
|
1408
|
+
method,
|
|
316
1409
|
host,
|
|
317
1410
|
port,
|
|
318
1411
|
username,
|
|
319
1412
|
password,
|
|
320
1413
|
database,
|
|
1414
|
+
serviceName,
|
|
1415
|
+
filePath,
|
|
1416
|
+
providerKind,
|
|
1417
|
+
family,
|
|
1418
|
+
managedSqlite,
|
|
321
1419
|
ssl,
|
|
322
1420
|
ssh
|
|
323
1421
|
}) {
|
|
324
|
-
var _a;
|
|
325
1422
|
let sshTunnelClose;
|
|
326
1423
|
try {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
host
|
|
339
|
-
port
|
|
340
|
-
|
|
1424
|
+
const runtimeContext = resolveRuntimeContext({
|
|
1425
|
+
type,
|
|
1426
|
+
method,
|
|
1427
|
+
providerKind,
|
|
1428
|
+
family,
|
|
1429
|
+
managedSqlite
|
|
1430
|
+
});
|
|
1431
|
+
if (runtimeContext.family === EConnectionFamily.REDIS) {
|
|
1432
|
+
const isConnected2 = await pingRedisConnection({
|
|
1433
|
+
method,
|
|
1434
|
+
url,
|
|
1435
|
+
host,
|
|
1436
|
+
port,
|
|
1437
|
+
username,
|
|
341
1438
|
password,
|
|
342
|
-
database
|
|
1439
|
+
database,
|
|
1440
|
+
ssl,
|
|
1441
|
+
ssh
|
|
1442
|
+
});
|
|
1443
|
+
return {
|
|
1444
|
+
isConnectedSuccess: isConnected2
|
|
343
1445
|
};
|
|
344
|
-
if ((ssl == null ? void 0 : ssl.mode) && ssl.mode !== "disable") {
|
|
345
|
-
finalConnection.ssl = {
|
|
346
|
-
rejectUnauthorized: (_a = ssl.rejectUnauthorized) != null ? _a : true,
|
|
347
|
-
ca: ssl.ca,
|
|
348
|
-
cert: ssl.cert,
|
|
349
|
-
key: ssl.key
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
1446
|
}
|
|
353
|
-
const
|
|
1447
|
+
const resolvedConnection = await resolveHealthCheckConnection({
|
|
1448
|
+
url,
|
|
1449
|
+
type,
|
|
1450
|
+
method,
|
|
1451
|
+
host,
|
|
1452
|
+
port,
|
|
1453
|
+
username,
|
|
1454
|
+
password,
|
|
1455
|
+
database,
|
|
1456
|
+
serviceName,
|
|
1457
|
+
filePath,
|
|
1458
|
+
providerKind,
|
|
1459
|
+
family,
|
|
1460
|
+
managedSqlite,
|
|
1461
|
+
ssl,
|
|
1462
|
+
ssh
|
|
1463
|
+
});
|
|
1464
|
+
const { connection } = resolvedConnection;
|
|
1465
|
+
sshTunnelClose = resolvedConnection.sshTunnelClose;
|
|
1466
|
+
const adapter = createDatabaseAdapter(type, connection, {
|
|
1467
|
+
providerKind: runtimeContext.providerKind,
|
|
1468
|
+
managedSqlite
|
|
1469
|
+
});
|
|
354
1470
|
const isConnected = await adapter.healthCheck();
|
|
355
1471
|
await adapter.destroy();
|
|
356
1472
|
if (sshTunnelClose) await sshTunnelClose();
|
|
357
|
-
return
|
|
1473
|
+
return {
|
|
1474
|
+
isConnectedSuccess: isConnected
|
|
1475
|
+
};
|
|
358
1476
|
} catch (error) {
|
|
359
1477
|
console.error("Database connection failed:", error);
|
|
360
1478
|
if (sshTunnelClose) await sshTunnelClose();
|
|
361
|
-
return
|
|
1479
|
+
return {
|
|
1480
|
+
isConnectedSuccess: false,
|
|
1481
|
+
message: (error == null ? void 0 : error.message) || "Database connection failed"
|
|
1482
|
+
};
|
|
362
1483
|
}
|
|
363
1484
|
}
|
|
364
1485
|
|
|
365
|
-
export { DatabaseClientType as D, getDatabaseSource as g, healthCheckConnection as h };
|
|
1486
|
+
export { DatabaseClientType as D, MAX_RENDER_LIMIT as M, isMutationSql as a, MAX_EXPORT_LIMIT as b, clampLimit as c, getDatabaseSource as d, normalizeMysqlFields as e, normalizeOracleFields as f, getQualifiedTableName as g, healthCheckConnection as h, isSelectLikeSql as i, normalizeSql as n, quoteIdentifier as q, resolveFieldType as r };
|
|
366
1487
|
//# sourceMappingURL=db-connection.mjs.map
|