@uipath/case-tool 1.205.0-preview.276 → 1.206.0-preview.279
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 +68 -7
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/{authoring-kqh34zzm.js → authoring-vg90pqrn.js} +488 -213
- package/dist/bindings-v2-1da35xsc.js +27 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-627rrg7z.js} +6 -7
- package/dist/{business-rule-export-ey588rv7.js → business-rule-export-jv60r9jf.js} +3 -7
- package/dist/carry-forward-sfdnta6q.js +52 -0
- package/dist/{case-api-sme7esce.js → case-api-by95rf40.js} +38 -37
- package/dist/{case-bindings-service-cht20gqt.js → case-bindings-service-pp3c9g1e.js} +93 -45
- package/dist/{case-debug-solution-projects-g871p7tg.js → case-debug-solution-projects-zhnn53e5.js} +3 -7
- package/dist/{case-debug-studio-web-service-0b1kwswy.js → case-debug-studio-web-service-fvj41xrq.js} +48 -45
- package/dist/{case-described-io-service-dx1f4nxe.js → case-described-io-service-tsm8r189.js} +33 -15
- package/dist/case-event-trigger-bindings-qbs8ywf5.js +17 -0
- package/dist/{case-format-service-6aew6tqc.js → case-format-service-3sab2297.js} +9 -10
- package/dist/{case-pack-service-pqq8wnfd.js → case-pack-service-txnv711n.js} +47 -42
- package/dist/case-schema-version-cw0h2nrv.js +18 -0
- package/dist/case-shape-reader-xaxmrd40.js +14 -0
- package/dist/{case-splice-service-s5gccctq.js → case-splice-service-6y35w83e.js} +139 -51
- package/dist/{case-validate-service-311sf3ee.js → case-validate-service-4zdx7d2w.js} +234 -170
- package/dist/connector-enrichment-service-mws6z0hw.js +56 -0
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/connector-lookup-service-0t7ydz3t.js +20 -0
- package/dist/connector-task-shape-bgywpbqc.js +13 -0
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-UZI7FJDO-mwvc4cxe.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/debug-service-h4jxbn1r.js +56 -0
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-yzy20n6d.js +254 -0
- package/dist/en-X6T4SP2Y-xm47mf18.js +2752 -0
- package/dist/{enrichment-service-hv7ff88p.js → enrichment-service-wpprec7k.js} +36 -37
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-MX-5RELIXKI-9jhqtddc.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-4UBUTCQA-m1ytpyx2.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
- package/dist/filter-engine-dh9s90gb.js +10 -0
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-63z7w4mh.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/index-21kns9qg.js +10 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/{index-5dxh9z60.js → index-a7y7etmy.js} +6 -5
- package/dist/{index-ekwtgx7y.js → index-ec115v05.js} +309 -287
- package/dist/{connector-task-spec-gjsfdysf.js → index-n4g6qvab.js} +320 -144
- package/dist/index-nj3axvya.js +159 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/index-pg9wmyrf.js +36 -0
- package/dist/index-sgpbvm8j.js +26 -0
- package/dist/index-t0sz0svn.js +35 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -25
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/{init-entry-points-hhpv3e3f.js → init-entry-points-pc128f7z.js} +22 -35
- package/dist/input-reader-9ym8mkbc.js +10 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/known-types-gak9by1w.js +11 -0
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/localSolutionDiscovery-48d1bnkj.js +15 -0
- package/dist/{migration-diagnosis-ns5cw4e3.js → migration-diagnosis-myqqgwj0.js} +1 -4
- package/dist/{node-strategy-v442hwgd.js → node-strategy-2mqzg36t.js} +15 -18
- package/dist/node-sync-service-tr5m22nb.js +56 -0
- package/dist/{out-target-wjgmna0r.js → out-target-eqsttq1k.js} +18 -22
- package/dist/{packager-tool-f8vwy92w.js → packager-tool-0te1tyhf.js} +186 -16
- package/dist/{packager-tool-ydyvtknp.js → packager-tool-0w4fsdzv.js} +44 -20
- package/dist/{packager-tool-8ftat1vn.js → packager-tool-17b466mr.js} +59158 -59666
- package/dist/packager-tool-1nfdj0zm.js +425 -0
- package/dist/packager-tool-1wgav5ma.js +139 -0
- package/dist/{packager-tool-0wwc2phf.js → packager-tool-32792w66.js} +66 -82
- package/dist/{packager-tool-nj4seavy.js → packager-tool-35c9npcy.js} +26 -7
- package/dist/{packager-tool-r0x3qh59.js → packager-tool-388vyja1.js} +185 -29
- package/dist/packager-tool-3m8482sw.js +78 -0
- package/dist/packager-tool-3r23qsca.js +4832 -0
- package/dist/packager-tool-4avchhz8.js +539 -0
- package/dist/{packager-tool-2ns09tvh.js → packager-tool-4wn3b7qp.js} +252 -468
- package/dist/{packager-tool-8wkterdq.js → packager-tool-5jt5rc2g.js} +630 -689
- package/dist/{packager-tool-9kvkzc05.js → packager-tool-5w0gjcck.js} +4 -4
- package/dist/packager-tool-68648y3j.js +6 -0
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-aagnvyba.js → packager-tool-76zhn5pa.js} +131 -432
- package/dist/packager-tool-7x1tmb8a.js +46 -0
- package/dist/{packager-tool-kyrm4e5m.js → packager-tool-9ar5829n.js} +781 -741
- package/dist/{packager-tool-4p11fvf4.js → packager-tool-b2q8m9pq.js} +10 -13
- package/dist/packager-tool-bg3tdpva.js +27 -0
- package/dist/packager-tool-bpkkg4z2.js +295 -0
- package/dist/{packager-tool-yn33pw57.js → packager-tool-dn9d4ywm.js} +246 -225
- package/dist/{packager-tool-kdhey8gz.js → packager-tool-e02jkmrq.js} +41 -29
- package/dist/{packager-tool-sq931c23.js → packager-tool-e1tx5mqg.js} +1 -1
- package/dist/packager-tool-gt3bsmfp.js +1302 -0
- package/dist/packager-tool-gy4yjqhf.js +178 -0
- package/dist/packager-tool-h2ar8xf8.js +222 -0
- package/dist/{packager-tool-v2kcgjbf.js → packager-tool-j6nfje7t.js} +5 -4
- package/dist/packager-tool-kz7zz79p.js +71 -0
- package/dist/{packager-tool-9e59z4d6.js → packager-tool-me8gd22q.js} +82 -83
- package/dist/packager-tool-mk9fmzdy.js +20 -0
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-1a5v21za.js → packager-tool-nd312sma.js} +32 -15
- package/dist/{packager-tool-mqy97y5f.js → packager-tool-p5gs9xqy.js} +14 -14
- package/dist/{packager-tool-83v804p7.js → packager-tool-psmb758n.js} +3108 -2627
- package/dist/packager-tool-q26hncjr.js +13 -0
- package/dist/packager-tool-q9fnx278.js +77 -0
- package/dist/{packager-tool-ezds6t5e.js → packager-tool-s12s1dp6.js} +11 -11
- package/dist/packager-tool-scy94jyb.js +5424 -0
- package/dist/{packager-tool-yn7r7zq2.js → packager-tool-snesn0bt.js} +177 -96
- package/dist/{packager-tool-d8e2mrkq.js → packager-tool-tgehy324.js} +56 -56
- package/dist/{packager-tool-tqn0j6f9.js → packager-tool-v11fx4dk.js} +7 -7
- package/dist/{packager-tool-67vy1fz3.js → packager-tool-v6rkp2ay.js} +24 -92
- package/dist/{packager-tool-9sd483vs.js → packager-tool-vs7gqa4r.js} +15 -15
- package/dist/packager-tool-vyavrbym.js +488 -0
- package/dist/{packager-tool-b098y4a2.js → packager-tool-wbksf242.js} +97 -97
- package/dist/{packager-tool-b5rxh1hk.js → packager-tool-x1f8ypvs.js} +256 -486
- package/dist/{packager-tool-2sn7d8fd.js → packager-tool-x74mmjkw.js} +9 -13
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-a17g0pj1.js → packager-tool-xd1wbvay.js} +10 -8
- package/dist/{packager-tool-1yfw674x.js → packager-tool-xehhk3c3.js} +10 -5
- package/dist/packager-tool-yh8mmj3p.js +123 -0
- package/dist/{packager-tool-hdxtgckw.js → packager-tool-z070caqq.js} +56 -12
- package/dist/{packager-tool-b250k6w4.js → packager-tool-z1fw9a8v.js} +41 -9
- package/dist/{packager-tool-0gctz400.js → packager-tool-z9fmqtm6.js} +4 -4
- package/dist/{packager-tool-mzf4gmph.js → packager-tool-zbx189j3.js} +11 -8
- package/dist/{packager-tool-zf8f9pmm.js → packager-tool-zrbnms9b.js} +3 -4
- package/dist/packager-tool.js +10 -11
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{project-artifacts-bgyyb0dm.js → project-artifacts-q0c0zghw.js} +2 -6
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-67enhx3m.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{resolved-check-aqw7568y.js → resolved-check-dz8eqrf6.js} +2 -3
- package/dist/{resourcesSyncService-0hm54p73.js → resourcesSyncService-sgnkcvpt.js} +81 -141
- package/dist/{ro-GHOBYW2S-mhnqsgaa.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/ru-WBLQ5B2U-bf20yr5y.js +7 -0
- package/dist/{rule-group-members-zje7n3kf.js → rule-group-members-p0nv1rmj.js} +1 -3
- package/dist/rule-type-declaration-s2nxpcfy.js +77 -0
- package/dist/{sdd-convert-service-8jpew7vz.js → sdd-convert-service-ffbx00k6.js} +481 -504
- package/dist/{sdd-lookup-fe900sdb.js → sdd-lookup-sah7wj5j.js} +8 -9
- package/dist/{sdd-resolve-service-qdtmxw9b.js → sdd-resolve-service-6nt10vhq.js} +28 -20
- package/dist/{sdd-resolve-siblings-bxxdy3x7.js → sdd-resolve-siblings-5q28qcw8.js} +11 -14
- package/dist/solution-auth-a1p22hq1.js +11 -0
- package/dist/solution-discovery-r1y550sz.js +33 -0
- package/dist/{strict-case-rules-4tjcaznr.js → strict-case-rules-045kbjvv.js} +16 -28
- package/dist/{strict-entry-points-g2pd4mf4.js → strict-entry-points-40ha9afz.js} +15 -14
- package/dist/strict-sdd-audit-bp7fq2tg.js +26 -0
- package/dist/{task-selector-8bjn35dv.js → task-selector-jt60hdbt.js} +1 -3
- package/dist/{task-type-declaration-7a8fqdvs.js → task-type-declaration-yhczvj05.js} +9 -9
- package/dist/tool.js +18 -24
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-GDTLECMM-k5fhmq13.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/{trigger-enrichment-service-4c6g6may.js → trigger-enrichment-service-r4gmxvka.js} +53 -57
- package/dist/trigger-entry-point-id-751v48qd.js +14 -0
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{zh-CN-I5D7WHBD-sr5h0a98.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
- package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
- package/package.json +2 -2
- package/dist/canvas-notes-86fxx1t8.js +0 -19
- package/dist/case-event-trigger-bindings-g9ftnm4x.js +0 -16
- package/dist/case-schema-version-h820ne16.js +0 -20
- package/dist/case-shape-reader-dsbraetf.js +0 -13
- package/dist/connector-enrichment-service-08tea3m1.js +0 -65
- package/dist/connector-lookup-service-x50n59dg.js +0 -22
- package/dist/connector-task-shape-mpazkf7s.js +0 -14
- package/dist/debug-service-7q98j726.js +0 -59
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/index-8ybf5kqc.js +0 -666
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-n9qvnx4x.js +0 -29
- package/dist/index-ngs0a2he.js +0 -15
- package/dist/index-qvxg2haf.js +0 -282
- package/dist/index-xq6ajhgq.js +0 -157
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/input-reader-c7wz8ra2.js +0 -11
- package/dist/known-types-5b6yrsqn.js +0 -16
- package/dist/localSolutionDiscovery-yyx234ak.js +0 -13
- package/dist/node-sync-service-6jsqx7eg.js +0 -57
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-93mdeqay.js +0 -18
- package/dist/packager-tool-9kf3fqtr.js +0 -23
- package/dist/packager-tool-bfgdz1zh.js +0 -73
- package/dist/packager-tool-e15kqpyh.js +0 -266
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-rk25wp3c.js +0 -28
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-vhx08y8p.js +0 -5365
- package/dist/packager-tool-wekqkmgn.js +0 -265
- package/dist/packager-tool-xz2px32y.js +0 -13189
- package/dist/packager-tool-yc4kw997.js +0 -13
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/solution-auth-30yycqtv.js +0 -14
- package/dist/solution-discovery-e9mamp6w.js +0 -38
- package/dist/strict-sdd-audit-q7tb9yj7.js +0 -25
- package/dist/trigger-entry-point-id-yhqwnkx9.js +0 -15
- /package/dist/{packager-tool-5qp9xza1.js → packager-tool-1c30ttpm.js} +0 -0
- /package/dist/{packager-tool-mknccck5.js → packager-tool-1h7abxw6.js} +0 -0
- /package/dist/{packager-tool-9y1w2wds.js → packager-tool-fcektt1g.js} +0 -0
- /package/dist/{packager-tool-k6jbedyc.js → packager-tool-hcdnc420.js} +0 -0
- /package/dist/{packager-tool-7nxppa3d.js → packager-tool-jv5byaww.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-87y6xw3a.js → packager-tool-nfhtwa72.js} +0 -0
- /package/dist/{packager-tool-cv05dwac.js → packager-tool-p0rdmmvk.js} +0 -0
- /package/dist/{packager-tool-21qfsbxn.js → packager-tool-yaertxsw.js} +0 -0
package/dist/{case-debug-studio-web-service-0b1kwswy.js → case-debug-studio-web-service-fvj41xrq.js}
RENAMED
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./packager-tool-vhx08y8p.js";
|
|
2
|
+
getFileSystem2
|
|
3
|
+
} from "./packager-tool-z070caqq.js";
|
|
5
4
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./packager-tool-67vy1fz3.js";
|
|
5
|
+
logger
|
|
6
|
+
} from "./packager-tool-psmb758n.js";
|
|
9
7
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
casePlanSidecarName,
|
|
13
|
-
entryPointBpmnNames,
|
|
14
|
-
findCasePlanFileName,
|
|
15
|
-
misnamedEntryPointBpmn,
|
|
16
|
-
normalizeEntryPointPath,
|
|
17
|
-
resolveDeclaredFileName
|
|
18
|
-
} from "./packager-tool-e15kqpyh.js";
|
|
19
|
-
import"./packager-tool-yn7r7zq2.js";
|
|
20
|
-
import"./packager-tool-b098y4a2.js";
|
|
8
|
+
uploadAndDebugSolution2
|
|
9
|
+
} from "./packager-tool-me8gd22q.js";
|
|
21
10
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
parseJsonObject,
|
|
12
|
+
resolvePackagedMain,
|
|
13
|
+
readOperateMain
|
|
14
|
+
} from "./packager-tool-snesn0bt.js";
|
|
15
|
+
import"./packager-tool-1wgav5ma.js";
|
|
24
16
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
CasePlanFileNames2,
|
|
18
|
+
casePlanSidecarName2,
|
|
19
|
+
findCasePlanFileName2,
|
|
20
|
+
resolveDeclaredFileName2,
|
|
21
|
+
normalizeEntryPointPath2,
|
|
22
|
+
entryPointBpmnNames2,
|
|
23
|
+
misnamedEntryPointBpmn2,
|
|
24
|
+
buildCasePackageDescriptor2,
|
|
25
|
+
withCasePlanDefaults2
|
|
26
|
+
} from "./packager-tool-4avchhz8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
buildSolutionPackageFromDir2,
|
|
29
|
+
uploadOrOverwriteSolution2
|
|
30
|
+
} from "./packager-tool-gt3bsmfp.js";
|
|
30
31
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
findSolutionFile2,
|
|
33
|
+
updateSolutionFile2
|
|
34
|
+
} from "./packager-tool-v6rkp2ay.js";
|
|
33
35
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./packager-tool-
|
|
36
|
+
loadCaseSchemaAsync
|
|
37
|
+
} from "./packager-tool-zrbnms9b.js";
|
|
36
38
|
|
|
37
39
|
// src/services/case-debug-studio-web-service.ts
|
|
38
40
|
class CaseDebugStudioWebService {
|
|
39
41
|
fs;
|
|
40
42
|
constructor() {
|
|
41
|
-
this.fs =
|
|
43
|
+
this.fs = getFileSystem2();
|
|
42
44
|
}
|
|
43
45
|
async executeProjectViaStudioWeb(projectPath, config, callbacks, pollInterval) {
|
|
44
46
|
const absoluteProjectPath = this.fs.path.resolve(projectPath);
|
|
@@ -60,27 +62,28 @@ class CaseDebugStudioWebService {
|
|
|
60
62
|
if (entryPointsContent === null) {
|
|
61
63
|
throw new Error(`Could not read entry-points.json in ${absoluteProjectPath}`);
|
|
62
64
|
}
|
|
63
|
-
const declared =
|
|
65
|
+
const declared = entryPointBpmnNames2(entryPointsContent);
|
|
64
66
|
if (declared === null) {
|
|
65
67
|
throw new Error(`entry-points.json in ${absoluteProjectPath} could not be read as JSON, so debug cannot check that the BPMN it declares is in the project.`);
|
|
66
68
|
}
|
|
67
69
|
const entryPointsJson = JSON.parse(entryPointsContent);
|
|
68
|
-
const rawEntryPoint = entryPointsJson.entryPoints?.[0]?.filePath ?? "";
|
|
69
|
-
const entryPoint = normalizeEntryPointPath(rawEntryPoint);
|
|
70
70
|
logger.info("Looking for .uipx solution file...");
|
|
71
|
-
const solutionInfo = await
|
|
71
|
+
const solutionInfo = await findSolutionFile2(this.fs, absoluteProjectPath);
|
|
72
72
|
const existingSolutionId = solutionInfo?.solutionId;
|
|
73
73
|
logger.info("Reading case plan file...");
|
|
74
|
-
const casePlanFileName =
|
|
74
|
+
const casePlanFileName = findCasePlanFileName2(await this.fs.readdir(absoluteProjectPath));
|
|
75
75
|
if (!casePlanFileName) {
|
|
76
|
-
throw new Error(`Not a valid case project directory: no case plan in ${absoluteProjectPath}. Expected one of ${
|
|
76
|
+
throw new Error(`Not a valid case project directory: no case plan in ${absoluteProjectPath}. Expected one of ${CasePlanFileNames2.join(", ")}.`);
|
|
77
77
|
}
|
|
78
78
|
const caseJsonPath = this.fs.path.join(absoluteProjectPath, casePlanFileName);
|
|
79
79
|
const caseFileContent = await this.fs.readFile(caseJsonPath, "utf-8");
|
|
80
80
|
if (caseFileContent === null) {
|
|
81
81
|
throw new Error(`Could not read file: ${caseJsonPath}`);
|
|
82
82
|
}
|
|
83
|
-
const sidecarFileName =
|
|
83
|
+
const sidecarFileName = casePlanSidecarName2(casePlanFileName);
|
|
84
|
+
const plan = parseJsonObject(caseFileContent);
|
|
85
|
+
const rawEntryPoint = resolvePackagedMain(withCasePlanDefaults2(entryPointsJson.entryPoints ?? [], plan, casePlanFileName), await readOperateMain(this.fs, absoluteProjectPath));
|
|
86
|
+
const entryPoint = normalizeEntryPointPath2(rawEntryPoint);
|
|
84
87
|
logger.info("Converting case plan to BPMN and case plan JSON...");
|
|
85
88
|
const { serializeCaseDiskJsonToBpmnAndRulesJson } = await loadCaseSchemaAsync();
|
|
86
89
|
const { bpmnXml, rulesJson: casePlanJson } = await serializeCaseDiskJsonToBpmnAndRulesJson(caseFileContent);
|
|
@@ -95,19 +98,19 @@ class CaseDebugStudioWebService {
|
|
|
95
98
|
if (missing.length > 0) {
|
|
96
99
|
throw new Error(`entry-points.json points at ${missing.join(", ")}, which ${absoluteProjectPath} does not hold, so the debug run would fault. Point the entry point at '${sidecarFileName}', or add the missing file.`);
|
|
97
100
|
}
|
|
98
|
-
const misnamed =
|
|
101
|
+
const misnamed = misnamedEntryPointBpmn2(declared, casePlanFileName);
|
|
99
102
|
if (misnamed) {
|
|
100
103
|
throw new Error(`entry-points.json points at '${misnamed}', the sidecar of a case plan this project does not carry. '${casePlanFileName}' compiles to '${sidecarFileName}', so the debug run would resolve a BPMN nothing here produced. Point the entry point at '${sidecarFileName}'.`);
|
|
101
104
|
}
|
|
102
|
-
const entryPointFileName =
|
|
105
|
+
const entryPointFileName = resolveDeclaredFileName2(rawEntryPoint);
|
|
103
106
|
if (!declared.includes(entryPointFileName)) {
|
|
104
|
-
throw new Error(`entry-points.json's
|
|
107
|
+
throw new Error(`entry-points.json's entry point debug starts from resolves to '${entryPointFileName || entryPoint}', which is not a declared .bpmn file this project ships, so the debug run would fault. Mark the entry for '${sidecarFileName}' as default, or make it the first entry.`);
|
|
105
108
|
}
|
|
106
|
-
await this.fs.writeFile(this.fs.path.join(absoluteProjectPath, "package-descriptor.json"), `${JSON.stringify(
|
|
109
|
+
await this.fs.writeFile(this.fs.path.join(absoluteProjectPath, "package-descriptor.json"), `${JSON.stringify(buildCasePackageDescriptor2([...projectFiles]), null, 2)}
|
|
107
110
|
`);
|
|
108
111
|
logger.info("Building solution package from project...");
|
|
109
112
|
const solutionDir = this.fs.path.resolve(absoluteProjectPath, "..");
|
|
110
|
-
const uisPath = await
|
|
113
|
+
const uisPath = await buildSolutionPackageFromDir2(this.fs, solutionDir);
|
|
111
114
|
const apiConfig = {
|
|
112
115
|
baseUrl: config.baseUrl,
|
|
113
116
|
organizationId: config.organizationId,
|
|
@@ -116,14 +119,14 @@ class CaseDebugStudioWebService {
|
|
|
116
119
|
authToken: config.authToken,
|
|
117
120
|
organizationUnitId: config.organizationUnitId
|
|
118
121
|
};
|
|
119
|
-
return
|
|
120
|
-
upload: () =>
|
|
121
|
-
onSolutionId: (id) =>
|
|
122
|
+
return uploadAndDebugSolution2({
|
|
123
|
+
upload: () => uploadOrOverwriteSolution2(apiConfig, config.organizationName, uisPath, existingSolutionId, this.fs),
|
|
124
|
+
onSolutionId: (id) => updateSolutionFile2(this.fs, absoluteProjectPath, id),
|
|
122
125
|
projectName,
|
|
123
126
|
entryPoint,
|
|
124
127
|
projectType: "CaseManagement",
|
|
125
128
|
buildSolutionProjects: async (uploadedProjects, solutionId) => {
|
|
126
|
-
const { caseSolutionProjects } = await import("./case-debug-solution-projects-
|
|
129
|
+
const { caseSolutionProjects } = await import("./case-debug-solution-projects-zhnn53e5.js");
|
|
127
130
|
return caseSolutionProjects(solutionDir, uploadedProjects, solutionId);
|
|
128
131
|
},
|
|
129
132
|
apiConfig,
|
|
@@ -137,4 +140,4 @@ export {
|
|
|
137
140
|
CaseDebugStudioWebService
|
|
138
141
|
};
|
|
139
142
|
|
|
140
|
-
//# debugId=
|
|
143
|
+
//# debugId=3C82667883B1594564756E2164756E21
|
package/dist/{case-described-io-service-dx1f4nxe.js → case-described-io-service-tsm8r189.js}
RENAMED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
readIoRows2
|
|
3
|
+
} from "./packager-tool-xehhk3c3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./packager-tool-
|
|
5
|
+
isExpressionNamespace
|
|
6
|
+
} from "./packager-tool-mk9fmzdy.js";
|
|
7
|
+
import"./packager-tool-h2ar8xf8.js";
|
|
8
|
+
import"./packager-tool-7x1tmb8a.js";
|
|
7
9
|
import {
|
|
8
10
|
RESULT_OUTPUT_SOURCE,
|
|
9
11
|
outputSourceFor
|
|
10
|
-
} from "./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import
|
|
12
|
+
} from "./packager-tool-0w4fsdzv.js";
|
|
13
|
+
import"./packager-tool-z070caqq.js";
|
|
14
|
+
import"./packager-tool-psmb758n.js";
|
|
15
|
+
import {
|
|
16
|
+
NAME_BOUND_TASK_TYPES
|
|
17
|
+
} from "./packager-tool-nfhtwa72.js";
|
|
18
|
+
import"./packager-tool-68648y3j.js";
|
|
14
19
|
|
|
15
20
|
// src/services/case-described-io-service.ts
|
|
16
21
|
var RESOURCE_FIELDS = [
|
|
@@ -50,6 +55,15 @@ var readsAnotherValue = (row, name, taskType) => {
|
|
|
50
55
|
const wanted = outputSourceFor(taskType, name);
|
|
51
56
|
return wanted === RESULT_OUTPUT_SOURCE && carriesValue(row.source) && row.source !== wanted;
|
|
52
57
|
};
|
|
58
|
+
var describedNameOf = (name, direction, byName) => {
|
|
59
|
+
if (byName.has(name))
|
|
60
|
+
return name;
|
|
61
|
+
let end = name.length;
|
|
62
|
+
while (end > 0 && name[end - 1] >= "0" && name[end - 1] <= "9")
|
|
63
|
+
end--;
|
|
64
|
+
const base = name.slice(0, end);
|
|
65
|
+
return direction === "outputs" && base !== name && isExpressionNamespace(base) && byName.has(base) ? base : undefined;
|
|
66
|
+
};
|
|
53
67
|
var mergeRows = (existing, described, elementId, direction, taskType) => {
|
|
54
68
|
const byName = new Map;
|
|
55
69
|
for (const raw of described) {
|
|
@@ -61,18 +75,22 @@ var mergeRows = (existing, described, elementId, direction, taskType) => {
|
|
|
61
75
|
byName.set(name, row);
|
|
62
76
|
}
|
|
63
77
|
const updated = [];
|
|
78
|
+
const matched = new Set;
|
|
64
79
|
const passed = new Set;
|
|
65
80
|
const rows = existing.map((raw) => {
|
|
66
81
|
const row = asRecord(raw);
|
|
67
82
|
const name = typeof row?.name === "string" ? row.name : "";
|
|
68
|
-
const
|
|
69
|
-
|
|
83
|
+
const describedName = describedNameOf(name, direction, byName);
|
|
84
|
+
const source = describedName === undefined ? undefined : byName.get(describedName);
|
|
85
|
+
if (row === undefined || source === undefined || !describedName) {
|
|
70
86
|
return raw;
|
|
71
|
-
|
|
72
|
-
|
|
87
|
+
}
|
|
88
|
+
if (direction === "outputs" && readsAnotherValue(row, describedName, taskType)) {
|
|
89
|
+
passed.add(describedName);
|
|
73
90
|
return raw;
|
|
74
91
|
}
|
|
75
92
|
updated.push(name);
|
|
93
|
+
matched.add(describedName);
|
|
76
94
|
const merged = { ...row };
|
|
77
95
|
for (const field of RESOURCE_FIELDS) {
|
|
78
96
|
if (source[field] !== undefined)
|
|
@@ -98,7 +116,7 @@ var mergeRows = (existing, described, elementId, direction, taskType) => {
|
|
|
98
116
|
merged.elementId = elementId;
|
|
99
117
|
return merged;
|
|
100
118
|
});
|
|
101
|
-
const missed = [...byName.keys()].filter((name) => !
|
|
119
|
+
const missed = [...byName.keys()].filter((name) => !matched.has(name));
|
|
102
120
|
return {
|
|
103
121
|
rows,
|
|
104
122
|
updated,
|
|
@@ -121,7 +139,7 @@ var applyDescribedIo = (document, describeDocument, options) => {
|
|
|
121
139
|
instructions: `A described result belongs on ${[...NAME_BOUND_TASK_TYPES].map((type) => `\`${type}\``).join(", ")}. For a connector task use \`--spec\` with a \`case spec\` result instead.`
|
|
122
140
|
};
|
|
123
141
|
}
|
|
124
|
-
const described =
|
|
142
|
+
const described = readIoRows2(describeDocument);
|
|
125
143
|
if (described === undefined) {
|
|
126
144
|
return {
|
|
127
145
|
message: "This file carries no described inputs or outputs",
|
|
@@ -155,4 +173,4 @@ export {
|
|
|
155
173
|
isDescribedIoFailure
|
|
156
174
|
};
|
|
157
175
|
|
|
158
|
-
//# debugId=
|
|
176
|
+
//# debugId=0537653FD8EC130464756E2164756E21
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
entryPointIdsByNode2,
|
|
3
|
+
readEntryPointIds2,
|
|
4
|
+
deriveEventTriggerResources2
|
|
5
|
+
} from "./packager-tool-gy4yjqhf.js";
|
|
6
|
+
import"./packager-tool-kz7zz79p.js";
|
|
7
|
+
import"./packager-tool-68648y3j.js";
|
|
8
|
+
import"./packager-tool-h2ar8xf8.js";
|
|
9
|
+
import"./packager-tool-psmb758n.js";
|
|
10
|
+
import"./packager-tool-z070caqq.js";
|
|
11
|
+
export {
|
|
12
|
+
deriveEventTriggerResources2 as deriveEventTriggerResources,
|
|
13
|
+
entryPointIdsByNode2 as entryPointIdsByNode,
|
|
14
|
+
readEntryPointIds2 as readEntryPointIds
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//# debugId=E3A6E343695C0F3464756E2164756E21
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
getFileSystem2
|
|
3
|
+
} from "./packager-tool-z070caqq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./packager-tool-
|
|
7
|
-
import"./packager-tool-1yh8g550.js";
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-psmb758n.js";
|
|
8
7
|
|
|
9
8
|
// src/services/case-format-service.ts
|
|
10
9
|
var INDENT = 2;
|
|
@@ -23,7 +22,7 @@ var longestLineOf = (text) => {
|
|
|
23
22
|
return Math.max(longest, current);
|
|
24
23
|
};
|
|
25
24
|
var formatCasePlan = async (filePath) => {
|
|
26
|
-
const fs =
|
|
25
|
+
const fs = getFileSystem2();
|
|
27
26
|
const resolved = fs.path.resolve(filePath);
|
|
28
27
|
if (!await fs.exists(resolved)) {
|
|
29
28
|
return {
|
|
@@ -32,7 +31,7 @@ var formatCasePlan = async (filePath) => {
|
|
|
32
31
|
instructions: "Pass the path to an existing case plan JSON file, for example 'uip maestro case format case.json'."
|
|
33
32
|
};
|
|
34
33
|
}
|
|
35
|
-
const [readError, raw] = await
|
|
34
|
+
const [readError, raw] = await catchError2(fs.readFile(resolved, "utf-8"));
|
|
36
35
|
if (readError || raw == null) {
|
|
37
36
|
return {
|
|
38
37
|
ok: false,
|
|
@@ -40,7 +39,7 @@ var formatCasePlan = async (filePath) => {
|
|
|
40
39
|
instructions: `Verify read permissions on ${resolved}.`
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
|
-
const [parseError, document] =
|
|
42
|
+
const [parseError, document] = catchError2(() => JSON.parse(raw));
|
|
44
43
|
if (parseError) {
|
|
45
44
|
return {
|
|
46
45
|
ok: false,
|
|
@@ -60,7 +59,7 @@ var formatCasePlan = async (filePath) => {
|
|
|
60
59
|
longestLine: longestLineOf(formatted)
|
|
61
60
|
};
|
|
62
61
|
}
|
|
63
|
-
const [writeError] = await
|
|
62
|
+
const [writeError] = await catchError2(fs.writeFile(resolved, formatted));
|
|
64
63
|
if (writeError) {
|
|
65
64
|
return {
|
|
66
65
|
ok: false,
|
|
@@ -81,4 +80,4 @@ export {
|
|
|
81
80
|
formatCasePlan
|
|
82
81
|
};
|
|
83
82
|
|
|
84
|
-
//# debugId=
|
|
83
|
+
//# debugId=3D109190EA3CA49F64756E2164756E21
|
|
@@ -1,38 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
casePlanSidecarName,
|
|
5
|
-
entryPointBpmnNames,
|
|
6
|
-
findCasePlanFileName,
|
|
7
|
-
misnamedEntryPointBpmn,
|
|
8
|
-
resolveDeclaredFileName
|
|
9
|
-
} from "./packager-tool-e15kqpyh.js";
|
|
2
|
+
getFileSystem2
|
|
3
|
+
} from "./packager-tool-z070caqq.js";
|
|
10
4
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
catchError2,
|
|
6
|
+
logger,
|
|
7
|
+
mapPackageMetadataOptions
|
|
8
|
+
} from "./packager-tool-psmb758n.js";
|
|
15
9
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
ensureProjectId,
|
|
11
|
+
applyDefaultEntryPoint,
|
|
12
|
+
NugetPackager
|
|
13
|
+
} from "./packager-tool-snesn0bt.js";
|
|
14
|
+
import"./packager-tool-1wgav5ma.js";
|
|
18
15
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
CasePlanFileNames2,
|
|
17
|
+
casePlanSidecarName2,
|
|
18
|
+
findCasePlanFileName2,
|
|
19
|
+
resolveDeclaredFileName2,
|
|
20
|
+
entryPointBpmnNames2,
|
|
21
|
+
misnamedEntryPointBpmn2,
|
|
22
|
+
stagedMainEntryPoint2,
|
|
23
|
+
stagedMainProblem2,
|
|
24
|
+
buildCasePackageDescriptor2,
|
|
25
|
+
casePlanDefaults2
|
|
26
|
+
} from "./packager-tool-4avchhz8.js";
|
|
21
27
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
mapPackageMetadataOptions
|
|
25
|
-
} from "./packager-tool-83v804p7.js";
|
|
28
|
+
VALID_PACKAGE_NAME_REGEX
|
|
29
|
+
} from "./packager-tool-q9fnx278.js";
|
|
26
30
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./packager-tool-
|
|
29
|
-
import"./packager-tool-1yh8g550.js";
|
|
31
|
+
loadCaseSchemaAsync
|
|
32
|
+
} from "./packager-tool-zrbnms9b.js";
|
|
30
33
|
|
|
31
34
|
// src/services/case-pack-service.ts
|
|
32
35
|
class CasePackService {
|
|
33
36
|
fs;
|
|
34
37
|
constructor() {
|
|
35
|
-
this.fs =
|
|
38
|
+
this.fs = getFileSystem2();
|
|
36
39
|
}
|
|
37
40
|
async execute(projectPath, options) {
|
|
38
41
|
const absoluteProjectPath = this.fs.path.resolve(projectPath);
|
|
@@ -60,6 +63,10 @@ Packing Case project...
|
|
|
60
63
|
await this.fs.mkdir(stagingDir);
|
|
61
64
|
const contentDir = this.fs.path.join(stagingDir, "content");
|
|
62
65
|
await this.fs.copyDirectory(absoluteProjectPath, contentDir);
|
|
66
|
+
await applyDefaultEntryPoint(this.fs, {
|
|
67
|
+
contentFolder: contentDir,
|
|
68
|
+
withDefaults: await casePlanDefaults2(this.fs, contentDir)
|
|
69
|
+
});
|
|
63
70
|
await this.checkEntryPointBpmn(contentDir, casePlanFileName);
|
|
64
71
|
await this.regeneratePackageDescriptor(contentDir);
|
|
65
72
|
const packageId = `${packageName}.case.Case`;
|
|
@@ -78,7 +85,7 @@ Packing Case project...
|
|
|
78
85
|
};
|
|
79
86
|
} finally {
|
|
80
87
|
if (tempDir) {
|
|
81
|
-
await
|
|
88
|
+
await catchError2((async () => {
|
|
82
89
|
if (await this.fs.exists(tempDir)) {
|
|
83
90
|
await this.fs.rm(tempDir);
|
|
84
91
|
}
|
|
@@ -87,15 +94,15 @@ Packing Case project...
|
|
|
87
94
|
}
|
|
88
95
|
}
|
|
89
96
|
async convertCaseToBpmn(projectPath) {
|
|
90
|
-
const casePlanFileName =
|
|
97
|
+
const casePlanFileName = findCasePlanFileName2(await this.fs.readdir(projectPath));
|
|
91
98
|
if (!casePlanFileName) {
|
|
92
|
-
throw new Error(`No case plan in ${projectPath}. Expected one of ${
|
|
99
|
+
throw new Error(`No case plan in ${projectPath}. Expected one of ${CasePlanFileNames2.join(", ")}.`);
|
|
93
100
|
}
|
|
94
101
|
logger.info("Converting case plan to BPMN...");
|
|
95
102
|
const caseContent = String(await this.fs.readFile(this.fs.path.join(projectPath, casePlanFileName), "utf-8"));
|
|
96
103
|
const { serializeCaseDiskJsonToBpmnAndRulesJson } = await loadCaseSchemaAsync();
|
|
97
104
|
const { bpmnXml: bpmn } = await serializeCaseDiskJsonToBpmnAndRulesJson(caseContent);
|
|
98
|
-
const bpmnFilePath = this.fs.path.join(projectPath,
|
|
105
|
+
const bpmnFilePath = this.fs.path.join(projectPath, casePlanSidecarName2(casePlanFileName));
|
|
99
106
|
await this.fs.writeFile(bpmnFilePath, bpmn);
|
|
100
107
|
logger.info(`BPMN file written to ${bpmnFilePath}`);
|
|
101
108
|
return casePlanFileName;
|
|
@@ -106,29 +113,32 @@ Packing Case project...
|
|
|
106
113
|
return;
|
|
107
114
|
}
|
|
108
115
|
const raw = await this.fs.readFile(entryPointsPath, "utf-8");
|
|
109
|
-
const declared = raw ?
|
|
116
|
+
const declared = raw ? entryPointBpmnNames2(String(raw)) : null;
|
|
110
117
|
if (declared === null) {
|
|
111
118
|
throw new Error(`entry-points.json in ${contentPath} could not be read as JSON, so pack cannot check that the BPMN it declares is in the package.`);
|
|
112
119
|
}
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
120
|
+
const operate = await this.fs.readFile(this.fs.path.join(contentPath, "operate.json"), "utf-8");
|
|
121
|
+
const staged = stagedMainEntryPoint2(operate === null ? null : String(operate), String(raw));
|
|
122
|
+
const mainEntry = resolveDeclaredFileName2(staged.filePath);
|
|
123
|
+
if (staged.filePath && !declared.includes(mainEntry)) {
|
|
124
|
+
const own = casePlanSidecarName2(casePlanFileName);
|
|
125
|
+
const wording = stagedMainProblem2(staged, mainEntry, own);
|
|
126
|
+
throw new Error(`${wording.problem}, which is not a declared .bpmn file this project ships, so it would deploy and activate and then fault every job. ${wording.fix}.`);
|
|
117
127
|
}
|
|
118
128
|
const present = new Set(await this.fs.readdir(contentPath));
|
|
119
129
|
const missing = declared.filter((file) => !present.has(file));
|
|
120
130
|
if (missing.length > 0) {
|
|
121
131
|
throw new Error(`entry-points.json points at ${missing.join(", ")}, which the package does not contain, so it would deploy and activate and then fault every job.`);
|
|
122
132
|
}
|
|
123
|
-
const misnamed =
|
|
133
|
+
const misnamed = misnamedEntryPointBpmn2(declared, casePlanFileName);
|
|
124
134
|
if (misnamed) {
|
|
125
|
-
const own =
|
|
135
|
+
const own = casePlanSidecarName2(casePlanFileName);
|
|
126
136
|
throw new Error(`entry-points.json points at '${misnamed}', the sidecar of a case plan this project does not carry. '${casePlanFileName}' compiles to '${own}', so the entry point would resolve to a BPMN pack did not produce. Point it at '${own}'.`);
|
|
127
137
|
}
|
|
128
138
|
}
|
|
129
139
|
async regeneratePackageDescriptor(contentDir) {
|
|
130
140
|
const contentFiles = await this.fs.readdir(contentDir);
|
|
131
|
-
const descriptor =
|
|
141
|
+
const descriptor = buildCasePackageDescriptor2(contentFiles);
|
|
132
142
|
await this.fs.writeFile(this.fs.path.join(contentDir, "package-descriptor.json"), `${JSON.stringify(descriptor, null, 2)}
|
|
133
143
|
`);
|
|
134
144
|
}
|
|
@@ -150,13 +160,8 @@ Packing Case project...
|
|
|
150
160
|
}
|
|
151
161
|
}
|
|
152
162
|
}
|
|
153
|
-
function firstEntryPointFileName(entryPointsJson) {
|
|
154
|
-
const parsed = JSON.parse(entryPointsJson);
|
|
155
|
-
const filePath = parsed.entryPoints?.[0]?.filePath ?? "";
|
|
156
|
-
return resolveDeclaredFileName(filePath);
|
|
157
|
-
}
|
|
158
163
|
export {
|
|
159
164
|
CasePackService
|
|
160
165
|
};
|
|
161
166
|
|
|
162
|
-
//# debugId=
|
|
167
|
+
//# debugId=5D6AA91781A9E2C264756E2164756E21
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MIN_SUPPORTED_MAJOR2,
|
|
3
|
+
resolveCaseSchemaVersion2,
|
|
4
|
+
resolveCaseSchemaWriteVersion2,
|
|
5
|
+
parseCaseSchemaVersion2,
|
|
6
|
+
compareCaseSchemaVersions2,
|
|
7
|
+
isNewerCaseSchemaPatch2
|
|
8
|
+
} from "./packager-tool-p5gs9xqy.js";
|
|
9
|
+
export {
|
|
10
|
+
MIN_SUPPORTED_MAJOR2 as MIN_SUPPORTED_MAJOR,
|
|
11
|
+
compareCaseSchemaVersions2 as compareCaseSchemaVersions,
|
|
12
|
+
isNewerCaseSchemaPatch2 as isNewerCaseSchemaPatch,
|
|
13
|
+
parseCaseSchemaVersion2 as parseCaseSchemaVersion,
|
|
14
|
+
resolveCaseSchemaVersion2 as resolveCaseSchemaVersion,
|
|
15
|
+
resolveCaseSchemaWriteVersion2 as resolveCaseSchemaWriteVersion
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# debugId=EF03266534DE41D664756E2164756E21
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readCaseShape2,
|
|
3
|
+
readSpecFolderKey2,
|
|
4
|
+
readIoRows2,
|
|
5
|
+
readResourceBindings2
|
|
6
|
+
} from "./packager-tool-xehhk3c3.js";
|
|
7
|
+
export {
|
|
8
|
+
readCaseShape2 as readCaseShape,
|
|
9
|
+
readIoRows2 as readIoRows,
|
|
10
|
+
readResourceBindings2 as readResourceBindings,
|
|
11
|
+
readSpecFolderKey2 as readSpecFolderKey
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//# debugId=FBB0F1925199E32264756E2164756E21
|