@geekmidas/cli 10.0.0-alpha.166 → 10.0.0-alpha.168
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/dist/{EndpointGenerator-DxrRqfJ3.cjs → EndpointGenerator-C1h_wExz.cjs} +2 -2
- package/dist/{EndpointGenerator-DxrRqfJ3.cjs.map → EndpointGenerator-C1h_wExz.cjs.map} +1 -1
- package/dist/{EndpointGenerator-B5BKAoLz.mjs → EndpointGenerator-CSKhAD6W.mjs} +2 -2
- package/dist/{EndpointGenerator-B5BKAoLz.mjs.map → EndpointGenerator-CSKhAD6W.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-mnY-cdD2.mjs → GoDaddyProvider-CJIYlkUN.mjs} +2 -2
- package/dist/{GoDaddyProvider-mnY-cdD2.mjs.map → GoDaddyProvider-CJIYlkUN.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DClFHezd.cjs → GoDaddyProvider-CYAlIeML.cjs} +2 -2
- package/dist/{GoDaddyProvider-DClFHezd.cjs.map → GoDaddyProvider-CYAlIeML.cjs.map} +1 -1
- package/dist/{HostingerProvider-BMyz2LnZ.cjs → HostingerProvider-Ceqc_nlG.cjs} +2 -2
- package/dist/{HostingerProvider-BMyz2LnZ.cjs.map → HostingerProvider-Ceqc_nlG.cjs.map} +1 -1
- package/dist/{HostingerProvider-39eSGyBa.mjs → HostingerProvider-Tb0bnTpM.mjs} +2 -2
- package/dist/{HostingerProvider-39eSGyBa.mjs.map → HostingerProvider-Tb0bnTpM.mjs.map} +1 -1
- package/dist/{LegacyStateStore-BJY7ntQk.cjs → LegacyStateStore-Ci-CRqt2.cjs} +2 -2
- package/dist/{LegacyStateStore-BJY7ntQk.cjs.map → LegacyStateStore-Ci-CRqt2.cjs.map} +1 -1
- package/dist/{LegacyStateStore-B2TBaSMq.mjs → LegacyStateStore-DJWY64Jj.mjs} +2 -2
- package/dist/{LegacyStateStore-B2TBaSMq.mjs.map → LegacyStateStore-DJWY64Jj.mjs.map} +1 -1
- package/dist/{LocalStateStore-8LFd-aMA.mjs → LocalStateStore-BFgjv29N.mjs} +2 -2
- package/dist/{LocalStateStore-8LFd-aMA.mjs.map → LocalStateStore-BFgjv29N.mjs.map} +1 -1
- package/dist/{LocalStateStore-BvoEjPi5.cjs → LocalStateStore-Enw_wV7d.cjs} +2 -2
- package/dist/{LocalStateStore-BvoEjPi5.cjs.map → LocalStateStore-Enw_wV7d.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs → OpenApiTsGenerator-5xPn-p65.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs.map → OpenApiTsGenerator-5xPn-p65.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs → OpenApiTsGenerator-CzrLGzC0.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs.map → OpenApiTsGenerator-CzrLGzC0.cjs.map} +1 -1
- package/dist/{S3StateStore-eeA5NXRa.cjs → S3StateStore-B48M3z7L.cjs} +4 -4
- package/dist/{S3StateStore-eeA5NXRa.cjs.map → S3StateStore-B48M3z7L.cjs.map} +1 -1
- package/dist/{S3StateStore-DMzsqfSa.mjs → S3StateStore-Cwfd-ZnJ.mjs} +4 -4
- package/dist/{S3StateStore-DMzsqfSa.mjs.map → S3StateStore-Cwfd-ZnJ.mjs.map} +1 -1
- package/dist/{SSMStateStore-BUv-du0T.cjs → SSMStateStore-CuBe-NK5.cjs} +2 -2
- package/dist/{SSMStateStore-BUv-du0T.cjs.map → SSMStateStore-CuBe-NK5.cjs.map} +1 -1
- package/dist/{SSMStateStore-CE2DTAtT.mjs → SSMStateStore-DYgE98Sm.mjs} +2 -2
- package/dist/{SSMStateStore-CE2DTAtT.mjs.map → SSMStateStore-DYgE98Sm.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-BybB6uez.mjs → SubscriberGenerator-CfZWX0lT.mjs} +6 -6
- package/dist/SubscriberGenerator-CfZWX0lT.mjs.map +1 -0
- package/dist/{SubscriberGenerator-mZpSuSU7.cjs → SubscriberGenerator-DMi4siph.cjs} +5 -5
- package/dist/SubscriberGenerator-DMi4siph.cjs.map +1 -0
- package/dist/{add-Dp0KQNkQ.cjs → add-4AT0LlDK.cjs} +11 -11
- package/dist/add-4AT0LlDK.cjs.map +1 -0
- package/dist/{add-BgCYGJpE.mjs → add-C85tazt0.mjs} +12 -12
- package/dist/add-C85tazt0.mjs.map +1 -0
- package/dist/{apps-DkMR-qvD.cjs → apps-By6pnfzA.cjs} +99 -45
- package/dist/apps-By6pnfzA.cjs.map +1 -0
- package/dist/{apps-CJTOIaz3.mjs → apps-CWGmV2nQ.mjs} +99 -46
- package/dist/apps-CWGmV2nQ.mjs.map +1 -0
- package/dist/{bundler-Dt1ffXl6.mjs → bundler-B9rkNGpK.mjs} +6 -6
- package/dist/{bundler-Dt1ffXl6.mjs.map → bundler-B9rkNGpK.mjs.map} +1 -1
- package/dist/{bundler-CA7KimJ0.cjs → bundler-DPBLrtjT.cjs} +6 -6
- package/dist/{bundler-CA7KimJ0.cjs.map → bundler-DPBLrtjT.cjs.map} +1 -1
- package/dist/{cli-CY1Cp8yN.cjs → cli-BnWRqhwx.cjs} +4 -4
- package/dist/{cli-CY1Cp8yN.cjs.map → cli-BnWRqhwx.cjs.map} +1 -1
- package/dist/{cli-C-fdEb8N.mjs → cli-DgL0QED8.mjs} +4 -4
- package/dist/{cli-C-fdEb8N.mjs.map → cli-DgL0QED8.mjs.map} +1 -1
- package/dist/{compose-SmuCWWUh.cjs → compose-CLM-sqgE.cjs} +76 -11
- package/dist/compose-CLM-sqgE.cjs.map +1 -0
- package/dist/{compose-tX6YTa1U.mjs → compose-CcK-QoYU.mjs} +66 -13
- package/dist/compose-CcK-QoYU.mjs.map +1 -0
- package/dist/{compose-CZGeE6QJ.mjs → compose-DuRBnjxx.mjs} +9 -9
- package/dist/compose-DuRBnjxx.mjs.map +1 -0
- package/dist/{compose-BIm9yNH7.cjs → compose-DwjaxFFK.cjs} +8 -8
- package/dist/compose-DwjaxFFK.cjs.map +1 -0
- package/dist/config.cjs +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{credentialSchemas-mz9QZTYh.mjs → credentialSchemas-BzJiK1nQ.mjs} +4 -4
- package/dist/credentialSchemas-BzJiK1nQ.mjs.map +1 -0
- package/dist/{credentialSchemas-BAklWDna.cjs → credentialSchemas-OVXofU-r.cjs} +3 -3
- package/dist/credentialSchemas-OVXofU-r.cjs.map +1 -0
- package/dist/{credentials-CS3Dr-pv.cjs → credentials-CCCAy3NL.cjs} +7 -7
- package/dist/{credentials-CS3Dr-pv.cjs.map → credentials-CCCAy3NL.cjs.map} +1 -1
- package/dist/{credentials-V3WgiKmZ.mjs → credentials-CeCOEKP3.mjs} +7 -7
- package/dist/{credentials-V3WgiKmZ.mjs.map → credentials-CeCOEKP3.mjs.map} +1 -1
- package/dist/{databases-CrKh5jw6.cjs → databases-CuTL1e7s.cjs} +3 -3
- package/dist/databases-CuTL1e7s.cjs.map +1 -0
- package/dist/{databases-C1qqNxTu.mjs → databases-zN-gEox0.mjs} +4 -4
- package/dist/databases-zN-gEox0.mjs.map +1 -0
- package/dist/deploy/public.cjs +12 -12
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +12 -12
- package/dist/{deploy--ia-CGMv.cjs → deploy-Dy5jyciI.cjs} +123 -38
- package/dist/deploy-Dy5jyciI.cjs.map +1 -0
- package/dist/{deploy-BWFFSN5p.mjs → deploy-F6GA-u59.mjs} +124 -39
- package/dist/deploy-F6GA-u59.mjs.map +1 -0
- package/dist/{destroy-CrxF8Dlk.cjs → destroy-B7-8EgCJ.cjs} +9 -9
- package/dist/{destroy-CrxF8Dlk.cjs.map → destroy-B7-8EgCJ.cjs.map} +1 -1
- package/dist/{destroy-ZNiKL3--.mjs → destroy-Gyxrl5yO.mjs} +9 -9
- package/dist/{destroy-ZNiKL3--.mjs.map → destroy-Gyxrl5yO.mjs.map} +1 -1
- package/dist/{discover-CRywE7yc.cjs → discover-39VKSE2i.cjs} +5 -5
- package/dist/discover-39VKSE2i.cjs.map +1 -0
- package/dist/{discover-DbDrCQ8h.mjs → discover-B_PDDaVj.mjs} +6 -6
- package/dist/discover-B_PDDaVj.mjs.map +1 -0
- package/dist/{docker-DhmU416x.mjs → docker-COHyyOkv.mjs} +16 -12
- package/dist/docker-COHyyOkv.mjs.map +1 -0
- package/dist/{docker-BtUjo-J_.cjs → docker-CP4bspkW.cjs} +15 -11
- package/dist/docker-CP4bspkW.cjs.map +1 -0
- package/dist/{dokploy-ComPiFLl.cjs → dokploy-C7ampvzk.cjs} +2 -2
- package/dist/{dokploy-ComPiFLl.cjs.map → dokploy-C7ampvzk.cjs.map} +1 -1
- package/dist/{dokploy-BszAUbbA.mjs → dokploy-DBmB9vWu.mjs} +2 -2
- package/dist/{dokploy-BszAUbbA.mjs.map → dokploy-DBmB9vWu.mjs.map} +1 -1
- package/dist/{eas-zxVAWY6c.cjs → eas-CbnTdz8d.cjs} +3 -3
- package/dist/{eas-zxVAWY6c.cjs.map → eas-CbnTdz8d.cjs.map} +1 -1
- package/dist/{eas-DQudP2g2.mjs → eas-EXRkhGSM.mjs} +3 -3
- package/dist/{eas-DQudP2g2.mjs.map → eas-EXRkhGSM.mjs.map} +1 -1
- package/dist/{encryption-CU5O0Y61.cjs → encryption-CdDDSAu_.cjs} +4 -4
- package/dist/encryption-CdDDSAu_.cjs.map +1 -0
- package/dist/{encryption-BCaweYBJ.mjs → encryption-lLZV2eMs.mjs} +5 -5
- package/dist/encryption-lLZV2eMs.mjs.map +1 -0
- package/dist/{engine-xrlcbr1g.cjs → engine-Cg92m1Xf.cjs} +38 -38
- package/dist/engine-Cg92m1Xf.cjs.map +1 -0
- package/dist/{engine-BzeCK6e8.mjs → engine-ZzUy2czq.mjs} +39 -39
- package/dist/engine-ZzUy2czq.mjs.map +1 -0
- package/dist/{github-Jcrqfzg0.cjs → github-BHqRcUgU.cjs} +8 -8
- package/dist/{github-Jcrqfzg0.cjs.map → github-BHqRcUgU.cjs.map} +1 -1
- package/dist/{github-CHClpJZS.mjs → github-CPpJmNgV.mjs} +8 -8
- package/dist/{github-CHClpJZS.mjs.map → github-CPpJmNgV.mjs.map} +1 -1
- package/dist/{googlePlay-e_tIBr4n.cjs → googlePlay-DRz0ya3q.cjs} +4 -4
- package/dist/{googlePlay-e_tIBr4n.cjs.map → googlePlay-DRz0ya3q.cjs.map} +1 -1
- package/dist/{googlePlay-Dk_pnif9.mjs → googlePlay-Dg-0ASWN.mjs} +4 -4
- package/dist/{googlePlay-Dk_pnif9.mjs.map → googlePlay-Dg-0ASWN.mjs.map} +1 -1
- package/dist/{iam-BKfO7u14.mjs → iam-CLIne3Ny.mjs} +2 -2
- package/dist/{iam-BKfO7u14.mjs.map → iam-CLIne3Ny.mjs.map} +1 -1
- package/dist/{iam-B6WLUf_x.cjs → iam-b4IvC1fm.cjs} +2 -2
- package/dist/{iam-B6WLUf_x.cjs.map → iam-b4IvC1fm.cjs.map} +1 -1
- package/dist/index.cjs +367 -128
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +368 -129
- package/dist/index.mjs.map +1 -1
- package/dist/{local-Dc2h2Ex3.cjs → local-BIrl0ENw.cjs} +3 -3
- package/dist/{local-Dc2h2Ex3.cjs.map → local-BIrl0ENw.cjs.map} +1 -1
- package/dist/{local-DUi3f-WB.mjs → local-Cin6exc0.mjs} +3 -3
- package/dist/{local-DUi3f-WB.mjs.map → local-Cin6exc0.mjs.map} +1 -1
- package/dist/{migrate-BU4eyd7z.cjs → migrate-BtkwylxW.cjs} +7 -7
- package/dist/{migrate-BU4eyd7z.cjs.map → migrate-BtkwylxW.cjs.map} +1 -1
- package/dist/{migrate-CIjcBr96.cjs → migrate-CxI07Ey0.cjs} +3 -3
- package/dist/{migrate-CIjcBr96.cjs.map → migrate-CxI07Ey0.cjs.map} +1 -1
- package/dist/{migrate-BxFCXc7M.mjs → migrate-DEU8I8sQ.mjs} +7 -7
- package/dist/{migrate-BxFCXc7M.mjs.map → migrate-DEU8I8sQ.mjs.map} +1 -1
- package/dist/{migrate-CbpeVxEW.mjs → migrate-DpLMJLCw.mjs} +3 -3
- package/dist/{migrate-CbpeVxEW.mjs.map → migrate-DpLMJLCw.mjs.map} +1 -1
- package/dist/next.cjs +59 -0
- package/dist/next.cjs.map +1 -0
- package/dist/next.d.cts +44 -0
- package/dist/next.d.cts.map +1 -0
- package/dist/next.d.mts +44 -0
- package/dist/next.d.mts.map +1 -0
- package/dist/next.mjs +58 -0
- package/dist/next.mjs.map +1 -0
- package/dist/{notes-TDHMzdVt.mjs → notes-or_kXTal.mjs} +13 -13
- package/dist/notes-or_kXTal.mjs.map +1 -0
- package/dist/{notes-DJyFkK13.cjs → notes-rTfi6rfN.cjs} +12 -12
- package/dist/notes-rTfi6rfN.cjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.mjs +3 -3
- package/dist/{projectBucket-CoskwJC5.cjs → projectBucket-CRa1b1Td.cjs} +2 -2
- package/dist/{projectBucket-CoskwJC5.cjs.map → projectBucket-CRa1b1Td.cjs.map} +1 -1
- package/dist/{projectBucket-BPzx0b0t.mjs → projectBucket-Coh5K3-g.mjs} +2 -2
- package/dist/{projectBucket-BPzx0b0t.mjs.map → projectBucket-Coh5K3-g.mjs.map} +1 -1
- package/dist/{publish-LZ1eb-MI.mjs → publish-Bwhywmpz.mjs} +2 -2
- package/dist/{publish-LZ1eb-MI.mjs.map → publish-Bwhywmpz.mjs.map} +1 -1
- package/dist/{publish-DB3-zkpm.cjs → publish-D9Yl4AzW.cjs} +2 -2
- package/dist/{publish-DB3-zkpm.cjs.map → publish-D9Yl4AzW.cjs.map} +1 -1
- package/dist/{ready-BjFMu_1J.mjs → ready-COJHr1Yi.mjs} +9 -9
- package/dist/ready-COJHr1Yi.mjs.map +1 -0
- package/dist/{ready-eVMJIcWn.cjs → ready-DcD0SCnV.cjs} +8 -8
- package/dist/ready-DcD0SCnV.cjs.map +1 -0
- package/dist/reconcile/public.cjs +1 -1
- package/dist/reconcile/public.mjs +1 -1
- package/dist/{resolve-jez3Y1S0.mjs → resolve-B9tboVm2.mjs} +4 -4
- package/dist/{resolve-jez3Y1S0.mjs.map → resolve-B9tboVm2.mjs.map} +1 -1
- package/dist/{resolve-B5_tOTJG.cjs → resolve-BrJUFIUu.cjs} +4 -4
- package/dist/{resolve-B5_tOTJG.cjs.map → resolve-BrJUFIUu.cjs.map} +1 -1
- package/dist/{rollback-BNo1bCLO.cjs → rollback-D48bPMpD.cjs} +7 -7
- package/dist/{rollback-BNo1bCLO.cjs.map → rollback-D48bPMpD.cjs.map} +1 -1
- package/dist/{rollback-BtOfxwo-.mjs → rollback-M6b0z1tp.mjs} +7 -7
- package/dist/{rollback-BtOfxwo-.mjs.map → rollback-M6b0z1tp.mjs.map} +1 -1
- package/dist/{s3-BlPwyu1L.cjs → s3-3iS3jlKU.cjs} +3 -3
- package/dist/{s3-BlPwyu1L.cjs.map → s3-3iS3jlKU.cjs.map} +1 -1
- package/dist/{s3-Bf_75vVl.mjs → s3-CNOSRjqH.mjs} +3 -3
- package/dist/{s3-Bf_75vVl.mjs.map → s3-CNOSRjqH.mjs.map} +1 -1
- package/dist/sandbox/credentials-worker.cjs +2 -2
- package/dist/sandbox/credentials-worker.mjs +2 -2
- package/dist/sandbox/discover-worker.cjs +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -1
- package/dist/sandbox/migrate-worker.cjs +2 -2
- package/dist/sandbox/migrate-worker.mjs +2 -2
- package/dist/{serverSetup-D0Zor2i4.mjs → serverSetup-CzLJ_RV0.mjs} +6 -6
- package/dist/{serverSetup-D0Zor2i4.mjs.map → serverSetup-CzLJ_RV0.mjs.map} +1 -1
- package/dist/{serverSetup-D30vVD6t.cjs → serverSetup-DnOdoucM.cjs} +6 -6
- package/dist/{serverSetup-D30vVD6t.cjs.map → serverSetup-DnOdoucM.cjs.map} +1 -1
- package/dist/{sniffer-Bw00z3I8.cjs → sniffer-C5F7uYQB.cjs} +8 -8
- package/dist/{sniffer-Bw00z3I8.cjs.map → sniffer-C5F7uYQB.cjs.map} +1 -1
- package/dist/{sniffer-DdPDiNmc.mjs → sniffer-yeftYpWK.mjs} +8 -8
- package/dist/{sniffer-DdPDiNmc.mjs.map → sniffer-yeftYpWK.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DBxVTR6Y.mjs → snsSubscriptions-CXRa_bwG.mjs} +3 -3
- package/dist/{snsSubscriptions-DBxVTR6Y.mjs.map → snsSubscriptions-CXRa_bwG.mjs.map} +1 -1
- package/dist/{snsSubscriptions-g7apv_fy.cjs → snsSubscriptions-CXwELBil.cjs} +3 -3
- package/dist/{snsSubscriptions-g7apv_fy.cjs.map → snsSubscriptions-CXwELBil.cjs.map} +1 -1
- package/dist/{sst-DJ22YDEq.mjs → sst-BAQrBaGa.mjs} +6 -6
- package/dist/{sst-DJ22YDEq.mjs.map → sst-BAQrBaGa.mjs.map} +1 -1
- package/dist/{sst-CEs0bMxj.cjs → sst-B_srWo15.cjs} +6 -6
- package/dist/{sst-CEs0bMxj.cjs.map → sst-B_srWo15.cjs.map} +1 -1
- package/dist/{stack-BmG-lKgD.cjs → stack-DaJ9D2Uc.cjs} +20 -20
- package/dist/stack-DaJ9D2Uc.cjs.map +1 -0
- package/dist/{stack-Ds9jjpE1.mjs → stack-t2tN1jYo.mjs} +21 -21
- package/dist/stack-t2tN1jYo.mjs.map +1 -0
- package/dist/{stage-D9dfV1Ey.mjs → stage-B4gqRg7l.mjs} +7 -7
- package/dist/{stage-D9dfV1Ey.mjs.map → stage-B4gqRg7l.mjs.map} +1 -1
- package/dist/{stage-kGc9L3yB.cjs → stage-Clk6oQO_.cjs} +7 -7
- package/dist/{stage-kGc9L3yB.cjs.map → stage-Clk6oQO_.cjs.map} +1 -1
- package/dist/{stages-BL22BLJS.mjs → stages-D1rnfO18.mjs} +2 -2
- package/dist/{stages-BL22BLJS.mjs.map → stages-D1rnfO18.mjs.map} +1 -1
- package/dist/{stages-CN53nNOK.cjs → stages-afi9P-Cd.cjs} +2 -2
- package/dist/{stages-CN53nNOK.cjs.map → stages-afi9P-Cd.cjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-C0A7S7fB.mjs → terminal-D4kY5oz7.mjs} +3 -3
- package/dist/{terminal-C0A7S7fB.mjs.map → terminal-D4kY5oz7.mjs.map} +1 -1
- package/dist/{terminal-DVlIWcUb.cjs → terminal-JAudEZRC.cjs} +3 -3
- package/dist/{terminal-DVlIWcUb.cjs.map → terminal-JAudEZRC.cjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-D4hzz6Xb.mjs → workspace-Gubg8xLJ.mjs} +8 -9
- package/dist/workspace-Gubg8xLJ.mjs.map +1 -0
- package/dist/{workspace-DPSdiv-b.cjs → workspace-p7gmCQVS.cjs} +7 -8
- package/dist/workspace-p7gmCQVS.cjs.map +1 -0
- package/package.json +25 -15
- package/dist/SubscriberGenerator-BybB6uez.mjs.map +0 -1
- package/dist/SubscriberGenerator-mZpSuSU7.cjs.map +0 -1
- package/dist/add-BgCYGJpE.mjs.map +0 -1
- package/dist/add-Dp0KQNkQ.cjs.map +0 -1
- package/dist/apps-CJTOIaz3.mjs.map +0 -1
- package/dist/apps-DkMR-qvD.cjs.map +0 -1
- package/dist/compose-BIm9yNH7.cjs.map +0 -1
- package/dist/compose-CZGeE6QJ.mjs.map +0 -1
- package/dist/compose-SmuCWWUh.cjs.map +0 -1
- package/dist/compose-tX6YTa1U.mjs.map +0 -1
- package/dist/credentialSchemas-BAklWDna.cjs.map +0 -1
- package/dist/credentialSchemas-mz9QZTYh.mjs.map +0 -1
- package/dist/databases-C1qqNxTu.mjs.map +0 -1
- package/dist/databases-CrKh5jw6.cjs.map +0 -1
- package/dist/deploy--ia-CGMv.cjs.map +0 -1
- package/dist/deploy-BWFFSN5p.mjs.map +0 -1
- package/dist/discover-CRywE7yc.cjs.map +0 -1
- package/dist/discover-DbDrCQ8h.mjs.map +0 -1
- package/dist/docker-BtUjo-J_.cjs.map +0 -1
- package/dist/docker-DhmU416x.mjs.map +0 -1
- package/dist/encryption-BCaweYBJ.mjs.map +0 -1
- package/dist/encryption-CU5O0Y61.cjs.map +0 -1
- package/dist/engine-BzeCK6e8.mjs.map +0 -1
- package/dist/engine-xrlcbr1g.cjs.map +0 -1
- package/dist/notes-DJyFkK13.cjs.map +0 -1
- package/dist/notes-TDHMzdVt.mjs.map +0 -1
- package/dist/ready-BjFMu_1J.mjs.map +0 -1
- package/dist/ready-eVMJIcWn.cjs.map +0 -1
- package/dist/stack-BmG-lKgD.cjs.map +0 -1
- package/dist/stack-Ds9jjpE1.mjs.map +0 -1
- package/dist/workspace-D4hzz6Xb.mjs.map +0 -1
- package/dist/workspace-DPSdiv-b.cjs.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
2
2
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
3
|
-
const require_credentials = require("./credentials-
|
|
4
|
-
const require_workspace = require("./workspace-
|
|
5
|
-
const require_compose = require("./compose-
|
|
6
|
-
const require_SubscriberGenerator = require("./SubscriberGenerator-
|
|
3
|
+
const require_credentials = require("./credentials-CCCAy3NL.cjs");
|
|
4
|
+
const require_workspace = require("./workspace-p7gmCQVS.cjs");
|
|
5
|
+
const require_compose = require("./compose-DwjaxFFK.cjs");
|
|
6
|
+
const require_SubscriberGenerator = require("./SubscriberGenerator-DMi4siph.cjs");
|
|
7
7
|
const require_types = require("./types-Bl_CwZC9.cjs");
|
|
8
|
-
const require_EndpointGenerator = require("./EndpointGenerator-
|
|
9
|
-
const require_discover = require("./discover-
|
|
8
|
+
const require_EndpointGenerator = require("./EndpointGenerator-C1h_wExz.cjs");
|
|
9
|
+
const require_discover = require("./discover-39VKSE2i.cjs");
|
|
10
10
|
let node_path = require("node:path");
|
|
11
11
|
let node_fs = require("node:fs");
|
|
12
12
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -23,6 +23,8 @@ let _geekmidas_events_sns_url = require("@geekmidas/events/sns/url");
|
|
|
23
23
|
_geekmidas_events_sns_url = require_rolldown_runtime.__toESM(_geekmidas_events_sns_url, 1);
|
|
24
24
|
let _geekmidas_events_sqs_url = require("@geekmidas/events/sqs/url");
|
|
25
25
|
_geekmidas_events_sqs_url = require_rolldown_runtime.__toESM(_geekmidas_events_sqs_url, 1);
|
|
26
|
+
let _geekmidas_storage_s3_url = require("@geekmidas/storage/s3-url");
|
|
27
|
+
_geekmidas_storage_s3_url = require_rolldown_runtime.__toESM(_geekmidas_storage_s3_url, 1);
|
|
26
28
|
let _geekmidas_cache_postgres = require("@geekmidas/cache/postgres");
|
|
27
29
|
let node_util = require("node:util");
|
|
28
30
|
let node_forge = require("node-forge");
|
|
@@ -54,6 +56,9 @@ function deploysWithCompose(workspace) {
|
|
|
54
56
|
* gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/auth-database.sql.gz
|
|
55
57
|
* ```
|
|
56
58
|
*
|
|
59
|
+
* Beside the runs, `imports/` holds files prepared by hand for
|
|
60
|
+
* `gkm backup:restore --from` — never listed as a run, never expired.
|
|
61
|
+
*
|
|
57
62
|
* The file is named after the database's construct, the way its migrations
|
|
58
63
|
* folder is: `AuthDatabase` is `db/auth-database`, and `auth-database.sql.gz`.
|
|
59
64
|
*/
|
|
@@ -124,6 +129,10 @@ function backupDatabases(resources) {
|
|
|
124
129
|
* deployed stage each time, never from the stage being deployed alone: one
|
|
125
130
|
* stage's deploy keeps every other's rule. A stage set to `false` has none,
|
|
126
131
|
* and its backups are kept until someone deletes them.
|
|
132
|
+
*
|
|
133
|
+
* The rule covers the runs and nothing else beside them: a lifecycle filter
|
|
134
|
+
* cannot leave a folder out, so it matches what every run folder starts
|
|
135
|
+
* with — its year, `2…` — and the stage's `imports/` is never expired.
|
|
127
136
|
*/
|
|
128
137
|
function backupExpiries(workspace, manifest) {
|
|
129
138
|
const expiries = [];
|
|
@@ -132,7 +141,7 @@ function backupExpiries(workspace, manifest) {
|
|
|
132
141
|
if (choice.mode !== "on") continue;
|
|
133
142
|
expiries.push({
|
|
134
143
|
id: `gkm-backups-${stage}`,
|
|
135
|
-
prefix: `${backupsPrefix(workspace, stage)}
|
|
144
|
+
prefix: `${backupsPrefix(workspace, stage)}/2`,
|
|
136
145
|
days: choice.backups.keepDays,
|
|
137
146
|
abortIncompleteDays: 1
|
|
138
147
|
});
|
|
@@ -160,7 +169,7 @@ function processorsDevRoute(fileServerId) {
|
|
|
160
169
|
* The Caddy configuration a plan implies.
|
|
161
170
|
*
|
|
162
171
|
* A file server is a *domain that serves a bucket*, and locally it had neither:
|
|
163
|
-
* `
|
|
172
|
+
* `UPLOADS_URL` resolved to MinIO's path-style address, which works and
|
|
164
173
|
* is not the deployed shape. MinIO's own virtual-host mode cannot fix that —
|
|
165
174
|
* it reads the leading label *as the bucket name*, so it produces the right
|
|
166
175
|
* shape only when the server's id and the bucket's happen to agree, and never
|
|
@@ -642,13 +651,14 @@ const REQUIRES = { "redis-http": ["redis"] };
|
|
|
642
651
|
*
|
|
643
652
|
* The twin of `ProvidesByKind` in `@geekmidas/manifest`: that is what a
|
|
644
653
|
* construct declares, this is what the local target resolves, and both derive
|
|
645
|
-
* the key from the same `
|
|
654
|
+
* the key from the same `providedKeyFor` so they cannot disagree.
|
|
646
655
|
*/
|
|
647
656
|
const ROLES = {
|
|
648
657
|
queue: "publisherConnectionString",
|
|
649
658
|
topic: "publisherConnectionString",
|
|
650
659
|
credential: "credentials",
|
|
651
|
-
"mobile-app": "scheme"
|
|
660
|
+
"mobile-app": "scheme",
|
|
661
|
+
objects: "connectionString"
|
|
652
662
|
};
|
|
653
663
|
/** The kinds whose container is the events backend's rather than their own. */
|
|
654
664
|
const EVENT_KINDS = {
|
|
@@ -773,6 +783,10 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
773
783
|
provisions: PROVISIONS[declaration.kind] === true,
|
|
774
784
|
...declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "objects" || declaration.kind === "file-server" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
|
|
775
785
|
...declaration.kind === "site" ? { publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest) } : {},
|
|
786
|
+
...(0, _geekmidas_manifest.isPublicDeclaration)(declaration) && (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest).length > 0 ? { imageOrigins: {
|
|
787
|
+
key: `${_geekmidas_manifest.PUBLIC_PREFIX[declaration.variant]}${_geekmidas_manifest.IMAGE_ORIGINS_KEY}`,
|
|
788
|
+
sources: (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest)
|
|
789
|
+
} } : {},
|
|
776
790
|
...declaration.kind === "mobile-app" ? {
|
|
777
791
|
publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest),
|
|
778
792
|
...declaration.scheme ? { scheme: declaration.scheme } : {}
|
|
@@ -887,6 +901,36 @@ var PgBossNeedsDatabase = class extends require_errors.GkmError {
|
|
|
887
901
|
}
|
|
888
902
|
};
|
|
889
903
|
//#endregion
|
|
904
|
+
//#region src/reconcile/signedOrigins.ts
|
|
905
|
+
/**
|
|
906
|
+
* Where each bucket's presigned links point, derived from its connection.
|
|
907
|
+
*
|
|
908
|
+
* Not stored and not provisioned: the origin is a function of the connection
|
|
909
|
+
* string (`s3Url.signedOrigin`), so it is computed wherever the connection is
|
|
910
|
+
* resolved — a stage's secrets, MinIO locally — and can never disagree with
|
|
911
|
+
* the links the bucket's client signs.
|
|
912
|
+
*/
|
|
913
|
+
/**
|
|
914
|
+
* `<ID>_SIGNED_ORIGIN` for each bucket whose connection `lookup` resolves to
|
|
915
|
+
* an `s3://` URL with a knowable host. A bucket with none, or another scheme,
|
|
916
|
+
* gets nothing rather than a guess.
|
|
917
|
+
*/
|
|
918
|
+
function signedOrigins(buckets, lookup) {
|
|
919
|
+
const origins = {};
|
|
920
|
+
for (const id of buckets) {
|
|
921
|
+
const connection = lookup((0, _geekmidas_manifest.providedKeyFor)(id, "objects", "connectionString"));
|
|
922
|
+
if (!connection?.startsWith("s3:")) continue;
|
|
923
|
+
let origin;
|
|
924
|
+
try {
|
|
925
|
+
origin = _geekmidas_storage_s3_url.signedOrigin(_geekmidas_storage_s3_url.parse(connection));
|
|
926
|
+
} catch {
|
|
927
|
+
continue;
|
|
928
|
+
}
|
|
929
|
+
if (origin) origins[(0, _geekmidas_manifest.providedKeyFor)(id, "objects", "signedOrigin")] = origin;
|
|
930
|
+
}
|
|
931
|
+
return origins;
|
|
932
|
+
}
|
|
933
|
+
//#endregion
|
|
890
934
|
//#region src/reconcile/env.ts
|
|
891
935
|
/**
|
|
892
936
|
* The URLs a reconciled stage injects.
|
|
@@ -987,24 +1031,24 @@ function envFor(plan, options) {
|
|
|
987
1031
|
...options.metroPorts ? { metroPorts: options.metroPorts } : {}
|
|
988
1032
|
}));
|
|
989
1033
|
if (resource.kind === "websocket-api") {
|
|
990
|
-
const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.
|
|
991
|
-
if (origins !== void 0) env[(0, _geekmidas_manifest.
|
|
1034
|
+
const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")];
|
|
1035
|
+
if (origins !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")] = origins;
|
|
992
1036
|
const publisher = webSocketPublisher(resource, options.ports, options.project ?? "", credential);
|
|
993
|
-
if (publisher) env[(0, _geekmidas_manifest.
|
|
1037
|
+
if (publisher) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "publisherConnectionString")] = publisher;
|
|
994
1038
|
}
|
|
995
1039
|
if (url) env[resource.envKey] = url;
|
|
996
1040
|
if (resource.kind === "site" && resource.protectedSubdomains && url) {
|
|
997
1041
|
const domain = (0, _geekmidas_manifest.wildcardDomainOf)(new URL(url).hostname);
|
|
998
1042
|
if (domain) {
|
|
999
|
-
env[(0, _geekmidas_manifest.
|
|
1000
|
-
env[(0, _geekmidas_manifest.
|
|
1043
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = domain;
|
|
1044
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "protectedSubdomains")] = resource.protectedSubdomains.join(",");
|
|
1001
1045
|
}
|
|
1002
1046
|
}
|
|
1003
1047
|
if (isDatabase(resource.kind) && resource.roles !== false) {
|
|
1004
1048
|
const owner = ownerUrl(resource, plan, options.ports, options.project ?? "", credential);
|
|
1005
|
-
if (owner) env[(0, _geekmidas_manifest.
|
|
1049
|
+
if (owner) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "ownerUrl")] = owner;
|
|
1006
1050
|
}
|
|
1007
|
-
if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.
|
|
1051
|
+
if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "credentials")] = resource.fake.credentials;
|
|
1008
1052
|
if (resource.kind === "credential" && resource.fakeCredentials !== void 0) env[resource.envKey] = resource.fakeCredentials;
|
|
1009
1053
|
if (resource.kind === "telemetry" && url) {
|
|
1010
1054
|
const login = options.credentials.logs;
|
|
@@ -1016,20 +1060,21 @@ function envFor(plan, options) {
|
|
|
1016
1060
|
if (resource.kind === "inbox" && url) {
|
|
1017
1061
|
const base = resource.id.toLowerCase();
|
|
1018
1062
|
const stage = resource.name === base ? void 0 : resource.name.slice(base.length + 1);
|
|
1019
|
-
env[(0, _geekmidas_manifest.
|
|
1063
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = [
|
|
1020
1064
|
stage,
|
|
1021
1065
|
options.project,
|
|
1022
1066
|
LOCAL_HOST
|
|
1023
1067
|
].filter(Boolean).join(".");
|
|
1024
1068
|
const smtp = options.ports[require_compose.primaryPortKey("mailpit")];
|
|
1025
|
-
if (smtp !== void 0) env[(0, _geekmidas_manifest.
|
|
1069
|
+
if (smtp !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "smtpUrl")] = `smtp://${LOCAL_HOST}:${smtp}`;
|
|
1026
1070
|
}
|
|
1027
1071
|
if (resource.kind === "email" && url) {
|
|
1028
|
-
env[(0, _geekmidas_manifest.
|
|
1072
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "from")] = options.mailFrom ?? `noreply@${LOCAL_HOST}`;
|
|
1029
1073
|
const inbox = options.ports[MAILPIT_INBOX_PORT];
|
|
1030
|
-
if (inbox !== void 0) env[(0, _geekmidas_manifest.
|
|
1074
|
+
if (inbox !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
|
|
1031
1075
|
}
|
|
1032
1076
|
}
|
|
1077
|
+
Object.assign(env, signedOrigins(plan.resources.filter((r) => r.kind === "objects").map((r) => r.id), (key) => env[key]));
|
|
1033
1078
|
Object.assign(env, publicEnv(plan, env, options.addresses));
|
|
1034
1079
|
Object.assign(env, brokerEnv(plan, options.ports, credential));
|
|
1035
1080
|
const relay = env.EVENT_PUBLISHER_CONNECTION_STRING;
|
|
@@ -1037,8 +1082,8 @@ function envFor(plan, options) {
|
|
|
1037
1082
|
if (resource.kind !== "objects" || resource.container !== "minio") continue;
|
|
1038
1083
|
if (!options.relayedBuckets.includes(resource.id)) continue;
|
|
1039
1084
|
if (!env[resource.envKey]) continue;
|
|
1040
|
-
env[(0, _geekmidas_manifest.
|
|
1041
|
-
env[(0, _geekmidas_manifest.
|
|
1085
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsConnectionString")] = relay;
|
|
1086
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsToken")] = require_compose.objectsWebhookToken(options.project ?? "", resource.id, credential.seed);
|
|
1042
1087
|
}
|
|
1043
1088
|
if (plan.resources.some((r) => r.kind === "inbox" && env[r.envKey])) env[require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY] = require_SubscriberGenerator.inboxRelayToken(options.project ?? "", credential.seed);
|
|
1044
1089
|
if (plan.resources.some((r) => (r.kind === "rest-api" || r.kind === "websocket-api") && env[r.envKey])) env[_geekmidas_manifest.EDGE_TOKEN_KEY] = edgeToken(options.project ?? "", credential.seed);
|
|
@@ -1061,9 +1106,15 @@ function envFor(plan, options) {
|
|
|
1061
1106
|
function publicEnv(plan, resolved, addresses = {}) {
|
|
1062
1107
|
const env = {};
|
|
1063
1108
|
const owners = new Map(plan.resources.map((r) => [r.envKey, r.id]));
|
|
1064
|
-
for (const resource of plan.resources)
|
|
1065
|
-
|
|
1066
|
-
|
|
1109
|
+
for (const resource of plan.resources) {
|
|
1110
|
+
for (const [key, source] of Object.entries(resource.publicEnv ?? {})) {
|
|
1111
|
+
const value = (resource.kind === "mobile-app" ? addresses[owners.get(source) ?? ""] : void 0) ?? resolved[source];
|
|
1112
|
+
if (value) env[key] = value;
|
|
1113
|
+
}
|
|
1114
|
+
if (resource.imageOrigins) {
|
|
1115
|
+
const origins = (0, _geekmidas_manifest.imageOrigins)(resource.imageOrigins.sources, (key) => resolved[key]);
|
|
1116
|
+
if (origins) env[resource.imageOrigins.key] = origins;
|
|
1117
|
+
}
|
|
1067
1118
|
}
|
|
1068
1119
|
return env;
|
|
1069
1120
|
}
|
|
@@ -1099,9 +1150,9 @@ function surfaceEnv(resource, url, resolved = {}, local = {}) {
|
|
|
1099
1150
|
const own = local.addresses?.[resource.id];
|
|
1100
1151
|
const device = mobile.length > 0 && local.lanAddress && own ? own.replace(/\/\/(localhost|127\.0\.0\.1)(?=[:/]|$)/, `//${local.lanAddress}`) : void 0;
|
|
1101
1152
|
return {
|
|
1102
|
-
[(0, _geekmidas_manifest.
|
|
1103
|
-
...domain ? { [(0, _geekmidas_manifest.
|
|
1104
|
-
...device ? { [(0, _geekmidas_manifest.
|
|
1153
|
+
[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")]: [...origins, ...new Set(schemes)].join(","),
|
|
1154
|
+
...domain ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "cookieDomain")]: domain } : {},
|
|
1155
|
+
...device ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "deviceUrl")]: device } : {}
|
|
1105
1156
|
};
|
|
1106
1157
|
}
|
|
1107
1158
|
/**
|
|
@@ -2307,14 +2358,17 @@ function isUnder(file, dir) {
|
|
|
2307
2358
|
*/
|
|
2308
2359
|
function publicBuildValues(site, manifest, resolve, secrets) {
|
|
2309
2360
|
const args = {};
|
|
2310
|
-
const own = (0, _geekmidas_manifest.
|
|
2361
|
+
const own = (0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, site.kind === "site" ? "url" : "scheme");
|
|
2311
2362
|
const ownValue = resolve(own);
|
|
2312
2363
|
if (ownValue) args[own] = ownValue;
|
|
2364
|
+
const derived = signedOrigins(Object.keys(manifest).filter((id) => manifest[id]?.kind === "objects"), resolve);
|
|
2313
2365
|
for (const [key, source] of Object.entries((0, _geekmidas_manifest.publicEnvFor)(site, manifest))) {
|
|
2314
|
-
const value = resolve(source);
|
|
2366
|
+
const value = resolve(source) ?? derived[source];
|
|
2315
2367
|
if (value) args[key] = value;
|
|
2316
2368
|
}
|
|
2317
2369
|
const prefix = _geekmidas_manifest.PUBLIC_PREFIX[site.variant];
|
|
2370
|
+
const origins = (0, _geekmidas_manifest.imageOrigins)((0, _geekmidas_manifest.imageOriginSources)(site, manifest), (source) => resolve(source) ?? derived[source]);
|
|
2371
|
+
if (origins) args[`${prefix}${_geekmidas_manifest.IMAGE_ORIGINS_KEY}`] = origins;
|
|
2318
2372
|
for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
|
|
2319
2373
|
return args;
|
|
2320
2374
|
}
|
|
@@ -2344,7 +2398,7 @@ const OFFLINE_BUILD_ADDRESS = "127.0.0.1";
|
|
|
2344
2398
|
*/
|
|
2345
2399
|
function offlineBuildHosts(site, manifest, resolve) {
|
|
2346
2400
|
if (site.prerender === "stage") return [];
|
|
2347
|
-
const sources = [(0, _geekmidas_manifest.
|
|
2401
|
+
const sources = [(0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, "url"), ...Object.values((0, _geekmidas_manifest.publicEnvFor)(site, manifest))];
|
|
2348
2402
|
const hosts = /* @__PURE__ */ new Set();
|
|
2349
2403
|
for (const source of sources) {
|
|
2350
2404
|
const host = hostOf(resolve(source));
|
|
@@ -2374,7 +2428,7 @@ function siteOfflineHosts(manifest, appName, ownUrl, urls) {
|
|
|
2374
2428
|
for (const [id] of entries) {
|
|
2375
2429
|
const name = require_workspace.appKey(id);
|
|
2376
2430
|
const url = name === appName ? ownUrl : urls[name];
|
|
2377
|
-
if (url) byKey.set((0, _geekmidas_manifest.
|
|
2431
|
+
if (url) byKey.set((0, _geekmidas_manifest.providedKeyFor)(id, manifest[id].kind, "url"), url);
|
|
2378
2432
|
}
|
|
2379
2433
|
return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
|
|
2380
2434
|
}
|
|
@@ -3463,7 +3517,7 @@ function processorOriginHost(serverId, domain) {
|
|
|
3463
3517
|
}
|
|
3464
3518
|
/** The stage secret holding the header's value: `ASSETS_SERVER_ORIGIN_SECRET`. */
|
|
3465
3519
|
function originSecretKey(serverId) {
|
|
3466
|
-
return (0, _geekmidas_manifest.
|
|
3520
|
+
return (0, _geekmidas_manifest.environmentCase)(`${serverId}_originSecret`);
|
|
3467
3521
|
}
|
|
3468
3522
|
/**
|
|
3469
3523
|
* What the processor unit reads that secret from. Set wherever the CDN fronts
|
|
@@ -5308,7 +5362,7 @@ function networkEnv(plan, options, hostOf = (container) => container) {
|
|
|
5308
5362
|
* fails on its first local request rather than in production.
|
|
5309
5363
|
*
|
|
5310
5364
|
* What an edge `caller.dependsOn([target])` hands each side, `<C>` and `<T>`
|
|
5311
|
-
* being the caller's and the target's ids (`
|
|
5365
|
+
* being the caller's and the target's ids (`providedKeyFor`) — keep this list and
|
|
5312
5366
|
* `apps/docs/guide/edges.md` in step with the code below:
|
|
5313
5367
|
*
|
|
5314
5368
|
* - `rest-api`: the caller gets `<T>_URL`. The target gets `<C>_URL` from a
|
|
@@ -5359,9 +5413,9 @@ function appEnvKeys(manifest, appName) {
|
|
|
5359
5413
|
...declaration.requires ?? [],
|
|
5360
5414
|
...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
|
|
5361
5415
|
]);
|
|
5362
|
-
addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys,
|
|
5416
|
+
addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys, (0, _geekmidas_manifest.isPublicDeclaration)(declaration));
|
|
5363
5417
|
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api") for (const key of callerKeys(manifest, id)) keys.add(key);
|
|
5364
|
-
if (
|
|
5418
|
+
if ((0, _geekmidas_manifest.isPublicDeclaration)(declaration)) {
|
|
5365
5419
|
for (const key of _geekmidas_manifest.TELEMETRY_KEYS) keys.delete(key);
|
|
5366
5420
|
for (const key of Object.keys((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest))) keys.add(key);
|
|
5367
5421
|
}
|
|
@@ -5501,8 +5555,8 @@ function callerKeys(manifest, surfaceId) {
|
|
|
5501
5555
|
const keys = [];
|
|
5502
5556
|
for (const caller of (0, _geekmidas_manifest.dependentsOf)(manifest, surfaceId)) {
|
|
5503
5557
|
const declaration = manifest[caller];
|
|
5504
|
-
if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.
|
|
5505
|
-
else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.
|
|
5558
|
+
if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "scheme"));
|
|
5559
|
+
else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "url"));
|
|
5506
5560
|
}
|
|
5507
5561
|
return keys;
|
|
5508
5562
|
}
|
|
@@ -5515,20 +5569,20 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
|
5515
5569
|
const bucket = require_discover.eventsEdgeBucket(id);
|
|
5516
5570
|
if (bucket) {
|
|
5517
5571
|
if (manifest[bucket]?.kind === "objects") {
|
|
5518
|
-
keys.add((0, _geekmidas_manifest.
|
|
5519
|
-
keys.add((0, _geekmidas_manifest.
|
|
5572
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsConnectionString"));
|
|
5573
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsToken"));
|
|
5520
5574
|
}
|
|
5521
5575
|
continue;
|
|
5522
5576
|
}
|
|
5523
5577
|
const target = manifest[id];
|
|
5524
5578
|
if (!target) continue;
|
|
5525
5579
|
if (target.kind === "rest-api") {
|
|
5526
|
-
keys.add((0, _geekmidas_manifest.
|
|
5580
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
|
|
5527
5581
|
continue;
|
|
5528
5582
|
}
|
|
5529
5583
|
if (target.kind === "websocket-api") {
|
|
5530
|
-
keys.add((0, _geekmidas_manifest.
|
|
5531
|
-
if (!client) keys.add((0, _geekmidas_manifest.
|
|
5584
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
|
|
5585
|
+
if (!client) keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "publisherConnectionString"));
|
|
5532
5586
|
continue;
|
|
5533
5587
|
}
|
|
5534
5588
|
for (const key of target.provides ?? []) keys.add(key);
|
|
@@ -6248,4 +6302,4 @@ Object.defineProperty(exports, "workspace_exports", {
|
|
|
6248
6302
|
}
|
|
6249
6303
|
});
|
|
6250
6304
|
|
|
6251
|
-
//# sourceMappingURL=apps-
|
|
6305
|
+
//# sourceMappingURL=apps-By6pnfzA.cjs.map
|