@geekmidas/cli 10.0.0-alpha.88 → 10.0.0-alpha.89

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.
Files changed (176) hide show
  1. package/dist/GoDaddyProvider--36rw8cP.mjs +387 -0
  2. package/dist/GoDaddyProvider--36rw8cP.mjs.map +1 -0
  3. package/dist/GoDaddyProvider-DnRor066.cjs +387 -0
  4. package/dist/GoDaddyProvider-DnRor066.cjs.map +1 -0
  5. package/dist/{HostingerProvider-CVc3rLPB.mjs → HostingerProvider-BI6J7oJr.mjs} +2 -2
  6. package/dist/{HostingerProvider-CVc3rLPB.mjs.map → HostingerProvider-BI6J7oJr.mjs.map} +1 -1
  7. package/dist/{HostingerProvider-BCB1QJj1.cjs → HostingerProvider-CyTpG_jy.cjs} +2 -2
  8. package/dist/{HostingerProvider-BCB1QJj1.cjs.map → HostingerProvider-CyTpG_jy.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-CWG_HVC0.cjs → LegacyStateStore-BaBoYl59.cjs} +2 -2
  10. package/dist/{LegacyStateStore-CWG_HVC0.cjs.map → LegacyStateStore-BaBoYl59.cjs.map} +1 -1
  11. package/dist/{LegacyStateStore-B0R4LlX_.mjs → LegacyStateStore-CO7bzJCU.mjs} +2 -2
  12. package/dist/{LegacyStateStore-B0R4LlX_.mjs.map → LegacyStateStore-CO7bzJCU.mjs.map} +1 -1
  13. package/dist/{LocalStateStore-CLwa2DpK.cjs → LocalStateStore-CUWh2BWU.cjs} +2 -2
  14. package/dist/{LocalStateStore-CLwa2DpK.cjs.map → LocalStateStore-CUWh2BWU.cjs.map} +1 -1
  15. package/dist/{LocalStateStore-Q4vXg2ua.mjs → LocalStateStore-C_hYDv6I.mjs} +2 -2
  16. package/dist/{LocalStateStore-Q4vXg2ua.mjs.map → LocalStateStore-C_hYDv6I.mjs.map} +1 -1
  17. package/dist/{S3StateStore-Cea9_5gF.cjs → S3StateStore-O8EYfjfG.cjs} +2 -2
  18. package/dist/{S3StateStore-Cea9_5gF.cjs.map → S3StateStore-O8EYfjfG.cjs.map} +1 -1
  19. package/dist/{S3StateStore-CksKYKRa.mjs → S3StateStore-hIm8Rrmu.mjs} +2 -2
  20. package/dist/{S3StateStore-CksKYKRa.mjs.map → S3StateStore-hIm8Rrmu.mjs.map} +1 -1
  21. package/dist/{SSMStateStore-aBOTF018.cjs → SSMStateStore-DIzbiqCz.cjs} +2 -2
  22. package/dist/{SSMStateStore-aBOTF018.cjs.map → SSMStateStore-DIzbiqCz.cjs.map} +1 -1
  23. package/dist/{SSMStateStore-BszSCAS2.mjs → SSMStateStore-IvcjTk8h.mjs} +2 -2
  24. package/dist/{SSMStateStore-BszSCAS2.mjs.map → SSMStateStore-IvcjTk8h.mjs.map} +1 -1
  25. package/dist/SubscriberGenerator-BPqQf8fB.mjs.map +1 -1
  26. package/dist/SubscriberGenerator-BVn7cQ-2.cjs.map +1 -1
  27. package/dist/{add-5MZAXybv.cjs → add-C9qX4Juc.cjs} +30 -7
  28. package/dist/add-C9qX4Juc.cjs.map +1 -0
  29. package/dist/{add-D_jNqnfZ.mjs → add-v3tCbrpE.mjs} +30 -7
  30. package/dist/add-v3tCbrpE.mjs.map +1 -0
  31. package/dist/{bundler-1REMhKps.cjs → bundler-C4NmpRTD.cjs} +5 -5
  32. package/dist/{bundler-1REMhKps.cjs.map → bundler-C4NmpRTD.cjs.map} +1 -1
  33. package/dist/{bundler-BMo-JP5s.mjs → bundler-C_fCgcVO.mjs} +5 -5
  34. package/dist/{bundler-BMo-JP5s.mjs.map → bundler-C_fCgcVO.mjs.map} +1 -1
  35. package/dist/{cli-BL8ZHsLQ.cjs → cli-C85Dut8K.cjs} +6 -5
  36. package/dist/cli-C85Dut8K.cjs.map +1 -0
  37. package/dist/{cli-7edNFwGk.mjs → cli-REdO9X5b.mjs} +7 -6
  38. package/dist/cli-REdO9X5b.mjs.map +1 -0
  39. package/dist/{compose-xw86kVYi.cjs → compose-BvrhDwJ6.cjs} +556 -30
  40. package/dist/compose-BvrhDwJ6.cjs.map +1 -0
  41. package/dist/{compose-DbJhRQlh.mjs → compose-Dn0oAgQ0.mjs} +509 -31
  42. package/dist/compose-Dn0oAgQ0.mjs.map +1 -0
  43. package/dist/{config-DrCAyoH5.d.mts → config-CdEcTrjG.d.mts} +3 -3
  44. package/dist/{config-CpjsVxru.d.cts.map → config-CdEcTrjG.d.mts.map} +1 -1
  45. package/dist/{config-CpjsVxru.d.cts → config-pST7E0CS.d.cts} +3 -3
  46. package/dist/{config-DrCAyoH5.d.mts.map → config-pST7E0CS.d.cts.map} +1 -1
  47. package/dist/config.cjs +1 -1
  48. package/dist/config.d.cts +3 -3
  49. package/dist/config.d.mts +3 -3
  50. package/dist/config.mjs +1 -1
  51. package/dist/{credentials-tr26-KML.cjs → credentials-BKfIugu2.cjs} +47 -2
  52. package/dist/credentials-BKfIugu2.cjs.map +1 -0
  53. package/dist/{credentials-BgJ5mS_d.mjs → credentials-CnVqoXMb.mjs} +30 -3
  54. package/dist/credentials-CnVqoXMb.mjs.map +1 -0
  55. package/dist/deploy/public.cjs +10 -10
  56. package/dist/deploy/public.d.cts +9 -3
  57. package/dist/deploy/public.d.cts.map +1 -1
  58. package/dist/deploy/public.d.mts +9 -3
  59. package/dist/deploy/public.d.mts.map +1 -1
  60. package/dist/deploy/public.mjs +10 -10
  61. package/dist/{deploy-BTfmXd3g.mjs → deploy-BaERRh0Q.mjs} +10 -8
  62. package/dist/deploy-BaERRh0Q.mjs.map +1 -0
  63. package/dist/{deploy-CtbZj4zN.cjs → deploy-DbBGo3a6.cjs} +10 -8
  64. package/dist/deploy-DbBGo3a6.cjs.map +1 -0
  65. package/dist/{dokploy-r69yZaIt.mjs → dokploy-CMmD_ddX.mjs} +2 -2
  66. package/dist/{dokploy-r69yZaIt.mjs.map → dokploy-CMmD_ddX.mjs.map} +1 -1
  67. package/dist/{dokploy-TGk3oPwr.cjs → dokploy-DwAaKA9B.cjs} +2 -2
  68. package/dist/{dokploy-TGk3oPwr.cjs.map → dokploy-DwAaKA9B.cjs.map} +1 -1
  69. package/dist/{encryption-C-8Tt5Hh.mjs → encryption-BQmhq9_y.mjs} +3 -3
  70. package/dist/{encryption-C-8Tt5Hh.mjs.map → encryption-BQmhq9_y.mjs.map} +1 -1
  71. package/dist/{encryption-CDn7BH5O.cjs → encryption-BrN_9_CM.cjs} +3 -3
  72. package/dist/{encryption-CDn7BH5O.cjs.map → encryption-BrN_9_CM.cjs.map} +1 -1
  73. package/dist/{engine-jAINgiOB.mjs → engine-DILocOOH.mjs} +23 -404
  74. package/dist/engine-DILocOOH.mjs.map +1 -0
  75. package/dist/{engine-Bt5k_UMq.cjs → engine-DgHoFBMw.cjs} +25 -406
  76. package/dist/engine-DgHoFBMw.cjs.map +1 -0
  77. package/dist/{github-DFhuJQlp.cjs → github-Bf7pz6AV.cjs} +3 -3
  78. package/dist/{github-DFhuJQlp.cjs.map → github-Bf7pz6AV.cjs.map} +1 -1
  79. package/dist/{github-CZHAtwPT.mjs → github-xzg99wz8.mjs} +3 -3
  80. package/dist/{github-CZHAtwPT.mjs.map → github-xzg99wz8.mjs.map} +1 -1
  81. package/dist/{index-MnUJuUlj.d.mts → index-D-F_hTDz.d.cts} +21 -4
  82. package/dist/index-D-F_hTDz.d.cts.map +1 -0
  83. package/dist/{index-elsLJTUv.d.cts → index-YFNxR5Ns.d.mts} +21 -4
  84. package/dist/index-YFNxR5Ns.d.mts.map +1 -0
  85. package/dist/index.cjs +246 -63
  86. package/dist/index.cjs.map +1 -1
  87. package/dist/index.mjs +247 -65
  88. package/dist/index.mjs.map +1 -1
  89. package/dist/{local-Cq8qdgNX.cjs → local-BjxDfPvy.cjs} +2 -2
  90. package/dist/{local-Cq8qdgNX.cjs.map → local-BjxDfPvy.cjs.map} +1 -1
  91. package/dist/{local-Ciq-bTPr.mjs → local-IuoIF3CT.mjs} +2 -2
  92. package/dist/{local-Ciq-bTPr.mjs.map → local-IuoIF3CT.mjs.map} +1 -1
  93. package/dist/{migrate-B1rVlwj1.cjs → migrate-7xayVtzL.cjs} +3 -3
  94. package/dist/{migrate-B1rVlwj1.cjs.map → migrate-7xayVtzL.cjs.map} +1 -1
  95. package/dist/{migrate-ggkPVJRC.mjs → migrate-CKLJ73OO.mjs} +4 -4
  96. package/dist/{migrate-ggkPVJRC.mjs.map → migrate-CKLJ73OO.mjs.map} +1 -1
  97. package/dist/{migrate-Dn7nK6sh.mjs → migrate-CpmO5qnl.mjs} +3 -3
  98. package/dist/{migrate-Dn7nK6sh.mjs.map → migrate-CpmO5qnl.mjs.map} +1 -1
  99. package/dist/{migrate-B16qgYTn.cjs → migrate-DPF7ZF8M.cjs} +3 -3
  100. package/dist/{migrate-B16qgYTn.cjs.map → migrate-DPF7ZF8M.cjs.map} +1 -1
  101. package/dist/openapi.cjs +1 -1
  102. package/dist/openapi.d.cts +1 -1
  103. package/dist/openapi.d.mts +1 -1
  104. package/dist/openapi.mjs +1 -1
  105. package/dist/reconcile/public.d.cts +1 -1
  106. package/dist/reconcile/public.d.mts +1 -1
  107. package/dist/{reconcile--I7V4Klj.mjs → reconcile-Dh1Jk7WE.mjs} +2 -2
  108. package/dist/{reconcile--I7V4Klj.mjs.map → reconcile-Dh1Jk7WE.mjs.map} +1 -1
  109. package/dist/{resolve-BSke45k6.mjs → resolve-Dv_weZoh.mjs} +4 -4
  110. package/dist/{resolve-BSke45k6.mjs.map → resolve-Dv_weZoh.mjs.map} +1 -1
  111. package/dist/{resolve-BXeXzpmU.cjs → resolve-dlKPFNgv.cjs} +4 -4
  112. package/dist/{resolve-BXeXzpmU.cjs.map → resolve-dlKPFNgv.cjs.map} +1 -1
  113. package/dist/{rollback-DFMiBWf0.cjs → rollback-65VVIdBM.cjs} +6 -6
  114. package/dist/{rollback-DFMiBWf0.cjs.map → rollback-65VVIdBM.cjs.map} +1 -1
  115. package/dist/{rollback-CEE6dse4.mjs → rollback-DpSU2DsD.mjs} +6 -6
  116. package/dist/{rollback-CEE6dse4.mjs.map → rollback-DpSU2DsD.mjs.map} +1 -1
  117. package/dist/{runtime-HabiNBtJ.d.mts → runtime-CN_kmqxo.d.cts} +2 -2
  118. package/dist/{runtime-D48ZKk8_.d.cts.map → runtime-CN_kmqxo.d.cts.map} +1 -1
  119. package/dist/{runtime-D48ZKk8_.d.cts → runtime-Cjvon3oj.d.mts} +2 -2
  120. package/dist/{runtime-HabiNBtJ.d.mts.map → runtime-Cjvon3oj.d.mts.map} +1 -1
  121. package/dist/{seeds-CsI0A_Ef.cjs → seeds-CN6tB-va.cjs} +646 -187
  122. package/dist/{seeds-CsI0A_Ef.cjs.map → seeds-CN6tB-va.cjs.map} +1 -1
  123. package/dist/{seeds-BYdrtZsC.mjs → seeds-perzdN81.mjs} +599 -164
  124. package/dist/seeds-perzdN81.mjs.map +1 -0
  125. package/dist/{sniffer-B0EU73bj.mjs → sniffer-BTtX3NUM.mjs} +3 -3
  126. package/dist/{sniffer-B0EU73bj.mjs.map → sniffer-BTtX3NUM.mjs.map} +1 -1
  127. package/dist/{sniffer-DJYupBeK.cjs → sniffer-IAQEpsQb.cjs} +3 -3
  128. package/dist/{sniffer-DJYupBeK.cjs.map → sniffer-IAQEpsQb.cjs.map} +1 -1
  129. package/dist/{sst-DAqUoZKG.cjs → sst-BgcOsaBi.cjs} +3 -3
  130. package/dist/{sst-DAqUoZKG.cjs.map → sst-BgcOsaBi.cjs.map} +1 -1
  131. package/dist/{sst-D1Qj4sIs.mjs → sst-CJzvyrEz.mjs} +3 -3
  132. package/dist/{sst-D1Qj4sIs.mjs.map → sst-CJzvyrEz.mjs.map} +1 -1
  133. package/dist/{stages-Brn3vcdy.cjs → stages-CUn6gvXL.cjs} +2 -2
  134. package/dist/{stages-Brn3vcdy.cjs.map → stages-CUn6gvXL.cjs.map} +1 -1
  135. package/dist/{stages-DoHHz6pS.mjs → stages-CnZRYmkI.mjs} +2 -2
  136. package/dist/{stages-DoHHz6pS.mjs.map → stages-CnZRYmkI.mjs.map} +1 -1
  137. package/dist/target/public.cjs +1 -1
  138. package/dist/target/public.d.cts +2 -2
  139. package/dist/target/public.d.mts +2 -2
  140. package/dist/target/public.mjs +1 -1
  141. package/dist/{terminal-BTbZlrFV.mjs → terminal-D8TPK7o9.mjs} +3 -3
  142. package/dist/{terminal-BTbZlrFV.mjs.map → terminal-D8TPK7o9.mjs.map} +1 -1
  143. package/dist/{terminal-COv23heb.cjs → terminal-DuapRxh6.cjs} +2 -2
  144. package/dist/{terminal-COv23heb.cjs.map → terminal-DuapRxh6.cjs.map} +1 -1
  145. package/dist/{types-0oAyFOfR.d.cts → types-NqX1Hz4P.d.cts} +210 -205
  146. package/dist/types-NqX1Hz4P.d.cts.map +1 -0
  147. package/dist/{types-BZ01tZs-.d.mts → types-ZHuZ89hv.d.mts} +210 -205
  148. package/dist/types-ZHuZ89hv.d.mts.map +1 -0
  149. package/dist/workspace/index.cjs +3 -1
  150. package/dist/workspace/index.d.cts +3 -3
  151. package/dist/workspace/index.d.mts +3 -3
  152. package/dist/workspace/index.mjs +2 -2
  153. package/dist/{workspace-D2CYLMCW.mjs → workspace-CJ0lKFq-.mjs} +231 -10
  154. package/dist/workspace-CJ0lKFq-.mjs.map +1 -0
  155. package/dist/{workspace-CT0JM3Y8.cjs → workspace-CwW3Gkru.cjs} +266 -9
  156. package/dist/workspace-CwW3Gkru.cjs.map +1 -0
  157. package/package.json +15 -15
  158. package/dist/add-5MZAXybv.cjs.map +0 -1
  159. package/dist/add-D_jNqnfZ.mjs.map +0 -1
  160. package/dist/cli-7edNFwGk.mjs.map +0 -1
  161. package/dist/cli-BL8ZHsLQ.cjs.map +0 -1
  162. package/dist/compose-DbJhRQlh.mjs.map +0 -1
  163. package/dist/compose-xw86kVYi.cjs.map +0 -1
  164. package/dist/credentials-BgJ5mS_d.mjs.map +0 -1
  165. package/dist/credentials-tr26-KML.cjs.map +0 -1
  166. package/dist/deploy-BTfmXd3g.mjs.map +0 -1
  167. package/dist/deploy-CtbZj4zN.cjs.map +0 -1
  168. package/dist/engine-Bt5k_UMq.cjs.map +0 -1
  169. package/dist/engine-jAINgiOB.mjs.map +0 -1
  170. package/dist/index-MnUJuUlj.d.mts.map +0 -1
  171. package/dist/index-elsLJTUv.d.cts.map +0 -1
  172. package/dist/seeds-BYdrtZsC.mjs.map +0 -1
  173. package/dist/types-0oAyFOfR.d.cts.map +0 -1
  174. package/dist/types-BZ01tZs-.d.mts.map +0 -1
  175. package/dist/workspace-CT0JM3Y8.cjs.map +0 -1
  176. package/dist/workspace-D2CYLMCW.mjs.map +0 -1
@@ -507,6 +507,19 @@ interface CredentialKinds {
507
507
  };
508
508
  value: AwsCredential;
509
509
  };
510
+ /**
511
+ * A GoDaddy Personal Access Token, for a `dns` domain whose provider is
512
+ * `godaddy`. Read on the machine that writes the records — never the
513
+ * server's.
514
+ */
515
+ godaddy: {
516
+ request: Record<never, never>;
517
+ value: GoDaddyCredential;
518
+ };
519
+ }
520
+ /** A GoDaddy Personal Access Token, sent as `Authorization: Bearer <token>`. */
521
+ interface GoDaddyCredential {
522
+ token: string;
510
523
  }
511
524
  /**
512
525
  * Who to act as on AWS: a named profile, or keys.
@@ -1006,6 +1019,12 @@ interface DeployPhaseContext<Options = undefined> {
1006
1019
  * runs both.
1007
1020
  */
1008
1021
  readonly allowDevServices: boolean;
1022
+ /**
1023
+ * `--skip-dns-check`: a server target does not check that each public
1024
+ * host resolves to the stage's server before it starts — for a CDN or
1025
+ * proxy in front of it.
1026
+ */
1027
+ readonly skipDnsCheck?: boolean;
1009
1028
  /** Where every credential comes from. Nothing prompts. */
1010
1029
  readonly credentials: CredentialProvider;
1011
1030
  /**
@@ -5545,13 +5564,21 @@ declare function isPhase2DeployTarget(target: string): boolean;
5545
5564
  */
5546
5565
  declare function getDeployTargetError(target: string, appName?: string): string;
5547
5566
  /**
5548
- * Combined DNS config that supports both new multi-domain and legacy single-domain formats.
5567
+ * Single DNS provider config (for one domain).
5549
5568
  */
5550
- declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5569
+ declare const DnsProviderSchema: ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5551
5570
  provider: ZodLiteral<"hostinger">;
5571
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5572
+ mode: ZodLiteral<"cname">;
5573
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5574
+ }, $strict>]>>;
5552
5575
  ttl: ZodOptional<ZodNumber>;
5553
5576
  }, $strip>, ZodObject<{
5554
5577
  provider: ZodLiteral<"route53">;
5578
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5579
+ mode: ZodLiteral<"cname">;
5580
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5581
+ }, $strict>]>>;
5555
5582
  region: ZodOptional<ZodEnum<{
5556
5583
  "af-south-1": "af-south-1";
5557
5584
  "ap-east-1": "ap-east-1";
@@ -5585,67 +5612,25 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
5585
5612
  hostedZoneId: ZodOptional<ZodString>;
5586
5613
  ttl: ZodOptional<ZodNumber>;
5587
5614
  }, $strip>, ZodObject<{
5588
- provider: ZodLiteral<"cloudflare">;
5589
- ttl: ZodOptional<ZodNumber>;
5590
- }, $strip>, ZodObject<{
5591
- provider: ZodLiteral<"manual">;
5592
- }, $strip>], "provider">, ZodObject<{
5593
- provider: ZodCustom<{
5594
- name: string;
5595
- getRecords: Function;
5596
- upsertRecords: Function;
5597
- }, {
5598
- name: string;
5599
- getRecords: Function;
5600
- upsertRecords: Function;
5601
- }>;
5602
- ttl: ZodOptional<ZodNumber>;
5603
- }, $strip>]>>, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5604
- provider: ZodLiteral<"hostinger">;
5605
- ttl: ZodOptional<ZodNumber>;
5606
- domain: ZodString;
5607
- }, $strip>, ZodObject<{
5608
- provider: ZodLiteral<"route53">;
5609
- region: ZodOptional<ZodEnum<{
5610
- "af-south-1": "af-south-1";
5611
- "ap-east-1": "ap-east-1";
5612
- "ap-northeast-1": "ap-northeast-1";
5613
- "ap-northeast-2": "ap-northeast-2";
5614
- "ap-northeast-3": "ap-northeast-3";
5615
- "ap-south-1": "ap-south-1";
5616
- "ap-south-2": "ap-south-2";
5617
- "ap-southeast-1": "ap-southeast-1";
5618
- "ap-southeast-2": "ap-southeast-2";
5619
- "ap-southeast-3": "ap-southeast-3";
5620
- "ap-southeast-4": "ap-southeast-4";
5621
- "ca-central-1": "ca-central-1";
5622
- "eu-central-1": "eu-central-1";
5623
- "eu-central-2": "eu-central-2";
5624
- "eu-north-1": "eu-north-1";
5625
- "eu-south-1": "eu-south-1";
5626
- "eu-south-2": "eu-south-2";
5627
- "eu-west-1": "eu-west-1";
5628
- "eu-west-2": "eu-west-2";
5629
- "eu-west-3": "eu-west-3";
5630
- "me-central-1": "me-central-1";
5631
- "me-south-1": "me-south-1";
5632
- "sa-east-1": "sa-east-1";
5633
- "us-east-1": "us-east-1";
5634
- "us-east-2": "us-east-2";
5635
- "us-west-1": "us-west-1";
5636
- "us-west-2": "us-west-2";
5637
- }>>;
5638
- profile: ZodOptional<ZodString>;
5639
- hostedZoneId: ZodOptional<ZodString>;
5615
+ provider: ZodLiteral<"godaddy">;
5616
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5617
+ mode: ZodLiteral<"cname">;
5618
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5619
+ }, $strict>]>>;
5640
5620
  ttl: ZodOptional<ZodNumber>;
5641
- domain: ZodString;
5642
5621
  }, $strip>, ZodObject<{
5643
5622
  provider: ZodLiteral<"cloudflare">;
5623
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5624
+ mode: ZodLiteral<"cname">;
5625
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5626
+ }, $strict>]>>;
5644
5627
  ttl: ZodOptional<ZodNumber>;
5645
- domain: ZodString;
5646
5628
  }, $strip>, ZodObject<{
5647
5629
  provider: ZodLiteral<"manual">;
5648
- domain: ZodString;
5630
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5631
+ mode: ZodLiteral<"cname">;
5632
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5633
+ }, $strict>]>>;
5649
5634
  }, $strip>], "provider">, ZodObject<{
5650
5635
  provider: ZodCustom<{
5651
5636
  name: string;
@@ -5656,10 +5641,13 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
5656
5641
  getRecords: Function;
5657
5642
  upsertRecords: Function;
5658
5643
  }>;
5644
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5645
+ mode: ZodLiteral<"cname">;
5646
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5647
+ }, $strict>]>>;
5659
5648
  ttl: ZodOptional<ZodNumber>;
5660
- domain: ZodString;
5661
- }, $strip>]>]>;
5662
- type DnsConfig = output$1<typeof DnsConfigWithLegacySchema>;
5649
+ }, $strip>]>;
5650
+ type DnsProvider = output$1<typeof DnsProviderSchema>;
5663
5651
  /**
5664
5652
  * Backups configuration schema.
5665
5653
  *
@@ -5778,11 +5766,92 @@ declare const WorkspaceConfigSchema: ZodObject<{
5778
5766
  }>>;
5779
5767
  }, $strip>>;
5780
5768
  }, $strip>>;
5769
+ domains: ZodOptional<ZodRecord<ZodString, ZodString>>;
5770
+ dns: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5771
+ provider: ZodLiteral<"hostinger">;
5772
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5773
+ mode: ZodLiteral<"cname">;
5774
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5775
+ }, $strict>]>>;
5776
+ ttl: ZodOptional<ZodNumber>;
5777
+ }, $strip>, ZodObject<{
5778
+ provider: ZodLiteral<"route53">;
5779
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5780
+ mode: ZodLiteral<"cname">;
5781
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5782
+ }, $strict>]>>;
5783
+ region: ZodOptional<ZodEnum<{
5784
+ "af-south-1": "af-south-1";
5785
+ "ap-east-1": "ap-east-1";
5786
+ "ap-northeast-1": "ap-northeast-1";
5787
+ "ap-northeast-2": "ap-northeast-2";
5788
+ "ap-northeast-3": "ap-northeast-3";
5789
+ "ap-south-1": "ap-south-1";
5790
+ "ap-south-2": "ap-south-2";
5791
+ "ap-southeast-1": "ap-southeast-1";
5792
+ "ap-southeast-2": "ap-southeast-2";
5793
+ "ap-southeast-3": "ap-southeast-3";
5794
+ "ap-southeast-4": "ap-southeast-4";
5795
+ "ca-central-1": "ca-central-1";
5796
+ "eu-central-1": "eu-central-1";
5797
+ "eu-central-2": "eu-central-2";
5798
+ "eu-north-1": "eu-north-1";
5799
+ "eu-south-1": "eu-south-1";
5800
+ "eu-south-2": "eu-south-2";
5801
+ "eu-west-1": "eu-west-1";
5802
+ "eu-west-2": "eu-west-2";
5803
+ "eu-west-3": "eu-west-3";
5804
+ "me-central-1": "me-central-1";
5805
+ "me-south-1": "me-south-1";
5806
+ "sa-east-1": "sa-east-1";
5807
+ "us-east-1": "us-east-1";
5808
+ "us-east-2": "us-east-2";
5809
+ "us-west-1": "us-west-1";
5810
+ "us-west-2": "us-west-2";
5811
+ }>>;
5812
+ profile: ZodOptional<ZodString>;
5813
+ hostedZoneId: ZodOptional<ZodString>;
5814
+ ttl: ZodOptional<ZodNumber>;
5815
+ }, $strip>, ZodObject<{
5816
+ provider: ZodLiteral<"godaddy">;
5817
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5818
+ mode: ZodLiteral<"cname">;
5819
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5820
+ }, $strict>]>>;
5821
+ ttl: ZodOptional<ZodNumber>;
5822
+ }, $strip>, ZodObject<{
5823
+ provider: ZodLiteral<"cloudflare">;
5824
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5825
+ mode: ZodLiteral<"cname">;
5826
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5827
+ }, $strict>]>>;
5828
+ ttl: ZodOptional<ZodNumber>;
5829
+ }, $strip>, ZodObject<{
5830
+ provider: ZodLiteral<"manual">;
5831
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5832
+ mode: ZodLiteral<"cname">;
5833
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5834
+ }, $strict>]>>;
5835
+ }, $strip>], "provider">, ZodObject<{
5836
+ provider: ZodCustom<{
5837
+ name: string;
5838
+ getRecords: Function;
5839
+ upsertRecords: Function;
5840
+ }, {
5841
+ name: string;
5842
+ getRecords: Function;
5843
+ upsertRecords: Function;
5844
+ }>;
5845
+ records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
5846
+ mode: ZodLiteral<"cname">;
5847
+ target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
5848
+ }, $strict>]>>;
5849
+ ttl: ZodOptional<ZodNumber>;
5850
+ }, $strip>]>>>;
5781
5851
  deploy: ZodOptional<ZodObject<{
5782
5852
  default: ZodOptional<ZodString>;
5783
5853
  targets: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodCustom<unknown, unknown>, ZodTuple<[ZodUnion<readonly [ZodString, ZodCustom<unknown, unknown>]>, ZodUnknown], null>]>>>;
5784
5854
  namespace: ZodOptional<ZodString>;
5785
- domains: ZodOptional<ZodRecord<ZodString, ZodString>>;
5786
5855
  registry: ZodOptional<ZodString>;
5787
5856
  dokploy: ZodOptional<ZodObject<{
5788
5857
  endpoint: ZodOptional<ZodURL>;
@@ -5824,118 +5893,6 @@ declare const WorkspaceConfigSchema: ZodObject<{
5824
5893
  sampleRate: ZodOptional<ZodNumber>;
5825
5894
  }, $strict>]>>>;
5826
5895
  objects: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
5827
- dns: ZodOptional<ZodUnion<readonly [ZodRecord<ZodString, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5828
- provider: ZodLiteral<"hostinger">;
5829
- ttl: ZodOptional<ZodNumber>;
5830
- }, $strip>, ZodObject<{
5831
- provider: ZodLiteral<"route53">;
5832
- region: ZodOptional<ZodEnum<{
5833
- "af-south-1": "af-south-1";
5834
- "ap-east-1": "ap-east-1";
5835
- "ap-northeast-1": "ap-northeast-1";
5836
- "ap-northeast-2": "ap-northeast-2";
5837
- "ap-northeast-3": "ap-northeast-3";
5838
- "ap-south-1": "ap-south-1";
5839
- "ap-south-2": "ap-south-2";
5840
- "ap-southeast-1": "ap-southeast-1";
5841
- "ap-southeast-2": "ap-southeast-2";
5842
- "ap-southeast-3": "ap-southeast-3";
5843
- "ap-southeast-4": "ap-southeast-4";
5844
- "ca-central-1": "ca-central-1";
5845
- "eu-central-1": "eu-central-1";
5846
- "eu-central-2": "eu-central-2";
5847
- "eu-north-1": "eu-north-1";
5848
- "eu-south-1": "eu-south-1";
5849
- "eu-south-2": "eu-south-2";
5850
- "eu-west-1": "eu-west-1";
5851
- "eu-west-2": "eu-west-2";
5852
- "eu-west-3": "eu-west-3";
5853
- "me-central-1": "me-central-1";
5854
- "me-south-1": "me-south-1";
5855
- "sa-east-1": "sa-east-1";
5856
- "us-east-1": "us-east-1";
5857
- "us-east-2": "us-east-2";
5858
- "us-west-1": "us-west-1";
5859
- "us-west-2": "us-west-2";
5860
- }>>;
5861
- profile: ZodOptional<ZodString>;
5862
- hostedZoneId: ZodOptional<ZodString>;
5863
- ttl: ZodOptional<ZodNumber>;
5864
- }, $strip>, ZodObject<{
5865
- provider: ZodLiteral<"cloudflare">;
5866
- ttl: ZodOptional<ZodNumber>;
5867
- }, $strip>, ZodObject<{
5868
- provider: ZodLiteral<"manual">;
5869
- }, $strip>], "provider">, ZodObject<{
5870
- provider: ZodCustom<{
5871
- name: string;
5872
- getRecords: Function;
5873
- upsertRecords: Function;
5874
- }, {
5875
- name: string;
5876
- getRecords: Function;
5877
- upsertRecords: Function;
5878
- }>;
5879
- ttl: ZodOptional<ZodNumber>;
5880
- }, $strip>]>>, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
5881
- provider: ZodLiteral<"hostinger">;
5882
- ttl: ZodOptional<ZodNumber>;
5883
- domain: ZodString;
5884
- }, $strip>, ZodObject<{
5885
- provider: ZodLiteral<"route53">;
5886
- region: ZodOptional<ZodEnum<{
5887
- "af-south-1": "af-south-1";
5888
- "ap-east-1": "ap-east-1";
5889
- "ap-northeast-1": "ap-northeast-1";
5890
- "ap-northeast-2": "ap-northeast-2";
5891
- "ap-northeast-3": "ap-northeast-3";
5892
- "ap-south-1": "ap-south-1";
5893
- "ap-south-2": "ap-south-2";
5894
- "ap-southeast-1": "ap-southeast-1";
5895
- "ap-southeast-2": "ap-southeast-2";
5896
- "ap-southeast-3": "ap-southeast-3";
5897
- "ap-southeast-4": "ap-southeast-4";
5898
- "ca-central-1": "ca-central-1";
5899
- "eu-central-1": "eu-central-1";
5900
- "eu-central-2": "eu-central-2";
5901
- "eu-north-1": "eu-north-1";
5902
- "eu-south-1": "eu-south-1";
5903
- "eu-south-2": "eu-south-2";
5904
- "eu-west-1": "eu-west-1";
5905
- "eu-west-2": "eu-west-2";
5906
- "eu-west-3": "eu-west-3";
5907
- "me-central-1": "me-central-1";
5908
- "me-south-1": "me-south-1";
5909
- "sa-east-1": "sa-east-1";
5910
- "us-east-1": "us-east-1";
5911
- "us-east-2": "us-east-2";
5912
- "us-west-1": "us-west-1";
5913
- "us-west-2": "us-west-2";
5914
- }>>;
5915
- profile: ZodOptional<ZodString>;
5916
- hostedZoneId: ZodOptional<ZodString>;
5917
- ttl: ZodOptional<ZodNumber>;
5918
- domain: ZodString;
5919
- }, $strip>, ZodObject<{
5920
- provider: ZodLiteral<"cloudflare">;
5921
- ttl: ZodOptional<ZodNumber>;
5922
- domain: ZodString;
5923
- }, $strip>, ZodObject<{
5924
- provider: ZodLiteral<"manual">;
5925
- domain: ZodString;
5926
- }, $strip>], "provider">, ZodObject<{
5927
- provider: ZodCustom<{
5928
- name: string;
5929
- getRecords: Function;
5930
- upsertRecords: Function;
5931
- }, {
5932
- name: string;
5933
- getRecords: Function;
5934
- upsertRecords: Function;
5935
- }>;
5936
- ttl: ZodOptional<ZodNumber>;
5937
- domain: ZodString;
5938
- }, $strip>]>]>>;
5939
5896
  backups: ZodOptional<ZodObject<{
5940
5897
  type: ZodLiteral<"s3">;
5941
5898
  profile: ZodOptional<ZodString>;
@@ -6175,7 +6132,31 @@ declare function formatValidationErrors(error: ZodError): string;
6175
6132
  */
6176
6133
  type DeployTargetName = 'dokploy' | 'compose' | 'sst' | (string & {});
6177
6134
  /**
6178
- * Each deployed stage's base domain — `deploy.domains`.
6135
+ * A per-stage map, typed from the workspace's deployed stages: a key that is
6136
+ * not one is a type error. Untyped (`string`) stages accept any key, which the
6137
+ * schema then checks at load.
6138
+ */
6139
+ type StageMap<S extends string, V> = string extends S ? Record<string, V> : Partial<Record<S, V>>;
6140
+ /**
6141
+ * `domains: { <stage>: '<domain>' }` at the root of `defineWorkspace`, typed from
6142
+ * the deployed stages.
6143
+ */
6144
+ type DomainsInput<S extends string = string> = StageMap<S, string>;
6145
+ /** How one root domain's hosts point at a compose stage's server. */
6146
+ type DnsRecordsModeInput<S extends string = string> = 'a' | {
6147
+ mode: 'cname';
6148
+ target: string | StageMap<S, string>;
6149
+ };
6150
+ /** One root domain's DNS provider, its records mode typed from the stages. */
6151
+ type DnsDomainInput<S extends string = string> = DnsProvider extends (infer P) ? P extends unknown ? Omit<P, 'records'> & {
6152
+ records?: DnsRecordsModeInput<S>;
6153
+ } : never : never;
6154
+ /** `dns: { '<root domain>': { provider, … } }` at the root of `defineWorkspace`. */
6155
+ type DnsInput<S extends string = string> = Record<string, DnsDomainInput<S>>;
6156
+ /** Each root domain's DNS provider — `dns` at the root of the config. */
6157
+ type WorkspaceDnsConfig = Record<string, DnsProvider>;
6158
+ /**
6159
+ * Each deployed stage's base domain — `domains` at the root of the config.
6179
6160
  *
6180
6161
  * A fact about the deployment rather than the platform, so every target reads
6181
6162
  * it. The root site answers on the base domain; every other surface on
@@ -6184,9 +6165,7 @@ type DeployTargetName = 'dokploy' | 'compose' | 'sst' | (string & {});
6184
6165
  *
6185
6166
  * @example
6186
6167
  * ```ts
6187
- * deploy: {
6188
- * domains: { production: 'myapp.com', staging: 'staging.myapp.com' },
6189
- * }
6168
+ * domains: { production: 'myapp.com', staging: 'staging.myapp.com' },
6190
6169
  *
6191
6170
  * // production:
6192
6171
  * // - new StaticSite('Web', { root: true }) → myapp.com
@@ -6290,7 +6269,7 @@ interface DokployVerifyConfig {
6290
6269
  * deploy: { compose: { proxy: 'traefik' } }
6291
6270
  * ```
6292
6271
  */
6293
- interface ComposeWorkspaceConfig {
6272
+ interface ComposeWorkspaceConfig<S extends string = string> {
6294
6273
  /**
6295
6274
  * What serves a deployed stage's stack: `'caddy'` (the default) — the
6296
6275
  * stack's own Caddy on 80/443 — or `'traefik'`, the server's shared
@@ -6303,7 +6282,7 @@ interface ComposeWorkspaceConfig {
6303
6282
  * proxy: { staging: 'traefik', production: 'caddy' }
6304
6283
  * ```
6305
6284
  */
6306
- proxy?: ComposeProxy | Record<string, ComposeProxy>;
6285
+ proxy?: ComposeProxy | StageMap<S, ComposeProxy>;
6307
6286
  /**
6308
6287
  * A deployed stage's own certificate, by stage, instead of one from
6309
6288
  * Let's Encrypt: a PEM certificate (with its chain) and its key, relative
@@ -6313,7 +6292,7 @@ interface ComposeWorkspaceConfig {
6313
6292
  * tls: { production: { certFile: 'certs/origin.pem', keyFile: 'certs/origin.key' } }
6314
6293
  * ```
6315
6294
  */
6316
- tls?: Record<string, ComposeTlsConfig>;
6295
+ tls?: StageMap<S, ComposeTlsConfig>;
6317
6296
  }
6318
6297
  /** The proxies a compose stack can be served by — `deploy.compose.proxy`. */
6319
6298
  type ComposeProxy = 'caddy' | 'traefik';
@@ -6427,20 +6406,13 @@ interface OtlpTelemetryConfig extends TelemetryProviderConfig {
6427
6406
  * default: 'dokploy',
6428
6407
  * }
6429
6408
  *
6430
- * // Full configuration with DNS and backups
6409
+ * // Full configuration with backups (domains and dns are at the root)
6431
6410
  * deploy: {
6432
6411
  * default: 'dokploy',
6433
6412
  * registry: 'ghcr.io/myorg',
6434
6413
  * dokploy: {
6435
6414
  * endpoint: 'https://dokploy.myserver.com',
6436
6415
  * projectId: 'proj_abc123',
6437
- * domains: {
6438
- * production: 'myapp.com',
6439
- * },
6440
- * },
6441
- * dns: {
6442
- * provider: 'hostinger',
6443
- * domain: 'myapp.com',
6444
6416
  * },
6445
6417
  * backups: {
6446
6418
  * type: 's3',
@@ -6449,7 +6421,7 @@ interface OtlpTelemetryConfig extends TelemetryProviderConfig {
6449
6421
  * }
6450
6422
  * ```
6451
6423
  */
6452
- interface DeployConfig {
6424
+ interface DeployConfig<S extends string = string> {
6453
6425
  /** Default deploy target for all apps (default: 'dokploy') */
6454
6426
  default?: DeployTargetName;
6455
6427
  /**
@@ -6480,8 +6452,6 @@ interface DeployConfig {
6480
6452
  * names a workspace was already deployed under.
6481
6453
  */
6482
6454
  namespace?: string;
6483
- /** Each deployed stage's base domain — see {@link DomainsConfig}. */
6484
- domains?: DomainsConfig;
6485
6455
  /**
6486
6456
  * The container registry the apps' images are pushed to and pulled from,
6487
6457
  * whatever the target — `ghcr.io/myorg`. An image is
@@ -6491,19 +6461,17 @@ interface DeployConfig {
6491
6461
  /** Dokploy-specific configuration */
6492
6462
  dokploy?: DokployWorkspaceConfig;
6493
6463
  /** What the `compose` target runs beside the apps — see {@link ComposeWorkspaceConfig}. */
6494
- compose?: ComposeWorkspaceConfig;
6464
+ compose?: ComposeWorkspaceConfig<S>;
6495
6465
  /**
6496
6466
  * Where each deployed stage's telemetry goes — see
6497
6467
  * {@link StageTelemetryConfig}.
6498
6468
  */
6499
- telemetry?: Record<string, StageTelemetryConfig>;
6469
+ telemetry?: StageMap<S, StageTelemetryConfig>;
6500
6470
  /**
6501
6471
  * What backs each deployed stage's buckets — the `objects` kind that
6502
6472
  * `ObjectStorage` and `FileServer` produce. See {@link StageObjectsConfig}.
6503
6473
  */
6504
- objects?: Record<string, StageObjectsConfig>;
6505
- /** DNS configuration for automatic record creation */
6506
- dns?: DnsConfig;
6474
+ objects?: StageMap<S, StageObjectsConfig>;
6507
6475
  /** Backup destination configuration for database services */
6508
6476
  backups?: BackupsConfig;
6509
6477
  }
@@ -6915,7 +6883,7 @@ type ConstrainedApps<TApps extends AppsRecord> = { [K in keyof TApps]: Omit<TApp
6915
6883
  * });
6916
6884
  * ```
6917
6885
  */
6918
- type WorkspaceInput<TApps extends AppsRecord> = {
6886
+ type WorkspaceInput<TApps extends AppsRecord, TDeployed extends string = string> = {
6919
6887
  /**
6920
6888
  * Where the workspace's own constructs live, relative to its root.
6921
6889
  *
@@ -6935,10 +6903,24 @@ type WorkspaceInput<TApps extends AppsRecord> = {
6935
6903
  apps?: ConstrainedApps<TApps>;
6936
6904
  /** Shared packages configuration */
6937
6905
  shared?: SharedConfig;
6906
+ /**
6907
+ * Each deployed stage's base domain — see {@link DomainsConfig}. A key that
6908
+ * is not a deployed stage is a type error.
6909
+ */
6910
+ domains?: DomainsInput<NoInfer<TDeployed>>;
6911
+ /**
6912
+ * Each root domain's DNS provider, and how its hosts are pointed at a
6913
+ * compose stage's server (`records`).
6914
+ */
6915
+ dns?: DnsInput<NoInfer<TDeployed>>;
6938
6916
  /** Deployment configuration */
6939
- deploy?: DeployConfig;
6940
- /** The project's stages: which one is local, which deploy */
6941
- stages: StagesConfig;
6917
+ deploy?: DeployConfig<NoInfer<TDeployed>>;
6918
+ /**
6919
+ * The project's stages: which one is local, which deploy. The deployed
6920
+ * stages type every per-stage map — `domains`, `deploy.objects`,
6921
+ * `deploy.telemetry`, `deploy.compose.proxy`/`tls`.
6922
+ */
6923
+ stages: StagesInput<TDeployed>;
6942
6924
  /** Encrypted secrets configuration */
6943
6925
  secrets?: SecretsConfig;
6944
6926
  /** State provider configuration (local filesystem by default, or SSM for team collaboration) */
@@ -6946,6 +6928,12 @@ type WorkspaceInput<TApps extends AppsRecord> = {
6946
6928
  /** How `gkm dev` is reached: the discovery endpoint's port and origins */
6947
6929
  dev?: DevConfig;
6948
6930
  };
6931
+ /** `stages`, as `defineWorkspace` infers it: each deployed stage literally. */
6932
+ interface StagesInput<TDeployed extends string = string> {
6933
+ local: string;
6934
+ deployed: readonly TDeployed[];
6935
+ protected?: readonly NoInfer<TDeployed>[];
6936
+ }
6949
6937
  /**
6950
6938
  * How `gkm dev` is reached from outside the apps it runs.
6951
6939
  */
@@ -7000,6 +6988,8 @@ type InferredWorkspaceConfig<TApps extends AppsRecord> = {
7000
6988
  dependencies?: InferAppNames<TApps>[];
7001
6989
  }; };
7002
6990
  shared?: SharedConfig;
6991
+ domains?: DomainsConfig;
6992
+ dns?: WorkspaceDnsConfig;
7003
6993
  deploy?: DeployConfig;
7004
6994
  stages: StagesConfig;
7005
6995
  secrets?: SecretsConfig;
@@ -7052,14 +7042,17 @@ type InferredWorkspaceConfig<TApps extends AppsRecord> = {
7052
7042
  * },
7053
7043
  * },
7054
7044
  *
7045
+ * // Each deployed stage's base domain, and who hosts its DNS
7046
+ * domains: {
7047
+ * production: 'myapp.com',
7048
+ * staging: 'staging.myapp.com',
7049
+ * },
7050
+ * dns: { 'myapp.com': { provider: 'godaddy' } },
7051
+ *
7055
7052
  * // Deployment configuration
7056
7053
  * deploy: {
7057
7054
  * default: 'dokploy',
7058
7055
  * registry: 'ghcr.io/myorg',
7059
- * domains: {
7060
- * production: 'myapp.com',
7061
- * staging: 'staging.myapp.com',
7062
- * },
7063
7056
  * dokploy: {
7064
7057
  * endpoint: 'https://dokploy.myserver.com',
7065
7058
  * projectId: 'proj_abc123',
@@ -7090,6 +7083,10 @@ interface WorkspaceConfig {
7090
7083
  apps?: Record<string, AppConfig>;
7091
7084
  /** Shared packages configuration */
7092
7085
  shared?: SharedConfig;
7086
+ /** Each deployed stage's base domain — see {@link DomainsConfig}. */
7087
+ domains?: DomainsConfig;
7088
+ /** Each root domain's DNS provider — see {@link WorkspaceDnsConfig}. */
7089
+ dns?: WorkspaceDnsConfig;
7093
7090
  /** Default deployment configuration */
7094
7091
  deploy?: DeployConfig;
7095
7092
  /** The project's stages: which one is local, which deploy */
@@ -7162,6 +7159,10 @@ interface NormalizedWorkspace {
7162
7159
  constructs?: Routes;
7163
7160
  /** Normalized app configurations */
7164
7161
  apps: Record<string, NormalizedAppConfig>;
7162
+ /** Each deployed stage's base domain */
7163
+ domains?: DomainsConfig;
7164
+ /** Each root domain's DNS provider */
7165
+ dns?: WorkspaceDnsConfig;
7165
7166
  /** Deploy configuration (empty object if not specified) */
7166
7167
  deploy: DeployConfig;
7167
7168
  /** Shared packages configuration (empty object if not specified) */
@@ -7442,7 +7443,11 @@ interface GkmConfig {
7442
7443
  * a rename rather than a rewrite.
7443
7444
  */
7444
7445
  deploy?: DeployConfig;
7446
+ /** Each deployed stage's base domain — the same field a workspace has. */
7447
+ domains?: DomainsConfig;
7448
+ /** Each root domain's DNS provider — the same field a workspace has. */
7449
+ dns?: WorkspaceDnsConfig;
7445
7450
  }
7446
7451
  //#endregion
7447
7452
  export { TargetOptions as $, BackendFramework as A, isPhase2DeployTarget as B, SecretsConfig as C, ReleasedImage as Ct, WorkspaceConfig as D, StageTelemetryConfig as E, deployIdentity as Et, SUPPORTED_DEPLOY_TARGETS as F, DeployPhaseContext as G, validateWorkspaceConfig as H, WorkspaceConfigSchema as I, DeployTarget as J, DeployRuntime as K, formatValidationErrors as L, FrontendFramework as M, MobileFramework as N, WorkspaceInput as O, PHASE_2_DEPLOY_TARGETS as P, TargetEvent as Q, getDeployTargetError as R, OtlpTelemetryConfig as S, StateVersionConflict as St, SharedConfig as T, DeployIdentity as Tt, AnyDeployTarget as U, safeValidateWorkspaceConfig as V, DeployFailure as W, DeployTargetEntry as X, DeployTargetCapabilities as Y, DeployTargetLogger as Z, InferredWorkspaceConfig as _, StoredCredentialsOptions as _t, Routes as a, DeployPhase as at, NormalizedAppConfig as b, StateLocked as bt, AppInput as c, AppDeployResult as ct, ConstrainedApps as d, Credential as dt, TargetOptionsIssue as et, DeployConfig as f, CredentialKind as ft, InferAppNames as g, MissingCredential as gt, DokployWorkspaceConfig as h, CredentialRequest as ht, OpenApiConfig as i, DeployEventType as it, Framework as j, isWorkspaceConfig as k, AppsRecord as l, DeployResult as lt, DevConfig as m, CredentialProvider as mt, EmailBackend as n, DeployEvent as nt, AppConfig as o, ResourceChange as ot, DeployTargetName as p, CredentialKinds as pt, DeploySecrets as q, GkmConfig as r, DeployEventError as rt, AppConfigInput as s, ResourceVia as st, CacheBackend as t, TargetOptionsSchema as tt, ComposeWorkspaceConfig as u, AwsCredential as ut, LoadedConfig as v, chainCredentials as vt, SelfHostedTelemetryConfig as w, StageSecrets as wt, NormalizedWorkspace as x, StateStore as xt, ModelsConfig as y, storedCredentials as yt, isDeployTargetSupported as z };
7448
- //# sourceMappingURL=types-BZ01tZs-.d.mts.map
7453
+ //# sourceMappingURL=types-ZHuZ89hv.d.mts.map