@uipath/maestro-tool 1.202.1 → 1.202.2-preview.167
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 +458 -6
- package/dist/{authoring-p4w2zfvc.js → authoring-61hqf5em.js} +3 -3
- package/dist/{authoring-k357kqhs.js → authoring-6r3wx3fa.js} +3 -3
- package/dist/{authoring-y3ryfdt0.js → authoring-818595dq.js} +3 -3
- package/dist/{binding-service-mys9xgtq.js → binding-service-nf8s60kw.js} +26 -26
- package/dist/{bpmn-branch-2ebce3qk.js → bpmn-branch-axw0gebf.js} +28 -28
- package/dist/{bpmn-format-service-g3k5n1c6.js → bpmn-format-service-r67afbny.js} +2 -2
- package/dist/{bpmn-refresh-service-56cah1yc.js → bpmn-refresh-service-ew545y06.js} +2 -2
- package/dist/{bpmn-update-metadata-service-zrpe3te9.js → bpmn-update-metadata-service-jhahhjab.js} +2 -2
- package/dist/{bpmn-validate-service-ye7g6xqv.js → bpmn-validate-service-6z2dj8ac.js} +2 -2
- package/dist/{case-api-04304252.js → case-api-4mstfkzf.js} +3 -3
- package/dist/{case-debug-studio-web-service-k3hb3zzf.js → case-debug-studio-web-service-kej9yvnm.js} +5 -5
- package/dist/{case-pack-service-jvtttcen.js → case-pack-service-v7wtb0qt.js} +1 -1
- package/dist/{case-validate-service-tc5fkzzn.js → case-validate-service-mxw0fvb6.js} +2 -2
- package/dist/{connector-enrichment-service-eqmw407z.js → connector-enrichment-service-sfej22vp.js} +21 -21
- package/dist/{connector-lookup-service-r4wtr37y.js → connector-lookup-service-754r8zyj.js} +4 -4
- package/dist/{connector-service-3bgm62za.js → connector-service-34e5sww9.js} +25 -25
- package/dist/{connector-task-spec-719etyhq.js → connector-task-spec-445ht34h.js} +21 -21
- package/dist/{conversion-QANACVCM-vmngxta7.js → conversion-FQTRFHRX-03xh3xbp.js} +208 -125
- package/dist/{de-6U7ECGHH-xwsw33fk.js → de-B3EKCNFC-zdwybhh7.js} +7 -4
- package/dist/{de-7XQXX2DK-IDWR6CAR-n4z245kt.js → de-FGHEJRCI-PK6WALXW-0dnvnmke.js} +153 -9
- package/dist/{de-7XQXX2DK-tqdy5n2b.js → de-FGHEJRCI-rv513mfh.js} +153 -9
- package/dist/{de-5KVP66U6-1bnf4zt5.js → de-MUJPA4EB-209jpeqe.js} +14 -2
- package/dist/{de-HKTOVV4H-pe9w0xn8.js → de-VMMG2MN7-2ecwpg1b.js} +2 -5
- package/dist/{de-XLT4QPIP-kj81dxjc.js → de-XNTCMP5Z-xfkfqg20.js} +7 -4
- package/dist/{debug-conversation-trigger-4wwf0q8y.js → debug-conversation-trigger-hg29g110.js} +13 -13
- package/dist/{debug-http-client-mad6ks68.js → debug-http-client-c4teyma3.js} +2 -2
- package/dist/{debug-service-wgp53msz.js → debug-service-m5jdyz3q.js} +3 -3
- package/dist/{edge-service-xn2a6p72.js → edge-service-y7s1gej8.js} +12 -12
- package/dist/en-BPJVY3U7-xkpj5xc5.js +52 -0
- package/dist/{en-P4AS26D7-zptp77bm.js → en-E454CJNK-ytfw06kj.js} +4 -2
- package/dist/{en-X3S6IZ5J-nhkg6pwn.js → en-GN2ZGWUE-03z2df4k.js} +26 -2
- package/dist/{en-5ZGC5VQ3-EWX7ILY7-rmtj70fk.js → en-TBNO2WUV-77KTKLDE-4ktf0pqw.js} +141 -3
- package/dist/{en-5ZGC5VQ3-h581y30k.js → en-TBNO2WUV-rfe87pgh.js} +140 -2
- package/dist/{enrichment-service-j7wtzbrp.js → enrichment-service-a65qt7y1.js} +3 -3
- package/dist/{es-VFPNVMP5-bx2c337j.js → es-7SE7HX2X-qda7whn6.js} +14 -2
- package/dist/{es-NQICVYSQ-3dtqgget.js → es-EKHIPSW6-ya88nvm0.js} +7 -4
- package/dist/{es-PQ3RA33Q-y4kxhjfr.js → es-KEBF3AIM-g5rszh8f.js} +7 -4
- package/dist/{es-ZGCPPOME-8gazspjj.js → es-KR3ZSNMP-84zphx0x.js} +153 -9
- package/dist/{es-ZGCPPOME-24PJEGPV-rn86z9kn.js → es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js} +153 -9
- package/dist/{es-MX-XAVLOQW3-q00km2y7.js → es-MX-2MYFZU7X-6v0q5rbn.js} +14 -2
- package/dist/{es-MX-NHTIP5YM-ar6zfx95.js → es-MX-EL3CDS3F-sh84yvjr.js} +7 -4
- package/dist/{es-MX-OKNDG2NH-tcac6j4g.js → es-MX-OR6G2SFR-7yykk5ma.js} +7 -4
- package/dist/{es-MX-U2VN3SZW-anynsmd8.js → es-MX-XXZJGC4R-2mr8jtgm.js} +153 -9
- package/dist/{es-MX-U2VN3SZW-KYAJ2ONK-kdram1g1.js → es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js} +153 -9
- package/dist/{es-MX-H2EAXLYI-j42kfkxy.js → es-MX-ZP2LJ3V7-k4brnfa9.js} +2 -5
- package/dist/{es-O4PAV2CR-0g23ve3v.js → es-WY6FZ3HO-zksnn6dp.js} +2 -5
- package/dist/{flow-api-m53t2xq7.js → flow-api-vqvvs0q2.js} +6 -6
- package/dist/{flow-debug-service-yk2d27p1.js → flow-debug-service-sr8q4935.js} +31 -31
- package/dist/{flow-eval-node-target-13ek4f1p.js → flow-eval-node-target-m5cb0cba.js} +12 -12
- package/dist/{flow-eval-run-service-86tpst0m.js → flow-eval-run-service-24fdnzdd.js} +32 -32
- package/dist/{flow-eval-service-y6ex6rke.js → flow-eval-service-hr607z0a.js} +16 -16
- package/dist/{flow-init-service-mpf8h2rc.js → flow-init-service-20s8zq5t.js} +16 -16
- package/dist/{flow-io-hgw3em5c.js → flow-io-2h9pq7bs.js} +12 -12
- package/dist/{flow-migrate-service-6j2rpfzt.js → flow-migrate-service-c4xz0kbp.js} +13 -13
- package/dist/{flow-pack-service-1gnvp34k.js → flow-pack-service-ps9g6em8.js} +29 -29
- package/dist/{flow-validate-service-9wjnacww.js → flow-validate-service-690jvc5p.js} +32 -32
- package/dist/{fr-R4L3OAWI-30khpsmn.js → fr-DPD4GHX3-exeypjwk.js} +7 -4
- package/dist/{fr-PFHIL7YZ-2n589p47.js → fr-IHD66TVT-vfvmefbx.js} +7 -4
- package/dist/{fr-E5MDO4EG-c3mkty2t.js → fr-MDFKNZ4C-qmypp92m.js} +14 -2
- package/dist/{fr-5YRGHXF5-kz1ywpv6.js → fr-PRMYCRDC-0bk078by.js} +2 -5
- package/dist/{fr-T3G5GZCT-y3f7xb1q.js → fr-Y6NPVODW-8vr1ja4b.js} +153 -9
- package/dist/{fr-T3G5GZCT-TU4IKBEG-k6xz1s1f.js → fr-Y6NPVODW-AS7T42TR-v4qe2tha.js} +153 -9
- package/dist/{governance-fetcher-hx85sbpf.js → governance-fetcher-c9hg124v.js} +3 -3
- package/dist/{headless-h1h3kfw1.js → headless-85f2cys0.js} +360 -180
- package/dist/{hitl-service-f3zvaq6r.js → hitl-service-3mcyyqfa.js} +12 -12
- package/dist/{index-wazjha2r.js → index-0j6xww0f.js} +2 -2
- package/dist/{index-4g3wd82s.js → index-8dwjq9bf.js} +3 -3
- package/dist/{index-4zrwgb3c.js → index-acd6bpqc.js} +6 -6
- package/dist/{index-eybzsdcc.js → index-d1yqqk6q.js} +62 -4
- package/dist/{index-4x4kd9c1.js → index-q7hpt6r3.js} +17 -17
- package/dist/{index-1w6v1x0s.js → index-yqfqxh2r.js} +3 -3
- package/dist/index.js +3 -3
- package/dist/{input-reader-hvv2vb7w.js → input-reader-1wda1a2v.js} +1 -1
- package/dist/{input-reader-81w89fjj.js → input-reader-svafwk7x.js} +1 -1
- package/dist/{ja-SDAPAVCR-kg39dfap.js → ja-HFEQKCZF-hb2f25p8.js} +2 -5
- package/dist/{ja-P4OSE367-srr3qypg.js → ja-JE5ZL7EY-hacj2m31.js} +7 -4
- package/dist/{ja-ZHKCBE5W-x73w6x3e.js → ja-MDG4BKZQ-gayaca2c.js} +7 -4
- package/dist/{ja-BI5K3JDZ-GTIHISTZ-s6n3r2ab.js → ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js} +153 -9
- package/dist/{ja-BI5K3JDZ-77zat4z2.js → ja-Q5PXKJ2V-p4msxzjd.js} +153 -9
- package/dist/{ja-DPO5PPLO-mysfmznx.js → ja-UTQEAP34-hvyf683h.js} +14 -2
- package/dist/{known-types-a20evmmg.js → known-types-eq32py2n.js} +7 -7
- package/dist/{ko-ITOPNIYI-hmxd2asd.js → ko-AXCHW2OK-pkwdcbmx.js} +14 -2
- package/dist/{ko-JOBF5V7N-4bv0mjje.js → ko-AYBDSRZG-41mdmsg1.js} +153 -9
- package/dist/{ko-JOBF5V7N-O7T4HKIE-ape840y0.js → ko-AYBDSRZG-G43C3XUW-kng13fsg.js} +153 -9
- package/dist/{ko-NAGOZLC3-gaxxsnd2.js → ko-B4SEC7QX-thq2wt6a.js} +2 -5
- package/dist/{ko-PYOS2KJP-e7dshyxy.js → ko-DJJRKCG5-5h3k9csc.js} +7 -4
- package/dist/{ko-6W7OGLLB-mnmqc584.js → ko-LA5OSS5P-mq5h8sbk.js} +7 -4
- package/dist/localization-xecwjpe2.js +47 -0
- package/dist/{maestro-debug-service-5pjy4kp0.js → maestro-debug-service-gtvzk5a7.js} +5 -5
- package/dist/{maestro-pack-service-t13e86z1.js → maestro-pack-service-fam5zdm3.js} +2 -2
- package/dist/{node-service-z7akfnxt.js → node-service-wh7jfgn9.js} +26 -26
- package/dist/{node-sync-service-yfws8zyx.js → node-sync-service-m5rjrrw0.js} +12 -14
- package/dist/{node-jkh8qtrz.js → node-zjvhyq2m.js} +3 -3
- package/dist/{packager-tool-ahj646v3.js → packager-tool-0yvjv0nk.js} +32 -31
- package/dist/{packager-tool-zj7v1k9j.js → packager-tool-12636p2y.js} +3 -3
- package/dist/{packager-tool-tn5e7wnb.js → packager-tool-29eg86w6.js} +2 -2
- package/dist/{packager-tool-7p56pr16.js → packager-tool-2mj6z314.js} +6 -6
- package/dist/{packager-tool-a42jnpy5.js → packager-tool-4mna26cc.js} +27 -3
- package/dist/{packager-tool-a25ctv7h.js → packager-tool-750rbywx.js} +2 -2
- package/dist/{packager-tool-r7rp3zz3.js → packager-tool-79gws1zn.js} +1 -1
- package/dist/{packager-tool-wp25zdm0.js → packager-tool-83wng8f0.js} +7 -7
- package/dist/{packager-tool-7grhv1hg.js → packager-tool-a6yfnjgx.js} +1 -1
- package/dist/{packager-tool-tcz1gmag.js → packager-tool-aak2rzp8.js} +16 -21
- package/dist/{packager-tool-4n32vhzt.js → packager-tool-am67sn1c.js} +1 -1
- package/dist/{packager-tool-tb9ea902.js → packager-tool-asteg6p8.js} +3 -3
- package/dist/{packager-tool-q1227jxk.js → packager-tool-b0a80f57.js} +4 -4
- package/dist/{packager-tool-2mt20rxw.js → packager-tool-cj2ka9jr.js} +2 -2
- package/dist/{packager-tool-jm7twdzq.js → packager-tool-d5mjdpbf.js} +1 -1
- package/dist/packager-tool-d6qf5qmb.js +49 -0
- package/dist/packager-tool-d9dpx9wn.js +180 -0
- package/dist/{packager-tool-4awh3ct6.js → packager-tool-db4jm1rz.js} +1 -1
- package/dist/{packager-tool-09xysehb.js → packager-tool-e3yks66r.js} +5 -3
- package/dist/{packager-tool-m5qfverj.js → packager-tool-e8td7b01.js} +1143 -694
- package/dist/{packager-tool-k2nmkphc.js → packager-tool-ejyeka5x.js} +214 -23
- package/dist/{packager-tool-sfk34qja.js → packager-tool-fxx9gdy4.js} +8 -8
- package/dist/{packager-tool-m4gbq68e.js → packager-tool-g32wn5ny.js} +2 -2
- package/dist/{packager-tool-35rk0942.js → packager-tool-gfdjafqy.js} +3 -3
- package/dist/{packager-tool-hd0smshj.js → packager-tool-gxqd24n0.js} +4 -4
- package/dist/{packager-tool-vpqyvh4c.js → packager-tool-jjpc0yka.js} +19 -19
- package/dist/{packager-tool-pvjqhdxy.js → packager-tool-kg5sxneg.js} +1 -1
- package/dist/{packager-tool-mt5pyyf2.js → packager-tool-m351tkkr.js} +2 -2
- package/dist/{packager-tool-xwyjkrqz.js → packager-tool-me5q0naa.js} +2 -2
- package/dist/{packager-tool-2gg5em7a.js → packager-tool-ngk0jrec.js} +5 -5
- package/dist/{packager-tool-bay2m7j4.js → packager-tool-nxw5yzs7.js} +11439 -6786
- package/dist/{packager-tool-e0p2zsyc.js → packager-tool-p79yh9ww.js} +16 -16
- package/dist/{packager-tool-r6q5qwad.js → packager-tool-pap09zfh.js} +1 -1
- package/dist/{packager-tool-7exrv6w7.js → packager-tool-pm3qh1hy.js} +1 -1
- package/dist/{packager-tool-knzxevgr.js → packager-tool-q55pc04m.js} +3 -3
- package/dist/{packager-tool-k4sjzxvh.js → packager-tool-qgh5yaeh.js} +1 -1
- package/dist/{packager-tool-58q3tvh7.js → packager-tool-r87gxwqa.js} +159 -21
- package/dist/{packager-tool-spgs86me.js → packager-tool-rc9vc09w.js} +2 -2
- package/dist/{packager-tool-h2gfp0j3.js → packager-tool-rr8hveb9.js} +1 -1
- package/dist/{packager-tool-3hjbc16b.js → packager-tool-s1r7krkp.js} +1 -1
- package/dist/{packager-tool-fs8d9nzm.js → packager-tool-txwec4pr.js} +7 -7
- package/dist/{packager-tool-q38dn0kk.js → packager-tool-tynyeccc.js} +3 -3
- package/dist/{packager-tool-p9stswjj.js → packager-tool-w20r6n9v.js} +10976 -6421
- package/dist/{packager-tool-yaxmsr2h.js → packager-tool-wz5xatzb.js} +4 -4
- package/dist/{packager-tool-nrvxycwb.js → packager-tool-xatnrtwp.js} +4 -4
- package/dist/{packager-tool-wb9vkz4m.js → packager-tool-xtv236p7.js} +1 -1
- package/dist/{packager-tool-z9bfhmm5.js → packager-tool-z83pga0z.js} +159 -21
- package/dist/packager-tool.js +10 -10
- package/dist/{project-artifacts-46mqbkmn.js → project-artifacts-9z7atbk7.js} +1 -1
- package/dist/{pt-YI4VE4YQ-wdkn2dcf.js → pt-3DIO5QWG-hb763vct.js} +14 -2
- package/dist/{pt-D6A6MVB2-yvxca8vz.js → pt-3KUMINBZ-d0fexmny.js} +7 -4
- package/dist/{pt-BR-Z3TUDJHM-8v73x9s7.js → pt-BR-3LGIH33I-tqbrd89y.js} +7 -4
- package/dist/{pt-BR-DXXSYJDO-a2tp13v7.js → pt-BR-6VFBW5QT-hsck9gjj.js} +2 -5
- package/dist/{pt-BR-7DYX2YPT-LZYH4YFD-bx43vx3z.js → pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js} +153 -9
- package/dist/{pt-BR-7DYX2YPT-fqxqzqtf.js → pt-BR-TKHNHMET-sn91xyq0.js} +153 -9
- package/dist/{pt-BR-UQCYHKMJ-q78n7q70.js → pt-BR-WNNZTIMN-6fent688.js} +7 -4
- package/dist/{pt-BR-BXURWX4W-bwfcwhk1.js → pt-BR-Y6K6XHXK-37a932vp.js} +14 -2
- package/dist/{pt-KSBWHAVQ-mhvhgr2p.js → pt-PFZXVOQH-qshq0b2m.js} +7 -4
- package/dist/{pt-HTXGGX6Y-97t21dty.js → pt-ROXU257Y-2f6bxev4.js} +153 -9
- package/dist/{pt-HTXGGX6Y-ZHQSDFKI-vehfxadc.js → pt-ROXU257Y-OWZOS54V-ywap2t39.js} +153 -9
- package/dist/{pt-7TR74ZMB-bmphh4x2.js → pt-WOTPKWPZ-1rxcy8hs.js} +2 -5
- package/dist/{resourcesSyncService-6x7zvt1e.js → resourcesSyncService-qcp5pg3h.js} +18 -18
- package/dist/{ro-VZUZTAMR-f4q0g3em.js → ro-AN5G62WQ-kcj00jwq.js} +7 -4
- package/dist/{ro-KTNQ3MNU-XIE6YPQN-gen8p82z.js → ro-AVAWPKOO-6WCG756B-v7pjv1hc.js} +153 -9
- package/dist/{ro-KTNQ3MNU-y08n1x5g.js → ro-AVAWPKOO-b89pw79r.js} +153 -9
- package/dist/{ro-RKXZUG7Z-nndrrsq7.js → ro-BWR3ONRR-jmap5ajd.js} +14 -2
- package/dist/{ro-4TMBHS5M-jz0anpt6.js → ro-KMDT7LYJ-yhpnsdvw.js} +7 -4
- package/dist/{ro-BJFER5OI-83tq8vxh.js → ro-PB44YXML-zmhhwp5h.js} +2 -5
- package/dist/{serialization-J5QK3HPY-8kaqsdct.js → serialization-BXU6AKAN-dk0sqx89.js} +1995 -953
- package/dist/{shared-utils-p2hqmpb8.js → shared-utils-twgpb9ax.js} +1 -1
- package/dist/{tidy-service-rm7y4dn2.js → tidy-service-6srt5bks.js} +13 -13
- package/dist/{tool-xpmr8bsy.js → tool-cyb3khxm.js} +31 -31
- package/dist/{tool-hm0yzjxd.js → tool-rbkxn1v2.js} +83 -83
- package/dist/tool.js +3 -3
- package/dist/{tr-AA6O2WSR-86ba4bdf.js → tr-5IIHSFW5-stsb3dar.js} +14 -2
- package/dist/{tr-XHSSPNK7-GW5KVXR3-2w3f1ss6.js → tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js} +153 -9
- package/dist/{tr-XHSSPNK7-cmqyc4wd.js → tr-JMIP7ZSL-c39b6pe4.js} +153 -9
- package/dist/{tr-W4AVRSQ4-hjr81xzk.js → tr-KHOCWWLF-8apf5y44.js} +7 -4
- package/dist/{tr-GSQQ6SOT-hv1gyeaa.js → tr-SC55DYHY-e4zgcd4t.js} +7 -4
- package/dist/{tr-RQTZ2DMS-w3cwv8s4.js → tr-SEC6RGZ4-0ttavjya.js} +2 -5
- package/dist/{trigger-enrichment-service-9ekw9bph.js → trigger-enrichment-service-pv2da4rz.js} +21 -21
- package/dist/{variable-service-25vdpt12.js → variable-service-nmhv9v68.js} +12 -12
- package/dist/{wait-for-flow-job-r3037prg.js → wait-for-flow-job-sx0ht8sb.js} +6 -6
- package/dist/{zh-CN-6YRAN57T-rd7x2tqs.js → zh-CN-4NI2EGMV-8g027vv3.js} +7 -4
- package/dist/{zh-CN-2EHQT23P-mr63c4xz.js → zh-CN-IFFXSEJS-9wm9gmrv.js} +153 -9
- package/dist/{zh-CN-2EHQT23P-T5XRQCVS-ac17dpc1.js → zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js} +153 -9
- package/dist/{zh-CN-ZC6LT4IN-kbzvvzz5.js → zh-CN-MX7VIOF2-xznrtchf.js} +2 -5
- package/dist/{zh-CN-EDFRBU32-vvj7tmaq.js → zh-CN-OUMLDKDS-q3a1rr5c.js} +7 -4
- package/dist/{zh-CN-R2KLHXQV-agqr45ds.js → zh-CN-R2KU4U5L-q4yhc33t.js} +14 -2
- package/dist/{zh-TW-SO2245GN-n2bn1gg4.js → zh-TW-53SU6EH4-33x57egq.js} +7 -4
- package/dist/{zh-TW-R7Y5KVMU-m61y07e3.js → zh-TW-5SJ3GZT2-bsg054mw.js} +2 -5
- package/dist/{zh-TW-RJGCQANM-w0x3qc1p.js → zh-TW-GNKMELBF-r4ay2475.js} +14 -2
- package/dist/{zh-TW-MGZCE5BT-c4ekmrz9.js → zh-TW-IYBNYAMG-8727c7v2.js} +153 -9
- package/dist/{zh-TW-MGZCE5BT-P6FLIUAR-zmq07vhs.js → zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js} +153 -9
- package/dist/{zh-TW-HAICM6DE-rh7k3cq7.js → zh-TW-TN3MPNXL-jcgg2hcs.js} +7 -4
- package/package.json +2 -2
- package/dist/en-EPWMLP2N-2wvge238.js +0 -28
- package/dist/localization-bbsjxbj4.js +0 -47
- package/dist/packager-tool-abbtfk2v.js +0 -54
- package/dist/packager-tool-k99nf3pq.js +0 -25
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getLatestDefinitionByNodeType,
|
|
10
10
|
getManifestKey,
|
|
11
11
|
resolveNodeVersion
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-w20r6n9v.js";
|
|
13
13
|
import {
|
|
14
14
|
require_lib
|
|
15
15
|
} from "./packager-tool-zfrp8ecz.js";
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
parseConfigurationJson,
|
|
18
18
|
resolveConnectorOutputSchema,
|
|
19
19
|
resolveJsonSchema
|
|
20
|
-
} from "./packager-tool-
|
|
20
|
+
} from "./packager-tool-jjpc0yka.js";
|
|
21
21
|
import"./packager-tool-gbgfwx8f.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-r87gxwqa.js";
|
|
23
23
|
import"./packager-tool-sc961w0q.js";
|
|
24
24
|
import {
|
|
25
25
|
JS_EXPRESSION_PREFIX,
|
|
@@ -35,11 +35,12 @@ import {
|
|
|
35
35
|
isGatewayNodeType,
|
|
36
36
|
isLoopNodeType,
|
|
37
37
|
isSubflowNodeType,
|
|
38
|
+
isUnsafeKey,
|
|
38
39
|
supportsVariableUpdates,
|
|
39
40
|
toSerializedNodes
|
|
40
|
-
} from "./packager-tool-
|
|
41
|
-
import"./packager-tool-
|
|
42
|
-
import"./packager-tool-
|
|
41
|
+
} from "./packager-tool-e8td7b01.js";
|
|
42
|
+
import"./packager-tool-p79yh9ww.js";
|
|
43
|
+
import"./packager-tool-4mna26cc.js";
|
|
43
44
|
import"./packager-tool-c23zrhj8.js";
|
|
44
45
|
import {
|
|
45
46
|
__commonJS,
|
|
@@ -27788,13 +27789,13 @@ ${lanes.join(`
|
|
|
27788
27789
|
parseErrorAt(skipTrivia(sourceText, node.template.pos), node.template.end, Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);
|
|
27789
27790
|
return;
|
|
27790
27791
|
}
|
|
27791
|
-
const
|
|
27792
|
-
if (!
|
|
27792
|
+
const expressionText2 = isIdentifier(node) ? idText(node) : undefined;
|
|
27793
|
+
if (!expressionText2 || !isIdentifierText(expressionText2, languageVersion)) {
|
|
27793
27794
|
parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(27));
|
|
27794
27795
|
return;
|
|
27795
27796
|
}
|
|
27796
27797
|
const pos = skipTrivia(sourceText, node.pos);
|
|
27797
|
-
switch (
|
|
27798
|
+
switch (expressionText2) {
|
|
27798
27799
|
case "const":
|
|
27799
27800
|
case "let":
|
|
27800
27801
|
case "var":
|
|
@@ -27816,7 +27817,7 @@ ${lanes.join(`
|
|
|
27816
27817
|
parseErrorForInvalidName(Diagnostics.Type_alias_name_cannot_be_0, Diagnostics.Type_alias_must_be_given_a_name, 64);
|
|
27817
27818
|
return;
|
|
27818
27819
|
}
|
|
27819
|
-
const suggestion = getSpellingSuggestion(
|
|
27820
|
+
const suggestion = getSpellingSuggestion(expressionText2, viableKeywordSuggestions, (n) => n) ?? getSpaceSuggestion(expressionText2);
|
|
27820
27821
|
if (suggestion) {
|
|
27821
27822
|
parseErrorAt(pos, node.end, Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0, suggestion);
|
|
27822
27823
|
return;
|
|
@@ -27833,10 +27834,10 @@ ${lanes.join(`
|
|
|
27833
27834
|
parseErrorAtCurrentToken(nameDiagnostic, scanner2.getTokenValue());
|
|
27834
27835
|
}
|
|
27835
27836
|
}
|
|
27836
|
-
function getSpaceSuggestion(
|
|
27837
|
+
function getSpaceSuggestion(expressionText2) {
|
|
27837
27838
|
for (const keyword of viableKeywordSuggestions) {
|
|
27838
|
-
if (
|
|
27839
|
-
return `${keyword} ${
|
|
27839
|
+
if (expressionText2.length > keyword.length + 2 && startsWith(expressionText2, keyword)) {
|
|
27840
|
+
return `${keyword} ${expressionText2.slice(keyword.length)}`;
|
|
27840
27841
|
}
|
|
27841
27842
|
}
|
|
27842
27843
|
return;
|
|
@@ -162205,7 +162206,7 @@ ${e.message}`;
|
|
|
162205
162206
|
}
|
|
162206
162207
|
});
|
|
162207
162208
|
|
|
162208
|
-
// ../../node_modules/@uipath/flow-expression-model/dist/chunk-
|
|
162209
|
+
// ../../node_modules/@uipath/flow-expression-model/dist/chunk-7H5ROLUA.js
|
|
162209
162210
|
var now = () => typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
162210
162211
|
var defaultTelemetry = {
|
|
162211
162212
|
track: () => {},
|
|
@@ -162226,6 +162227,21 @@ var VARS_IDENTIFIER = "vars";
|
|
|
162226
162227
|
var VARIABLE_PATH_IDENTIFIER_PATTERN = String.raw`[a-zA-Z_]\w*`;
|
|
162227
162228
|
var VARIABLE_PATH_SELECTOR_PATTERN = String.raw`(?:\[\d+\]|\.${VARIABLE_PATH_IDENTIFIER_PATTERN})*`;
|
|
162228
162229
|
var VARIABLE_PATH_PATTERN = String.raw`${VARIABLE_PATH_IDENTIFIER_PATTERN}${VARIABLE_PATH_SELECTOR_PATTERN}`;
|
|
162230
|
+
function asExpressionValue(value) {
|
|
162231
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
162232
|
+
return;
|
|
162233
|
+
const ev = value;
|
|
162234
|
+
return typeof ev.expression === "string" ? ev : undefined;
|
|
162235
|
+
}
|
|
162236
|
+
function expressionText(value) {
|
|
162237
|
+
if (typeof value === "string")
|
|
162238
|
+
return value;
|
|
162239
|
+
const ev = asExpressionValue(value);
|
|
162240
|
+
return typeof ev?.expression === "string" ? ev.expression : "";
|
|
162241
|
+
}
|
|
162242
|
+
function isJsExpressionValue(value) {
|
|
162243
|
+
return asExpressionValue(value)?.type === "jsExpression";
|
|
162244
|
+
}
|
|
162229
162245
|
var ENGINE_NAMESPACES = ["vars", "metadata", "iterator"];
|
|
162230
162246
|
var ENGINE_REF = new RegExp(`^(?:${ENGINE_NAMESPACES.join("|")})(?:\\.[A-Za-z_$][\\w$]*|\\[\\d+\\])+$`);
|
|
162231
162247
|
var RESOLVABLE_BY_ACCESSOR_WALK = new RegExp(`^(?:${ENGINE_NAMESPACES.join("|")})\\.[A-Za-z_$][\\w$]*(?:\\[\\d+\\])*$`);
|
|
@@ -162247,7 +162263,7 @@ var MULTI_RECORD_MIN_LIMIT = 1;
|
|
|
162247
162263
|
var MULTI_RECORD_MAX_LIMIT = 1000;
|
|
162248
162264
|
var MULTI_RECORD_MIN_SKIP = 0;
|
|
162249
162265
|
function isRecordWindowVariable(value) {
|
|
162250
|
-
return isEngineRef(value);
|
|
162266
|
+
return isEngineRef(expressionText(value));
|
|
162251
162267
|
}
|
|
162252
162268
|
function clampRecordLimit(limit) {
|
|
162253
162269
|
if (typeof limit === "string" && limit.trim() !== "" && !isRecordWindowVariable(limit)) {
|
|
@@ -162269,32 +162285,137 @@ function clampRecordSkip(skip) {
|
|
|
162269
162285
|
const truncated = Math.trunc(skip);
|
|
162270
162286
|
return truncated < MULTI_RECORD_MIN_SKIP ? MULTI_RECORD_MIN_SKIP : truncated;
|
|
162271
162287
|
}
|
|
162272
|
-
|
|
162288
|
+
function interpolate(template, params) {
|
|
162289
|
+
return template.replace(/\{\{\s*(\w+)\s*\}\}/g, (match, name) => {
|
|
162290
|
+
const value = params[name];
|
|
162291
|
+
return value === undefined ? match : String(value);
|
|
162292
|
+
});
|
|
162293
|
+
}
|
|
162294
|
+
function t(key, optionsOrDefault) {
|
|
162295
|
+
const options = typeof optionsOrDefault === "string" ? { defaultValue: optionsOrDefault } : optionsOrDefault;
|
|
162296
|
+
if (instance.isInitialized) {
|
|
162297
|
+
const translated = instance.t(key, { ns: EXPRESSION_MODEL_NAMESPACE, ...options });
|
|
162298
|
+
if (typeof translated === "string")
|
|
162299
|
+
return translated;
|
|
162300
|
+
}
|
|
162301
|
+
return interpolate(options.defaultValue, options);
|
|
162302
|
+
}
|
|
162303
|
+
var IN_FILTER_OPERATOR = "in";
|
|
162304
|
+
var NOT_IN_FILTER_OPERATOR = "not in";
|
|
162305
|
+
var LEGACY_IN_FILTER_OPERATOR = "is any of";
|
|
162306
|
+
function isValueListFilterOperator(operator) {
|
|
162307
|
+
return operator === IN_FILTER_OPERATOR || operator === NOT_IN_FILTER_OPERATOR || operator === LEGACY_IN_FILTER_OPERATOR;
|
|
162308
|
+
}
|
|
162309
|
+
function normalizeFilterOperator(operator) {
|
|
162310
|
+
return operator === LEGACY_IN_FILTER_OPERATOR ? IN_FILTER_OPERATOR : operator;
|
|
162311
|
+
}
|
|
162312
|
+
var FILTER_BUILDER_OPERATORS = [
|
|
162313
|
+
{ value: "=" },
|
|
162314
|
+
{ value: "!=" },
|
|
162315
|
+
{ value: ">" },
|
|
162316
|
+
{ value: ">=" },
|
|
162317
|
+
{ value: "<" },
|
|
162318
|
+
{ value: "<=" },
|
|
162319
|
+
{ value: "contains" },
|
|
162320
|
+
{ value: "not contains" },
|
|
162321
|
+
{ value: "starts with" },
|
|
162322
|
+
{ value: "ends with" },
|
|
162323
|
+
{ value: IN_FILTER_OPERATOR },
|
|
162324
|
+
{ value: NOT_IN_FILTER_OPERATOR }
|
|
162325
|
+
];
|
|
162326
|
+
function filterOperatorLabel(operator) {
|
|
162327
|
+
switch (operator && normalizeFilterOperator(operator)) {
|
|
162328
|
+
case "=":
|
|
162329
|
+
return t("entityFilter_operatorName_equals", "Equals");
|
|
162330
|
+
case "!=":
|
|
162331
|
+
return t("entityFilter_operatorName_notEquals", "Not equals");
|
|
162332
|
+
case ">":
|
|
162333
|
+
return t("entityFilter_operatorName_greaterThan", "Greater than");
|
|
162334
|
+
case ">=":
|
|
162335
|
+
return t("entityFilter_operatorName_greaterThanOrEqual", "Greater than or equal");
|
|
162336
|
+
case "<":
|
|
162337
|
+
return t("entityFilter_operatorName_lessThan", "Less than");
|
|
162338
|
+
case "<=":
|
|
162339
|
+
return t("entityFilter_operatorName_lessThanOrEqual", "Less than or equal");
|
|
162340
|
+
case "contains":
|
|
162341
|
+
return t("entityFilter_operatorName_contains", "Contains");
|
|
162342
|
+
case "not contains":
|
|
162343
|
+
return t("entityFilter_operatorName_notContains", "Not contains");
|
|
162344
|
+
case "starts with":
|
|
162345
|
+
return t("entityFilter_operatorName_startsWith", "Starts with");
|
|
162346
|
+
case "ends with":
|
|
162347
|
+
return t("entityFilter_operatorName_endsWith", "Ends with");
|
|
162348
|
+
case IN_FILTER_OPERATOR:
|
|
162349
|
+
return t("entityFilter_operatorName_in", "In");
|
|
162350
|
+
case NOT_IN_FILTER_OPERATOR:
|
|
162351
|
+
return t("entityFilter_operatorName_notIn", "Not in");
|
|
162352
|
+
default:
|
|
162353
|
+
return operator ?? "";
|
|
162354
|
+
}
|
|
162355
|
+
}
|
|
162356
|
+
var BUILDER_OPERATORS = new Set(FILTER_BUILDER_OPERATORS.map((op) => op.value));
|
|
162273
162357
|
function splitInValues(raw) {
|
|
162274
162358
|
return raw.split(",").map((part) => part.trim()).filter(Boolean);
|
|
162275
162359
|
}
|
|
162360
|
+
function rowInValues(row) {
|
|
162361
|
+
const text = expressionText(row.value);
|
|
162362
|
+
if (isJsExpressionValue(row.value))
|
|
162363
|
+
return text.trim() ? [text] : [];
|
|
162364
|
+
return splitInValues(text);
|
|
162365
|
+
}
|
|
162276
162366
|
function filterRowYieldsPredicate(row, multiRecord) {
|
|
162277
|
-
if (!row?.field || !row.value
|
|
162367
|
+
if (!row?.field || !expressionText(row.value).trim())
|
|
162278
162368
|
return false;
|
|
162279
|
-
if (row.operator
|
|
162369
|
+
if (!isValueListFilterOperator(row.operator))
|
|
162280
162370
|
return true;
|
|
162281
|
-
return multiRecord &&
|
|
162371
|
+
return multiRecord && rowInValues(row).length > 0;
|
|
162282
162372
|
}
|
|
162283
|
-
function
|
|
162284
|
-
|
|
162285
|
-
return outputFields.filter((f) => f?.name && f.name !== "output" && f.name !== "response" && (f.responseCurated || f.primaryKey));
|
|
162373
|
+
function toFilterJoin(value) {
|
|
162374
|
+
return value === "OR" ? "OR" : "AND";
|
|
162286
162375
|
}
|
|
162287
|
-
function
|
|
162288
|
-
|
|
162376
|
+
function toFilterModel(value) {
|
|
162377
|
+
if (Array.isArray(value)) {
|
|
162378
|
+
return fromLegacyRows(value);
|
|
162379
|
+
}
|
|
162380
|
+
if (!value || typeof value !== "object") {
|
|
162381
|
+
return {};
|
|
162382
|
+
}
|
|
162383
|
+
const model = value;
|
|
162384
|
+
return {
|
|
162385
|
+
logicalOperator: toFilterJoin(model.logicalOperator),
|
|
162386
|
+
rows: Array.isArray(model.rows) ? model.rows : [],
|
|
162387
|
+
groups: Array.isArray(model.groups) ? model.groups : []
|
|
162388
|
+
};
|
|
162289
162389
|
}
|
|
162290
|
-
function
|
|
162291
|
-
if (
|
|
162292
|
-
return
|
|
162293
|
-
|
|
162294
|
-
|
|
162295
|
-
|
|
162296
|
-
|
|
162297
|
-
|
|
162390
|
+
function fromLegacyRows(rows) {
|
|
162391
|
+
if (rows.length === 0) {
|
|
162392
|
+
return { logicalOperator: "AND", rows: [], groups: [] };
|
|
162393
|
+
}
|
|
162394
|
+
const contributes = (row) => Boolean(row.field) && expressionText(row.value).trim() !== "";
|
|
162395
|
+
const runs = [[]];
|
|
162396
|
+
for (const row of rows) {
|
|
162397
|
+
if (contributes(row) && row.join === "OR" && runs[runs.length - 1].some(contributes))
|
|
162398
|
+
runs.push([]);
|
|
162399
|
+
runs[runs.length - 1].push(row);
|
|
162400
|
+
}
|
|
162401
|
+
if (runs.length === 1) {
|
|
162402
|
+
return { logicalOperator: "AND", rows: runs[0], groups: [] };
|
|
162403
|
+
}
|
|
162404
|
+
if (runs.every((run) => run.filter(contributes).length <= 1)) {
|
|
162405
|
+
return { logicalOperator: "OR", rows: runs.flat(), groups: [] };
|
|
162406
|
+
}
|
|
162407
|
+
return {
|
|
162408
|
+
logicalOperator: "OR",
|
|
162409
|
+
rows: [],
|
|
162410
|
+
groups: runs.map((run) => ({ logicalOperator: "AND", rows: run }))
|
|
162411
|
+
};
|
|
162412
|
+
}
|
|
162413
|
+
var PLAIN_JS_IDENTIFIER = /^[A-Za-z_$][\w$]*$/;
|
|
162414
|
+
function publishedRecordIdReference(nodeId) {
|
|
162415
|
+
if (PLAIN_JS_IDENTIFIER.test(nodeId))
|
|
162416
|
+
return `$vars.${nodeId}.output.Id`;
|
|
162417
|
+
const segments = nodeId.split(".").map((segment) => `['${segment}']`).join("");
|
|
162418
|
+
return `=js:vars${segments}['output']['Id']`;
|
|
162298
162419
|
}
|
|
162299
162420
|
var FILE_TYPE_JSON_SCHEMA = {
|
|
162300
162421
|
type: "object",
|
|
@@ -162321,6 +162442,22 @@ function isFileShapedSchema(schema) {
|
|
|
162321
162442
|
const keys = Object.keys(schema.properties);
|
|
162322
162443
|
return keys.length === FILE_SCHEMA_FIELDS.length && FILE_SCHEMA_FIELDS.every((field) => keys.includes(field));
|
|
162323
162444
|
}
|
|
162445
|
+
function getCuratedOutputFields(fieldsContainer) {
|
|
162446
|
+
const outputFields = fieldsContainer?.outputFields ?? [];
|
|
162447
|
+
return outputFields.filter((f) => f?.name && f.name !== "output" && f.name !== "response" && (f.responseCurated || f.primaryKey));
|
|
162448
|
+
}
|
|
162449
|
+
function isFileType(type) {
|
|
162450
|
+
return type === "file" || type === "octet-stream";
|
|
162451
|
+
}
|
|
162452
|
+
function resolveUpdateRecordSource(cfg) {
|
|
162453
|
+
if (cfg.recordSource === "fromRead" || cfg.recordSource === "byId")
|
|
162454
|
+
return cfg.recordSource;
|
|
162455
|
+
if (cfg.readEntityNodeId)
|
|
162456
|
+
return "fromRead";
|
|
162457
|
+
if (expressionText(cfg.recordId).trim())
|
|
162458
|
+
return "byId";
|
|
162459
|
+
return;
|
|
162460
|
+
}
|
|
162324
162461
|
var RUNTIME_GLOBAL_DECLARATIONS = `// Maestro script runtime — host-provided globals (single source: runtime-globals.ts)
|
|
162325
162462
|
/** Decodes a base64-encoded ASCII string (host-provided in the script runtime). */
|
|
162326
162463
|
declare function atob(data: string): string;
|
|
@@ -162372,7 +162509,7 @@ function findTerminalNodes(nodes, edges, isStartEvent) {
|
|
|
162372
162509
|
return nodes.filter((n) => terminalIds.has(n.id) && !isStartEvent(n));
|
|
162373
162510
|
}
|
|
162374
162511
|
|
|
162375
|
-
// ../../node_modules/@uipath/flow-expression-model/dist/chunk-
|
|
162512
|
+
// ../../node_modules/@uipath/flow-expression-model/dist/chunk-JYIMM3DD.js
|
|
162376
162513
|
var import_json5 = __toESM(require_lib(), 1);
|
|
162377
162514
|
function capitalize(str) {
|
|
162378
162515
|
if (!str)
|
|
@@ -162427,23 +162564,30 @@ function getLiveQueryInfo(entityConfig, resolveNodeLabel) {
|
|
|
162427
162564
|
const displayName = typeof config._entityDisplayName === "string" ? config._entityDisplayName : undefined;
|
|
162428
162565
|
const entityLabel = (displayName || entityName).trim();
|
|
162429
162566
|
const fields = Array.isArray(config._entityFields) ? config._entityFields : [];
|
|
162430
|
-
const
|
|
162567
|
+
const model = toFilterModel(config._filters);
|
|
162431
162568
|
const multiRecord = isMultiRecordRead(config);
|
|
162432
|
-
const
|
|
162433
|
-
|
|
162434
|
-
|
|
162435
|
-
continue;
|
|
162569
|
+
const renderRow = (f) => {
|
|
162570
|
+
if (typeof f?.field !== "string")
|
|
162571
|
+
return;
|
|
162436
162572
|
if (!filterRowYieldsPredicate(f, multiRecord))
|
|
162437
|
-
|
|
162438
|
-
if (parts.length > 0)
|
|
162439
|
-
parts.push(f.join === "OR" ? "OR" : "AND");
|
|
162573
|
+
return;
|
|
162440
162574
|
const matchedField = fields.find((ef) => ef?.name === f.field);
|
|
162441
162575
|
const fieldLabel = typeof matchedField?.displayName === "string" && matchedField.displayName || f.field;
|
|
162442
162576
|
const operator = typeof f.operator === "string" && f.operator ? f.operator : "=";
|
|
162443
|
-
const
|
|
162444
|
-
|
|
162445
|
-
|
|
162446
|
-
|
|
162577
|
+
const valueText = expressionText(f.value);
|
|
162578
|
+
const rendered = isJsExpressionValue(f.value) && !isEngineRef(valueText) ? valueText : isValueListFilterOperator(operator) ? splitInValues(valueText).map((part) => formatFilterValue(part, resolveNodeLabel)).join(", ") : formatFilterValue(valueText, resolveNodeLabel);
|
|
162579
|
+
return `${fieldLabel} ${filterOperatorLabel(operator)} ${rendered}`;
|
|
162580
|
+
};
|
|
162581
|
+
const renderLevel = (rows, join) => (rows ?? []).map(renderRow).filter((part) => part !== undefined).join(` ${join} `);
|
|
162582
|
+
const rootJoin = model.logicalOperator === "OR" ? "OR" : "AND";
|
|
162583
|
+
const rootPart = renderLevel(model.rows, rootJoin);
|
|
162584
|
+
const grouped = (model.groups ?? []).map((g) => ({
|
|
162585
|
+
rendered: (g.rows ?? []).map(renderRow).filter((part) => part !== undefined),
|
|
162586
|
+
join: g.logicalOperator === "OR" ? "OR" : "AND"
|
|
162587
|
+
}));
|
|
162588
|
+
const partCount = (rootPart ? 1 : 0) + grouped.filter((g) => g.rendered.length > 0).length;
|
|
162589
|
+
const groupParts = grouped.filter((g) => g.rendered.length > 0).map((g) => g.rendered.length > 1 && partCount > 1 ? `(${g.rendered.join(` ${g.join} `)})` : g.rendered.join(` ${g.join} `));
|
|
162590
|
+
const predicate = [rootPart, ...groupParts].filter(Boolean).join(` ${rootJoin} `);
|
|
162447
162591
|
if (!multiRecord) {
|
|
162448
162592
|
return { entityLabel, querySummary: `first(${predicate})` };
|
|
162449
162593
|
}
|
|
@@ -162457,7 +162601,11 @@ function getLiveQueryInfo(entityConfig, resolveNodeLabel) {
|
|
|
162457
162601
|
return { entityLabel, querySummary: `top ${limit}${skipClause}(${predicate})${order}` };
|
|
162458
162602
|
}
|
|
162459
162603
|
function describeWindowValue(value, clamp, resolveNodeLabel) {
|
|
162460
|
-
|
|
162604
|
+
if (isRecordWindowVariable(value))
|
|
162605
|
+
return formatFilterValue(expressionText(value), resolveNodeLabel);
|
|
162606
|
+
if (isJsExpressionValue(value))
|
|
162607
|
+
return expressionText(value);
|
|
162608
|
+
return String(clamp(expressionText(value) || value));
|
|
162461
162609
|
}
|
|
162462
162610
|
function walkSchemaProperties(schema, segments, options) {
|
|
162463
162611
|
let current2 = schema;
|
|
@@ -162737,6 +162885,12 @@ function isNestedScope(childScope, ancestorScope, nodeMap) {
|
|
|
162737
162885
|
}
|
|
162738
162886
|
return false;
|
|
162739
162887
|
}
|
|
162888
|
+
function toJsonSchema(entry) {
|
|
162889
|
+
const nested = entry.schema;
|
|
162890
|
+
if (!nested || typeof nested !== "object" || Array.isArray(nested))
|
|
162891
|
+
return entry;
|
|
162892
|
+
return nested.description || !entry.description ? nested : { ...nested, description: entry.description };
|
|
162893
|
+
}
|
|
162740
162894
|
function inferLoopOutputSchemaForUI(nodesInLoop, allNodes, visitedLoops = /* @__PURE__ */ new Set) {
|
|
162741
162895
|
const properties = {};
|
|
162742
162896
|
for (const node of nodesInLoop) {
|
|
@@ -162774,7 +162928,7 @@ function inferLoopOutputSchemaForUI(nodesInLoop, allNodes, visitedLoops = /* @__
|
|
|
162774
162928
|
continue;
|
|
162775
162929
|
if (outputName === "error" && !node.inputs?.errorHandlingEnabled)
|
|
162776
162930
|
continue;
|
|
162777
|
-
nodeOutputProperties[outputName] = outputSchema;
|
|
162931
|
+
nodeOutputProperties[outputName] = toJsonSchema(outputSchema);
|
|
162778
162932
|
}
|
|
162779
162933
|
if (Object.keys(nodeOutputProperties).length > 0) {
|
|
162780
162934
|
properties[node.id] = {
|
|
@@ -162793,20 +162947,82 @@ function inferLoopOutputSchemaForUI(nodesInLoop, allNodes, visitedLoops = /* @__
|
|
|
162793
162947
|
}
|
|
162794
162948
|
};
|
|
162795
162949
|
}
|
|
162796
|
-
function
|
|
162797
|
-
|
|
162798
|
-
|
|
162799
|
-
|
|
162800
|
-
|
|
162950
|
+
function buildAgentOutputEntry(v) {
|
|
162951
|
+
const type = v.type || "string";
|
|
162952
|
+
const entry = { type, description: v.description };
|
|
162953
|
+
if (type === "file")
|
|
162954
|
+
return withFileShape(entry, type);
|
|
162955
|
+
if (!v.schema)
|
|
162956
|
+
return entry;
|
|
162957
|
+
if (type === "object" && v.schema.properties) {
|
|
162958
|
+
entry.properties = v.schema.properties;
|
|
162959
|
+
if (v.schema.required)
|
|
162960
|
+
entry.required = v.schema.required;
|
|
162961
|
+
return entry;
|
|
162962
|
+
}
|
|
162963
|
+
if (type === "array" && v.schema.items) {
|
|
162964
|
+
entry.items = v.schema.items;
|
|
162965
|
+
}
|
|
162966
|
+
return entry;
|
|
162801
162967
|
}
|
|
162802
|
-
function
|
|
162803
|
-
|
|
162804
|
-
|
|
162805
|
-
|
|
162806
|
-
|
|
162807
|
-
|
|
162968
|
+
function mergeAgentOutputDefinition(nodeType, inputs, baseOutputDef) {
|
|
162969
|
+
if (!nodeType || !isAgentNodeType(nodeType))
|
|
162970
|
+
return baseOutputDef;
|
|
162971
|
+
const agentOutputVars = inputs?.agentOutputVariables;
|
|
162972
|
+
if (!agentOutputVars || agentOutputVars.length === 0)
|
|
162973
|
+
return baseOutputDef;
|
|
162974
|
+
const outputProperties = {};
|
|
162975
|
+
for (const v of agentOutputVars) {
|
|
162976
|
+
outputProperties[v.id] = buildAgentOutputEntry(v);
|
|
162808
162977
|
}
|
|
162809
|
-
|
|
162978
|
+
const baseOutput = isConversationalOrVoiceAgentNodeType(nodeType) ? baseOutputDef?.output : undefined;
|
|
162979
|
+
const dynamicOutput = {
|
|
162980
|
+
output: {
|
|
162981
|
+
...baseOutput,
|
|
162982
|
+
type: "object",
|
|
162983
|
+
description: "Agent response",
|
|
162984
|
+
descriptionKey: "scopeService_agentResponse_description",
|
|
162985
|
+
var: "output",
|
|
162986
|
+
properties: { ...baseOutput?.properties, ...outputProperties }
|
|
162987
|
+
}
|
|
162988
|
+
};
|
|
162989
|
+
return { ...baseOutputDef, ...dynamicOutput };
|
|
162990
|
+
}
|
|
162991
|
+
var READ_ENTITY_NODE_TYPE = NodeType.DataFabricRead;
|
|
162992
|
+
var UPDATE_ENTITY_NODE_TYPE = NodeType.DataFabricUpdate;
|
|
162993
|
+
var CREATE_ENTITY_NODE_TYPE = NodeType.DataFabricCreate;
|
|
162994
|
+
var DATA_FABRIC_SCHEMA_NODE_TYPES = /* @__PURE__ */ new Set([READ_ENTITY_NODE_TYPE, UPDATE_ENTITY_NODE_TYPE, CREATE_ENTITY_NODE_TYPE]);
|
|
162995
|
+
function mergeReadEntityOutputDefinition(nodeType, inputs, baseOutputDef) {
|
|
162996
|
+
if (!nodeType || !DATA_FABRIC_SCHEMA_NODE_TYPES.has(nodeType))
|
|
162997
|
+
return baseOutputDef;
|
|
162998
|
+
const entityConfig = inputs?.entityConfig;
|
|
162999
|
+
const schema = entityConfig?._outputSchema;
|
|
163000
|
+
if (!schema || typeof schema !== "object" || Array.isArray(schema))
|
|
163001
|
+
return baseOutputDef;
|
|
163002
|
+
const record = readEntityRecordSchema(schema);
|
|
163003
|
+
const shaped = nodeType === READ_ENTITY_NODE_TYPE && isMultiRecordRead(entityConfig) ? { type: "object", properties: { [MULTI_RECORD_RESULTS_KEY]: { type: "array", items: record } } } : record;
|
|
163004
|
+
const { type, properties, items } = shaped;
|
|
163005
|
+
const baseOutput = baseOutputDef?.output;
|
|
163006
|
+
return {
|
|
163007
|
+
...baseOutputDef,
|
|
163008
|
+
output: {
|
|
163009
|
+
...baseOutput,
|
|
163010
|
+
type: type ?? "object",
|
|
163011
|
+
...properties ? { properties } : {},
|
|
163012
|
+
...items ? { items } : {}
|
|
163013
|
+
}
|
|
163014
|
+
};
|
|
163015
|
+
}
|
|
163016
|
+
function readEntityRecordSchema(schema) {
|
|
163017
|
+
const wrapped = schema.properties?.[MULTI_RECORD_RESULTS_KEY];
|
|
163018
|
+
if (wrapped?.type === "array" && wrapped.items && !Array.isArray(wrapped.items))
|
|
163019
|
+
return wrapped.items;
|
|
163020
|
+
if (schema.type === "array" && schema.items && !Array.isArray(schema.items))
|
|
163021
|
+
return schema.items;
|
|
163022
|
+
return schema;
|
|
163023
|
+
}
|
|
163024
|
+
function resolveInstanceOutputDefinition(nodeType, inputs, baseOutputDef) {
|
|
163025
|
+
return mergeReadEntityOutputDefinition(nodeType, inputs, mergeAgentOutputDefinition(nodeType, inputs, baseOutputDef));
|
|
162810
163026
|
}
|
|
162811
163027
|
var LOOP_TERMINAL_TARGET_PORTS = /* @__PURE__ */ new Set(["continue", "break"]);
|
|
162812
163028
|
function isLoopTerminalEdge(edge, nodeMap) {
|
|
@@ -163062,8 +163278,6 @@ function getNodeOutputVariables(node, maxDepth = DEFAULT_VARIABLE_FLATTEN_DEPTH,
|
|
|
163062
163278
|
} catch {}
|
|
163063
163279
|
}
|
|
163064
163280
|
let outputDef = node.outputs;
|
|
163065
|
-
outputDef = mergeAgentOutputDefinition(node.type, node.inputs, outputDef);
|
|
163066
|
-
outputDef = mergeReadEntityOutputDefinition(node.type, node.inputs, outputDef);
|
|
163067
163281
|
if (node.inputs?.[FIRE_AND_FORGET_INPUT] === true && outputDef) {
|
|
163068
163282
|
outputDef = outputDef.error !== undefined ? { error: outputDef.error } : {};
|
|
163069
163283
|
}
|
|
@@ -163101,7 +163315,7 @@ function getNodeOutputVariables(node, maxDepth = DEFAULT_VARIABLE_FLATTEN_DEPTH,
|
|
|
163101
163315
|
for (const v of variables) {
|
|
163102
163316
|
if (v.name === getOutputVariablePath(node.id)) {
|
|
163103
163317
|
v.liveReference = true;
|
|
163104
|
-
v.liveSnapshotFallback = node.type
|
|
163318
|
+
v.liveSnapshotFallback = node.type !== UPDATE_ENTITY_NODE_TYPE;
|
|
163105
163319
|
if (liveQuery)
|
|
163106
163320
|
v.liveQuery = liveQuery;
|
|
163107
163321
|
}
|
|
@@ -163176,73 +163390,26 @@ function filterOutputsByHandle(outputDef, connectedPorts) {
|
|
|
163176
163390
|
}
|
|
163177
163391
|
return filtered;
|
|
163178
163392
|
}
|
|
163179
|
-
|
|
163180
|
-
if (!itemsSchema || typeof itemsSchema !== "object")
|
|
163181
|
-
return;
|
|
163182
|
-
const items = itemsSchema;
|
|
163183
|
-
if (!items.properties)
|
|
163184
|
-
return;
|
|
163185
|
-
entry.items.properties = items.properties;
|
|
163186
|
-
if (Array.isArray(items.required)) {
|
|
163187
|
-
entry.items.required = items.required;
|
|
163188
|
-
}
|
|
163189
|
-
}
|
|
163190
|
-
function buildAgentOutputEntry(v) {
|
|
163191
|
-
const type = v.type || "string";
|
|
163192
|
-
const entry = { type, description: v.description };
|
|
163193
|
-
if (type === "file")
|
|
163194
|
-
return withFileShape(entry, type);
|
|
163195
|
-
if (!v.schema)
|
|
163196
|
-
return entry;
|
|
163197
|
-
if (type === "object" && v.schema.properties) {
|
|
163198
|
-
entry.properties = v.schema.properties;
|
|
163199
|
-
if (v.schema.required)
|
|
163200
|
-
entry.required = v.schema.required;
|
|
163201
|
-
return entry;
|
|
163202
|
-
}
|
|
163203
|
-
if (type === "array" && v.schema.items) {
|
|
163204
|
-
entry.items = v.schema.items;
|
|
163205
|
-
projectArrayItems(entry, v.schema.items);
|
|
163206
|
-
}
|
|
163207
|
-
return entry;
|
|
163208
|
-
}
|
|
163209
|
-
function mergeAgentOutputDefinition(nodeType, inputs, baseOutputDef) {
|
|
163210
|
-
if (!nodeType || !isAgentNodeType(nodeType))
|
|
163211
|
-
return baseOutputDef;
|
|
163212
|
-
const agentOutputVars = inputs?.agentOutputVariables;
|
|
163213
|
-
if (!agentOutputVars || agentOutputVars.length === 0)
|
|
163214
|
-
return baseOutputDef;
|
|
163215
|
-
const outputProperties = {};
|
|
163216
|
-
for (const v of agentOutputVars) {
|
|
163217
|
-
outputProperties[v.id] = buildAgentOutputEntry(v);
|
|
163218
|
-
}
|
|
163219
|
-
const baseOutput = isConversationalOrVoiceAgentNodeType(nodeType) ? baseOutputDef?.output : undefined;
|
|
163220
|
-
const dynamicOutput = {
|
|
163221
|
-
output: {
|
|
163222
|
-
...baseOutput,
|
|
163223
|
-
type: "object",
|
|
163224
|
-
description: "Agent response",
|
|
163225
|
-
descriptionKey: "scopeService_agentResponse_description",
|
|
163226
|
-
var: "output",
|
|
163227
|
-
properties: { ...baseOutput?.properties, ...outputProperties }
|
|
163228
|
-
}
|
|
163229
|
-
};
|
|
163230
|
-
return { ...baseOutputDef, ...dynamicOutput };
|
|
163231
|
-
}
|
|
163232
|
-
var READ_ENTITY_NODE_TYPE = "core.datafabric.read";
|
|
163233
|
-
var UPDATE_ENTITY_NODE_TYPE = "core.datafabric.update";
|
|
163234
|
-
var CREATE_ENTITY_NODE_TYPE = "core.datafabric.create";
|
|
163235
|
-
var DATA_FABRIC_LIVE_REFERENCE_NODE_TYPES = /* @__PURE__ */ new Set([READ_ENTITY_NODE_TYPE, UPDATE_ENTITY_NODE_TYPE]);
|
|
163236
|
-
var DATA_FABRIC_SCHEMA_NODE_TYPES = /* @__PURE__ */ new Set([READ_ENTITY_NODE_TYPE, UPDATE_ENTITY_NODE_TYPE, CREATE_ENTITY_NODE_TYPE]);
|
|
163393
|
+
var DATA_FABRIC_LIVE_REFERENCE_NODE_TYPES = /* @__PURE__ */ new Set([READ_ENTITY_NODE_TYPE, UPDATE_ENTITY_NODE_TYPE, CREATE_ENTITY_NODE_TYPE]);
|
|
163237
163394
|
var SINGLE_RECORD_BADGE = { resultMode: "single" };
|
|
163238
163395
|
function resolveLiveQuerySourceConfig(node, allNodes) {
|
|
163239
163396
|
const entityConfig = node.inputs?.entityConfig;
|
|
163240
|
-
if (
|
|
163397
|
+
if (!entityConfig)
|
|
163398
|
+
return entityConfig;
|
|
163399
|
+
if (node.type === CREATE_ENTITY_NODE_TYPE) {
|
|
163400
|
+
return {
|
|
163401
|
+
...entityConfig,
|
|
163402
|
+
...SINGLE_RECORD_BADGE,
|
|
163403
|
+
_filters: [{ field: "Id", operator: "=", value: publishedRecordIdReference(node.id) }]
|
|
163404
|
+
};
|
|
163405
|
+
}
|
|
163406
|
+
if (node.type !== UPDATE_ENTITY_NODE_TYPE)
|
|
163241
163407
|
return entityConfig;
|
|
163242
163408
|
const source = resolveUpdateRecordSource(entityConfig);
|
|
163243
|
-
const recordId =
|
|
163409
|
+
const recordId = entityConfig.recordId;
|
|
163410
|
+
const hasRecordId = expressionText(recordId).trim() !== "";
|
|
163244
163411
|
if (source === "byId") {
|
|
163245
|
-
return
|
|
163412
|
+
return hasRecordId ? { ...entityConfig, ...SINGLE_RECORD_BADGE, _filters: [{ field: "Id", operator: "=", value: recordId }] } : entityConfig;
|
|
163246
163413
|
}
|
|
163247
163414
|
if (source !== "fromRead")
|
|
163248
163415
|
return entityConfig;
|
|
@@ -163250,35 +163417,6 @@ function resolveLiveQuerySourceConfig(node, allNodes) {
|
|
|
163250
163417
|
const readConfig = readEntityNodeId ? allNodes?.find((n) => n.id === readEntityNodeId)?.inputs?.entityConfig : undefined;
|
|
163251
163418
|
return readConfig ? { ...readConfig, ...SINGLE_RECORD_BADGE } : entityConfig;
|
|
163252
163419
|
}
|
|
163253
|
-
function mergeReadEntityOutputDefinition(nodeType, inputs, baseOutputDef) {
|
|
163254
|
-
if (!nodeType || !DATA_FABRIC_SCHEMA_NODE_TYPES.has(nodeType))
|
|
163255
|
-
return baseOutputDef;
|
|
163256
|
-
const entityConfig = inputs?.entityConfig;
|
|
163257
|
-
const schema = entityConfig?._outputSchema;
|
|
163258
|
-
if (!schema || typeof schema !== "object" || Array.isArray(schema))
|
|
163259
|
-
return baseOutputDef;
|
|
163260
|
-
const record = readEntityRecordSchema(schema);
|
|
163261
|
-
const shaped = nodeType === READ_ENTITY_NODE_TYPE && isMultiRecordRead(entityConfig) ? { type: "object", properties: { [MULTI_RECORD_RESULTS_KEY]: { type: "array", items: record } } } : record;
|
|
163262
|
-
const { type, properties, items } = shaped;
|
|
163263
|
-
const baseOutput = baseOutputDef?.output;
|
|
163264
|
-
return {
|
|
163265
|
-
...baseOutputDef,
|
|
163266
|
-
output: {
|
|
163267
|
-
...baseOutput,
|
|
163268
|
-
type: type ?? "object",
|
|
163269
|
-
...properties ? { properties } : {},
|
|
163270
|
-
...items ? { items } : {}
|
|
163271
|
-
}
|
|
163272
|
-
};
|
|
163273
|
-
}
|
|
163274
|
-
function readEntityRecordSchema(schema) {
|
|
163275
|
-
const wrapped = schema.properties?.[MULTI_RECORD_RESULTS_KEY];
|
|
163276
|
-
if (wrapped?.type === "array" && wrapped.items && !Array.isArray(wrapped.items))
|
|
163277
|
-
return wrapped.items;
|
|
163278
|
-
if (schema.type === "array" && schema.items && !Array.isArray(schema.items))
|
|
163279
|
-
return schema.items;
|
|
163280
|
-
return schema;
|
|
163281
|
-
}
|
|
163282
163420
|
function filterOutputDefinitionByErrorHandling(outputDef, errorHandlingEnabled) {
|
|
163283
163421
|
if (errorHandlingEnabled)
|
|
163284
163422
|
return outputDef;
|
|
@@ -163904,12 +164042,18 @@ function handleDerivedVariable(variable, typeRegistry, schemaMap) {
|
|
|
163904
164042
|
return variable;
|
|
163905
164043
|
}
|
|
163906
164044
|
function isDegenerateSchema(schema) {
|
|
163907
|
-
|
|
163908
|
-
|
|
163909
|
-
|
|
164045
|
+
const types = getSchemaTypes(schema.type);
|
|
164046
|
+
const hasProperties = !!schema.properties && Object.keys(schema.properties).length > 0;
|
|
164047
|
+
if (types.includes("object"))
|
|
164048
|
+
return !hasProperties;
|
|
164049
|
+
return types.length > 0 && types.every((type) => type === "null");
|
|
163910
164050
|
}
|
|
163911
|
-
function
|
|
163912
|
-
|
|
164051
|
+
function hasDeclaredStructure(schema) {
|
|
164052
|
+
if (!schema)
|
|
164053
|
+
return false;
|
|
164054
|
+
if (schema.properties && Object.keys(schema.properties).length > 0)
|
|
164055
|
+
return true;
|
|
164056
|
+
return getSchemaTypes(schema.type).includes("array") && !!schema.items && !Array.isArray(schema.items);
|
|
163913
164057
|
}
|
|
163914
164058
|
function getSchemaTypes(type) {
|
|
163915
164059
|
if (!type)
|
|
@@ -163934,18 +164078,20 @@ function enrichVariablesWithRegistry(variables, typeRegistry) {
|
|
|
163934
164078
|
const schema = typeRegistry.get(varPath);
|
|
163935
164079
|
if (!schema)
|
|
163936
164080
|
return v;
|
|
163937
|
-
if (isDegenerateSchema(schema) &&
|
|
164081
|
+
if (isDegenerateSchema(schema) && hasDeclaredStructure(v.schema))
|
|
163938
164082
|
return v;
|
|
163939
164083
|
if (isFileShapedSchema(schema))
|
|
163940
164084
|
return { ...v, type: "file", schema: FILE_TYPE_JSON_SCHEMA };
|
|
163941
164085
|
const inferredType = typeof schema.type === "string" ? schema.type : Array.isArray(schema.type) ? schema.type.join(" | ") : undefined;
|
|
163942
164086
|
const arrayOverride = v.isArray && !isArraySchema(schema) && { isArray: false };
|
|
163943
|
-
return { ...v, schema:
|
|
164087
|
+
return { ...v, schema: mergeDeclaredIntoInferred(v.schema, schema), ...inferredType && { type: inferredType }, ...arrayOverride };
|
|
163944
164088
|
});
|
|
163945
164089
|
}
|
|
163946
|
-
function
|
|
164090
|
+
function mergeDeclaredIntoInferred(declared, inferred) {
|
|
163947
164091
|
if (!declared)
|
|
163948
164092
|
return inferred;
|
|
164093
|
+
if (isDegenerateSchema(inferred) && hasDeclaredStructure(declared))
|
|
164094
|
+
return declared;
|
|
163949
164095
|
let result = inferred;
|
|
163950
164096
|
const mutable = () => result === inferred ? result = { ...inferred } : result;
|
|
163951
164097
|
const declaredTypes = getSchemaTypes(declared.type);
|
|
@@ -163961,13 +164107,17 @@ function preserveDeclaredLeafMetadata(declared, inferred) {
|
|
|
163961
164107
|
if (typeof declared.description === "string" && !inferred.description && (inferred.type === declared.type || declaredFile && inferredObject)) {
|
|
163962
164108
|
mutable().description = declared.description;
|
|
163963
164109
|
}
|
|
163964
|
-
if (declared.properties && inferred.properties) {
|
|
164110
|
+
if (declared.properties && (inferredObject || inferred.properties)) {
|
|
163965
164111
|
let properties;
|
|
163966
164112
|
for (const [key, declaredProp] of Object.entries(declared.properties)) {
|
|
163967
|
-
|
|
163968
|
-
|
|
164113
|
+
if (isUnsafeKey(key)) {
|
|
164114
|
+
if (true) {
|
|
164115
|
+
console.warn(`[enrichVariablesWithRegistry] dropping declared property with an unsafe name: ${key}`);
|
|
164116
|
+
}
|
|
163969
164117
|
continue;
|
|
163970
|
-
|
|
164118
|
+
}
|
|
164119
|
+
const inferredProp = inferred.properties?.[key];
|
|
164120
|
+
const next = inferredProp ? mergeDeclaredIntoInferred(declaredProp, inferredProp) : declaredProp;
|
|
163971
164121
|
if (next !== inferredProp) {
|
|
163972
164122
|
properties ??= { ...inferred.properties };
|
|
163973
164123
|
properties[key] = next;
|
|
@@ -163976,10 +164126,16 @@ function preserveDeclaredLeafMetadata(declared, inferred) {
|
|
|
163976
164126
|
if (properties)
|
|
163977
164127
|
mutable().properties = properties;
|
|
163978
164128
|
}
|
|
163979
|
-
if (declared.items && !Array.isArray(declared.items)
|
|
163980
|
-
const
|
|
163981
|
-
if (
|
|
163982
|
-
|
|
164129
|
+
if (declared.items && !Array.isArray(declared.items)) {
|
|
164130
|
+
const inferredItems = inferred.items;
|
|
164131
|
+
if (inferredItems === undefined) {
|
|
164132
|
+
if (inferredTypes.includes("array"))
|
|
164133
|
+
mutable().items = declared.items;
|
|
164134
|
+
} else if (!Array.isArray(inferredItems)) {
|
|
164135
|
+
const items = mergeDeclaredIntoInferred(declared.items, inferredItems);
|
|
164136
|
+
if (items !== inferredItems)
|
|
164137
|
+
mutable().items = items;
|
|
164138
|
+
}
|
|
163983
164139
|
}
|
|
163984
164140
|
return result;
|
|
163985
164141
|
}
|
|
@@ -164553,6 +164709,10 @@ var FILE_PROBE_TYPE = `{ ${FILE_ID_KEY}?: any }`;
|
|
|
164553
164709
|
function couldBeFile(checker, expression, declarations) {
|
|
164554
164710
|
return checker.doesExpressionMatchType(expression, declarations, FILE_PROBE_TYPE);
|
|
164555
164711
|
}
|
|
164712
|
+
var FILE_ARRAY_PROBE_TYPE = `Array<${FILE_PROBE_TYPE}>`;
|
|
164713
|
+
function couldBeFileArray(checker, expression, declarations) {
|
|
164714
|
+
return checker.doesExpressionMatchType(expression, declarations, FILE_ARRAY_PROBE_TYPE);
|
|
164715
|
+
}
|
|
164556
164716
|
function buildExpressionPathMap(manifest) {
|
|
164557
164717
|
const map = /* @__PURE__ */ new Map;
|
|
164558
164718
|
if (!manifest)
|
|
@@ -164578,8 +164738,16 @@ function buildExpressionPathMap(manifest) {
|
|
|
164578
164738
|
}
|
|
164579
164739
|
if (field.component === "array-list-editor") {
|
|
164580
164740
|
const expectedType = props.expectedType;
|
|
164581
|
-
|
|
164582
|
-
map.set(field.name
|
|
164741
|
+
const allowFileArray = expectedType === "file";
|
|
164742
|
+
map.set(`${field.name}.value`, { expectedType, allowFileArray });
|
|
164743
|
+
map.set(field.name, { expectedType, fieldPathSuffix: "value", allowFileArray });
|
|
164744
|
+
}
|
|
164745
|
+
if (field.component === "value-source-field" && props.staticEditor === "array-list") {
|
|
164746
|
+
const expectedType = props.expectedType;
|
|
164747
|
+
const allowFileArray = expectedType === "file" || props.allowFileArray === true;
|
|
164748
|
+
const fieldPathContainer = { from: `${field.name}.items`, to: field.name };
|
|
164749
|
+
map.set(`${field.name}.items.value`, { expectedType, allowFileArray, fieldPathContainer });
|
|
164750
|
+
map.set(`${field.name}.items`, { expectedType, fieldPathSuffix: "value", allowFileArray, fieldPathContainer });
|
|
164583
164751
|
}
|
|
164584
164752
|
const expressionValidationFields = props.expressionValidationFields;
|
|
164585
164753
|
if (expressionValidationFields) {
|
|
@@ -164629,8 +164797,12 @@ function collectExpressionFields(node, expressionPaths, workflowVariables) {
|
|
|
164629
164797
|
const pathInfo = expressionPaths.get(strippedPath);
|
|
164630
164798
|
if (pathInfo ? !pathInfo.validationMode && !isExpressionLike : !isExpressionLike)
|
|
164631
164799
|
return;
|
|
164632
|
-
const expected = pathInfo?.expectedType ? { type: pathInfo.expectedType } : subflowInputTypes.get(strippedPath) ?? outputMappingTypes.get(strippedPath);
|
|
164633
|
-
|
|
164800
|
+
const expected = pathInfo?.expectedType ? { type: pathInfo.expectedType, allowFileArray: pathInfo.allowFileArray } : subflowInputTypes.get(strippedPath) ?? outputMappingTypes.get(strippedPath);
|
|
164801
|
+
let fieldPath = pathInfo?.fieldPathSuffix && /\[\d+\]$/.test(path) ? `${path}.${pathInfo.fieldPathSuffix}` : path;
|
|
164802
|
+
const container = pathInfo?.fieldPathContainer;
|
|
164803
|
+
if (container && fieldPath.startsWith(container.from)) {
|
|
164804
|
+
fieldPath = `${container.to}${fieldPath.slice(container.from.length)}`;
|
|
164805
|
+
}
|
|
164634
164806
|
fields.push({
|
|
164635
164807
|
nodeId: node.id,
|
|
164636
164808
|
fieldPath,
|
|
@@ -164761,7 +164933,17 @@ var expressionValidationRule = {
|
|
|
164761
164933
|
}
|
|
164762
164934
|
if (field.expected && diagnostics.every((d) => d.category > 1 || d.start < 0)) {
|
|
164763
164935
|
const isFileField = field.expected.type === "file";
|
|
164764
|
-
|
|
164936
|
+
let result;
|
|
164937
|
+
if (isFileField) {
|
|
164938
|
+
result = await couldBeFile(checker, trimmed, declarations);
|
|
164939
|
+
if (!result.matches && field.expected.allowFileArray) {
|
|
164940
|
+
const arrayResult = await couldBeFileArray(checker, trimmed, declarations);
|
|
164941
|
+
if (arrayResult.matches)
|
|
164942
|
+
result = arrayResult;
|
|
164943
|
+
}
|
|
164944
|
+
} else {
|
|
164945
|
+
result = await checker.doesExpressionMatchType(trimmed, declarations, field.expected.schema ?? mapTypeToTypeScript(field.expected.type));
|
|
164946
|
+
}
|
|
164765
164947
|
if (!result.matches) {
|
|
164766
164948
|
const message = isFileField && result.diagnostics[0]?.code === 2559 ? t("validation_expression_fileExpected_message", {
|
|
164767
164949
|
defaultValue: "This value must be a file. To use a remote file, download the file first with an action that outputs a file, then reference that output."
|
|
@@ -164819,7 +165001,7 @@ function buildEffectiveNodeOutputs(args) {
|
|
|
164819
165001
|
for (const [key, value] of Object.entries(args.instanceOutputs ?? {})) {
|
|
164820
165002
|
effective[key] = key in effective ? mergeManifestOutputOverInstance(value, effective[key]) : value;
|
|
164821
165003
|
}
|
|
164822
|
-
return effective;
|
|
165004
|
+
return resolveInstanceOutputDefinition(args.nodeType, args.inputs, effective) ?? effective;
|
|
164823
165005
|
}
|
|
164824
165006
|
var DEFAULT_ERROR_SCHEMA = {
|
|
164825
165007
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
@@ -164943,10 +165125,6 @@ function buildSubflowPassThroughOutputDefinition(entry, manifestMap, options = {
|
|
|
164943
165125
|
}
|
|
164944
165126
|
return result;
|
|
164945
165127
|
}
|
|
164946
|
-
var UNSAFE_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
164947
|
-
function isUnsafeKey(key) {
|
|
164948
|
-
return UNSAFE_KEYS.has(key);
|
|
164949
|
-
}
|
|
164950
165128
|
function toSchemaType(def) {
|
|
164951
165129
|
const { source: _, var: _v, ...schema } = def ?? {};
|
|
164952
165130
|
return { type: "object", ...schema };
|
|
@@ -165119,7 +165297,9 @@ function hydrateNodeOutputs(node, nodeVariables, context) {
|
|
|
165119
165297
|
manifestOutputs: manifest?.outputDefinition,
|
|
165120
165298
|
nodeVariables: nodeVariables.filter((variable) => variable.binding?.nodeId === node.id),
|
|
165121
165299
|
extraLayers: [subflowLayer(node, context)],
|
|
165122
|
-
instanceOutputs: node.outputs
|
|
165300
|
+
instanceOutputs: node.outputs,
|
|
165301
|
+
nodeType: node.type,
|
|
165302
|
+
inputs: node.inputs
|
|
165123
165303
|
});
|
|
165124
165304
|
}
|
|
165125
165305
|
function subflowLayer(node, context) {
|
|
@@ -177193,4 +177373,4 @@ export {
|
|
|
177193
177373
|
getHeadlessExpressionChecker
|
|
177194
177374
|
};
|
|
177195
177375
|
|
|
177196
|
-
//# debugId=
|
|
177376
|
+
//# debugId=4184072ABA4E650864756E2164756E21
|