@uipath/flow-tool 1.205.0-preview.277 → 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/README.md +14 -12
- package/dist/THIRD-PARTY-NOTICES.md +74 -46
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/authoring-x84r2a2j.js +23 -0
- package/dist/binding-service-s0wvr2xm.js +114 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/{connector-service-kdg7mq7z.js → connector-service-r86mtxwn.js} +270 -275
- package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
- package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
- package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
- package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
- package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
- package/dist/debug-http-client-zydr7tna.js +31 -0
- package/dist/debug-service-hdktqeek.js +60 -0
- package/dist/edge-service-zck3s9ss.js +267 -0
- package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
- package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
- package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
- package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
- package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
- package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
- package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
- package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
- package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
- package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
- package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
- package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
- package/dist/{es-4UBUTCQA-t7hsackg.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/flow-api-d4dvmadm.js +38 -0
- package/dist/{flow-debug-service-0xn8fk4a.js → flow-debug-service-hy21ddd9.js} +151 -195
- package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
- package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
- package/dist/{flow-eval-run-service-dcj8p7n7.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-6c0y5a3b.js → flow-eval-service-2j28ect1.js} +57 -81
- package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
- package/dist/flow-init-service-bj3ev9bz.js +26 -0
- package/dist/flow-io-9q6xk473.js +24 -0
- package/dist/{flow-migrate-service-9w8dgydd.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-5s2cthq4.js → flow-pack-service-58m51sp8.js} +79 -103
- package/dist/flow-validate-service-9a3zate4.js +46 -0
- package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
- package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
- package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
- package/dist/{governance-fetcher-mx8gr86x.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-d943rxgm.js → hitl-service-hccqhm63.js} +22 -42
- package/dist/index-4e3w8x62.js +31 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/index-5xh0cjag.js +82 -0
- package/dist/index-7fet3f0s.js +10 -0
- package/dist/index-d4bdedx3.js +32 -0
- package/dist/index-f5kq7265.js +24 -0
- package/dist/index-g2p2ww34.js +39 -0
- package/dist/index-ng011fzs.js +974 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
- package/dist/index-tdwpejt6.js +22 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -28
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/init.js +22 -43
- package/dist/inline-entity-resolver-0neh2b43.js +25 -0
- package/dist/input-reader-zqaep7k7.js +11 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
- package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
- package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
- 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-v9sxcq1c.js +13 -0
- package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
- package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
- package/dist/localization-skqjy9nr.js +45 -0
- package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
- package/dist/{node-5ay0ddfj.js → node-0jy3qx5b.js} +69 -638
- package/dist/node-service-2nxpk751.js +64 -0
- package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
- package/dist/node-sync-service-68vq10je.js +56 -0
- package/dist/packager-tool-14rdgz3c.js +55 -0
- package/dist/packager-tool-1rhch6b5.js +496 -0
- package/dist/packager-tool-21t17xzz.js +5073 -0
- package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
- package/dist/{packager-tool-xf9vf5nj.js → packager-tool-368bft50.js} +11 -11
- package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
- package/dist/packager-tool-4g87fbz6.js +273 -0
- package/dist/packager-tool-4zt1s51a.js +53 -0
- package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
- package/dist/{packager-tool-a5ywkf0w.js → packager-tool-5104bnpv.js} +22 -21
- package/dist/packager-tool-5dgpfh5e.js +1274 -0
- package/dist/packager-tool-5ve5ms3b.js +2393 -0
- package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
- package/dist/{packager-tool-kkwrd05c.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-hgfygxyj.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-v9vpk48j.js → packager-tool-72xwbsmw.js} +441 -556
- package/dist/packager-tool-7atc775f.js +30 -0
- package/dist/packager-tool-7mxn3e7j.js +27 -0
- package/dist/{packager-tool-gpwnzqd9.js → packager-tool-7qtnffkc.js} +8 -7
- package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
- package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
- package/dist/{packager-tool-143kcy6z.js → packager-tool-8n4bdvke.js} +13 -13
- package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
- package/dist/packager-tool-9217bxm2.js +6 -0
- package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
- package/dist/{packager-tool-zjv3f1k3.js → packager-tool-99d2kj94.js} +8 -11
- package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
- package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
- package/dist/{packager-tool-3jkppykr.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-nhrc54tz.js → packager-tool-bbkkxbyq.js} +9 -8
- package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
- package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
- package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
- package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
- package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
- package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
- package/dist/packager-tool-hk0fnvz5.js +14 -0
- package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
- package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
- package/dist/{packager-tool-mgwzjh8c.js → packager-tool-kz3t4raw.js} +490 -246
- package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
- package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
- package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
- package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
- package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
- package/dist/packager-tool-q2kwk5bf.js +57 -0
- package/dist/{packager-tool-z502rf8m.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-vzezw19a.js → packager-tool-ryds9860.js} +33 -36
- package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
- package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
- package/dist/packager-tool-zdqbp34f.js +14 -0
- package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
- package/dist/packager-tool.js +12 -32
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
- package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
- package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
- package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
- package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
- package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
- package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
- package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
- package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
- package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
- package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
- package/dist/services/node-service.d.ts +6 -3
- package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/orchestrator-connection-field.d.ts +24 -0
- package/dist/services/packaging-utils.d.ts +2 -2
- package/dist/services/vars-reference-rule.d.ts +4 -3
- package/dist/solution-auth-j8x84n5z.js +11 -0
- package/dist/solution-discovery-vn4q32bf.js +38 -0
- package/dist/{tidy-service-c3xbcma6.js → tidy-service-m33hhtc7.js} +37 -55
- package/dist/tool.js +18 -27
- package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
- package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
- package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
- package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/utils/container-ports.d.ts +22 -0
- package/dist/utils/handle-expansion.d.ts +57 -3
- package/dist/utils/workflow-file-format.d.ts +14 -0
- package/dist/validation.js +44 -68
- package/dist/{variable-service-s0srgj90.js → variable-service-ea1erf93.js} +28 -49
- package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
- package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
- package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
- package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
- package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
- package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
- package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
- 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/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
- package/package.json +2 -2
- package/dist/authoring-e1k40hyw.js +0 -24
- package/dist/binding-service-v1ejjevw.js +0 -157
- package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
- package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
- package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
- package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
- package/dist/debug-http-client-yqjzsnhw.js +0 -32
- package/dist/debug-service-nra3n02y.js +0 -61
- package/dist/edge-service-vq8cjh0x.js +0 -170
- package/dist/en-E454CJNK-ytfw06kj.js +0 -98
- package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
- package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
- package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
- package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
- package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
- package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
- package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/flow-api-sat010z1.js +0 -42
- package/dist/flow-eval-node-target-b5xwf5gp.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-z6xc9zsz.js +0 -47
- package/dist/flow-io-hf4szx79.js +0 -44
- package/dist/flow-validate-service-3974mcq1.js +0 -70
- package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
- package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
- package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
- package/dist/index-cexznmfe.js +0 -667
- package/dist/index-cg9qhfb1.js +0 -635
- package/dist/index-d090f35d.js +0 -66
- package/dist/index-gxcjq6ns.js +0 -110
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-nsn889vf.js +0 -27
- package/dist/index-sqhbn7ew.js +0 -157
- package/dist/index-wycgq0ff.js +0 -3178
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-23tt0g1j.js +0 -45
- package/dist/input-reader-n7kzdrev.js +0 -12
- package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
- package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
- package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
- package/dist/known-types-r51zxb9g.js +0 -19
- package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
- package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
- package/dist/localization-d6gjmrsw.js +0 -47
- package/dist/maestro-automate-entry-6f9act3w.js +0 -22
- package/dist/node-service-0t16wfqk.js +0 -92
- package/dist/node-sync-service-w84f66pb.js +0 -61
- package/dist/packager-tool-0gctz400.js +0 -17
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-4x7tzvv0.js +0 -1176
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6ejqwbw9.js +0 -26
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-79jnagb9.js +0 -5367
- package/dist/packager-tool-9era57c0.js +0 -28
- package/dist/packager-tool-9jxzgsxc.js +0 -14
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-d6qf5qmb.js +0 -49
- package/dist/packager-tool-dw1bm5y7.js +0 -8809
- package/dist/packager-tool-e3yks66r.js +0 -95
- package/dist/packager-tool-e5hj89zm.js +0 -6
- package/dist/packager-tool-e87tzg4y.js +0 -1937
- package/dist/packager-tool-eypvc2kv.js +0 -23
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-hk1gxnth.js +0 -11
- package/dist/packager-tool-hxyjn885.js +0 -24
- package/dist/packager-tool-j78fwwhq.js +0 -16
- package/dist/packager-tool-jgfzfqjm.js +0 -53
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-m3wkcxf5.js +0 -11
- package/dist/packager-tool-mcaf4ewf.js +0 -46
- package/dist/packager-tool-mgcz986r.js +0 -143
- package/dist/packager-tool-p79yh9ww.js +0 -97
- package/dist/packager-tool-paq9c70w.js +0 -1332
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-qkn0c042.js +0 -1922
- package/dist/packager-tool-qszay16r.js +0 -180
- package/dist/packager-tool-rs6jm14d.js +0 -23
- package/dist/packager-tool-s7wb0s9n.js +0 -6297
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-skcjythd.js +0 -22085
- package/dist/packager-tool-t07ev0jj.js +0 -1083
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/packager-tool-z83pga0z.js +0 -1942
- package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
- package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
- package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
- package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
- package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
- package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
- package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/shared-utils-tqnx96mg.js +0 -21
- package/dist/solution-auth-8qz5pw7z.js +0 -14
- package/dist/solution-discovery-6t0z143v.js +0 -44
- package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
- package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
- package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
- package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
- package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
- package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
- /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
- /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
- /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
- /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
- /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
- /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
- /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
stripJsonStringGuard,
|
|
6
|
+
validateIntSvcNode
|
|
7
|
+
} from "./packager-tool-kz3t4raw.js";
|
|
7
8
|
|
|
8
9
|
// src/services/connector-node-types.ts
|
|
9
10
|
function isConnectorTriggerType(nodeType) {
|
|
@@ -17,7 +18,7 @@ function isEventDrivenConnectorType(nodeType) {
|
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
// src/services/node-validators/connector-validator.ts
|
|
20
|
-
var
|
|
21
|
+
var connectorNodeValidator2 = {
|
|
21
22
|
id: "uipath-connector",
|
|
22
23
|
appliesTo: (node) => node.type?.startsWith("uipath.connector") ?? false,
|
|
23
24
|
validate: (node) => {
|
|
@@ -76,7 +77,7 @@ function readEssentialConfiguration(detail) {
|
|
|
76
77
|
const configuration = detail.configuration;
|
|
77
78
|
if (typeof configuration !== "string")
|
|
78
79
|
return;
|
|
79
|
-
const [, parsed] =
|
|
80
|
+
const [, parsed] = catchError2(() => JSON.parse(stripJsonStringGuard(configuration)));
|
|
80
81
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
81
82
|
return;
|
|
82
83
|
}
|
|
@@ -256,6 +257,6 @@ var crossNodeBindingValidator = {
|
|
|
256
257
|
}
|
|
257
258
|
};
|
|
258
259
|
|
|
259
|
-
export { isConnectorTriggerType, isConnectorWaitForEventType, isEventDrivenConnectorType,
|
|
260
|
+
export { isConnectorTriggerType, isConnectorWaitForEventType, isEventDrivenConnectorType, connectorNodeValidator2, readEssentialConfiguration, scanDetailForCrossNodeBindings, crossNodeBindingValidator };
|
|
260
261
|
|
|
261
|
-
//# debugId=
|
|
262
|
+
//# debugId=887FCC1A025427FB64756E2164756E21
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ootbNodes,
|
|
3
3
|
inlineAgentNodes,
|
|
4
|
-
|
|
5
|
-
} from "./packager-tool-
|
|
4
|
+
buildExtractDocumentBuilderNode
|
|
5
|
+
} from "./packager-tool-gdpw0daf.js";
|
|
6
6
|
|
|
7
7
|
// ../maestro-sdk/src/registry/known-types.ts
|
|
8
8
|
var KNOWN_SDK_NODES = [
|
|
@@ -11,15 +11,15 @@ var KNOWN_SDK_NODES = [
|
|
|
11
11
|
buildExtractDocumentBuilderNode()
|
|
12
12
|
];
|
|
13
13
|
var KNOWN_SDK_NODE_TYPES = new Set(KNOWN_SDK_NODES.map((n) => n.nodeType.toLowerCase()).filter((t) => typeof t === "string" && t.length > 0));
|
|
14
|
-
function
|
|
14
|
+
function isKnownSdkNodeType2(nodeType) {
|
|
15
15
|
if (typeof nodeType !== "string" || nodeType.length === 0)
|
|
16
16
|
return false;
|
|
17
17
|
return KNOWN_SDK_NODE_TYPES.has(nodeType.toLowerCase());
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function listKnownSdkNodes2() {
|
|
20
20
|
return KNOWN_SDK_NODES.slice();
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { isKnownSdkNodeType2, listKnownSdkNodes2 };
|
|
24
24
|
|
|
25
|
-
//# debugId=
|
|
25
|
+
//# debugId=AA44820AC8C7293D64756E2164756E21
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./packager-tool-
|
|
5
|
+
isRecord,
|
|
6
|
+
ensureDirectory
|
|
7
|
+
} from "./packager-tool-ac6rvny7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./packager-tool-
|
|
9
|
+
resolveEntryPointNodeId
|
|
10
|
+
} from "./packager-tool-q0f1dvtd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./packager-tool-
|
|
12
|
+
readUipxFile2
|
|
13
|
+
} from "./packager-tool-em4ppegs.js";
|
|
14
14
|
|
|
15
15
|
// src/services/flow-eval-paths.ts
|
|
16
16
|
function readWorkflowId(flowContent) {
|
|
17
|
-
const [parseError, parsed] =
|
|
17
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(flowContent));
|
|
18
18
|
if (parseError) {
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
@@ -60,15 +60,15 @@ class FlowEvalPathResolver {
|
|
|
60
60
|
if (!await this.fs.exists(absolutePath)) {
|
|
61
61
|
throw new Error(`Path ${absolutePath} does not exist. Provide --path pointing to a Flow project directory or solution directory.`);
|
|
62
62
|
}
|
|
63
|
-
const [statError, stat] = await
|
|
63
|
+
const [statError, stat] = await catchError2(this.fs.stat(absolutePath));
|
|
64
64
|
if (statError || !stat?.isDirectory()) {
|
|
65
65
|
throw new Error(`Path ${absolutePath} is not a directory. Provide --path pointing to a Flow project directory or solution directory.`);
|
|
66
66
|
}
|
|
67
|
-
const [flowFileError] = await
|
|
67
|
+
const [flowFileError] = await catchError2(this.findFlowFile(absolutePath));
|
|
68
68
|
if (!flowFileError) {
|
|
69
69
|
return absolutePath;
|
|
70
70
|
}
|
|
71
|
-
const [uipxError, uipxResult] = await
|
|
71
|
+
const [uipxError, uipxResult] = await catchError2(readUipxFile2(this.fs, absolutePath));
|
|
72
72
|
if (uipxError || !uipxResult) {
|
|
73
73
|
return absolutePath;
|
|
74
74
|
}
|
|
@@ -83,11 +83,11 @@ class FlowEvalPathResolver {
|
|
|
83
83
|
return flowProjectPaths[0];
|
|
84
84
|
}
|
|
85
85
|
async resolveWorkflowScopedEvalRoot(projectPath) {
|
|
86
|
-
const [flowFileError, flowFilePath] = await
|
|
86
|
+
const [flowFileError, flowFilePath] = await catchError2(this.findFlowFile(projectPath));
|
|
87
87
|
if (flowFileError) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
const [readError, flowContent] = await
|
|
90
|
+
const [readError, flowContent] = await catchError2(this.fs.readFile(flowFilePath, "utf-8"));
|
|
91
91
|
if (readError) {
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
@@ -117,15 +117,15 @@ class FlowEvalPathResolver {
|
|
|
117
117
|
throw new Error(`No .flow file found in ${projectPath}.`);
|
|
118
118
|
}
|
|
119
119
|
async readDefaultEntryPointNodeId(projectPath) {
|
|
120
|
-
const [findError, flowFilePath] = await
|
|
120
|
+
const [findError, flowFilePath] = await catchError2(this.findFlowFile(projectPath));
|
|
121
121
|
if (findError || !flowFilePath) {
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
|
-
const [readError, content] = await
|
|
124
|
+
const [readError, content] = await catchError2(this.fs.readFile(flowFilePath, "utf-8"));
|
|
125
125
|
if (readError) {
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
const [parseError, nodeId] =
|
|
128
|
+
const [parseError, nodeId] = catchError2(() => readStartNodeId(String(content)));
|
|
129
129
|
if (parseError) {
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
@@ -141,4 +141,4 @@ function readStartNodeId(flowContent) {
|
|
|
141
141
|
}
|
|
142
142
|
export { readWorkflowId, FlowEvalPathResolver, readStartNodeId };
|
|
143
143
|
|
|
144
|
-
//# debugId=
|
|
144
|
+
//# debugId=8608CE51B14B95F364756E2164756E21
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
1
4
|
import {
|
|
2
5
|
logger,
|
|
3
6
|
quoteForShell,
|
|
4
7
|
unsupportedSolutionProjectType
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import {
|
|
7
|
-
catchError
|
|
8
|
-
} from "./packager-tool-t7ahhaer.js";
|
|
8
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
9
9
|
|
|
10
10
|
// ../solution-sdk/src/solution-file.ts
|
|
11
11
|
var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
|
|
@@ -17,7 +17,7 @@ function normalizeProjectType(projectType) {
|
|
|
17
17
|
function toPortableRelativePath(relativePath) {
|
|
18
18
|
return relativePath.replace(/\\/g, "/");
|
|
19
19
|
}
|
|
20
|
-
async function
|
|
20
|
+
async function readUipxFile2(fs, solutionDir) {
|
|
21
21
|
const dirEntries = await fs.readdir(solutionDir);
|
|
22
22
|
const uipxFileName = dirEntries.find((f) => f.endsWith(".uipx"));
|
|
23
23
|
if (!uipxFileName) {
|
|
@@ -27,7 +27,7 @@ async function readUipxFile(fs, solutionDir) {
|
|
|
27
27
|
if (!uipxContent) {
|
|
28
28
|
throw new Error(`Could not read .uipx file: ${uipxFileName} is empty or missing.`);
|
|
29
29
|
}
|
|
30
|
-
const [parseError, parsed] =
|
|
30
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(uipxContent));
|
|
31
31
|
if (parseError) {
|
|
32
32
|
throw new Error(`Invalid .uipx file: could not parse JSON in ${uipxFileName}.`);
|
|
33
33
|
}
|
|
@@ -98,12 +98,12 @@ async function autoScaffoldSolution(fs, baseDir, projectName) {
|
|
|
98
98
|
SolutionFile: solutionFile
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
async function
|
|
101
|
+
async function prepareProjectLocation2(fs, candidateProjectDir, projectName, options = {}) {
|
|
102
102
|
const resolved = fs.path.resolve(candidateProjectDir);
|
|
103
103
|
if (options.skipRegistration) {
|
|
104
104
|
return { projectDir: resolved };
|
|
105
105
|
}
|
|
106
|
-
const discovery = await
|
|
106
|
+
const discovery = await findNearestParentUipxFile2(fs, resolved);
|
|
107
107
|
if (discovery.status !== "notFound") {
|
|
108
108
|
return { projectDir: resolved };
|
|
109
109
|
}
|
|
@@ -114,45 +114,38 @@ async function prepareProjectLocation(fs, candidateProjectDir, projectName, opti
|
|
|
114
114
|
return { projectDir, autoCreatedSolution };
|
|
115
115
|
}
|
|
116
116
|
async function warnIfCandidateDirShadowed(fs, candidateDir, projectDir) {
|
|
117
|
-
const [, exists] = await
|
|
117
|
+
const [, exists] = await catchError2(fs.exists(candidateDir));
|
|
118
118
|
if (!exists) {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
|
-
const [, entries] = await
|
|
121
|
+
const [, entries] = await catchError2(fs.readdir(candidateDir));
|
|
122
122
|
if (!entries || entries.length === 0) {
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
125
|
logger.warn(`An existing directory "${candidateDir}" was left untouched. ` + `The project was created inside the auto-created solution at "${projectDir}". ` + "Run init from inside an existing solution, or pass --skip-solution-registration, if you meant to use the existing directory.");
|
|
126
126
|
}
|
|
127
|
-
function resolveSolutionDir(fs, inputPath) {
|
|
128
|
-
const resolved = fs.path.resolve(inputPath);
|
|
129
|
-
if (resolved.endsWith(".uipx")) {
|
|
130
|
-
return fs.path.dirname(resolved);
|
|
131
|
-
}
|
|
132
|
-
return resolved;
|
|
133
|
-
}
|
|
134
127
|
async function updateUipxSolutionId(fs, uipxPath, newSolutionId) {
|
|
135
|
-
const [readError, content] = await
|
|
128
|
+
const [readError, content] = await catchError2(fs.readFile(uipxPath, "utf-8"));
|
|
136
129
|
if (readError || !content) {
|
|
137
130
|
logger.error(`Could not read .uipx file for update: ${readError?.message ?? "empty file"}`);
|
|
138
131
|
return;
|
|
139
132
|
}
|
|
140
|
-
const [parseError, parsed] =
|
|
133
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(content));
|
|
141
134
|
if (parseError) {
|
|
142
135
|
logger.error(`Could not parse .uipx file for update: ${parseError.message}`);
|
|
143
136
|
return;
|
|
144
137
|
}
|
|
145
138
|
parsed.SolutionId = newSolutionId;
|
|
146
|
-
const [writeError] = await
|
|
139
|
+
const [writeError] = await catchError2(fs.writeFile(uipxPath, JSON.stringify(parsed, null, 4)));
|
|
147
140
|
if (writeError) {
|
|
148
141
|
logger.error(`Could not update .uipx with new SolutionId: ${writeError.message}`);
|
|
149
142
|
} else {
|
|
150
143
|
logger.info(`Updated .uipx with Studio Web SolutionId: ${newSolutionId}`);
|
|
151
144
|
}
|
|
152
145
|
}
|
|
153
|
-
async function
|
|
146
|
+
async function findSolutionFile2(fs, projectPath) {
|
|
154
147
|
const parentDir = fs.path.resolve(projectPath, "..");
|
|
155
|
-
const [dirError, entries] = await
|
|
148
|
+
const [dirError, entries] = await catchError2(fs.readdir(parentDir));
|
|
156
149
|
if (dirError) {
|
|
157
150
|
logger.error(`Could not read parent directory for .uipx file: ${dirError.message}`);
|
|
158
151
|
return;
|
|
@@ -163,12 +156,12 @@ async function findSolutionFile(fs, projectPath) {
|
|
|
163
156
|
return;
|
|
164
157
|
}
|
|
165
158
|
const uipxPath = fs.path.join(parentDir, uipxFile);
|
|
166
|
-
const [readError, content] = await
|
|
159
|
+
const [readError, content] = await catchError2(fs.readFile(uipxPath, "utf-8"));
|
|
167
160
|
if (readError || content === null) {
|
|
168
161
|
logger.error(`Could not read .uipx file: ${readError?.message ?? "file returned null"}`);
|
|
169
162
|
return;
|
|
170
163
|
}
|
|
171
|
-
const [parseError, parsed] =
|
|
164
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(content));
|
|
172
165
|
if (parseError) {
|
|
173
166
|
logger.error(`Could not parse .uipx file: ${parseError.message}`);
|
|
174
167
|
return;
|
|
@@ -185,9 +178,9 @@ async function findSolutionFile(fs, projectPath) {
|
|
|
185
178
|
projectId: projectId ?? crypto.randomUUID()
|
|
186
179
|
};
|
|
187
180
|
}
|
|
188
|
-
async function
|
|
181
|
+
async function updateSolutionFile2(fs, projectPath, newSolutionId) {
|
|
189
182
|
const parentDir = fs.path.resolve(projectPath, "..");
|
|
190
|
-
const [dirError, entries] = await
|
|
183
|
+
const [dirError, entries] = await catchError2(fs.readdir(parentDir));
|
|
191
184
|
if (dirError)
|
|
192
185
|
return;
|
|
193
186
|
const uipxFile = entries.find((entry) => entry.endsWith(".uipx"));
|
|
@@ -196,7 +189,7 @@ async function updateSolutionFile(fs, projectPath, newSolutionId) {
|
|
|
196
189
|
const uipxPath = fs.path.join(parentDir, uipxFile);
|
|
197
190
|
await updateUipxSolutionId(fs, uipxPath, newSolutionId);
|
|
198
191
|
}
|
|
199
|
-
async function
|
|
192
|
+
async function tryRegisterProjectInParentSolution2(fs, projectDir, options) {
|
|
200
193
|
if (options?.skipRegistration) {
|
|
201
194
|
return {
|
|
202
195
|
Status: "OptedOut",
|
|
@@ -204,7 +197,7 @@ async function tryRegisterProjectInParentSolution(fs, projectDir, options) {
|
|
|
204
197
|
Instructions: buildOptedOutInstructions(fs.path.resolve(projectDir))
|
|
205
198
|
};
|
|
206
199
|
}
|
|
207
|
-
const [registrationError, registration] = await
|
|
200
|
+
const [registrationError, registration] = await catchError2(registerProjectInParentSolution(fs, projectDir));
|
|
208
201
|
if (registrationError) {
|
|
209
202
|
return {
|
|
210
203
|
Status: "Failed",
|
|
@@ -216,7 +209,7 @@ async function tryRegisterProjectInParentSolution(fs, projectDir, options) {
|
|
|
216
209
|
}
|
|
217
210
|
async function registerProjectInParentSolution(fs, projectDir) {
|
|
218
211
|
const resolvedProjectDir = fs.path.resolve(projectDir);
|
|
219
|
-
const discovery = await
|
|
212
|
+
const discovery = await findNearestParentUipxFile2(fs, resolvedProjectDir);
|
|
220
213
|
if (discovery.status === "notFound") {
|
|
221
214
|
return {
|
|
222
215
|
Status: "NotInSolution",
|
|
@@ -268,7 +261,7 @@ async function registerProjectInParentSolution(fs, projectDir) {
|
|
|
268
261
|
};
|
|
269
262
|
}
|
|
270
263
|
const projectRelativePath = toPortableRelativePath(fs.path.join(relativeProjectDir, projectFile.fileName));
|
|
271
|
-
const [solutionError, solution] = await
|
|
264
|
+
const [solutionError, solution] = await readSolutionManifest2(fs, solutionFile);
|
|
272
265
|
if (solutionError) {
|
|
273
266
|
return {
|
|
274
267
|
Status: "Failed",
|
|
@@ -296,7 +289,7 @@ async function registerProjectInParentSolution(fs, projectDir) {
|
|
|
296
289
|
Id: projectId
|
|
297
290
|
});
|
|
298
291
|
solution.content.Projects = solution.projects;
|
|
299
|
-
const [writeError] = await
|
|
292
|
+
const [writeError] = await catchError2(fs.writeFile(solutionFile, `${JSON.stringify(solution.content, null, 2)}
|
|
300
293
|
`));
|
|
301
294
|
if (writeError) {
|
|
302
295
|
return {
|
|
@@ -316,10 +309,10 @@ async function registerProjectInParentSolution(fs, projectDir) {
|
|
|
316
309
|
Instructions: buildRegistrationSuccessInstructions(solutionDir)
|
|
317
310
|
};
|
|
318
311
|
}
|
|
319
|
-
async function
|
|
312
|
+
async function findNearestParentUipxFile2(fs, projectDir) {
|
|
320
313
|
let currentDir = fs.path.dirname(fs.path.resolve(projectDir));
|
|
321
314
|
while (true) {
|
|
322
|
-
const [readDirError, entries] = await
|
|
315
|
+
const [readDirError, entries] = await catchError2(fs.readdir(currentDir));
|
|
323
316
|
if (readDirError) {
|
|
324
317
|
return {
|
|
325
318
|
status: "skipped",
|
|
@@ -384,11 +377,11 @@ async function findProjectFile(fs, projectDir) {
|
|
|
384
377
|
];
|
|
385
378
|
}
|
|
386
379
|
async function readProjectManifest(fs, filePath, useProjectJson) {
|
|
387
|
-
const [readError, rawContent] = await
|
|
380
|
+
const [readError, rawContent] = await catchError2(fs.readFile(filePath, "utf-8"));
|
|
388
381
|
if (readError || !rawContent) {
|
|
389
382
|
return [readError ?? new Error(`Unable to read ${filePath}.`), null];
|
|
390
383
|
}
|
|
391
|
-
const [parseError, parsed] =
|
|
384
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(rawContent));
|
|
392
385
|
if (parseError) {
|
|
393
386
|
return [
|
|
394
387
|
new Error(`Invalid JSON in project file: ${parseError.message}`),
|
|
@@ -411,15 +404,15 @@ async function readProjectManifest(fs, filePath, useProjectJson) {
|
|
|
411
404
|
}
|
|
412
405
|
];
|
|
413
406
|
}
|
|
414
|
-
async function
|
|
415
|
-
const [readError, rawContent] = await
|
|
407
|
+
async function readSolutionManifest2(fs, solutionFile) {
|
|
408
|
+
const [readError, rawContent] = await catchError2(fs.readFile(solutionFile, "utf-8"));
|
|
416
409
|
if (readError || !rawContent) {
|
|
417
410
|
return [
|
|
418
411
|
readError ?? new Error(`Unable to read solution file: ${solutionFile}`),
|
|
419
412
|
null
|
|
420
413
|
];
|
|
421
414
|
}
|
|
422
|
-
const [parseError, parsed] =
|
|
415
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(rawContent));
|
|
423
416
|
if (parseError) {
|
|
424
417
|
return [
|
|
425
418
|
new Error(`Invalid JSON in solution file: ${parseError.message}`),
|
|
@@ -496,8 +489,8 @@ function buildOptedOutInstructions(projectDir) {
|
|
|
496
489
|
].join(`
|
|
497
490
|
`);
|
|
498
491
|
}
|
|
499
|
-
async function
|
|
500
|
-
const [readErr, manifest] = await
|
|
492
|
+
async function isProjectRegisteredInSolution2(fs, projectDir, solutionFile) {
|
|
493
|
+
const [readErr, manifest] = await readSolutionManifest2(fs, solutionFile);
|
|
501
494
|
if (readErr) {
|
|
502
495
|
throw readErr;
|
|
503
496
|
}
|
|
@@ -516,7 +509,7 @@ async function isProjectRegisteredInSolution(fs, projectDir, solutionFile) {
|
|
|
516
509
|
return false;
|
|
517
510
|
}
|
|
518
511
|
async function canonicalizePath(fs, p) {
|
|
519
|
-
const [err, real] = await
|
|
512
|
+
const [err, real] = await catchError2(fs.realpath(p));
|
|
520
513
|
return err || !real ? p : real;
|
|
521
514
|
}
|
|
522
515
|
async function findSolutionFileUpward(fs, startDir) {
|
|
@@ -538,6 +531,6 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
538
531
|
}
|
|
539
532
|
}
|
|
540
533
|
|
|
541
|
-
export { normalizeProjectType, toPortableRelativePath,
|
|
534
|
+
export { normalizeProjectType, toPortableRelativePath, readUipxFile2, prepareProjectLocation2, findSolutionFile2, updateSolutionFile2, tryRegisterProjectInParentSolution2, findNearestParentUipxFile2, readSolutionManifest2, isProjectRegisteredInSolution2, findSolutionFileUpward };
|
|
542
535
|
|
|
543
|
-
//# debugId=
|
|
536
|
+
//# debugId=82B61A0F512E804464756E2164756E21
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
UI_ONLY_NODE_TYPES2
|
|
3
|
+
} from "./packager-tool-9217bxm2.js";
|
|
4
4
|
|
|
5
5
|
// src/services/preview-id-rule.ts
|
|
6
6
|
function previewIdIssues(graph) {
|
|
7
7
|
const issues = [];
|
|
8
8
|
for (const node of graph.nodes ?? []) {
|
|
9
|
-
if (
|
|
9
|
+
if (UI_ONLY_NODE_TYPES2.has(node.type ?? ""))
|
|
10
10
|
continue;
|
|
11
11
|
if (node.id.startsWith("preview")) {
|
|
12
12
|
issues.push({
|
|
@@ -47,4 +47,4 @@ function assertNoPreviewIds(workflow) {
|
|
|
47
47
|
|
|
48
48
|
export { previewIdIssues, assertNoPreviewIds };
|
|
49
49
|
|
|
50
|
-
//# debugId=
|
|
50
|
+
//# debugId=34B980A977180DF664756E2164756E21
|