@usearazzo/runner 1.0.1-alpha.38 → 1.0.1-alpha.39
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/CHANGELOG.md +6 -0
- package/README.md +1 -0
- package/dist/arazzo-runner.browser.js +356 -147
- package/dist/arazzo-runner.browser.min.js +1 -1
- package/package.json +4 -4
- package/src/executor/WorkflowExecutor.cjs +41 -29
- package/src/executor/WorkflowExecutor.mjs +41 -29
- package/src/index.cjs +7 -0
- package/src/index.mjs +1 -0
- package/src/resolver/WorkflowInputsResolver.cjs +174 -0
- package/src/resolver/WorkflowInputsResolver.mjs +169 -0
- package/src/state/WorkflowExecutionState.cjs +8 -0
- package/src/state/WorkflowExecutionState.mjs +8 -0
- package/src/version.cjs +1 -1
- package/src/version.mjs +1 -1
- package/types/runner.d.cts +88 -1
- package/types/runner.d.ts +88 -1
|
@@ -13897,18 +13897,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13897
13897
|
/* harmony import */ var _extractor_ArazzoWorkflowExtractor_ts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77447);
|
|
13898
13898
|
/* harmony import */ var _normalizer_ArazzoWorkflowNormalizer_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75055);
|
|
13899
13899
|
/* harmony import */ var _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(99494);
|
|
13900
|
-
/* harmony import */ var
|
|
13901
|
-
/* harmony import */ var
|
|
13902
|
-
/* harmony import */ var
|
|
13903
|
-
/* harmony import */ var
|
|
13904
|
-
/* harmony import */ var
|
|
13905
|
-
/* harmony import */ var
|
|
13906
|
-
/* harmony import */ var
|
|
13907
|
-
/* harmony import */ var
|
|
13908
|
-
/* harmony import */ var
|
|
13909
|
-
/* harmony import */ var
|
|
13910
|
-
/* harmony import */ var
|
|
13911
|
-
/* harmony import */ var
|
|
13900
|
+
/* harmony import */ var _resolver_WorkflowInputsResolver_ts__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(61815);
|
|
13901
|
+
/* harmony import */ var _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(95839);
|
|
13902
|
+
/* harmony import */ var _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(61596);
|
|
13903
|
+
/* harmony import */ var _StepExecutor_ts__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(96007);
|
|
13904
|
+
/* harmony import */ var _ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(98885);
|
|
13905
|
+
/* harmony import */ var _StepRetryRunner_ts__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(18760);
|
|
13906
|
+
/* harmony import */ var _WorkflowCallStack_ts__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(64661);
|
|
13907
|
+
/* harmony import */ var _observability_instrument_ts__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(21327);
|
|
13908
|
+
/* harmony import */ var _StepTransitionInterpreter_ts__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(2835);
|
|
13909
|
+
/* harmony import */ var _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(17658);
|
|
13910
|
+
/* harmony import */ var _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(8696);
|
|
13911
|
+
/* harmony import */ var _abort_ts__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(99628);
|
|
13912
|
+
/* harmony import */ var _observability_EventChannel_ts__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12993);
|
|
13913
|
+
|
|
13912
13914
|
|
|
13913
13915
|
|
|
13914
13916
|
|
|
@@ -14008,11 +14010,6 @@ function settledResult(result) {
|
|
|
14008
14010
|
* @internal
|
|
14009
14011
|
*/
|
|
14010
14012
|
|
|
14011
|
-
/**
|
|
14012
|
-
* One completed `dependsOn` run, remembered with the inputs it was actually
|
|
14013
|
-
* given — see {@link RunScope.dependencyRuns}.
|
|
14014
|
-
*/
|
|
14015
|
-
|
|
14016
14013
|
/**
|
|
14017
14014
|
* One `executeOptions` entry and the canonical URI of the document its name
|
|
14018
14015
|
* points at.
|
|
@@ -14099,27 +14096,32 @@ class WorkflowExecutor {
|
|
|
14099
14096
|
#extractor = new _extractor_ArazzoWorkflowExtractor_ts__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
14100
14097
|
#normalizer;
|
|
14101
14098
|
#outputResolver = new _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_8__["default"]();
|
|
14102
|
-
#parameterResolver = new
|
|
14099
|
+
#parameterResolver = new _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
14100
|
+
#inputsResolver = new _resolver_WorkflowInputsResolver_ts__WEBPACK_IMPORTED_MODULE_9__["default"]();
|
|
14101
|
+
// the inputs each workflow run ran with, defaults filled in, by its result:
|
|
14102
|
+
// what a caller records under `$workflows.{id}.inputs`. Beside the result
|
|
14103
|
+
// and not on it, since the events a trace is rebuilt from carry no inputs.
|
|
14104
|
+
#inputsByResult = new WeakMap();
|
|
14103
14105
|
#stepExecutor;
|
|
14104
14106
|
#retryRunner;
|
|
14105
|
-
#interpreter = new
|
|
14107
|
+
#interpreter = new _StepTransitionInterpreter_ts__WEBPACK_IMPORTED_MODULE_17__["default"]();
|
|
14106
14108
|
#workflowLocatorNormalizer;
|
|
14107
14109
|
// emits only while `hasObservers`, so an unobserved block builds no events
|
|
14108
14110
|
#events;
|
|
14109
14111
|
constructor(options) {
|
|
14110
14112
|
this.#document = options.document;
|
|
14111
14113
|
this.#registry = options.registry;
|
|
14112
|
-
this.#workflowLocatorNormalizer = new
|
|
14114
|
+
this.#workflowLocatorNormalizer = new _ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_13__["default"](options.registry);
|
|
14113
14115
|
this.#normalizer = options.workflowNormalizer ?? new _normalizer_ArazzoWorkflowNormalizer_ts__WEBPACK_IMPORTED_MODULE_7__["default"]();
|
|
14114
14116
|
this.#maxSteps = options.maxSteps ?? WorkflowExecutor.#DEFAULT_MAX_STEPS;
|
|
14115
14117
|
this.#maxWorkflowDepth = options.maxWorkflowDepth ?? WorkflowExecutor.#DEFAULT_MAX_WORKFLOW_DEPTH;
|
|
14116
14118
|
this.#now = options.now ?? WorkflowExecutor.#DEFAULT_NOW;
|
|
14117
|
-
this.#events = new
|
|
14119
|
+
this.#events = new _observability_EventChannel_ts__WEBPACK_IMPORTED_MODULE_21__["default"]({
|
|
14118
14120
|
observer: options.observer,
|
|
14119
14121
|
now: this.#now
|
|
14120
14122
|
});
|
|
14121
14123
|
this.#stepExecutor = options.stepExecutor;
|
|
14122
|
-
this.#retryRunner = new
|
|
14124
|
+
this.#retryRunner = new _StepRetryRunner_ts__WEBPACK_IMPORTED_MODULE_14__["default"]({
|
|
14123
14125
|
sleep: options.sleep
|
|
14124
14126
|
});
|
|
14125
14127
|
}
|
|
@@ -14168,7 +14170,7 @@ class WorkflowExecutor {
|
|
|
14168
14170
|
return this.#run({
|
|
14169
14171
|
document: this.#document,
|
|
14170
14172
|
workflowId
|
|
14171
|
-
}, options.inputs ?? {}, scope, new
|
|
14173
|
+
}, options.inputs ?? {}, scope, new _WorkflowCallStack_ts__WEBPACK_IMPORTED_MODULE_15__["default"]({
|
|
14172
14174
|
maxDepth: this.#maxWorkflowDepth,
|
|
14173
14175
|
entryDocumentURI: this.#document.uri
|
|
14174
14176
|
}), 'root');
|
|
@@ -14185,20 +14187,20 @@ class WorkflowExecutor {
|
|
|
14185
14187
|
#executeOptionsByName(executeOptions) {
|
|
14186
14188
|
const byName = new Map();
|
|
14187
14189
|
const fail = (name, problem, reason) => {
|
|
14188
|
-
throw new
|
|
14190
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`executeOptions is keyed by source description name, and "${name}" ${problem}`, {
|
|
14189
14191
|
reason
|
|
14190
14192
|
});
|
|
14191
14193
|
};
|
|
14192
14194
|
for (const [name, options] of Object.entries(executeOptions)) {
|
|
14193
14195
|
const uri = this.#document.resolveSourceDescriptionURI(name);
|
|
14194
14196
|
if (uri === undefined) {
|
|
14195
|
-
return fail(name, `names no source description with a url in the Arazzo document at "${this.#document.uri}"`,
|
|
14197
|
+
return fail(name, `names no source description with a url in the Arazzo document at "${this.#document.uri}"`, _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].SourceDescriptionNotFound);
|
|
14196
14198
|
}
|
|
14197
14199
|
if (this.#document.resolveSourceDescriptionField(name, 'type') === 'arazzo') {
|
|
14198
|
-
fail(name, 'names an Arazzo document',
|
|
14200
|
+
fail(name, 'names an Arazzo document', _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].SourceDescriptionNotOpenAPI);
|
|
14199
14201
|
}
|
|
14200
14202
|
if (!(0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__["default"])(options)) {
|
|
14201
|
-
fail(name, 'is not given an object of options',
|
|
14203
|
+
fail(name, 'is not given an object of options', _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].UnknownExecuteOption);
|
|
14202
14204
|
}
|
|
14203
14205
|
byName.set(name, {
|
|
14204
14206
|
uri,
|
|
@@ -14220,9 +14222,9 @@ class WorkflowExecutor {
|
|
|
14220
14222
|
const configuring = [...entries].filter(([, entry]) => entry.uri === locator.document.uri);
|
|
14221
14223
|
if (configuring.length > 1) {
|
|
14222
14224
|
const names = configuring.map(([name]) => `"${name}"`).join(', ');
|
|
14223
|
-
throw new
|
|
14225
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`Step "${step.stepId}" has no executeOptions entry of its own, and ${names} all configure "${locator.document.uri}", the document it calls`, {
|
|
14224
14226
|
...step,
|
|
14225
|
-
reason:
|
|
14227
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].AmbiguousExecuteOptions
|
|
14226
14228
|
});
|
|
14227
14229
|
}
|
|
14228
14230
|
return configuring[0]?.[1].options;
|
|
@@ -14241,8 +14243,8 @@ class WorkflowExecutor {
|
|
|
14241
14243
|
#rejectUnknownOptions(options) {
|
|
14242
14244
|
const unknown = Object.keys(options).filter(key => !WorkflowExecutor.#EXECUTE_OPTION_KEYS.has(key));
|
|
14243
14245
|
if (unknown.length === 0) return;
|
|
14244
|
-
throw new
|
|
14245
|
-
reason:
|
|
14246
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`execute received unknown option(s) ${unknown.join(', ')}; it takes (workflowId, { inputs, executeOptions, dependencyInputs, runDependencies, signal }) — workflow inputs go under "inputs"`, {
|
|
14247
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].UnknownExecuteOption
|
|
14246
14248
|
});
|
|
14247
14249
|
}
|
|
14248
14250
|
|
|
@@ -14268,7 +14270,7 @@ class WorkflowExecutor {
|
|
|
14268
14270
|
// run cancelled before any step — or between a prerequisite and the workflow
|
|
14269
14271
|
// that needed it — must not go on to normalize and enter a workflow nobody
|
|
14270
14272
|
// is waiting for.
|
|
14271
|
-
(0,
|
|
14273
|
+
(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14272
14274
|
workflowId,
|
|
14273
14275
|
callStack: nested
|
|
14274
14276
|
});
|
|
@@ -14281,12 +14283,11 @@ class WorkflowExecutor {
|
|
|
14281
14283
|
// define never starts, and the event can say where the one it runs is.
|
|
14282
14284
|
const extracted = this.#extractWorkflow(locator);
|
|
14283
14285
|
const location = locator.document.locationOf(extracted);
|
|
14284
|
-
|
|
14286
|
+
// without its state: the inputs it runs with are known only once the
|
|
14287
|
+
// workflow is normalized, which happens inside `workflow:start`.
|
|
14288
|
+
const entered = {
|
|
14285
14289
|
workflowId,
|
|
14286
14290
|
document: locator.document,
|
|
14287
|
-
state: new _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_10__["default"]({
|
|
14288
|
-
inputs
|
|
14289
|
-
}),
|
|
14290
14291
|
callStack: nested,
|
|
14291
14292
|
via,
|
|
14292
14293
|
frame
|
|
@@ -14294,7 +14295,7 @@ class WorkflowExecutor {
|
|
|
14294
14295
|
|
|
14295
14296
|
// traced from its `workflow:start` to its `workflow:settled`, so a span an
|
|
14296
14297
|
// instrumentation opens around it is active for all of its events.
|
|
14297
|
-
return (0,
|
|
14298
|
+
return (0,_observability_instrument_ts__WEBPACK_IMPORTED_MODULE_16__.traced)(() => ({
|
|
14298
14299
|
kind: 'workflow',
|
|
14299
14300
|
...frame,
|
|
14300
14301
|
via,
|
|
@@ -14314,7 +14315,7 @@ class WorkflowExecutor {
|
|
|
14314
14315
|
location
|
|
14315
14316
|
}, startedAt);
|
|
14316
14317
|
}
|
|
14317
|
-
result = await this.#runInvocation(locator, extracted,
|
|
14318
|
+
result = await this.#runInvocation(locator, extracted, entered, inputs, scope, startedAt);
|
|
14318
14319
|
} catch (error) {
|
|
14319
14320
|
this.#settleThrown({
|
|
14320
14321
|
type: 'workflow:settled',
|
|
@@ -14332,6 +14333,9 @@ class WorkflowExecutor {
|
|
|
14332
14333
|
...frame,
|
|
14333
14334
|
status: result.status,
|
|
14334
14335
|
settledStatus: result.settledStatus,
|
|
14336
|
+
...(result.inputDefaults === undefined ? {} : {
|
|
14337
|
+
inputDefaults: result.inputDefaults
|
|
14338
|
+
}),
|
|
14335
14339
|
outputs: result.outputs
|
|
14336
14340
|
}, startedAt + result.durationMs);
|
|
14337
14341
|
}
|
|
@@ -14344,13 +14348,23 @@ class WorkflowExecutor {
|
|
|
14344
14348
|
* normalizes the workflow, checks its definition, runs its dependencies
|
|
14345
14349
|
* and its steps, and builds its result.
|
|
14346
14350
|
*/
|
|
14347
|
-
async #runInvocation(locator, extracted,
|
|
14351
|
+
async #runInvocation(locator, extracted, entered, inputs, scope, startedAt) {
|
|
14348
14352
|
const {
|
|
14349
14353
|
workflowId,
|
|
14350
14354
|
callStack: nested,
|
|
14351
14355
|
frame
|
|
14352
|
-
} =
|
|
14356
|
+
} = entered;
|
|
14353
14357
|
const workflow = await this.#resolveWorkflow(locator, extracted, scope, frame);
|
|
14358
|
+
// the defaults of the workflow's `inputs` schema, read from the normalized
|
|
14359
|
+
// workflow so that one behind a reference is found.
|
|
14360
|
+
const resolved = this.#inputsResolver.resolve(workflow.inputs, inputs);
|
|
14361
|
+
const invocation = {
|
|
14362
|
+
...entered,
|
|
14363
|
+
state: new _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_11__["default"]({
|
|
14364
|
+
inputs: resolved.inputs
|
|
14365
|
+
}),
|
|
14366
|
+
inputDefaults: resolved.defaults
|
|
14367
|
+
};
|
|
14354
14368
|
|
|
14355
14369
|
// validated before any prerequisite runs: a malformed `steps` is an
|
|
14356
14370
|
// authoring error, and discovering it only after the dependencies have
|
|
@@ -14383,7 +14397,7 @@ class WorkflowExecutor {
|
|
|
14383
14397
|
// result carrying the dependency trace, not a throw — and none of its own
|
|
14384
14398
|
// steps run. Unless the run was cancelled, in which case the prerequisite
|
|
14385
14399
|
// did not fail on its own terms either.
|
|
14386
|
-
(0,
|
|
14400
|
+
(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14387
14401
|
workflowId,
|
|
14388
14402
|
callStack: nested
|
|
14389
14403
|
});
|
|
@@ -14408,7 +14422,7 @@ class WorkflowExecutor {
|
|
|
14408
14422
|
outcome,
|
|
14409
14423
|
action,
|
|
14410
14424
|
transition
|
|
14411
|
-
} = await (0,
|
|
14425
|
+
} = await (0,_observability_instrument_ts__WEBPACK_IMPORTED_MODULE_16__.traced)(() => ({
|
|
14412
14426
|
kind: 'step',
|
|
14413
14427
|
...frame,
|
|
14414
14428
|
stepId,
|
|
@@ -14420,7 +14434,7 @@ class WorkflowExecutor {
|
|
|
14420
14434
|
break;
|
|
14421
14435
|
case 'goto':
|
|
14422
14436
|
index = this.#interpreter.indexOfStep(steps, transition.stepId, workflowId, {
|
|
14423
|
-
reason:
|
|
14437
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].GotoTargetNotFound,
|
|
14424
14438
|
label: 'goto target'
|
|
14425
14439
|
});
|
|
14426
14440
|
break;
|
|
@@ -14433,7 +14447,7 @@ class WorkflowExecutor {
|
|
|
14433
14447
|
// resolution, so an aborted run reports `aborted` rather than
|
|
14434
14448
|
// whatever resolving the target (a malformed reference, a missing
|
|
14435
14449
|
// source) would have thrown.
|
|
14436
|
-
(0,
|
|
14450
|
+
(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14437
14451
|
workflowId,
|
|
14438
14452
|
stepId,
|
|
14439
14453
|
callStack: nested
|
|
@@ -14464,10 +14478,10 @@ class WorkflowExecutor {
|
|
|
14464
14478
|
// loudly — `transition` is provably `never` once every kind above
|
|
14465
14479
|
// has its own case, which TypeScript checks at compile time.
|
|
14466
14480
|
const unreachable = transition;
|
|
14467
|
-
throw new
|
|
14481
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`step "${stepId}" in workflow "${workflowId}" produced an unrecognized transition ${JSON.stringify(unreachable)}`, {
|
|
14468
14482
|
workflowId,
|
|
14469
14483
|
stepId,
|
|
14470
|
-
reason:
|
|
14484
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].UnknownTransitionKind
|
|
14471
14485
|
});
|
|
14472
14486
|
}
|
|
14473
14487
|
}
|
|
@@ -14479,7 +14493,7 @@ class WorkflowExecutor {
|
|
|
14479
14493
|
// transport, since one honoring the signal fails the request instead.
|
|
14480
14494
|
// Cancellation must not be the one outcome that reads differently for the
|
|
14481
14495
|
// last step than for every step before it.
|
|
14482
|
-
;(0,
|
|
14496
|
+
;(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14483
14497
|
workflowId,
|
|
14484
14498
|
callStack: nested
|
|
14485
14499
|
});
|
|
@@ -14659,6 +14673,9 @@ class WorkflowExecutor {
|
|
|
14659
14673
|
const settledAt = this.#now();
|
|
14660
14674
|
const shared = {
|
|
14661
14675
|
workflowId: invocation.workflowId,
|
|
14676
|
+
...(Object.keys(invocation.inputDefaults).length > 0 ? {
|
|
14677
|
+
inputDefaults: invocation.inputDefaults
|
|
14678
|
+
} : {}),
|
|
14662
14679
|
steps,
|
|
14663
14680
|
durationMs: settledAt - startedAt,
|
|
14664
14681
|
...(dependencies.length > 0 ? {
|
|
@@ -14681,6 +14698,7 @@ class WorkflowExecutor {
|
|
|
14681
14698
|
status: outcome.status,
|
|
14682
14699
|
settledStatus: outcome.status
|
|
14683
14700
|
};
|
|
14701
|
+
this.#inputsByResult.set(result, invocation.state.inputs);
|
|
14684
14702
|
return result;
|
|
14685
14703
|
}
|
|
14686
14704
|
|
|
@@ -14704,10 +14722,10 @@ class WorkflowExecutor {
|
|
|
14704
14722
|
*/
|
|
14705
14723
|
#chargeBudget(scope, invocation, stepId) {
|
|
14706
14724
|
if (++scope.budget.spent <= this.#maxSteps) return;
|
|
14707
|
-
throw new
|
|
14725
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${invocation.workflowId}" exceeded its budget of ${this.#maxSteps} step attempts (a goto loop, excessive retries, or runaway sub-workflow calls)`, {
|
|
14708
14726
|
workflowId: invocation.workflowId,
|
|
14709
14727
|
stepId,
|
|
14710
|
-
reason:
|
|
14728
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].StepBudget,
|
|
14711
14729
|
path: invocation.callStack.path
|
|
14712
14730
|
});
|
|
14713
14731
|
}
|
|
@@ -14730,7 +14748,7 @@ class WorkflowExecutor {
|
|
|
14730
14748
|
callStack
|
|
14731
14749
|
} = invocation;
|
|
14732
14750
|
return async attempt => {
|
|
14733
|
-
(0,
|
|
14751
|
+
(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14734
14752
|
workflowId,
|
|
14735
14753
|
stepId,
|
|
14736
14754
|
callStack
|
|
@@ -14739,7 +14757,7 @@ class WorkflowExecutor {
|
|
|
14739
14757
|
try {
|
|
14740
14758
|
return await runAttempt(attempt);
|
|
14741
14759
|
} catch (error) {
|
|
14742
|
-
;(0,
|
|
14760
|
+
;(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14743
14761
|
workflowId,
|
|
14744
14762
|
stepId,
|
|
14745
14763
|
callStack
|
|
@@ -14810,12 +14828,11 @@ class WorkflowExecutor {
|
|
|
14810
14828
|
* action's `parameters` (`#115`), resolved again on every firing
|
|
14811
14829
|
* against the attempt that fired it — `{}` without them. Its outputs are
|
|
14812
14830
|
* recorded via `state.setWorkflow`, which *is* "context transfers back",
|
|
14813
|
-
* together with the inputs it ran with
|
|
14814
|
-
*
|
|
14815
|
-
*
|
|
14816
|
-
*
|
|
14817
|
-
*
|
|
14818
|
-
* a different, better-informed caller already gave.
|
|
14831
|
+
* together with the inputs it ran with, the defaults of its `inputs`
|
|
14832
|
+
* schema included. That holds without `parameters` too, where the
|
|
14833
|
+
* reference runs on those defaults alone: the recorded inputs and
|
|
14834
|
+
* outputs then describe the same run, and an earlier run sharing the id
|
|
14835
|
+
* (a `dependsOn` prerequisite, a sub-workflow step) is replaced whole.
|
|
14819
14836
|
* - a `stepId` reference must name a step of the current workflow (checked
|
|
14820
14837
|
* lazily, at fire time, via the same lookup a `goto` target uses) and
|
|
14821
14838
|
* runs as one more attempt at that step, through
|
|
@@ -14842,7 +14859,7 @@ class WorkflowExecutor {
|
|
|
14842
14859
|
stepId
|
|
14843
14860
|
} = stepFrame;
|
|
14844
14861
|
return async (action, outcome, attempt) => {
|
|
14845
|
-
(0,
|
|
14862
|
+
(0,_abort_ts__WEBPACK_IMPORTED_MODULE_20__.throwIfAborted)(scope.signal, {
|
|
14846
14863
|
workflowId,
|
|
14847
14864
|
stepId,
|
|
14848
14865
|
callStack
|
|
@@ -14850,12 +14867,12 @@ class WorkflowExecutor {
|
|
|
14850
14867
|
const {
|
|
14851
14868
|
hasStepId,
|
|
14852
14869
|
hasWorkflowId
|
|
14853
|
-
} = (0,
|
|
14870
|
+
} = (0,_StepTransitionInterpreter_ts__WEBPACK_IMPORTED_MODULE_17__.actionTargets)(action);
|
|
14854
14871
|
if (hasWorkflowId && hasStepId) {
|
|
14855
|
-
throw new
|
|
14872
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`retry action on step "${stepId}" in workflow "${workflowId}" declares both a stepId and a workflowId (mutually exclusive)`, {
|
|
14856
14873
|
stepId,
|
|
14857
14874
|
workflowId,
|
|
14858
|
-
reason:
|
|
14875
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].AmbiguousTarget
|
|
14859
14876
|
});
|
|
14860
14877
|
}
|
|
14861
14878
|
if (hasWorkflowId) {
|
|
@@ -14882,7 +14899,7 @@ class WorkflowExecutor {
|
|
|
14882
14899
|
// the key run state is recorded under, whichever document owns it.
|
|
14883
14900
|
const refId = result.workflowId;
|
|
14884
14901
|
state.setWorkflow(refId, {
|
|
14885
|
-
inputs:
|
|
14902
|
+
inputs: this.#inputsByResult.get(result),
|
|
14886
14903
|
outputs: result.outputs
|
|
14887
14904
|
});
|
|
14888
14905
|
const successful = !this.#settledFailed(result);
|
|
@@ -14903,7 +14920,7 @@ class WorkflowExecutor {
|
|
|
14903
14920
|
}
|
|
14904
14921
|
const refStepId = (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(action.stepId);
|
|
14905
14922
|
const refIndex = this.#interpreter.indexOfStep(steps, refStepId, workflowId, {
|
|
14906
|
-
reason:
|
|
14923
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].RetryTargetNotFound,
|
|
14907
14924
|
label: 'retry reference'
|
|
14908
14925
|
});
|
|
14909
14926
|
const refStep = steps[refIndex];
|
|
@@ -15007,11 +15024,10 @@ class WorkflowExecutor {
|
|
|
15007
15024
|
// precondition holds once met, and a diamond (two dependents sharing one
|
|
15008
15025
|
// dependency) must not duplicate its live side effects. Every dependent
|
|
15009
15026
|
// still reports and reads that one run — including the inputs the run
|
|
15010
|
-
//
|
|
15011
|
-
//
|
|
15027
|
+
// ran with, not whatever this dependent's own `dependencyInputs` entry
|
|
15028
|
+
// would have supplied had it run it.
|
|
15012
15029
|
const memoized = scope.dependencyRuns.get(qualifiedId);
|
|
15013
|
-
const
|
|
15014
|
-
const result = memoized?.result ?? (await this.#run(dependency.locator, inputs, scope, callStack, 'dependsOn'));
|
|
15030
|
+
const result = memoized ?? (await this.#run(dependency.locator, scope.dependencyInputs[dependency.inputsKey] ?? {}, scope, callStack, 'dependsOn'));
|
|
15015
15031
|
results.push(result);
|
|
15016
15032
|
// recorded whether or not it completed: a failed prerequisite still
|
|
15017
15033
|
// resolved (possibly partial) outputs, and the parent resolves its own
|
|
@@ -15022,7 +15038,7 @@ class WorkflowExecutor {
|
|
|
15022
15038
|
// never ran. Keyed by the bare id even for a cross-document dependency:
|
|
15023
15039
|
// `$workflows.{id}` is the only form an expression can read it back by.
|
|
15024
15040
|
state.setWorkflow(dependency.locator.workflowId, {
|
|
15025
|
-
inputs,
|
|
15041
|
+
inputs: this.#inputsByResult.get(result),
|
|
15026
15042
|
outputs: result.outputs
|
|
15027
15043
|
});
|
|
15028
15044
|
if (this.#events.hasObservers) {
|
|
@@ -15039,10 +15055,7 @@ class WorkflowExecutor {
|
|
|
15039
15055
|
// only a dependency whose chain settled non-`failed` is remembered as
|
|
15040
15056
|
// satisfied — a failure, transferred or not, must never let a later
|
|
15041
15057
|
// dependent skip running it.
|
|
15042
|
-
scope.dependencyRuns.set(qualifiedId,
|
|
15043
|
-
result,
|
|
15044
|
-
inputs
|
|
15045
|
-
});
|
|
15058
|
+
scope.dependencyRuns.set(qualifiedId, result);
|
|
15046
15059
|
}
|
|
15047
15060
|
return results;
|
|
15048
15061
|
}
|
|
@@ -15070,16 +15083,16 @@ class WorkflowExecutor {
|
|
|
15070
15083
|
} = invocation;
|
|
15071
15084
|
const dependsOn = workflow.dependsOn;
|
|
15072
15085
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isArrayElement)(dependsOn)) {
|
|
15073
|
-
throw new
|
|
15086
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has a non-list "dependsOn"`, {
|
|
15074
15087
|
workflowId,
|
|
15075
|
-
reason:
|
|
15088
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedDependsOn
|
|
15076
15089
|
});
|
|
15077
15090
|
}
|
|
15078
15091
|
const entries = [...dependsOn].map((entry, index) => {
|
|
15079
15092
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isStringElement)(entry)) {
|
|
15080
|
-
throw new
|
|
15093
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has a non-string entry at dependsOn[${index}]`, {
|
|
15081
15094
|
workflowId,
|
|
15082
|
-
reason:
|
|
15095
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedDependsOn
|
|
15083
15096
|
});
|
|
15084
15097
|
}
|
|
15085
15098
|
return entry;
|
|
@@ -15171,7 +15184,7 @@ class WorkflowExecutor {
|
|
|
15171
15184
|
const result = await this.#run(locator, inputs, scope, callStack, 'step');
|
|
15172
15185
|
subWorkflows.push(result);
|
|
15173
15186
|
state.setWorkflow(subWorkflowId, {
|
|
15174
|
-
inputs,
|
|
15187
|
+
inputs: this.#inputsByResult.get(result),
|
|
15175
15188
|
outputs: result.outputs
|
|
15176
15189
|
});
|
|
15177
15190
|
|
|
@@ -15262,12 +15275,12 @@ class WorkflowExecutor {
|
|
|
15262
15275
|
// the same check, but a sub-workflow step never reaches it — so both read
|
|
15263
15276
|
// the one list of target fields, and a target added to the specification
|
|
15264
15277
|
// cannot be rejected by one and silently accepted by the other.
|
|
15265
|
-
const conflicting =
|
|
15278
|
+
const conflicting = _StepExecutor_ts__WEBPACK_IMPORTED_MODULE_12__.STEP_TARGET_FIELDS.filter(field => field !== 'workflowId' && (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isStringElement)(step[field]));
|
|
15266
15279
|
if (conflicting.length > 0) {
|
|
15267
|
-
throw new
|
|
15280
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`step "${stepId}" in workflow "${workflowId}" declares a workflowId alongside ${conflicting.join(', ')} (mutually exclusive)`, {
|
|
15268
15281
|
stepId,
|
|
15269
15282
|
workflowId,
|
|
15270
|
-
reason:
|
|
15283
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].AmbiguousTarget
|
|
15271
15284
|
});
|
|
15272
15285
|
}
|
|
15273
15286
|
return (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(step.workflowId);
|
|
@@ -15351,16 +15364,16 @@ class WorkflowExecutor {
|
|
|
15351
15364
|
parameters
|
|
15352
15365
|
} = action;
|
|
15353
15366
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isArrayElement)(parameters)) {
|
|
15354
|
-
throw new
|
|
15367
|
+
throw new _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"]('`parameters` is present but is not a list', {
|
|
15355
15368
|
...scope,
|
|
15356
|
-
reason:
|
|
15369
|
+
reason: _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"].MalformedParameters
|
|
15357
15370
|
});
|
|
15358
15371
|
}
|
|
15359
15372
|
const inline = [...parameters].some(parameter => (0,_speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_4__.isParameterElement)(parameter) && parameter.hasKey('in') && !parameter.meta.hasKey('ref-fields'));
|
|
15360
15373
|
if (inline) {
|
|
15361
|
-
throw new
|
|
15374
|
+
throw new _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"](`An action parameter of ${owner} declares an \`in\`; action parameters map to the target workflow's inputs by name`, {
|
|
15362
15375
|
...scope,
|
|
15363
|
-
reason:
|
|
15376
|
+
reason: _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"].ActionParameterLocation
|
|
15364
15377
|
});
|
|
15365
15378
|
}
|
|
15366
15379
|
}
|
|
@@ -15381,9 +15394,9 @@ class WorkflowExecutor {
|
|
|
15381
15394
|
workflowId
|
|
15382
15395
|
}) {
|
|
15383
15396
|
if (!document.workflowIndex.has(workflowId)) {
|
|
15384
|
-
throw new
|
|
15397
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" not found in Arazzo document at "${document.uri}"`, {
|
|
15385
15398
|
workflowId,
|
|
15386
|
-
reason:
|
|
15399
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].WorkflowNotFound
|
|
15387
15400
|
});
|
|
15388
15401
|
}
|
|
15389
15402
|
return this.#extractor.extract(document, workflowId);
|
|
@@ -15441,29 +15454,29 @@ class WorkflowExecutor {
|
|
|
15441
15454
|
*/
|
|
15442
15455
|
#orderedSteps(workflow, workflowId) {
|
|
15443
15456
|
if (!workflow.hasKey('steps')) {
|
|
15444
|
-
throw new
|
|
15457
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has no "steps"`, {
|
|
15445
15458
|
workflowId,
|
|
15446
|
-
reason:
|
|
15459
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedSteps
|
|
15447
15460
|
});
|
|
15448
15461
|
}
|
|
15449
15462
|
const steps = workflow.steps;
|
|
15450
15463
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isArrayElement)(steps)) {
|
|
15451
|
-
throw new
|
|
15464
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has a non-list "steps"`, {
|
|
15452
15465
|
workflowId,
|
|
15453
|
-
reason:
|
|
15466
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedSteps
|
|
15454
15467
|
});
|
|
15455
15468
|
}
|
|
15456
15469
|
if (steps.isEmpty) {
|
|
15457
|
-
throw new
|
|
15470
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has an empty "steps"`, {
|
|
15458
15471
|
workflowId,
|
|
15459
|
-
reason:
|
|
15472
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedSteps
|
|
15460
15473
|
});
|
|
15461
15474
|
}
|
|
15462
15475
|
return [...steps].map((step, index) => {
|
|
15463
15476
|
if (!(0,_speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_4__.isStepElement)(step)) {
|
|
15464
|
-
throw new
|
|
15477
|
+
throw new _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"](`workflow "${workflowId}" has a non-step entry at steps[${index}]`, {
|
|
15465
15478
|
workflowId,
|
|
15466
|
-
reason:
|
|
15479
|
+
reason: _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_18__["default"].MalformedSteps
|
|
15467
15480
|
});
|
|
15468
15481
|
}
|
|
15469
15482
|
return step;
|
|
@@ -15483,10 +15496,10 @@ class WorkflowExecutor {
|
|
|
15483
15496
|
if (!workflow.hasKey('outputs')) return;
|
|
15484
15497
|
const outputs = workflow.outputs;
|
|
15485
15498
|
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isObjectElement)(outputs)) return;
|
|
15486
|
-
throw new
|
|
15499
|
+
throw new _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"]('`outputs` is present but is not a map', {
|
|
15487
15500
|
workflowId,
|
|
15488
15501
|
target: 'outputs',
|
|
15489
|
-
reason:
|
|
15502
|
+
reason: _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_19__["default"].MalformedOutputs
|
|
15490
15503
|
});
|
|
15491
15504
|
}
|
|
15492
15505
|
|
|
@@ -18797,6 +18810,191 @@ class StepParameterResolver extends _ArazzoValueResolver_ts__WEBPACK_IMPORTED_MO
|
|
|
18797
18810
|
/* harmony export */ ]);
|
|
18798
18811
|
|
|
18799
18812
|
|
|
18813
|
+
/***/ },
|
|
18814
|
+
|
|
18815
|
+
/***/ 61815
|
|
18816
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18817
|
+
|
|
18818
|
+
"use strict";
|
|
18819
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18820
|
+
/* harmony import */ var _speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7456);
|
|
18821
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62823);
|
|
18822
|
+
/* harmony import */ var _speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14044);
|
|
18823
|
+
/* harmony import */ var _speclynx_apidom_traverse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49943);
|
|
18824
|
+
|
|
18825
|
+
|
|
18826
|
+
|
|
18827
|
+
|
|
18828
|
+
|
|
18829
|
+
/**
|
|
18830
|
+
* The inputs a workflow runs with, as {@link WorkflowInputsResolver} resolves
|
|
18831
|
+
* them.
|
|
18832
|
+
* @public
|
|
18833
|
+
*/
|
|
18834
|
+
|
|
18835
|
+
/**
|
|
18836
|
+
* Resolves the inputs a workflow runs with: the inputs it was given, with the
|
|
18837
|
+
* `default` of its `inputs` schema filled in for every input it was not given.
|
|
18838
|
+
*
|
|
18839
|
+
* JSON Schema makes `default` an annotation and leaves applying it to the
|
|
18840
|
+
* application, so the rule is the runner's own:
|
|
18841
|
+
*
|
|
18842
|
+
* - an input is not given when its name is absent or its value is `undefined`;
|
|
18843
|
+
* an explicit `null` is given. That holds for an input a step or an action
|
|
18844
|
+
* maps too: a parameter whose expression resolves to nothing, such as an
|
|
18845
|
+
* optional input passed on, leaves the default in place;
|
|
18846
|
+
* - its default is the `default` of the schema its name has under
|
|
18847
|
+
* `properties`, looked up through `allOf`, whose members always apply. The
|
|
18848
|
+
* schema's own `default` wins over its members', an earlier member over a
|
|
18849
|
+
* later one;
|
|
18850
|
+
* - an object that was given has the defaults of its own missing members
|
|
18851
|
+
* filled in the same way. One that was not given is not created to hold
|
|
18852
|
+
* them;
|
|
18853
|
+
* - a `default` under `oneOf`, `anyOf`, `if`, `then`, `else` or `not` is not
|
|
18854
|
+
* applied: which branch holds depends on the value, so picking one would be
|
|
18855
|
+
* a guess;
|
|
18856
|
+
* - a `default` of the `inputs` schema itself is not applied: a run always has
|
|
18857
|
+
* an inputs object, if an empty one.
|
|
18858
|
+
*
|
|
18859
|
+
* The schema is read as the workflow normalizer leaves it, dereferenced, so a
|
|
18860
|
+
* `default` behind a reference is found. Two things follow from how it
|
|
18861
|
+
* dereferences:
|
|
18862
|
+
*
|
|
18863
|
+
* - a keyword written beside a reference replaces the same keyword of the
|
|
18864
|
+
* schema referenced, so `properties` beside a reference hide the
|
|
18865
|
+
* `properties` behind it, and their defaults with them;
|
|
18866
|
+
* - a reference back into a schema it is already inside is cut there, so in a
|
|
18867
|
+
* schema that refers to itself the defaults are filled in down to where it
|
|
18868
|
+
* repeats, and a `default` written beside such a reference is lost with it.
|
|
18869
|
+
*
|
|
18870
|
+
* Neither the schema nor the given inputs are changed. Inputs no default is
|
|
18871
|
+
* filled into come back as the object that was given, and so does an object
|
|
18872
|
+
* among them; one a default is filled into is copied. A given object that
|
|
18873
|
+
* contains itself is not supported.
|
|
18874
|
+
* @public
|
|
18875
|
+
*/
|
|
18876
|
+
class WorkflowInputsResolver {
|
|
18877
|
+
/**
|
|
18878
|
+
* Returns `inputs` with the defaults of `schema` filled in, and those
|
|
18879
|
+
* defaults on their own. A workflow without an `inputs` schema, or with one
|
|
18880
|
+
* that is not an object, gets its inputs back as given.
|
|
18881
|
+
*/
|
|
18882
|
+
resolve(schema, inputs) {
|
|
18883
|
+
const defaults = this.#defaults(this.#applicable(schema), inputs);
|
|
18884
|
+
return {
|
|
18885
|
+
inputs: this.#filled(inputs, defaults),
|
|
18886
|
+
defaults
|
|
18887
|
+
};
|
|
18888
|
+
}
|
|
18889
|
+
|
|
18890
|
+
/**
|
|
18891
|
+
* The schemas that always apply to a value `schema` describes, the one
|
|
18892
|
+
* whose keywords win first: `schema` itself, then the members of its
|
|
18893
|
+
* `allOf` as written, each before its own.
|
|
18894
|
+
*
|
|
18895
|
+
* The traversal goes into `allOf` only: every other keyword either
|
|
18896
|
+
* describes a different value (`properties`, `items`) or applies only to
|
|
18897
|
+
* some values (`oneOf`, `anyOf`, `if`). It takes each schema once
|
|
18898
|
+
* (`skipVisited`), where it is first met: a dereferenced schema shares
|
|
18899
|
+
* structure, and a schema referenced in two places would otherwise be walked
|
|
18900
|
+
* again at each of them.
|
|
18901
|
+
*/
|
|
18902
|
+
#applicable(schema) {
|
|
18903
|
+
if (!(0,_speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__.isJSONSchemaElement)(schema)) return [];
|
|
18904
|
+
const applicable = [];
|
|
18905
|
+
const collect = path => {
|
|
18906
|
+
applicable.push(path.node);
|
|
18907
|
+
};
|
|
18908
|
+
(0,_speclynx_apidom_traverse__WEBPACK_IMPORTED_MODULE_3__.traverse)(schema, {
|
|
18909
|
+
// a schema written in the Arazzo document, or referenced from an
|
|
18910
|
+
// OpenAPI 2.0 or 3.0 one
|
|
18911
|
+
JSONSchemaElement: collect,
|
|
18912
|
+
// a schema referenced from an OpenAPI 3.1 document
|
|
18913
|
+
SchemaElement: collect,
|
|
18914
|
+
MemberElement(path) {
|
|
18915
|
+
if ((0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(path.node.key) !== 'allOf') path.skip();
|
|
18916
|
+
}
|
|
18917
|
+
}, {
|
|
18918
|
+
skipVisited: 'skip'
|
|
18919
|
+
});
|
|
18920
|
+
return applicable;
|
|
18921
|
+
}
|
|
18922
|
+
|
|
18923
|
+
/**
|
|
18924
|
+
* The defaults `schemas` declare for what `value` was not given, in the
|
|
18925
|
+
* shape of `value`: the default of an input that is missing, and, for an
|
|
18926
|
+
* object that was given, the defaults of its own missing members under its
|
|
18927
|
+
* name. `schemas` come as {@link WorkflowInputsResolver.#applicable} orders
|
|
18928
|
+
* them, so the first one that declares a default for a name wins.
|
|
18929
|
+
*/
|
|
18930
|
+
#defaults(schemas, value) {
|
|
18931
|
+
const names = new Set(schemas.flatMap(schema => this.#properties(schema)?.keys() ?? []));
|
|
18932
|
+
const defaults = [];
|
|
18933
|
+
for (const name of names) {
|
|
18934
|
+
// each once: schemas dereferenced from one reference share their
|
|
18935
|
+
// `properties`, and would bring the same property schema once each.
|
|
18936
|
+
const propertySchemas = [...new Set(schemas.flatMap(schema => this.#applicable(this.#properties(schema)?.get(name))))];
|
|
18937
|
+
if (!this.#isGiven(value, name)) {
|
|
18938
|
+
const declaring = propertySchemas.find(schema => schema.default !== undefined);
|
|
18939
|
+
if (declaring !== undefined) defaults.push([name, (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(declaring.default)]);
|
|
18940
|
+
} else if (this.#isPlainObject(value[name])) {
|
|
18941
|
+
const members = this.#defaults(propertySchemas, value[name]);
|
|
18942
|
+
if (Object.keys(members).length > 0) defaults.push([name, members]);
|
|
18943
|
+
}
|
|
18944
|
+
}
|
|
18945
|
+
// an entry list, so a name like `__proto__` becomes an own property.
|
|
18946
|
+
return Object.fromEntries(defaults);
|
|
18947
|
+
}
|
|
18948
|
+
|
|
18949
|
+
/**
|
|
18950
|
+
* `value` with `defaults` filled in: `value` itself when there are none,
|
|
18951
|
+
* otherwise a copy of it that has them. A default is copied too, so the
|
|
18952
|
+
* result shares nothing with `defaults`, and an object that was given is
|
|
18953
|
+
* replaced by one that has its members' defaults.
|
|
18954
|
+
*/
|
|
18955
|
+
#filled(value, defaults) {
|
|
18956
|
+
if (Object.keys(defaults).length === 0) return value;
|
|
18957
|
+
const filled = Object.entries(defaults).map(([name, found]) => [name, this.#isGiven(value, name) ? this.#filled(value[name], found) : structuredClone(found)]);
|
|
18958
|
+
// spread, so a name like `__proto__` stays an own property; the copy
|
|
18959
|
+
// keeps the prototype of what was given, which may be none.
|
|
18960
|
+
return Object.setPrototypeOf({
|
|
18961
|
+
...value,
|
|
18962
|
+
...Object.fromEntries(filled)
|
|
18963
|
+
}, Object.getPrototypeOf(value));
|
|
18964
|
+
}
|
|
18965
|
+
|
|
18966
|
+
/**
|
|
18967
|
+
* The `properties` of `schema`, when it declares them as a map.
|
|
18968
|
+
*/
|
|
18969
|
+
#properties(schema) {
|
|
18970
|
+
return (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isObjectElement)(schema.properties) ? schema.properties : undefined;
|
|
18971
|
+
}
|
|
18972
|
+
|
|
18973
|
+
/**
|
|
18974
|
+
* Whether `value` was given an input of that name: present, and not
|
|
18975
|
+
* `undefined`.
|
|
18976
|
+
*/
|
|
18977
|
+
#isGiven(value, name) {
|
|
18978
|
+
return Object.hasOwn(value, name) && value[name] !== undefined;
|
|
18979
|
+
}
|
|
18980
|
+
|
|
18981
|
+
/**
|
|
18982
|
+
* Whether `value` is an object written as a literal or parsed from JSON or
|
|
18983
|
+
* YAML. Anything else an input can hold (an array, a `Date`, a `Blob`) is
|
|
18984
|
+
* left as given: it has no members a schema's `properties` describes.
|
|
18985
|
+
*/
|
|
18986
|
+
#isPlainObject(value) {
|
|
18987
|
+
if (typeof value !== 'object' || value === null) return false;
|
|
18988
|
+
const prototype = Object.getPrototypeOf(value);
|
|
18989
|
+
return prototype === Object.prototype || prototype === null;
|
|
18990
|
+
}
|
|
18991
|
+
}
|
|
18992
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (WorkflowInputsResolver);
|
|
18993
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
18994
|
+
/* harmony export */ "default", 0, __WEBPACK_DEFAULT_EXPORT__
|
|
18995
|
+
/* harmony export */ ]);
|
|
18996
|
+
|
|
18997
|
+
|
|
18800
18998
|
/***/ },
|
|
18801
18999
|
|
|
18802
19000
|
/***/ 95839
|
|
@@ -18944,6 +19142,14 @@ class WorkflowExecutionState {
|
|
|
18944
19142
|
this.#workflows.set(workflowId, workflow);
|
|
18945
19143
|
}
|
|
18946
19144
|
|
|
19145
|
+
/**
|
|
19146
|
+
* The inputs the workflow runs with, read via `$inputs.{name}`. Treat the
|
|
19147
|
+
* returned object as immutable.
|
|
19148
|
+
*/
|
|
19149
|
+
get inputs() {
|
|
19150
|
+
return this.#inputs;
|
|
19151
|
+
}
|
|
19152
|
+
|
|
18947
19153
|
/**
|
|
18948
19154
|
* The workflow's own accumulated outputs. Read-only by contract, like the
|
|
18949
19155
|
* context produced by `toContext`; treat the returned object as immutable.
|
|
@@ -121070,11 +121276,11 @@ let __webpack_exports__ = {};
|
|
|
121070
121276
|
__webpack_require__.r(__webpack_exports__);
|
|
121071
121277
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
121072
121278
|
/* harmony export */ APIDocument: () => (/* reexport safe */ _document_APIDocument_ts__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
121073
|
-
/* harmony export */ ActionResolver: () => (/* reexport safe */
|
|
121279
|
+
/* harmony export */ ActionResolver: () => (/* reexport safe */ _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
121074
121280
|
/* harmony export */ ArazzoDocument: () => (/* reexport safe */ _document_ArazzoDocument_ts__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
121075
121281
|
/* harmony export */ ArazzoDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_ArazzoDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
121076
121282
|
/* harmony export */ ArazzoRunner: () => (/* reexport safe */ _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
121077
|
-
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */
|
|
121283
|
+
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */ _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_52__["default"]),
|
|
121078
121284
|
/* harmony export */ ArazzoSourceDescriptionIndex: () => (/* reexport safe */ _document_ArazzoSourceDescriptionIndex_ts__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
121079
121285
|
/* harmony export */ ArazzoStepExtractor: () => (/* reexport safe */ _extractor_ArazzoStepExtractor_ts__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
121080
121286
|
/* harmony export */ ArazzoStepIndex: () => (/* reexport safe */ _document_ArazzoStepIndex_ts__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
@@ -121082,21 +121288,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121082
121288
|
/* harmony export */ ArazzoValueResolver: () => (/* reexport safe */ _resolver_ArazzoValueResolver_ts__WEBPACK_IMPORTED_MODULE_35__["default"]),
|
|
121083
121289
|
/* harmony export */ ArazzoWorkflowExtractor: () => (/* reexport safe */ _extractor_ArazzoWorkflowExtractor_ts__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
121084
121290
|
/* harmony export */ ArazzoWorkflowIndex: () => (/* reexport safe */ _document_ArazzoWorkflowIndex_ts__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
121085
|
-
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */
|
|
121291
|
+
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */ _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__["default"]),
|
|
121086
121292
|
/* harmony export */ ArazzoWorkflowNormalizer: () => (/* reexport safe */ _normalizer_ArazzoWorkflowNormalizer_ts__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
121087
|
-
/* harmony export */ AssemblerError: () => (/* reexport safe */
|
|
121088
|
-
/* harmony export */ ClientError: () => (/* reexport safe */
|
|
121089
|
-
/* harmony export */ CriterionError: () => (/* reexport safe */
|
|
121090
|
-
/* harmony export */ CriterionEvaluationError: () => (/* reexport safe */
|
|
121293
|
+
/* harmony export */ AssemblerError: () => (/* reexport safe */ _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_53__["default"]),
|
|
121294
|
+
/* harmony export */ ClientError: () => (/* reexport safe */ _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_54__["default"]),
|
|
121295
|
+
/* harmony export */ CriterionError: () => (/* reexport safe */ _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_61__["default"]),
|
|
121296
|
+
/* harmony export */ CriterionEvaluationError: () => (/* reexport safe */ _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_62__["default"]),
|
|
121091
121297
|
/* harmony export */ CriterionEvaluator: () => (/* reexport safe */ _criterion_CriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_29__["default"]),
|
|
121092
|
-
/* harmony export */ DocumentLoadError: () => (/* reexport safe */
|
|
121298
|
+
/* harmony export */ DocumentLoadError: () => (/* reexport safe */ _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_59__["default"]),
|
|
121093
121299
|
/* harmony export */ DocumentRegistry: () => (/* reexport safe */ _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
121094
121300
|
/* harmony export */ DocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_DocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
121095
|
-
/* harmony export */ ExecutionError: () => (/* reexport safe */
|
|
121096
|
-
/* harmony export */ ExtractionError: () => (/* reexport safe */
|
|
121097
|
-
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */
|
|
121301
|
+
/* harmony export */ ExecutionError: () => (/* reexport safe */ _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_64__["default"]),
|
|
121302
|
+
/* harmony export */ ExtractionError: () => (/* reexport safe */ _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_56__["default"]),
|
|
121303
|
+
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */ _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_57__["default"]),
|
|
121098
121304
|
/* harmony export */ JSONPathCriterionEvaluator: () => (/* reexport safe */ _criterion_JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
121099
|
-
/* harmony export */ NormalizationError: () => (/* reexport safe */
|
|
121305
|
+
/* harmony export */ NormalizationError: () => (/* reexport safe */ _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_55__["default"]),
|
|
121100
121306
|
/* harmony export */ OpenAPI2DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI2DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
121101
121307
|
/* harmony export */ OpenAPI2OperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPI2OperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
121102
121308
|
/* harmony export */ OpenAPI30DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI30DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
@@ -121106,34 +121312,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121106
121312
|
/* harmony export */ OpenAPIDocument: () => (/* reexport safe */ _document_OpenAPIDocument_ts__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
121107
121313
|
/* harmony export */ OpenAPIDocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPIDocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
121108
121314
|
/* harmony export */ OpenAPIDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_OpenAPIDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
121109
|
-
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */
|
|
121315
|
+
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */ _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__["default"]),
|
|
121110
121316
|
/* harmony export */ OpenAPIOperationExtractor: () => (/* reexport safe */ _extractor_OpenAPIOperationExtractor_ts__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
121111
121317
|
/* harmony export */ OpenAPIOperationIndex: () => (/* reexport safe */ _document_OpenAPIOperationIndex_ts__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
121112
|
-
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */
|
|
121318
|
+
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */ _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__["default"]),
|
|
121113
121319
|
/* harmony export */ OpenAPIOperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPIOperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
121114
121320
|
/* harmony export */ OpenAPIOperationParameterResolver: () => (/* reexport safe */ _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
121115
121321
|
/* harmony export */ OpenAPIOperationResponse: () => (/* reexport safe */ _client_OpenAPIOperationResponse_ts__WEBPACK_IMPORTED_MODULE_26__["default"]),
|
|
121116
121322
|
/* harmony export */ OpenAPIOperationResponseNormalizer: () => (/* reexport safe */ _client_OpenAPIOperationResponseNormalizer_ts__WEBPACK_IMPORTED_MODULE_27__["default"]),
|
|
121117
|
-
/* harmony export */ OutputResolver: () => (/* reexport safe */
|
|
121118
|
-
/* harmony export */ Redactor: () => (/* reexport safe */
|
|
121323
|
+
/* harmony export */ OutputResolver: () => (/* reexport safe */ _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__["default"]),
|
|
121324
|
+
/* harmony export */ Redactor: () => (/* reexport safe */ _observability_Redactor_ts__WEBPACK_IMPORTED_MODULE_51__["default"]),
|
|
121119
121325
|
/* harmony export */ RegexCriterionEvaluator: () => (/* reexport safe */ _criterion_RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_31__["default"]),
|
|
121120
|
-
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */
|
|
121121
|
-
/* harmony export */ ResolverError: () => (/* reexport safe */
|
|
121122
|
-
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */
|
|
121326
|
+
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */ _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__["default"]),
|
|
121327
|
+
/* harmony export */ ResolverError: () => (/* reexport safe */ _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_63__["default"]),
|
|
121328
|
+
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */ _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_60__["default"]),
|
|
121123
121329
|
/* harmony export */ RuntimeExpressionEvaluator: () => (/* reexport safe */ _expression_RuntimeExpressionEvaluator_ts__WEBPACK_IMPORTED_MODULE_28__["default"]),
|
|
121124
121330
|
/* harmony export */ SimpleCriterionEvaluator: () => (/* reexport safe */ _criterion_SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_30__["default"]),
|
|
121125
|
-
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */
|
|
121126
|
-
/* harmony export */ StepExecutor: () => (/* reexport safe */
|
|
121331
|
+
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */ _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__["default"]),
|
|
121332
|
+
/* harmony export */ StepExecutor: () => (/* reexport safe */ _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__["default"]),
|
|
121127
121333
|
/* harmony export */ StepParameterResolver: () => (/* reexport safe */ _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
121128
|
-
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */
|
|
121334
|
+
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */ _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_58__["default"]),
|
|
121129
121335
|
/* harmony export */ WorkflowExecutionState: () => (/* reexport safe */ _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_34__["default"]),
|
|
121130
|
-
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */
|
|
121336
|
+
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__["default"]),
|
|
121337
|
+
/* harmony export */ WorkflowInputsResolver: () => (/* reexport safe */ _resolver_WorkflowInputsResolver_ts__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
121131
121338
|
/* harmony export */ WorkflowParameterResolver: () => (/* reexport safe */ _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
121132
121339
|
/* harmony export */ XPathCriterionEvaluator: () => (/* reexport safe */ _criterion_XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
121133
|
-
/* harmony export */ combineObservers: () => (/* reexport safe */
|
|
121340
|
+
/* harmony export */ combineObservers: () => (/* reexport safe */ _observability_combineObservers_ts__WEBPACK_IMPORTED_MODULE_49__["default"]),
|
|
121134
121341
|
/* harmony export */ httpClientFetch: () => (/* reexport safe */ _client_HTTPClientFetch_ts__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
121135
|
-
/* harmony export */ instrument: () => (/* reexport safe */
|
|
121136
|
-
/* harmony export */ settledResult: () => (/* reexport safe */
|
|
121342
|
+
/* harmony export */ instrument: () => (/* reexport safe */ _observability_instrument_ts__WEBPACK_IMPORTED_MODULE_50__["default"]),
|
|
121343
|
+
/* harmony export */ settledResult: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__.settledResult)
|
|
121137
121344
|
/* harmony export */ });
|
|
121138
121345
|
/* harmony import */ var _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57253);
|
|
121139
121346
|
/* harmony import */ var _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4044);
|
|
@@ -121174,31 +121381,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121174
121381
|
/* harmony import */ var _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(92126);
|
|
121175
121382
|
/* harmony import */ var _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(3347);
|
|
121176
121383
|
/* harmony import */ var _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(95839);
|
|
121177
|
-
/* harmony import */ var
|
|
121178
|
-
/* harmony import */ var
|
|
121179
|
-
/* harmony import */ var
|
|
121180
|
-
/* harmony import */ var
|
|
121181
|
-
/* harmony import */ var
|
|
121182
|
-
/* harmony import */ var
|
|
121183
|
-
/* harmony import */ var
|
|
121184
|
-
/* harmony import */ var
|
|
121185
|
-
/* harmony import */ var
|
|
121186
|
-
/* harmony import */ var
|
|
121187
|
-
/* harmony import */ var
|
|
121188
|
-
/* harmony import */ var
|
|
121189
|
-
/* harmony import */ var
|
|
121190
|
-
/* harmony import */ var
|
|
121191
|
-
/* harmony import */ var
|
|
121192
|
-
/* harmony import */ var
|
|
121193
|
-
/* harmony import */ var
|
|
121194
|
-
/* harmony import */ var
|
|
121195
|
-
/* harmony import */ var
|
|
121196
|
-
/* harmony import */ var
|
|
121197
|
-
/* harmony import */ var
|
|
121198
|
-
/* harmony import */ var
|
|
121199
|
-
/* harmony import */ var
|
|
121200
|
-
/* harmony import */ var
|
|
121201
|
-
/* harmony import */ var
|
|
121384
|
+
/* harmony import */ var _resolver_WorkflowInputsResolver_ts__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(61815);
|
|
121385
|
+
/* harmony import */ var _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(99494);
|
|
121386
|
+
/* harmony import */ var _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(67410);
|
|
121387
|
+
/* harmony import */ var _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(51097);
|
|
121388
|
+
/* harmony import */ var _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(92152);
|
|
121389
|
+
/* harmony import */ var _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(96007);
|
|
121390
|
+
/* harmony import */ var _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(57680);
|
|
121391
|
+
/* harmony import */ var _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(83461);
|
|
121392
|
+
/* harmony import */ var _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(7308);
|
|
121393
|
+
/* harmony import */ var _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(98885);
|
|
121394
|
+
/* harmony import */ var _observability_combineObservers_ts__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(35622);
|
|
121395
|
+
/* harmony import */ var _observability_instrument_ts__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(21327);
|
|
121396
|
+
/* harmony import */ var _observability_Redactor_ts__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(4050);
|
|
121397
|
+
/* harmony import */ var _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(23949);
|
|
121398
|
+
/* harmony import */ var _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(90706);
|
|
121399
|
+
/* harmony import */ var _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(81763);
|
|
121400
|
+
/* harmony import */ var _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(35523);
|
|
121401
|
+
/* harmony import */ var _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(90713);
|
|
121402
|
+
/* harmony import */ var _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(40198);
|
|
121403
|
+
/* harmony import */ var _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(46132);
|
|
121404
|
+
/* harmony import */ var _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(24089);
|
|
121405
|
+
/* harmony import */ var _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(48770);
|
|
121406
|
+
/* harmony import */ var _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(41233);
|
|
121407
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(71731);
|
|
121408
|
+
/* harmony import */ var _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(8696);
|
|
121409
|
+
/* harmony import */ var _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(17658);
|
|
121202
121410
|
/* Runner */
|
|
121203
121411
|
|
|
121204
121412
|
|
|
@@ -121261,6 +121469,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121261
121469
|
|
|
121262
121470
|
|
|
121263
121471
|
|
|
121472
|
+
|
|
121264
121473
|
/* Actions */
|
|
121265
121474
|
|
|
121266
121475
|
/* Executor */
|