@uipath/maestro-builder-sdk 6.124.13 → 6.124.14
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/bpmn/serialize.js +9 -8
- package/dist/core/form-field-type.js +1 -1
- package/dist/nodes/document/flow/factories.d.ts +1 -1
- package/dist/nodes/document/flow/factories.js +1 -1
- package/dist/nodes/document/flow/node-type.js +3 -3
- package/dist/nodes/document/flow/spec.d.ts +7 -7
- package/package.json +2 -2
package/dist/bpmn/serialize.js
CHANGED
|
@@ -557,14 +557,15 @@ export function processId(id) {
|
|
|
557
557
|
*
|
|
558
558
|
* The package metadata generator discovers entry points by reading the root start
|
|
559
559
|
* events — a process-level `uipath:entryPointId` looks plausible and validates as XML,
|
|
560
|
-
* but
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
* `.metadata({ entryPointId })` for the first
|
|
566
|
-
* stable derived id (`entry-point-id.ts`, seeded
|
|
567
|
-
* two processes with the same start id derive
|
|
560
|
+
* but `uip maestro bpmn refresh` never reads it: refresh requires exactly one, a GUID,
|
|
561
|
+
* on each root manual start, and fails when no root start is an entry point (CLI
|
|
562
|
+
* `entry-points.ts`, `deriveBpmnEntryPoints` / `readEntryPointId`). The canvas writes
|
|
563
|
+
* one on every ROOT start and strips any inside a `bpmn:SubProcess` on save, so a
|
|
564
|
+
* nested start gets no derived id here, only one the author set. A root start takes,
|
|
565
|
+
* in order: the event's own option, else `.metadata({ entryPointId })` for the first
|
|
566
|
+
* root start in chain order, else the stable derived id (`entry-point-id.ts`, seeded
|
|
567
|
+
* from the builder's own process id, so two processes with the same start id derive
|
|
568
|
+
* different ids); `false` writes none.
|
|
568
569
|
*/
|
|
569
570
|
function stampEntryPointIds(ctx, built, flowElements, rootDefault) {
|
|
570
571
|
const { m } = ctx;
|
|
@@ -25,7 +25,7 @@ const CANONICAL_JSON_SCHEMA = {
|
|
|
25
25
|
export const CANONICAL_FORM_FIELD_TYPES = Object.keys(CANONICAL_JSON_SCHEMA);
|
|
26
26
|
/**
|
|
27
27
|
* The SDK's own legacy spellings, accepted in source: `text` (what flow-v1's
|
|
28
|
-
* serializer and `uip
|
|
28
|
+
* serializer and an older `uip`'s `flow hitl add` wrote) and `date-time`. The
|
|
29
29
|
* product resolves both. The SDK writes their canonical value on the wire
|
|
30
30
|
* (`wireFormFieldType`).
|
|
31
31
|
*/
|
|
@@ -30,7 +30,7 @@ export declare function documentClassify(inputs: DocumentClassifyInputs): Action
|
|
|
30
30
|
* keys: compile gives every field group its `x-uipath-field-group-id`, every
|
|
31
31
|
* field its `x-uipath-field-id` and every nested group (`Invoice > Lines`)
|
|
32
32
|
* its parent's id, and closes the objects (`required` lists every property,
|
|
33
|
-
* `additionalProperties: false`), as `uip
|
|
33
|
+
* `additionalProperties: false`), as an older `uip`'s `nodes schema set` did.
|
|
34
34
|
* An id the source carries is kept. A missing one is the one the `.flow` being
|
|
35
35
|
* overwritten has for the same entry, or else one minted from the entry's
|
|
36
36
|
* place, so a recompile gives the same id.
|
|
@@ -31,7 +31,7 @@ export function documentClassify(inputs) {
|
|
|
31
31
|
* keys: compile gives every field group its `x-uipath-field-group-id`, every
|
|
32
32
|
* field its `x-uipath-field-id` and every nested group (`Invoice > Lines`)
|
|
33
33
|
* its parent's id, and closes the objects (`required` lists every property,
|
|
34
|
-
* `additionalProperties: false`), as `uip
|
|
34
|
+
* `additionalProperties: false`), as an older `uip`'s `nodes schema set` did.
|
|
35
35
|
* An id the source carries is kept. A missing one is the one the `.flow` being
|
|
36
36
|
* overwritten has for the same entry, or else one minted from the entry's
|
|
37
37
|
* place, so a recompile gives the same id.
|
|
@@ -171,7 +171,7 @@ function withoutScaffoldConfig(schema, modelConfig) {
|
|
|
171
171
|
const { config: _scaffold, ...rest } = schema;
|
|
172
172
|
return rest;
|
|
173
173
|
}
|
|
174
|
-
const SET_HINT = 'The document is { prompt, outputSchema }
|
|
174
|
+
const SET_HINT = 'The document is { prompt, outputSchema }: edit it in dynamicExtract({ schema }), then compile or merge; '
|
|
175
175
|
+ 'see website/reference/document-pipeline.md.';
|
|
176
176
|
/**
|
|
177
177
|
* The taxonomy rules (#1986): what `nodes schema set` refuses, run on the
|
|
@@ -188,12 +188,12 @@ function checkSchema(inputs, ctx) {
|
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
190
|
if (isLegacyTaxonomy(schema)) {
|
|
191
|
-
ctx.report('EXTRACT_TAXONOMY_LEGACY', `${at} uses the superseded { taxonomy, fieldTypes } shape
|
|
191
|
+
ctx.report('EXTRACT_TAXONOMY_LEGACY', `${at} uses the superseded { taxonomy, fieldTypes } shape; rewrite it as a { prompt, outputSchema } document.`, SET_HINT);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
194
|
if (!isReadableTaxonomy(schema)) {
|
|
195
195
|
if (isBareJsonSchema(schema)) {
|
|
196
|
-
ctx.report('EXTRACT_TAXONOMY_BARE', `${at} is a bare JSON Schema: no "prompt", no field types in "$defs", no field groups.
|
|
196
|
+
ctx.report('EXTRACT_TAXONOMY_BARE', `${at} is a bare JSON Schema: no "prompt", no field types in "$defs", no field groups. The Schema Editor cannot read it, `
|
|
197
197
|
+ 'and the processor built from it holds no fields.', 'Wrap the groups as { prompt: \'…\', outputSchema: { type: \'object\', properties: { <Group>: … }, $defs: { … } } }. ' + SET_HINT);
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
@@ -61,8 +61,8 @@ export interface DynamicExtractInputs {
|
|
|
61
61
|
* A published IXP deployment's identity. Optional, and not needed: the node
|
|
62
62
|
* runs the inline {@link DynamicExtractInputs.schema} through its IDP processor
|
|
63
63
|
* ({@link DynamicExtractInputs.processorKey}), and neither the platform nor
|
|
64
|
-
* Studio Web reads these fields for this node —
|
|
65
|
-
*
|
|
64
|
+
* Studio Web reads these fields for this node — an older `uip`'s
|
|
65
|
+
* `nodes create` left them blank, and `uip maestro flow validate` exempts this node type from
|
|
66
66
|
* the deployed-model rule the published-model Extract node has.
|
|
67
67
|
*
|
|
68
68
|
* @deprecated Omit it. Accepted, and written to the node as before, so an
|
|
@@ -84,9 +84,9 @@ export interface DynamicExtractInputs {
|
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
86
|
* The extraction schema (the node's inline taxonomy), emitted as the node's
|
|
87
|
-
* `schemaDocument`: `{ prompt, outputSchema }`, the shape
|
|
88
|
-
* `
|
|
89
|
-
*
|
|
87
|
+
* `schemaDocument`: `{ prompt, outputSchema }`, the shape an older `uip`'s
|
|
88
|
+
* `nodes schema set` took. Omit it for the empty taxonomy a new node starts
|
|
89
|
+
* with (no field groups, the six default field types).
|
|
90
90
|
* Authored inline rather than referencing a deployed IXP project (use
|
|
91
91
|
* {@link ixpExtract} for those).
|
|
92
92
|
*/
|
|
@@ -99,8 +99,8 @@ export interface DynamicExtractInputs {
|
|
|
99
99
|
* The IDP processor the node extracts through — the solution resource that
|
|
100
100
|
* stores this node's taxonomy and model settings. Omit it: compile mints one
|
|
101
101
|
* per node (stable across recompiles: it is derived from the flow and the
|
|
102
|
-
* step), and inside a solution writes its resource file, as
|
|
103
|
-
* `
|
|
102
|
+
* step), and inside a solution writes its resource file, as an older `uip`'s
|
|
103
|
+
* `nodes create` did. Decompile writes the key a node
|
|
104
104
|
* already has, so a recompile keeps pointing at the same processor.
|
|
105
105
|
*
|
|
106
106
|
* Two steps must not name the same key: a processor holds one extraction,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.124.
|
|
3
|
+
"version": "6.124.14",
|
|
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",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"@types/node": "^22.7.0",
|
|
129
129
|
"esbuild": "^0.28.1"
|
|
130
130
|
},
|
|
131
|
-
"gitref": "
|
|
131
|
+
"gitref": "441c80145b3339941207ba6ad30b81ae6af00a75"
|
|
132
132
|
}
|