@fjall/util 14.0.0 → 14.2.0
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/.build-source-hash +5 -5
- package/dist/.minified +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/infra/domainExports.d.ts +21 -0
- package/dist/infra/domainExports.js +1 -1
- package/package.json +1 -1
package/dist/.build-source-hash
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"package.json",
|
|
10
10
|
"tsconfig.json"
|
|
11
11
|
],
|
|
12
|
-
"hash": "
|
|
12
|
+
"hash": "0e78a44ce0b1b8f076fb13ac7479e40ec00f8cf5c6d8d621ea022491817503d2",
|
|
13
13
|
"files": {
|
|
14
14
|
"src/async/concurrency.ts": "3c7ebe0222a720f9",
|
|
15
15
|
"src/async/singleton.ts": "7bcc21b0fb920561",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"src/fsHelpers.ts": "0869d9739d523572",
|
|
68
68
|
"src/fsScan.ts": "feb187758481443f",
|
|
69
69
|
"src/httpKeepAlive.ts": "c8fe4b118ef4c79f",
|
|
70
|
-
"src/index.ts": "
|
|
70
|
+
"src/index.ts": "30d1b34d958e8737",
|
|
71
71
|
"src/infra/backupVault.ts": "661678a6dfb0b648",
|
|
72
72
|
"src/infra/connectionsWire.ts": "125c099da0e17ac1",
|
|
73
73
|
"src/infra/deployArtefacts.ts": "235ac21dd3ccf0b2",
|
|
74
74
|
"src/infra/deriveContentHashTag.ts": "115fbe6588794027",
|
|
75
|
-
"src/infra/domainExports.ts": "
|
|
75
|
+
"src/infra/domainExports.ts": "23be88ac8666e1ec",
|
|
76
76
|
"src/infra/imageTags.ts": "82d14f3dfd6ca68f",
|
|
77
77
|
"src/infra/regions.ts": "26b80d7cea05454c",
|
|
78
78
|
"src/infra/tokenScopes.ts": "88c6a1f0da3fa491",
|
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
"src/securityHelpers.ts": "3f78606079c8f45e",
|
|
111
111
|
"src/targets.ts": "126280f0a5762e21",
|
|
112
112
|
"../scripts/minify-dist.mjs": "6b2e4b0df8aec601",
|
|
113
|
-
"package.json": "
|
|
113
|
+
"package.json": "05ab5d34224f7e27",
|
|
114
114
|
"tsconfig.json": "db759831ad95f396"
|
|
115
115
|
},
|
|
116
|
-
"outputHash": "
|
|
116
|
+
"outputHash": "e6b5f17d1ac1a4e0f2260c6ee7f17fbe199aadc74233a9f8964e135907d4dbd7",
|
|
117
117
|
"outputFileCount": 203
|
|
118
118
|
}
|
package/dist/.minified
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
101 files minified at 2026-08-
|
|
1
|
+
101 files minified at 2026-08-18T14:32:50.559Z
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DNS_APEX, getDomainExportNames, getDomainStackName, getDomainUsEast1CertificatesStackName, isManagedDomainBinding, DOMAIN_DEPLOY_DEFAULT_PHASE, type DomainDeployPhase, type ManagedDomainBinding, type ManagedDomainExports } from "./infra/domainExports.js";
|
|
1
|
+
export { DNS_APEX, getDomainExportNames, getDomainStackName, getDomainUsEast1CertificatesStackName, isManagedDomainBinding, DOMAIN_DEPLOY_DEFAULT_PHASE, type DomainDeployPhase, type ManagedDomainBinding, type ManagedDomainCoverage, type ManagedDomainExports } from "./infra/domainExports.js";
|
|
2
2
|
export { BACKUP_VAULT_NAME } from "./infra/backupVault.js";
|
|
3
3
|
export { APPROVAL_TOKEN_OUTPUT_PREFIX, TOKEN_STDERR_PREFIX } from "./deploy/approvalTokenOutput.js";
|
|
4
4
|
export { imageTagParameterName } from "./infra/imageTags.js";
|
|
@@ -51,7 +51,9 @@ export declare const DOMAIN_DEPLOY_DEFAULT_PHASE: DomainDeployPhase;
|
|
|
51
51
|
export declare function getDomainExportNames(domainName: string): {
|
|
52
52
|
hostedZoneId: string;
|
|
53
53
|
certificateArn: string;
|
|
54
|
+
certificateHosts: string;
|
|
54
55
|
usEast1CertificateArn: string;
|
|
56
|
+
usEast1CertificateHosts: string;
|
|
55
57
|
delegationRoleArn: string;
|
|
56
58
|
nameservers: string;
|
|
57
59
|
};
|
|
@@ -85,6 +87,25 @@ export interface ManagedDomainBinding {
|
|
|
85
87
|
/** Parent DelegationRole ARN for child-writes NS delegation (D8), always literal. */
|
|
86
88
|
delegationRoleArn?: string;
|
|
87
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Certificate-coverage companion to {@link ManagedDomainBinding} (design
|
|
92
|
+
* 2026-08-18 cdn-app-origin, D5). Carries the hostnames covered by exactly
|
|
93
|
+
* the two certificates the binding names — `certificateHosts` for
|
|
94
|
+
* `certificateArn`, `usEast1CertificateHosts` for `usEast1CertificateArn` —
|
|
95
|
+
* read from the domain stack's per-certificate hosts outputs. Injected as a
|
|
96
|
+
* SEPARATE context key (`fjall:managedDomainCoverage:<zone>`), never folded
|
|
97
|
+
* into the binding JSON: the binding parser fails closed on unknown fields,
|
|
98
|
+
* so extending the binding would break older-engine synths fed by a newer
|
|
99
|
+
* CLI, while a separate key is invisible to them by construction. A field is
|
|
100
|
+
* absent when the domain stack predates the hosts outputs — consumers must
|
|
101
|
+
* treat absence as coverage-unknown (warn), never as not-covered.
|
|
102
|
+
*/
|
|
103
|
+
export interface ManagedDomainCoverage {
|
|
104
|
+
/** Hostnames covered by the binding's regional `certificateArn`. */
|
|
105
|
+
certificateHosts?: string[];
|
|
106
|
+
/** Hostnames covered by the binding's `usEast1CertificateArn` (D3). */
|
|
107
|
+
usEast1CertificateHosts?: string[];
|
|
108
|
+
}
|
|
88
109
|
/**
|
|
89
110
|
* Discriminate a `ManagedDomainExports | ManagedDomainBinding` union so
|
|
90
111
|
* constructs accepting `managedDomain` can branch: a binding carries the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=Object.defineProperty;var
|
|
1
|
+
var r=Object.defineProperty;var a=(t,e)=>r(t,"name",{value:e,configurable:!0});import{toPascalCase as i}from"../naming/caseConversion.js";const o="@";function c(t){return`${i(t.split(".").join(""))}Domain`}a(c,"getDomainStackName");function f(t){return`${t}UsEast1Certificates`}a(f,"getDomainUsEast1CertificatesStackName");const u="full";function m(t){const e=t.replace(/\./g,"-");return{hostedZoneId:`${e}-hosted-zone-id`,certificateArn:`${e}-certificate-arn`,certificateHosts:`${e}-certificate-hosts`,usEast1CertificateArn:`${e}-us-east-1-certificate-arn`,usEast1CertificateHosts:`${e}-us-east-1-certificate-hosts`,delegationRoleArn:`${e}-delegation-role-arn`,nameservers:`${e}-nameservers`}}a(m,"getDomainExportNames");function p(t){return typeof t.hostedZoneId=="string"}a(p,"isManagedDomainBinding");export{o as DNS_APEX,u as DOMAIN_DEPLOY_DEFAULT_PHASE,m as getDomainExportNames,c as getDomainStackName,f as getDomainUsEast1CertificatesStackName,p as isManagedDomainBinding};
|