@justworkflowit/cdk-constructs 0.0.318 → 0.0.319

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.
@@ -60,9 +60,11 @@ class JustWorkflowItConstructs extends constructs_1.Construct {
60
60
  if (step?.integrationDetails?.type) {
61
61
  integrationTypes.add(step.integrationDetails.type);
62
62
  }
63
- // For marketplace steps, inject permissive placeholder schemas so synth-time
63
+ // For marketplace and runChildJob steps, inject permissive placeholder schemas so synth-time
64
64
  // validation passes. The real schemas are injected at API registration time.
65
- if (step?.integrationDetails?.type === '/justworkflowit/runMarketplaceJob' && step.name) {
65
+ const needsPlaceholderSchemas = step?.integrationDetails?.type === '/justworkflowit/runMarketplaceJob'
66
+ || step?.integrationDetails?.type === '/justworkflowit/runChildJob';
67
+ if (needsPlaceholderSchemas && step.name) {
66
68
  const stepName = step.name;
67
69
  if (!parsedWorkflow.definitions) {
68
70
  parsedWorkflow.definitions = {};
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.318",
4
+ "version": "0.0.319",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justworkflowit/JustWorkflowItCDKConstructs"