@mablhq/mabl-cli 1.43.10 → 1.43.11
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/commands/deploy/deploy_cmds/executionResultPresenter.js +1 -0
- package/commands/tests/testsUtil.js +2 -2
- package/execution/index.js +1 -1
- package/mablApi/index.js +1 -1
- package/mablscript/steps/EvaluateFlowStep.js +1 -1
- package/package.json +1 -1
- package/util/javaScriptStepMigration.js +2 -2
- package/util/markdownUtil.js +3 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isEvaluateFlowStep = exports.EvaluateFlowStep = exports.EVALUATE_FLOW_STEP_NAME = void 0;
|
|
4
|
-
const MablStep_1 = require("../MablStep");
|
|
5
4
|
const domUtil_1 = require("../../domUtil");
|
|
5
|
+
const MablStep_1 = require("../MablStep");
|
|
6
6
|
exports.EVALUATE_FLOW_STEP_NAME = 'EvaluateFlow';
|
|
7
7
|
class EvaluateFlowStep extends MablStep_1.MablStep {
|
|
8
8
|
constructor(name, args, actions) {
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.normalizeScript = exports.hasVariableReferences = exports.attemptReusableSnippetParameterization = exports.attemptMigrationToParameterizedStep = void 0;
|
|
27
|
-
const
|
|
27
|
+
const mablApi_1 = require("../mablApi");
|
|
28
28
|
const encodingUtil_1 = require("./encodingUtil");
|
|
29
29
|
const esprima = __importStar(require("esprima"));
|
|
30
30
|
const escodegen = __importStar(require("escodegen"));
|
|
@@ -58,7 +58,7 @@ function migrateInlineDescriptor(descriptor) {
|
|
|
58
58
|
description: '',
|
|
59
59
|
name: 'Unnamed snippet',
|
|
60
60
|
parameters: [],
|
|
61
|
-
snippet_type:
|
|
61
|
+
snippet_type: mablApi_1.Snippet.SnippetTypeEnum.Javascript,
|
|
62
62
|
},
|
|
63
63
|
parameterOverrides: [],
|
|
64
64
|
};
|
package/util/markdownUtil.js
CHANGED
|
@@ -9,6 +9,7 @@ var HumanizedMablStatuses;
|
|
|
9
9
|
(function (HumanizedMablStatuses) {
|
|
10
10
|
HumanizedMablStatuses["Failed"] = "Failed";
|
|
11
11
|
HumanizedMablStatuses["Passed"] = "Passed";
|
|
12
|
+
HumanizedMablStatuses["RateLimited"] = "Quota Reached";
|
|
12
13
|
HumanizedMablStatuses["Running"] = "Running";
|
|
13
14
|
HumanizedMablStatuses["Stopped"] = "Stopped";
|
|
14
15
|
})(HumanizedMablStatuses || (HumanizedMablStatuses = {}));
|
|
@@ -82,6 +83,8 @@ function humanizeMablStatus(status) {
|
|
|
82
83
|
case mablApi_1.PlanExecutionResult.StatusEnum.PostExecution:
|
|
83
84
|
case mablApi_1.PlanExecutionResult.StatusEnum.PreExecution:
|
|
84
85
|
return HumanizedMablStatuses.Running;
|
|
86
|
+
case mablApi_1.TestRunResult.StatusEnum.RateLimited:
|
|
87
|
+
return HumanizedMablStatuses.RateLimited;
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
return;
|