@usearazzo/runner 1.0.1-alpha.19 → 1.0.1-alpha.20
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 +12 -0
- package/README.md +1 -1
- package/dist/arazzo-runner.browser.js +247 -122
- package/dist/arazzo-runner.browser.min.js +1 -1
- package/package.json +4 -4
- package/src/criterion/CriterionErrorReason.cjs +51 -0
- package/src/criterion/CriterionErrorReason.mjs +46 -0
- package/src/criterion/CriterionEvaluator.cjs +63 -36
- package/src/criterion/CriterionEvaluator.mjs +63 -36
- package/src/criterion/JSONPathCriterionEvaluator.cjs +5 -4
- package/src/criterion/JSONPathCriterionEvaluator.mjs +5 -4
- package/src/criterion/RegexCriterionEvaluator.cjs +5 -4
- package/src/criterion/RegexCriterionEvaluator.mjs +5 -4
- package/src/criterion/SimpleCriterionEvaluator.cjs +5 -4
- package/src/criterion/SimpleCriterionEvaluator.mjs +5 -4
- package/src/criterion/XPathCriterionEvaluator.cjs +13 -12
- package/src/criterion/XPathCriterionEvaluator.mjs +13 -12
- package/src/errors/CriterionEvaluationError.cjs +18 -0
- package/src/errors/CriterionEvaluationError.mjs +11 -0
- package/src/index.cjs +14 -0
- package/src/index.mjs +2 -0
- package/types/runner.d.ts +85 -10
|
@@ -9934,6 +9934,64 @@ const MAX_DOCUMENT_REGISTRY_SIZE = 4;
|
|
|
9934
9934
|
/* harmony export */ ]);
|
|
9935
9935
|
|
|
9936
9936
|
|
|
9937
|
+
/***/ },
|
|
9938
|
+
|
|
9939
|
+
/***/ 94547
|
|
9940
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9941
|
+
|
|
9942
|
+
"use strict";
|
|
9943
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9944
|
+
/**
|
|
9945
|
+
* The `reason` a {@link CriterionError} carries.
|
|
9946
|
+
*
|
|
9947
|
+
* Structural reasons mark a criterion that is malformed as written; they are
|
|
9948
|
+
* thrown as a plain `CriterionError`. Evaluation reasons (`InvalidSimple`,
|
|
9949
|
+
* `InvalidRegex`, `InvalidJSONPath`, `InvalidXPath`, `InvalidXPathContext`) mark
|
|
9950
|
+
* a condition that cannot be evaluated; they are thrown as a
|
|
9951
|
+
* {@link CriterionEvaluationError}, which `CriterionEvaluator` turns into an
|
|
9952
|
+
* unmet criterion.
|
|
9953
|
+
* @public
|
|
9954
|
+
*/
|
|
9955
|
+
const CriterionErrorReason = {
|
|
9956
|
+
/** The element is not a Criterion Object. */
|
|
9957
|
+
InvalidCriterion: 'invalid-criterion',
|
|
9958
|
+
/** The `condition` is missing or empty. */
|
|
9959
|
+
MissingCondition: 'missing-condition',
|
|
9960
|
+
/** The `type` is present but unreadable. */
|
|
9961
|
+
InvalidType: 'invalid-type',
|
|
9962
|
+
/** The `type` names no known criterion type. */
|
|
9963
|
+
UnknownType: 'unknown-type',
|
|
9964
|
+
/** The expression type `version` is present but not a string. */
|
|
9965
|
+
InvalidVersion: 'invalid-version',
|
|
9966
|
+
/** The expression type `version` is not the one this runner supports. */
|
|
9967
|
+
UnsupportedVersion: 'unsupported-version',
|
|
9968
|
+
/** The `context` is not a runtime expression. */
|
|
9969
|
+
InvalidContext: 'invalid-context',
|
|
9970
|
+
/** A `regex`, `jsonpath` or `xpath` criterion has no `context`. */
|
|
9971
|
+
MissingContext: 'missing-context',
|
|
9972
|
+
/** The `simple` condition cannot be parsed. */
|
|
9973
|
+
InvalidSimple: 'invalid-simple',
|
|
9974
|
+
/** The `regex` condition is not a valid regular expression. */
|
|
9975
|
+
InvalidRegex: 'invalid-regex',
|
|
9976
|
+
/** The `jsonpath` condition is not a valid JSONPath query. */
|
|
9977
|
+
InvalidJSONPath: 'invalid-jsonpath',
|
|
9978
|
+
/** The `xpath` condition is invalid or fails to evaluate. */
|
|
9979
|
+
InvalidXPath: 'invalid-xpath',
|
|
9980
|
+
/** The resolved `xpath` context is not XML. */
|
|
9981
|
+
InvalidXPathContext: 'invalid-xpath-context'
|
|
9982
|
+
};
|
|
9983
|
+
|
|
9984
|
+
/**
|
|
9985
|
+
* One of the `CriterionErrorReason` values.
|
|
9986
|
+
* @public
|
|
9987
|
+
*/
|
|
9988
|
+
|
|
9989
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionErrorReason);
|
|
9990
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
9991
|
+
/* harmony export */ "default", 0, __WEBPACK_DEFAULT_EXPORT__
|
|
9992
|
+
/* harmony export */ ]);
|
|
9993
|
+
|
|
9994
|
+
|
|
9937
9995
|
/***/ },
|
|
9938
9996
|
|
|
9939
9997
|
/***/ 98936
|
|
@@ -9946,10 +10004,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9946
10004
|
/* harmony import */ var _speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75728);
|
|
9947
10005
|
/* harmony import */ var _swaggerexpert_arazzo_runtime_expression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26847);
|
|
9948
10006
|
/* harmony import */ var _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41233);
|
|
9949
|
-
/* harmony import */ var
|
|
9950
|
-
/* harmony import */ var
|
|
9951
|
-
/* harmony import */ var
|
|
9952
|
-
/* harmony import */ var
|
|
10007
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71731);
|
|
10008
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94547);
|
|
10009
|
+
/* harmony import */ var _RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(13517);
|
|
10010
|
+
/* harmony import */ var _SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41346);
|
|
10011
|
+
/* harmony import */ var _JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90089);
|
|
10012
|
+
/* harmony import */ var _XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84997);
|
|
10013
|
+
|
|
10014
|
+
|
|
9953
10015
|
|
|
9954
10016
|
|
|
9955
10017
|
|
|
@@ -9974,6 +10036,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9974
10036
|
|
|
9975
10037
|
/**
|
|
9976
10038
|
* Options for the CriterionEvaluator.
|
|
10039
|
+
*
|
|
10040
|
+
* An injected evaluator signals a condition it cannot evaluate by throwing a
|
|
10041
|
+
* {@link CriterionEvaluationError}, which fails the criterion; any other error
|
|
10042
|
+
* it throws, a plain {@link CriterionError} included, propagates.
|
|
9977
10043
|
* @public
|
|
9978
10044
|
*/
|
|
9979
10045
|
|
|
@@ -9987,12 +10053,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9987
10053
|
* pattern to the resolved value.
|
|
9988
10054
|
* - `jsonpath` — resolves the `context` runtime expression, then applies the
|
|
9989
10055
|
* JSONPath query to the resolved value (met when the query matches). Only the
|
|
9990
|
-
* `rfc9535` version is supported
|
|
9991
|
-
* throws.
|
|
10056
|
+
* `rfc9535` version is supported; an explicit other version throws.
|
|
9992
10057
|
* - `xpath` — resolves the `context` runtime expression, then applies the XPath
|
|
9993
10058
|
* 3.1 query to the resolved XML value (met by the Effective Boolean Value).
|
|
9994
|
-
* Only the `xpath-31` version is supported
|
|
9995
|
-
*
|
|
10059
|
+
* Only the `xpath-31` version is supported; an explicit other version throws.
|
|
10060
|
+
*
|
|
10061
|
+
* Versions follow Arazzo 1.1.0's Expression Type Object: `rfc9535` and
|
|
10062
|
+
* `xpath-31` are allowed values, and an omitted `version` defaults to them.
|
|
10063
|
+
* Arazzo 1.0.x lists neither and requires `version`; this evaluator applies
|
|
10064
|
+
* the 1.1.0 rule to every document, which accepts more but never evaluates a
|
|
10065
|
+
* query under the wrong dialect.
|
|
10066
|
+
*
|
|
10067
|
+
* A condition that cannot be evaluated fails the criterion (`false`), as
|
|
10068
|
+
* Arazzo 1.1.0 requires: a syntax error in the condition, a context the
|
|
10069
|
+
* condition cannot apply to (non-XML data for `xpath`), or an XPath evaluation
|
|
10070
|
+
* error. The type-specific evaluators report these as a
|
|
10071
|
+
* {@link CriterionEvaluationError}, which this facade absorbs; any other error
|
|
10072
|
+
* they raise propagates. A criterion that is malformed as written still throws: a
|
|
10073
|
+
* missing `condition`, an unknown or unreadable `type`, an unsupported
|
|
10074
|
+
* expression `version`, or a `context` that is missing or not a runtime
|
|
10075
|
+
* expression.
|
|
9996
10076
|
*
|
|
9997
10077
|
* The evaluator is agnostic about how runtime expressions are resolved: the
|
|
9998
10078
|
* caller supplies a {@link CriterionContextResolver} per evaluation, keeping
|
|
@@ -10006,10 +10086,10 @@ class CriterionEvaluator {
|
|
|
10006
10086
|
#jsonpath;
|
|
10007
10087
|
#xpath;
|
|
10008
10088
|
constructor(options = {}) {
|
|
10009
|
-
this.#simple = options.simple ?? new
|
|
10010
|
-
this.#regex = options.regex ?? new
|
|
10011
|
-
this.#jsonpath = options.jsonpath ?? new
|
|
10012
|
-
this.#xpath = options.xpath ?? new
|
|
10089
|
+
this.#simple = options.simple ?? new _SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_8__["default"]();
|
|
10090
|
+
this.#regex = options.regex ?? new _RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_7__["default"]();
|
|
10091
|
+
this.#jsonpath = options.jsonpath ?? new _JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_9__["default"]();
|
|
10092
|
+
this.#xpath = options.xpath ?? new _XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
10013
10093
|
}
|
|
10014
10094
|
|
|
10015
10095
|
/**
|
|
@@ -10022,7 +10102,7 @@ class CriterionEvaluator {
|
|
|
10022
10102
|
evaluate(criterion, resolve) {
|
|
10023
10103
|
if (!(0,_speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__.isCriterionElement)(criterion)) {
|
|
10024
10104
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Element is not a Criterion Object', {
|
|
10025
|
-
reason:
|
|
10105
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidCriterion
|
|
10026
10106
|
});
|
|
10027
10107
|
}
|
|
10028
10108
|
const condition = (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(criterion.condition) ? (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(criterion.condition) : undefined;
|
|
@@ -10030,33 +10110,40 @@ class CriterionEvaluator {
|
|
|
10030
10110
|
// (e.g. an empty regex would match unconditionally), so reject it too.
|
|
10031
10111
|
if (condition === undefined || condition === '') {
|
|
10032
10112
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion is missing a "condition"', {
|
|
10033
|
-
reason:
|
|
10113
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].MissingCondition
|
|
10034
10114
|
});
|
|
10035
10115
|
}
|
|
10036
10116
|
const type = this.#resolveType(criterion);
|
|
10037
10117
|
this.#requireValidContext(criterion, type);
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10118
|
+
try {
|
|
10119
|
+
switch (type) {
|
|
10120
|
+
case 'simple':
|
|
10121
|
+
return this.#simple.evaluate(condition, resolve);
|
|
10122
|
+
case 'regex':
|
|
10123
|
+
return this.#regex.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10124
|
+
case 'jsonpath':
|
|
10125
|
+
// only rfc9535 is supported, Arazzo 1.1.0's default, so an omitted
|
|
10126
|
+
// version is accepted. draft-goessner has different semantics and is
|
|
10127
|
+
// rejected rather than mis-evaluated.
|
|
10128
|
+
this.#requireVersion(criterion, type, condition, 'rfc9535');
|
|
10129
|
+
return this.#jsonpath.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10130
|
+
case 'xpath':
|
|
10131
|
+
// only XPath 3.1 is supported; xpath-31 is Arazzo 1.1.0's default, so
|
|
10132
|
+
// an omitted version is accepted. Older versions are rejected.
|
|
10133
|
+
this.#requireVersion(criterion, type, condition, 'xpath-31');
|
|
10134
|
+
return this.#xpath.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10135
|
+
default:
|
|
10136
|
+
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Unknown criterion type "${type}"`, {
|
|
10137
|
+
condition,
|
|
10138
|
+
type,
|
|
10139
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].UnknownType
|
|
10140
|
+
});
|
|
10141
|
+
}
|
|
10142
|
+
} catch (error) {
|
|
10143
|
+
// Arazzo 1.1.0: a condition that cannot be evaluated MUST evaluate to fail.
|
|
10144
|
+
// The structural checks throw a plain CriterionError and still propagate.
|
|
10145
|
+
if (error instanceof _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_5__["default"]) return false;
|
|
10146
|
+
throw error;
|
|
10060
10147
|
}
|
|
10061
10148
|
}
|
|
10062
10149
|
|
|
@@ -10074,15 +10161,15 @@ class CriterionEvaluator {
|
|
|
10074
10161
|
}
|
|
10075
10162
|
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(type)) return (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(type);
|
|
10076
10163
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has an invalid "type"', {
|
|
10077
|
-
reason:
|
|
10164
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidType
|
|
10078
10165
|
});
|
|
10079
10166
|
}
|
|
10080
10167
|
|
|
10081
10168
|
/**
|
|
10082
10169
|
* Extracts the expression `version` from a Criterion Expression Type Object,
|
|
10083
10170
|
* or `undefined` when no version is declared (a bare-string `type`, or a type
|
|
10084
|
-
* object without a `version`) — in which case
|
|
10085
|
-
* applies. A `version` that is present but not a string is malformed and
|
|
10171
|
+
* object without a `version`) — in which case Arazzo 1.1.0's default for the
|
|
10172
|
+
* type applies. A `version` that is present but not a string is malformed and
|
|
10086
10173
|
* throws a {@link CriterionError} rather than silently defaulting.
|
|
10087
10174
|
*/
|
|
10088
10175
|
#resolveVersion(criterion) {
|
|
@@ -10094,13 +10181,13 @@ class CriterionEvaluator {
|
|
|
10094
10181
|
return (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(type.version);
|
|
10095
10182
|
}
|
|
10096
10183
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has an invalid expression type "version"', {
|
|
10097
|
-
reason:
|
|
10184
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidVersion
|
|
10098
10185
|
});
|
|
10099
10186
|
}
|
|
10100
10187
|
|
|
10101
10188
|
/**
|
|
10102
10189
|
* Enforces that a versioned condition type declares only the one version this
|
|
10103
|
-
* runner supports. An omitted version is accepted (
|
|
10190
|
+
* runner supports. An omitted version is accepted (Arazzo 1.1.0's default);
|
|
10104
10191
|
* any other declared version throws a {@link CriterionError}.
|
|
10105
10192
|
*/
|
|
10106
10193
|
#requireVersion(criterion, type, condition, supported) {
|
|
@@ -10109,7 +10196,7 @@ class CriterionEvaluator {
|
|
|
10109
10196
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Unsupported ${type} version "${version}" (only ${supported})`, {
|
|
10110
10197
|
condition,
|
|
10111
10198
|
type,
|
|
10112
|
-
reason:
|
|
10199
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].UnsupportedVersion
|
|
10113
10200
|
});
|
|
10114
10201
|
}
|
|
10115
10202
|
}
|
|
@@ -10127,7 +10214,7 @@ class CriterionEvaluator {
|
|
|
10127
10214
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(context) || !(0,_swaggerexpert_arazzo_runtime_expression__WEBPACK_IMPORTED_MODULE_3__.test)((0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(context))) {
|
|
10128
10215
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has a "context" that is not a valid runtime expression', {
|
|
10129
10216
|
type,
|
|
10130
|
-
reason:
|
|
10217
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidContext
|
|
10131
10218
|
});
|
|
10132
10219
|
}
|
|
10133
10220
|
}
|
|
@@ -10142,7 +10229,7 @@ class CriterionEvaluator {
|
|
|
10142
10229
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(criterion.context)) {
|
|
10143
10230
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Criterion type "${type}" requires a "context"`, {
|
|
10144
10231
|
type,
|
|
10145
|
-
reason:
|
|
10232
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].MissingContext
|
|
10146
10233
|
});
|
|
10147
10234
|
}
|
|
10148
10235
|
return resolve((0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(criterion.context));
|
|
@@ -10162,7 +10249,9 @@ class CriterionEvaluator {
|
|
|
10162
10249
|
"use strict";
|
|
10163
10250
|
__webpack_require__.r(__webpack_exports__);
|
|
10164
10251
|
/* harmony import */ var _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84637);
|
|
10165
|
-
/* harmony import */ var
|
|
10252
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71731);
|
|
10253
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94547);
|
|
10254
|
+
|
|
10166
10255
|
|
|
10167
10256
|
|
|
10168
10257
|
|
|
@@ -10184,7 +10273,7 @@ class JSONPathCriterionEvaluator {
|
|
|
10184
10273
|
* whether it matched anything.
|
|
10185
10274
|
*
|
|
10186
10275
|
* Returns `false` when the context is `null` or `undefined`. Throws
|
|
10187
|
-
* {@link
|
|
10276
|
+
* {@link CriterionEvaluationError} when the condition is not a valid JSONPath query.
|
|
10188
10277
|
*/
|
|
10189
10278
|
evaluate(condition, context) {
|
|
10190
10279
|
if (context === null || context === undefined) return false;
|
|
@@ -10192,11 +10281,11 @@ class JSONPathCriterionEvaluator {
|
|
|
10192
10281
|
return (0,_swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__.evaluate)(context, condition).length > 0;
|
|
10193
10282
|
} catch (error) {
|
|
10194
10283
|
if (error instanceof _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__.JSONPathError) {
|
|
10195
|
-
throw new
|
|
10284
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__["default"](`Invalid jsonpath criterion condition "${condition}"`, {
|
|
10196
10285
|
cause: error,
|
|
10197
10286
|
condition,
|
|
10198
10287
|
type: 'jsonpath',
|
|
10199
|
-
reason:
|
|
10288
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__["default"].InvalidJSONPath
|
|
10200
10289
|
});
|
|
10201
10290
|
}
|
|
10202
10291
|
throw error;
|
|
@@ -10216,7 +10305,9 @@ class JSONPathCriterionEvaluator {
|
|
|
10216
10305
|
|
|
10217
10306
|
"use strict";
|
|
10218
10307
|
__webpack_require__.r(__webpack_exports__);
|
|
10219
|
-
/* harmony import */ var
|
|
10308
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71731);
|
|
10309
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94547);
|
|
10310
|
+
|
|
10220
10311
|
|
|
10221
10312
|
|
|
10222
10313
|
/**
|
|
@@ -10246,7 +10337,7 @@ class RegexCriterionEvaluator {
|
|
|
10246
10337
|
* Tests the resolved context value against the regular expression `condition`.
|
|
10247
10338
|
*
|
|
10248
10339
|
* The context is coerced to a string before matching. Returns `false` when the
|
|
10249
|
-
* context is `null` or `undefined`. Throws {@link
|
|
10340
|
+
* context is `null` or `undefined`. Throws {@link CriterionEvaluationError} when the
|
|
10250
10341
|
* condition is not a valid regular expression.
|
|
10251
10342
|
*/
|
|
10252
10343
|
evaluate(condition, context) {
|
|
@@ -10255,11 +10346,11 @@ class RegexCriterionEvaluator {
|
|
|
10255
10346
|
try {
|
|
10256
10347
|
regExp = new RegExp(condition);
|
|
10257
10348
|
} catch (error) {
|
|
10258
|
-
throw new
|
|
10349
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid regex criterion condition "${condition}"`, {
|
|
10259
10350
|
cause: error,
|
|
10260
10351
|
condition,
|
|
10261
10352
|
type: 'regex',
|
|
10262
|
-
reason:
|
|
10353
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_1__["default"].InvalidRegex
|
|
10263
10354
|
});
|
|
10264
10355
|
}
|
|
10265
10356
|
return regExp.test(this.#stringify(context));
|
|
@@ -10291,7 +10382,9 @@ class RegexCriterionEvaluator {
|
|
|
10291
10382
|
"use strict";
|
|
10292
10383
|
__webpack_require__.r(__webpack_exports__);
|
|
10293
10384
|
/* harmony import */ var _swaggerexpert_arazzo_criterion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(88006);
|
|
10294
|
-
/* harmony import */ var
|
|
10385
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71731);
|
|
10386
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94547);
|
|
10387
|
+
|
|
10295
10388
|
|
|
10296
10389
|
|
|
10297
10390
|
/**
|
|
@@ -10308,7 +10401,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10308
10401
|
* compared per the library's rules (e.g. `undefined == x` and relational
|
|
10309
10402
|
* comparisons are false, matching the spec's "null equals only null"), so a
|
|
10310
10403
|
* negated or disjunctive condition may still pass. A malformed condition throws
|
|
10311
|
-
* {@link
|
|
10404
|
+
* {@link CriterionEvaluationError}.
|
|
10312
10405
|
* @public
|
|
10313
10406
|
*/
|
|
10314
10407
|
class SimpleCriterionEvaluator {
|
|
@@ -10323,11 +10416,11 @@ class SimpleCriterionEvaluator {
|
|
|
10323
10416
|
});
|
|
10324
10417
|
} catch (error) {
|
|
10325
10418
|
if (error instanceof _swaggerexpert_arazzo_criterion__WEBPACK_IMPORTED_MODULE_0__.ArazzoCriterionError) {
|
|
10326
|
-
throw new
|
|
10419
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__["default"](`Invalid simple criterion condition "${condition}"`, {
|
|
10327
10420
|
cause: error,
|
|
10328
10421
|
condition,
|
|
10329
10422
|
type: 'simple',
|
|
10330
|
-
reason:
|
|
10423
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__["default"].InvalidSimple
|
|
10331
10424
|
});
|
|
10332
10425
|
}
|
|
10333
10426
|
throw error;
|
|
@@ -10349,12 +10442,14 @@ class SimpleCriterionEvaluator {
|
|
|
10349
10442
|
__webpack_require__.r(__webpack_exports__);
|
|
10350
10443
|
/* harmony import */ var fontoxpath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38406);
|
|
10351
10444
|
/* harmony import */ var _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17937);
|
|
10352
|
-
/* harmony import */ var
|
|
10445
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71731);
|
|
10446
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94547);
|
|
10353
10447
|
// fontoxpath is CommonJS and its named exports are not statically resolvable
|
|
10354
10448
|
// under ESM, so import the default and destructure.
|
|
10355
10449
|
|
|
10356
10450
|
|
|
10357
10451
|
|
|
10452
|
+
|
|
10358
10453
|
const {
|
|
10359
10454
|
evaluateXPathToBoolean,
|
|
10360
10455
|
evaluateXPath
|
|
@@ -10372,7 +10467,7 @@ const {
|
|
|
10372
10467
|
*
|
|
10373
10468
|
* Only XPath 3.1 is supported (`fontoxpath`'s engine); version gating happens in
|
|
10374
10469
|
* the facade. Per Arazzo 1.1.0, a `null` or `undefined` context fails the
|
|
10375
|
-
* condition. An invalid query throws {@link
|
|
10470
|
+
* condition. An invalid query throws {@link CriterionEvaluationError}.
|
|
10376
10471
|
* @public
|
|
10377
10472
|
*/
|
|
10378
10473
|
class XPathCriterionEvaluator {
|
|
@@ -10381,7 +10476,7 @@ class XPathCriterionEvaluator {
|
|
|
10381
10476
|
* its Effective Boolean Value.
|
|
10382
10477
|
*
|
|
10383
10478
|
* Returns `false` when the context is `null` or `undefined`. Throws
|
|
10384
|
-
* {@link
|
|
10479
|
+
* {@link CriterionEvaluationError} when the context is not XML or the query is invalid.
|
|
10385
10480
|
*/
|
|
10386
10481
|
evaluate(condition, context) {
|
|
10387
10482
|
if (context === null || context === undefined) return false;
|
|
@@ -10391,11 +10486,11 @@ class XPathCriterionEvaluator {
|
|
|
10391
10486
|
language: evaluateXPath.XPATH_3_1_LANGUAGE
|
|
10392
10487
|
});
|
|
10393
10488
|
} catch (error) {
|
|
10394
|
-
throw new
|
|
10489
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"](`Invalid xpath criterion condition "${condition}"`, {
|
|
10395
10490
|
cause: error,
|
|
10396
10491
|
condition,
|
|
10397
10492
|
type: 'xpath',
|
|
10398
|
-
reason:
|
|
10493
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPath
|
|
10399
10494
|
});
|
|
10400
10495
|
}
|
|
10401
10496
|
}
|
|
@@ -10408,10 +10503,10 @@ class XPathCriterionEvaluator {
|
|
|
10408
10503
|
#toNode(condition, context) {
|
|
10409
10504
|
if (this.#isNode(context)) return context;
|
|
10410
10505
|
if (typeof context !== 'string') {
|
|
10411
|
-
throw new
|
|
10506
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not XML', {
|
|
10412
10507
|
condition,
|
|
10413
10508
|
type: 'xpath',
|
|
10414
|
-
reason:
|
|
10509
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10415
10510
|
});
|
|
10416
10511
|
}
|
|
10417
10512
|
|
|
@@ -10427,21 +10522,21 @@ class XPathCriterionEvaluator {
|
|
|
10427
10522
|
}
|
|
10428
10523
|
}).parseFromString(context, 'text/xml');
|
|
10429
10524
|
if (parseError !== undefined) {
|
|
10430
|
-
throw new
|
|
10525
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not valid XML', {
|
|
10431
10526
|
cause: parseError,
|
|
10432
10527
|
condition,
|
|
10433
10528
|
type: 'xpath',
|
|
10434
|
-
reason:
|
|
10529
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10435
10530
|
});
|
|
10436
10531
|
}
|
|
10437
10532
|
return document;
|
|
10438
10533
|
} catch (error) {
|
|
10439
|
-
if (error instanceof
|
|
10440
|
-
throw new
|
|
10534
|
+
if (error instanceof _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]) throw error;
|
|
10535
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not valid XML', {
|
|
10441
10536
|
cause: error,
|
|
10442
10537
|
condition,
|
|
10443
10538
|
type: 'xpath',
|
|
10444
|
-
reason:
|
|
10539
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10445
10540
|
});
|
|
10446
10541
|
}
|
|
10447
10542
|
}
|
|
@@ -10928,7 +11023,6 @@ class ClientError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
10928
11023
|
__webpack_require__.r(__webpack_exports__);
|
|
10929
11024
|
/* harmony import */ var _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23949);
|
|
10930
11025
|
|
|
10931
|
-
|
|
10932
11026
|
/** @public */
|
|
10933
11027
|
class CriterionError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
10934
11028
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionError);
|
|
@@ -10937,6 +11031,31 @@ class CriterionError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
10937
11031
|
/* harmony export */ ]);
|
|
10938
11032
|
|
|
10939
11033
|
|
|
11034
|
+
/***/ },
|
|
11035
|
+
|
|
11036
|
+
/***/ 71731
|
|
11037
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
11038
|
+
|
|
11039
|
+
"use strict";
|
|
11040
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11041
|
+
/* harmony import */ var _CriterionError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41233);
|
|
11042
|
+
|
|
11043
|
+
|
|
11044
|
+
/**
|
|
11045
|
+
* A criterion condition that cannot be evaluated: a syntax error in the
|
|
11046
|
+
* condition, a context the condition cannot apply to, or an error raised while
|
|
11047
|
+
* evaluating it. The type-specific criterion evaluators throw it;
|
|
11048
|
+
* `CriterionEvaluator` turns it into an unmet criterion, as Arazzo 1.1.0
|
|
11049
|
+
* requires.
|
|
11050
|
+
* @public
|
|
11051
|
+
*/
|
|
11052
|
+
class CriterionEvaluationError extends _CriterionError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
11053
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionEvaluationError);
|
|
11054
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
11055
|
+
/* harmony export */ "default", 0, __WEBPACK_DEFAULT_EXPORT__
|
|
11056
|
+
/* harmony export */ ]);
|
|
11057
|
+
|
|
11058
|
+
|
|
10940
11059
|
/***/ },
|
|
10941
11060
|
|
|
10942
11061
|
/***/ 24089
|
|
@@ -115133,32 +115252,34 @@ let __webpack_exports__ = {};
|
|
|
115133
115252
|
__webpack_require__.r(__webpack_exports__);
|
|
115134
115253
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
115135
115254
|
/* harmony export */ APIDocument: () => (/* reexport safe */ _document_APIDocument_ts__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
115136
|
-
/* harmony export */ ActionResolver: () => (/* reexport safe */
|
|
115255
|
+
/* harmony export */ ActionResolver: () => (/* reexport safe */ _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
115137
115256
|
/* harmony export */ ArazzoDocument: () => (/* reexport safe */ _document_ArazzoDocument_ts__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
115138
115257
|
/* harmony export */ ArazzoDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_ArazzoDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
115139
115258
|
/* harmony export */ ArazzoRunner: () => (/* reexport safe */ _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
115140
|
-
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */
|
|
115259
|
+
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */ _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_49__["default"]),
|
|
115141
115260
|
/* harmony export */ ArazzoSourceDescriptionIndex: () => (/* reexport safe */ _document_ArazzoSourceDescriptionIndex_ts__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
115142
115261
|
/* harmony export */ ArazzoStepExtractor: () => (/* reexport safe */ _extractor_ArazzoStepExtractor_ts__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
115143
115262
|
/* harmony export */ ArazzoStepIndex: () => (/* reexport safe */ _document_ArazzoStepIndex_ts__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
115144
115263
|
/* harmony export */ ArazzoStepNormalizer: () => (/* reexport safe */ _normalizer_ArazzoStepNormalizer_ts__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
115145
|
-
/* harmony export */ ArazzoValueResolver: () => (/* reexport safe */
|
|
115264
|
+
/* harmony export */ ArazzoValueResolver: () => (/* reexport safe */ _resolver_ArazzoValueResolver_ts__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
115146
115265
|
/* harmony export */ ArazzoWorkflowExtractor: () => (/* reexport safe */ _extractor_ArazzoWorkflowExtractor_ts__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
115147
115266
|
/* harmony export */ ArazzoWorkflowIndex: () => (/* reexport safe */ _document_ArazzoWorkflowIndex_ts__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
115148
|
-
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */
|
|
115267
|
+
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */ _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__["default"]),
|
|
115149
115268
|
/* harmony export */ ArazzoWorkflowNormalizer: () => (/* reexport safe */ _normalizer_ArazzoWorkflowNormalizer_ts__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
115150
|
-
/* harmony export */ AssemblerError: () => (/* reexport safe */
|
|
115151
|
-
/* harmony export */ ClientError: () => (/* reexport safe */
|
|
115152
|
-
/* harmony export */ CriterionError: () => (/* reexport safe */
|
|
115269
|
+
/* harmony export */ AssemblerError: () => (/* reexport safe */ _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_50__["default"]),
|
|
115270
|
+
/* harmony export */ ClientError: () => (/* reexport safe */ _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_51__["default"]),
|
|
115271
|
+
/* harmony export */ CriterionError: () => (/* reexport safe */ _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_58__["default"]),
|
|
115272
|
+
/* harmony export */ CriterionErrorReason: () => (/* reexport safe */ _criterion_CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_34__["default"]),
|
|
115273
|
+
/* harmony export */ CriterionEvaluationError: () => (/* reexport safe */ _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_59__["default"]),
|
|
115153
115274
|
/* harmony export */ CriterionEvaluator: () => (/* reexport safe */ _criterion_CriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_29__["default"]),
|
|
115154
|
-
/* harmony export */ DocumentLoadError: () => (/* reexport safe */
|
|
115275
|
+
/* harmony export */ DocumentLoadError: () => (/* reexport safe */ _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_56__["default"]),
|
|
115155
115276
|
/* harmony export */ DocumentRegistry: () => (/* reexport safe */ _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
115156
115277
|
/* harmony export */ DocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_DocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
115157
|
-
/* harmony export */ ExecutionError: () => (/* reexport safe */
|
|
115158
|
-
/* harmony export */ ExtractionError: () => (/* reexport safe */
|
|
115159
|
-
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */
|
|
115278
|
+
/* harmony export */ ExecutionError: () => (/* reexport safe */ _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_61__["default"]),
|
|
115279
|
+
/* harmony export */ ExtractionError: () => (/* reexport safe */ _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_53__["default"]),
|
|
115280
|
+
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */ _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_54__["default"]),
|
|
115160
115281
|
/* harmony export */ JSONPathCriterionEvaluator: () => (/* reexport safe */ _criterion_JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
115161
|
-
/* harmony export */ NormalizationError: () => (/* reexport safe */
|
|
115282
|
+
/* harmony export */ NormalizationError: () => (/* reexport safe */ _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_52__["default"]),
|
|
115162
115283
|
/* harmony export */ OpenAPI2DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI2DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
115163
115284
|
/* harmony export */ OpenAPI2OperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPI2OperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
115164
115285
|
/* harmony export */ OpenAPI30DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI30DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
@@ -115168,31 +115289,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115168
115289
|
/* harmony export */ OpenAPIDocument: () => (/* reexport safe */ _document_OpenAPIDocument_ts__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
115169
115290
|
/* harmony export */ OpenAPIDocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPIDocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
115170
115291
|
/* harmony export */ OpenAPIDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_OpenAPIDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
115171
|
-
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */
|
|
115292
|
+
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */ _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__["default"]),
|
|
115172
115293
|
/* harmony export */ OpenAPIOperationExtractor: () => (/* reexport safe */ _extractor_OpenAPIOperationExtractor_ts__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
115173
115294
|
/* harmony export */ OpenAPIOperationIndex: () => (/* reexport safe */ _document_OpenAPIOperationIndex_ts__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
115174
|
-
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */
|
|
115295
|
+
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */ _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__["default"]),
|
|
115175
115296
|
/* harmony export */ OpenAPIOperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPIOperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
115176
|
-
/* harmony export */ OpenAPIOperationParameterResolver: () => (/* reexport safe */
|
|
115297
|
+
/* harmony export */ OpenAPIOperationParameterResolver: () => (/* reexport safe */ _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
115177
115298
|
/* harmony export */ OpenAPIOperationResponse: () => (/* reexport safe */ _client_OpenAPIOperationResponse_ts__WEBPACK_IMPORTED_MODULE_26__["default"]),
|
|
115178
115299
|
/* harmony export */ OpenAPIOperationResponseNormalizer: () => (/* reexport safe */ _client_OpenAPIOperationResponseNormalizer_ts__WEBPACK_IMPORTED_MODULE_27__["default"]),
|
|
115179
|
-
/* harmony export */ OutputResolver: () => (/* reexport safe */
|
|
115300
|
+
/* harmony export */ OutputResolver: () => (/* reexport safe */ _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__["default"]),
|
|
115180
115301
|
/* harmony export */ RegexCriterionEvaluator: () => (/* reexport safe */ _criterion_RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_31__["default"]),
|
|
115181
|
-
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */
|
|
115182
|
-
/* harmony export */ ResolverError: () => (/* reexport safe */
|
|
115183
|
-
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */
|
|
115302
|
+
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */ _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__["default"]),
|
|
115303
|
+
/* harmony export */ ResolverError: () => (/* reexport safe */ _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_60__["default"]),
|
|
115304
|
+
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */ _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_57__["default"]),
|
|
115184
115305
|
/* harmony export */ RuntimeExpressionEvaluator: () => (/* reexport safe */ _expression_RuntimeExpressionEvaluator_ts__WEBPACK_IMPORTED_MODULE_28__["default"]),
|
|
115185
115306
|
/* harmony export */ SimpleCriterionEvaluator: () => (/* reexport safe */ _criterion_SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_30__["default"]),
|
|
115186
|
-
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */
|
|
115187
|
-
/* harmony export */ StepExecutor: () => (/* reexport safe */
|
|
115188
|
-
/* harmony export */ StepParameterResolver: () => (/* reexport safe */
|
|
115189
|
-
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */
|
|
115190
|
-
/* harmony export */ WorkflowExecutionState: () => (/* reexport safe */
|
|
115191
|
-
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */
|
|
115192
|
-
/* harmony export */ WorkflowParameterResolver: () => (/* reexport safe */
|
|
115307
|
+
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */ _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__["default"]),
|
|
115308
|
+
/* harmony export */ StepExecutor: () => (/* reexport safe */ _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__["default"]),
|
|
115309
|
+
/* harmony export */ StepParameterResolver: () => (/* reexport safe */ _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
115310
|
+
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */ _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_55__["default"]),
|
|
115311
|
+
/* harmony export */ WorkflowExecutionState: () => (/* reexport safe */ _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_35__["default"]),
|
|
115312
|
+
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__["default"]),
|
|
115313
|
+
/* harmony export */ WorkflowParameterResolver: () => (/* reexport safe */ _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
115193
115314
|
/* harmony export */ XPathCriterionEvaluator: () => (/* reexport safe */ _criterion_XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
115194
115315
|
/* harmony export */ httpClientFetch: () => (/* reexport safe */ _client_HTTPClientFetch_ts__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
115195
|
-
/* harmony export */ settledResult: () => (/* reexport safe */
|
|
115316
|
+
/* harmony export */ settledResult: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__.settledResult)
|
|
115196
115317
|
/* harmony export */ });
|
|
115197
115318
|
/* harmony import */ var _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57253);
|
|
115198
115319
|
/* harmony import */ var _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4044);
|
|
@@ -115228,32 +115349,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115228
115349
|
/* harmony import */ var _criterion_RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(13517);
|
|
115229
115350
|
/* harmony import */ var _criterion_JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(90089);
|
|
115230
115351
|
/* harmony import */ var _criterion_XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(84997);
|
|
115231
|
-
/* harmony import */ var
|
|
115232
|
-
/* harmony import */ var
|
|
115233
|
-
/* harmony import */ var
|
|
115234
|
-
/* harmony import */ var
|
|
115235
|
-
/* harmony import */ var
|
|
115236
|
-
/* harmony import */ var
|
|
115237
|
-
/* harmony import */ var
|
|
115238
|
-
/* harmony import */ var
|
|
115239
|
-
/* harmony import */ var
|
|
115240
|
-
/* harmony import */ var
|
|
115241
|
-
/* harmony import */ var
|
|
115242
|
-
/* harmony import */ var
|
|
115243
|
-
/* harmony import */ var
|
|
115244
|
-
/* harmony import */ var
|
|
115245
|
-
/* harmony import */ var
|
|
115246
|
-
/* harmony import */ var
|
|
115247
|
-
/* harmony import */ var
|
|
115248
|
-
/* harmony import */ var
|
|
115249
|
-
/* harmony import */ var
|
|
115250
|
-
/* harmony import */ var
|
|
115251
|
-
/* harmony import */ var
|
|
115252
|
-
/* harmony import */ var
|
|
115253
|
-
/* harmony import */ var
|
|
115254
|
-
/* harmony import */ var
|
|
115255
|
-
/* harmony import */ var
|
|
115256
|
-
/* harmony import */ var
|
|
115352
|
+
/* harmony import */ var _criterion_CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(94547);
|
|
115353
|
+
/* harmony import */ var _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(61596);
|
|
115354
|
+
/* harmony import */ var _resolver_ArazzoValueResolver_ts__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(22411);
|
|
115355
|
+
/* harmony import */ var _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(92126);
|
|
115356
|
+
/* harmony import */ var _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(3347);
|
|
115357
|
+
/* harmony import */ var _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(95839);
|
|
115358
|
+
/* harmony import */ var _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(99494);
|
|
115359
|
+
/* harmony import */ var _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(67410);
|
|
115360
|
+
/* harmony import */ var _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(51097);
|
|
115361
|
+
/* harmony import */ var _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(92152);
|
|
115362
|
+
/* harmony import */ var _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(96007);
|
|
115363
|
+
/* harmony import */ var _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(57680);
|
|
115364
|
+
/* harmony import */ var _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(83461);
|
|
115365
|
+
/* harmony import */ var _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(7308);
|
|
115366
|
+
/* harmony import */ var _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(98885);
|
|
115367
|
+
/* harmony import */ var _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(23949);
|
|
115368
|
+
/* harmony import */ var _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(90706);
|
|
115369
|
+
/* harmony import */ var _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(81763);
|
|
115370
|
+
/* harmony import */ var _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(35523);
|
|
115371
|
+
/* harmony import */ var _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(90713);
|
|
115372
|
+
/* harmony import */ var _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(40198);
|
|
115373
|
+
/* harmony import */ var _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(46132);
|
|
115374
|
+
/* harmony import */ var _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(24089);
|
|
115375
|
+
/* harmony import */ var _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(48770);
|
|
115376
|
+
/* harmony import */ var _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(41233);
|
|
115377
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(71731);
|
|
115378
|
+
/* harmony import */ var _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(8696);
|
|
115379
|
+
/* harmony import */ var _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(17658);
|
|
115257
115380
|
/* Runner */
|
|
115258
115381
|
|
|
115259
115382
|
|
|
@@ -115307,6 +115430,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115307
115430
|
|
|
115308
115431
|
|
|
115309
115432
|
|
|
115433
|
+
|
|
115310
115434
|
/* Execution State */
|
|
115311
115435
|
|
|
115312
115436
|
/* Resolvers */
|
|
@@ -115338,6 +115462,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115338
115462
|
|
|
115339
115463
|
|
|
115340
115464
|
|
|
115465
|
+
|
|
115341
115466
|
})();
|
|
115342
115467
|
|
|
115343
115468
|
/******/ return __webpack_exports__;
|