@uipath/maestro-builder-sdk 6.86.17 → 6.86.18
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/case/decompile.js +9 -9
- package/package.json +2 -2
package/dist/case/decompile.js
CHANGED
|
@@ -1354,12 +1354,6 @@ function outputTargetOf(row) {
|
|
|
1354
1354
|
return 'originalVar';
|
|
1355
1355
|
return undefined;
|
|
1356
1356
|
}
|
|
1357
|
-
/**
|
|
1358
|
-
* Fields of a resource io row that change what the plan does and that no
|
|
1359
|
-
* builder call writes, so decompile refuses them by name rather than carry
|
|
1360
|
-
* them. `renamed` makes the platform name the output after its `displayName`.
|
|
1361
|
-
*/
|
|
1362
|
-
const RESOURCE_ROW_REFUSED = new Set(['renamed']);
|
|
1363
1357
|
/**
|
|
1364
1358
|
* What a resource task's (process, agent, rpa, API workflow, ...) io row needs
|
|
1365
1359
|
* beyond what compile writes, recorded in its identity:
|
|
@@ -1367,7 +1361,10 @@ const RESOURCE_ROW_REFUSED = new Set(['renamed']);
|
|
|
1367
1361
|
* - `fields`: the Case Designer's copy of the resource parameter's definition,
|
|
1368
1362
|
* which no builder call writes and nothing reads to run the case:
|
|
1369
1363
|
* `displayName`, `title`, `description`, `body` and its `_jsonSchema` copy,
|
|
1370
|
-
* `subType`, `items`, schema keywords (`format`, `minimum`, `enum`, ...)
|
|
1364
|
+
* `subType`, `items`, schema keywords (`format`, `minimum`, `enum`, ...),
|
|
1365
|
+
* and `renamed: true`, the Designer's mark that the author renamed the
|
|
1366
|
+
* output's variable label (its variable picker then lists the output under
|
|
1367
|
+
* its `displayName`; the row's `var` still names what it writes).
|
|
1371
1368
|
* For example `{ displayName: 'echoIn', title: 'echoIn' }`.
|
|
1372
1369
|
* - `omit: ['target']`: an extract the Designer saved with no `target`
|
|
1373
1370
|
* (compile writes `target: "=<id>"` on every extract).
|
|
@@ -1382,8 +1379,11 @@ function resourceRowShape(task, row, side) {
|
|
|
1382
1379
|
const written = side === 'inputs' ? RESOURCE_INPUT_WRITTEN : RESOURCE_OUTPUT_WRITTEN;
|
|
1383
1380
|
const fields = {};
|
|
1384
1381
|
for (const [key, value] of Object.entries(row)) {
|
|
1385
|
-
|
|
1386
|
-
|
|
1382
|
+
// `renamed` marks an output whose variable label the author renamed. An
|
|
1383
|
+
// input has no variable to rename, so the flag means nothing the Designer
|
|
1384
|
+
// writes there, and it is refused by name rather than carried.
|
|
1385
|
+
if (key === 'renamed' && side === 'inputs')
|
|
1386
|
+
throw new Error(`${task.type} task "${task.displayName ?? task.id ?? '?'}" input "${row.name ?? '?'}" has unsupported field "renamed".`);
|
|
1387
1387
|
// An input `required` / `default` `.inputs()` cannot type (`required: "true"`, an object default) is carried.
|
|
1388
1388
|
if ((key === 'default' || key === 'required') && side === 'inputs' && !isTypedInputField(key, value))
|
|
1389
1389
|
fields[key] = value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.86.
|
|
3
|
+
"version": "6.86.18",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"@types/node": "^22.7.0",
|
|
104
104
|
"esbuild": "^0.28.1"
|
|
105
105
|
},
|
|
106
|
-
"gitref": "
|
|
106
|
+
"gitref": "084694cb55926a5d346d171315535674674b19fa"
|
|
107
107
|
}
|