@geekmidas/cli 10.0.0-alpha.15 → 10.0.0-alpha.17
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/{bundler-BeNDZdHQ.cjs → bundler-mjqGAvu1.cjs} +2 -2
- package/dist/{bundler-BeNDZdHQ.cjs.map → bundler-mjqGAvu1.cjs.map} +1 -1
- package/dist/{bundler-BodTL4kf.mjs → bundler-mwH7WOb1.mjs} +2 -2
- package/dist/{bundler-BodTL4kf.mjs.map → bundler-mwH7WOb1.mjs.map} +1 -1
- package/dist/{config-Q1rvKHvw.cjs → config-CdTMeMU_.cjs} +2 -2
- package/dist/{config-Q1rvKHvw.cjs.map → config-CdTMeMU_.cjs.map} +1 -1
- package/dist/{config-pqGD3hF9.mjs → config-DPnPkWyH.mjs} +2 -2
- package/dist/{config-pqGD3hF9.mjs.map → config-DPnPkWyH.mjs.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{credentials-BekkKtY_.mjs → credentials-fJP5-fa1.mjs} +4 -4
- package/dist/{credentials-BekkKtY_.mjs.map → credentials-fJP5-fa1.mjs.map} +1 -1
- package/dist/{credentials-Q6F0uqJq.cjs → credentials-tvyReUAd.cjs} +4 -4
- package/dist/{credentials-Q6F0uqJq.cjs.map → credentials-tvyReUAd.cjs.map} +1 -1
- package/dist/discover-BERGFg8v.cjs.map +1 -1
- package/dist/discover-CK-n3w6b.mjs.map +1 -1
- package/dist/{github-CRwnxKmD.mjs → github-CAfKyYPN.mjs} +21 -8
- package/dist/github-CAfKyYPN.mjs.map +1 -0
- package/dist/{github-BfflNPVe.cjs → github-DVE8Gg_F.cjs} +22 -9
- package/dist/github-DVE8Gg_F.cjs.map +1 -0
- package/dist/{index-D-iAVHx-.d.cts → index-B4H4XF7A.d.mts} +3 -3
- package/dist/{index-Cd-qeOam.d.mts.map → index-B4H4XF7A.d.mts.map} +1 -1
- package/dist/{index-Cd-qeOam.d.mts → index-RCUizGxL.d.cts} +3 -3
- package/dist/{index-D-iAVHx-.d.cts.map → index-RCUizGxL.d.cts.map} +1 -1
- package/dist/index.cjs +161 -168
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +156 -163
- package/dist/index.mjs.map +1 -1
- package/dist/{openapi-Dcbme-Us.cjs → openapi-BeckoaP9.cjs} +2 -2
- package/dist/{openapi-Dcbme-Us.cjs.map → openapi-BeckoaP9.cjs.map} +1 -1
- package/dist/{openapi-vy4JzhUv.mjs → openapi-DolhBm6r.mjs} +2 -2
- package/dist/{openapi-vy4JzhUv.mjs.map → openapi-DolhBm6r.mjs.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/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{fullstack-secrets-DXsWO-5m.cjs → reconcile-Cq4cO83R.cjs} +45 -1
- package/dist/reconcile-Cq4cO83R.cjs.map +1 -0
- package/dist/{fullstack-secrets-BET8gqwK.mjs → reconcile-fmoluZmZ.mjs} +34 -2
- package/dist/reconcile-fmoluZmZ.mjs.map +1 -0
- package/dist/ssm-BKN1Cg4z.mjs +60 -0
- package/dist/ssm-BKN1Cg4z.mjs.map +1 -0
- package/dist/ssm-FxeSAt35.cjs +60 -0
- package/dist/ssm-FxeSAt35.cjs.map +1 -0
- package/dist/{storage-C-30BD1e.cjs → storage-DgypfSD6.cjs} +83 -4
- package/dist/storage-DgypfSD6.cjs.map +1 -0
- package/dist/{storage-P_b3w7uj.mjs → storage-TP0x118M.mjs} +77 -4
- package/dist/storage-TP0x118M.mjs.map +1 -0
- package/dist/transfer-4A4S2hcw.mjs +122 -0
- package/dist/transfer-4A4S2hcw.mjs.map +1 -0
- package/dist/transfer-DdmtKLzi.cjs +151 -0
- package/dist/transfer-DdmtKLzi.cjs.map +1 -0
- package/dist/{types-C5ZNpUad.d.cts → types-7R81hu0i.d.mts} +228 -91
- package/dist/types-7R81hu0i.d.mts.map +1 -0
- package/dist/{types-BGo5TaNE.d.mts → types-N7c2O2m7.d.cts} +230 -91
- package/dist/types-N7c2O2m7.d.cts.map +1 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-mFpI_ky_.cjs → workspace-B8NLb54N.cjs} +13 -2
- package/dist/{workspace-mFpI_ky_.cjs.map → workspace-B8NLb54N.cjs.map} +1 -1
- package/dist/{workspace-CgwmXEtc.mjs → workspace-DI-M3BnN.mjs} +13 -2
- package/dist/{workspace-CgwmXEtc.mjs.map → workspace-DI-M3BnN.mjs.map} +1 -1
- package/package.json +12 -12
- package/dist/fullstack-secrets-BET8gqwK.mjs.map +0 -1
- package/dist/fullstack-secrets-DXsWO-5m.cjs.map +0 -1
- package/dist/github-BfflNPVe.cjs.map +0 -1
- package/dist/github-CRwnxKmD.mjs.map +0 -1
- package/dist/keystore-B4PRlbgE.mjs +0 -81
- package/dist/keystore-B4PRlbgE.mjs.map +0 -1
- package/dist/keystore-DgGRj2Yy.cjs +0 -98
- package/dist/keystore-DgGRj2Yy.cjs.map +0 -1
- package/dist/reconcile-Dd2iyILf.cjs +0 -34
- package/dist/reconcile-Dd2iyILf.cjs.map +0 -1
- package/dist/reconcile-DhQ00DpU.mjs +0 -34
- package/dist/reconcile-DhQ00DpU.mjs.map +0 -1
- package/dist/storage-C-30BD1e.cjs.map +0 -1
- package/dist/storage-P_b3w7uj.mjs.map +0 -1
- package/dist/sync-B3xxXtJT.mjs +0 -88
- package/dist/sync-B3xxXtJT.mjs.map +0 -1
- package/dist/sync-D7uTIIEi.cjs +0 -111
- package/dist/sync-D7uTIIEi.cjs.map +0 -1
- package/dist/types-BGo5TaNE.d.mts.map +0 -1
- package/dist/types-C5ZNpUad.d.cts.map +0 -1
|
@@ -1,4 +1,81 @@
|
|
|
1
1
|
import { ConstructManifest } from "@geekmidas/manifest";
|
|
2
|
+
//#region src/secrets/types.d.ts
|
|
3
|
+
/** Credentials for a specific service */
|
|
4
|
+
interface ServiceCredentials {
|
|
5
|
+
host: string;
|
|
6
|
+
port: number;
|
|
7
|
+
username: string;
|
|
8
|
+
password: string;
|
|
9
|
+
/** Database name (for postgres) */
|
|
10
|
+
database?: string;
|
|
11
|
+
/** Virtual host (for rabbitmq) */
|
|
12
|
+
vhost?: string;
|
|
13
|
+
/** Bucket name (for minio) */
|
|
14
|
+
bucket?: string;
|
|
15
|
+
/** Access key ID (for localstack) */
|
|
16
|
+
accessKeyId?: string;
|
|
17
|
+
/** Region (for localstack) */
|
|
18
|
+
region?: string;
|
|
19
|
+
}
|
|
20
|
+
/** Stage secrets configuration */
|
|
21
|
+
interface StageSecrets {
|
|
22
|
+
/** Stage name (e.g., 'production', 'staging') */
|
|
23
|
+
stage: string;
|
|
24
|
+
/** ISO timestamp when secrets were created */
|
|
25
|
+
createdAt: string;
|
|
26
|
+
/** ISO timestamp when secrets were last updated */
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
/** Event backend type (if events are enabled) */
|
|
29
|
+
eventsBackend?: EventsBackend;
|
|
30
|
+
/** Service-specific credentials */
|
|
31
|
+
services: {
|
|
32
|
+
postgres?: ServiceCredentials;
|
|
33
|
+
redis?: ServiceCredentials;
|
|
34
|
+
rabbitmq?: ServiceCredentials;
|
|
35
|
+
minio?: ServiceCredentials;
|
|
36
|
+
mailpit?: ServiceCredentials;
|
|
37
|
+
localstack?: ServiceCredentials;
|
|
38
|
+
pgboss?: ServiceCredentials;
|
|
39
|
+
};
|
|
40
|
+
/** Generated connection URLs */
|
|
41
|
+
urls: {
|
|
42
|
+
DATABASE_URL?: string;
|
|
43
|
+
REDIS_URL?: string;
|
|
44
|
+
RABBITMQ_URL?: string;
|
|
45
|
+
STORAGE_ENDPOINT?: string;
|
|
46
|
+
SMTP_HOST?: string;
|
|
47
|
+
SMTP_PORT?: string;
|
|
48
|
+
EVENT_PUBLISHER_CONNECTION_STRING?: string;
|
|
49
|
+
EVENT_SUBSCRIBER_CONNECTION_STRING?: string;
|
|
50
|
+
};
|
|
51
|
+
/** Custom user-defined secrets */
|
|
52
|
+
custom: Record<string, string>;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/secrets/store.d.ts
|
|
56
|
+
interface SecretsStore {
|
|
57
|
+
/** The stage's secrets, or null if the store holds none for it. */
|
|
58
|
+
pull(stage: string): Promise<StageSecrets | null>;
|
|
59
|
+
/** Replace the stage's secrets in the store. */
|
|
60
|
+
push(stage: string, secrets: StageSecrets): Promise<void>;
|
|
61
|
+
}
|
|
62
|
+
/** Secrets in SSM Parameter Store, in the account of the active credentials. */
|
|
63
|
+
interface SsmSecretsStoreConfig {
|
|
64
|
+
provider: 'ssm';
|
|
65
|
+
region: string;
|
|
66
|
+
}
|
|
67
|
+
/** Any other backend: an object implementing {@link SecretsStore}. */
|
|
68
|
+
interface CustomSecretsStoreConfig {
|
|
69
|
+
provider: SecretsStore;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* `secrets.store` in gkm.config.ts.
|
|
73
|
+
*
|
|
74
|
+
* `'file'` — the default — keeps each stage's secrets in the encrypted
|
|
75
|
+
* `.gkm/secrets/<stage>.json` beside its key in `~/.gkm/`. It cannot serve a
|
|
76
|
+
* deploy from CI while `.gkm/` is gitignored; `ssm` or a custom store can.
|
|
77
|
+
*/
|
|
78
|
+
type SecretsStoreConfig = 'file' | SsmSecretsStoreConfig | CustomSecretsStoreConfig;
|
|
2
79
|
//#endregion
|
|
3
80
|
//#region src/deploy/state.d.ts
|
|
4
81
|
/**
|
|
@@ -4421,10 +4498,10 @@ declare namespace external_d_exports {
|
|
|
4421
4498
|
* Backend framework schema for non-gkm apps.
|
|
4422
4499
|
*/
|
|
4423
4500
|
declare const BackendFrameworkSchema: ZodEnum<{
|
|
4424
|
-
hono: "hono";
|
|
4425
4501
|
"better-auth": "better-auth";
|
|
4426
4502
|
express: "express";
|
|
4427
4503
|
fastify: "fastify";
|
|
4504
|
+
hono: "hono";
|
|
4428
4505
|
}>;
|
|
4429
4506
|
/**
|
|
4430
4507
|
* Backend framework types for apps that don't use gkm routes.
|
|
@@ -4456,8 +4533,8 @@ type BackendFramework = output$1<typeof BackendFrameworkSchema>;
|
|
|
4456
4533
|
declare const FrontendFrameworkSchema: ZodEnum<{
|
|
4457
4534
|
nextjs: "nextjs";
|
|
4458
4535
|
remix: "remix";
|
|
4459
|
-
vite: "vite";
|
|
4460
4536
|
"tanstack-start": "tanstack-start";
|
|
4537
|
+
vite: "vite";
|
|
4461
4538
|
}>;
|
|
4462
4539
|
/**
|
|
4463
4540
|
* Frontend framework types. Derived from {@link FrontendFrameworkSchema}.
|
|
@@ -4516,15 +4593,15 @@ type MobileFramework = output$1<typeof MobileFrameworkSchema>;
|
|
|
4516
4593
|
* Combined framework schema (backend, frontend, or mobile).
|
|
4517
4594
|
*/
|
|
4518
4595
|
declare const FrameworkSchema: ZodUnion<readonly [ZodEnum<{
|
|
4519
|
-
hono: "hono";
|
|
4520
4596
|
"better-auth": "better-auth";
|
|
4521
4597
|
express: "express";
|
|
4522
4598
|
fastify: "fastify";
|
|
4599
|
+
hono: "hono";
|
|
4523
4600
|
}>, ZodEnum<{
|
|
4524
4601
|
nextjs: "nextjs";
|
|
4525
4602
|
remix: "remix";
|
|
4526
|
-
vite: "vite";
|
|
4527
4603
|
"tanstack-start": "tanstack-start";
|
|
4604
|
+
vite: "vite";
|
|
4528
4605
|
}>, ZodEnum<{
|
|
4529
4606
|
expo: "expo";
|
|
4530
4607
|
}>]>;
|
|
@@ -4536,11 +4613,11 @@ type Framework = output$1<typeof FrameworkSchema>;
|
|
|
4536
4613
|
/**
|
|
4537
4614
|
* Supported deploy targets (Phase 1).
|
|
4538
4615
|
*/
|
|
4539
|
-
declare const SUPPORTED_DEPLOY_TARGETS: readonly [
|
|
4616
|
+
declare const SUPPORTED_DEPLOY_TARGETS: readonly ['dokploy'];
|
|
4540
4617
|
/**
|
|
4541
4618
|
* Phase 2 deploy targets (not yet implemented).
|
|
4542
4619
|
*/
|
|
4543
|
-
declare const PHASE_2_DEPLOY_TARGETS: readonly [
|
|
4620
|
+
declare const PHASE_2_DEPLOY_TARGETS: readonly ['vercel', 'cloudflare'];
|
|
4544
4621
|
/**
|
|
4545
4622
|
* Check if a deploy target is supported.
|
|
4546
4623
|
*/
|
|
@@ -4562,33 +4639,33 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
|
|
|
4562
4639
|
}, $strip>, ZodObject<{
|
|
4563
4640
|
provider: ZodLiteral<"route53">;
|
|
4564
4641
|
region: ZodOptional<ZodEnum<{
|
|
4565
|
-
"us-east-1": "us-east-1";
|
|
4566
|
-
"us-east-2": "us-east-2";
|
|
4567
|
-
"us-west-1": "us-west-1";
|
|
4568
|
-
"us-west-2": "us-west-2";
|
|
4569
4642
|
"af-south-1": "af-south-1";
|
|
4570
4643
|
"ap-east-1": "ap-east-1";
|
|
4644
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
4645
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4646
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4571
4647
|
"ap-south-1": "ap-south-1";
|
|
4572
4648
|
"ap-south-2": "ap-south-2";
|
|
4573
4649
|
"ap-southeast-1": "ap-southeast-1";
|
|
4574
4650
|
"ap-southeast-2": "ap-southeast-2";
|
|
4575
4651
|
"ap-southeast-3": "ap-southeast-3";
|
|
4576
4652
|
"ap-southeast-4": "ap-southeast-4";
|
|
4577
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4578
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4579
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4580
4653
|
"ca-central-1": "ca-central-1";
|
|
4581
4654
|
"eu-central-1": "eu-central-1";
|
|
4582
4655
|
"eu-central-2": "eu-central-2";
|
|
4656
|
+
"eu-north-1": "eu-north-1";
|
|
4657
|
+
"eu-south-1": "eu-south-1";
|
|
4658
|
+
"eu-south-2": "eu-south-2";
|
|
4583
4659
|
"eu-west-1": "eu-west-1";
|
|
4584
4660
|
"eu-west-2": "eu-west-2";
|
|
4585
4661
|
"eu-west-3": "eu-west-3";
|
|
4586
|
-
"eu-south-1": "eu-south-1";
|
|
4587
|
-
"eu-south-2": "eu-south-2";
|
|
4588
|
-
"eu-north-1": "eu-north-1";
|
|
4589
|
-
"me-south-1": "me-south-1";
|
|
4590
4662
|
"me-central-1": "me-central-1";
|
|
4663
|
+
"me-south-1": "me-south-1";
|
|
4591
4664
|
"sa-east-1": "sa-east-1";
|
|
4665
|
+
"us-east-1": "us-east-1";
|
|
4666
|
+
"us-east-2": "us-east-2";
|
|
4667
|
+
"us-west-1": "us-west-1";
|
|
4668
|
+
"us-west-2": "us-west-2";
|
|
4592
4669
|
}>>;
|
|
4593
4670
|
profile: ZodOptional<ZodString>;
|
|
4594
4671
|
hostedZoneId: ZodOptional<ZodString>;
|
|
@@ -4616,33 +4693,33 @@ declare const DnsConfigWithLegacySchema: ZodUnion<readonly [ZodRecord<ZodString,
|
|
|
4616
4693
|
}, $strip>, ZodObject<{
|
|
4617
4694
|
provider: ZodLiteral<"route53">;
|
|
4618
4695
|
region: ZodOptional<ZodEnum<{
|
|
4619
|
-
"us-east-1": "us-east-1";
|
|
4620
|
-
"us-east-2": "us-east-2";
|
|
4621
|
-
"us-west-1": "us-west-1";
|
|
4622
|
-
"us-west-2": "us-west-2";
|
|
4623
4696
|
"af-south-1": "af-south-1";
|
|
4624
4697
|
"ap-east-1": "ap-east-1";
|
|
4698
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
4699
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4700
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4625
4701
|
"ap-south-1": "ap-south-1";
|
|
4626
4702
|
"ap-south-2": "ap-south-2";
|
|
4627
4703
|
"ap-southeast-1": "ap-southeast-1";
|
|
4628
4704
|
"ap-southeast-2": "ap-southeast-2";
|
|
4629
4705
|
"ap-southeast-3": "ap-southeast-3";
|
|
4630
4706
|
"ap-southeast-4": "ap-southeast-4";
|
|
4631
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4632
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4633
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4634
4707
|
"ca-central-1": "ca-central-1";
|
|
4635
4708
|
"eu-central-1": "eu-central-1";
|
|
4636
4709
|
"eu-central-2": "eu-central-2";
|
|
4710
|
+
"eu-north-1": "eu-north-1";
|
|
4711
|
+
"eu-south-1": "eu-south-1";
|
|
4712
|
+
"eu-south-2": "eu-south-2";
|
|
4637
4713
|
"eu-west-1": "eu-west-1";
|
|
4638
4714
|
"eu-west-2": "eu-west-2";
|
|
4639
4715
|
"eu-west-3": "eu-west-3";
|
|
4640
|
-
"eu-south-1": "eu-south-1";
|
|
4641
|
-
"eu-south-2": "eu-south-2";
|
|
4642
|
-
"eu-north-1": "eu-north-1";
|
|
4643
|
-
"me-south-1": "me-south-1";
|
|
4644
4716
|
"me-central-1": "me-central-1";
|
|
4717
|
+
"me-south-1": "me-south-1";
|
|
4645
4718
|
"sa-east-1": "sa-east-1";
|
|
4719
|
+
"us-east-1": "us-east-1";
|
|
4720
|
+
"us-east-2": "us-east-2";
|
|
4721
|
+
"us-west-1": "us-west-1";
|
|
4722
|
+
"us-west-2": "us-west-2";
|
|
4646
4723
|
}>>;
|
|
4647
4724
|
profile: ZodOptional<ZodString>;
|
|
4648
4725
|
hostedZoneId: ZodOptional<ZodString>;
|
|
@@ -4679,33 +4756,33 @@ declare const BackupsConfigSchema: ZodObject<{
|
|
|
4679
4756
|
type: ZodLiteral<"s3">;
|
|
4680
4757
|
profile: ZodOptional<ZodString>;
|
|
4681
4758
|
region: ZodEnum<{
|
|
4682
|
-
"us-east-1": "us-east-1";
|
|
4683
|
-
"us-east-2": "us-east-2";
|
|
4684
|
-
"us-west-1": "us-west-1";
|
|
4685
|
-
"us-west-2": "us-west-2";
|
|
4686
4759
|
"af-south-1": "af-south-1";
|
|
4687
4760
|
"ap-east-1": "ap-east-1";
|
|
4761
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
4762
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4763
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4688
4764
|
"ap-south-1": "ap-south-1";
|
|
4689
4765
|
"ap-south-2": "ap-south-2";
|
|
4690
4766
|
"ap-southeast-1": "ap-southeast-1";
|
|
4691
4767
|
"ap-southeast-2": "ap-southeast-2";
|
|
4692
4768
|
"ap-southeast-3": "ap-southeast-3";
|
|
4693
4769
|
"ap-southeast-4": "ap-southeast-4";
|
|
4694
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4695
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4696
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4697
4770
|
"ca-central-1": "ca-central-1";
|
|
4698
4771
|
"eu-central-1": "eu-central-1";
|
|
4699
4772
|
"eu-central-2": "eu-central-2";
|
|
4773
|
+
"eu-north-1": "eu-north-1";
|
|
4774
|
+
"eu-south-1": "eu-south-1";
|
|
4775
|
+
"eu-south-2": "eu-south-2";
|
|
4700
4776
|
"eu-west-1": "eu-west-1";
|
|
4701
4777
|
"eu-west-2": "eu-west-2";
|
|
4702
4778
|
"eu-west-3": "eu-west-3";
|
|
4703
|
-
"eu-south-1": "eu-south-1";
|
|
4704
|
-
"eu-south-2": "eu-south-2";
|
|
4705
|
-
"eu-north-1": "eu-north-1";
|
|
4706
|
-
"me-south-1": "me-south-1";
|
|
4707
4779
|
"me-central-1": "me-central-1";
|
|
4780
|
+
"me-south-1": "me-south-1";
|
|
4708
4781
|
"sa-east-1": "sa-east-1";
|
|
4782
|
+
"us-east-1": "us-east-1";
|
|
4783
|
+
"us-east-2": "us-east-2";
|
|
4784
|
+
"us-west-1": "us-west-1";
|
|
4785
|
+
"us-west-2": "us-west-2";
|
|
4709
4786
|
}>;
|
|
4710
4787
|
schedule: ZodOptional<ZodString>;
|
|
4711
4788
|
retention: ZodOptional<ZodNumber>;
|
|
@@ -4723,16 +4800,16 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4723
4800
|
apps: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
4724
4801
|
type: ZodDefault<ZodOptional<ZodEnum<{
|
|
4725
4802
|
backend: "backend";
|
|
4726
|
-
web: "web";
|
|
4727
4803
|
mobile: "mobile";
|
|
4804
|
+
web: "web";
|
|
4728
4805
|
}>>>;
|
|
4729
4806
|
path: ZodString;
|
|
4730
4807
|
port: ZodNumber;
|
|
4731
4808
|
dependencies: ZodOptional<ZodArray<ZodString>>;
|
|
4732
4809
|
deploy: ZodOptional<ZodEnum<{
|
|
4810
|
+
cloudflare: "cloudflare";
|
|
4733
4811
|
dokploy: "dokploy";
|
|
4734
4812
|
vercel: "vercel";
|
|
4735
|
-
cloudflare: "cloudflare";
|
|
4736
4813
|
}>>;
|
|
4737
4814
|
constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4738
4815
|
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
@@ -4788,21 +4865,21 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4788
4865
|
description: ZodOptional<ZodString>;
|
|
4789
4866
|
}, $strip>]>>;
|
|
4790
4867
|
runtime: ZodOptional<ZodEnum<{
|
|
4791
|
-
node: "node";
|
|
4792
4868
|
bun: "bun";
|
|
4869
|
+
node: "node";
|
|
4793
4870
|
}>>;
|
|
4794
4871
|
env: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4795
4872
|
entry: ZodOptional<ZodString>;
|
|
4796
4873
|
framework: ZodOptional<ZodUnion<readonly [ZodEnum<{
|
|
4797
|
-
hono: "hono";
|
|
4798
4874
|
"better-auth": "better-auth";
|
|
4799
4875
|
express: "express";
|
|
4800
4876
|
fastify: "fastify";
|
|
4877
|
+
hono: "hono";
|
|
4801
4878
|
}>, ZodEnum<{
|
|
4802
4879
|
nextjs: "nextjs";
|
|
4803
4880
|
remix: "remix";
|
|
4804
|
-
vite: "vite";
|
|
4805
4881
|
"tanstack-start": "tanstack-start";
|
|
4882
|
+
vite: "vite";
|
|
4806
4883
|
}>, ZodEnum<{
|
|
4807
4884
|
expo: "expo";
|
|
4808
4885
|
}>]>>;
|
|
@@ -4822,9 +4899,9 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4822
4899
|
}, $strip>>;
|
|
4823
4900
|
deploy: ZodOptional<ZodObject<{
|
|
4824
4901
|
default: ZodOptional<ZodEnum<{
|
|
4902
|
+
cloudflare: "cloudflare";
|
|
4825
4903
|
dokploy: "dokploy";
|
|
4826
4904
|
vercel: "vercel";
|
|
4827
|
-
cloudflare: "cloudflare";
|
|
4828
4905
|
}>>;
|
|
4829
4906
|
dokploy: ZodOptional<ZodObject<{
|
|
4830
4907
|
endpoint: ZodOptional<ZodURL>;
|
|
@@ -4839,33 +4916,33 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4839
4916
|
}, $strip>, ZodObject<{
|
|
4840
4917
|
provider: ZodLiteral<"route53">;
|
|
4841
4918
|
region: ZodOptional<ZodEnum<{
|
|
4842
|
-
"us-east-1": "us-east-1";
|
|
4843
|
-
"us-east-2": "us-east-2";
|
|
4844
|
-
"us-west-1": "us-west-1";
|
|
4845
|
-
"us-west-2": "us-west-2";
|
|
4846
4919
|
"af-south-1": "af-south-1";
|
|
4847
4920
|
"ap-east-1": "ap-east-1";
|
|
4921
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
4922
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4923
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4848
4924
|
"ap-south-1": "ap-south-1";
|
|
4849
4925
|
"ap-south-2": "ap-south-2";
|
|
4850
4926
|
"ap-southeast-1": "ap-southeast-1";
|
|
4851
4927
|
"ap-southeast-2": "ap-southeast-2";
|
|
4852
4928
|
"ap-southeast-3": "ap-southeast-3";
|
|
4853
4929
|
"ap-southeast-4": "ap-southeast-4";
|
|
4854
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4855
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4856
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4857
4930
|
"ca-central-1": "ca-central-1";
|
|
4858
4931
|
"eu-central-1": "eu-central-1";
|
|
4859
4932
|
"eu-central-2": "eu-central-2";
|
|
4933
|
+
"eu-north-1": "eu-north-1";
|
|
4934
|
+
"eu-south-1": "eu-south-1";
|
|
4935
|
+
"eu-south-2": "eu-south-2";
|
|
4860
4936
|
"eu-west-1": "eu-west-1";
|
|
4861
4937
|
"eu-west-2": "eu-west-2";
|
|
4862
4938
|
"eu-west-3": "eu-west-3";
|
|
4863
|
-
"eu-south-1": "eu-south-1";
|
|
4864
|
-
"eu-south-2": "eu-south-2";
|
|
4865
|
-
"eu-north-1": "eu-north-1";
|
|
4866
|
-
"me-south-1": "me-south-1";
|
|
4867
4939
|
"me-central-1": "me-central-1";
|
|
4940
|
+
"me-south-1": "me-south-1";
|
|
4868
4941
|
"sa-east-1": "sa-east-1";
|
|
4942
|
+
"us-east-1": "us-east-1";
|
|
4943
|
+
"us-east-2": "us-east-2";
|
|
4944
|
+
"us-west-1": "us-west-1";
|
|
4945
|
+
"us-west-2": "us-west-2";
|
|
4869
4946
|
}>>;
|
|
4870
4947
|
profile: ZodOptional<ZodString>;
|
|
4871
4948
|
hostedZoneId: ZodOptional<ZodString>;
|
|
@@ -4893,33 +4970,33 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4893
4970
|
}, $strip>, ZodObject<{
|
|
4894
4971
|
provider: ZodLiteral<"route53">;
|
|
4895
4972
|
region: ZodOptional<ZodEnum<{
|
|
4896
|
-
"us-east-1": "us-east-1";
|
|
4897
|
-
"us-east-2": "us-east-2";
|
|
4898
|
-
"us-west-1": "us-west-1";
|
|
4899
|
-
"us-west-2": "us-west-2";
|
|
4900
4973
|
"af-south-1": "af-south-1";
|
|
4901
4974
|
"ap-east-1": "ap-east-1";
|
|
4975
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
4976
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4977
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4902
4978
|
"ap-south-1": "ap-south-1";
|
|
4903
4979
|
"ap-south-2": "ap-south-2";
|
|
4904
4980
|
"ap-southeast-1": "ap-southeast-1";
|
|
4905
4981
|
"ap-southeast-2": "ap-southeast-2";
|
|
4906
4982
|
"ap-southeast-3": "ap-southeast-3";
|
|
4907
4983
|
"ap-southeast-4": "ap-southeast-4";
|
|
4908
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4909
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4910
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4911
4984
|
"ca-central-1": "ca-central-1";
|
|
4912
4985
|
"eu-central-1": "eu-central-1";
|
|
4913
4986
|
"eu-central-2": "eu-central-2";
|
|
4987
|
+
"eu-north-1": "eu-north-1";
|
|
4988
|
+
"eu-south-1": "eu-south-1";
|
|
4989
|
+
"eu-south-2": "eu-south-2";
|
|
4914
4990
|
"eu-west-1": "eu-west-1";
|
|
4915
4991
|
"eu-west-2": "eu-west-2";
|
|
4916
4992
|
"eu-west-3": "eu-west-3";
|
|
4917
|
-
"eu-south-1": "eu-south-1";
|
|
4918
|
-
"eu-south-2": "eu-south-2";
|
|
4919
|
-
"eu-north-1": "eu-north-1";
|
|
4920
|
-
"me-south-1": "me-south-1";
|
|
4921
4993
|
"me-central-1": "me-central-1";
|
|
4994
|
+
"me-south-1": "me-south-1";
|
|
4922
4995
|
"sa-east-1": "sa-east-1";
|
|
4996
|
+
"us-east-1": "us-east-1";
|
|
4997
|
+
"us-east-2": "us-east-2";
|
|
4998
|
+
"us-west-1": "us-west-1";
|
|
4999
|
+
"us-west-2": "us-west-2";
|
|
4923
5000
|
}>>;
|
|
4924
5001
|
profile: ZodOptional<ZodString>;
|
|
4925
5002
|
hostedZoneId: ZodOptional<ZodString>;
|
|
@@ -4949,33 +5026,33 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4949
5026
|
type: ZodLiteral<"s3">;
|
|
4950
5027
|
profile: ZodOptional<ZodString>;
|
|
4951
5028
|
region: ZodEnum<{
|
|
4952
|
-
"us-east-1": "us-east-1";
|
|
4953
|
-
"us-east-2": "us-east-2";
|
|
4954
|
-
"us-west-1": "us-west-1";
|
|
4955
|
-
"us-west-2": "us-west-2";
|
|
4956
5029
|
"af-south-1": "af-south-1";
|
|
4957
5030
|
"ap-east-1": "ap-east-1";
|
|
5031
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
5032
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
5033
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
4958
5034
|
"ap-south-1": "ap-south-1";
|
|
4959
5035
|
"ap-south-2": "ap-south-2";
|
|
4960
5036
|
"ap-southeast-1": "ap-southeast-1";
|
|
4961
5037
|
"ap-southeast-2": "ap-southeast-2";
|
|
4962
5038
|
"ap-southeast-3": "ap-southeast-3";
|
|
4963
5039
|
"ap-southeast-4": "ap-southeast-4";
|
|
4964
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
4965
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
4966
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
4967
5040
|
"ca-central-1": "ca-central-1";
|
|
4968
5041
|
"eu-central-1": "eu-central-1";
|
|
4969
5042
|
"eu-central-2": "eu-central-2";
|
|
5043
|
+
"eu-north-1": "eu-north-1";
|
|
5044
|
+
"eu-south-1": "eu-south-1";
|
|
5045
|
+
"eu-south-2": "eu-south-2";
|
|
4970
5046
|
"eu-west-1": "eu-west-1";
|
|
4971
5047
|
"eu-west-2": "eu-west-2";
|
|
4972
5048
|
"eu-west-3": "eu-west-3";
|
|
4973
|
-
"eu-south-1": "eu-south-1";
|
|
4974
|
-
"eu-south-2": "eu-south-2";
|
|
4975
|
-
"eu-north-1": "eu-north-1";
|
|
4976
|
-
"me-south-1": "me-south-1";
|
|
4977
5049
|
"me-central-1": "me-central-1";
|
|
5050
|
+
"me-south-1": "me-south-1";
|
|
4978
5051
|
"sa-east-1": "sa-east-1";
|
|
5052
|
+
"us-east-1": "us-east-1";
|
|
5053
|
+
"us-east-2": "us-east-2";
|
|
5054
|
+
"us-west-1": "us-west-1";
|
|
5055
|
+
"us-west-2": "us-west-2";
|
|
4979
5056
|
}>;
|
|
4980
5057
|
schedule: ZodOptional<ZodString>;
|
|
4981
5058
|
retention: ZodOptional<ZodNumber>;
|
|
@@ -4988,10 +5065,50 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4988
5065
|
}, $strip>;
|
|
4989
5066
|
secrets: ZodOptional<ZodObject<{
|
|
4990
5067
|
enabled: ZodOptional<ZodBoolean>;
|
|
5068
|
+
store: ZodOptional<ZodUnion<readonly [ZodLiteral<"file">, ZodObject<{
|
|
5069
|
+
provider: ZodLiteral<"ssm">;
|
|
5070
|
+
region: ZodEnum<{
|
|
5071
|
+
"af-south-1": "af-south-1";
|
|
5072
|
+
"ap-east-1": "ap-east-1";
|
|
5073
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
5074
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
5075
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
5076
|
+
"ap-south-1": "ap-south-1";
|
|
5077
|
+
"ap-south-2": "ap-south-2";
|
|
5078
|
+
"ap-southeast-1": "ap-southeast-1";
|
|
5079
|
+
"ap-southeast-2": "ap-southeast-2";
|
|
5080
|
+
"ap-southeast-3": "ap-southeast-3";
|
|
5081
|
+
"ap-southeast-4": "ap-southeast-4";
|
|
5082
|
+
"ca-central-1": "ca-central-1";
|
|
5083
|
+
"eu-central-1": "eu-central-1";
|
|
5084
|
+
"eu-central-2": "eu-central-2";
|
|
5085
|
+
"eu-north-1": "eu-north-1";
|
|
5086
|
+
"eu-south-1": "eu-south-1";
|
|
5087
|
+
"eu-south-2": "eu-south-2";
|
|
5088
|
+
"eu-west-1": "eu-west-1";
|
|
5089
|
+
"eu-west-2": "eu-west-2";
|
|
5090
|
+
"eu-west-3": "eu-west-3";
|
|
5091
|
+
"me-central-1": "me-central-1";
|
|
5092
|
+
"me-south-1": "me-south-1";
|
|
5093
|
+
"sa-east-1": "sa-east-1";
|
|
5094
|
+
"us-east-1": "us-east-1";
|
|
5095
|
+
"us-east-2": "us-east-2";
|
|
5096
|
+
"us-west-1": "us-west-1";
|
|
5097
|
+
"us-west-2": "us-west-2";
|
|
5098
|
+
}>;
|
|
5099
|
+
}, $strict>, ZodObject<{
|
|
5100
|
+
provider: ZodCustom<{
|
|
5101
|
+
pull: Function;
|
|
5102
|
+
push: Function;
|
|
5103
|
+
}, {
|
|
5104
|
+
pull: Function;
|
|
5105
|
+
push: Function;
|
|
5106
|
+
}>;
|
|
5107
|
+
}, $strip>]>>;
|
|
4991
5108
|
algorithm: ZodOptional<ZodString>;
|
|
4992
5109
|
kdf: ZodOptional<ZodEnum<{
|
|
4993
|
-
scrypt: "scrypt";
|
|
4994
5110
|
pbkdf2: "pbkdf2";
|
|
5111
|
+
scrypt: "scrypt";
|
|
4995
5112
|
}>>;
|
|
4996
5113
|
}, $strip>>;
|
|
4997
5114
|
state: ZodOptional<ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
|
|
@@ -4999,33 +5116,33 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4999
5116
|
}, $strip>, ZodObject<{
|
|
5000
5117
|
provider: ZodLiteral<"ssm">;
|
|
5001
5118
|
region: ZodEnum<{
|
|
5002
|
-
"us-east-1": "us-east-1";
|
|
5003
|
-
"us-east-2": "us-east-2";
|
|
5004
|
-
"us-west-1": "us-west-1";
|
|
5005
|
-
"us-west-2": "us-west-2";
|
|
5006
5119
|
"af-south-1": "af-south-1";
|
|
5007
5120
|
"ap-east-1": "ap-east-1";
|
|
5121
|
+
"ap-northeast-1": "ap-northeast-1";
|
|
5122
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
5123
|
+
"ap-northeast-3": "ap-northeast-3";
|
|
5008
5124
|
"ap-south-1": "ap-south-1";
|
|
5009
5125
|
"ap-south-2": "ap-south-2";
|
|
5010
5126
|
"ap-southeast-1": "ap-southeast-1";
|
|
5011
5127
|
"ap-southeast-2": "ap-southeast-2";
|
|
5012
5128
|
"ap-southeast-3": "ap-southeast-3";
|
|
5013
5129
|
"ap-southeast-4": "ap-southeast-4";
|
|
5014
|
-
"ap-northeast-1": "ap-northeast-1";
|
|
5015
|
-
"ap-northeast-2": "ap-northeast-2";
|
|
5016
|
-
"ap-northeast-3": "ap-northeast-3";
|
|
5017
5130
|
"ca-central-1": "ca-central-1";
|
|
5018
5131
|
"eu-central-1": "eu-central-1";
|
|
5019
5132
|
"eu-central-2": "eu-central-2";
|
|
5133
|
+
"eu-north-1": "eu-north-1";
|
|
5134
|
+
"eu-south-1": "eu-south-1";
|
|
5135
|
+
"eu-south-2": "eu-south-2";
|
|
5020
5136
|
"eu-west-1": "eu-west-1";
|
|
5021
5137
|
"eu-west-2": "eu-west-2";
|
|
5022
5138
|
"eu-west-3": "eu-west-3";
|
|
5023
|
-
"eu-south-1": "eu-south-1";
|
|
5024
|
-
"eu-south-2": "eu-south-2";
|
|
5025
|
-
"eu-north-1": "eu-north-1";
|
|
5026
|
-
"me-south-1": "me-south-1";
|
|
5027
5139
|
"me-central-1": "me-central-1";
|
|
5140
|
+
"me-south-1": "me-south-1";
|
|
5028
5141
|
"sa-east-1": "sa-east-1";
|
|
5142
|
+
"us-east-1": "us-east-1";
|
|
5143
|
+
"us-east-2": "us-east-2";
|
|
5144
|
+
"us-west-1": "us-west-1";
|
|
5145
|
+
"us-west-2": "us-west-2";
|
|
5029
5146
|
}>;
|
|
5030
5147
|
profile: ZodOptional<ZodString>;
|
|
5031
5148
|
}, $strip>], "provider">, ZodObject<{
|
|
@@ -5302,6 +5419,14 @@ interface StagesConfig {
|
|
|
5302
5419
|
interface SecretsConfig {
|
|
5303
5420
|
/** Enable encrypted secrets (default: true) */
|
|
5304
5421
|
enabled?: boolean;
|
|
5422
|
+
/**
|
|
5423
|
+
* Where deployed stages' secrets live, so a deploy can reach them from
|
|
5424
|
+
* anywhere: `'file'` (default — the encrypted `.gkm/secrets/<stage>.json`,
|
|
5425
|
+
* which cannot serve CI while `.gkm/` is gitignored), `{ provider: 'ssm',
|
|
5426
|
+
* region }` (each stage's secrets in its own AWS account), or any object
|
|
5427
|
+
* implementing `SecretsStore`. The local stage always uses the file.
|
|
5428
|
+
*/
|
|
5429
|
+
store?: SecretsStoreConfig;
|
|
5305
5430
|
/** Encryption algorithm (default: 'aes-256-gcm') */
|
|
5306
5431
|
algorithm?: string;
|
|
5307
5432
|
/** Key derivation function (default: 'scrypt') */
|
|
@@ -5891,6 +6016,16 @@ interface ProductionConfig {
|
|
|
5891
6016
|
*/
|
|
5892
6017
|
optimizedHandlers?: boolean;
|
|
5893
6018
|
}
|
|
6019
|
+
/**
|
|
6020
|
+
* Supported event backend types.
|
|
6021
|
+
*
|
|
6022
|
+
* - `pgboss`: Reuses PostgreSQL with a dedicated user/schema. Auto-enables db service.
|
|
6023
|
+
* - `sns`: Adds LocalStack container with SNS+SQS services.
|
|
6024
|
+
* - `rabbitmq`: Adds RabbitMQ container.
|
|
6025
|
+
*
|
|
6026
|
+
* All backends generate EVENT_PUBLISHER_CONNECTION_STRING and EVENT_SUBSCRIBER_CONNECTION_STRING.
|
|
6027
|
+
*/
|
|
6028
|
+
type EventsBackend = 'pgboss' | 'sns' | 'rabbitmq';
|
|
5894
6029
|
/**
|
|
5895
6030
|
* Where a declared cache actually lives.
|
|
5896
6031
|
*
|
|
@@ -6057,6 +6192,8 @@ interface GkmConfig {
|
|
|
6057
6192
|
name?: string;
|
|
6058
6193
|
/** The project's stages: which one is local, which deploy */
|
|
6059
6194
|
stages: StagesConfig;
|
|
6195
|
+
/** Encrypted secrets, and where deployed stages' secrets are stored */
|
|
6196
|
+
secrets?: SecretsConfig;
|
|
6060
6197
|
/**
|
|
6061
6198
|
* Constructs glob pattern — one glob, every kind.
|
|
6062
6199
|
*
|
|
@@ -6162,4 +6299,4 @@ interface GkmConfig {
|
|
|
6162
6299
|
}
|
|
6163
6300
|
//#endregion
|
|
6164
6301
|
export { SUPPORTED_DEPLOY_TARGETS as A, WorkspaceInput as C, FrontendFramework as D, Framework as E, isPhase2DeployTarget as F, safeValidateWorkspaceConfig as I, validateWorkspaceConfig as L, formatValidationErrors as M, getDeployTargetError as N, MobileFramework as O, isDeployTargetSupported as P, WorkspaceConfig as S, BackendFramework as T, ModelsConfig as _, Routes as a, SecretsConfig as b, AppInput as c, DeployConfig as d, DeployTarget as f, LoadedConfig as g, InferredWorkspaceConfig as h, OpenApiConfig as i, WorkspaceConfigSchema as j, PHASE_2_DEPLOY_TARGETS as k, AppsRecord as l, InferAppNames as m, EmailBackend as n, AppConfig as o, DokployWorkspaceConfig as p, GkmConfig as r, AppConfigInput as s, CacheBackend as t, ConstrainedApps as u, NormalizedAppConfig as v, isWorkspaceConfig as w, SharedConfig as x, NormalizedWorkspace as y };
|
|
6165
|
-
//# sourceMappingURL=types-
|
|
6302
|
+
//# sourceMappingURL=types-7R81hu0i.d.mts.map
|