@uipath/case-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/dist/THIRD-PARTY-NOTICES.md +24 -11
- package/dist/{authoring-6ckkzfc9.js → authoring-kqh34zzm.js} +49 -30
- package/dist/{business-rule-export-kg5bk8aw.js → business-rule-export-ey588rv7.js} +2 -2
- package/dist/canvas-notes-86fxx1t8.js +19 -0
- package/dist/{case-api-rvamfn02.js → case-api-sme7esce.js} +6 -6
- package/dist/case-bindings-service-cht20gqt.js +430 -0
- package/dist/case-debug-solution-projects-h3w2nx0a.js +34 -0
- package/dist/{case-debug-studio-web-service-xxfesw4v.js → case-debug-studio-web-service-3mkrtaet.js} +16 -10
- package/dist/{case-described-io-service-14hdnqcc.js → case-described-io-service-dx1f4nxe.js} +37 -11
- package/dist/case-event-trigger-bindings-g9ftnm4x.js +16 -0
- package/dist/{case-format-service-yb48785t.js → case-format-service-6aew6tqc.js} +2 -2
- package/dist/{case-pack-service-9185h6ez.js → case-pack-service-pqq8wnfd.js} +6 -6
- package/dist/case-schema-version-h820ne16.js +20 -0
- package/dist/{case-shape-reader-mw58avr0.js → case-shape-reader-dsbraetf.js} +1 -1
- package/dist/{case-splice-service-tkmb7xjp.js → case-splice-service-s5gccctq.js} +53 -8
- package/dist/{case-validate-service-c84e2bhv.js → case-validate-service-rey6btew.js} +128 -42
- package/dist/{connector-enrichment-service-hfv0kwht.js → connector-enrichment-service-crqs2216.js} +23 -20
- package/dist/{connector-lookup-service-whgjceyj.js → connector-lookup-service-dwv8q5eh.js} +6 -6
- package/dist/connector-task-shape-mpazkf7s.js +14 -0
- package/dist/{connector-task-spec-k0cwavrm.js → connector-task-spec-trs4tcb3.js} +196 -40
- package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
- package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
- package/dist/{debug-service-ch3v6jmm.js → debug-service-7q98j726.js} +3 -3
- package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
- package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
- package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
- package/dist/{enrichment-service-3f1kygjs.js → enrichment-service-hv7ff88p.js} +56 -12
- package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
- package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
- package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
- package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
- package/dist/filter-engine-7ep90g7f.js +11 -0
- package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
- package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
- package/dist/index-332n0kxj.js +282 -0
- package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
- package/dist/{index-aw2gqqat.js → index-a2fvrrth.js} +4 -4
- package/dist/{index-4yanx3rn.js → index-ekwtgx7y.js} +1089 -218
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/index-n9qvnx4x.js +29 -0
- package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
- package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
- package/dist/index.js +12 -12
- package/dist/init-entry-points-hhpv3e3f.js +98 -0
- package/dist/{input-reader-1tcqt27f.js → input-reader-c7wz8ra2.js} +3 -3
- package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
- package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
- package/dist/{known-types-0h9kqwyy.js → known-types-jvkdgmzz.js} +5 -4
- package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
- package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
- package/dist/localSolutionDiscovery-yyx234ak.js +13 -0
- package/dist/migration-diagnosis-ns5cw4e3.js +99 -0
- package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
- package/dist/node-sync-service-1wkcyn1n.js +57 -0
- package/dist/out-target-wjgmna0r.js +111 -0
- package/dist/{packager-tool-85q4f3pq.js → packager-tool-1pcmxqny.js} +3 -3
- package/dist/{packager-tool-8a9yqfq7.js → packager-tool-1yfw674x.js} +4 -2
- package/dist/{packager-tool-pdhhzfr5.js → packager-tool-29x6vran.js} +296 -417
- package/dist/packager-tool-2sn7d8fd.js +41 -0
- package/dist/packager-tool-4p11fvf4.js +92 -0
- package/dist/{packager-tool-25hng8h4.js → packager-tool-4rtktkhv.js} +16211 -13084
- package/dist/{packager-tool-yfm83bzd.js → packager-tool-67vy1fz3.js} +4 -3
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-3q3d1hk8.js → packager-tool-83v804p7.js} +56 -6
- package/dist/{packager-tool-00y70spr.js → packager-tool-87y6xw3a.js} +2 -1
- package/dist/packager-tool-93mdeqay.js +18 -0
- package/dist/{packager-tool-64rg5ekd.js → packager-tool-9e59z4d6.js} +75 -7
- package/dist/{packager-tool-vepqrsse.js → packager-tool-9kf3fqtr.js} +2 -2
- package/dist/packager-tool-9kvkzc05.js +74 -0
- package/dist/{packager-tool-s6619wtx.js → packager-tool-9sd483vs.js} +2 -2
- package/dist/{packager-tool-f78ntj5g.js → packager-tool-9y1w2wds.js} +51 -6
- package/dist/packager-tool-a17g0pj1.js +62 -0
- package/dist/{packager-tool-167qap9m.js → packager-tool-aagnvyba.js} +845 -38
- package/dist/{packager-tool-0p6dbsp0.js → packager-tool-c5q10254.js} +5 -5
- package/dist/{packager-tool-wj9d9mqe.js → packager-tool-e15kqpyh.js} +12 -13
- package/dist/{packager-tool-c31qx8kc.js → packager-tool-ezds6t5e.js} +2 -2
- package/dist/{packager-tool-d3zvghjd.js → packager-tool-f2z2dscy.js} +308 -120
- package/dist/{packager-tool-hvzjm2nk.js → packager-tool-f8vwy92w.js} +2093 -5805
- package/dist/{packager-tool-rgpdaxbx.js → packager-tool-gx2cer6a.js} +5385 -1098
- package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
- package/dist/{packager-tool-mr149jsw.js → packager-tool-k5cpxdm4.js} +17 -7
- package/dist/packager-tool-k6jbedyc.js +69 -0
- package/dist/packager-tool-kdhey8gz.js +153 -0
- package/dist/{packager-tool-cenvh23g.js → packager-tool-kyrm4e5m.js} +718 -87
- package/dist/packager-tool-mqy97y5f.js +52 -0
- package/dist/{packager-tool-jfysbxdt.js → packager-tool-mzf4gmph.js} +4 -4
- package/dist/packager-tool-n7w9wx62.js +25 -0
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-r0x3qh59.js +307 -0
- package/dist/{packager-tool-w1b5pyj6.js → packager-tool-r6b5ktzb.js} +730 -14
- package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
- package/dist/{packager-tool-xcd87qyx.js → packager-tool-v2kcgjbf.js} +2 -3
- package/dist/{case-bindings-service-d9vezn69.js → packager-tool-wekqkmgn.js} +20 -231
- package/dist/packager-tool-yct6zp4m.js +335 -0
- package/dist/{packager-tool-kpqr938m.js → packager-tool-ydyvtknp.js} +26 -3
- package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
- package/dist/{packager-tool-4rqd21wc.js → packager-tool-yn7r7zq2.js} +19 -5
- package/dist/{packager-tool-cmwets3m.js → packager-tool-zf8f9pmm.js} +1 -1
- package/dist/packager-tool.js +3 -3
- package/dist/{project-artifacts-rng5m6r2.js → project-artifacts-bgyyb0dm.js} +1 -1
- package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
- package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
- package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
- package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
- package/dist/{resolved-check-p99hysaw.js → resolved-check-aqw7568y.js} +1 -1
- package/dist/{resourcesSyncService-zwjyp1qx.js → resourcesSyncService-d302jnap.js} +32 -170
- package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
- package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
- package/dist/{sdd-convert-service-vf0ps358.js → sdd-convert-service-8jpew7vz.js} +686 -445
- package/dist/{sdd-lookup-dwzpvvwn.js → sdd-lookup-fe900sdb.js} +2 -2
- package/dist/{sdd-resolve-service-mjqad2nn.js → sdd-resolve-service-qdtmxw9b.js} +38 -13
- package/dist/sdd-resolve-siblings-6kfxc2t6.js +53 -0
- package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
- package/dist/solution-discovery-g6ksnrg1.js +38 -0
- package/dist/{strict-case-rules-tz37bspw.js → strict-case-rules-4tjcaznr.js} +3 -2
- package/dist/{strict-entry-points-v14d7y50.js → strict-entry-points-g2pd4mf4.js} +29 -1
- package/dist/{strict-sdd-audit-4aqdeh59.js → strict-sdd-audit-q7tb9yj7.js} +7 -5
- package/dist/task-type-declaration-7a8fqdvs.js +46 -0
- package/dist/tool.js +12 -12
- package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
- package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
- package/dist/{trigger-enrichment-service-g3vt051f.js → trigger-enrichment-service-sj0p2d1j.js} +23 -20
- package/dist/trigger-entry-point-id-yhqwnkx9.js +15 -0
- package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
- package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
- package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
- package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
- package/package.json +2 -2
- package/dist/migration-diagnosis-ag2sgd1e.js +0 -71
- package/dist/node-sync-service-2tfrgbjs.js +0 -36
- package/dist/out-target-jakehnd3.js +0 -70
- package/dist/packager-tool-57pzrd0g.js +0 -32
- package/dist/packager-tool-dthjwajc.js +0 -13
- package/dist/packager-tool-xy04yy0v.js +0 -32
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MIN_SUPPORTED_MAJOR,
|
|
3
|
+
compareCaseSchemaVersions,
|
|
4
|
+
isNewerCaseSchemaPatch,
|
|
5
|
+
parseCaseSchemaVersion,
|
|
6
|
+
resolveCaseSchemaVersion,
|
|
7
|
+
resolveCaseSchemaWriteVersion
|
|
8
|
+
} from "./packager-tool-mqy97y5f.js";
|
|
9
|
+
import"./packager-tool-zf8f9pmm.js";
|
|
10
|
+
import"./packager-tool-1yh8g550.js";
|
|
11
|
+
export {
|
|
12
|
+
MIN_SUPPORTED_MAJOR,
|
|
13
|
+
compareCaseSchemaVersions,
|
|
14
|
+
isNewerCaseSchemaPatch,
|
|
15
|
+
parseCaseSchemaVersion,
|
|
16
|
+
resolveCaseSchemaVersion,
|
|
17
|
+
resolveCaseSchemaWriteVersion
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//# debugId=99B7CF02905961B864756E2164756E21
|
|
@@ -1,18 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CONNECTOR_TASK_TYPES,
|
|
3
3
|
SERVICE_TYPE_BY_TASK
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-93mdeqay.js";
|
|
5
5
|
import {
|
|
6
6
|
BINDING_REFERENCE_PREFIX
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-87y6xw3a.js";
|
|
8
|
+
import {
|
|
9
|
+
dedupedId
|
|
10
|
+
} from "./packager-tool-9kvkzc05.js";
|
|
11
|
+
import {
|
|
12
|
+
camelizeDisplayName
|
|
13
|
+
} from "./packager-tool-ydyvtknp.js";
|
|
14
|
+
import"./packager-tool-9y1w2wds.js";
|
|
8
15
|
import {
|
|
9
16
|
createConnectorBindings
|
|
10
17
|
} from "./packager-tool-sq931c23.js";
|
|
11
18
|
import {
|
|
12
19
|
prefixedId
|
|
13
20
|
} from "./packager-tool-mknccck5.js";
|
|
21
|
+
import"./packager-tool-83v804p7.js";
|
|
22
|
+
import"./packager-tool-hdxtgckw.js";
|
|
14
23
|
import"./packager-tool-1yh8g550.js";
|
|
15
24
|
|
|
25
|
+
// src/services/splice-output-ids.ts
|
|
26
|
+
var outputIdBase = (name) => {
|
|
27
|
+
const camel = camelizeDisplayName(name);
|
|
28
|
+
return camel === "" || /^[0-9]/.test(camel) ? `output${camel}` : camel;
|
|
29
|
+
};
|
|
30
|
+
var takenIdsIn = (document) => {
|
|
31
|
+
const taken = new Set;
|
|
32
|
+
const add = (value) => {
|
|
33
|
+
if (typeof value === "string" && value !== "")
|
|
34
|
+
taken.add(value);
|
|
35
|
+
};
|
|
36
|
+
const walk = (node, slot, inVariables) => {
|
|
37
|
+
if (Array.isArray(node)) {
|
|
38
|
+
for (const item of node)
|
|
39
|
+
walk(item, slot, inVariables);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (typeof node !== "object" || node === null)
|
|
43
|
+
return;
|
|
44
|
+
const row = node;
|
|
45
|
+
if (slot || "var" in row) {
|
|
46
|
+
add(row.id);
|
|
47
|
+
add(row.var);
|
|
48
|
+
}
|
|
49
|
+
if (inVariables) {
|
|
50
|
+
add(row.id);
|
|
51
|
+
add(row.name);
|
|
52
|
+
}
|
|
53
|
+
for (const [key, value] of Object.entries(row))
|
|
54
|
+
walk(value, key === "inputs" || key === "outputs", inVariables || key === "variables");
|
|
55
|
+
};
|
|
56
|
+
walk(document, false, false);
|
|
57
|
+
return taken;
|
|
58
|
+
};
|
|
59
|
+
var mintOutputId = (name, taken) => dedupedId(outputIdBase(name), taken);
|
|
60
|
+
|
|
16
61
|
// src/services/case-splice-service.ts
|
|
17
62
|
var CONNECTION_SENTINEL = "{{CONN_BINDING_ID}}";
|
|
18
63
|
var FOLDER_SENTINEL = "{{FOLDER_BINDING_ID}}";
|
|
@@ -106,7 +151,7 @@ var DOCUMENT_OWNED_OUTPUT_FIELDS = [
|
|
|
106
151
|
"target",
|
|
107
152
|
"originalVar"
|
|
108
153
|
];
|
|
109
|
-
var mergeOutputs = (specRows, existing, elementId) => {
|
|
154
|
+
var mergeOutputs = (specRows, existing, elementId, taken) => {
|
|
110
155
|
const byName = new Map;
|
|
111
156
|
for (const raw of existing) {
|
|
112
157
|
const row = asRecord(raw);
|
|
@@ -114,7 +159,7 @@ var mergeOutputs = (specRows, existing, elementId) => {
|
|
|
114
159
|
byName.set(row.name, row);
|
|
115
160
|
}
|
|
116
161
|
}
|
|
117
|
-
const merged = withVarIds(specRows, existing, elementId).map((row) => {
|
|
162
|
+
const merged = withVarIds(specRows, existing, elementId, (name) => mintOutputId(name, taken)).map((row) => {
|
|
118
163
|
const kept = typeof row.name === "string" ? byName.get(row.name) : undefined;
|
|
119
164
|
if (kept === undefined)
|
|
120
165
|
return row;
|
|
@@ -125,7 +170,7 @@ var mergeOutputs = (specRows, existing, elementId) => {
|
|
|
125
170
|
const unmatched = existing.map(asRecord).filter((row) => row !== undefined && !specNames.has(row.name));
|
|
126
171
|
return [...merged, ...unmatched];
|
|
127
172
|
};
|
|
128
|
-
var withVarIds = (rows, existing, elementId) => {
|
|
173
|
+
var withVarIds = (rows, existing, elementId, mint = () => prefixedId("v", 8)) => {
|
|
129
174
|
const byName = new Map;
|
|
130
175
|
for (const raw of existing) {
|
|
131
176
|
const row = asRecord(raw);
|
|
@@ -140,7 +185,7 @@ var withVarIds = (rows, existing, elementId) => {
|
|
|
140
185
|
const name = typeof row.name === "string" ? row.name : "";
|
|
141
186
|
const kept = byName.get(name);
|
|
142
187
|
const keptId = typeof kept?.id === "string" && kept.id !== "" ? kept.id : undefined;
|
|
143
|
-
const id = keptId ?? (typeof row.id === "string" && row.id !== "" ? row.id :
|
|
188
|
+
const id = keptId ?? (typeof row.id === "string" && row.id !== "" ? row.id : mint(name));
|
|
144
189
|
const keptVar = typeof kept?.var === "string" && kept.var !== "" ? kept.var : undefined;
|
|
145
190
|
return {
|
|
146
191
|
...row,
|
|
@@ -270,7 +315,7 @@ var spliceConnectorShape = (document, caseShape, options) => {
|
|
|
270
315
|
serviceType: SERVICE_TYPE_BY_TASK[taskType],
|
|
271
316
|
context: splicedContext,
|
|
272
317
|
inputs: withVarIds(asArray(caseShape.inputs), asArray(data.inputs), elementId),
|
|
273
|
-
outputs: mergeOutputs(asArray(caseShape.outputs), asArray(data.outputs), elementId)
|
|
318
|
+
outputs: mergeOutputs(asArray(caseShape.outputs), asArray(data.outputs), elementId, takenIdsIn(document))
|
|
274
319
|
};
|
|
275
320
|
const dropped = [];
|
|
276
321
|
const prunedBindings = folderKey === undefined && !declaresEntry(context, "folderKey") ? nextBindings.filter((entry) => {
|
|
@@ -309,4 +354,4 @@ export {
|
|
|
309
354
|
spliceConnectorShape
|
|
310
355
|
};
|
|
311
356
|
|
|
312
|
-
//# debugId=
|
|
357
|
+
//# debugId=0226F0A402EC388E64756E2164756E21
|
|
@@ -7,26 +7,32 @@ import {
|
|
|
7
7
|
readActivityTypeId
|
|
8
8
|
} from "./packager-tool-cv05dwac.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
canonicalVariableType,
|
|
11
|
+
gateKey
|
|
12
|
+
} from "./packager-tool-k6jbedyc.js";
|
|
13
|
+
import {
|
|
14
|
+
CONTAINER_INPUT_TASK_TYPES,
|
|
15
|
+
HTTP_REQUEST_REPAIR,
|
|
11
16
|
SERVICE_TYPE_BY_TASK
|
|
12
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-93mdeqay.js";
|
|
13
18
|
import {
|
|
14
19
|
BINDING_REFERENCE_PREFIX,
|
|
15
20
|
NAME_BOUND_TASK_TYPES,
|
|
16
21
|
RESOLVED_IDENTITY_KEYS
|
|
17
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-87y6xw3a.js";
|
|
18
23
|
import {
|
|
19
24
|
readRegistryLedger
|
|
20
25
|
} from "./packager-tool-b250k6w4.js";
|
|
21
26
|
import {
|
|
22
27
|
validateIntSvcNode
|
|
23
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-r6b5ktzb.js";
|
|
24
29
|
import {
|
|
25
30
|
MIN_SUPPORTED_MAJOR,
|
|
26
31
|
compareCaseSchemaVersions,
|
|
32
|
+
isNewerCaseSchemaPatch,
|
|
27
33
|
parseCaseSchemaVersion,
|
|
28
34
|
resolveCaseSchemaVersion
|
|
29
|
-
} from "./packager-tool-
|
|
35
|
+
} from "./packager-tool-mqy97y5f.js";
|
|
30
36
|
import {
|
|
31
37
|
VALID_CASE_COMPLETION_RULE_TYPES,
|
|
32
38
|
VALID_CASE_EXIT_RULE_TYPES,
|
|
@@ -35,20 +41,20 @@ import {
|
|
|
35
41
|
VALID_STAGE_EXIT_RULE_TYPES,
|
|
36
42
|
VALID_TASK_ENTRY_RULE_TYPES
|
|
37
43
|
} from "./packager-tool-nj4seavy.js";
|
|
38
|
-
import
|
|
44
|
+
import {
|
|
45
|
+
loadCaseSchemaAsync
|
|
46
|
+
} from "./packager-tool-zf8f9pmm.js";
|
|
47
|
+
import"./packager-tool-yn33pw57.js";
|
|
39
48
|
import"./packager-tool-0gctz400.js";
|
|
40
49
|
import"./packager-tool-qa9gftnj.js";
|
|
41
50
|
import"./packager-tool-yc4kw997.js";
|
|
42
|
-
import {
|
|
43
|
-
loadCaseSchemaAsync
|
|
44
|
-
} from "./packager-tool-cmwets3m.js";
|
|
45
51
|
import {
|
|
46
52
|
catchError,
|
|
47
53
|
logger
|
|
48
|
-
} from "./packager-tool-
|
|
54
|
+
} from "./packager-tool-83v804p7.js";
|
|
49
55
|
import {
|
|
50
56
|
getFileSystem
|
|
51
|
-
} from "./packager-tool-
|
|
57
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
52
58
|
import {
|
|
53
59
|
__require
|
|
54
60
|
} from "./packager-tool-1yh8g550.js";
|
|
@@ -57,7 +63,7 @@ import {
|
|
|
57
63
|
var ACTIVITY_CONTEXT_KEYS = ["metadata", "objectName"];
|
|
58
64
|
var connectorActivityValidator = {
|
|
59
65
|
id: "uipath-connector-activity",
|
|
60
|
-
appliesTo: (task) =>
|
|
66
|
+
appliesTo: (task) => CONTAINER_INPUT_TASK_TYPES.has(task.type ?? "") && Object.keys(task.data ?? {}).length > 0,
|
|
61
67
|
validate: (task, ctx) => {
|
|
62
68
|
const context = task.data?.context;
|
|
63
69
|
const missing = ACTIVITY_CONTEXT_KEYS.filter((key) => contextEntry(context, key) === undefined);
|
|
@@ -69,20 +75,20 @@ var connectorActivityValidator = {
|
|
|
69
75
|
code: "CASE_MGMT_CONNECTOR_ACTIVITY_UNRESOLVED",
|
|
70
76
|
path: `nodes[${ctx.stageId}].data.tasks[${task.id ?? "?"}].data.context`,
|
|
71
77
|
severity: "error",
|
|
72
|
-
message: `Connector task "${name}" has no ${missing.map((key) => `\`${key}\``).join(" or ")} context entry, so Studio Web shows it ` + "with no activity selected and it cannot run.
|
|
78
|
+
message: `Connector task "${name}" has no ${missing.map((key) => `\`${key}\``).join(" or ")} context entry, so Studio Web shows it ` + "with no activity selected and it cannot run. " + (String(task.type) === "http-request" ? HTTP_REQUEST_REPAIR : "Fetch the activity with `uip maestro case spec` " + "and write it into the task with `uip maestro case " + "splice`, or empty the task's `data` to leave it as " + "a placeholder.")
|
|
73
79
|
}
|
|
74
80
|
];
|
|
75
81
|
}
|
|
76
82
|
};
|
|
77
83
|
|
|
78
84
|
// src/services/case-validators/connector-validator.ts
|
|
79
|
-
var
|
|
85
|
+
var CONNECTOR_TASK_TYPES = new Set([
|
|
80
86
|
"execute-connector-activity",
|
|
81
87
|
"wait-for-connector"
|
|
82
88
|
]);
|
|
83
89
|
var connectorTaskValidator = {
|
|
84
90
|
id: "uipath-connector",
|
|
85
|
-
appliesTo: (task) =>
|
|
91
|
+
appliesTo: (task) => CONNECTOR_TASK_TYPES.has(task.type),
|
|
86
92
|
validate: (task, ctx) => {
|
|
87
93
|
const data = task.data;
|
|
88
94
|
if (!data)
|
|
@@ -338,7 +344,7 @@ var taskLabel = (task) => task.displayName ?? task.id ?? "task";
|
|
|
338
344
|
var taskPath = (stageId, task) => `nodes[${stageId}].data.tasks[${task.id ?? "?"}]`;
|
|
339
345
|
var strictConnectorContextValidator = {
|
|
340
346
|
id: "strict-connector-context",
|
|
341
|
-
appliesTo: (task) =>
|
|
347
|
+
appliesTo: (task) => CONTAINER_INPUT_TASK_TYPES.has(task.type ?? "") && Object.keys(taskData(task) ?? {}).length > 0,
|
|
342
348
|
validate: (task, ctx) => {
|
|
343
349
|
const issues = [];
|
|
344
350
|
const data = taskData(task);
|
|
@@ -607,6 +613,44 @@ var findRegistryLedger = async (fs, casePlanPath) => {
|
|
|
607
613
|
return;
|
|
608
614
|
};
|
|
609
615
|
|
|
616
|
+
// src/services/variable-type-findings.ts
|
|
617
|
+
var GROUPS = ["inputs", "outputs", "inputOutputs"];
|
|
618
|
+
var asRecord2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? value : undefined;
|
|
619
|
+
var variableTypeFindings = (parsed) => {
|
|
620
|
+
const variables = asRecord2(parsed.variables);
|
|
621
|
+
if (variables === undefined)
|
|
622
|
+
return [];
|
|
623
|
+
const issues = [];
|
|
624
|
+
for (const group of GROUPS) {
|
|
625
|
+
const entries = variables[group];
|
|
626
|
+
if (!Array.isArray(entries))
|
|
627
|
+
continue;
|
|
628
|
+
for (const [at, raw] of entries.entries()) {
|
|
629
|
+
const entry = asRecord2(raw);
|
|
630
|
+
const type = entry?.type;
|
|
631
|
+
if (typeof type !== "string")
|
|
632
|
+
continue;
|
|
633
|
+
const known = canonicalVariableType(type);
|
|
634
|
+
if (known !== undefined && !known.alias)
|
|
635
|
+
continue;
|
|
636
|
+
const name = typeof entry?.name === "string" ? entry.name : String(at);
|
|
637
|
+
const path = `variables.${group}[${name}].type`;
|
|
638
|
+
issues.push(known === undefined ? {
|
|
639
|
+
code: "CASE_MGMT_VARIABLE_TYPE_UNKNOWN",
|
|
640
|
+
path,
|
|
641
|
+
severity: "error",
|
|
642
|
+
message: `Variable "${name}" has type "${type}", which is no case variable type. The Case Designer writes string, integer, float, double, boolean, datetime, date, time, object, file, array or jsonSchema, and packaging copies any other type into the entry point's JSON Schema as written.`
|
|
643
|
+
} : {
|
|
644
|
+
code: "CASE_MGMT_VARIABLE_TYPE_ALIAS",
|
|
645
|
+
path,
|
|
646
|
+
severity: "warning",
|
|
647
|
+
message: `Variable "${name}" has type "${type}", which the Case Designer writes as "${known.type}". The backend accepts this spelling, and the Designer's own type picker does not offer it.`
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
return issues;
|
|
652
|
+
};
|
|
653
|
+
|
|
610
654
|
// src/services/case-validate-service.ts
|
|
611
655
|
var mapCanvasSeverity = (severity) => {
|
|
612
656
|
const normalized = (severity ?? "error").toUpperCase();
|
|
@@ -762,7 +806,7 @@ var findUnparseableJsonValues = (nodes) => {
|
|
|
762
806
|
}
|
|
763
807
|
return found;
|
|
764
808
|
};
|
|
765
|
-
var
|
|
809
|
+
var CONNECTOR_TASK_TYPES2 = new Set([
|
|
766
810
|
"execute-connector-activity",
|
|
767
811
|
"wait-for-connector"
|
|
768
812
|
]);
|
|
@@ -795,7 +839,7 @@ var findConnectorInputDefects = (nodes) => {
|
|
|
795
839
|
"inputs"
|
|
796
840
|
])) {
|
|
797
841
|
const type = task.type;
|
|
798
|
-
if (typeof type !== "string" || !
|
|
842
|
+
if (typeof type !== "string" || !CONNECTOR_TASK_TYPES2.has(type)) {
|
|
799
843
|
continue;
|
|
800
844
|
}
|
|
801
845
|
if (typeof input?.name !== "string" || input.name === "")
|
|
@@ -931,7 +975,7 @@ var findMisplacedEnvelopeBodies = (nodes) => {
|
|
|
931
975
|
if (found.length >= AUTHORING_MARKER_LIMIT)
|
|
932
976
|
return found;
|
|
933
977
|
const type = task.type;
|
|
934
|
-
if (typeof type !== "string" ||
|
|
978
|
+
if (typeof type !== "string" || CONTAINER_INPUT_TASK_TYPES.has(type)) {
|
|
935
979
|
continue;
|
|
936
980
|
}
|
|
937
981
|
if (input === undefined)
|
|
@@ -987,15 +1031,20 @@ var findUnreachableSlaRules = (parsed) => {
|
|
|
987
1031
|
var findDuplicateSlaGates = (parsed) => {
|
|
988
1032
|
const found = [];
|
|
989
1033
|
const scan = (rules, path, scope) => {
|
|
990
|
-
const
|
|
1034
|
+
const byGate = new Map;
|
|
991
1035
|
for (const entry of asArrayValue(rules)) {
|
|
992
1036
|
const expression = asRecordValue(entry)?.expression;
|
|
993
1037
|
if (typeof expression !== "string" || expression.trim() === "") {
|
|
994
1038
|
continue;
|
|
995
1039
|
}
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
1040
|
+
const key = gateKey(expression);
|
|
1041
|
+
const seen = byGate.get(key);
|
|
1042
|
+
if (seen === undefined)
|
|
1043
|
+
byGate.set(key, { expression, count: 1 });
|
|
1044
|
+
else
|
|
1045
|
+
seen.count += 1;
|
|
1046
|
+
}
|
|
1047
|
+
for (const { expression, count } of byGate.values()) {
|
|
999
1048
|
if (count < 2)
|
|
1000
1049
|
continue;
|
|
1001
1050
|
found.push({ path, scope, expression, count });
|
|
@@ -1280,7 +1329,7 @@ var findConnectorTasksWithoutInputs = (nodes, bindings) => {
|
|
|
1280
1329
|
const record = asRecordValue(task);
|
|
1281
1330
|
const type = record?.type;
|
|
1282
1331
|
const taskData2 = asRecordValue(record?.data);
|
|
1283
|
-
if (typeof type !== "string" || !
|
|
1332
|
+
if (typeof type !== "string" || !CONTAINER_INPUT_TASK_TYPES.has(type) || taskData2 === undefined) {
|
|
1284
1333
|
continue;
|
|
1285
1334
|
}
|
|
1286
1335
|
const context = taskData2.context;
|
|
@@ -1296,7 +1345,8 @@ var findConnectorTasksWithoutInputs = (nodes, bindings) => {
|
|
|
1296
1345
|
const name = labelOf(record, type);
|
|
1297
1346
|
found.push({
|
|
1298
1347
|
path: `nodes[${stage}].data.tasks[${name}].data.inputs`,
|
|
1299
|
-
name
|
|
1348
|
+
name,
|
|
1349
|
+
type
|
|
1300
1350
|
});
|
|
1301
1351
|
}
|
|
1302
1352
|
}
|
|
@@ -1650,7 +1700,35 @@ var CONNECTOR_BINDING_ATTRIBUTES = new Set([
|
|
|
1650
1700
|
"connection"
|
|
1651
1701
|
]);
|
|
1652
1702
|
var CONNECTOR_BINDING_RESOURCES = new Set(["connection", "folder"]);
|
|
1703
|
+
var storedPickerFolderSlots = (parsed) => {
|
|
1704
|
+
const slots = new Map;
|
|
1705
|
+
const visit = (node) => {
|
|
1706
|
+
if (Array.isArray(node)) {
|
|
1707
|
+
for (const item of node)
|
|
1708
|
+
visit(item);
|
|
1709
|
+
return;
|
|
1710
|
+
}
|
|
1711
|
+
const record = asRecordValue(node);
|
|
1712
|
+
if (!record)
|
|
1713
|
+
return;
|
|
1714
|
+
const body = asRecordValue(record.body);
|
|
1715
|
+
if (record.name === "metadata" && Array.isArray(body?.bindings)) {
|
|
1716
|
+
for (const entry of body.bindings) {
|
|
1717
|
+
const binding = asRecordValue(entry);
|
|
1718
|
+
const key = binding?.key;
|
|
1719
|
+
if (typeof key !== "string" || key === "")
|
|
1720
|
+
continue;
|
|
1721
|
+
slots.set(key.toLowerCase(), asRecordValue(binding?.value)?.folderKey !== undefined);
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
for (const value of Object.values(record))
|
|
1725
|
+
visit(value);
|
|
1726
|
+
};
|
|
1727
|
+
visit(parsed);
|
|
1728
|
+
return slots;
|
|
1729
|
+
};
|
|
1653
1730
|
var findIncompleteBindingPairs = (parsed) => {
|
|
1731
|
+
const pickerFolderSlots = storedPickerFolderSlots(parsed);
|
|
1654
1732
|
const attributes = new Map;
|
|
1655
1733
|
for (const entry of asArrayValue(parsed.bindings)) {
|
|
1656
1734
|
const binding = asRecordValue(entry);
|
|
@@ -1661,11 +1739,13 @@ var findIncompleteBindingPairs = (parsed) => {
|
|
|
1661
1739
|
continue;
|
|
1662
1740
|
if (typeof attribute !== "string" || attribute === "")
|
|
1663
1741
|
continue;
|
|
1664
|
-
if (CONNECTOR_BINDING_ATTRIBUTES.has(attribute.toLowerCase()))
|
|
1665
|
-
continue;
|
|
1666
1742
|
if (typeof resource === "string" && CONNECTOR_BINDING_RESOURCES.has(resource.toLowerCase())) {
|
|
1667
1743
|
continue;
|
|
1668
1744
|
}
|
|
1745
|
+
const pickerFolderKey = attribute === "folderKey" && typeof resource === "string";
|
|
1746
|
+
if (!pickerFolderKey && CONNECTOR_BINDING_ATTRIBUTES.has(attribute.toLowerCase())) {
|
|
1747
|
+
continue;
|
|
1748
|
+
}
|
|
1669
1749
|
const seen = attributes.get(key) ?? new Set;
|
|
1670
1750
|
seen.add(attribute);
|
|
1671
1751
|
attributes.set(key, seen);
|
|
@@ -1675,13 +1755,15 @@ var findIncompleteBindingPairs = (parsed) => {
|
|
|
1675
1755
|
if (found.length >= AUTHORING_MARKER_LIMIT)
|
|
1676
1756
|
return found;
|
|
1677
1757
|
const hasName = seen.has("name");
|
|
1678
|
-
const
|
|
1758
|
+
const folderSlot = pickerFolderSlots.get(key.toLowerCase());
|
|
1759
|
+
const hasFolder = folderSlot === undefined ? seen.has("folderPath") : !folderSlot || seen.has("folderKey");
|
|
1679
1760
|
if (hasName && hasFolder)
|
|
1680
1761
|
continue;
|
|
1762
|
+
const folderAttribute = folderSlot === undefined ? "folderPath" : "folderKey";
|
|
1681
1763
|
found.push({
|
|
1682
1764
|
key,
|
|
1683
1765
|
present: [...seen].sort((a, b) => a.localeCompare(b)).join(", "),
|
|
1684
|
-
missing: hasName ?
|
|
1766
|
+
missing: hasName ? folderAttribute : "name"
|
|
1685
1767
|
});
|
|
1686
1768
|
}
|
|
1687
1769
|
return found;
|
|
@@ -1824,6 +1906,7 @@ class CaseValidateService {
|
|
|
1824
1906
|
const issues = [];
|
|
1825
1907
|
const taskContent = checksTaskContent(profile);
|
|
1826
1908
|
const slaContent = profile !== "skeleton";
|
|
1909
|
+
issues.push(...variableTypeFindings(parsed));
|
|
1827
1910
|
const name = parsed.name;
|
|
1828
1911
|
if (typeof name !== "string" || name.trim() === "") {
|
|
1829
1912
|
issues.push({
|
|
@@ -1949,7 +2032,7 @@ class CaseValidateService {
|
|
|
1949
2032
|
code: "CASE_MGMT_BINDING_PAIR_INCOMPLETE",
|
|
1950
2033
|
path: `bindings[${key}]`,
|
|
1951
2034
|
severity: "error",
|
|
1952
|
-
message: `resourceKey "${key}" has ${present} but no \`${missing}\` ` + 'entry. A resource is addressed by folderPath + "." + ' + "name, so one key is one resource and it needs both " + "entries sharing that key: 'uip solution resources " + "refresh' resolves the pair, and bindings_v2.json is " + "derived from it, so half a pair ships a solution that " + "resolves this resource to nothing. Give both entries the " + "same resourceKey and set each one's propertyAttribute to " + "the half it carries."
|
|
2035
|
+
message: `resourceKey "${key}" has ${present} but no \`${missing}\` ` + 'entry. A resource is addressed by folderPath + "." + ' + "name, so one key is one resource and it needs both " + "entries sharing that key: 'uip solution resources " + "refresh' resolves the pair, and bindings_v2.json is " + "derived from it, so half a pair ships a solution that " + "resolves this resource to nothing. Give both entries the " + "same resourceKey and set each one's propertyAttribute to " + "the half it carries. A solution-resource picker (such as " + "a Data Fabric entity) pairs name with folderKey instead " + "of folderPath."
|
|
1953
2036
|
});
|
|
1954
2037
|
}
|
|
1955
2038
|
for (const { path, value } of slaContent ? findGroupRecipientLiterals(parsed) : []) {
|
|
@@ -2008,12 +2091,12 @@ class CaseValidateService {
|
|
|
2008
2091
|
message: `This context's \`resourceKey\` is "${value}", which is ` + `not the key of the connection \`${binding}\` that its ` + "own `connection` entry names. The runtime resolves the " + "connection through this key, so the connector never " + `fires. ${elsewhere === undefined ? "The usual cause is the objectName copied into it. Set it to that binding's resolved connection key." : `That key belongs to \`${elsewhere}\`, so the wrong field may be the \`connection\` entry: decide which connection this context is for, then make both name it. Setting the key from \`${binding}\` without checking repairs this into a plan that is consistently wrong.`}`
|
|
2009
2092
|
});
|
|
2010
2093
|
}
|
|
2011
|
-
for (const { path, name: name2 } of taskContent ? findConnectorTasksWithoutInputs(nodes, parsed.bindings) : []) {
|
|
2094
|
+
for (const { path, name: name2, type } of taskContent ? findConnectorTasksWithoutInputs(nodes, parsed.bindings) : []) {
|
|
2012
2095
|
issues.push({
|
|
2013
2096
|
code: "CASE_MGMT_CONNECTOR_INPUTS_EMPTY",
|
|
2014
2097
|
path,
|
|
2015
2098
|
severity: "error",
|
|
2016
|
-
message: `Connector task "${name2}" has a spliced \`data.context\` ` + "but no inputs. The context comes from the case spec " + "response, so the spec was fetched and read; " + "`data.inputs` is the `CaseShape.Inputs` splice from that " + "same response, and an empty array means that splice was " + "skipped. Nothing else reports it — the shape is " + "internally consistent and every container check has " + "nothing to look at — while the activity runs with no " + "parameters at all. Splice `CaseShape.Inputs` from the
|
|
2099
|
+
message: `Connector task "${name2}" has a spliced \`data.context\` ` + "but no inputs. The context comes from the case spec " + "response, so the spec was fetched and read; " + "`data.inputs` is the `CaseShape.Inputs` splice from that " + "same response, and an empty array means that splice was " + "skipped. Nothing else reports it — the shape is " + "internally consistent and every container check has " + "nothing to look at — while the activity runs with no " + "parameters at all. " + (type === "http-request" ? HTTP_REQUEST_REPAIR : "Splice `CaseShape.Inputs` from the case spec response.")
|
|
2017
2100
|
});
|
|
2018
2101
|
}
|
|
2019
2102
|
for (const { path, name: name2, task } of taskContent ? findDuplicateOutputNames(parsed) : []) {
|
|
@@ -2187,7 +2270,8 @@ Validating: ${absolutePath}
|
|
|
2187
2270
|
const issues = [];
|
|
2188
2271
|
const versionIssues = await this.checkDeclaredVersion(parsed);
|
|
2189
2272
|
issues.push(...versionIssues);
|
|
2190
|
-
|
|
2273
|
+
const legacySpellings = findLegacySpellings(parsed, profile);
|
|
2274
|
+
issues.push(...legacySpellings);
|
|
2191
2275
|
const { validateCaseCanvasJson, validateCaseDiskJsonSchema } = await loadCaseSchemaAsync();
|
|
2192
2276
|
const [diskCallError, diskResultRaw] = catchError(() => validateCaseDiskJsonSchema(parsed));
|
|
2193
2277
|
if (diskCallError) {
|
|
@@ -2255,13 +2339,15 @@ Validating: ${absolutePath}
|
|
|
2255
2339
|
});
|
|
2256
2340
|
}
|
|
2257
2341
|
} else {
|
|
2258
|
-
const {
|
|
2342
|
+
const {
|
|
2343
|
+
diagnoseMigrationFailure,
|
|
2344
|
+
migrationFailureMessage
|
|
2345
|
+
} = await import("./migration-diagnosis-ns5cw4e3.js");
|
|
2259
2346
|
const diagnosis = diagnoseMigrationFailure(parsed, diskResult.migrationError, validateCaseDiskJsonSchema);
|
|
2260
|
-
const explanation = diagnosis === undefined ? "" : diagnosis.typeIsTheBlocker ? ` This document is valid with ${diagnosis.offending.map((type) => `\`${type}\``).join(", ")} written as the legacy \`case-management:*\` name, so the node type is what this schema version rejects — the migration step that rejected it accepts only those four names, and it ran because the document matched an older version.` : diagnosis.remainingError === undefined ? ` The node type is not the only blocker: ${diagnosis.offending.map((type) => `\`${type}\``).join(", ")} could not be mapped to a legacy name to test.` : ` The node type is a symptom, not the cause: with ${diagnosis.offending.map((type) => `\`${type}\``).join(", ")} written as its legacy name the document still fails, on ${diagnosis.remainingError}. Fix that first.`;
|
|
2261
2347
|
issues.push({
|
|
2262
2348
|
code: "CASE_MGMT_MIGRATION_FAILED",
|
|
2263
2349
|
path: "(root)",
|
|
2264
|
-
message:
|
|
2350
|
+
message: migrationFailureMessage(diskResult.migrationError, diagnosis, parseCaseSchemaVersion(parsed.version)?.major, legacySpellings.length),
|
|
2265
2351
|
severity: "error"
|
|
2266
2352
|
});
|
|
2267
2353
|
}
|
|
@@ -2298,7 +2384,7 @@ Validating: ${absolutePath}
|
|
|
2298
2384
|
issues.push(...this.runSupplementalRules(parsed, profile));
|
|
2299
2385
|
}
|
|
2300
2386
|
if (diskResult.valid && profile === "strict") {
|
|
2301
|
-
const { runStrictCaseRules } = await import("./strict-case-rules-
|
|
2387
|
+
const { runStrictCaseRules } = await import("./strict-case-rules-4tjcaznr.js");
|
|
2302
2388
|
issues.push(...runStrictCaseRules(parsed));
|
|
2303
2389
|
issues.push(...await this.checkBindingsSidecar(absolutePath, parsed));
|
|
2304
2390
|
issues.push(...await this.checkEntryPointsSidecar(absolutePath, parsed));
|
|
@@ -2306,7 +2392,7 @@ Validating: ${absolutePath}
|
|
|
2306
2392
|
const sddPath = this.fs.path.resolve(options.sddPath);
|
|
2307
2393
|
if (await this.fs.exists(sddPath)) {
|
|
2308
2394
|
const sddText = await this.fs.readFile(sddPath, "utf-8") ?? "";
|
|
2309
|
-
const { auditCaseplanAgainstSdd } = await import("./strict-sdd-audit-
|
|
2395
|
+
const { auditCaseplanAgainstSdd } = await import("./strict-sdd-audit-q7tb9yj7.js");
|
|
2310
2396
|
issues.push(...auditCaseplanAgainstSdd(parsed, sddText, this.fs.path.basename(sddPath), await findRegistryLedger(this.fs, absolutePath)));
|
|
2311
2397
|
} else {
|
|
2312
2398
|
issues.push({
|
|
@@ -2349,13 +2435,13 @@ Validating: ${absolutePath}
|
|
|
2349
2435
|
if (parseError) {
|
|
2350
2436
|
return unreadable(`is not JSON (${parseError.message})`);
|
|
2351
2437
|
}
|
|
2352
|
-
const { checkEntryPoints } = await import("./strict-entry-points-
|
|
2438
|
+
const { checkEntryPoints } = await import("./strict-entry-points-g2pd4mf4.js");
|
|
2353
2439
|
return checkEntryPoints(document, parsed, this.fs.path.basename(candidate), this.fs.path.basename(casePlanPath));
|
|
2354
2440
|
}
|
|
2355
2441
|
return [];
|
|
2356
2442
|
}
|
|
2357
2443
|
async checkBindingsSidecar(casePlanPath, parsed) {
|
|
2358
|
-
const { compareCaseBindingsV2 } = await import("./case-bindings-service-
|
|
2444
|
+
const { compareCaseBindingsV2 } = await import("./case-bindings-service-cht20gqt.js");
|
|
2359
2445
|
const [error, comparison] = await catchError(compareCaseBindingsV2(casePlanPath, parsed));
|
|
2360
2446
|
if (error || comparison === undefined)
|
|
2361
2447
|
return [];
|
|
@@ -2423,7 +2509,7 @@ Validating: ${absolutePath}
|
|
|
2423
2509
|
];
|
|
2424
2510
|
}
|
|
2425
2511
|
const latestParts = parseCaseSchemaVersion(latest);
|
|
2426
|
-
if (latestParts !== null && compareCaseSchemaVersions(parts, latestParts) > 0) {
|
|
2512
|
+
if (latestParts !== null && compareCaseSchemaVersions(parts, latestParts) > 0 && !isNewerCaseSchemaPatch(parts, latestParts)) {
|
|
2427
2513
|
return [
|
|
2428
2514
|
{
|
|
2429
2515
|
code: "CASE_MGMT_VERSION_NEWER_THAN_SCHEMA",
|
|
@@ -2459,4 +2545,4 @@ export {
|
|
|
2459
2545
|
CaseValidateService
|
|
2460
2546
|
};
|
|
2461
2547
|
|
|
2462
|
-
//# debugId=
|
|
2548
|
+
//# debugId=66B4BFFBE20D244764756E2164756E21
|
package/dist/{connector-enrichment-service-hfv0kwht.js → connector-enrichment-service-crqs2216.js}
RENAMED
|
@@ -13,34 +13,37 @@ import {
|
|
|
13
13
|
normalizeFields,
|
|
14
14
|
parseEntryConfiguration,
|
|
15
15
|
resolveActivityOperation
|
|
16
|
-
} from "./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
16
|
+
} from "./packager-tool-c5q10254.js";
|
|
17
|
+
import"./packager-tool-1pcmxqny.js";
|
|
18
|
+
import"./packager-tool-ydyvtknp.js";
|
|
19
|
+
import"./packager-tool-9sd483vs.js";
|
|
20
|
+
import"./packager-tool-gx2cer6a.js";
|
|
20
21
|
import"./packager-tool-bfgdz1zh.js";
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
25
|
-
import"./packager-tool-
|
|
26
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-29x6vran.js";
|
|
23
|
+
import"./packager-tool-ezds6t5e.js";
|
|
24
|
+
import"./packager-tool-r6b5ktzb.js";
|
|
25
|
+
import"./packager-tool-7hw344bt.js";
|
|
26
|
+
import"./packager-tool-n7w9wx62.js";
|
|
27
|
+
import"./packager-tool-f8vwy92w.js";
|
|
28
|
+
import"./packager-tool-yct6zp4m.js";
|
|
29
|
+
import"./packager-tool-4rtktkhv.js";
|
|
30
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
27
31
|
import"./packager-tool-sc961w0q.js";
|
|
28
|
-
import"./packager-tool-
|
|
29
|
-
import"./packager-tool-hvzjm2nk.js";
|
|
32
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
30
33
|
import"./packager-tool-jysvpt8p.js";
|
|
31
34
|
import"./packager-tool-sq931c23.js";
|
|
32
35
|
import"./packager-tool-mknccck5.js";
|
|
33
|
-
import"./packager-tool-167qap9m.js";
|
|
34
36
|
import"./packager-tool-7nxppa3d.js";
|
|
35
|
-
import"./packager-tool-
|
|
36
|
-
import"./packager-tool-
|
|
37
|
-
import"./packager-tool-
|
|
37
|
+
import"./packager-tool-aagnvyba.js";
|
|
38
|
+
import"./packager-tool-mzf4gmph.js";
|
|
39
|
+
import"./packager-tool-9kf3fqtr.js";
|
|
40
|
+
import"./packager-tool-9e59z4d6.js";
|
|
41
|
+
import"./packager-tool-yn33pw57.js";
|
|
38
42
|
import"./packager-tool-0gctz400.js";
|
|
39
43
|
import"./packager-tool-qa9gftnj.js";
|
|
40
44
|
import"./packager-tool-yc4kw997.js";
|
|
41
|
-
import"./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
43
|
-
import"./packager-tool-xdxr3ync.js";
|
|
45
|
+
import"./packager-tool-83v804p7.js";
|
|
46
|
+
import"./packager-tool-hdxtgckw.js";
|
|
44
47
|
import"./packager-tool-1yh8g550.js";
|
|
45
48
|
export {
|
|
46
49
|
UNSAFE_KEYS,
|
|
@@ -59,4 +62,4 @@ export {
|
|
|
59
62
|
resolveActivityOperation
|
|
60
63
|
};
|
|
61
64
|
|
|
62
|
-
//# debugId=
|
|
65
|
+
//# debugId=C7763EDE41A945A464756E2164756E21
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
fetchConnectorConnections,
|
|
3
3
|
lookupConnectorDisplayName,
|
|
4
4
|
lookupTypeCacheEntry
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
5
|
+
} from "./packager-tool-1pcmxqny.js";
|
|
6
|
+
import"./packager-tool-9sd483vs.js";
|
|
7
|
+
import"./packager-tool-r6b5ktzb.js";
|
|
8
8
|
import"./packager-tool-7nxppa3d.js";
|
|
9
|
-
import"./packager-tool-
|
|
9
|
+
import"./packager-tool-yn33pw57.js";
|
|
10
10
|
import"./packager-tool-0gctz400.js";
|
|
11
11
|
import"./packager-tool-qa9gftnj.js";
|
|
12
12
|
import"./packager-tool-yc4kw997.js";
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
13
|
+
import"./packager-tool-83v804p7.js";
|
|
14
|
+
import"./packager-tool-hdxtgckw.js";
|
|
15
15
|
import"./packager-tool-1yh8g550.js";
|
|
16
16
|
export {
|
|
17
17
|
fetchConnectorConnections,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DESIGNER_CONTEXT_ORDER,
|
|
3
|
+
designerConnectorShape,
|
|
4
|
+
designerShapeConnectorTasks
|
|
5
|
+
} from "./packager-tool-a17g0pj1.js";
|
|
6
|
+
import"./packager-tool-93mdeqay.js";
|
|
7
|
+
import"./packager-tool-1yh8g550.js";
|
|
8
|
+
export {
|
|
9
|
+
DESIGNER_CONTEXT_ORDER,
|
|
10
|
+
designerConnectorShape,
|
|
11
|
+
designerShapeConnectorTasks
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//# debugId=ED6CFC8AB86D023A64756E2164756E21
|