@uipath/rules-tool 1.207.0-preview.305 → 1.207.0-preview.308
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/dist/THIRD-PARTY-NOTICES.md +2 -2
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/{first-party-service-r63v6skt.js → first-party-service-7qzcrnd0.js} +1 -1
- package/dist/{index-thn9n1n9.js → index-d3xnveex.js} +1 -1
- package/dist/{index-g955264n.js → index-pxmthnvf.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{rule-catalog-0zntgf3s.js → rule-catalog-fsxqr6cq.js} +1 -1
- package/dist/{rules-debug-service-cfaqvnep.js → rules-debug-service-xwtvg27a.js} +1 -1
- package/dist/{rules-init-service-vhd0gzmd.js → rules-init-service-q5f31132.js} +2 -2
- package/dist/{solution-definition-helper-s5v427j0.js → solution-definition-helper-g2pt2ssz.js} +1 -1
- package/dist/{tool-0r1ykkjf.js → tool-6jf890qq.js} +3 -3
- package/dist/{tool-19fj7ema.js → tool-827rm6jp.js} +2960 -730
- package/dist/{tool-a1wk2tqc.js → tool-kf8t0fe1.js} +6 -6
- package/dist/tool.js +1 -1
- package/package.json +2 -2
|
@@ -16,7 +16,7 @@ var package_default = {
|
|
|
16
16
|
name: "@uipath/rules-tool",
|
|
17
17
|
author: "UiPath",
|
|
18
18
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
19
|
-
version: "1.207.0-preview.
|
|
19
|
+
version: "1.207.0-preview.308",
|
|
20
20
|
description: "Create and manage UiPath Business Rules (DMN) projects.",
|
|
21
21
|
private: false,
|
|
22
22
|
repository: {
|
|
@@ -93,7 +93,7 @@ var RULES_DEBUG_EXAMPLES = [
|
|
|
93
93
|
var registerDebugCommand = (program) => {
|
|
94
94
|
program.command("debug").description("Upload the rules project's solution to Studio Web and evaluate it once through the rules engine. Returns the decision outputs and errors, and the trace id that shows which rules fired.").argument("<project-path>", "Path to the business rules project directory (must contain project.uiproj)").option("-i, --inputs <json>", "Input values as a JSON object or @file.json").option("--folder-path <path>", "Folder to evaluate in and record the run's trace under (default: your personal workspace)").option("--folder-key <key>", "Key (GUID) of the folder to evaluate in and record the run's trace under").option("--timeout <seconds>", "Maximum seconds to wait for the rules engine to evaluate (default: 120)", (value) => parseBoundedInt(value, "--timeout", { min: 1, max: 3600 })).option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (value) => Number.parseInt(value, 10), 10).examples(RULES_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
|
|
95
95
|
const { reportRulesFailure } = await import("./rules-command-error-5jq3z0ny.js");
|
|
96
|
-
const { debugRuleProjectAsync } = await import("./rules-debug-service-
|
|
96
|
+
const { debugRuleProjectAsync } = await import("./rules-debug-service-xwtvg27a.js");
|
|
97
97
|
const [error, result] = await catchError(debugRuleProjectAsync(projectPath, options));
|
|
98
98
|
if (error) {
|
|
99
99
|
await reportRulesFailure("Failed to debug business rules project", error);
|
|
@@ -197,7 +197,7 @@ var registerDescribeCommand = (program) => {
|
|
|
197
197
|
}
|
|
198
198
|
const [error, entryPoints] = await catchError((async () => {
|
|
199
199
|
const folder = await rules.resolveRequiredFolder(options);
|
|
200
|
-
const { describeRuleAsync } = await import("./rule-catalog-
|
|
200
|
+
const { describeRuleAsync } = await import("./rule-catalog-fsxqr6cq.js");
|
|
201
201
|
return describeRuleAsync(name, folder);
|
|
202
202
|
})());
|
|
203
203
|
if (error) {
|
|
@@ -290,7 +290,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
290
290
|
];
|
|
291
291
|
var registerInitCommand = (program) => {
|
|
292
292
|
program.command("init").description("Create a new business rules project seeded with one decision table. If run outside an existing solution, a parent '<name>Solution' is scaffolded automatically and the rules project is created inside it. If run inside an existing solution, the project is added to that solution.").argument("<name>", "Business rules project name").option("--force", "Force initialization even if target directory exists and is not empty").option("--skip-solution-registration", "Do not auto-register this project in the surrounding solution").examples(RULES_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
293
|
-
const { rulesInitAsync } = await import("./rules-init-service-
|
|
293
|
+
const { rulesInitAsync } = await import("./rules-init-service-q5f31132.js");
|
|
294
294
|
const [error, result] = await catchError(rulesInitAsync(name, {
|
|
295
295
|
force: options.force,
|
|
296
296
|
skipRegistration: options.skipSolutionRegistration === true
|
|
@@ -416,7 +416,7 @@ async function listRulesAcrossFolders(options) {
|
|
|
416
416
|
if (options.tenant !== undefined) {
|
|
417
417
|
throw new RulesCommandError("'uip rules list --all-folders' does not support --tenant: it lists rules from the resource catalog of the tenant you are logged in to.", "invalid_argument", "Drop --all-folders and pass --folder-path <path> or --folder-key <key> to list one folder in that tenant, or run 'uip login tenant set <tenant-name>' to switch tenants.");
|
|
418
418
|
}
|
|
419
|
-
const { listRulesAcrossFoldersAsync } = await import("./rule-catalog-
|
|
419
|
+
const { listRulesAcrossFoldersAsync } = await import("./rule-catalog-fsxqr6cq.js");
|
|
420
420
|
const result = await listRulesAcrossFoldersAsync(options.limit, options.offset);
|
|
421
421
|
if (!result) {
|
|
422
422
|
throw new RulesCommandError("Listing business rules across folders needs the Node CLI: the browser build cannot read the resource catalog.", "configuration_error", "Drop --all-folders and pass --folder-path <path> or --folder-key <key> to list one folder.");
|
|
@@ -611,4 +611,4 @@ var registerCommands2 = async (program) => {
|
|
|
611
611
|
|
|
612
612
|
export { metadata2, registerCommands2 };
|
|
613
613
|
|
|
614
|
-
//# debugId=
|
|
614
|
+
//# debugId=32192EBCC138794064756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/rules-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.207.0-preview.
|
|
5
|
+
"version": "1.207.0-preview.308",
|
|
6
6
|
"description": "Create and manage UiPath Business Rules (DMN) projects.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "19a9499acd8ec6a8df34a9f011b645126f098c50"
|
|
31
31
|
}
|