@geekmidas/cli 10.0.0-alpha.87 → 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.
- package/dist/GoDaddyProvider--36rw8cP.mjs +387 -0
- package/dist/GoDaddyProvider--36rw8cP.mjs.map +1 -0
- package/dist/GoDaddyProvider-DnRor066.cjs +387 -0
- package/dist/GoDaddyProvider-DnRor066.cjs.map +1 -0
- package/dist/{HostingerProvider-CVc3rLPB.mjs → HostingerProvider-BI6J7oJr.mjs} +2 -2
- package/dist/{HostingerProvider-CVc3rLPB.mjs.map → HostingerProvider-BI6J7oJr.mjs.map} +1 -1
- package/dist/{HostingerProvider-BCB1QJj1.cjs → HostingerProvider-CyTpG_jy.cjs} +2 -2
- package/dist/{HostingerProvider-BCB1QJj1.cjs.map → HostingerProvider-CyTpG_jy.cjs.map} +1 -1
- package/dist/{LegacyStateStore-CWG_HVC0.cjs → LegacyStateStore-BaBoYl59.cjs} +2 -2
- package/dist/{LegacyStateStore-CWG_HVC0.cjs.map → LegacyStateStore-BaBoYl59.cjs.map} +1 -1
- package/dist/{LegacyStateStore-B0R4LlX_.mjs → LegacyStateStore-CO7bzJCU.mjs} +2 -2
- package/dist/{LegacyStateStore-B0R4LlX_.mjs.map → LegacyStateStore-CO7bzJCU.mjs.map} +1 -1
- package/dist/{LocalStateStore-CLwa2DpK.cjs → LocalStateStore-CUWh2BWU.cjs} +2 -2
- package/dist/{LocalStateStore-CLwa2DpK.cjs.map → LocalStateStore-CUWh2BWU.cjs.map} +1 -1
- package/dist/{LocalStateStore-Q4vXg2ua.mjs → LocalStateStore-C_hYDv6I.mjs} +2 -2
- package/dist/{LocalStateStore-Q4vXg2ua.mjs.map → LocalStateStore-C_hYDv6I.mjs.map} +1 -1
- package/dist/{S3StateStore-Cea9_5gF.cjs → S3StateStore-O8EYfjfG.cjs} +2 -2
- package/dist/{S3StateStore-Cea9_5gF.cjs.map → S3StateStore-O8EYfjfG.cjs.map} +1 -1
- package/dist/{S3StateStore-CksKYKRa.mjs → S3StateStore-hIm8Rrmu.mjs} +2 -2
- package/dist/{S3StateStore-CksKYKRa.mjs.map → S3StateStore-hIm8Rrmu.mjs.map} +1 -1
- package/dist/{SSMStateStore-aBOTF018.cjs → SSMStateStore-DIzbiqCz.cjs} +2 -2
- package/dist/{SSMStateStore-aBOTF018.cjs.map → SSMStateStore-DIzbiqCz.cjs.map} +1 -1
- package/dist/{SSMStateStore-BszSCAS2.mjs → SSMStateStore-IvcjTk8h.mjs} +2 -2
- package/dist/{SSMStateStore-BszSCAS2.mjs.map → SSMStateStore-IvcjTk8h.mjs.map} +1 -1
- package/dist/SubscriberGenerator-BPqQf8fB.mjs.map +1 -1
- package/dist/SubscriberGenerator-BVn7cQ-2.cjs.map +1 -1
- package/dist/{add-5MZAXybv.cjs → add-C9qX4Juc.cjs} +30 -7
- package/dist/add-C9qX4Juc.cjs.map +1 -0
- package/dist/{add-D_jNqnfZ.mjs → add-v3tCbrpE.mjs} +30 -7
- package/dist/add-v3tCbrpE.mjs.map +1 -0
- package/dist/{bundler-1REMhKps.cjs → bundler-C4NmpRTD.cjs} +5 -5
- package/dist/{bundler-1REMhKps.cjs.map → bundler-C4NmpRTD.cjs.map} +1 -1
- package/dist/{bundler-BMo-JP5s.mjs → bundler-C_fCgcVO.mjs} +5 -5
- package/dist/{bundler-BMo-JP5s.mjs.map → bundler-C_fCgcVO.mjs.map} +1 -1
- package/dist/{cli-BL8ZHsLQ.cjs → cli-C85Dut8K.cjs} +6 -5
- package/dist/cli-C85Dut8K.cjs.map +1 -0
- package/dist/{cli-7edNFwGk.mjs → cli-REdO9X5b.mjs} +7 -6
- package/dist/cli-REdO9X5b.mjs.map +1 -0
- package/dist/{compose-xw86kVYi.cjs → compose-BvrhDwJ6.cjs} +556 -30
- package/dist/compose-BvrhDwJ6.cjs.map +1 -0
- package/dist/{compose-DbJhRQlh.mjs → compose-Dn0oAgQ0.mjs} +509 -31
- package/dist/compose-Dn0oAgQ0.mjs.map +1 -0
- package/dist/{config-DrCAyoH5.d.mts → config-CdEcTrjG.d.mts} +3 -3
- package/dist/{config-CpjsVxru.d.cts.map → config-CdEcTrjG.d.mts.map} +1 -1
- package/dist/{config-CpjsVxru.d.cts → config-pST7E0CS.d.cts} +3 -3
- package/dist/{config-DrCAyoH5.d.mts.map → config-pST7E0CS.d.cts.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +1 -1
- package/dist/{credentials-tr26-KML.cjs → credentials-BKfIugu2.cjs} +47 -2
- package/dist/credentials-BKfIugu2.cjs.map +1 -0
- package/dist/{credentials-BgJ5mS_d.mjs → credentials-CnVqoXMb.mjs} +30 -3
- package/dist/credentials-CnVqoXMb.mjs.map +1 -0
- package/dist/databases-BY-pEImp.cjs.map +1 -1
- package/dist/databases-CzszQV0N.mjs.map +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.d.cts +9 -3
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +9 -3
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-BTfmXd3g.mjs → deploy-BaERRh0Q.mjs} +10 -8
- package/dist/deploy-BaERRh0Q.mjs.map +1 -0
- package/dist/{deploy-CtbZj4zN.cjs → deploy-DbBGo3a6.cjs} +10 -8
- package/dist/deploy-DbBGo3a6.cjs.map +1 -0
- package/dist/{dokploy-r69yZaIt.mjs → dokploy-CMmD_ddX.mjs} +2 -2
- package/dist/{dokploy-r69yZaIt.mjs.map → dokploy-CMmD_ddX.mjs.map} +1 -1
- package/dist/{dokploy-TGk3oPwr.cjs → dokploy-DwAaKA9B.cjs} +2 -2
- package/dist/{dokploy-TGk3oPwr.cjs.map → dokploy-DwAaKA9B.cjs.map} +1 -1
- package/dist/{encryption-C-8Tt5Hh.mjs → encryption-BQmhq9_y.mjs} +3 -3
- package/dist/{encryption-C-8Tt5Hh.mjs.map → encryption-BQmhq9_y.mjs.map} +1 -1
- package/dist/{encryption-CDn7BH5O.cjs → encryption-BrN_9_CM.cjs} +3 -3
- package/dist/{encryption-CDn7BH5O.cjs.map → encryption-BrN_9_CM.cjs.map} +1 -1
- package/dist/{engine-jAINgiOB.mjs → engine-DILocOOH.mjs} +23 -404
- package/dist/engine-DILocOOH.mjs.map +1 -0
- package/dist/{engine-Bt5k_UMq.cjs → engine-DgHoFBMw.cjs} +25 -406
- package/dist/engine-DgHoFBMw.cjs.map +1 -0
- package/dist/{github-DFhuJQlp.cjs → github-Bf7pz6AV.cjs} +3 -3
- package/dist/{github-DFhuJQlp.cjs.map → github-Bf7pz6AV.cjs.map} +1 -1
- package/dist/{github-CZHAtwPT.mjs → github-xzg99wz8.mjs} +3 -3
- package/dist/{github-CZHAtwPT.mjs.map → github-xzg99wz8.mjs.map} +1 -1
- package/dist/{index-MnUJuUlj.d.mts → index-D-F_hTDz.d.cts} +21 -4
- package/dist/index-D-F_hTDz.d.cts.map +1 -0
- package/dist/{index-elsLJTUv.d.cts → index-YFNxR5Ns.d.mts} +21 -4
- package/dist/index-YFNxR5Ns.d.mts.map +1 -0
- package/dist/index.cjs +305 -69
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +306 -71
- package/dist/index.mjs.map +1 -1
- package/dist/{local-Cq8qdgNX.cjs → local-BjxDfPvy.cjs} +2 -2
- package/dist/{local-Cq8qdgNX.cjs.map → local-BjxDfPvy.cjs.map} +1 -1
- package/dist/{local-Ciq-bTPr.mjs → local-IuoIF3CT.mjs} +2 -2
- package/dist/{local-Ciq-bTPr.mjs.map → local-IuoIF3CT.mjs.map} +1 -1
- package/dist/{migrate-B1rVlwj1.cjs → migrate-7xayVtzL.cjs} +3 -3
- package/dist/{migrate-B1rVlwj1.cjs.map → migrate-7xayVtzL.cjs.map} +1 -1
- package/dist/{migrate-ggkPVJRC.mjs → migrate-CKLJ73OO.mjs} +4 -4
- package/dist/{migrate-ggkPVJRC.mjs.map → migrate-CKLJ73OO.mjs.map} +1 -1
- package/dist/{migrate-Dn7nK6sh.mjs → migrate-CpmO5qnl.mjs} +3 -3
- package/dist/{migrate-Dn7nK6sh.mjs.map → migrate-CpmO5qnl.mjs.map} +1 -1
- package/dist/{migrate-B16qgYTn.cjs → migrate-DPF7ZF8M.cjs} +3 -3
- package/dist/{migrate-B16qgYTn.cjs.map → migrate-DPF7ZF8M.cjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/ready-BpNbORRB.cjs.map +1 -1
- package/dist/ready-b6vm0-W-.mjs.map +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{reconcile--I7V4Klj.mjs → reconcile-Dh1Jk7WE.mjs} +2 -2
- package/dist/{reconcile--I7V4Klj.mjs.map → reconcile-Dh1Jk7WE.mjs.map} +1 -1
- package/dist/{resolve-BSke45k6.mjs → resolve-Dv_weZoh.mjs} +4 -4
- package/dist/{resolve-BSke45k6.mjs.map → resolve-Dv_weZoh.mjs.map} +1 -1
- package/dist/{resolve-BXeXzpmU.cjs → resolve-dlKPFNgv.cjs} +4 -4
- package/dist/{resolve-BXeXzpmU.cjs.map → resolve-dlKPFNgv.cjs.map} +1 -1
- package/dist/{rollback-DFMiBWf0.cjs → rollback-65VVIdBM.cjs} +6 -6
- package/dist/{rollback-DFMiBWf0.cjs.map → rollback-65VVIdBM.cjs.map} +1 -1
- package/dist/{rollback-CEE6dse4.mjs → rollback-DpSU2DsD.mjs} +6 -6
- package/dist/{rollback-CEE6dse4.mjs.map → rollback-DpSU2DsD.mjs.map} +1 -1
- package/dist/{runtime-HabiNBtJ.d.mts → runtime-CN_kmqxo.d.cts} +2 -2
- package/dist/{runtime-D48ZKk8_.d.cts.map → runtime-CN_kmqxo.d.cts.map} +1 -1
- package/dist/{runtime-D48ZKk8_.d.cts → runtime-Cjvon3oj.d.mts} +2 -2
- package/dist/{runtime-HabiNBtJ.d.mts.map → runtime-Cjvon3oj.d.mts.map} +1 -1
- package/dist/{seeds-CsI0A_Ef.cjs → seeds-CN6tB-va.cjs} +646 -187
- package/dist/{seeds-CsI0A_Ef.cjs.map → seeds-CN6tB-va.cjs.map} +1 -1
- package/dist/{seeds-BYdrtZsC.mjs → seeds-perzdN81.mjs} +599 -164
- package/dist/seeds-perzdN81.mjs.map +1 -0
- package/dist/{sniffer-B0EU73bj.mjs → sniffer-BTtX3NUM.mjs} +3 -3
- package/dist/{sniffer-B0EU73bj.mjs.map → sniffer-BTtX3NUM.mjs.map} +1 -1
- package/dist/{sniffer-DJYupBeK.cjs → sniffer-IAQEpsQb.cjs} +3 -3
- package/dist/{sniffer-DJYupBeK.cjs.map → sniffer-IAQEpsQb.cjs.map} +1 -1
- package/dist/{sst-DAqUoZKG.cjs → sst-BgcOsaBi.cjs} +3 -3
- package/dist/{sst-DAqUoZKG.cjs.map → sst-BgcOsaBi.cjs.map} +1 -1
- package/dist/{sst-D1Qj4sIs.mjs → sst-CJzvyrEz.mjs} +3 -3
- package/dist/{sst-D1Qj4sIs.mjs.map → sst-CJzvyrEz.mjs.map} +1 -1
- package/dist/{stages-Brn3vcdy.cjs → stages-CUn6gvXL.cjs} +2 -2
- package/dist/{stages-Brn3vcdy.cjs.map → stages-CUn6gvXL.cjs.map} +1 -1
- package/dist/{stages-DoHHz6pS.mjs → stages-CnZRYmkI.mjs} +2 -2
- package/dist/{stages-DoHHz6pS.mjs.map → stages-CnZRYmkI.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-BTbZlrFV.mjs → terminal-D8TPK7o9.mjs} +3 -3
- package/dist/{terminal-BTbZlrFV.mjs.map → terminal-D8TPK7o9.mjs.map} +1 -1
- package/dist/{terminal-COv23heb.cjs → terminal-DuapRxh6.cjs} +2 -2
- package/dist/{terminal-COv23heb.cjs.map → terminal-DuapRxh6.cjs.map} +1 -1
- package/dist/{types-0oAyFOfR.d.cts → types-NqX1Hz4P.d.cts} +210 -205
- package/dist/types-NqX1Hz4P.d.cts.map +1 -0
- package/dist/{types-BZ01tZs-.d.mts → types-ZHuZ89hv.d.mts} +210 -205
- package/dist/types-ZHuZ89hv.d.mts.map +1 -0
- package/dist/workspace/index.cjs +3 -1
- package/dist/workspace/index.d.cts +3 -3
- package/dist/workspace/index.d.mts +3 -3
- package/dist/workspace/index.mjs +2 -2
- package/dist/{workspace-D2CYLMCW.mjs → workspace-CJ0lKFq-.mjs} +231 -10
- package/dist/workspace-CJ0lKFq-.mjs.map +1 -0
- package/dist/{workspace-CT0JM3Y8.cjs → workspace-CwW3Gkru.cjs} +266 -9
- package/dist/workspace-CwW3Gkru.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/add-5MZAXybv.cjs.map +0 -1
- package/dist/add-D_jNqnfZ.mjs.map +0 -1
- package/dist/cli-7edNFwGk.mjs.map +0 -1
- package/dist/cli-BL8ZHsLQ.cjs.map +0 -1
- package/dist/compose-DbJhRQlh.mjs.map +0 -1
- package/dist/compose-xw86kVYi.cjs.map +0 -1
- package/dist/credentials-BgJ5mS_d.mjs.map +0 -1
- package/dist/credentials-tr26-KML.cjs.map +0 -1
- package/dist/deploy-BTfmXd3g.mjs.map +0 -1
- package/dist/deploy-CtbZj4zN.cjs.map +0 -1
- package/dist/engine-Bt5k_UMq.cjs.map +0 -1
- package/dist/engine-jAINgiOB.mjs.map +0 -1
- package/dist/index-MnUJuUlj.d.mts.map +0 -1
- package/dist/index-elsLJTUv.d.cts.map +0 -1
- package/dist/seeds-BYdrtZsC.mjs.map +0 -1
- package/dist/types-0oAyFOfR.d.cts.map +0 -1
- package/dist/types-BZ01tZs-.d.mts.map +0 -1
- package/dist/workspace-CT0JM3Y8.cjs.map +0 -1
- package/dist/workspace-D2CYLMCW.mjs.map +0 -1
|
@@ -508,6 +508,19 @@ interface CredentialKinds {
|
|
|
508
508
|
};
|
|
509
509
|
value: AwsCredential;
|
|
510
510
|
};
|
|
511
|
+
/**
|
|
512
|
+
* A GoDaddy Personal Access Token, for a `dns` domain whose provider is
|
|
513
|
+
* `godaddy`. Read on the machine that writes the records — never the
|
|
514
|
+
* server's.
|
|
515
|
+
*/
|
|
516
|
+
godaddy: {
|
|
517
|
+
request: Record<never, never>;
|
|
518
|
+
value: GoDaddyCredential;
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
/** A GoDaddy Personal Access Token, sent as `Authorization: Bearer <token>`. */
|
|
522
|
+
interface GoDaddyCredential {
|
|
523
|
+
token: string;
|
|
511
524
|
}
|
|
512
525
|
/**
|
|
513
526
|
* Who to act as on AWS: a named profile, or keys.
|
|
@@ -1007,6 +1020,12 @@ interface DeployPhaseContext<Options = undefined> {
|
|
|
1007
1020
|
* runs both.
|
|
1008
1021
|
*/
|
|
1009
1022
|
readonly allowDevServices: boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* `--skip-dns-check`: a server target does not check that each public
|
|
1025
|
+
* host resolves to the stage's server before it starts — for a CDN or
|
|
1026
|
+
* proxy in front of it.
|
|
1027
|
+
*/
|
|
1028
|
+
readonly skipDnsCheck?: boolean;
|
|
1010
1029
|
/** Where every credential comes from. Nothing prompts. */
|
|
1011
1030
|
readonly credentials: CredentialProvider;
|
|
1012
1031
|
/**
|
|
@@ -5546,13 +5565,21 @@ declare function isPhase2DeployTarget(target: string): boolean;
|
|
|
5546
5565
|
*/
|
|
5547
5566
|
declare function getDeployTargetError(target: string, appName?: string): string;
|
|
5548
5567
|
/**
|
|
5549
|
-
*
|
|
5568
|
+
* Single DNS provider config (for one domain).
|
|
5550
5569
|
*/
|
|
5551
|
-
declare const
|
|
5570
|
+
declare const DnsProviderSchema: ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
5552
5571
|
provider: ZodLiteral<"hostinger">;
|
|
5572
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5573
|
+
mode: ZodLiteral<"cname">;
|
|
5574
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5575
|
+
}, $strict>]>>;
|
|
5553
5576
|
ttl: ZodOptional<ZodNumber>;
|
|
5554
5577
|
}, $strip>, ZodObject<{
|
|
5555
5578
|
provider: ZodLiteral<"route53">;
|
|
5579
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5580
|
+
mode: ZodLiteral<"cname">;
|
|
5581
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5582
|
+
}, $strict>]>>;
|
|
5556
5583
|
region: ZodOptional<ZodEnum<{
|
|
5557
5584
|
"af-south-1": "af-south-1";
|
|
5558
5585
|
"ap-east-1": "ap-east-1";
|
|
@@ -5586,67 +5613,25 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
|
|
|
5586
5613
|
hostedZoneId: ZodOptional<ZodString>;
|
|
5587
5614
|
ttl: ZodOptional<ZodNumber>;
|
|
5588
5615
|
}, $strip>, ZodObject<{
|
|
5589
|
-
provider: ZodLiteral<"
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
}, $
|
|
5594
|
-
provider: ZodCustom<{
|
|
5595
|
-
name: string;
|
|
5596
|
-
getRecords: Function;
|
|
5597
|
-
upsertRecords: Function;
|
|
5598
|
-
}, {
|
|
5599
|
-
name: string;
|
|
5600
|
-
getRecords: Function;
|
|
5601
|
-
upsertRecords: Function;
|
|
5602
|
-
}>;
|
|
5603
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5604
|
-
}, $strip>]>>, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
5605
|
-
provider: ZodLiteral<"hostinger">;
|
|
5606
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5607
|
-
domain: ZodString;
|
|
5608
|
-
}, $strip>, ZodObject<{
|
|
5609
|
-
provider: ZodLiteral<"route53">;
|
|
5610
|
-
region: ZodOptional<ZodEnum<{
|
|
5611
|
-
"af-south-1": "af-south-1";
|
|
5612
|
-
"ap-east-1": "ap-east-1";
|
|
5613
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
5614
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
5615
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
5616
|
-
"ap-south-1": "ap-south-1";
|
|
5617
|
-
"ap-south-2": "ap-south-2";
|
|
5618
|
-
"ap-southeast-1": "ap-southeast-1";
|
|
5619
|
-
"ap-southeast-2": "ap-southeast-2";
|
|
5620
|
-
"ap-southeast-3": "ap-southeast-3";
|
|
5621
|
-
"ap-southeast-4": "ap-southeast-4";
|
|
5622
|
-
"ca-central-1": "ca-central-1";
|
|
5623
|
-
"eu-central-1": "eu-central-1";
|
|
5624
|
-
"eu-central-2": "eu-central-2";
|
|
5625
|
-
"eu-north-1": "eu-north-1";
|
|
5626
|
-
"eu-south-1": "eu-south-1";
|
|
5627
|
-
"eu-south-2": "eu-south-2";
|
|
5628
|
-
"eu-west-1": "eu-west-1";
|
|
5629
|
-
"eu-west-2": "eu-west-2";
|
|
5630
|
-
"eu-west-3": "eu-west-3";
|
|
5631
|
-
"me-central-1": "me-central-1";
|
|
5632
|
-
"me-south-1": "me-south-1";
|
|
5633
|
-
"sa-east-1": "sa-east-1";
|
|
5634
|
-
"us-east-1": "us-east-1";
|
|
5635
|
-
"us-east-2": "us-east-2";
|
|
5636
|
-
"us-west-1": "us-west-1";
|
|
5637
|
-
"us-west-2": "us-west-2";
|
|
5638
|
-
}>>;
|
|
5639
|
-
profile: ZodOptional<ZodString>;
|
|
5640
|
-
hostedZoneId: ZodOptional<ZodString>;
|
|
5616
|
+
provider: ZodLiteral<"godaddy">;
|
|
5617
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5618
|
+
mode: ZodLiteral<"cname">;
|
|
5619
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5620
|
+
}, $strict>]>>;
|
|
5641
5621
|
ttl: ZodOptional<ZodNumber>;
|
|
5642
|
-
domain: ZodString;
|
|
5643
5622
|
}, $strip>, ZodObject<{
|
|
5644
5623
|
provider: ZodLiteral<"cloudflare">;
|
|
5624
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5625
|
+
mode: ZodLiteral<"cname">;
|
|
5626
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5627
|
+
}, $strict>]>>;
|
|
5645
5628
|
ttl: ZodOptional<ZodNumber>;
|
|
5646
|
-
domain: ZodString;
|
|
5647
5629
|
}, $strip>, ZodObject<{
|
|
5648
5630
|
provider: ZodLiteral<"manual">;
|
|
5649
|
-
|
|
5631
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5632
|
+
mode: ZodLiteral<"cname">;
|
|
5633
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5634
|
+
}, $strict>]>>;
|
|
5650
5635
|
}, $strip>], "provider">, ZodObject<{
|
|
5651
5636
|
provider: ZodCustom<{
|
|
5652
5637
|
name: string;
|
|
@@ -5657,10 +5642,13 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
|
|
|
5657
5642
|
getRecords: Function;
|
|
5658
5643
|
upsertRecords: Function;
|
|
5659
5644
|
}>;
|
|
5645
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5646
|
+
mode: ZodLiteral<"cname">;
|
|
5647
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5648
|
+
}, $strict>]>>;
|
|
5660
5649
|
ttl: ZodOptional<ZodNumber>;
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
type DnsConfig = output$1<typeof DnsConfigWithLegacySchema>;
|
|
5650
|
+
}, $strip>]>;
|
|
5651
|
+
type DnsProvider = output$1<typeof DnsProviderSchema>;
|
|
5664
5652
|
/**
|
|
5665
5653
|
* Backups configuration schema.
|
|
5666
5654
|
*
|
|
@@ -5779,11 +5767,92 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
5779
5767
|
}>>;
|
|
5780
5768
|
}, $strip>>;
|
|
5781
5769
|
}, $strip>>;
|
|
5770
|
+
domains: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
5771
|
+
dns: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
5772
|
+
provider: ZodLiteral<"hostinger">;
|
|
5773
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5774
|
+
mode: ZodLiteral<"cname">;
|
|
5775
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5776
|
+
}, $strict>]>>;
|
|
5777
|
+
ttl: ZodOptional<ZodNumber>;
|
|
5778
|
+
}, $strip>, ZodObject<{
|
|
5779
|
+
provider: ZodLiteral<"route53">;
|
|
5780
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5781
|
+
mode: ZodLiteral<"cname">;
|
|
5782
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5783
|
+
}, $strict>]>>;
|
|
5784
|
+
region: ZodOptional<ZodEnum<{
|
|
5785
|
+
"af-south-1": "af-south-1";
|
|
5786
|
+
"ap-east-1": "ap-east-1";
|
|
5787
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
5788
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
5789
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
5790
|
+
"ap-south-1": "ap-south-1";
|
|
5791
|
+
"ap-south-2": "ap-south-2";
|
|
5792
|
+
"ap-southeast-1": "ap-southeast-1";
|
|
5793
|
+
"ap-southeast-2": "ap-southeast-2";
|
|
5794
|
+
"ap-southeast-3": "ap-southeast-3";
|
|
5795
|
+
"ap-southeast-4": "ap-southeast-4";
|
|
5796
|
+
"ca-central-1": "ca-central-1";
|
|
5797
|
+
"eu-central-1": "eu-central-1";
|
|
5798
|
+
"eu-central-2": "eu-central-2";
|
|
5799
|
+
"eu-north-1": "eu-north-1";
|
|
5800
|
+
"eu-south-1": "eu-south-1";
|
|
5801
|
+
"eu-south-2": "eu-south-2";
|
|
5802
|
+
"eu-west-1": "eu-west-1";
|
|
5803
|
+
"eu-west-2": "eu-west-2";
|
|
5804
|
+
"eu-west-3": "eu-west-3";
|
|
5805
|
+
"me-central-1": "me-central-1";
|
|
5806
|
+
"me-south-1": "me-south-1";
|
|
5807
|
+
"sa-east-1": "sa-east-1";
|
|
5808
|
+
"us-east-1": "us-east-1";
|
|
5809
|
+
"us-east-2": "us-east-2";
|
|
5810
|
+
"us-west-1": "us-west-1";
|
|
5811
|
+
"us-west-2": "us-west-2";
|
|
5812
|
+
}>>;
|
|
5813
|
+
profile: ZodOptional<ZodString>;
|
|
5814
|
+
hostedZoneId: ZodOptional<ZodString>;
|
|
5815
|
+
ttl: ZodOptional<ZodNumber>;
|
|
5816
|
+
}, $strip>, ZodObject<{
|
|
5817
|
+
provider: ZodLiteral<"godaddy">;
|
|
5818
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5819
|
+
mode: ZodLiteral<"cname">;
|
|
5820
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5821
|
+
}, $strict>]>>;
|
|
5822
|
+
ttl: ZodOptional<ZodNumber>;
|
|
5823
|
+
}, $strip>, ZodObject<{
|
|
5824
|
+
provider: ZodLiteral<"cloudflare">;
|
|
5825
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5826
|
+
mode: ZodLiteral<"cname">;
|
|
5827
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5828
|
+
}, $strict>]>>;
|
|
5829
|
+
ttl: ZodOptional<ZodNumber>;
|
|
5830
|
+
}, $strip>, ZodObject<{
|
|
5831
|
+
provider: ZodLiteral<"manual">;
|
|
5832
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5833
|
+
mode: ZodLiteral<"cname">;
|
|
5834
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5835
|
+
}, $strict>]>>;
|
|
5836
|
+
}, $strip>], "provider">, ZodObject<{
|
|
5837
|
+
provider: ZodCustom<{
|
|
5838
|
+
name: string;
|
|
5839
|
+
getRecords: Function;
|
|
5840
|
+
upsertRecords: Function;
|
|
5841
|
+
}, {
|
|
5842
|
+
name: string;
|
|
5843
|
+
getRecords: Function;
|
|
5844
|
+
upsertRecords: Function;
|
|
5845
|
+
}>;
|
|
5846
|
+
records: ZodOptional<ZodUnion<readonly [ZodLiteral<"a">, ZodObject<{
|
|
5847
|
+
mode: ZodLiteral<"cname">;
|
|
5848
|
+
target: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodString>]>;
|
|
5849
|
+
}, $strict>]>>;
|
|
5850
|
+
ttl: ZodOptional<ZodNumber>;
|
|
5851
|
+
}, $strip>]>>>;
|
|
5782
5852
|
deploy: ZodOptional<ZodObject<{
|
|
5783
5853
|
default: ZodOptional<ZodString>;
|
|
5784
5854
|
targets: ZodOptional<ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodCustom<unknown, unknown>, ZodTuple<[ZodUnion<readonly [ZodString, ZodCustom<unknown, unknown>]>, ZodUnknown], null>]>>>;
|
|
5785
5855
|
namespace: ZodOptional<ZodString>;
|
|
5786
|
-
domains: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
5787
5856
|
registry: ZodOptional<ZodString>;
|
|
5788
5857
|
dokploy: ZodOptional<ZodObject<{
|
|
5789
5858
|
endpoint: ZodOptional<ZodURL>;
|
|
@@ -5825,118 +5894,6 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
5825
5894
|
sampleRate: ZodOptional<ZodNumber>;
|
|
5826
5895
|
}, $strict>]>>>;
|
|
5827
5896
|
objects: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
5828
|
-
dns: ZodOptional<ZodUnion<readonly [ZodRecord<ZodString, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
5829
|
-
provider: ZodLiteral<"hostinger">;
|
|
5830
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5831
|
-
}, $strip>, ZodObject<{
|
|
5832
|
-
provider: ZodLiteral<"route53">;
|
|
5833
|
-
region: ZodOptional<ZodEnum<{
|
|
5834
|
-
"af-south-1": "af-south-1";
|
|
5835
|
-
"ap-east-1": "ap-east-1";
|
|
5836
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
5837
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
5838
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
5839
|
-
"ap-south-1": "ap-south-1";
|
|
5840
|
-
"ap-south-2": "ap-south-2";
|
|
5841
|
-
"ap-southeast-1": "ap-southeast-1";
|
|
5842
|
-
"ap-southeast-2": "ap-southeast-2";
|
|
5843
|
-
"ap-southeast-3": "ap-southeast-3";
|
|
5844
|
-
"ap-southeast-4": "ap-southeast-4";
|
|
5845
|
-
"ca-central-1": "ca-central-1";
|
|
5846
|
-
"eu-central-1": "eu-central-1";
|
|
5847
|
-
"eu-central-2": "eu-central-2";
|
|
5848
|
-
"eu-north-1": "eu-north-1";
|
|
5849
|
-
"eu-south-1": "eu-south-1";
|
|
5850
|
-
"eu-south-2": "eu-south-2";
|
|
5851
|
-
"eu-west-1": "eu-west-1";
|
|
5852
|
-
"eu-west-2": "eu-west-2";
|
|
5853
|
-
"eu-west-3": "eu-west-3";
|
|
5854
|
-
"me-central-1": "me-central-1";
|
|
5855
|
-
"me-south-1": "me-south-1";
|
|
5856
|
-
"sa-east-1": "sa-east-1";
|
|
5857
|
-
"us-east-1": "us-east-1";
|
|
5858
|
-
"us-east-2": "us-east-2";
|
|
5859
|
-
"us-west-1": "us-west-1";
|
|
5860
|
-
"us-west-2": "us-west-2";
|
|
5861
|
-
}>>;
|
|
5862
|
-
profile: ZodOptional<ZodString>;
|
|
5863
|
-
hostedZoneId: ZodOptional<ZodString>;
|
|
5864
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5865
|
-
}, $strip>, ZodObject<{
|
|
5866
|
-
provider: ZodLiteral<"cloudflare">;
|
|
5867
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5868
|
-
}, $strip>, ZodObject<{
|
|
5869
|
-
provider: ZodLiteral<"manual">;
|
|
5870
|
-
}, $strip>], "provider">, ZodObject<{
|
|
5871
|
-
provider: ZodCustom<{
|
|
5872
|
-
name: string;
|
|
5873
|
-
getRecords: Function;
|
|
5874
|
-
upsertRecords: Function;
|
|
5875
|
-
}, {
|
|
5876
|
-
name: string;
|
|
5877
|
-
getRecords: Function;
|
|
5878
|
-
upsertRecords: Function;
|
|
5879
|
-
}>;
|
|
5880
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5881
|
-
}, $strip>]>>, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
5882
|
-
provider: ZodLiteral<"hostinger">;
|
|
5883
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5884
|
-
domain: ZodString;
|
|
5885
|
-
}, $strip>, ZodObject<{
|
|
5886
|
-
provider: ZodLiteral<"route53">;
|
|
5887
|
-
region: ZodOptional<ZodEnum<{
|
|
5888
|
-
"af-south-1": "af-south-1";
|
|
5889
|
-
"ap-east-1": "ap-east-1";
|
|
5890
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
5891
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
5892
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
5893
|
-
"ap-south-1": "ap-south-1";
|
|
5894
|
-
"ap-south-2": "ap-south-2";
|
|
5895
|
-
"ap-southeast-1": "ap-southeast-1";
|
|
5896
|
-
"ap-southeast-2": "ap-southeast-2";
|
|
5897
|
-
"ap-southeast-3": "ap-southeast-3";
|
|
5898
|
-
"ap-southeast-4": "ap-southeast-4";
|
|
5899
|
-
"ca-central-1": "ca-central-1";
|
|
5900
|
-
"eu-central-1": "eu-central-1";
|
|
5901
|
-
"eu-central-2": "eu-central-2";
|
|
5902
|
-
"eu-north-1": "eu-north-1";
|
|
5903
|
-
"eu-south-1": "eu-south-1";
|
|
5904
|
-
"eu-south-2": "eu-south-2";
|
|
5905
|
-
"eu-west-1": "eu-west-1";
|
|
5906
|
-
"eu-west-2": "eu-west-2";
|
|
5907
|
-
"eu-west-3": "eu-west-3";
|
|
5908
|
-
"me-central-1": "me-central-1";
|
|
5909
|
-
"me-south-1": "me-south-1";
|
|
5910
|
-
"sa-east-1": "sa-east-1";
|
|
5911
|
-
"us-east-1": "us-east-1";
|
|
5912
|
-
"us-east-2": "us-east-2";
|
|
5913
|
-
"us-west-1": "us-west-1";
|
|
5914
|
-
"us-west-2": "us-west-2";
|
|
5915
|
-
}>>;
|
|
5916
|
-
profile: ZodOptional<ZodString>;
|
|
5917
|
-
hostedZoneId: ZodOptional<ZodString>;
|
|
5918
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5919
|
-
domain: ZodString;
|
|
5920
|
-
}, $strip>, ZodObject<{
|
|
5921
|
-
provider: ZodLiteral<"cloudflare">;
|
|
5922
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5923
|
-
domain: ZodString;
|
|
5924
|
-
}, $strip>, ZodObject<{
|
|
5925
|
-
provider: ZodLiteral<"manual">;
|
|
5926
|
-
domain: ZodString;
|
|
5927
|
-
}, $strip>], "provider">, ZodObject<{
|
|
5928
|
-
provider: ZodCustom<{
|
|
5929
|
-
name: string;
|
|
5930
|
-
getRecords: Function;
|
|
5931
|
-
upsertRecords: Function;
|
|
5932
|
-
}, {
|
|
5933
|
-
name: string;
|
|
5934
|
-
getRecords: Function;
|
|
5935
|
-
upsertRecords: Function;
|
|
5936
|
-
}>;
|
|
5937
|
-
ttl: ZodOptional<ZodNumber>;
|
|
5938
|
-
domain: ZodString;
|
|
5939
|
-
}, $strip>]>]>>;
|
|
5940
5897
|
backups: ZodOptional<ZodObject<{
|
|
5941
5898
|
type: ZodLiteral<"s3">;
|
|
5942
5899
|
profile: ZodOptional<ZodString>;
|
|
@@ -6176,7 +6133,31 @@ declare function formatValidationErrors(error: ZodError): string;
|
|
|
6176
6133
|
*/
|
|
6177
6134
|
type DeployTargetName = 'dokploy' | 'compose' | 'sst' | (string & {});
|
|
6178
6135
|
/**
|
|
6179
|
-
*
|
|
6136
|
+
* A per-stage map, typed from the workspace's deployed stages: a key that is
|
|
6137
|
+
* not one is a type error. Untyped (`string`) stages accept any key, which the
|
|
6138
|
+
* schema then checks at load.
|
|
6139
|
+
*/
|
|
6140
|
+
type StageMap<S extends string, V> = string extends S ? Record<string, V> : Partial<Record<S, V>>;
|
|
6141
|
+
/**
|
|
6142
|
+
* `domains: { <stage>: '<domain>' }` at the root of `defineWorkspace`, typed from
|
|
6143
|
+
* the deployed stages.
|
|
6144
|
+
*/
|
|
6145
|
+
type DomainsInput<S extends string = string> = StageMap<S, string>;
|
|
6146
|
+
/** How one root domain's hosts point at a compose stage's server. */
|
|
6147
|
+
type DnsRecordsModeInput<S extends string = string> = 'a' | {
|
|
6148
|
+
mode: 'cname';
|
|
6149
|
+
target: string | StageMap<S, string>;
|
|
6150
|
+
};
|
|
6151
|
+
/** One root domain's DNS provider, its records mode typed from the stages. */
|
|
6152
|
+
type DnsDomainInput<S extends string = string> = DnsProvider extends (infer P) ? P extends unknown ? Omit<P, 'records'> & {
|
|
6153
|
+
records?: DnsRecordsModeInput<S>;
|
|
6154
|
+
} : never : never;
|
|
6155
|
+
/** `dns: { '<root domain>': { provider, … } }` at the root of `defineWorkspace`. */
|
|
6156
|
+
type DnsInput<S extends string = string> = Record<string, DnsDomainInput<S>>;
|
|
6157
|
+
/** Each root domain's DNS provider — `dns` at the root of the config. */
|
|
6158
|
+
type WorkspaceDnsConfig = Record<string, DnsProvider>;
|
|
6159
|
+
/**
|
|
6160
|
+
* Each deployed stage's base domain — `domains` at the root of the config.
|
|
6180
6161
|
*
|
|
6181
6162
|
* A fact about the deployment rather than the platform, so every target reads
|
|
6182
6163
|
* it. The root site answers on the base domain; every other surface on
|
|
@@ -6185,9 +6166,7 @@ type DeployTargetName = 'dokploy' | 'compose' | 'sst' | (string & {});
|
|
|
6185
6166
|
*
|
|
6186
6167
|
* @example
|
|
6187
6168
|
* ```ts
|
|
6188
|
-
*
|
|
6189
|
-
* domains: { production: 'myapp.com', staging: 'staging.myapp.com' },
|
|
6190
|
-
* }
|
|
6169
|
+
* domains: { production: 'myapp.com', staging: 'staging.myapp.com' },
|
|
6191
6170
|
*
|
|
6192
6171
|
* // production:
|
|
6193
6172
|
* // - new StaticSite('Web', { root: true }) → myapp.com
|
|
@@ -6291,7 +6270,7 @@ interface DokployVerifyConfig {
|
|
|
6291
6270
|
* deploy: { compose: { proxy: 'traefik' } }
|
|
6292
6271
|
* ```
|
|
6293
6272
|
*/
|
|
6294
|
-
interface ComposeWorkspaceConfig {
|
|
6273
|
+
interface ComposeWorkspaceConfig<S extends string = string> {
|
|
6295
6274
|
/**
|
|
6296
6275
|
* What serves a deployed stage's stack: `'caddy'` (the default) — the
|
|
6297
6276
|
* stack's own Caddy on 80/443 — or `'traefik'`, the server's shared
|
|
@@ -6304,7 +6283,7 @@ interface ComposeWorkspaceConfig {
|
|
|
6304
6283
|
* proxy: { staging: 'traefik', production: 'caddy' }
|
|
6305
6284
|
* ```
|
|
6306
6285
|
*/
|
|
6307
|
-
proxy?: ComposeProxy |
|
|
6286
|
+
proxy?: ComposeProxy | StageMap<S, ComposeProxy>;
|
|
6308
6287
|
/**
|
|
6309
6288
|
* A deployed stage's own certificate, by stage, instead of one from
|
|
6310
6289
|
* Let's Encrypt: a PEM certificate (with its chain) and its key, relative
|
|
@@ -6314,7 +6293,7 @@ interface ComposeWorkspaceConfig {
|
|
|
6314
6293
|
* tls: { production: { certFile: 'certs/origin.pem', keyFile: 'certs/origin.key' } }
|
|
6315
6294
|
* ```
|
|
6316
6295
|
*/
|
|
6317
|
-
tls?:
|
|
6296
|
+
tls?: StageMap<S, ComposeTlsConfig>;
|
|
6318
6297
|
}
|
|
6319
6298
|
/** The proxies a compose stack can be served by — `deploy.compose.proxy`. */
|
|
6320
6299
|
type ComposeProxy = 'caddy' | 'traefik';
|
|
@@ -6428,20 +6407,13 @@ interface OtlpTelemetryConfig extends TelemetryProviderConfig {
|
|
|
6428
6407
|
* default: 'dokploy',
|
|
6429
6408
|
* }
|
|
6430
6409
|
*
|
|
6431
|
-
* // Full configuration with
|
|
6410
|
+
* // Full configuration with backups (domains and dns are at the root)
|
|
6432
6411
|
* deploy: {
|
|
6433
6412
|
* default: 'dokploy',
|
|
6434
6413
|
* registry: 'ghcr.io/myorg',
|
|
6435
6414
|
* dokploy: {
|
|
6436
6415
|
* endpoint: 'https://dokploy.myserver.com',
|
|
6437
6416
|
* projectId: 'proj_abc123',
|
|
6438
|
-
* domains: {
|
|
6439
|
-
* production: 'myapp.com',
|
|
6440
|
-
* },
|
|
6441
|
-
* },
|
|
6442
|
-
* dns: {
|
|
6443
|
-
* provider: 'hostinger',
|
|
6444
|
-
* domain: 'myapp.com',
|
|
6445
6417
|
* },
|
|
6446
6418
|
* backups: {
|
|
6447
6419
|
* type: 's3',
|
|
@@ -6450,7 +6422,7 @@ interface OtlpTelemetryConfig extends TelemetryProviderConfig {
|
|
|
6450
6422
|
* }
|
|
6451
6423
|
* ```
|
|
6452
6424
|
*/
|
|
6453
|
-
interface DeployConfig {
|
|
6425
|
+
interface DeployConfig<S extends string = string> {
|
|
6454
6426
|
/** Default deploy target for all apps (default: 'dokploy') */
|
|
6455
6427
|
default?: DeployTargetName;
|
|
6456
6428
|
/**
|
|
@@ -6481,8 +6453,6 @@ interface DeployConfig {
|
|
|
6481
6453
|
* names a workspace was already deployed under.
|
|
6482
6454
|
*/
|
|
6483
6455
|
namespace?: string;
|
|
6484
|
-
/** Each deployed stage's base domain — see {@link DomainsConfig}. */
|
|
6485
|
-
domains?: DomainsConfig;
|
|
6486
6456
|
/**
|
|
6487
6457
|
* The container registry the apps' images are pushed to and pulled from,
|
|
6488
6458
|
* whatever the target — `ghcr.io/myorg`. An image is
|
|
@@ -6492,19 +6462,17 @@ interface DeployConfig {
|
|
|
6492
6462
|
/** Dokploy-specific configuration */
|
|
6493
6463
|
dokploy?: DokployWorkspaceConfig;
|
|
6494
6464
|
/** What the `compose` target runs beside the apps — see {@link ComposeWorkspaceConfig}. */
|
|
6495
|
-
compose?: ComposeWorkspaceConfig
|
|
6465
|
+
compose?: ComposeWorkspaceConfig<S>;
|
|
6496
6466
|
/**
|
|
6497
6467
|
* Where each deployed stage's telemetry goes — see
|
|
6498
6468
|
* {@link StageTelemetryConfig}.
|
|
6499
6469
|
*/
|
|
6500
|
-
telemetry?:
|
|
6470
|
+
telemetry?: StageMap<S, StageTelemetryConfig>;
|
|
6501
6471
|
/**
|
|
6502
6472
|
* What backs each deployed stage's buckets — the `objects` kind that
|
|
6503
6473
|
* `ObjectStorage` and `FileServer` produce. See {@link StageObjectsConfig}.
|
|
6504
6474
|
*/
|
|
6505
|
-
objects?:
|
|
6506
|
-
/** DNS configuration for automatic record creation */
|
|
6507
|
-
dns?: DnsConfig;
|
|
6475
|
+
objects?: StageMap<S, StageObjectsConfig>;
|
|
6508
6476
|
/** Backup destination configuration for database services */
|
|
6509
6477
|
backups?: BackupsConfig;
|
|
6510
6478
|
}
|
|
@@ -6916,7 +6884,7 @@ type ConstrainedApps<TApps extends AppsRecord> = { [K in keyof TApps]: Omit<TApp
|
|
|
6916
6884
|
* });
|
|
6917
6885
|
* ```
|
|
6918
6886
|
*/
|
|
6919
|
-
type WorkspaceInput<TApps extends AppsRecord> = {
|
|
6887
|
+
type WorkspaceInput<TApps extends AppsRecord, TDeployed extends string = string> = {
|
|
6920
6888
|
/**
|
|
6921
6889
|
* Where the workspace's own constructs live, relative to its root.
|
|
6922
6890
|
*
|
|
@@ -6936,10 +6904,24 @@ type WorkspaceInput<TApps extends AppsRecord> = {
|
|
|
6936
6904
|
apps?: ConstrainedApps<TApps>;
|
|
6937
6905
|
/** Shared packages configuration */
|
|
6938
6906
|
shared?: SharedConfig;
|
|
6907
|
+
/**
|
|
6908
|
+
* Each deployed stage's base domain — see {@link DomainsConfig}. A key that
|
|
6909
|
+
* is not a deployed stage is a type error.
|
|
6910
|
+
*/
|
|
6911
|
+
domains?: DomainsInput<NoInfer<TDeployed>>;
|
|
6912
|
+
/**
|
|
6913
|
+
* Each root domain's DNS provider, and how its hosts are pointed at a
|
|
6914
|
+
* compose stage's server (`records`).
|
|
6915
|
+
*/
|
|
6916
|
+
dns?: DnsInput<NoInfer<TDeployed>>;
|
|
6939
6917
|
/** Deployment configuration */
|
|
6940
|
-
deploy?: DeployConfig
|
|
6941
|
-
/**
|
|
6942
|
-
|
|
6918
|
+
deploy?: DeployConfig<NoInfer<TDeployed>>;
|
|
6919
|
+
/**
|
|
6920
|
+
* The project's stages: which one is local, which deploy. The deployed
|
|
6921
|
+
* stages type every per-stage map — `domains`, `deploy.objects`,
|
|
6922
|
+
* `deploy.telemetry`, `deploy.compose.proxy`/`tls`.
|
|
6923
|
+
*/
|
|
6924
|
+
stages: StagesInput<TDeployed>;
|
|
6943
6925
|
/** Encrypted secrets configuration */
|
|
6944
6926
|
secrets?: SecretsConfig;
|
|
6945
6927
|
/** State provider configuration (local filesystem by default, or SSM for team collaboration) */
|
|
@@ -6947,6 +6929,12 @@ type WorkspaceInput<TApps extends AppsRecord> = {
|
|
|
6947
6929
|
/** How `gkm dev` is reached: the discovery endpoint's port and origins */
|
|
6948
6930
|
dev?: DevConfig;
|
|
6949
6931
|
};
|
|
6932
|
+
/** `stages`, as `defineWorkspace` infers it: each deployed stage literally. */
|
|
6933
|
+
interface StagesInput<TDeployed extends string = string> {
|
|
6934
|
+
local: string;
|
|
6935
|
+
deployed: readonly TDeployed[];
|
|
6936
|
+
protected?: readonly NoInfer<TDeployed>[];
|
|
6937
|
+
}
|
|
6950
6938
|
/**
|
|
6951
6939
|
* How `gkm dev` is reached from outside the apps it runs.
|
|
6952
6940
|
*/
|
|
@@ -7001,6 +6989,8 @@ type InferredWorkspaceConfig<TApps extends AppsRecord> = {
|
|
|
7001
6989
|
dependencies?: InferAppNames<TApps>[];
|
|
7002
6990
|
}; };
|
|
7003
6991
|
shared?: SharedConfig;
|
|
6992
|
+
domains?: DomainsConfig;
|
|
6993
|
+
dns?: WorkspaceDnsConfig;
|
|
7004
6994
|
deploy?: DeployConfig;
|
|
7005
6995
|
stages: StagesConfig;
|
|
7006
6996
|
secrets?: SecretsConfig;
|
|
@@ -7053,14 +7043,17 @@ type InferredWorkspaceConfig<TApps extends AppsRecord> = {
|
|
|
7053
7043
|
* },
|
|
7054
7044
|
* },
|
|
7055
7045
|
*
|
|
7046
|
+
* // Each deployed stage's base domain, and who hosts its DNS
|
|
7047
|
+
* domains: {
|
|
7048
|
+
* production: 'myapp.com',
|
|
7049
|
+
* staging: 'staging.myapp.com',
|
|
7050
|
+
* },
|
|
7051
|
+
* dns: { 'myapp.com': { provider: 'godaddy' } },
|
|
7052
|
+
*
|
|
7056
7053
|
* // Deployment configuration
|
|
7057
7054
|
* deploy: {
|
|
7058
7055
|
* default: 'dokploy',
|
|
7059
7056
|
* registry: 'ghcr.io/myorg',
|
|
7060
|
-
* domains: {
|
|
7061
|
-
* production: 'myapp.com',
|
|
7062
|
-
* staging: 'staging.myapp.com',
|
|
7063
|
-
* },
|
|
7064
7057
|
* dokploy: {
|
|
7065
7058
|
* endpoint: 'https://dokploy.myserver.com',
|
|
7066
7059
|
* projectId: 'proj_abc123',
|
|
@@ -7091,6 +7084,10 @@ interface WorkspaceConfig {
|
|
|
7091
7084
|
apps?: Record<string, AppConfig>;
|
|
7092
7085
|
/** Shared packages configuration */
|
|
7093
7086
|
shared?: SharedConfig;
|
|
7087
|
+
/** Each deployed stage's base domain — see {@link DomainsConfig}. */
|
|
7088
|
+
domains?: DomainsConfig;
|
|
7089
|
+
/** Each root domain's DNS provider — see {@link WorkspaceDnsConfig}. */
|
|
7090
|
+
dns?: WorkspaceDnsConfig;
|
|
7094
7091
|
/** Default deployment configuration */
|
|
7095
7092
|
deploy?: DeployConfig;
|
|
7096
7093
|
/** The project's stages: which one is local, which deploy */
|
|
@@ -7163,6 +7160,10 @@ interface NormalizedWorkspace {
|
|
|
7163
7160
|
constructs?: Routes;
|
|
7164
7161
|
/** Normalized app configurations */
|
|
7165
7162
|
apps: Record<string, NormalizedAppConfig>;
|
|
7163
|
+
/** Each deployed stage's base domain */
|
|
7164
|
+
domains?: DomainsConfig;
|
|
7165
|
+
/** Each root domain's DNS provider */
|
|
7166
|
+
dns?: WorkspaceDnsConfig;
|
|
7166
7167
|
/** Deploy configuration (empty object if not specified) */
|
|
7167
7168
|
deploy: DeployConfig;
|
|
7168
7169
|
/** Shared packages configuration (empty object if not specified) */
|
|
@@ -7443,7 +7444,11 @@ interface GkmConfig {
|
|
|
7443
7444
|
* a rename rather than a rewrite.
|
|
7444
7445
|
*/
|
|
7445
7446
|
deploy?: DeployConfig;
|
|
7447
|
+
/** Each deployed stage's base domain — the same field a workspace has. */
|
|
7448
|
+
domains?: DomainsConfig;
|
|
7449
|
+
/** Each root domain's DNS provider — the same field a workspace has. */
|
|
7450
|
+
dns?: WorkspaceDnsConfig;
|
|
7446
7451
|
}
|
|
7447
7452
|
//#endregion
|
|
7448
7453
|
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 };
|
|
7449
|
-
//# sourceMappingURL=types-
|
|
7454
|
+
//# sourceMappingURL=types-NqX1Hz4P.d.cts.map
|