@justworkflowit/cdk-constructs 0.0.315 → 0.0.317
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.
|
@@ -75,8 +75,11 @@ class JustWorkflowItConstructs extends constructs_1.Construct {
|
|
|
75
75
|
return acc;
|
|
76
76
|
}, {});
|
|
77
77
|
// Configure json-schema-faker to always generate optional fields for thorough validation
|
|
78
|
+
// Note: requiredOnly must be explicitly reset because the engine's two-pass validation
|
|
79
|
+
// sets it to true globally during its second pass, which persists across definitions
|
|
78
80
|
json_schema_faker_1.JSONSchemaFaker.option({
|
|
79
81
|
alwaysFakeOptionals: true,
|
|
82
|
+
requiredOnly: false,
|
|
80
83
|
});
|
|
81
84
|
fakeWorkflowInputForTypeValidation = json_schema_faker_1.JSONSchemaFaker.generate(parsedWorkflow.definitions.workflowInput, jsonSchemaFakerRefs);
|
|
82
85
|
}
|
|
@@ -44270,7 +44270,8 @@ async function deployWorkflows(organizationId, bucket, keys) {
|
|
|
44270
44270
|
console.log(`\u2705 Registered and tagged new $LIVE version for: ${workflowName}`);
|
|
44271
44271
|
} catch (err) {
|
|
44272
44272
|
console.error(`\u274C Error processing ${key}`, err);
|
|
44273
|
-
|
|
44273
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
44274
|
+
throw new Error(msg.length > 1e3 ? `${msg.slice(0, 1e3)}... (truncated)` : msg);
|
|
44274
44275
|
}
|
|
44275
44276
|
}
|
|
44276
44277
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justworkflowit/cdk-constructs",
|
|
3
3
|
"description": "AWS CDK construct for integrating with the JustWorkflowIt platform",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.317",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justworkflowit/JustWorkflowItCDKConstructs"
|