@uipath/rules-tool 1.204.0 → 1.205.0-preview.258
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/README.md +7 -5
- package/dist/DmnFactory-L7MABUC6-98k17dkr.js +46 -0
- package/dist/{KieDmnMarshaller-6TTUU5B4-47q50gk4.js → KieDmnMarshaller-LGE63WDG-3vemswef.js} +2 -2
- package/dist/THIRD-PARTY-NOTICES.md +26 -9
- package/dist/{business-rules-bnr581tz.js → business-rules-pm96sefm.js} +4 -4
- package/dist/{constants-9pa118cj.js → constants-cnn0jfw6.js} +18 -17
- package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
- package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +36 -0
- package/dist/index-52h8rpew.js +21 -0
- package/dist/index-bhjt1h5c.js +227 -0
- package/dist/{index-2hzp9b97.js → index-cpm94vee.js} +21 -5
- package/dist/index-x9msn1dj.js +85 -0
- package/dist/{index-4c4exdzw.js → index-ybrgtfsg.js} +576 -285
- package/dist/index.js +2 -2
- package/dist/rule-catalog-10fhgevc.js +74 -0
- package/dist/{rules-command-error-20gp2dv9.js → rules-command-error-k6kxwfn7.js} +2 -2
- package/dist/{rules-debug-service-qd3aqcg1.js → rules-debug-service-86e47tv4.js} +19 -13
- package/dist/{rules-init-service-xsh7mx96.js → rules-init-service-3z07e0v8.js} +7 -7
- package/dist/{rules-refresh-service-jgk2kq9d.js → rules-refresh-service-jn6my893.js} +3 -3
- package/dist/{rules-validate-service-mr2fk58k.js → rules-validate-service-hfw8m3dm.js} +7 -7
- package/dist/{tool-pm3ewdxc.js → tool-1pccj6q3.js} +4 -3
- package/dist/{tool-jpwm68hm.js → tool-5zs9eywg.js} +103 -63
- package/dist/tool-86f1xpxn.js +51 -0
- package/dist/{tool-75esv9bk.js → tool-a4r4a9be.js} +17 -7
- package/dist/tool-cfrcyxgm.js +26 -0
- package/dist/{tool-av4mmsef.js → tool-fbmxx07c.js} +2 -2
- package/dist/{tool-2cky8jwp.js → tool-fbxe48wd.js} +1071 -208
- package/dist/tool-fk8rznma.js +827 -0
- package/dist/{tool-mkn83w88.js → tool-gkbr01gc.js} +3 -3
- package/dist/{tool-8h4er38s.js → tool-h7gn1rar.js} +3 -3
- package/dist/{tool-8qy8pkp4.js → tool-t4k013ex.js} +8 -5
- package/dist/tool-tjcg2xje.js +4616 -0
- package/dist/{tool-eymjx05p.js → tool-txp5th7j.js} +760 -3395
- package/dist/{tool-tkcx6png.js → tool-wf2qkrye.js} +25 -5
- package/dist/{tool-wmh645tm.js → tool-yq5jph4h.js} +169 -119
- package/dist/tool-z1ay3csx.js +176 -0
- package/dist/tool.js +2 -2
- package/package.json +2 -2
- package/dist/DmnFactory-VWZOSZHH-jkpbxz3n.js +0 -42
- package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +0 -33
- package/dist/index-34pj9f36.js +0 -48
- package/dist/index-fs1nd5ap.js +0 -200
- package/dist/index-t4mx1a5e.js +0 -17
- package/dist/rule-catalog-5gzpe93c.js +0 -46
- package/dist/tool-19b4ect0.js +0 -754
- package/dist/tool-4dfpdepw.js +0 -55
- package/dist/tool-m41px07w.js +0 -49
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RulesCommandError,
|
|
3
3
|
isJsonObject
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-t4k013ex.js";
|
|
5
5
|
import {
|
|
6
6
|
catchError,
|
|
7
7
|
getFileSystem
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-wf2qkrye.js";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
11
|
} from "./tool-1de529jm.js";
|
|
@@ -61,7 +61,7 @@ async function readRuleProjectAsync(projectPath) {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
async function buildRuleEntryPointsAsync(dmnFiles, publishedEntryPoints, ruleName) {
|
|
64
|
-
const { buildBusinessRulePackagingFiles } = await import("./index-
|
|
64
|
+
const { buildBusinessRulePackagingFiles } = await import("./index-bhjt1h5c.js");
|
|
65
65
|
const packaging = await buildBusinessRulePackagingFiles(dmnFiles, publishedEntryPoints, true);
|
|
66
66
|
if (publishedEntryPoints != null || ruleName === undefined) {
|
|
67
67
|
return packaging;
|
|
@@ -10440,7 +10440,7 @@ var $normalizeLineEndings = domParser.normalizeLineEndings;
|
|
|
10440
10440
|
var $onErrorStopParsing = domParser.onErrorStopParsing;
|
|
10441
10441
|
var $onWarningStopParsing = domParser.onWarningStopParsing;
|
|
10442
10442
|
|
|
10443
|
-
// ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-
|
|
10443
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-YWHJRFPT.js
|
|
10444
10444
|
var oe = n((u) => {
|
|
10445
10445
|
var S = u && u.__assign || function() {
|
|
10446
10446
|
return S = Object.assign || function(e) {
|
|
@@ -11046,7 +11046,7 @@ async function bs(e) {
|
|
|
11046
11046
|
return { status: "error", reason: "migration-failed" };
|
|
11047
11047
|
}
|
|
11048
11048
|
try {
|
|
11049
|
-
return { status: "ready", document: Ot(r), losses: s };
|
|
11049
|
+
return { status: "ready", document: Ot(r), originalVersion: n2, losses: s };
|
|
11050
11050
|
} catch (i) {
|
|
11051
11051
|
return console.error("DMN: the marshaller could not read a well-formed document", i), { status: "error", reason: "invalid-xml" };
|
|
11052
11052
|
}
|
|
@@ -11060,4 +11060,4 @@ function hs(e) {
|
|
|
11060
11060
|
|
|
11061
11061
|
export { m, _t, Is, Rs, Ft, bs, Ot, hs };
|
|
11062
11062
|
|
|
11063
|
-
//# debugId=
|
|
11063
|
+
//# debugId=4E630FD506A19DCA64756E2164756E21
|
|
@@ -3,18 +3,20 @@ import {
|
|
|
3
3
|
RESULTS,
|
|
4
4
|
classifiedFailure,
|
|
5
5
|
processContext
|
|
6
|
-
} from "./tool-
|
|
6
|
+
} from "./tool-wf2qkrye.js";
|
|
7
7
|
|
|
8
8
|
// src/services/rules-command-error.ts
|
|
9
9
|
class RulesCommandError extends Error {
|
|
10
10
|
errorCode;
|
|
11
11
|
instructions;
|
|
12
12
|
retry;
|
|
13
|
-
|
|
13
|
+
context;
|
|
14
|
+
constructor(message, errorCode, instructions, retry = "RetryWillNotFix", context) {
|
|
14
15
|
super(message);
|
|
15
16
|
this.errorCode = errorCode;
|
|
16
17
|
this.instructions = instructions;
|
|
17
18
|
this.retry = retry;
|
|
19
|
+
this.context = context;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
function isJsonObject(value) {
|
|
@@ -23,11 +25,12 @@ function isJsonObject(value) {
|
|
|
23
25
|
async function reportRulesFailure(message, error) {
|
|
24
26
|
if (error instanceof RulesCommandError) {
|
|
25
27
|
OutputFormatter.error({
|
|
26
|
-
Result: RESULTS.Failure,
|
|
28
|
+
Result: error.errorCode === "configuration_error" ? RESULTS.ConfigError : RESULTS.Failure,
|
|
27
29
|
ErrorCode: error.errorCode,
|
|
28
30
|
Message: error.message,
|
|
29
31
|
Instructions: error.instructions,
|
|
30
|
-
Retry: error.retry
|
|
32
|
+
Retry: error.retry,
|
|
33
|
+
...error.context ? { Context: error.context } : {}
|
|
31
34
|
});
|
|
32
35
|
} else {
|
|
33
36
|
OutputFormatter.error(await classifiedFailure(message, error));
|
|
@@ -37,4 +40,4 @@ async function reportRulesFailure(message, error) {
|
|
|
37
40
|
|
|
38
41
|
export { RulesCommandError, isJsonObject, reportRulesFailure };
|
|
39
42
|
|
|
40
|
-
//# debugId=
|
|
43
|
+
//# debugId=B2F6C5FC5162EEA564756E2164756E21
|