@fjall/util 4.0.0 → 4.1.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/.minified
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
92 files minified at 2026-07-
|
|
1
|
+
92 files minified at 2026-07-24T23:00:42.861Z
|
|
@@ -30,6 +30,7 @@ export declare const DevSubstrateSynthPropsSchema: z.ZodObject<{
|
|
|
30
30
|
appKebab: z.ZodString;
|
|
31
31
|
engineVersion: z.ZodOptional<z.ZodString>;
|
|
32
32
|
adoptSlotEcr: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
adoptCacheEcr: z.ZodOptional<z.ZodBoolean>;
|
|
33
34
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
34
35
|
zone: "zone";
|
|
35
36
|
full: "full";
|
|
@@ -58,6 +59,7 @@ export declare const DevSubstrateParamsSchema: z.ZodObject<{
|
|
|
58
59
|
appKebab: z.ZodString;
|
|
59
60
|
engineVersion: z.ZodOptional<z.ZodString>;
|
|
60
61
|
adoptSlotEcr: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
adoptCacheEcr: z.ZodOptional<z.ZodBoolean>;
|
|
61
63
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
62
64
|
zone: "zone";
|
|
63
65
|
full: "full";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z as e}from"zod";const o=2,r="dev-substrate-params.json",i=e.object({devDomain:e.string().min(1),hostedZoneId:e.string().min(1).optional(),parentDomain:e.string().min(1).optional(),parentDelegationRoleArn:e.string().min(1).optional()}).strict().superRefine((t,n)=>{if(t.hostedZoneId!==void 0){t.parentDomain!==void 0&&n.addIssue({code:"custom",path:["parentDomain"],message:"hostedZoneId (adopt mode) is mutually exclusive with parentDomain \u2014 the adopted zone was already delegated; omit parentDomain"}),t.parentDelegationRoleArn!==void 0&&n.addIssue({code:"custom",path:["parentDelegationRoleArn"],message:"hostedZoneId (adopt mode) is mutually exclusive with parentDelegationRoleArn \u2014 the adopted zone was already delegated; omit parentDelegationRoleArn"});return}t.parentDelegationRoleArn!==void 0&&t.parentDomain===void 0&&n.addIssue({code:"custom",path:["parentDomain"],message:"parentDelegationRoleArn requires parentDomain \u2014 set parentDomain to the parent zone the DelegationRole belongs to"}),t.parentDomain!==void 0&&!t.devDomain.endsWith(`.${t.parentDomain}`)&&n.addIssue({code:"custom",path:["parentDomain"],message:"parentDomain must be a proper DNS suffix of devDomain \u2014 devDomain must end with `.<parentDomain>`"})}),a={appId:e.string().min(1),appKebab:e.string().min(1),engineVersion:e.string().min(1).optional(),adoptSlotEcr:e.boolean().optional(),phase:e.enum(["zone","full"]).optional(),domain:i.optional()},p=e.object(a).strict(),d=e.object({...a,version:e.literal(o),appName:e.string().min(1)}).strict().refine(t=>t.appName===`fjall-dev-${t.appKebab}`,{message:"appName must equal `fjall-dev-${appKebab}` (single-source identity)",path:["appName"]});export{r as DEV_SUBSTRATE_PARAMS_FILENAME,o as DEV_SUBSTRATE_PARAMS_SCHEMA_VERSION,d as DevSubstrateParamsSchema,p as DevSubstrateSynthPropsSchema};
|
|
1
|
+
import{z as e}from"zod";const o=2,r="dev-substrate-params.json",i=e.object({devDomain:e.string().min(1),hostedZoneId:e.string().min(1).optional(),parentDomain:e.string().min(1).optional(),parentDelegationRoleArn:e.string().min(1).optional()}).strict().superRefine((t,n)=>{if(t.hostedZoneId!==void 0){t.parentDomain!==void 0&&n.addIssue({code:"custom",path:["parentDomain"],message:"hostedZoneId (adopt mode) is mutually exclusive with parentDomain \u2014 the adopted zone was already delegated; omit parentDomain"}),t.parentDelegationRoleArn!==void 0&&n.addIssue({code:"custom",path:["parentDelegationRoleArn"],message:"hostedZoneId (adopt mode) is mutually exclusive with parentDelegationRoleArn \u2014 the adopted zone was already delegated; omit parentDelegationRoleArn"});return}t.parentDelegationRoleArn!==void 0&&t.parentDomain===void 0&&n.addIssue({code:"custom",path:["parentDomain"],message:"parentDelegationRoleArn requires parentDomain \u2014 set parentDomain to the parent zone the DelegationRole belongs to"}),t.parentDomain!==void 0&&!t.devDomain.endsWith(`.${t.parentDomain}`)&&n.addIssue({code:"custom",path:["parentDomain"],message:"parentDomain must be a proper DNS suffix of devDomain \u2014 devDomain must end with `.<parentDomain>`"})}),a={appId:e.string().min(1),appKebab:e.string().min(1),engineVersion:e.string().min(1).optional(),adoptSlotEcr:e.boolean().optional(),adoptCacheEcr:e.boolean().optional(),phase:e.enum(["zone","full"]).optional(),domain:i.optional()},p=e.object(a).strict(),d=e.object({...a,version:e.literal(o),appName:e.string().min(1)}).strict().refine(t=>t.appName===`fjall-dev-${t.appKebab}`,{message:"appName must equal `fjall-dev-${appKebab}` (single-source identity)",path:["appName"]});export{r as DEV_SUBSTRATE_PARAMS_FILENAME,o as DEV_SUBSTRATE_PARAMS_SCHEMA_VERSION,d as DevSubstrateParamsSchema,p as DevSubstrateSynthPropsSchema};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/util",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Common utility methods",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"engines": {
|
|
135
135
|
"node": ">=22.0.0"
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "09dee795753839b82aedbb7d0cef1c5ef283df55"
|
|
138
138
|
}
|