@uipath/maestro-builder-sdk 6.120.10 → 6.120.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/dist/case/decompile.js
CHANGED
|
@@ -3178,6 +3178,11 @@ export function collectPreservation(plan) {
|
|
|
3178
3178
|
Object.assign(fields, { default: row.default, inArgType: formalInput.type });
|
|
3179
3179
|
if (lane === 'outputs' && row.var !== undefined)
|
|
3180
3180
|
fields.var = row.var;
|
|
3181
|
+
// An In-arg's `var` (the companion it fills, `groupMap` on the In-arg
|
|
3182
|
+
// `groupMap`), which the platform's canvas-form read writes and compile
|
|
3183
|
+
// does not: carried as saved, and applied only while compile writes none.
|
|
3184
|
+
if (lane === 'inputs' && row.var !== undefined)
|
|
3185
|
+
fields.var = row.var;
|
|
3181
3186
|
// `body` is typed only on a structured (`jsonSchema`) variable. On any
|
|
3182
3187
|
// other row it is the schema the Designer generated for the type (for a
|
|
3183
3188
|
// `file`, the job attachment's `{ ID, FullName, MimeType, Metadata }`),
|
package/dist/case/preserve.js
CHANGED
|
@@ -326,12 +326,12 @@ export function caseJsonPreservationErrors(payload) {
|
|
|
326
326
|
errors.push(`variable "${name}" field "value" on inputOutputs is behavior (a process mapping's var) and cannot be preserved`);
|
|
327
327
|
else if (!PRESERVED_VARIABLE_KEYS.has(field)
|
|
328
328
|
&& !(lane === 'inputOutputs' && (field === 'default' || field === 'custom' || field === 'elementId' || field === 'writtenElementId' || field === 'elementIdUnresolved' || field === 'inArgType'))
|
|
329
|
-
&& !(lane === 'outputs' && field === 'var')
|
|
329
|
+
&& !((lane === 'outputs' || lane === 'inputs') && field === 'var')
|
|
330
330
|
&& field !== 'body' && field !== 'bodyType')
|
|
331
331
|
errors.push(`variable "${name}" field "${field}" is not an allowed preserved designer field`);
|
|
332
332
|
else if (VARIABLE_KEYS.has(field)
|
|
333
333
|
&& !(lane === 'inputOutputs' && (field === 'default' || field === 'elementId'))
|
|
334
|
-
&& !(lane === 'outputs' && field === 'var')
|
|
334
|
+
&& !((lane === 'outputs' || lane === 'inputs') && field === 'var')
|
|
335
335
|
&& field !== 'body')
|
|
336
336
|
errors.push(`variable "${name}" field "${field}" is owned by the typed Case serializer`);
|
|
337
337
|
}
|
package/dist/case/serialize.js
CHANGED
|
@@ -626,6 +626,9 @@ export function applyPreservation(result, preservation, options = {}) {
|
|
|
626
626
|
continue;
|
|
627
627
|
if (row[field] === value)
|
|
628
628
|
continue;
|
|
629
|
+
// An In-arg's carried `var` gives way to one compile writes.
|
|
630
|
+
if (lane === 'inputs' && field === 'var' && row.var !== undefined)
|
|
631
|
+
continue;
|
|
629
632
|
// A saved `elementId` replaces the one compile writes only while compile
|
|
630
633
|
// writes the value it wrote at decompile; an edit that moved the row wins.
|
|
631
634
|
// It must also still name an element of the plan (or have named none when
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.120.
|
|
3
|
+
"version": "6.120.11",
|
|
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",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"@types/node": "^22.7.0",
|
|
125
125
|
"esbuild": "^0.28.1"
|
|
126
126
|
},
|
|
127
|
-
"gitref": "
|
|
127
|
+
"gitref": "96da82c8df0d018baf2826a2f6c1138eecee752e"
|
|
128
128
|
}
|