@caspian2026/agent-sdk 0.0.20 → 0.0.21
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/{chunk-q8t0ym9s.js → chunk-06xmvpv7.js} +83 -83
- package/dist/{chunk-5gr6ekgm.js → chunk-07069jq1.js} +4 -4
- package/dist/{chunk-ckrs789w.js → chunk-0731m51q.js} +1 -1
- package/dist/chunk-079tw1d6.js +155 -0
- package/dist/{chunk-w2bff8pq.js → chunk-08prz7zp.js} +12 -12
- package/dist/chunk-0hqv6vq3.js +127 -0
- package/dist/{chunk-qqc3b97c.js → chunk-0paqc2yw.js} +1 -1
- package/dist/{chunk-t83amzhd.js → chunk-0r5bb9j4.js} +12 -12
- package/dist/chunk-0rbxzwnb.js +146 -0
- package/dist/chunk-0t81d427.js +41 -0
- package/dist/{chunk-2mfzqkzn.js → chunk-0vkfrmqm.js} +29 -69
- package/dist/{chunk-bs9rn85s.js → chunk-0vp3wfab.js} +1 -1
- package/dist/{chunk-6rcf54zd.js → chunk-0xjaqda8.js} +27 -48
- package/dist/chunk-102ee39t.js +97 -0
- package/dist/chunk-1058brys.js +54 -0
- package/dist/{chunk-ekewg3tj.js → chunk-14qkwgmf.js} +4 -4
- package/dist/{chunk-2b00k9ep.js → chunk-1871fy77.js} +78 -78
- package/dist/{chunk-y83gxqvc.js → chunk-1ae3nt9j.js} +3 -3
- package/dist/{chunk-t3yc7m07.js → chunk-1gx78081.js} +1 -1
- package/dist/{chunk-d99k9r9g.js → chunk-1h2famwb.js} +1 -1
- package/dist/{chunk-vv84k232.js → chunk-1ksywqf6.js} +5 -5
- package/dist/{chunk-6hs3wed5.js → chunk-1q2taz28.js} +7 -7
- package/dist/{chunk-cgzq4zww.js → chunk-21jaw3mt.js} +4 -4
- package/dist/{chunk-ra9hbfyz.js → chunk-24q2kxjm.js} +3 -3
- package/dist/{chunk-ja23mty8.js → chunk-25s7wwvz.js} +83 -83
- package/dist/{chunk-xm9zf0tv.js → chunk-26b7qsct.js} +78 -78
- package/dist/{chunk-e7j6g62d.js → chunk-26sypsqa.js} +10 -11
- package/dist/{chunk-xkra2684.js → chunk-26vzce3s.js} +86 -85
- package/dist/{chunk-ynx3fetd.js → chunk-26wtxbdc.js} +463 -1222
- package/dist/chunk-27dhfb9v.js +77 -0
- package/dist/{chunk-k6cq3j7z.js → chunk-2fwze72g.js} +1 -1
- package/dist/{chunk-rrtpbztr.js → chunk-2gzv8nrw.js} +3 -4
- package/dist/chunk-2mdzhnxj.js +88 -0
- package/dist/{chunk-9b71sn2g.js → chunk-2qghgd3d.js} +41 -41
- package/dist/{chunk-k8by1vfd.js → chunk-2qkcx6gx.js} +19 -19
- package/dist/chunk-2xes6j9k.js +121 -0
- package/dist/{chunk-zp5nvg44.js → chunk-33e7y2ye.js} +2 -2
- package/dist/{chunk-1t3cyn1k.js → chunk-3c25bcsw.js} +1 -1
- package/dist/{chunk-nwdpjkrw.js → chunk-3csagva2.js} +78 -78
- package/dist/{chunk-60a647ty.js → chunk-3jwpbxxx.js} +81 -81
- package/dist/chunk-3mgywd32.js +8 -0
- package/dist/{chunk-52pp0dbk.js → chunk-3mqgy4d8.js} +4 -4
- package/dist/{chunk-568q88qz.js → chunk-3nk79af8.js} +1 -1
- package/dist/chunk-3pm48qgm.js +97 -0
- package/dist/{chunk-rzk001ay.js → chunk-3tx97a7z.js} +85 -85
- package/dist/{chunk-8ady2sm4.js → chunk-3vy1jt9p.js} +8 -8
- package/dist/{chunk-sthmb4xf.js → chunk-3w6dvw7z.js} +78 -78
- package/dist/{chunk-s201s689.js → chunk-40p1xyv4.js} +18 -18
- package/dist/{chunk-j77g2v22.js → chunk-4621eys4.js} +5 -5
- package/dist/{chunk-7deqmrby.js → chunk-46y1vrxs.js} +6 -6
- package/dist/{chunk-khwhppzs.js → chunk-49ce42vr.js} +2 -2
- package/dist/{chunk-6qb753r5.js → chunk-4bjfp2cp.js} +79 -79
- package/dist/{chunk-m6vs965c.js → chunk-4jm600zv.js} +1 -1
- package/dist/{chunk-v2szqm5g.js → chunk-4k9d7gxv.js} +5 -5
- package/dist/{chunk-pqf2bjy1.js → chunk-4nyewkpd.js} +4 -4
- package/dist/{chunk-f79jyxwd.js → chunk-4pbx3g7s.js} +4 -4
- package/dist/{chunk-qrgxbrs9.js → chunk-4sk0ekmh.js} +9810 -2820
- package/dist/{chunk-n3vmrzcy.js → chunk-4th9sgzv.js} +5 -5
- package/dist/{chunk-9drwsb3g.js → chunk-50cqjkgy.js} +80 -80
- package/dist/{chunk-xyzbgjpv.js → chunk-530bp1wc.js} +2 -2
- package/dist/{chunk-tnpk0ne1.js → chunk-55raexh7.js} +935 -2391
- package/dist/{chunk-bbhg7m1a.js → chunk-59564wn5.js} +79 -79
- package/dist/{chunk-z9v4bxrj.js → chunk-5ccdsxgy.js} +3 -3
- package/dist/{chunk-3k8ecscj.js → chunk-5e4jj4hd.js} +78 -78
- package/dist/{chunk-zqajmq38.js → chunk-5ekyhb1w.js} +6 -6
- package/dist/chunk-5h4berfm.js +30 -0
- package/dist/{chunk-t8chhacb.js → chunk-5h5kx2jd.js} +2 -2
- package/dist/chunk-5jkawn33.js +71 -0
- package/dist/{chunk-5v6wr1z4.js → chunk-5n1jc02d.js} +2 -2
- package/dist/{chunk-x09aacvx.js → chunk-5wnkq46y.js} +5 -5
- package/dist/{chunk-r585pc0g.js → chunk-5z28bqne.js} +3 -4
- package/dist/{chunk-gbvmks09.js → chunk-64c1avct.js} +1 -1
- package/dist/{chunk-y8b45mt2.js → chunk-64r16v22.js} +4 -4
- package/dist/{chunk-ej882sb5.js → chunk-65w2019d.js} +26 -26
- package/dist/{chunk-m82ketm1.js → chunk-66wbs5de.js} +78 -78
- package/dist/{chunk-f517h74h.js → chunk-66zry909.js} +1 -1
- package/dist/{chunk-kjx9a9p4.js → chunk-68ffk5qa.js} +2 -2
- package/dist/{chunk-bstyysxw.js → chunk-68ypktng.js} +3 -3
- package/dist/{chunk-xygy5v97.js → chunk-69bms9eh.js} +30 -30
- package/dist/{chunk-5vavvf6y.js → chunk-69n11zng.js} +5 -5
- package/dist/{chunk-7wegz81g.js → chunk-6dj5t602.js} +1 -1
- package/dist/{chunk-vnrevqdf.js → chunk-6dngjwkh.js} +4 -4
- package/dist/{chunk-7kp42hzq.js → chunk-6nsd9606.js} +2 -2
- package/dist/chunk-7641fj0b.js +107 -0
- package/dist/{chunk-fdwtd6s9.js → chunk-7aw745vx.js} +3 -3
- package/dist/{chunk-dv38yqdn.js → chunk-7gy9xrjc.js} +3 -3
- package/dist/{chunk-93hxjnkb.js → chunk-7k74bhsg.js} +78 -78
- package/dist/{chunk-1s9jxpjm.js → chunk-7pz9rdg8.js} +7 -7
- package/dist/{chunk-vd5dh925.js → chunk-7ry9qp54.js} +78 -78
- package/dist/{chunk-8q5fzyem.js → chunk-7sgtxrsc.js} +8 -10
- package/dist/{chunk-vx28ztc7.js → chunk-7v902gw4.js} +20 -20
- package/dist/chunk-7vhfhyq0.js +123 -0
- package/dist/{chunk-dmp3nd67.js → chunk-7w4n7zr8.js} +90 -90
- package/dist/{chunk-7yexhdjs.js → chunk-7wm5s02e.js} +1 -1
- package/dist/{chunk-wfh12nzh.js → chunk-7xyswgjh.js} +1 -1
- package/dist/{chunk-bdhdmkya.js → chunk-83hfzbx3.js} +1 -1
- package/dist/chunk-86fwp0mg.js +148 -0
- package/dist/{chunk-tevzn1xp.js → chunk-8g5pe1gr.js} +1 -1
- package/dist/{chunk-6twsw69m.js → chunk-8knpmkt5.js} +7 -7
- package/dist/chunk-8mpv3j7b.js +105 -0
- package/dist/chunk-8scyf6tf.js +90 -0
- package/dist/{chunk-xj8tk3d7.js → chunk-8yhf030a.js} +3 -3
- package/dist/chunk-92cczfwx.js +903 -0
- package/dist/{chunk-mbfzfg56.js → chunk-9r16nw6z.js} +85 -85
- package/dist/{chunk-s7tq4e5g.js → chunk-9rm2hczd.js} +78 -78
- package/dist/{chunk-s13y3w7e.js → chunk-9shyda79.js} +37 -37
- package/dist/{chunk-c6gpdd2c.js → chunk-9t8650e0.js} +78 -78
- package/dist/{chunk-7e9xcw77.js → chunk-9x5zgy22.js} +1 -1
- package/dist/{chunk-1ytng03p.js → chunk-9znd08ha.js} +12 -12
- package/dist/{chunk-r27tskss.js → chunk-a0qftggg.js} +9 -11
- package/dist/{chunk-0w2ntzwz.js → chunk-ab78zrxc.js} +92 -92
- package/dist/{chunk-638qz5y7.js → chunk-acj1j3dw.js} +5 -5
- package/dist/{chunk-z8n8cjhz.js → chunk-aj7nt1ae.js} +2 -2
- package/dist/{chunk-jwqveqpr.js → chunk-akd5hjav.js} +9 -9
- package/dist/{chunk-et3jfht8.js → chunk-ang6j1ma.js} +16 -16
- package/dist/{chunk-s9jxtj04.js → chunk-arrvgw6z.js} +95 -94
- package/dist/{chunk-cajjdb7j.js → chunk-as3pvrmw.js} +8 -8
- package/dist/{chunk-5f57qtf9.js → chunk-ase86y73.js} +1 -1
- package/dist/{chunk-m12e2wq3.js → chunk-b08zb0sw.js} +80 -80
- package/dist/{chunk-6d05fvxz.js → chunk-b0kf00ff.js} +2 -2
- package/dist/{chunk-r055z03k.js → chunk-b1kcd3ss.js} +1 -1
- package/dist/{chunk-k0dprbnn.js → chunk-ba473zak.js} +78 -78
- package/dist/{chunk-0tja7d1y.js → chunk-bg4x9ex0.js} +6 -6
- package/dist/{chunk-eb4t4ehh.js → chunk-bgzwt111.js} +6 -6
- package/dist/chunk-bh5zqvyc.js +36 -0
- package/dist/{chunk-eynfddhq.js → chunk-bpes1x7d.js} +144 -143
- package/dist/chunk-brbrrj03.js +114 -0
- package/dist/{chunk-zhnnzkzm.js → chunk-brjd9zmk.js} +14 -14
- package/dist/chunk-bs975312.js +133 -0
- package/dist/chunk-bww6hm2e.js +58 -0
- package/dist/{chunk-p0n9ew4x.js → chunk-byfawrfx.js} +4 -4
- package/dist/chunk-c67ypsa8.js +20 -0
- package/dist/chunk-c6sjhj89.js +1284 -0
- package/dist/{chunk-pyn4ry36.js → chunk-c7jwbe76.js} +57 -103
- package/dist/chunk-cdef9v7b.js +27 -0
- package/dist/{chunk-9029sbq1.js → chunk-cdz5yb0r.js} +1 -1
- package/dist/{chunk-4bcx2a3p.js → chunk-cgfdkzhb.js} +1 -1
- package/dist/chunk-cgy9g4wp.js +100 -0
- package/dist/{chunk-fefs2xby.js → chunk-cmtvwbwf.js} +25 -25
- package/dist/{chunk-p8hn07q2.js → chunk-cnsj3vq2.js} +1 -1
- package/dist/{chunk-ngde5k9k.js → chunk-cpywwph7.js} +79 -79
- package/dist/chunk-crcrnd8y.js +55 -0
- package/dist/{chunk-j15xyew5.js → chunk-crfk7ed8.js} +4 -4
- package/dist/{chunk-0a8jb5c8.js → chunk-crvwmrey.js} +9 -9
- package/dist/{chunk-44bqv91d.js → chunk-cxrktb5g.js} +3 -3
- package/dist/{chunk-apjnwens.js → chunk-d4mdda98.js} +8 -8
- package/dist/{chunk-d2cypdsx.js → chunk-d6kvya9n.js} +23 -23
- package/dist/chunk-daqd8kee.js +122 -0
- package/dist/{chunk-cx21etb2.js → chunk-db2awvr6.js} +2 -2
- package/dist/{chunk-b1hygym1.js → chunk-ddsjkqs4.js} +8 -8
- package/dist/{chunk-rx9ypbjy.js → chunk-dfzkwynj.js} +8 -8
- package/dist/{chunk-yteprw63.js → chunk-dhk2dt7n.js} +29 -29
- package/dist/{chunk-rzn9w8p2.js → chunk-dq94esjd.js} +3 -3
- package/dist/{chunk-z8b8f2n3.js → chunk-dw1x0kzg.js} +79 -79
- package/dist/{chunk-k3gvjjm9.js → chunk-e0abab5b.js} +5 -5
- package/dist/{chunk-wyyd1qfn.js → chunk-e28pnfmr.js} +81 -81
- package/dist/{chunk-pg8asjpk.js → chunk-e9w9zc0g.js} +20 -20
- package/dist/chunk-effhh1pw.js +81 -0
- package/dist/{chunk-rfj6gjwh.js → chunk-efrjt26j.js} +14 -14
- package/dist/{chunk-p4e5ymdw.js → chunk-ehtwnxpg.js} +1 -1
- package/dist/chunk-em7h8kqy.js +89 -0
- package/dist/{chunk-yh46f77t.js → chunk-enkgx9p5.js} +78 -78
- package/dist/{chunk-ysfam81t.js → chunk-eqp1rfft.js} +2 -2
- package/dist/{chunk-r4pq77kb.js → chunk-etdt1xz3.js} +3 -3
- package/dist/{chunk-dh01e4bp.js → chunk-ewadzrm8.js} +2 -2
- package/dist/{chunk-7dc9d8fy.js → chunk-f98yad99.js} +7 -7
- package/dist/{chunk-4v1mr2x2.js → chunk-f99jr604.js} +41 -41
- package/dist/{chunk-37j24srh.js → chunk-f9mnmjf4.js} +6 -6
- package/dist/{chunk-qbbf7rr5.js → chunk-fajg8x36.js} +727 -1818
- package/dist/{chunk-snd4pbkp.js → chunk-fbv4apne.js} +1 -1
- package/dist/{chunk-8m1gfrme.js → chunk-fc8mescd.js} +26 -15
- package/dist/{chunk-8a1jee0e.js → chunk-fcynwjpm.js} +2 -2
- package/dist/{chunk-gt43z5zd.js → chunk-fddfa07d.js} +81 -81
- package/dist/{chunk-bq0wp28e.js → chunk-feyzykye.js} +1 -1
- package/dist/chunk-ffcwak1t.js +91 -0
- package/dist/{chunk-25jhz0br.js → chunk-fgmmtj9k.js} +16 -16
- package/dist/{chunk-4kfhh3aw.js → chunk-fj3a38w3.js} +4 -4
- package/dist/chunk-fk60d1qf.js +87 -0
- package/dist/chunk-fnxysrtm.js +52 -0
- package/dist/chunk-fq24vgdm.js +113 -0
- package/dist/{chunk-dy8278wt.js → chunk-fqak69ft.js} +7 -7
- package/dist/{chunk-657k4mef.js → chunk-fs7jna05.js} +79 -79
- package/dist/{chunk-0zscb6c7.js → chunk-fyc5fepv.js} +1 -1
- package/dist/{chunk-vwt2fv6j.js → chunk-g0wv2y40.js} +3 -3
- package/dist/chunk-g3gr434c.js +101 -0
- package/dist/{chunk-v9sy0cj3.js → chunk-g3zgsm5x.js} +10 -10
- package/dist/{chunk-vxsad4bw.js → chunk-g9f19ttm.js} +2 -2
- package/dist/{chunk-bw8y1msy.js → chunk-g9q2patf.js} +5 -5
- package/dist/chunk-gdwdqewd.js +19 -0
- package/dist/{chunk-h8n0a991.js → chunk-ge8zt73c.js} +79 -79
- package/dist/{chunk-3w4xq6cv.js → chunk-gg55fns0.js} +92 -92
- package/dist/chunk-gk8dvdsw.js +140 -0
- package/dist/{chunk-9p62r6he.js → chunk-gw6kn54v.js} +6 -6
- package/dist/chunk-gz1e8y1w.js +33 -0
- package/dist/{chunk-ycpdfeya.js → chunk-gzt1cd1y.js} +79 -79
- package/dist/{chunk-m13ptmf2.js → chunk-h9n54swm.js} +2 -2
- package/dist/{chunk-7njkaxjp.js → chunk-hakdhagh.js} +120 -39
- package/dist/{chunk-dzcb2ekz.js → chunk-hcwcwa84.js} +4 -4
- package/dist/{chunk-1ehn6qdp.js → chunk-hf96emr1.js} +13 -13
- package/dist/{chunk-vq4k182g.js → chunk-hgteysah.js} +5 -5
- package/dist/{chunk-6fx36a3s.js → chunk-hszppxh0.js} +5 -5
- package/dist/chunk-hvbnh0ht.js +131 -0
- package/dist/{chunk-f9ybfyyp.js → chunk-hwfknpxv.js} +2 -2
- package/dist/{chunk-gm8ht8g9.js → chunk-hwyp85fa.js} +6 -6
- package/dist/{chunk-kt25n52f.js → chunk-j5bth84e.js} +4 -4
- package/dist/{chunk-tkbwrjte.js → chunk-j64ga6ta.js} +284 -325
- package/dist/{chunk-1ycd7t0f.js → chunk-jagq2tcw.js} +88 -88
- package/dist/{chunk-trm02xde.js → chunk-jd32zbps.js} +2 -2
- package/dist/{chunk-0f84wjjc.js → chunk-jgwfkvdk.js} +79 -79
- package/dist/{chunk-6fe0an4e.js → chunk-jhrshs1y.js} +79 -79
- package/dist/{chunk-3xamk0n1.js → chunk-jjnmcaeb.js} +25 -25
- package/dist/{chunk-x4x3691j.js → chunk-jtjqrrtq.js} +12 -12
- package/dist/{chunk-pp5zbnpr.js → chunk-jtx7ka0g.js} +80 -80
- package/dist/chunk-jvdhwjth.js +107 -0
- package/dist/{chunk-fpq87r80.js → chunk-jzthz1bx.js} +1 -1
- package/dist/{chunk-taqr0qw1.js → chunk-k0p9w03v.js} +3 -3
- package/dist/{chunk-9re786wa.js → chunk-k4xyha98.js} +40 -40
- package/dist/{chunk-pqxyft7d.js → chunk-k6tvcn37.js} +8 -8
- package/dist/{chunk-a3qtafgw.js → chunk-k8vp0atq.js} +79 -79
- package/dist/chunk-kbqx20y8.js +89 -0
- package/dist/{chunk-h4tnp6dw.js → chunk-khnqc2x8.js} +7 -7
- package/dist/{chunk-s9906sac.js → chunk-kqc0x8w6.js} +83 -83
- package/dist/{chunk-nsxw4b3j.js → chunk-ksq6zjys.js} +8 -8
- package/dist/{chunk-0pbwcm8b.js → chunk-kwekc97v.js} +1 -1
- package/dist/{chunk-qs4stpt5.js → chunk-ky1z78ve.js} +14 -14
- package/dist/{chunk-e22at2jn.js → chunk-m1ergjg5.js} +4 -4
- package/dist/chunk-m4k4mve9.js +130 -0
- package/dist/{chunk-q9y73cmh.js → chunk-mcws22k3.js} +1 -1
- package/dist/chunk-mfdqvcr5.js +50 -0
- package/dist/{chunk-88k0rgdp.js → chunk-mgv4r1af.js} +12 -12
- package/dist/{chunk-62jrhytw.js → chunk-mh52m71p.js} +10 -10
- package/dist/{chunk-pt6vj628.js → chunk-mjcxt56a.js} +9 -9
- package/dist/chunk-mpc6f96q.js +111 -0
- package/dist/{chunk-s5arr49c.js → chunk-mra3tr23.js} +200 -11
- package/dist/{chunk-4e1j46k0.js → chunk-mswx2nma.js} +3 -3
- package/dist/{chunk-zat7q2e0.js → chunk-mxt0a1ab.js} +79 -79
- package/dist/chunk-mympkkbw.js +103 -0
- package/dist/chunk-mzrxzmpm.js +121 -0
- package/dist/{chunk-0b85d7q0.js → chunk-n0zd06za.js} +7 -7
- package/dist/{chunk-jrqjxhxj.js → chunk-n22k5xdw.js} +2 -2
- package/dist/{chunk-7gbe6ftc.js → chunk-n9ftnh2y.js} +10 -10
- package/dist/{chunk-ykvf93ft.js → chunk-nd39ny9k.js} +79 -79
- package/dist/{chunk-mtstpt1e.js → chunk-nd7zx01p.js} +43 -43
- package/dist/{chunk-pnc7q9rt.js → chunk-netzwgv1.js} +1 -1
- package/dist/chunk-nmgj86tt.js +24 -0
- package/dist/{chunk-r1q9s5hs.js → chunk-ns7x6xam.js} +10 -13
- package/dist/{chunk-vbe1ersf.js → chunk-p7vkh4wx.js} +1 -1
- package/dist/{chunk-q74fcthe.js → chunk-p8na2wwp.js} +2 -2
- package/dist/{chunk-tmye4d2k.js → chunk-pajqjgkr.js} +15 -15
- package/dist/{chunk-pg4fbhbm.js → chunk-pe3rkfp2.js} +11 -11
- package/dist/chunk-pe824pp5.js +71 -0
- package/dist/{chunk-sbe9zd56.js → chunk-pgtnj1mt.js} +6 -6
- package/dist/{chunk-41wn5eqw.js → chunk-phr23vzw.js} +10 -10
- package/dist/{chunk-5nqrdqz5.js → chunk-ppwjyveh.js} +1 -1
- package/dist/chunk-pqe0s3es.js +85 -0
- package/dist/{chunk-ja1nqz5q.js → chunk-ps49ymvj.js} +2 -2
- package/dist/{chunk-2vc3fyp9.js → chunk-pwwa7s62.js} +2 -2
- package/dist/chunk-px0z9762.js +91 -0
- package/dist/{chunk-v8k67zfz.js → chunk-q4wj3v8n.js} +392 -1127
- package/dist/{chunk-wwrswxg1.js → chunk-qajrkk97.js} +1 -1
- package/dist/{chunk-b610qrvk.js → chunk-qatfdxvd.js} +3 -3
- package/dist/{chunk-qka6pqrq.js → chunk-qb6k2afy.js} +11 -11
- package/dist/{chunk-rgaedd84.js → chunk-qkczt8cr.js} +5 -5
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/{chunk-eta5aekm.js → chunk-qp2qdcda.js} +30 -9
- package/dist/{chunk-cfpnb7x4.js → chunk-qr516hqj.js} +78 -78
- package/dist/{chunk-a1mewckj.js → chunk-qswz887n.js} +78 -78
- package/dist/{chunk-tnv92c5m.js → chunk-r1w3jrs8.js} +81 -81
- package/dist/chunk-r5q49139.js +93 -0
- package/dist/{chunk-a00gfn8e.js → chunk-rmbbmd3s.js} +2 -2
- package/dist/{chunk-xdxdztxa.js → chunk-rn0v1hk8.js} +1 -1
- package/dist/{chunk-cqb31tfg.js → chunk-rnxctq9p.js} +6 -6
- package/dist/{chunk-z7yj7dfh.js → chunk-rs4yvre8.js} +10 -10
- package/dist/chunk-s07p92v4.js +107 -0
- package/dist/{chunk-fqr6n9z6.js → chunk-s8gy4ky9.js} +3 -3
- package/dist/chunk-s8hykxf5.js +145 -0
- package/dist/{chunk-fr5s5ceq.js → chunk-s8kj6ajy.js} +2 -2
- package/dist/{chunk-39r7sh1h.js → chunk-scz7dzwq.js} +90 -90
- package/dist/{chunk-nztayqyx.js → chunk-sd36yzx8.js} +1 -1
- package/dist/chunk-sgpmpn90.js +35 -0
- package/dist/chunk-sh02d2qn.js +38 -0
- package/dist/{chunk-6c22q39e.js → chunk-sncz1ag3.js} +78 -78
- package/dist/{chunk-0dwdg9bz.js → chunk-ssec5007.js} +9 -9
- package/dist/{chunk-2qpy8kne.js → chunk-szj5wvdy.js} +1 -1
- package/dist/{chunk-4nqm22j3.js → chunk-t29a6zb5.js} +4 -6
- package/dist/{chunk-w60c0dkw.js → chunk-t32ddjb3.js} +5 -5
- package/dist/{chunk-3hcfwedh.js → chunk-t4khqff1.js} +5 -5
- package/dist/{chunk-q53kkzhr.js → chunk-t7j96x8z.js} +80 -80
- package/dist/{chunk-qrdbqeve.js → chunk-t9p85zff.js} +2 -2
- package/dist/{chunk-ma6x4ws8.js → chunk-tgafrp5a.js} +46 -46
- package/dist/{chunk-ewsvbzhz.js → chunk-tgnbeeyx.js} +3 -3
- package/dist/{chunk-yp64t9je.js → chunk-tndhag9g.js} +8 -8
- package/dist/chunk-tr9zera9.js +55 -0
- package/dist/{chunk-5sd5fz78.js → chunk-tz3td6hy.js} +78 -78
- package/dist/{chunk-6vp8zen2.js → chunk-v17y7qay.js} +79 -79
- package/dist/{chunk-zx9r7a23.js → chunk-v1kzp02e.js} +1 -1
- package/dist/{chunk-15f7ee0j.js → chunk-v4t6dyyh.js} +158 -245
- package/dist/{chunk-93kvs6fh.js → chunk-v5brqghz.js} +6 -6
- package/dist/{chunk-he9zw1gh.js → chunk-v78fj8by.js} +2 -2
- package/dist/{chunk-pt1jzmkv.js → chunk-v8kjswxt.js} +2 -2
- package/dist/{chunk-n9ne98cj.js → chunk-v9smspw2.js} +4 -5
- package/dist/{chunk-2bh7f2wa.js → chunk-vbmdqx87.js} +13 -13
- package/dist/{chunk-4yq5zz3m.js → chunk-vcwzs8xk.js} +9 -9
- package/dist/{chunk-wt799fvk.js → chunk-vf612n57.js} +34 -34
- package/dist/chunk-vf9320w1.js +105 -0
- package/dist/{chunk-myac8yfs.js → chunk-vkhrrvfq.js} +5 -5
- package/dist/{chunk-hbz8xggv.js → chunk-vneepj82.js} +11 -11
- package/dist/{chunk-ytt8da3v.js → chunk-vr96pznr.js} +81 -81
- package/dist/chunk-vszex7fm.js +90 -0
- package/dist/{chunk-jw9zwgea.js → chunk-vv7kzavx.js} +4 -4
- package/dist/chunk-vwxpwg2r.js +121 -0
- package/dist/{chunk-bktmgb4n.js → chunk-vyjeh50y.js} +39 -68
- package/dist/{chunk-9rhy5vt7.js → chunk-vzzsjg7m.js} +9 -9
- package/dist/{chunk-yvm9t98e.js → chunk-w0dz2sa5.js} +18 -7
- package/dist/{chunk-xggbj4j9.js → chunk-w1fb9aqj.js} +3 -3
- package/dist/{chunk-hgb8024k.js → chunk-w43b6749.js} +10 -10
- package/dist/{chunk-3hxr3x9d.js → chunk-w6m6trzq.js} +2 -2
- package/dist/chunk-w9a226y4.js +105 -0
- package/dist/{chunk-kcp41jcn.js → chunk-wa8yn2p0.js} +2 -2
- package/dist/{chunk-4fwzreqj.js → chunk-wf16jx1f.js} +6 -6
- package/dist/{chunk-7tdk9ypw.js → chunk-wgk9sxk7.js} +10 -10
- package/dist/{chunk-2bk4jvse.js → chunk-wkny3k77.js} +7 -7
- package/dist/chunk-wsfq03qa.js +101 -0
- package/dist/{chunk-e01rphq3.js → chunk-x12h3n65.js} +727 -128
- package/dist/{chunk-26kp0k1t.js → chunk-x1dw8vry.js} +80 -80
- package/dist/{chunk-jsvsnqkn.js → chunk-x47h283a.js} +2 -2
- package/dist/{chunk-ccdh8eh2.js → chunk-x5wgbcme.js} +38 -38
- package/dist/{chunk-rpta0rqz.js → chunk-x6r4v44b.js} +1 -1
- package/dist/{chunk-tyc5c0q4.js → chunk-x70f036b.js} +8 -8
- package/dist/{chunk-k6wmp81y.js → chunk-x7fdwq3d.js} +1 -1
- package/dist/{chunk-13pmg16e.js → chunk-x8d2ehd7.js} +1 -1
- package/dist/{chunk-dg2k597k.js → chunk-xca0q5ap.js} +9 -9
- package/dist/{chunk-pnrdvxhy.js → chunk-xeb6075z.js} +2 -2
- package/dist/{chunk-n9xhrzxs.js → chunk-xg08qv1e.js} +78 -78
- package/dist/{chunk-7gte8zc4.js → chunk-xhfmdq1y.js} +1 -1
- package/dist/{chunk-gxsrvxjn.js → chunk-xv3era3s.js} +1 -1
- package/dist/chunk-xv78ch6z.js +92 -0
- package/dist/chunk-xy94q6qg.js +114 -0
- package/dist/{chunk-92wwx9vf.js → chunk-y1784krc.js} +2 -2
- package/dist/{chunk-ggk84sc5.js → chunk-y4ca9kqz.js} +4 -4
- package/dist/{chunk-h1tv19q0.js → chunk-y4d1sgf4.js} +80 -80
- package/dist/{chunk-m8qvkabg.js → chunk-y9bhjjdz.js} +4 -4
- package/dist/{chunk-vwkb146r.js → chunk-y9ffgh1g.js} +90 -90
- package/dist/chunk-ycs5r2ef.js +60 -0
- package/dist/{chunk-c2k1n6yb.js → chunk-yde1e32y.js} +16 -16
- package/dist/chunk-yfztvfhh.js +94 -0
- package/dist/{chunk-hhvf84fa.js → chunk-yjk0f08a.js} +188 -186
- package/dist/{chunk-bta8w8ge.js → chunk-yyex5gsf.js} +10 -10
- package/dist/chunk-zcq3r82m.js +93 -0
- package/dist/{chunk-3jbxhytz.js → chunk-zecx4x3b.js} +8 -8
- package/dist/{chunk-7ba45tqg.js → chunk-zpdzhck8.js} +5 -5
- package/dist/{chunk-j0bfbce5.js → chunk-zpw4ny96.js} +36 -36
- package/dist/{chunk-tdf3ha9b.js → chunk-zv1frw5e.js} +79 -79
- package/dist/{chunk-61x3akfa.js → chunk-zxh62ved.js} +2 -2
- package/dist/{chunk-8r1napm7.js → chunk-zzm33q8x.js} +1 -1
- package/dist/cli.js +12 -12
- package/dist/gateway/worker.js +170082 -171912
- package/dist/sdk/query.cjs +18 -8
- package/dist/sdk/query.js +1 -1
- package/package.json +128 -128
- package/dist/chunk-09nzqj0f.js +0 -9605
- package/dist/chunk-0fw1mz8s.js +0 -27
- package/dist/chunk-0pqv68xt.js +0 -133
- package/dist/chunk-0pv13fxq.js +0 -1684
- package/dist/chunk-0tgn1431.js +0 -38
- package/dist/chunk-0yshjsxt.js +0 -122
- package/dist/chunk-0z9s957c.js +0 -94
- package/dist/chunk-1gt45dyg.js +0 -101
- package/dist/chunk-3kx7brrn.js +0 -55
- package/dist/chunk-4kfs8ymb.js +0 -92
- package/dist/chunk-5rhmrt2j.js +0 -121
- package/dist/chunk-626watky.js +0 -50
- package/dist/chunk-6aqa0ec5.js +0 -145
- package/dist/chunk-6zfb4n08.js +0 -91
- package/dist/chunk-73bgy356.js +0 -90
- package/dist/chunk-7nphjzve.js +0 -105
- package/dist/chunk-7sp9dk6d.js +0 -20
- package/dist/chunk-8jmkpx1h.js +0 -123
- package/dist/chunk-9xq7ef8y.js +0 -100
- package/dist/chunk-9ydxqdhe.js +0 -121
- package/dist/chunk-ab6apbd2.js +0 -140
- package/dist/chunk-bdrsheny.js +0 -35
- package/dist/chunk-bvfqg3cg.js +0 -131
- package/dist/chunk-cj0j4n23.js +0 -71
- package/dist/chunk-cynnhyy3.js +0 -103
- package/dist/chunk-d0zx5hba.js +0 -85
- package/dist/chunk-e6s584g7.js +0 -77
- package/dist/chunk-e90dyenj.js +0 -127
- package/dist/chunk-em5s71j6.js +0 -89
- package/dist/chunk-eqcgr89w.js +0 -646
- package/dist/chunk-f9zvs66e.js +0 -105
- package/dist/chunk-gaf31961.js +0 -81
- package/dist/chunk-gkz2djp0.js +0 -121
- package/dist/chunk-gwktnbeg.js +0 -90
- package/dist/chunk-h0bgwz9v.js +0 -55
- package/dist/chunk-h3v46eky.js +0 -105
- package/dist/chunk-hycm92ss.js +0 -52
- package/dist/chunk-j3c5r08n.js +0 -87
- package/dist/chunk-j3q2sbhc.js +0 -107
- package/dist/chunk-k9h7kjf6.js +0 -8
- package/dist/chunk-karea2z2.js +0 -89
- package/dist/chunk-kra9y8qb.js +0 -97
- package/dist/chunk-mwzwm2z2.js +0 -60
- package/dist/chunk-n535j168.js +0 -131
- package/dist/chunk-p9nkqgej.js +0 -19
- package/dist/chunk-pgptefy1.js +0 -114
- package/dist/chunk-pjn0s3j1.js +0 -111
- package/dist/chunk-pkwv0q5q.js +0 -91
- package/dist/chunk-q6m9qgaa.js +0 -88
- package/dist/chunk-r82c7gfc.js +0 -58
- package/dist/chunk-rgshryeb.js +0 -93
- package/dist/chunk-rk2kb2ec.js +0 -101
- package/dist/chunk-s0p653k2.js +0 -93
- package/dist/chunk-skypjdyc.js +0 -147
- package/dist/chunk-tgayhxvz.js +0 -41
- package/dist/chunk-vr5vyt2h.js +0 -107
- package/dist/chunk-vvjhax8n.js +0 -114
- package/dist/chunk-vvsts2t9.js +0 -30
- package/dist/chunk-w287mz4p.js +0 -146
- package/dist/chunk-wa852b5b.js +0 -113
- package/dist/chunk-xbpt4dv8.js +0 -155
- package/dist/chunk-xj72jfpd.js +0 -33
- package/dist/chunk-xwbh3j1x.js +0 -107
- package/dist/chunk-xwrar1c5.js +0 -97
- package/dist/chunk-yt9mady7.js +0 -36
- package/dist/chunk-zfxp82tk.js +0 -24
- package/dist/chunk-zgkngrp4.js +0 -54
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
__esm,
|
|
4
4
|
__export
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-qp2qdcda.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.bun/zod@4.
|
|
7
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/core.js
|
|
8
8
|
function $constructor(name, initializer, params) {
|
|
9
9
|
function init(inst, def) {
|
|
10
10
|
if (!inst._zod) {
|
|
@@ -37,10 +37,10 @@ function $constructor(name, initializer, params) {
|
|
|
37
37
|
}
|
|
38
38
|
Object.defineProperty(Definition, "name", { value: name });
|
|
39
39
|
function _(def) {
|
|
40
|
-
var
|
|
40
|
+
var _a;
|
|
41
41
|
const inst = params?.Parent ? new Definition : this;
|
|
42
42
|
init(inst, def);
|
|
43
|
-
(
|
|
43
|
+
(_a = inst._zod).deferred ?? (_a.deferred = []);
|
|
44
44
|
for (const fn of inst._zod.deferred) {
|
|
45
45
|
fn();
|
|
46
46
|
}
|
|
@@ -62,9 +62,9 @@ function config(newConfig) {
|
|
|
62
62
|
Object.assign(globalConfig, newConfig);
|
|
63
63
|
return globalConfig;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var NEVER, $brand, $ZodAsyncError, $ZodEncodeError, globalConfig;
|
|
66
66
|
var init_core = __esm(() => {
|
|
67
|
-
NEVER =
|
|
67
|
+
NEVER = Object.freeze({
|
|
68
68
|
status: "aborted"
|
|
69
69
|
});
|
|
70
70
|
$brand = Symbol("zod_brand");
|
|
@@ -79,11 +79,10 @@ var init_core = __esm(() => {
|
|
|
79
79
|
this.name = "ZodEncodeError";
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
|
|
83
|
-
globalConfig = globalThis.__zod_globalConfig;
|
|
82
|
+
globalConfig = {};
|
|
84
83
|
});
|
|
85
84
|
|
|
86
|
-
// node_modules/.bun/zod@4.
|
|
85
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/util.js
|
|
87
86
|
var exports_util = {};
|
|
88
87
|
__export(exports_util, {
|
|
89
88
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -125,7 +124,6 @@ __export(exports_util, {
|
|
|
125
124
|
floatSafeRemainder: () => floatSafeRemainder,
|
|
126
125
|
finalizeIssue: () => finalizeIssue,
|
|
127
126
|
extend: () => extend,
|
|
128
|
-
explicitlyAborted: () => explicitlyAborted,
|
|
129
127
|
escapeRegex: () => escapeRegex,
|
|
130
128
|
esc: () => esc,
|
|
131
129
|
defineLazy: () => defineLazy,
|
|
@@ -196,12 +194,19 @@ function cleanRegex(source) {
|
|
|
196
194
|
return source.slice(start, end);
|
|
197
195
|
}
|
|
198
196
|
function floatSafeRemainder(val, step) {
|
|
199
|
-
const
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
const valDecCount = (val.toString().split(".")[1] || "").length;
|
|
198
|
+
const stepString = step.toString();
|
|
199
|
+
let stepDecCount = (stepString.split(".")[1] || "").length;
|
|
200
|
+
if (stepDecCount === 0 && /\d?e-\d?/.test(stepString)) {
|
|
201
|
+
const match = stepString.match(/\d?e-(\d?)/);
|
|
202
|
+
if (match?.[1]) {
|
|
203
|
+
stepDecCount = Number.parseInt(match[1]);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
|
207
|
+
const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
|
|
208
|
+
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
209
|
+
return valInt % stepInt / 10 ** decCount;
|
|
205
210
|
}
|
|
206
211
|
function defineLazy(object, key, getter) {
|
|
207
212
|
let value = undefined;
|
|
@@ -300,10 +305,6 @@ function shallowClone(o) {
|
|
|
300
305
|
return { ...o };
|
|
301
306
|
if (Array.isArray(o))
|
|
302
307
|
return [...o];
|
|
303
|
-
if (o instanceof Map)
|
|
304
|
-
return new Map(o);
|
|
305
|
-
if (o instanceof Set)
|
|
306
|
-
return new Set(o);
|
|
307
308
|
return o;
|
|
308
309
|
}
|
|
309
310
|
function numKeys(data) {
|
|
@@ -472,9 +473,6 @@ function safeExtend(schema, shape) {
|
|
|
472
473
|
return clone(schema, def);
|
|
473
474
|
}
|
|
474
475
|
function merge(a, b) {
|
|
475
|
-
if (a._zod.def.checks?.length) {
|
|
476
|
-
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
477
|
-
}
|
|
478
476
|
const def = mergeDefs(a._zod.def, {
|
|
479
477
|
get shape() {
|
|
480
478
|
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
@@ -484,7 +482,7 @@ function merge(a, b) {
|
|
|
484
482
|
get catchall() {
|
|
485
483
|
return b._zod.def.catchall;
|
|
486
484
|
},
|
|
487
|
-
checks:
|
|
485
|
+
checks: []
|
|
488
486
|
});
|
|
489
487
|
return clone(a, def);
|
|
490
488
|
}
|
|
@@ -567,20 +565,10 @@ function aborted(x, startIndex = 0) {
|
|
|
567
565
|
}
|
|
568
566
|
return false;
|
|
569
567
|
}
|
|
570
|
-
function explicitlyAborted(x, startIndex = 0) {
|
|
571
|
-
if (x.aborted === true)
|
|
572
|
-
return true;
|
|
573
|
-
for (let i = startIndex;i < x.issues.length; i++) {
|
|
574
|
-
if (x.issues[i]?.continue === false) {
|
|
575
|
-
return true;
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
return false;
|
|
579
|
-
}
|
|
580
568
|
function prefixIssues(path, issues) {
|
|
581
569
|
return issues.map((iss) => {
|
|
582
|
-
var
|
|
583
|
-
(
|
|
570
|
+
var _a;
|
|
571
|
+
(_a = iss).path ?? (_a.path = []);
|
|
584
572
|
iss.path.unshift(path);
|
|
585
573
|
return iss;
|
|
586
574
|
});
|
|
@@ -589,14 +577,17 @@ function unwrapMessage(message) {
|
|
|
589
577
|
return typeof message === "string" ? message : message?.message;
|
|
590
578
|
}
|
|
591
579
|
function finalizeIssue(iss, ctx, config2) {
|
|
592
|
-
const
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
if (ctx?.reportInput) {
|
|
597
|
-
rest.input = _input;
|
|
580
|
+
const full = { ...iss, path: iss.path ?? [] };
|
|
581
|
+
if (!iss.message) {
|
|
582
|
+
const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
|
|
583
|
+
full.message = message;
|
|
598
584
|
}
|
|
599
|
-
|
|
585
|
+
delete full.inst;
|
|
586
|
+
delete full.continue;
|
|
587
|
+
if (!ctx?.reportInput) {
|
|
588
|
+
delete full.input;
|
|
589
|
+
}
|
|
590
|
+
return full;
|
|
600
591
|
}
|
|
601
592
|
function getSizableOrigin(input) {
|
|
602
593
|
if (input instanceof Set)
|
|
@@ -738,13 +729,9 @@ var EVALUATING, captureStackTrace, allowsEval, getParsedType = (data) => {
|
|
|
738
729
|
}
|
|
739
730
|
}, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES;
|
|
740
731
|
var init_util = __esm(() => {
|
|
741
|
-
|
|
742
|
-
EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
732
|
+
EVALUATING = Symbol("evaluating");
|
|
743
733
|
captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {};
|
|
744
|
-
allowsEval =
|
|
745
|
-
if (globalConfig.jitless) {
|
|
746
|
-
return false;
|
|
747
|
-
}
|
|
734
|
+
allowsEval = cached(() => {
|
|
748
735
|
if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
|
|
749
736
|
return false;
|
|
750
737
|
}
|
|
@@ -756,15 +743,8 @@ var init_util = __esm(() => {
|
|
|
756
743
|
return false;
|
|
757
744
|
}
|
|
758
745
|
});
|
|
759
|
-
propertyKeyTypes =
|
|
760
|
-
primitiveTypes =
|
|
761
|
-
"string",
|
|
762
|
-
"number",
|
|
763
|
-
"bigint",
|
|
764
|
-
"boolean",
|
|
765
|
-
"symbol",
|
|
766
|
-
"undefined"
|
|
767
|
-
]);
|
|
746
|
+
propertyKeyTypes = new Set(["string", "number", "symbol"]);
|
|
747
|
+
primitiveTypes = new Set(["string", "number", "bigint", "boolean", "symbol", "undefined"]);
|
|
768
748
|
NUMBER_FORMAT_RANGES = {
|
|
769
749
|
safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
|
|
770
750
|
int32: [-2147483648, 2147483647],
|
|
@@ -778,7 +758,7 @@ var init_util = __esm(() => {
|
|
|
778
758
|
};
|
|
779
759
|
});
|
|
780
760
|
|
|
781
|
-
// node_modules/.bun/zod@4.
|
|
761
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/errors.js
|
|
782
762
|
function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
783
763
|
const fieldErrors = {};
|
|
784
764
|
const formErrors = [];
|
|
@@ -794,33 +774,30 @@ function flattenError(error, mapper = (issue2) => issue2.message) {
|
|
|
794
774
|
}
|
|
795
775
|
function formatError(error, mapper = (issue2) => issue2.message) {
|
|
796
776
|
const fieldErrors = { _errors: [] };
|
|
797
|
-
const processError = (error2
|
|
777
|
+
const processError = (error2) => {
|
|
798
778
|
for (const issue2 of error2.issues) {
|
|
799
779
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
800
|
-
issue2.errors.map((issues) => processError({ issues }
|
|
780
|
+
issue2.errors.map((issues) => processError({ issues }));
|
|
801
781
|
} else if (issue2.code === "invalid_key") {
|
|
802
|
-
processError({ issues: issue2.issues }
|
|
782
|
+
processError({ issues: issue2.issues });
|
|
803
783
|
} else if (issue2.code === "invalid_element") {
|
|
804
|
-
processError({ issues: issue2.issues }
|
|
784
|
+
processError({ issues: issue2.issues });
|
|
785
|
+
} else if (issue2.path.length === 0) {
|
|
786
|
+
fieldErrors._errors.push(mapper(issue2));
|
|
805
787
|
} else {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
curr[el] = curr[el] || { _errors: [] };
|
|
817
|
-
} else {
|
|
818
|
-
curr[el] = curr[el] || { _errors: [] };
|
|
819
|
-
curr[el]._errors.push(mapper(issue2));
|
|
820
|
-
}
|
|
821
|
-
curr = curr[el];
|
|
822
|
-
i++;
|
|
788
|
+
let curr = fieldErrors;
|
|
789
|
+
let i = 0;
|
|
790
|
+
while (i < issue2.path.length) {
|
|
791
|
+
const el = issue2.path[i];
|
|
792
|
+
const terminal = i === issue2.path.length - 1;
|
|
793
|
+
if (!terminal) {
|
|
794
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
795
|
+
} else {
|
|
796
|
+
curr[el] = curr[el] || { _errors: [] };
|
|
797
|
+
curr[el]._errors.push(mapper(issue2));
|
|
823
798
|
}
|
|
799
|
+
curr = curr[el];
|
|
800
|
+
i++;
|
|
824
801
|
}
|
|
825
802
|
}
|
|
826
803
|
}
|
|
@@ -831,14 +808,14 @@ function formatError(error, mapper = (issue2) => issue2.message) {
|
|
|
831
808
|
function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
832
809
|
const result = { errors: [] };
|
|
833
810
|
const processError = (error2, path = []) => {
|
|
834
|
-
var
|
|
811
|
+
var _a, _b;
|
|
835
812
|
for (const issue2 of error2.issues) {
|
|
836
813
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
837
|
-
issue2.errors.map((issues) => processError({ issues },
|
|
814
|
+
issue2.errors.map((issues) => processError({ issues }, issue2.path));
|
|
838
815
|
} else if (issue2.code === "invalid_key") {
|
|
839
|
-
processError({ issues: issue2.issues },
|
|
816
|
+
processError({ issues: issue2.issues }, issue2.path);
|
|
840
817
|
} else if (issue2.code === "invalid_element") {
|
|
841
|
-
processError({ issues: issue2.issues },
|
|
818
|
+
processError({ issues: issue2.issues }, issue2.path);
|
|
842
819
|
} else {
|
|
843
820
|
const fullpath = [...path, ...issue2.path];
|
|
844
821
|
if (fullpath.length === 0) {
|
|
@@ -852,7 +829,7 @@ function treeifyError(error, mapper = (issue2) => issue2.message) {
|
|
|
852
829
|
const terminal = i === fullpath.length - 1;
|
|
853
830
|
if (typeof el === "string") {
|
|
854
831
|
curr.properties ?? (curr.properties = {});
|
|
855
|
-
(
|
|
832
|
+
(_a = curr.properties)[el] ?? (_a[el] = { errors: [] });
|
|
856
833
|
curr = curr.properties[el];
|
|
857
834
|
} else {
|
|
858
835
|
curr.items ?? (curr.items = []);
|
|
@@ -922,9 +899,9 @@ var init_errors = __esm(() => {
|
|
|
922
899
|
$ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
923
900
|
});
|
|
924
901
|
|
|
925
|
-
// node_modules/.bun/zod@4.
|
|
902
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/parse.js
|
|
926
903
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
927
|
-
const ctx = _ctx ?
|
|
904
|
+
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
928
905
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
929
906
|
if (result instanceof Promise) {
|
|
930
907
|
throw new $ZodAsyncError;
|
|
@@ -936,7 +913,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
936
913
|
}
|
|
937
914
|
return result.value;
|
|
938
915
|
}, parse, _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
|
|
939
|
-
const ctx = _ctx ?
|
|
916
|
+
const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
|
|
940
917
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
941
918
|
if (result instanceof Promise)
|
|
942
919
|
result = await result;
|
|
@@ -957,7 +934,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
957
934
|
error: new (_Err ?? $ZodError)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
|
|
958
935
|
} : { success: true, data: result.value };
|
|
959
936
|
}, safeParse, _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
960
|
-
const ctx = _ctx ?
|
|
937
|
+
const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
|
|
961
938
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
962
939
|
if (result instanceof Promise)
|
|
963
940
|
result = await result;
|
|
@@ -966,22 +943,22 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
|
966
943
|
error: new _Err(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
|
|
967
944
|
} : { success: true, data: result.value };
|
|
968
945
|
}, safeParseAsync, _encode = (_Err) => (schema, value, _ctx) => {
|
|
969
|
-
const ctx = _ctx ?
|
|
946
|
+
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
970
947
|
return _parse(_Err)(schema, value, ctx);
|
|
971
948
|
}, encode, _decode = (_Err) => (schema, value, _ctx) => {
|
|
972
949
|
return _parse(_Err)(schema, value, _ctx);
|
|
973
950
|
}, decode, _encodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
974
|
-
const ctx = _ctx ?
|
|
951
|
+
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
975
952
|
return _parseAsync(_Err)(schema, value, ctx);
|
|
976
953
|
}, encodeAsync, _decodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
977
954
|
return _parseAsync(_Err)(schema, value, _ctx);
|
|
978
955
|
}, decodeAsync, _safeEncode = (_Err) => (schema, value, _ctx) => {
|
|
979
|
-
const ctx = _ctx ?
|
|
956
|
+
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
980
957
|
return _safeParse(_Err)(schema, value, ctx);
|
|
981
958
|
}, safeEncode, _safeDecode = (_Err) => (schema, value, _ctx) => {
|
|
982
959
|
return _safeParse(_Err)(schema, value, _ctx);
|
|
983
960
|
}, safeDecode, _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
984
|
-
const ctx = _ctx ?
|
|
961
|
+
const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
|
|
985
962
|
return _safeParseAsync(_Err)(schema, value, ctx);
|
|
986
963
|
}, safeEncodeAsync, _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
987
964
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
@@ -1004,7 +981,7 @@ var init_parse = __esm(() => {
|
|
|
1004
981
|
safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1005
982
|
});
|
|
1006
983
|
|
|
1007
|
-
// node_modules/.bun/zod@4.
|
|
984
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/regexes.js
|
|
1008
985
|
var exports_regexes = {};
|
|
1009
986
|
__export(exports_regexes, {
|
|
1010
987
|
xid: () => xid,
|
|
@@ -1044,7 +1021,6 @@ __export(exports_regexes, {
|
|
|
1044
1021
|
ipv4: () => ipv4,
|
|
1045
1022
|
integer: () => integer,
|
|
1046
1023
|
idnEmail: () => idnEmail,
|
|
1047
|
-
httpProtocol: () => httpProtocol,
|
|
1048
1024
|
html5Email: () => html5Email,
|
|
1049
1025
|
hostname: () => hostname,
|
|
1050
1026
|
hex: () => hex,
|
|
@@ -1101,13 +1077,13 @@ var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uui
|
|
|
1101
1077
|
}, uuid4, uuid6, uuid7, email, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`, ipv4, ipv6, mac = (delimiter) => {
|
|
1102
1078
|
const escapedDelim = escapeRegex(delimiter ?? ":");
|
|
1103
1079
|
return new RegExp(`^(?:[0-9A-F]{2}${escapedDelim}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${escapedDelim}){5}[0-9a-f]{2}$`);
|
|
1104
|
-
}, cidrv4, cidrv6, base64, base64url, hostname, domain,
|
|
1080
|
+
}, cidrv4, cidrv6, base64, base64url, hostname, domain, e164, dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`, date, string = (params) => {
|
|
1105
1081
|
const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
|
|
1106
1082
|
return new RegExp(`^${regex}$`);
|
|
1107
1083
|
}, bigint, integer, number, boolean, _null, _undefined, lowercase, uppercase, hex, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url;
|
|
1108
1084
|
var init_regexes = __esm(() => {
|
|
1109
1085
|
init_util();
|
|
1110
|
-
cuid = /^[cC][
|
|
1086
|
+
cuid = /^[cC][^\s-]{8,}$/;
|
|
1111
1087
|
cuid2 = /^[0-9a-z]+$/;
|
|
1112
1088
|
ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
1113
1089
|
xid = /^[0-9a-vA-V]{20}$/;
|
|
@@ -1133,7 +1109,6 @@ var init_regexes = __esm(() => {
|
|
|
1133
1109
|
base64url = /^[A-Za-z0-9_-]*$/;
|
|
1134
1110
|
hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
|
|
1135
1111
|
domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
|
|
1136
|
-
httpProtocol = /^https?$/;
|
|
1137
1112
|
e164 = /^\+[1-9]\d{6,14}$/;
|
|
1138
1113
|
date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
|
|
1139
1114
|
bigint = /^-?\d+n?$/;
|
|
@@ -1162,7 +1137,7 @@ var init_regexes = __esm(() => {
|
|
|
1162
1137
|
sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1163
1138
|
});
|
|
1164
1139
|
|
|
1165
|
-
// node_modules/.bun/zod@4.
|
|
1140
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/checks.js
|
|
1166
1141
|
function handleCheckPropertyResult(result, payload, property) {
|
|
1167
1142
|
if (result.issues.length) {
|
|
1168
1143
|
payload.issues.push(...prefixIssues(property, result.issues));
|
|
@@ -1174,10 +1149,10 @@ var init_checks = __esm(() => {
|
|
|
1174
1149
|
init_regexes();
|
|
1175
1150
|
init_util();
|
|
1176
1151
|
$ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1177
|
-
var
|
|
1152
|
+
var _a;
|
|
1178
1153
|
inst._zod ?? (inst._zod = {});
|
|
1179
1154
|
inst._zod.def = def;
|
|
1180
|
-
(
|
|
1155
|
+
(_a = inst._zod).onattach ?? (_a.onattach = []);
|
|
1181
1156
|
});
|
|
1182
1157
|
numericOriginMap = {
|
|
1183
1158
|
number: "number",
|
|
@@ -1243,8 +1218,8 @@ var init_checks = __esm(() => {
|
|
|
1243
1218
|
$ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
|
|
1244
1219
|
$ZodCheck.init(inst, def);
|
|
1245
1220
|
inst._zod.onattach.push((inst2) => {
|
|
1246
|
-
var
|
|
1247
|
-
(
|
|
1221
|
+
var _a;
|
|
1222
|
+
(_a = inst2._zod.bag).multipleOf ?? (_a.multipleOf = def.value);
|
|
1248
1223
|
});
|
|
1249
1224
|
inst._zod.check = (payload) => {
|
|
1250
1225
|
if (typeof payload.value !== typeof def.value)
|
|
@@ -1377,9 +1352,9 @@ var init_checks = __esm(() => {
|
|
|
1377
1352
|
};
|
|
1378
1353
|
});
|
|
1379
1354
|
$ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
|
|
1380
|
-
var
|
|
1355
|
+
var _a;
|
|
1381
1356
|
$ZodCheck.init(inst, def);
|
|
1382
|
-
(
|
|
1357
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1383
1358
|
const val = payload.value;
|
|
1384
1359
|
return !nullish(val) && val.size !== undefined;
|
|
1385
1360
|
});
|
|
@@ -1405,9 +1380,9 @@ var init_checks = __esm(() => {
|
|
|
1405
1380
|
};
|
|
1406
1381
|
});
|
|
1407
1382
|
$ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
|
|
1408
|
-
var
|
|
1383
|
+
var _a;
|
|
1409
1384
|
$ZodCheck.init(inst, def);
|
|
1410
|
-
(
|
|
1385
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1411
1386
|
const val = payload.value;
|
|
1412
1387
|
return !nullish(val) && val.size !== undefined;
|
|
1413
1388
|
});
|
|
@@ -1433,9 +1408,9 @@ var init_checks = __esm(() => {
|
|
|
1433
1408
|
};
|
|
1434
1409
|
});
|
|
1435
1410
|
$ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
|
|
1436
|
-
var
|
|
1411
|
+
var _a;
|
|
1437
1412
|
$ZodCheck.init(inst, def);
|
|
1438
|
-
(
|
|
1413
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1439
1414
|
const val = payload.value;
|
|
1440
1415
|
return !nullish(val) && val.size !== undefined;
|
|
1441
1416
|
});
|
|
@@ -1463,9 +1438,9 @@ var init_checks = __esm(() => {
|
|
|
1463
1438
|
};
|
|
1464
1439
|
});
|
|
1465
1440
|
$ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
1466
|
-
var
|
|
1441
|
+
var _a;
|
|
1467
1442
|
$ZodCheck.init(inst, def);
|
|
1468
|
-
(
|
|
1443
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1469
1444
|
const val = payload.value;
|
|
1470
1445
|
return !nullish(val) && val.length !== undefined;
|
|
1471
1446
|
});
|
|
@@ -1492,9 +1467,9 @@ var init_checks = __esm(() => {
|
|
|
1492
1467
|
};
|
|
1493
1468
|
});
|
|
1494
1469
|
$ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
1495
|
-
var
|
|
1470
|
+
var _a;
|
|
1496
1471
|
$ZodCheck.init(inst, def);
|
|
1497
|
-
(
|
|
1472
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1498
1473
|
const val = payload.value;
|
|
1499
1474
|
return !nullish(val) && val.length !== undefined;
|
|
1500
1475
|
});
|
|
@@ -1521,9 +1496,9 @@ var init_checks = __esm(() => {
|
|
|
1521
1496
|
};
|
|
1522
1497
|
});
|
|
1523
1498
|
$ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
1524
|
-
var
|
|
1499
|
+
var _a;
|
|
1525
1500
|
$ZodCheck.init(inst, def);
|
|
1526
|
-
(
|
|
1501
|
+
(_a = inst._zod.def).when ?? (_a.when = (payload) => {
|
|
1527
1502
|
const val = payload.value;
|
|
1528
1503
|
return !nullish(val) && val.length !== undefined;
|
|
1529
1504
|
});
|
|
@@ -1552,7 +1527,7 @@ var init_checks = __esm(() => {
|
|
|
1552
1527
|
};
|
|
1553
1528
|
});
|
|
1554
1529
|
$ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
1555
|
-
var
|
|
1530
|
+
var _a, _b;
|
|
1556
1531
|
$ZodCheck.init(inst, def);
|
|
1557
1532
|
inst._zod.onattach.push((inst2) => {
|
|
1558
1533
|
const bag = inst2._zod.bag;
|
|
@@ -1563,7 +1538,7 @@ var init_checks = __esm(() => {
|
|
|
1563
1538
|
}
|
|
1564
1539
|
});
|
|
1565
1540
|
if (def.pattern)
|
|
1566
|
-
(
|
|
1541
|
+
(_a = inst._zod).check ?? (_a.check = (payload) => {
|
|
1567
1542
|
def.pattern.lastIndex = 0;
|
|
1568
1543
|
if (def.pattern.test(payload.value))
|
|
1569
1544
|
return;
|
|
@@ -1715,7 +1690,7 @@ var init_checks = __esm(() => {
|
|
|
1715
1690
|
});
|
|
1716
1691
|
});
|
|
1717
1692
|
|
|
1718
|
-
// node_modules/.bun/zod@4.
|
|
1693
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/doc.js
|
|
1719
1694
|
class Doc {
|
|
1720
1695
|
constructor(args = []) {
|
|
1721
1696
|
this.content = [];
|
|
@@ -1754,22 +1729,20 @@ class Doc {
|
|
|
1754
1729
|
}
|
|
1755
1730
|
var init_doc = () => {};
|
|
1756
1731
|
|
|
1757
|
-
// node_modules/.bun/zod@4.
|
|
1732
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/versions.js
|
|
1758
1733
|
var version;
|
|
1759
1734
|
var init_versions = __esm(() => {
|
|
1760
1735
|
version = {
|
|
1761
1736
|
major: 4,
|
|
1762
|
-
minor:
|
|
1763
|
-
patch:
|
|
1737
|
+
minor: 3,
|
|
1738
|
+
patch: 6
|
|
1764
1739
|
};
|
|
1765
1740
|
});
|
|
1766
1741
|
|
|
1767
|
-
// node_modules/.bun/zod@4.
|
|
1742
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/schemas.js
|
|
1768
1743
|
function isValidBase64(data) {
|
|
1769
1744
|
if (data === "")
|
|
1770
1745
|
return true;
|
|
1771
|
-
if (/\s/.test(data))
|
|
1772
|
-
return false;
|
|
1773
1746
|
if (data.length % 4 !== 0)
|
|
1774
1747
|
return false;
|
|
1775
1748
|
try {
|
|
@@ -1812,27 +1785,15 @@ function handleArrayResult(result, final, index) {
|
|
|
1812
1785
|
}
|
|
1813
1786
|
final.value[index] = result.value;
|
|
1814
1787
|
}
|
|
1815
|
-
function handlePropertyResult(result, final, key, input,
|
|
1816
|
-
const isPresent = key in input;
|
|
1788
|
+
function handlePropertyResult(result, final, key, input, isOptionalOut) {
|
|
1817
1789
|
if (result.issues.length) {
|
|
1818
|
-
if (
|
|
1790
|
+
if (isOptionalOut && !(key in input)) {
|
|
1819
1791
|
return;
|
|
1820
1792
|
}
|
|
1821
1793
|
final.issues.push(...prefixIssues(key, result.issues));
|
|
1822
1794
|
}
|
|
1823
|
-
if (!isPresent && !isOptionalIn) {
|
|
1824
|
-
if (!result.issues.length) {
|
|
1825
|
-
final.issues.push({
|
|
1826
|
-
code: "invalid_type",
|
|
1827
|
-
expected: "nonoptional",
|
|
1828
|
-
input: undefined,
|
|
1829
|
-
path: [key]
|
|
1830
|
-
});
|
|
1831
|
-
}
|
|
1832
|
-
return;
|
|
1833
|
-
}
|
|
1834
1795
|
if (result.value === undefined) {
|
|
1835
|
-
if (
|
|
1796
|
+
if (key in input) {
|
|
1836
1797
|
final.value[key] = undefined;
|
|
1837
1798
|
}
|
|
1838
1799
|
} else {
|
|
@@ -1860,11 +1821,8 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
1860
1821
|
const keySet = def.keySet;
|
|
1861
1822
|
const _catchall = def.catchall._zod;
|
|
1862
1823
|
const t = _catchall.def.type;
|
|
1863
|
-
const isOptionalIn = _catchall.optin === "optional";
|
|
1864
1824
|
const isOptionalOut = _catchall.optout === "optional";
|
|
1865
1825
|
for (const key in input) {
|
|
1866
|
-
if (key === "__proto__")
|
|
1867
|
-
continue;
|
|
1868
1826
|
if (keySet.has(key))
|
|
1869
1827
|
continue;
|
|
1870
1828
|
if (t === "never") {
|
|
@@ -1873,9 +1831,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
1873
1831
|
}
|
|
1874
1832
|
const r = _catchall.run({ value: input[key], issues: [] }, ctx);
|
|
1875
1833
|
if (r instanceof Promise) {
|
|
1876
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input,
|
|
1834
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
1877
1835
|
} else {
|
|
1878
|
-
handlePropertyResult(r, payload, key, input,
|
|
1836
|
+
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
1879
1837
|
}
|
|
1880
1838
|
}
|
|
1881
1839
|
if (unrecognized.length) {
|
|
@@ -2019,41 +1977,12 @@ function handleIntersectionResults(result, left, right) {
|
|
|
2019
1977
|
result.value = merged.data;
|
|
2020
1978
|
return result;
|
|
2021
1979
|
}
|
|
2022
|
-
function getTupleOptStart(items, key) {
|
|
2023
|
-
for (let i = items.length - 1;i >= 0; i--) {
|
|
2024
|
-
if (items[i]._zod[key] !== "optional")
|
|
2025
|
-
return i + 1;
|
|
2026
|
-
}
|
|
2027
|
-
return 0;
|
|
2028
|
-
}
|
|
2029
1980
|
function handleTupleResult(result, final, index) {
|
|
2030
1981
|
if (result.issues.length) {
|
|
2031
1982
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
2032
1983
|
}
|
|
2033
1984
|
final.value[index] = result.value;
|
|
2034
1985
|
}
|
|
2035
|
-
function handleTupleResults(itemResults, final, items, input, optoutStart) {
|
|
2036
|
-
for (let i = 0;i < items.length; i++) {
|
|
2037
|
-
const r = itemResults[i];
|
|
2038
|
-
const isPresent = i < input.length;
|
|
2039
|
-
if (r.issues.length) {
|
|
2040
|
-
if (!isPresent && i >= optoutStart) {
|
|
2041
|
-
final.value.length = i;
|
|
2042
|
-
break;
|
|
2043
|
-
}
|
|
2044
|
-
final.issues.push(...prefixIssues(i, r.issues));
|
|
2045
|
-
}
|
|
2046
|
-
final.value[i] = r.value;
|
|
2047
|
-
}
|
|
2048
|
-
for (let i = final.value.length - 1;i >= input.length; i--) {
|
|
2049
|
-
if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
|
|
2050
|
-
final.value.length = i;
|
|
2051
|
-
} else {
|
|
2052
|
-
break;
|
|
2053
|
-
}
|
|
2054
|
-
}
|
|
2055
|
-
return final;
|
|
2056
|
-
}
|
|
2057
1986
|
function handleMapResult(keyResult, valueResult, final, key, input, inst, ctx) {
|
|
2058
1987
|
if (keyResult.issues.length) {
|
|
2059
1988
|
if (propertyKeyTypes.has(typeof key)) {
|
|
@@ -2091,7 +2020,7 @@ function handleSetResult(result, final) {
|
|
|
2091
2020
|
final.value.add(result.value);
|
|
2092
2021
|
}
|
|
2093
2022
|
function handleOptionalResult(result, input) {
|
|
2094
|
-
if (
|
|
2023
|
+
if (result.issues.length && input === undefined) {
|
|
2095
2024
|
return { issues: [], value: undefined };
|
|
2096
2025
|
}
|
|
2097
2026
|
return result;
|
|
@@ -2118,7 +2047,7 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2118
2047
|
left.aborted = true;
|
|
2119
2048
|
return left;
|
|
2120
2049
|
}
|
|
2121
|
-
return next._zod.run({ value: left.value, issues: left.issues
|
|
2050
|
+
return next._zod.run({ value: left.value, issues: left.issues }, ctx);
|
|
2122
2051
|
}
|
|
2123
2052
|
function handleCodecAResult(result, def, ctx) {
|
|
2124
2053
|
if (result.issues.length) {
|
|
@@ -2165,7 +2094,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2165
2094
|
payload.issues.push(issue(_iss));
|
|
2166
2095
|
}
|
|
2167
2096
|
}
|
|
2168
|
-
var $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, $ZodIPv6, $ZodMAC, $ZodCIDRv4, $ZodCIDRv6, $ZodBase64, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodCustomStringFormat, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodBigInt, $ZodBigIntFormat, $ZodSymbol, $ZodUndefined, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodVoid, $ZodDate, $ZodArray, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodXor, $ZodDiscriminatedUnion, $ZodIntersection, $ZodTuple, $ZodRecord, $ZodMap, $ZodSet, $ZodEnum, $ZodLiteral, $ZodFile, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodSuccess, $ZodCatch, $ZodNaN, $ZodPipe, $ZodCodec, $
|
|
2097
|
+
var $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, $ZodIPv6, $ZodMAC, $ZodCIDRv4, $ZodCIDRv6, $ZodBase64, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodCustomStringFormat, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodBigInt, $ZodBigIntFormat, $ZodSymbol, $ZodUndefined, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodVoid, $ZodDate, $ZodArray, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodXor, $ZodDiscriminatedUnion, $ZodIntersection, $ZodTuple, $ZodRecord, $ZodMap, $ZodSet, $ZodEnum, $ZodLiteral, $ZodFile, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodSuccess, $ZodCatch, $ZodNaN, $ZodPipe, $ZodCodec, $ZodReadonly, $ZodTemplateLiteral, $ZodFunction, $ZodPromise, $ZodLazy, $ZodCustom;
|
|
2169
2098
|
var init_schemas = __esm(() => {
|
|
2170
2099
|
init_checks();
|
|
2171
2100
|
init_core();
|
|
@@ -2176,7 +2105,7 @@ var init_schemas = __esm(() => {
|
|
|
2176
2105
|
init_versions();
|
|
2177
2106
|
init_util();
|
|
2178
2107
|
$ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2179
|
-
var
|
|
2108
|
+
var _a;
|
|
2180
2109
|
inst ?? (inst = {});
|
|
2181
2110
|
inst._zod.def = def;
|
|
2182
2111
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -2191,7 +2120,7 @@ var init_schemas = __esm(() => {
|
|
|
2191
2120
|
}
|
|
2192
2121
|
}
|
|
2193
2122
|
if (checks.length === 0) {
|
|
2194
|
-
(
|
|
2123
|
+
(_a = inst._zod).deferred ?? (_a.deferred = []);
|
|
2195
2124
|
inst._zod.deferred?.push(() => {
|
|
2196
2125
|
inst._zod.run = inst._zod.parse;
|
|
2197
2126
|
});
|
|
@@ -2201,8 +2130,6 @@ var init_schemas = __esm(() => {
|
|
|
2201
2130
|
let asyncResult;
|
|
2202
2131
|
for (const ch of checks2) {
|
|
2203
2132
|
if (ch._zod.def.when) {
|
|
2204
|
-
if (explicitlyAborted(payload))
|
|
2205
|
-
continue;
|
|
2206
2133
|
const shouldRun = ch._zod.def.when(payload);
|
|
2207
2134
|
if (!shouldRun)
|
|
2208
2135
|
continue;
|
|
@@ -2342,19 +2269,6 @@ var init_schemas = __esm(() => {
|
|
|
2342
2269
|
inst._zod.check = (payload) => {
|
|
2343
2270
|
try {
|
|
2344
2271
|
const trimmed = payload.value.trim();
|
|
2345
|
-
if (!def.normalize && def.protocol?.source === httpProtocol.source) {
|
|
2346
|
-
if (!/^https?:\/\//i.test(trimmed)) {
|
|
2347
|
-
payload.issues.push({
|
|
2348
|
-
code: "invalid_format",
|
|
2349
|
-
format: "url",
|
|
2350
|
-
note: "Invalid URL format",
|
|
2351
|
-
input: payload.value,
|
|
2352
|
-
inst,
|
|
2353
|
-
continue: !def.abort
|
|
2354
|
-
});
|
|
2355
|
-
return;
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
2272
|
const url = new URL(trimmed);
|
|
2359
2273
|
if (def.hostname) {
|
|
2360
2274
|
def.hostname.lastIndex = 0;
|
|
@@ -2658,6 +2572,8 @@ var init_schemas = __esm(() => {
|
|
|
2658
2572
|
$ZodType.init(inst, def);
|
|
2659
2573
|
inst._zod.pattern = _undefined;
|
|
2660
2574
|
inst._zod.values = new Set([undefined]);
|
|
2575
|
+
inst._zod.optin = "optional";
|
|
2576
|
+
inst._zod.optout = "optional";
|
|
2661
2577
|
inst._zod.parse = (payload, _ctx) => {
|
|
2662
2578
|
const input = payload.value;
|
|
2663
2579
|
if (typeof input === "undefined")
|
|
@@ -2828,13 +2744,12 @@ var init_schemas = __esm(() => {
|
|
|
2828
2744
|
const shape = value.shape;
|
|
2829
2745
|
for (const key of value.keys) {
|
|
2830
2746
|
const el = shape[key];
|
|
2831
|
-
const isOptionalIn = el._zod.optin === "optional";
|
|
2832
2747
|
const isOptionalOut = el._zod.optout === "optional";
|
|
2833
2748
|
const r = el._zod.run({ value: input[key], issues: [] }, ctx);
|
|
2834
2749
|
if (r instanceof Promise) {
|
|
2835
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input,
|
|
2750
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
|
|
2836
2751
|
} else {
|
|
2837
|
-
handlePropertyResult(r, payload, key, input,
|
|
2752
|
+
handlePropertyResult(r, payload, key, input, isOptionalOut);
|
|
2838
2753
|
}
|
|
2839
2754
|
}
|
|
2840
2755
|
if (!catchall) {
|
|
@@ -2865,10 +2780,9 @@ var init_schemas = __esm(() => {
|
|
|
2865
2780
|
const id = ids[key];
|
|
2866
2781
|
const k = esc(key);
|
|
2867
2782
|
const schema = shape[key];
|
|
2868
|
-
const isOptionalIn = schema?._zod?.optin === "optional";
|
|
2869
2783
|
const isOptionalOut = schema?._zod?.optout === "optional";
|
|
2870
2784
|
doc.write(`const ${id} = ${parseStr(key)};`);
|
|
2871
|
-
if (
|
|
2785
|
+
if (isOptionalOut) {
|
|
2872
2786
|
doc.write(`
|
|
2873
2787
|
if (${id}.issues.length) {
|
|
2874
2788
|
if (${k} in input) {
|
|
@@ -2887,33 +2801,6 @@ var init_schemas = __esm(() => {
|
|
|
2887
2801
|
newResult[${k}] = ${id}.value;
|
|
2888
2802
|
}
|
|
2889
2803
|
|
|
2890
|
-
`);
|
|
2891
|
-
} else if (!isOptionalIn) {
|
|
2892
|
-
doc.write(`
|
|
2893
|
-
const ${id}_present = ${k} in input;
|
|
2894
|
-
if (${id}.issues.length) {
|
|
2895
|
-
payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
|
|
2896
|
-
...iss,
|
|
2897
|
-
path: iss.path ? [${k}, ...iss.path] : [${k}]
|
|
2898
|
-
})));
|
|
2899
|
-
}
|
|
2900
|
-
if (!${id}_present && !${id}.issues.length) {
|
|
2901
|
-
payload.issues.push({
|
|
2902
|
-
code: "invalid_type",
|
|
2903
|
-
expected: "nonoptional",
|
|
2904
|
-
input: undefined,
|
|
2905
|
-
path: [${k}]
|
|
2906
|
-
});
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
if (${id}_present) {
|
|
2910
|
-
if (${id}.value === undefined) {
|
|
2911
|
-
newResult[${k}] = undefined;
|
|
2912
|
-
} else {
|
|
2913
|
-
newResult[${k}] = ${id}.value;
|
|
2914
|
-
}
|
|
2915
|
-
}
|
|
2916
|
-
|
|
2917
2804
|
`);
|
|
2918
2805
|
} else {
|
|
2919
2806
|
doc.write(`
|
|
@@ -2987,9 +2874,10 @@ var init_schemas = __esm(() => {
|
|
|
2987
2874
|
}
|
|
2988
2875
|
return;
|
|
2989
2876
|
});
|
|
2990
|
-
const
|
|
2877
|
+
const single = def.options.length === 1;
|
|
2878
|
+
const first = def.options[0]._zod.run;
|
|
2991
2879
|
inst._zod.parse = (payload, ctx) => {
|
|
2992
|
-
if (
|
|
2880
|
+
if (single) {
|
|
2993
2881
|
return first(payload, ctx);
|
|
2994
2882
|
}
|
|
2995
2883
|
let async = false;
|
|
@@ -3018,9 +2906,10 @@ var init_schemas = __esm(() => {
|
|
|
3018
2906
|
$ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
|
|
3019
2907
|
$ZodUnion.init(inst, def);
|
|
3020
2908
|
def.inclusive = false;
|
|
3021
|
-
const
|
|
2909
|
+
const single = def.options.length === 1;
|
|
2910
|
+
const first = def.options[0]._zod.run;
|
|
3022
2911
|
inst._zod.parse = (payload, ctx) => {
|
|
3023
|
-
if (
|
|
2912
|
+
if (single) {
|
|
3024
2913
|
return first(payload, ctx);
|
|
3025
2914
|
}
|
|
3026
2915
|
let async = false;
|
|
@@ -3095,7 +2984,7 @@ var init_schemas = __esm(() => {
|
|
|
3095
2984
|
if (opt) {
|
|
3096
2985
|
return opt._zod.run(payload, ctx);
|
|
3097
2986
|
}
|
|
3098
|
-
if (def.unionFallback
|
|
2987
|
+
if (def.unionFallback) {
|
|
3099
2988
|
return _super(payload, ctx);
|
|
3100
2989
|
}
|
|
3101
2990
|
payload.issues.push({
|
|
@@ -3103,7 +2992,6 @@ var init_schemas = __esm(() => {
|
|
|
3103
2992
|
errors: [],
|
|
3104
2993
|
note: "No matching discriminator",
|
|
3105
2994
|
discriminator: def.discriminator,
|
|
3106
|
-
options: Array.from(disc.value.keys()),
|
|
3107
2995
|
input,
|
|
3108
2996
|
path: [def.discriminator],
|
|
3109
2997
|
inst
|
|
@@ -3142,59 +3030,56 @@ var init_schemas = __esm(() => {
|
|
|
3142
3030
|
}
|
|
3143
3031
|
payload.value = [];
|
|
3144
3032
|
const proms = [];
|
|
3145
|
-
const
|
|
3146
|
-
const
|
|
3033
|
+
const reversedIndex = [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
|
|
3034
|
+
const optStart = reversedIndex === -1 ? 0 : items.length - reversedIndex;
|
|
3147
3035
|
if (!def.rest) {
|
|
3148
|
-
|
|
3036
|
+
const tooBig = input.length > items.length;
|
|
3037
|
+
const tooSmall = input.length < optStart - 1;
|
|
3038
|
+
if (tooBig || tooSmall) {
|
|
3149
3039
|
payload.issues.push({
|
|
3150
|
-
code: "too_small",
|
|
3151
|
-
minimum: optinStart,
|
|
3152
|
-
inclusive: true,
|
|
3040
|
+
...tooBig ? { code: "too_big", maximum: items.length, inclusive: true } : { code: "too_small", minimum: items.length },
|
|
3153
3041
|
input,
|
|
3154
3042
|
inst,
|
|
3155
3043
|
origin: "array"
|
|
3156
3044
|
});
|
|
3157
3045
|
return payload;
|
|
3158
3046
|
}
|
|
3159
|
-
if (input.length > items.length) {
|
|
3160
|
-
payload.issues.push({
|
|
3161
|
-
code: "too_big",
|
|
3162
|
-
maximum: items.length,
|
|
3163
|
-
inclusive: true,
|
|
3164
|
-
input,
|
|
3165
|
-
inst,
|
|
3166
|
-
origin: "array"
|
|
3167
|
-
});
|
|
3168
|
-
}
|
|
3169
3047
|
}
|
|
3170
|
-
|
|
3171
|
-
for (
|
|
3172
|
-
|
|
3173
|
-
if (
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3048
|
+
let i = -1;
|
|
3049
|
+
for (const item of items) {
|
|
3050
|
+
i++;
|
|
3051
|
+
if (i >= input.length) {
|
|
3052
|
+
if (i >= optStart)
|
|
3053
|
+
continue;
|
|
3054
|
+
}
|
|
3055
|
+
const result = item._zod.run({
|
|
3056
|
+
value: input[i],
|
|
3057
|
+
issues: []
|
|
3058
|
+
}, ctx);
|
|
3059
|
+
if (result instanceof Promise) {
|
|
3060
|
+
proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
|
|
3177
3061
|
} else {
|
|
3178
|
-
|
|
3062
|
+
handleTupleResult(result, payload, i);
|
|
3179
3063
|
}
|
|
3180
3064
|
}
|
|
3181
3065
|
if (def.rest) {
|
|
3182
|
-
let i = items.length - 1;
|
|
3183
3066
|
const rest = input.slice(items.length);
|
|
3184
3067
|
for (const el of rest) {
|
|
3185
3068
|
i++;
|
|
3186
|
-
const result = def.rest._zod.run({
|
|
3069
|
+
const result = def.rest._zod.run({
|
|
3070
|
+
value: el,
|
|
3071
|
+
issues: []
|
|
3072
|
+
}, ctx);
|
|
3187
3073
|
if (result instanceof Promise) {
|
|
3188
|
-
proms.push(result.then((
|
|
3074
|
+
proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
|
|
3189
3075
|
} else {
|
|
3190
3076
|
handleTupleResult(result, payload, i);
|
|
3191
3077
|
}
|
|
3192
3078
|
}
|
|
3193
3079
|
}
|
|
3194
|
-
if (proms.length)
|
|
3195
|
-
return Promise.all(proms).then(() =>
|
|
3196
|
-
|
|
3197
|
-
return handleTupleResults(itemResults, payload, items, input, optoutStart);
|
|
3080
|
+
if (proms.length)
|
|
3081
|
+
return Promise.all(proms).then(() => payload);
|
|
3082
|
+
return payload;
|
|
3198
3083
|
};
|
|
3199
3084
|
});
|
|
3200
3085
|
$ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
@@ -3218,35 +3103,19 @@ var init_schemas = __esm(() => {
|
|
|
3218
3103
|
for (const key of values) {
|
|
3219
3104
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
3220
3105
|
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
3221
|
-
const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3222
|
-
if (keyResult instanceof Promise) {
|
|
3223
|
-
throw new Error("Async schemas not supported in object keys currently");
|
|
3224
|
-
}
|
|
3225
|
-
if (keyResult.issues.length) {
|
|
3226
|
-
payload.issues.push({
|
|
3227
|
-
code: "invalid_key",
|
|
3228
|
-
origin: "record",
|
|
3229
|
-
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
3230
|
-
input: key,
|
|
3231
|
-
path: [key],
|
|
3232
|
-
inst
|
|
3233
|
-
});
|
|
3234
|
-
continue;
|
|
3235
|
-
}
|
|
3236
|
-
const outKey = keyResult.value;
|
|
3237
3106
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3238
3107
|
if (result instanceof Promise) {
|
|
3239
3108
|
proms.push(result.then((result2) => {
|
|
3240
3109
|
if (result2.issues.length) {
|
|
3241
3110
|
payload.issues.push(...prefixIssues(key, result2.issues));
|
|
3242
3111
|
}
|
|
3243
|
-
payload.value[
|
|
3112
|
+
payload.value[key] = result2.value;
|
|
3244
3113
|
}));
|
|
3245
3114
|
} else {
|
|
3246
3115
|
if (result.issues.length) {
|
|
3247
3116
|
payload.issues.push(...prefixIssues(key, result.issues));
|
|
3248
3117
|
}
|
|
3249
|
-
payload.value[
|
|
3118
|
+
payload.value[key] = result.value;
|
|
3250
3119
|
}
|
|
3251
3120
|
}
|
|
3252
3121
|
}
|
|
@@ -3270,8 +3139,6 @@ var init_schemas = __esm(() => {
|
|
|
3270
3139
|
for (const key of Reflect.ownKeys(input)) {
|
|
3271
3140
|
if (key === "__proto__")
|
|
3272
3141
|
continue;
|
|
3273
|
-
if (!Object.prototype.propertyIsEnumerable.call(input, key))
|
|
3274
|
-
continue;
|
|
3275
3142
|
let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
3276
3143
|
if (keyResult instanceof Promise) {
|
|
3277
3144
|
throw new Error("Async schemas not supported in object keys currently");
|
|
@@ -3440,7 +3307,6 @@ var init_schemas = __esm(() => {
|
|
|
3440
3307
|
});
|
|
3441
3308
|
$ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
3442
3309
|
$ZodType.init(inst, def);
|
|
3443
|
-
inst._zod.optin = "optional";
|
|
3444
3310
|
inst._zod.parse = (payload, ctx) => {
|
|
3445
3311
|
if (ctx.direction === "backward") {
|
|
3446
3312
|
throw new $ZodEncodeError(inst.constructor.name);
|
|
@@ -3450,7 +3316,6 @@ var init_schemas = __esm(() => {
|
|
|
3450
3316
|
const output = _out instanceof Promise ? _out : Promise.resolve(_out);
|
|
3451
3317
|
return output.then((output2) => {
|
|
3452
3318
|
payload.value = output2;
|
|
3453
|
-
payload.fallback = true;
|
|
3454
3319
|
return payload;
|
|
3455
3320
|
});
|
|
3456
3321
|
}
|
|
@@ -3458,7 +3323,6 @@ var init_schemas = __esm(() => {
|
|
|
3458
3323
|
throw new $ZodAsyncError;
|
|
3459
3324
|
}
|
|
3460
3325
|
payload.value = _out;
|
|
3461
|
-
payload.fallback = true;
|
|
3462
3326
|
return payload;
|
|
3463
3327
|
};
|
|
3464
3328
|
});
|
|
@@ -3475,11 +3339,10 @@ var init_schemas = __esm(() => {
|
|
|
3475
3339
|
});
|
|
3476
3340
|
inst._zod.parse = (payload, ctx) => {
|
|
3477
3341
|
if (def.innerType._zod.optin === "optional") {
|
|
3478
|
-
const input = payload.value;
|
|
3479
3342
|
const result = def.innerType._zod.run(payload, ctx);
|
|
3480
3343
|
if (result instanceof Promise)
|
|
3481
|
-
return result.then((r) => handleOptionalResult(r,
|
|
3482
|
-
return handleOptionalResult(result,
|
|
3344
|
+
return result.then((r) => handleOptionalResult(r, payload.value));
|
|
3345
|
+
return handleOptionalResult(result, payload.value);
|
|
3483
3346
|
}
|
|
3484
3347
|
if (payload.value === undefined) {
|
|
3485
3348
|
return payload;
|
|
@@ -3578,7 +3441,7 @@ var init_schemas = __esm(() => {
|
|
|
3578
3441
|
});
|
|
3579
3442
|
$ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
3580
3443
|
$ZodType.init(inst, def);
|
|
3581
|
-
inst._zod
|
|
3444
|
+
defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
|
|
3582
3445
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
3583
3446
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
3584
3447
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -3598,7 +3461,6 @@ var init_schemas = __esm(() => {
|
|
|
3598
3461
|
input: payload.value
|
|
3599
3462
|
});
|
|
3600
3463
|
payload.issues = [];
|
|
3601
|
-
payload.fallback = true;
|
|
3602
3464
|
}
|
|
3603
3465
|
return payload;
|
|
3604
3466
|
});
|
|
@@ -3613,7 +3475,6 @@ var init_schemas = __esm(() => {
|
|
|
3613
3475
|
input: payload.value
|
|
3614
3476
|
});
|
|
3615
3477
|
payload.issues = [];
|
|
3616
|
-
payload.fallback = true;
|
|
3617
3478
|
}
|
|
3618
3479
|
return payload;
|
|
3619
3480
|
};
|
|
@@ -3677,9 +3538,6 @@ var init_schemas = __esm(() => {
|
|
|
3677
3538
|
}
|
|
3678
3539
|
};
|
|
3679
3540
|
});
|
|
3680
|
-
$ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3681
|
-
$ZodPipe.init(inst, def);
|
|
3682
|
-
});
|
|
3683
3541
|
$ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
|
|
3684
3542
|
$ZodType.init(inst, def);
|
|
3685
3543
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -3827,12 +3685,7 @@ var init_schemas = __esm(() => {
|
|
|
3827
3685
|
});
|
|
3828
3686
|
$ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
|
|
3829
3687
|
$ZodType.init(inst, def);
|
|
3830
|
-
defineLazy(inst._zod, "innerType", () =>
|
|
3831
|
-
const d = def;
|
|
3832
|
-
if (!d._cachedInner)
|
|
3833
|
-
d._cachedInner = def.getter();
|
|
3834
|
-
return d._cachedInner;
|
|
3835
|
-
});
|
|
3688
|
+
defineLazy(inst._zod, "innerType", () => def.getter());
|
|
3836
3689
|
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
3837
3690
|
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
3838
3691
|
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
|
|
@@ -3860,7 +3713,7 @@ var init_schemas = __esm(() => {
|
|
|
3860
3713
|
});
|
|
3861
3714
|
});
|
|
3862
3715
|
|
|
3863
|
-
// node_modules/.bun/zod@4.
|
|
3716
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ar.js
|
|
3864
3717
|
function ar_default() {
|
|
3865
3718
|
return {
|
|
3866
3719
|
localeError: error()
|
|
@@ -3970,7 +3823,7 @@ var init_ar = __esm(() => {
|
|
|
3970
3823
|
init_util();
|
|
3971
3824
|
});
|
|
3972
3825
|
|
|
3973
|
-
// node_modules/.bun/zod@4.
|
|
3826
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/az.js
|
|
3974
3827
|
function az_default() {
|
|
3975
3828
|
return {
|
|
3976
3829
|
localeError: error2()
|
|
@@ -4079,7 +3932,7 @@ var init_az = __esm(() => {
|
|
|
4079
3932
|
init_util();
|
|
4080
3933
|
});
|
|
4081
3934
|
|
|
4082
|
-
// node_modules/.bun/zod@4.
|
|
3935
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/be.js
|
|
4083
3936
|
function getBelarusianPlural(count, one, few, many) {
|
|
4084
3937
|
const absCount = Math.abs(count);
|
|
4085
3938
|
const lastDigit = absCount % 10;
|
|
@@ -4239,7 +4092,7 @@ var init_be = __esm(() => {
|
|
|
4239
4092
|
init_util();
|
|
4240
4093
|
});
|
|
4241
4094
|
|
|
4242
|
-
// node_modules/.bun/zod@4.
|
|
4095
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/bg.js
|
|
4243
4096
|
function bg_default() {
|
|
4244
4097
|
return {
|
|
4245
4098
|
localeError: error4()
|
|
@@ -4363,7 +4216,7 @@ var init_bg = __esm(() => {
|
|
|
4363
4216
|
init_util();
|
|
4364
4217
|
});
|
|
4365
4218
|
|
|
4366
|
-
// node_modules/.bun/zod@4.
|
|
4219
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ca.js
|
|
4367
4220
|
function ca_default() {
|
|
4368
4221
|
return {
|
|
4369
4222
|
localeError: error5()
|
|
@@ -4474,7 +4327,7 @@ var init_ca = __esm(() => {
|
|
|
4474
4327
|
init_util();
|
|
4475
4328
|
});
|
|
4476
4329
|
|
|
4477
|
-
// node_modules/.bun/zod@4.
|
|
4330
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/cs.js
|
|
4478
4331
|
function cs_default() {
|
|
4479
4332
|
return {
|
|
4480
4333
|
localeError: error6()
|
|
@@ -4589,7 +4442,7 @@ var init_cs = __esm(() => {
|
|
|
4589
4442
|
init_util();
|
|
4590
4443
|
});
|
|
4591
4444
|
|
|
4592
|
-
// node_modules/.bun/zod@4.
|
|
4445
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/da.js
|
|
4593
4446
|
function da_default() {
|
|
4594
4447
|
return {
|
|
4595
4448
|
localeError: error7()
|
|
@@ -4708,7 +4561,7 @@ var init_da = __esm(() => {
|
|
|
4708
4561
|
init_util();
|
|
4709
4562
|
});
|
|
4710
4563
|
|
|
4711
|
-
// node_modules/.bun/zod@4.
|
|
4564
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/de.js
|
|
4712
4565
|
function de_default() {
|
|
4713
4566
|
return {
|
|
4714
4567
|
localeError: error8()
|
|
@@ -4820,126 +4673,13 @@ var init_de = __esm(() => {
|
|
|
4820
4673
|
init_util();
|
|
4821
4674
|
});
|
|
4822
4675
|
|
|
4823
|
-
// node_modules/.bun/zod@4.
|
|
4824
|
-
function
|
|
4676
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/en.js
|
|
4677
|
+
function en_default() {
|
|
4825
4678
|
return {
|
|
4826
4679
|
localeError: error9()
|
|
4827
4680
|
};
|
|
4828
4681
|
}
|
|
4829
4682
|
var error9 = () => {
|
|
4830
|
-
const Sizable = {
|
|
4831
|
-
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
4832
|
-
file: { unit: "bytes", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
4833
|
-
array: { unit: "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
4834
|
-
set: { unit: "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
4835
|
-
map: { unit: "\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" }
|
|
4836
|
-
};
|
|
4837
|
-
function getSizing(origin) {
|
|
4838
|
-
return Sizable[origin] ?? null;
|
|
4839
|
-
}
|
|
4840
|
-
const FormatDictionary = {
|
|
4841
|
-
regex: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",
|
|
4842
|
-
email: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email",
|
|
4843
|
-
url: "URL",
|
|
4844
|
-
emoji: "emoji",
|
|
4845
|
-
uuid: "UUID",
|
|
4846
|
-
uuidv4: "UUIDv4",
|
|
4847
|
-
uuidv6: "UUIDv6",
|
|
4848
|
-
nanoid: "nanoid",
|
|
4849
|
-
guid: "GUID",
|
|
4850
|
-
cuid: "cuid",
|
|
4851
|
-
cuid2: "cuid2",
|
|
4852
|
-
ulid: "ULID",
|
|
4853
|
-
xid: "XID",
|
|
4854
|
-
ksuid: "KSUID",
|
|
4855
|
-
datetime: "ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",
|
|
4856
|
-
date: "ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",
|
|
4857
|
-
time: "ISO \u03CE\u03C1\u03B1",
|
|
4858
|
-
duration: "ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",
|
|
4859
|
-
ipv4: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",
|
|
4860
|
-
ipv6: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",
|
|
4861
|
-
mac: "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",
|
|
4862
|
-
cidrv4: "\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",
|
|
4863
|
-
cidrv6: "\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",
|
|
4864
|
-
base64: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",
|
|
4865
|
-
base64url: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",
|
|
4866
|
-
json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
|
|
4867
|
-
e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
|
|
4868
|
-
jwt: "JWT",
|
|
4869
|
-
template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
|
|
4870
|
-
};
|
|
4871
|
-
const TypeDictionary = {
|
|
4872
|
-
nan: "NaN"
|
|
4873
|
-
};
|
|
4874
|
-
return (issue2) => {
|
|
4875
|
-
switch (issue2.code) {
|
|
4876
|
-
case "invalid_type": {
|
|
4877
|
-
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
4878
|
-
const receivedType = parsedType(issue2.input);
|
|
4879
|
-
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
4880
|
-
if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
|
|
4881
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${issue2.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received}`;
|
|
4882
|
-
}
|
|
4883
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received}`;
|
|
4884
|
-
}
|
|
4885
|
-
case "invalid_value":
|
|
4886
|
-
if (issue2.values.length === 1)
|
|
4887
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${stringifyPrimitive(issue2.values[0])}`;
|
|
4888
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${joinValues(issue2.values, "|")}`;
|
|
4889
|
-
case "too_big": {
|
|
4890
|
-
const adj = issue2.inclusive ? "<=" : "<";
|
|
4891
|
-
const sizing = getSizing(issue2.origin);
|
|
4892
|
-
if (sizing)
|
|
4893
|
-
return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin ?? "\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`;
|
|
4894
|
-
return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin ?? "\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${adj}${issue2.maximum.toString()}`;
|
|
4895
|
-
}
|
|
4896
|
-
case "too_small": {
|
|
4897
|
-
const adj = issue2.inclusive ? ">=" : ">";
|
|
4898
|
-
const sizing = getSizing(issue2.origin);
|
|
4899
|
-
if (sizing) {
|
|
4900
|
-
return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
4901
|
-
}
|
|
4902
|
-
return `\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${issue2.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${adj}${issue2.minimum.toString()}`;
|
|
4903
|
-
}
|
|
4904
|
-
case "invalid_format": {
|
|
4905
|
-
const _issue = issue2;
|
|
4906
|
-
if (_issue.format === "starts_with") {
|
|
4907
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${_issue.prefix}"`;
|
|
4908
|
-
}
|
|
4909
|
-
if (_issue.format === "ends_with")
|
|
4910
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${_issue.suffix}"`;
|
|
4911
|
-
if (_issue.format === "includes")
|
|
4912
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${_issue.includes}"`;
|
|
4913
|
-
if (_issue.format === "regex")
|
|
4914
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${_issue.pattern}`;
|
|
4915
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
4916
|
-
}
|
|
4917
|
-
case "not_multiple_of":
|
|
4918
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${issue2.divisor}`;
|
|
4919
|
-
case "unrecognized_keys":
|
|
4920
|
-
return `\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${issue2.keys.length > 1 ? "\u03B1" : "\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${issue2.keys.length > 1 ? "\u03B9\u03AC" : "\u03AF"}: ${joinValues(issue2.keys, ", ")}`;
|
|
4921
|
-
case "invalid_key":
|
|
4922
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${issue2.origin}`;
|
|
4923
|
-
case "invalid_union":
|
|
4924
|
-
return "\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";
|
|
4925
|
-
case "invalid_element":
|
|
4926
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${issue2.origin}`;
|
|
4927
|
-
default:
|
|
4928
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2`;
|
|
4929
|
-
}
|
|
4930
|
-
};
|
|
4931
|
-
};
|
|
4932
|
-
var init_el = __esm(() => {
|
|
4933
|
-
init_util();
|
|
4934
|
-
});
|
|
4935
|
-
|
|
4936
|
-
// node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/en.js
|
|
4937
|
-
function en_default() {
|
|
4938
|
-
return {
|
|
4939
|
-
localeError: error10()
|
|
4940
|
-
};
|
|
4941
|
-
}
|
|
4942
|
-
var error10 = () => {
|
|
4943
4683
|
const Sizable = {
|
|
4944
4684
|
string: { unit: "characters", verb: "to have" },
|
|
4945
4685
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -5031,10 +4771,6 @@ var error10 = () => {
|
|
|
5031
4771
|
case "invalid_key":
|
|
5032
4772
|
return `Invalid key in ${issue2.origin}`;
|
|
5033
4773
|
case "invalid_union":
|
|
5034
|
-
if (issue2.options && Array.isArray(issue2.options) && issue2.options.length > 0) {
|
|
5035
|
-
const opts = issue2.options.map((o) => `'${o}'`).join(" | ");
|
|
5036
|
-
return `Invalid discriminator value. Expected ${opts}`;
|
|
5037
|
-
}
|
|
5038
4774
|
return "Invalid input";
|
|
5039
4775
|
case "invalid_element":
|
|
5040
4776
|
return `Invalid value in ${issue2.origin}`;
|
|
@@ -5047,13 +4783,13 @@ var init_en = __esm(() => {
|
|
|
5047
4783
|
init_util();
|
|
5048
4784
|
});
|
|
5049
4785
|
|
|
5050
|
-
// node_modules/.bun/zod@4.
|
|
4786
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/eo.js
|
|
5051
4787
|
function eo_default() {
|
|
5052
4788
|
return {
|
|
5053
|
-
localeError:
|
|
4789
|
+
localeError: error10()
|
|
5054
4790
|
};
|
|
5055
4791
|
}
|
|
5056
|
-
var
|
|
4792
|
+
var error10 = () => {
|
|
5057
4793
|
const Sizable = {
|
|
5058
4794
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
5059
4795
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -5160,13 +4896,13 @@ var init_eo = __esm(() => {
|
|
|
5160
4896
|
init_util();
|
|
5161
4897
|
});
|
|
5162
4898
|
|
|
5163
|
-
// node_modules/.bun/zod@4.
|
|
4899
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/es.js
|
|
5164
4900
|
function es_default() {
|
|
5165
4901
|
return {
|
|
5166
|
-
localeError:
|
|
4902
|
+
localeError: error11()
|
|
5167
4903
|
};
|
|
5168
4904
|
}
|
|
5169
|
-
var
|
|
4905
|
+
var error11 = () => {
|
|
5170
4906
|
const Sizable = {
|
|
5171
4907
|
string: { unit: "caracteres", verb: "tener" },
|
|
5172
4908
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -5296,13 +5032,13 @@ var init_es = __esm(() => {
|
|
|
5296
5032
|
init_util();
|
|
5297
5033
|
});
|
|
5298
5034
|
|
|
5299
|
-
// node_modules/.bun/zod@4.
|
|
5035
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fa.js
|
|
5300
5036
|
function fa_default() {
|
|
5301
5037
|
return {
|
|
5302
|
-
localeError:
|
|
5038
|
+
localeError: error12()
|
|
5303
5039
|
};
|
|
5304
5040
|
}
|
|
5305
|
-
var
|
|
5041
|
+
var error12 = () => {
|
|
5306
5042
|
const Sizable = {
|
|
5307
5043
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
5308
5044
|
file: { unit: "\u0628\u0627\u06CC\u062A", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -5414,13 +5150,13 @@ var init_fa = __esm(() => {
|
|
|
5414
5150
|
init_util();
|
|
5415
5151
|
});
|
|
5416
5152
|
|
|
5417
|
-
// node_modules/.bun/zod@4.
|
|
5153
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fi.js
|
|
5418
5154
|
function fi_default() {
|
|
5419
5155
|
return {
|
|
5420
|
-
localeError:
|
|
5156
|
+
localeError: error13()
|
|
5421
5157
|
};
|
|
5422
5158
|
}
|
|
5423
|
-
var
|
|
5159
|
+
var error13 = () => {
|
|
5424
5160
|
const Sizable = {
|
|
5425
5161
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
5426
5162
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -5530,13 +5266,13 @@ var init_fi = __esm(() => {
|
|
|
5530
5266
|
init_util();
|
|
5531
5267
|
});
|
|
5532
5268
|
|
|
5533
|
-
// node_modules/.bun/zod@4.
|
|
5269
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr.js
|
|
5534
5270
|
function fr_default() {
|
|
5535
5271
|
return {
|
|
5536
|
-
localeError:
|
|
5272
|
+
localeError: error14()
|
|
5537
5273
|
};
|
|
5538
5274
|
}
|
|
5539
|
-
var
|
|
5275
|
+
var error14 = () => {
|
|
5540
5276
|
const Sizable = {
|
|
5541
5277
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
5542
5278
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -5577,27 +5313,9 @@ var error15 = () => {
|
|
|
5577
5313
|
template_literal: "entr\xE9e"
|
|
5578
5314
|
};
|
|
5579
5315
|
const TypeDictionary = {
|
|
5580
|
-
string: "cha\xEEne",
|
|
5581
|
-
number: "nombre",
|
|
5582
|
-
int: "entier",
|
|
5583
|
-
boolean: "bool\xE9en",
|
|
5584
|
-
bigint: "grand entier",
|
|
5585
|
-
symbol: "symbole",
|
|
5586
|
-
undefined: "ind\xE9fini",
|
|
5587
|
-
null: "null",
|
|
5588
|
-
never: "jamais",
|
|
5589
|
-
void: "vide",
|
|
5590
|
-
date: "date",
|
|
5591
|
-
array: "tableau",
|
|
5592
|
-
object: "objet",
|
|
5593
|
-
tuple: "tuple",
|
|
5594
|
-
record: "enregistrement",
|
|
5595
|
-
map: "carte",
|
|
5596
|
-
set: "ensemble",
|
|
5597
|
-
file: "fichier",
|
|
5598
|
-
nonoptional: "non-optionnel",
|
|
5599
5316
|
nan: "NaN",
|
|
5600
|
-
|
|
5317
|
+
number: "nombre",
|
|
5318
|
+
array: "tableau"
|
|
5601
5319
|
};
|
|
5602
5320
|
return (issue2) => {
|
|
5603
5321
|
switch (issue2.code) {
|
|
@@ -5618,15 +5336,16 @@ var error15 = () => {
|
|
|
5618
5336
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
5619
5337
|
const sizing = getSizing(issue2.origin);
|
|
5620
5338
|
if (sizing)
|
|
5621
|
-
return `Trop grand : ${
|
|
5622
|
-
return `Trop grand : ${
|
|
5339
|
+
return `Trop grand : ${issue2.origin ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\xE9l\xE9ment(s)"}`;
|
|
5340
|
+
return `Trop grand : ${issue2.origin ?? "valeur"} doit \xEAtre ${adj}${issue2.maximum.toString()}`;
|
|
5623
5341
|
}
|
|
5624
5342
|
case "too_small": {
|
|
5625
5343
|
const adj = issue2.inclusive ? ">=" : ">";
|
|
5626
5344
|
const sizing = getSizing(issue2.origin);
|
|
5627
|
-
if (sizing)
|
|
5628
|
-
return `Trop petit : ${
|
|
5629
|
-
|
|
5345
|
+
if (sizing) {
|
|
5346
|
+
return `Trop petit : ${issue2.origin} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
5347
|
+
}
|
|
5348
|
+
return `Trop petit : ${issue2.origin} doit \xEAtre ${adj}${issue2.minimum.toString()}`;
|
|
5630
5349
|
}
|
|
5631
5350
|
case "invalid_format": {
|
|
5632
5351
|
const _issue = issue2;
|
|
@@ -5659,13 +5378,13 @@ var init_fr = __esm(() => {
|
|
|
5659
5378
|
init_util();
|
|
5660
5379
|
});
|
|
5661
5380
|
|
|
5662
|
-
// node_modules/.bun/zod@4.
|
|
5381
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
|
|
5663
5382
|
function fr_CA_default() {
|
|
5664
5383
|
return {
|
|
5665
|
-
localeError:
|
|
5384
|
+
localeError: error15()
|
|
5666
5385
|
};
|
|
5667
5386
|
}
|
|
5668
|
-
var
|
|
5387
|
+
var error15 = () => {
|
|
5669
5388
|
const Sizable = {
|
|
5670
5389
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
5671
5390
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -5770,13 +5489,13 @@ var init_fr_CA = __esm(() => {
|
|
|
5770
5489
|
init_util();
|
|
5771
5490
|
});
|
|
5772
5491
|
|
|
5773
|
-
// node_modules/.bun/zod@4.
|
|
5492
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/he.js
|
|
5774
5493
|
function he_default() {
|
|
5775
5494
|
return {
|
|
5776
|
-
localeError:
|
|
5495
|
+
localeError: error16()
|
|
5777
5496
|
};
|
|
5778
5497
|
}
|
|
5779
|
-
var
|
|
5498
|
+
var error16 = () => {
|
|
5780
5499
|
const TypeNames = {
|
|
5781
5500
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
5782
5501
|
number: { label: "\u05DE\u05E1\u05E4\u05E8", gender: "m" },
|
|
@@ -5967,139 +5686,13 @@ var init_he = __esm(() => {
|
|
|
5967
5686
|
init_util();
|
|
5968
5687
|
});
|
|
5969
5688
|
|
|
5970
|
-
// node_modules/.bun/zod@4.
|
|
5971
|
-
function hr_default() {
|
|
5972
|
-
return {
|
|
5973
|
-
localeError: error18()
|
|
5974
|
-
};
|
|
5975
|
-
}
|
|
5976
|
-
var error18 = () => {
|
|
5977
|
-
const Sizable = {
|
|
5978
|
-
string: { unit: "znakova", verb: "imati" },
|
|
5979
|
-
file: { unit: "bajtova", verb: "imati" },
|
|
5980
|
-
array: { unit: "stavki", verb: "imati" },
|
|
5981
|
-
set: { unit: "stavki", verb: "imati" }
|
|
5982
|
-
};
|
|
5983
|
-
function getSizing(origin) {
|
|
5984
|
-
return Sizable[origin] ?? null;
|
|
5985
|
-
}
|
|
5986
|
-
const FormatDictionary = {
|
|
5987
|
-
regex: "unos",
|
|
5988
|
-
email: "email adresa",
|
|
5989
|
-
url: "URL",
|
|
5990
|
-
emoji: "emoji",
|
|
5991
|
-
uuid: "UUID",
|
|
5992
|
-
uuidv4: "UUIDv4",
|
|
5993
|
-
uuidv6: "UUIDv6",
|
|
5994
|
-
nanoid: "nanoid",
|
|
5995
|
-
guid: "GUID",
|
|
5996
|
-
cuid: "cuid",
|
|
5997
|
-
cuid2: "cuid2",
|
|
5998
|
-
ulid: "ULID",
|
|
5999
|
-
xid: "XID",
|
|
6000
|
-
ksuid: "KSUID",
|
|
6001
|
-
datetime: "ISO datum i vrijeme",
|
|
6002
|
-
date: "ISO datum",
|
|
6003
|
-
time: "ISO vrijeme",
|
|
6004
|
-
duration: "ISO trajanje",
|
|
6005
|
-
ipv4: "IPv4 adresa",
|
|
6006
|
-
ipv6: "IPv6 adresa",
|
|
6007
|
-
cidrv4: "IPv4 raspon",
|
|
6008
|
-
cidrv6: "IPv6 raspon",
|
|
6009
|
-
base64: "base64 kodirani tekst",
|
|
6010
|
-
base64url: "base64url kodirani tekst",
|
|
6011
|
-
json_string: "JSON tekst",
|
|
6012
|
-
e164: "E.164 broj",
|
|
6013
|
-
jwt: "JWT",
|
|
6014
|
-
template_literal: "unos"
|
|
6015
|
-
};
|
|
6016
|
-
const TypeDictionary = {
|
|
6017
|
-
nan: "NaN",
|
|
6018
|
-
string: "tekst",
|
|
6019
|
-
number: "broj",
|
|
6020
|
-
boolean: "boolean",
|
|
6021
|
-
array: "niz",
|
|
6022
|
-
object: "objekt",
|
|
6023
|
-
set: "skup",
|
|
6024
|
-
file: "datoteka",
|
|
6025
|
-
date: "datum",
|
|
6026
|
-
bigint: "bigint",
|
|
6027
|
-
symbol: "simbol",
|
|
6028
|
-
undefined: "undefined",
|
|
6029
|
-
null: "null",
|
|
6030
|
-
function: "funkcija",
|
|
6031
|
-
map: "mapa"
|
|
6032
|
-
};
|
|
6033
|
-
return (issue2) => {
|
|
6034
|
-
switch (issue2.code) {
|
|
6035
|
-
case "invalid_type": {
|
|
6036
|
-
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
6037
|
-
const receivedType = parsedType(issue2.input);
|
|
6038
|
-
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6039
|
-
if (/^[A-Z]/.test(issue2.expected)) {
|
|
6040
|
-
return `Neispravan unos: o\u010Dekuje se instanceof ${issue2.expected}, a primljeno je ${received}`;
|
|
6041
|
-
}
|
|
6042
|
-
return `Neispravan unos: o\u010Dekuje se ${expected}, a primljeno je ${received}`;
|
|
6043
|
-
}
|
|
6044
|
-
case "invalid_value":
|
|
6045
|
-
if (issue2.values.length === 1)
|
|
6046
|
-
return `Neispravna vrijednost: o\u010Dekivano ${stringifyPrimitive(issue2.values[0])}`;
|
|
6047
|
-
return `Neispravna opcija: o\u010Dekivano jedno od ${joinValues(issue2.values, "|")}`;
|
|
6048
|
-
case "too_big": {
|
|
6049
|
-
const adj = issue2.inclusive ? "<=" : "<";
|
|
6050
|
-
const sizing = getSizing(issue2.origin);
|
|
6051
|
-
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6052
|
-
if (sizing)
|
|
6053
|
-
return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
|
|
6054
|
-
return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
|
|
6055
|
-
}
|
|
6056
|
-
case "too_small": {
|
|
6057
|
-
const adj = issue2.inclusive ? ">=" : ">";
|
|
6058
|
-
const sizing = getSizing(issue2.origin);
|
|
6059
|
-
const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
|
|
6060
|
-
if (sizing) {
|
|
6061
|
-
return `Premalo: o\u010Dekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
6062
|
-
}
|
|
6063
|
-
return `Premalo: o\u010Dekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
|
|
6064
|
-
}
|
|
6065
|
-
case "invalid_format": {
|
|
6066
|
-
const _issue = issue2;
|
|
6067
|
-
if (_issue.format === "starts_with")
|
|
6068
|
-
return `Neispravan tekst: mora zapo\u010Dinjati s "${_issue.prefix}"`;
|
|
6069
|
-
if (_issue.format === "ends_with")
|
|
6070
|
-
return `Neispravan tekst: mora zavr\u0161avati s "${_issue.suffix}"`;
|
|
6071
|
-
if (_issue.format === "includes")
|
|
6072
|
-
return `Neispravan tekst: mora sadr\u017Eavati "${_issue.includes}"`;
|
|
6073
|
-
if (_issue.format === "regex")
|
|
6074
|
-
return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
|
|
6075
|
-
return `Neispravna ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6076
|
-
}
|
|
6077
|
-
case "not_multiple_of":
|
|
6078
|
-
return `Neispravan broj: mora biti vi\u0161ekratnik od ${issue2.divisor}`;
|
|
6079
|
-
case "unrecognized_keys":
|
|
6080
|
-
return `Neprepoznat${issue2.keys.length > 1 ? "i klju\u010Devi" : " klju\u010D"}: ${joinValues(issue2.keys, ", ")}`;
|
|
6081
|
-
case "invalid_key":
|
|
6082
|
-
return `Neispravan klju\u010D u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6083
|
-
case "invalid_union":
|
|
6084
|
-
return "Neispravan unos";
|
|
6085
|
-
case "invalid_element":
|
|
6086
|
-
return `Neispravna vrijednost u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
|
|
6087
|
-
default:
|
|
6088
|
-
return `Neispravan unos`;
|
|
6089
|
-
}
|
|
6090
|
-
};
|
|
6091
|
-
};
|
|
6092
|
-
var init_hr = __esm(() => {
|
|
6093
|
-
init_util();
|
|
6094
|
-
});
|
|
6095
|
-
|
|
6096
|
-
// node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/hu.js
|
|
5689
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hu.js
|
|
6097
5690
|
function hu_default() {
|
|
6098
5691
|
return {
|
|
6099
|
-
localeError:
|
|
5692
|
+
localeError: error17()
|
|
6100
5693
|
};
|
|
6101
5694
|
}
|
|
6102
|
-
var
|
|
5695
|
+
var error17 = () => {
|
|
6103
5696
|
const Sizable = {
|
|
6104
5697
|
string: { unit: "karakter", verb: "legyen" },
|
|
6105
5698
|
file: { unit: "byte", verb: "legyen" },
|
|
@@ -6205,7 +5798,7 @@ var init_hu = __esm(() => {
|
|
|
6205
5798
|
init_util();
|
|
6206
5799
|
});
|
|
6207
5800
|
|
|
6208
|
-
// node_modules/.bun/zod@4.
|
|
5801
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hy.js
|
|
6209
5802
|
function getArmenianPlural(count, one, many) {
|
|
6210
5803
|
return Math.abs(count) === 1 ? one : many;
|
|
6211
5804
|
}
|
|
@@ -6218,10 +5811,10 @@ function withDefiniteArticle(word) {
|
|
|
6218
5811
|
}
|
|
6219
5812
|
function hy_default() {
|
|
6220
5813
|
return {
|
|
6221
|
-
localeError:
|
|
5814
|
+
localeError: error18()
|
|
6222
5815
|
};
|
|
6223
5816
|
}
|
|
6224
|
-
var
|
|
5817
|
+
var error18 = () => {
|
|
6225
5818
|
const Sizable = {
|
|
6226
5819
|
string: {
|
|
6227
5820
|
unit: {
|
|
@@ -6356,13 +5949,13 @@ var init_hy = __esm(() => {
|
|
|
6356
5949
|
init_util();
|
|
6357
5950
|
});
|
|
6358
5951
|
|
|
6359
|
-
// node_modules/.bun/zod@4.
|
|
5952
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/id.js
|
|
6360
5953
|
function id_default() {
|
|
6361
5954
|
return {
|
|
6362
|
-
localeError:
|
|
5955
|
+
localeError: error19()
|
|
6363
5956
|
};
|
|
6364
5957
|
}
|
|
6365
|
-
var
|
|
5958
|
+
var error19 = () => {
|
|
6366
5959
|
const Sizable = {
|
|
6367
5960
|
string: { unit: "karakter", verb: "memiliki" },
|
|
6368
5961
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -6466,13 +6059,13 @@ var init_id = __esm(() => {
|
|
|
6466
6059
|
init_util();
|
|
6467
6060
|
});
|
|
6468
6061
|
|
|
6469
|
-
// node_modules/.bun/zod@4.
|
|
6062
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/is.js
|
|
6470
6063
|
function is_default() {
|
|
6471
6064
|
return {
|
|
6472
|
-
localeError:
|
|
6065
|
+
localeError: error20()
|
|
6473
6066
|
};
|
|
6474
6067
|
}
|
|
6475
|
-
var
|
|
6068
|
+
var error20 = () => {
|
|
6476
6069
|
const Sizable = {
|
|
6477
6070
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
6478
6071
|
file: { unit: "b\xE6ti", verb: "a\xF0 hafa" },
|
|
@@ -6579,13 +6172,13 @@ var init_is = __esm(() => {
|
|
|
6579
6172
|
init_util();
|
|
6580
6173
|
});
|
|
6581
6174
|
|
|
6582
|
-
// node_modules/.bun/zod@4.
|
|
6175
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/it.js
|
|
6583
6176
|
function it_default() {
|
|
6584
6177
|
return {
|
|
6585
|
-
localeError:
|
|
6178
|
+
localeError: error21()
|
|
6586
6179
|
};
|
|
6587
6180
|
}
|
|
6588
|
-
var
|
|
6181
|
+
var error21 = () => {
|
|
6589
6182
|
const Sizable = {
|
|
6590
6183
|
string: { unit: "caratteri", verb: "avere" },
|
|
6591
6184
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -6670,7 +6263,7 @@ var error23 = () => {
|
|
|
6670
6263
|
return `Stringa non valida: deve includere "${_issue.includes}"`;
|
|
6671
6264
|
if (_issue.format === "regex")
|
|
6672
6265
|
return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
|
|
6673
|
-
return `
|
|
6266
|
+
return `Invalid ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6674
6267
|
}
|
|
6675
6268
|
case "not_multiple_of":
|
|
6676
6269
|
return `Numero non valido: deve essere un multiplo di ${issue2.divisor}`;
|
|
@@ -6691,13 +6284,13 @@ var init_it = __esm(() => {
|
|
|
6691
6284
|
init_util();
|
|
6692
6285
|
});
|
|
6693
6286
|
|
|
6694
|
-
// node_modules/.bun/zod@4.
|
|
6287
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ja.js
|
|
6695
6288
|
function ja_default() {
|
|
6696
6289
|
return {
|
|
6697
|
-
localeError:
|
|
6290
|
+
localeError: error22()
|
|
6698
6291
|
};
|
|
6699
6292
|
}
|
|
6700
|
-
var
|
|
6293
|
+
var error22 = () => {
|
|
6701
6294
|
const Sizable = {
|
|
6702
6295
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
6703
6296
|
file: { unit: "\u30D0\u30A4\u30C8", verb: "\u3067\u3042\u308B" },
|
|
@@ -6802,13 +6395,13 @@ var init_ja = __esm(() => {
|
|
|
6802
6395
|
init_util();
|
|
6803
6396
|
});
|
|
6804
6397
|
|
|
6805
|
-
// node_modules/.bun/zod@4.
|
|
6398
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ka.js
|
|
6806
6399
|
function ka_default() {
|
|
6807
6400
|
return {
|
|
6808
|
-
localeError:
|
|
6401
|
+
localeError: error23()
|
|
6809
6402
|
};
|
|
6810
6403
|
}
|
|
6811
|
-
var
|
|
6404
|
+
var error23 = () => {
|
|
6812
6405
|
const Sizable = {
|
|
6813
6406
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
6814
6407
|
file: { unit: "\u10D1\u10D0\u10D8\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -6841,9 +6434,9 @@ var error25 = () => {
|
|
|
6841
6434
|
ipv6: "IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",
|
|
6842
6435
|
cidrv4: "IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",
|
|
6843
6436
|
cidrv6: "IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",
|
|
6844
|
-
base64: "base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \
|
|
6845
|
-
base64url: "base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \
|
|
6846
|
-
json_string: "JSON \
|
|
6437
|
+
base64: "base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
|
|
6438
|
+
base64url: "base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
|
|
6439
|
+
json_string: "JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
|
|
6847
6440
|
e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
6848
6441
|
jwt: "JWT",
|
|
6849
6442
|
template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
|
|
@@ -6851,7 +6444,7 @@ var error25 = () => {
|
|
|
6851
6444
|
const TypeDictionary = {
|
|
6852
6445
|
nan: "NaN",
|
|
6853
6446
|
number: "\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",
|
|
6854
|
-
string: "\
|
|
6447
|
+
string: "\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",
|
|
6855
6448
|
boolean: "\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",
|
|
6856
6449
|
function: "\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",
|
|
6857
6450
|
array: "\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"
|
|
@@ -6889,14 +6482,14 @@ var error25 = () => {
|
|
|
6889
6482
|
case "invalid_format": {
|
|
6890
6483
|
const _issue = issue2;
|
|
6891
6484
|
if (_issue.format === "starts_with") {
|
|
6892
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \
|
|
6485
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.prefix}"-\u10D8\u10D7`;
|
|
6893
6486
|
}
|
|
6894
6487
|
if (_issue.format === "ends_with")
|
|
6895
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \
|
|
6488
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${_issue.suffix}"-\u10D8\u10D7`;
|
|
6896
6489
|
if (_issue.format === "includes")
|
|
6897
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \
|
|
6490
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${_issue.includes}"-\u10E1`;
|
|
6898
6491
|
if (_issue.format === "regex")
|
|
6899
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \
|
|
6492
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${_issue.pattern}`;
|
|
6900
6493
|
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
6901
6494
|
}
|
|
6902
6495
|
case "not_multiple_of":
|
|
@@ -6918,13 +6511,13 @@ var init_ka = __esm(() => {
|
|
|
6918
6511
|
init_util();
|
|
6919
6512
|
});
|
|
6920
6513
|
|
|
6921
|
-
// node_modules/.bun/zod@4.
|
|
6514
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/km.js
|
|
6922
6515
|
function km_default() {
|
|
6923
6516
|
return {
|
|
6924
|
-
localeError:
|
|
6517
|
+
localeError: error24()
|
|
6925
6518
|
};
|
|
6926
6519
|
}
|
|
6927
|
-
var
|
|
6520
|
+
var error24 = () => {
|
|
6928
6521
|
const Sizable = {
|
|
6929
6522
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
6930
6523
|
file: { unit: "\u1794\u17C3", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7032,7 +6625,7 @@ var init_km = __esm(() => {
|
|
|
7032
6625
|
init_util();
|
|
7033
6626
|
});
|
|
7034
6627
|
|
|
7035
|
-
// node_modules/.bun/zod@4.
|
|
6628
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/kh.js
|
|
7036
6629
|
function kh_default() {
|
|
7037
6630
|
return km_default();
|
|
7038
6631
|
}
|
|
@@ -7040,13 +6633,13 @@ var init_kh = __esm(() => {
|
|
|
7040
6633
|
init_km();
|
|
7041
6634
|
});
|
|
7042
6635
|
|
|
7043
|
-
// node_modules/.bun/zod@4.
|
|
6636
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ko.js
|
|
7044
6637
|
function ko_default() {
|
|
7045
6638
|
return {
|
|
7046
|
-
localeError:
|
|
6639
|
+
localeError: error25()
|
|
7047
6640
|
};
|
|
7048
6641
|
}
|
|
7049
|
-
var
|
|
6642
|
+
var error25 = () => {
|
|
7050
6643
|
const Sizable = {
|
|
7051
6644
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
7052
6645
|
file: { unit: "\uBC14\uC774\uD2B8", verb: "to have" },
|
|
@@ -7155,7 +6748,7 @@ var init_ko = __esm(() => {
|
|
|
7155
6748
|
init_util();
|
|
7156
6749
|
});
|
|
7157
6750
|
|
|
7158
|
-
// node_modules/.bun/zod@4.
|
|
6751
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/lt.js
|
|
7159
6752
|
function getUnitTypeFromNumber(number2) {
|
|
7160
6753
|
const abs = Math.abs(number2);
|
|
7161
6754
|
const last = abs % 10;
|
|
@@ -7168,12 +6761,12 @@ function getUnitTypeFromNumber(number2) {
|
|
|
7168
6761
|
}
|
|
7169
6762
|
function lt_default() {
|
|
7170
6763
|
return {
|
|
7171
|
-
localeError:
|
|
6764
|
+
localeError: error26()
|
|
7172
6765
|
};
|
|
7173
6766
|
}
|
|
7174
6767
|
var capitalizeFirstCharacter = (text) => {
|
|
7175
6768
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7176
|
-
},
|
|
6769
|
+
}, error26 = () => {
|
|
7177
6770
|
const Sizable = {
|
|
7178
6771
|
string: {
|
|
7179
6772
|
unit: {
|
|
@@ -7361,13 +6954,13 @@ var init_lt = __esm(() => {
|
|
|
7361
6954
|
init_util();
|
|
7362
6955
|
});
|
|
7363
6956
|
|
|
7364
|
-
// node_modules/.bun/zod@4.
|
|
6957
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/mk.js
|
|
7365
6958
|
function mk_default() {
|
|
7366
6959
|
return {
|
|
7367
|
-
localeError:
|
|
6960
|
+
localeError: error27()
|
|
7368
6961
|
};
|
|
7369
6962
|
}
|
|
7370
|
-
var
|
|
6963
|
+
var error27 = () => {
|
|
7371
6964
|
const Sizable = {
|
|
7372
6965
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
7373
6966
|
file: { unit: "\u0431\u0430\u0458\u0442\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -7474,13 +7067,13 @@ var init_mk = __esm(() => {
|
|
|
7474
7067
|
init_util();
|
|
7475
7068
|
});
|
|
7476
7069
|
|
|
7477
|
-
// node_modules/.bun/zod@4.
|
|
7070
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ms.js
|
|
7478
7071
|
function ms_default() {
|
|
7479
7072
|
return {
|
|
7480
|
-
localeError:
|
|
7073
|
+
localeError: error28()
|
|
7481
7074
|
};
|
|
7482
7075
|
}
|
|
7483
|
-
var
|
|
7076
|
+
var error28 = () => {
|
|
7484
7077
|
const Sizable = {
|
|
7485
7078
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
7486
7079
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -7585,13 +7178,13 @@ var init_ms = __esm(() => {
|
|
|
7585
7178
|
init_util();
|
|
7586
7179
|
});
|
|
7587
7180
|
|
|
7588
|
-
// node_modules/.bun/zod@4.
|
|
7181
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/nl.js
|
|
7589
7182
|
function nl_default() {
|
|
7590
7183
|
return {
|
|
7591
|
-
localeError:
|
|
7184
|
+
localeError: error29()
|
|
7592
7185
|
};
|
|
7593
7186
|
}
|
|
7594
|
-
var
|
|
7187
|
+
var error29 = () => {
|
|
7595
7188
|
const Sizable = {
|
|
7596
7189
|
string: { unit: "tekens", verb: "heeft" },
|
|
7597
7190
|
file: { unit: "bytes", verb: "heeft" },
|
|
@@ -7699,13 +7292,13 @@ var init_nl = __esm(() => {
|
|
|
7699
7292
|
init_util();
|
|
7700
7293
|
});
|
|
7701
7294
|
|
|
7702
|
-
// node_modules/.bun/zod@4.
|
|
7295
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/no.js
|
|
7703
7296
|
function no_default() {
|
|
7704
7297
|
return {
|
|
7705
|
-
localeError:
|
|
7298
|
+
localeError: error30()
|
|
7706
7299
|
};
|
|
7707
7300
|
}
|
|
7708
|
-
var
|
|
7301
|
+
var error30 = () => {
|
|
7709
7302
|
const Sizable = {
|
|
7710
7303
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
7711
7304
|
file: { unit: "bytes", verb: "\xE5 ha" },
|
|
@@ -7811,13 +7404,13 @@ var init_no = __esm(() => {
|
|
|
7811
7404
|
init_util();
|
|
7812
7405
|
});
|
|
7813
7406
|
|
|
7814
|
-
// node_modules/.bun/zod@4.
|
|
7407
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ota.js
|
|
7815
7408
|
function ota_default() {
|
|
7816
7409
|
return {
|
|
7817
|
-
localeError:
|
|
7410
|
+
localeError: error31()
|
|
7818
7411
|
};
|
|
7819
7412
|
}
|
|
7820
|
-
var
|
|
7413
|
+
var error31 = () => {
|
|
7821
7414
|
const Sizable = {
|
|
7822
7415
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
7823
7416
|
file: { unit: "bayt", verb: "olmal\u0131d\u0131r" },
|
|
@@ -7924,13 +7517,13 @@ var init_ota = __esm(() => {
|
|
|
7924
7517
|
init_util();
|
|
7925
7518
|
});
|
|
7926
7519
|
|
|
7927
|
-
// node_modules/.bun/zod@4.
|
|
7520
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ps.js
|
|
7928
7521
|
function ps_default() {
|
|
7929
7522
|
return {
|
|
7930
|
-
localeError:
|
|
7523
|
+
localeError: error32()
|
|
7931
7524
|
};
|
|
7932
7525
|
}
|
|
7933
|
-
var
|
|
7526
|
+
var error32 = () => {
|
|
7934
7527
|
const Sizable = {
|
|
7935
7528
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
7936
7529
|
file: { unit: "\u0628\u0627\u06CC\u067C\u0633", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8042,13 +7635,13 @@ var init_ps = __esm(() => {
|
|
|
8042
7635
|
init_util();
|
|
8043
7636
|
});
|
|
8044
7637
|
|
|
8045
|
-
// node_modules/.bun/zod@4.
|
|
7638
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pl.js
|
|
8046
7639
|
function pl_default() {
|
|
8047
7640
|
return {
|
|
8048
|
-
localeError:
|
|
7641
|
+
localeError: error33()
|
|
8049
7642
|
};
|
|
8050
7643
|
}
|
|
8051
|
-
var
|
|
7644
|
+
var error33 = () => {
|
|
8052
7645
|
const Sizable = {
|
|
8053
7646
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
8054
7647
|
file: { unit: "bajt\xF3w", verb: "mie\u0107" },
|
|
@@ -8155,13 +7748,13 @@ var init_pl = __esm(() => {
|
|
|
8155
7748
|
init_util();
|
|
8156
7749
|
});
|
|
8157
7750
|
|
|
8158
|
-
// node_modules/.bun/zod@4.
|
|
7751
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pt.js
|
|
8159
7752
|
function pt_default() {
|
|
8160
7753
|
return {
|
|
8161
|
-
localeError:
|
|
7754
|
+
localeError: error34()
|
|
8162
7755
|
};
|
|
8163
7756
|
}
|
|
8164
|
-
var
|
|
7757
|
+
var error34 = () => {
|
|
8165
7758
|
const Sizable = {
|
|
8166
7759
|
string: { unit: "caracteres", verb: "ter" },
|
|
8167
7760
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -8267,130 +7860,7 @@ var init_pt = __esm(() => {
|
|
|
8267
7860
|
init_util();
|
|
8268
7861
|
});
|
|
8269
7862
|
|
|
8270
|
-
// node_modules/.bun/zod@4.
|
|
8271
|
-
function ro_default() {
|
|
8272
|
-
return {
|
|
8273
|
-
localeError: error37()
|
|
8274
|
-
};
|
|
8275
|
-
}
|
|
8276
|
-
var error37 = () => {
|
|
8277
|
-
const Sizable = {
|
|
8278
|
-
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
8279
|
-
file: { unit: "octe\u021Bi", verb: "s\u0103 aib\u0103" },
|
|
8280
|
-
array: { unit: "elemente", verb: "s\u0103 aib\u0103" },
|
|
8281
|
-
set: { unit: "elemente", verb: "s\u0103 aib\u0103" },
|
|
8282
|
-
map: { unit: "intr\u0103ri", verb: "s\u0103 aib\u0103" }
|
|
8283
|
-
};
|
|
8284
|
-
function getSizing(origin) {
|
|
8285
|
-
return Sizable[origin] ?? null;
|
|
8286
|
-
}
|
|
8287
|
-
const FormatDictionary = {
|
|
8288
|
-
regex: "intrare",
|
|
8289
|
-
email: "adres\u0103 de email",
|
|
8290
|
-
url: "URL",
|
|
8291
|
-
emoji: "emoji",
|
|
8292
|
-
uuid: "UUID",
|
|
8293
|
-
uuidv4: "UUIDv4",
|
|
8294
|
-
uuidv6: "UUIDv6",
|
|
8295
|
-
nanoid: "nanoid",
|
|
8296
|
-
guid: "GUID",
|
|
8297
|
-
cuid: "cuid",
|
|
8298
|
-
cuid2: "cuid2",
|
|
8299
|
-
ulid: "ULID",
|
|
8300
|
-
xid: "XID",
|
|
8301
|
-
ksuid: "KSUID",
|
|
8302
|
-
datetime: "dat\u0103 \u0219i or\u0103 ISO",
|
|
8303
|
-
date: "dat\u0103 ISO",
|
|
8304
|
-
time: "or\u0103 ISO",
|
|
8305
|
-
duration: "durat\u0103 ISO",
|
|
8306
|
-
ipv4: "adres\u0103 IPv4",
|
|
8307
|
-
ipv6: "adres\u0103 IPv6",
|
|
8308
|
-
mac: "adres\u0103 MAC",
|
|
8309
|
-
cidrv4: "interval IPv4",
|
|
8310
|
-
cidrv6: "interval IPv6",
|
|
8311
|
-
base64: "\u0219ir codat base64",
|
|
8312
|
-
base64url: "\u0219ir codat base64url",
|
|
8313
|
-
json_string: "\u0219ir JSON",
|
|
8314
|
-
e164: "num\u0103r E.164",
|
|
8315
|
-
jwt: "JWT",
|
|
8316
|
-
template_literal: "intrare"
|
|
8317
|
-
};
|
|
8318
|
-
const TypeDictionary = {
|
|
8319
|
-
nan: "NaN",
|
|
8320
|
-
string: "\u0219ir",
|
|
8321
|
-
number: "num\u0103r",
|
|
8322
|
-
boolean: "boolean",
|
|
8323
|
-
function: "func\u021Bie",
|
|
8324
|
-
array: "matrice",
|
|
8325
|
-
object: "obiect",
|
|
8326
|
-
undefined: "nedefinit",
|
|
8327
|
-
symbol: "simbol",
|
|
8328
|
-
bigint: "num\u0103r mare",
|
|
8329
|
-
void: "void",
|
|
8330
|
-
never: "never",
|
|
8331
|
-
map: "hart\u0103",
|
|
8332
|
-
set: "set"
|
|
8333
|
-
};
|
|
8334
|
-
return (issue2) => {
|
|
8335
|
-
switch (issue2.code) {
|
|
8336
|
-
case "invalid_type": {
|
|
8337
|
-
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8338
|
-
const receivedType = parsedType(issue2.input);
|
|
8339
|
-
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8340
|
-
return `Intrare invalid\u0103: a\u0219teptat ${expected}, primit ${received}`;
|
|
8341
|
-
}
|
|
8342
|
-
case "invalid_value":
|
|
8343
|
-
if (issue2.values.length === 1)
|
|
8344
|
-
return `Intrare invalid\u0103: a\u0219teptat ${stringifyPrimitive(issue2.values[0])}`;
|
|
8345
|
-
return `Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${joinValues(issue2.values, "|")}`;
|
|
8346
|
-
case "too_big": {
|
|
8347
|
-
const adj = issue2.inclusive ? "<=" : "<";
|
|
8348
|
-
const sizing = getSizing(issue2.origin);
|
|
8349
|
-
if (sizing)
|
|
8350
|
-
return `Prea mare: a\u0219teptat ca ${issue2.origin ?? "valoarea"} ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemente"}`;
|
|
8351
|
-
return `Prea mare: a\u0219teptat ca ${issue2.origin ?? "valoarea"} s\u0103 fie ${adj}${issue2.maximum.toString()}`;
|
|
8352
|
-
}
|
|
8353
|
-
case "too_small": {
|
|
8354
|
-
const adj = issue2.inclusive ? ">=" : ">";
|
|
8355
|
-
const sizing = getSizing(issue2.origin);
|
|
8356
|
-
if (sizing) {
|
|
8357
|
-
return `Prea mic: a\u0219teptat ca ${issue2.origin} ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
8358
|
-
}
|
|
8359
|
-
return `Prea mic: a\u0219teptat ca ${issue2.origin} s\u0103 fie ${adj}${issue2.minimum.toString()}`;
|
|
8360
|
-
}
|
|
8361
|
-
case "invalid_format": {
|
|
8362
|
-
const _issue = issue2;
|
|
8363
|
-
if (_issue.format === "starts_with") {
|
|
8364
|
-
return `\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${_issue.prefix}"`;
|
|
8365
|
-
}
|
|
8366
|
-
if (_issue.format === "ends_with")
|
|
8367
|
-
return `\u0218ir invalid: trebuie s\u0103 se termine cu "${_issue.suffix}"`;
|
|
8368
|
-
if (_issue.format === "includes")
|
|
8369
|
-
return `\u0218ir invalid: trebuie s\u0103 includ\u0103 "${_issue.includes}"`;
|
|
8370
|
-
if (_issue.format === "regex")
|
|
8371
|
-
return `\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${_issue.pattern}`;
|
|
8372
|
-
return `Format invalid: ${FormatDictionary[_issue.format] ?? issue2.format}`;
|
|
8373
|
-
}
|
|
8374
|
-
case "not_multiple_of":
|
|
8375
|
-
return `Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${issue2.divisor}`;
|
|
8376
|
-
case "unrecognized_keys":
|
|
8377
|
-
return `Chei nerecunoscute: ${joinValues(issue2.keys, ", ")}`;
|
|
8378
|
-
case "invalid_key":
|
|
8379
|
-
return `Cheie invalid\u0103 \xEEn ${issue2.origin}`;
|
|
8380
|
-
case "invalid_union":
|
|
8381
|
-
return "Intrare invalid\u0103";
|
|
8382
|
-
case "invalid_element":
|
|
8383
|
-
return `Valoare invalid\u0103 \xEEn ${issue2.origin}`;
|
|
8384
|
-
default:
|
|
8385
|
-
return `Intrare invalid\u0103`;
|
|
8386
|
-
}
|
|
8387
|
-
};
|
|
8388
|
-
};
|
|
8389
|
-
var init_ro = __esm(() => {
|
|
8390
|
-
init_util();
|
|
8391
|
-
});
|
|
8392
|
-
|
|
8393
|
-
// node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ru.js
|
|
7863
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ru.js
|
|
8394
7864
|
function getRussianPlural(count, one, few, many) {
|
|
8395
7865
|
const absCount = Math.abs(count);
|
|
8396
7866
|
const lastDigit = absCount % 10;
|
|
@@ -8408,10 +7878,10 @@ function getRussianPlural(count, one, few, many) {
|
|
|
8408
7878
|
}
|
|
8409
7879
|
function ru_default() {
|
|
8410
7880
|
return {
|
|
8411
|
-
localeError:
|
|
7881
|
+
localeError: error35()
|
|
8412
7882
|
};
|
|
8413
7883
|
}
|
|
8414
|
-
var
|
|
7884
|
+
var error35 = () => {
|
|
8415
7885
|
const Sizable = {
|
|
8416
7886
|
string: {
|
|
8417
7887
|
unit: {
|
|
@@ -8550,13 +8020,13 @@ var init_ru = __esm(() => {
|
|
|
8550
8020
|
init_util();
|
|
8551
8021
|
});
|
|
8552
8022
|
|
|
8553
|
-
// node_modules/.bun/zod@4.
|
|
8023
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sl.js
|
|
8554
8024
|
function sl_default() {
|
|
8555
8025
|
return {
|
|
8556
|
-
localeError:
|
|
8026
|
+
localeError: error36()
|
|
8557
8027
|
};
|
|
8558
8028
|
}
|
|
8559
|
-
var
|
|
8029
|
+
var error36 = () => {
|
|
8560
8030
|
const Sizable = {
|
|
8561
8031
|
string: { unit: "znakov", verb: "imeti" },
|
|
8562
8032
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -8663,13 +8133,13 @@ var init_sl = __esm(() => {
|
|
|
8663
8133
|
init_util();
|
|
8664
8134
|
});
|
|
8665
8135
|
|
|
8666
|
-
// node_modules/.bun/zod@4.
|
|
8136
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sv.js
|
|
8667
8137
|
function sv_default() {
|
|
8668
8138
|
return {
|
|
8669
|
-
localeError:
|
|
8139
|
+
localeError: error37()
|
|
8670
8140
|
};
|
|
8671
8141
|
}
|
|
8672
|
-
var
|
|
8142
|
+
var error37 = () => {
|
|
8673
8143
|
const Sizable = {
|
|
8674
8144
|
string: { unit: "tecken", verb: "att ha" },
|
|
8675
8145
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -8777,13 +8247,13 @@ var init_sv = __esm(() => {
|
|
|
8777
8247
|
init_util();
|
|
8778
8248
|
});
|
|
8779
8249
|
|
|
8780
|
-
// node_modules/.bun/zod@4.
|
|
8250
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ta.js
|
|
8781
8251
|
function ta_default() {
|
|
8782
8252
|
return {
|
|
8783
|
-
localeError:
|
|
8253
|
+
localeError: error38()
|
|
8784
8254
|
};
|
|
8785
8255
|
}
|
|
8786
|
-
var
|
|
8256
|
+
var error38 = () => {
|
|
8787
8257
|
const Sizable = {
|
|
8788
8258
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
8789
8259
|
file: { unit: "\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -8891,13 +8361,13 @@ var init_ta = __esm(() => {
|
|
|
8891
8361
|
init_util();
|
|
8892
8362
|
});
|
|
8893
8363
|
|
|
8894
|
-
// node_modules/.bun/zod@4.
|
|
8364
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/th.js
|
|
8895
8365
|
function th_default() {
|
|
8896
8366
|
return {
|
|
8897
|
-
localeError:
|
|
8367
|
+
localeError: error39()
|
|
8898
8368
|
};
|
|
8899
8369
|
}
|
|
8900
|
-
var
|
|
8370
|
+
var error39 = () => {
|
|
8901
8371
|
const Sizable = {
|
|
8902
8372
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
8903
8373
|
file: { unit: "\u0E44\u0E1A\u0E15\u0E4C", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9005,13 +8475,13 @@ var init_th = __esm(() => {
|
|
|
9005
8475
|
init_util();
|
|
9006
8476
|
});
|
|
9007
8477
|
|
|
9008
|
-
// node_modules/.bun/zod@4.
|
|
8478
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/tr.js
|
|
9009
8479
|
function tr_default() {
|
|
9010
8480
|
return {
|
|
9011
|
-
localeError:
|
|
8481
|
+
localeError: error40()
|
|
9012
8482
|
};
|
|
9013
8483
|
}
|
|
9014
|
-
var
|
|
8484
|
+
var error40 = () => {
|
|
9015
8485
|
const Sizable = {
|
|
9016
8486
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
9017
8487
|
file: { unit: "bayt", verb: "olmal\u0131" },
|
|
@@ -9114,13 +8584,13 @@ var init_tr = __esm(() => {
|
|
|
9114
8584
|
init_util();
|
|
9115
8585
|
});
|
|
9116
8586
|
|
|
9117
|
-
// node_modules/.bun/zod@4.
|
|
8587
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uk.js
|
|
9118
8588
|
function uk_default() {
|
|
9119
8589
|
return {
|
|
9120
|
-
localeError:
|
|
8590
|
+
localeError: error41()
|
|
9121
8591
|
};
|
|
9122
8592
|
}
|
|
9123
|
-
var
|
|
8593
|
+
var error41 = () => {
|
|
9124
8594
|
const Sizable = {
|
|
9125
8595
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
9126
8596
|
file: { unit: "\u0431\u0430\u0439\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9226,7 +8696,7 @@ var init_uk = __esm(() => {
|
|
|
9226
8696
|
init_util();
|
|
9227
8697
|
});
|
|
9228
8698
|
|
|
9229
|
-
// node_modules/.bun/zod@4.
|
|
8699
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ua.js
|
|
9230
8700
|
function ua_default() {
|
|
9231
8701
|
return uk_default();
|
|
9232
8702
|
}
|
|
@@ -9234,13 +8704,13 @@ var init_ua = __esm(() => {
|
|
|
9234
8704
|
init_uk();
|
|
9235
8705
|
});
|
|
9236
8706
|
|
|
9237
|
-
// node_modules/.bun/zod@4.
|
|
8707
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ur.js
|
|
9238
8708
|
function ur_default() {
|
|
9239
8709
|
return {
|
|
9240
|
-
localeError:
|
|
8710
|
+
localeError: error42()
|
|
9241
8711
|
};
|
|
9242
8712
|
}
|
|
9243
|
-
var
|
|
8713
|
+
var error42 = () => {
|
|
9244
8714
|
const Sizable = {
|
|
9245
8715
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
9246
8716
|
file: { unit: "\u0628\u0627\u0626\u0679\u0633", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9348,19 +8818,18 @@ var init_ur = __esm(() => {
|
|
|
9348
8818
|
init_util();
|
|
9349
8819
|
});
|
|
9350
8820
|
|
|
9351
|
-
// node_modules/.bun/zod@4.
|
|
8821
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uz.js
|
|
9352
8822
|
function uz_default() {
|
|
9353
8823
|
return {
|
|
9354
|
-
localeError:
|
|
8824
|
+
localeError: error43()
|
|
9355
8825
|
};
|
|
9356
8826
|
}
|
|
9357
|
-
var
|
|
8827
|
+
var error43 = () => {
|
|
9358
8828
|
const Sizable = {
|
|
9359
8829
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
9360
8830
|
file: { unit: "bayt", verb: "bo\u2018lishi kerak" },
|
|
9361
8831
|
array: { unit: "element", verb: "bo\u2018lishi kerak" },
|
|
9362
|
-
set: { unit: "element", verb: "bo\u2018lishi kerak" }
|
|
9363
|
-
map: { unit: "yozuv", verb: "bo\u2018lishi kerak" }
|
|
8832
|
+
set: { unit: "element", verb: "bo\u2018lishi kerak" }
|
|
9364
8833
|
};
|
|
9365
8834
|
function getSizing(origin) {
|
|
9366
8835
|
return Sizable[origin] ?? null;
|
|
@@ -9462,13 +8931,13 @@ var init_uz = __esm(() => {
|
|
|
9462
8931
|
init_util();
|
|
9463
8932
|
});
|
|
9464
8933
|
|
|
9465
|
-
// node_modules/.bun/zod@4.
|
|
8934
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/vi.js
|
|
9466
8935
|
function vi_default() {
|
|
9467
8936
|
return {
|
|
9468
|
-
localeError:
|
|
8937
|
+
localeError: error44()
|
|
9469
8938
|
};
|
|
9470
8939
|
}
|
|
9471
|
-
var
|
|
8940
|
+
var error44 = () => {
|
|
9472
8941
|
const Sizable = {
|
|
9473
8942
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
9474
8943
|
file: { unit: "byte", verb: "c\xF3" },
|
|
@@ -9574,13 +9043,13 @@ var init_vi = __esm(() => {
|
|
|
9574
9043
|
init_util();
|
|
9575
9044
|
});
|
|
9576
9045
|
|
|
9577
|
-
// node_modules/.bun/zod@4.
|
|
9046
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
|
|
9578
9047
|
function zh_CN_default() {
|
|
9579
9048
|
return {
|
|
9580
|
-
localeError:
|
|
9049
|
+
localeError: error45()
|
|
9581
9050
|
};
|
|
9582
9051
|
}
|
|
9583
|
-
var
|
|
9052
|
+
var error45 = () => {
|
|
9584
9053
|
const Sizable = {
|
|
9585
9054
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
9586
9055
|
file: { unit: "\u5B57\u8282", verb: "\u5305\u542B" },
|
|
@@ -9687,13 +9156,13 @@ var init_zh_CN = __esm(() => {
|
|
|
9687
9156
|
init_util();
|
|
9688
9157
|
});
|
|
9689
9158
|
|
|
9690
|
-
// node_modules/.bun/zod@4.
|
|
9159
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
|
|
9691
9160
|
function zh_TW_default() {
|
|
9692
9161
|
return {
|
|
9693
|
-
localeError:
|
|
9162
|
+
localeError: error46()
|
|
9694
9163
|
};
|
|
9695
9164
|
}
|
|
9696
|
-
var
|
|
9165
|
+
var error46 = () => {
|
|
9697
9166
|
const Sizable = {
|
|
9698
9167
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
9699
9168
|
file: { unit: "\u4F4D\u5143\u7D44", verb: "\u64C1\u6709" },
|
|
@@ -9798,13 +9267,13 @@ var init_zh_TW = __esm(() => {
|
|
|
9798
9267
|
init_util();
|
|
9799
9268
|
});
|
|
9800
9269
|
|
|
9801
|
-
// node_modules/.bun/zod@4.
|
|
9270
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/yo.js
|
|
9802
9271
|
function yo_default() {
|
|
9803
9272
|
return {
|
|
9804
|
-
localeError:
|
|
9273
|
+
localeError: error47()
|
|
9805
9274
|
};
|
|
9806
9275
|
}
|
|
9807
|
-
var
|
|
9276
|
+
var error47 = () => {
|
|
9808
9277
|
const Sizable = {
|
|
9809
9278
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
9810
9279
|
file: { unit: "bytes", verb: "n\xED" },
|
|
@@ -9909,7 +9378,7 @@ var init_yo = __esm(() => {
|
|
|
9909
9378
|
init_util();
|
|
9910
9379
|
});
|
|
9911
9380
|
|
|
9912
|
-
// node_modules/.bun/zod@4.
|
|
9381
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/index.js
|
|
9913
9382
|
var exports_locales = {};
|
|
9914
9383
|
__export(exports_locales, {
|
|
9915
9384
|
zhTW: () => zh_TW_default,
|
|
@@ -9926,7 +9395,6 @@ __export(exports_locales, {
|
|
|
9926
9395
|
sv: () => sv_default,
|
|
9927
9396
|
sl: () => sl_default,
|
|
9928
9397
|
ru: () => ru_default,
|
|
9929
|
-
ro: () => ro_default,
|
|
9930
9398
|
pt: () => pt_default,
|
|
9931
9399
|
ps: () => ps_default,
|
|
9932
9400
|
pl: () => pl_default,
|
|
@@ -9946,7 +9414,6 @@ __export(exports_locales, {
|
|
|
9946
9414
|
id: () => id_default,
|
|
9947
9415
|
hy: () => hy_default,
|
|
9948
9416
|
hu: () => hu_default,
|
|
9949
|
-
hr: () => hr_default,
|
|
9950
9417
|
he: () => he_default,
|
|
9951
9418
|
frCA: () => fr_CA_default,
|
|
9952
9419
|
fr: () => fr_default,
|
|
@@ -9955,7 +9422,6 @@ __export(exports_locales, {
|
|
|
9955
9422
|
es: () => es_default,
|
|
9956
9423
|
eo: () => eo_default,
|
|
9957
9424
|
en: () => en_default,
|
|
9958
|
-
el: () => el_default,
|
|
9959
9425
|
de: () => de_default,
|
|
9960
9426
|
da: () => da_default,
|
|
9961
9427
|
cs: () => cs_default,
|
|
@@ -9974,7 +9440,6 @@ var init_locales = __esm(() => {
|
|
|
9974
9440
|
init_cs();
|
|
9975
9441
|
init_da();
|
|
9976
9442
|
init_de();
|
|
9977
|
-
init_el();
|
|
9978
9443
|
init_en();
|
|
9979
9444
|
init_eo();
|
|
9980
9445
|
init_es();
|
|
@@ -9983,7 +9448,6 @@ var init_locales = __esm(() => {
|
|
|
9983
9448
|
init_fr();
|
|
9984
9449
|
init_fr_CA();
|
|
9985
9450
|
init_he();
|
|
9986
|
-
init_hr();
|
|
9987
9451
|
init_hu();
|
|
9988
9452
|
init_hy();
|
|
9989
9453
|
init_id();
|
|
@@ -10003,7 +9467,6 @@ var init_locales = __esm(() => {
|
|
|
10003
9467
|
init_ps();
|
|
10004
9468
|
init_pl();
|
|
10005
9469
|
init_pt();
|
|
10006
|
-
init_ro();
|
|
10007
9470
|
init_ru();
|
|
10008
9471
|
init_sl();
|
|
10009
9472
|
init_sv();
|
|
@@ -10020,7 +9483,7 @@ var init_locales = __esm(() => {
|
|
|
10020
9483
|
init_yo();
|
|
10021
9484
|
});
|
|
10022
9485
|
|
|
10023
|
-
// node_modules/.bun/zod@4.
|
|
9486
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/registries.js
|
|
10024
9487
|
class $ZodRegistry {
|
|
10025
9488
|
constructor() {
|
|
10026
9489
|
this._map = new WeakMap;
|
|
@@ -10064,15 +9527,15 @@ class $ZodRegistry {
|
|
|
10064
9527
|
function registry() {
|
|
10065
9528
|
return new $ZodRegistry;
|
|
10066
9529
|
}
|
|
10067
|
-
var
|
|
9530
|
+
var _a, $output, $input, globalRegistry;
|
|
10068
9531
|
var init_registries = __esm(() => {
|
|
10069
9532
|
$output = Symbol("ZodOutput");
|
|
10070
9533
|
$input = Symbol("ZodInput");
|
|
10071
|
-
(
|
|
9534
|
+
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
10072
9535
|
globalRegistry = globalThis.__zod_globalRegistry;
|
|
10073
9536
|
});
|
|
10074
9537
|
|
|
10075
|
-
// node_modules/.bun/zod@4.
|
|
9538
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/api.js
|
|
10076
9539
|
function _string(Class2, params) {
|
|
10077
9540
|
return new Class2({
|
|
10078
9541
|
type: "string",
|
|
@@ -10869,7 +10332,7 @@ function _refine(Class2, fn, _params) {
|
|
|
10869
10332
|
});
|
|
10870
10333
|
return schema;
|
|
10871
10334
|
}
|
|
10872
|
-
function _superRefine(fn
|
|
10335
|
+
function _superRefine(fn) {
|
|
10873
10336
|
const ch = _check((payload) => {
|
|
10874
10337
|
payload.addIssue = (issue2) => {
|
|
10875
10338
|
if (typeof issue2 === "string") {
|
|
@@ -10886,7 +10349,7 @@ function _superRefine(fn, params) {
|
|
|
10886
10349
|
}
|
|
10887
10350
|
};
|
|
10888
10351
|
return fn(payload.value, payload);
|
|
10889
|
-
}
|
|
10352
|
+
});
|
|
10890
10353
|
return ch;
|
|
10891
10354
|
}
|
|
10892
10355
|
function _check(fn, params) {
|
|
@@ -11000,7 +10463,7 @@ var init_api = __esm(() => {
|
|
|
11000
10463
|
};
|
|
11001
10464
|
});
|
|
11002
10465
|
|
|
11003
|
-
// node_modules/.bun/zod@4.
|
|
10466
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
|
|
11004
10467
|
function initializeContext(params) {
|
|
11005
10468
|
let target = params?.target ?? "draft-2020-12";
|
|
11006
10469
|
if (target === "draft-4")
|
|
@@ -11022,7 +10485,7 @@ function initializeContext(params) {
|
|
|
11022
10485
|
};
|
|
11023
10486
|
}
|
|
11024
10487
|
function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
11025
|
-
var
|
|
10488
|
+
var _a2;
|
|
11026
10489
|
const def = schema._zod.def;
|
|
11027
10490
|
const seen = ctx.seen.get(schema);
|
|
11028
10491
|
if (seen) {
|
|
@@ -11069,8 +10532,8 @@ function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
11069
10532
|
delete result.schema.examples;
|
|
11070
10533
|
delete result.schema.default;
|
|
11071
10534
|
}
|
|
11072
|
-
if (ctx.io === "input" &&
|
|
11073
|
-
(
|
|
10535
|
+
if (ctx.io === "input" && result.schema._prefault)
|
|
10536
|
+
(_a2 = result.schema).default ?? (_a2.default = result.schema._prefault);
|
|
11074
10537
|
delete result.schema._prefault;
|
|
11075
10538
|
const _result = ctx.seen.get(schema);
|
|
11076
10539
|
return _result.schema;
|
|
@@ -11247,15 +10710,10 @@ function finalize(ctx, schema) {
|
|
|
11247
10710
|
result.$id = ctx.external.uri(id);
|
|
11248
10711
|
}
|
|
11249
10712
|
Object.assign(result, root.def ?? root.schema);
|
|
11250
|
-
const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
|
|
11251
|
-
if (rootMetaId !== undefined && result.id === rootMetaId)
|
|
11252
|
-
delete result.id;
|
|
11253
10713
|
const defs = ctx.external?.defs ?? {};
|
|
11254
10714
|
for (const entry of ctx.seen.entries()) {
|
|
11255
10715
|
const seen = entry[1];
|
|
11256
10716
|
if (seen.def && seen.defId) {
|
|
11257
|
-
if (seen.def.id === seen.defId)
|
|
11258
|
-
delete seen.def.id;
|
|
11259
10717
|
defs[seen.defId] = seen.def;
|
|
11260
10718
|
}
|
|
11261
10719
|
}
|
|
@@ -11310,8 +10768,6 @@ function isTransforming(_schema, _ctx) {
|
|
|
11310
10768
|
return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
11311
10769
|
}
|
|
11312
10770
|
if (def.type === "pipe") {
|
|
11313
|
-
if (_schema._zod.traits.has("$ZodCodec"))
|
|
11314
|
-
return true;
|
|
11315
10771
|
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
11316
10772
|
}
|
|
11317
10773
|
if (def.type === "object") {
|
|
@@ -11355,7 +10811,7 @@ var init_to_json_schema = __esm(() => {
|
|
|
11355
10811
|
init_registries();
|
|
11356
10812
|
});
|
|
11357
10813
|
|
|
11358
|
-
// node_modules/.bun/zod@4.
|
|
10814
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
|
|
11359
10815
|
function toJSONSchema(input, params) {
|
|
11360
10816
|
if ("_idmap" in input) {
|
|
11361
10817
|
const registry2 = input;
|
|
@@ -11428,28 +10884,39 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
11428
10884
|
json.type = "integer";
|
|
11429
10885
|
else
|
|
11430
10886
|
json.type = "number";
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
|
|
11434
|
-
if (exMin) {
|
|
11435
|
-
if (legacy) {
|
|
10887
|
+
if (typeof exclusiveMinimum === "number") {
|
|
10888
|
+
if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
|
|
11436
10889
|
json.minimum = exclusiveMinimum;
|
|
11437
10890
|
json.exclusiveMinimum = true;
|
|
11438
10891
|
} else {
|
|
11439
10892
|
json.exclusiveMinimum = exclusiveMinimum;
|
|
11440
10893
|
}
|
|
11441
|
-
}
|
|
10894
|
+
}
|
|
10895
|
+
if (typeof minimum === "number") {
|
|
11442
10896
|
json.minimum = minimum;
|
|
10897
|
+
if (typeof exclusiveMinimum === "number" && ctx.target !== "draft-04") {
|
|
10898
|
+
if (exclusiveMinimum >= minimum)
|
|
10899
|
+
delete json.minimum;
|
|
10900
|
+
else
|
|
10901
|
+
delete json.exclusiveMinimum;
|
|
10902
|
+
}
|
|
11443
10903
|
}
|
|
11444
|
-
if (
|
|
11445
|
-
if (
|
|
10904
|
+
if (typeof exclusiveMaximum === "number") {
|
|
10905
|
+
if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
|
|
11446
10906
|
json.maximum = exclusiveMaximum;
|
|
11447
10907
|
json.exclusiveMaximum = true;
|
|
11448
10908
|
} else {
|
|
11449
10909
|
json.exclusiveMaximum = exclusiveMaximum;
|
|
11450
10910
|
}
|
|
11451
|
-
}
|
|
10911
|
+
}
|
|
10912
|
+
if (typeof maximum === "number") {
|
|
11452
10913
|
json.maximum = maximum;
|
|
10914
|
+
if (typeof exclusiveMaximum === "number" && ctx.target !== "draft-04") {
|
|
10915
|
+
if (exclusiveMaximum <= maximum)
|
|
10916
|
+
delete json.maximum;
|
|
10917
|
+
else
|
|
10918
|
+
delete json.exclusiveMaximum;
|
|
10919
|
+
}
|
|
11453
10920
|
}
|
|
11454
10921
|
if (typeof multipleOf === "number")
|
|
11455
10922
|
json.multipleOf = multipleOf;
|
|
@@ -11595,10 +11062,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
11595
11062
|
if (typeof maximum === "number")
|
|
11596
11063
|
json.maxItems = maximum;
|
|
11597
11064
|
json.type = "array";
|
|
11598
|
-
json.items = process(def.element, ctx, {
|
|
11599
|
-
...params,
|
|
11600
|
-
path: [...params.path, "items"]
|
|
11601
|
-
});
|
|
11065
|
+
json.items = process(def.element, ctx, { ...params, path: [...params.path, "items"] });
|
|
11602
11066
|
}, objectProcessor = (schema, ctx, _json, params) => {
|
|
11603
11067
|
const json = _json;
|
|
11604
11068
|
const def = schema._zod.def;
|
|
@@ -11780,8 +11244,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
11780
11244
|
json.default = catchValue;
|
|
11781
11245
|
}, pipeProcessor = (schema, ctx, _json, params) => {
|
|
11782
11246
|
const def = schema._zod.def;
|
|
11783
|
-
const
|
|
11784
|
-
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
11247
|
+
const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
|
|
11785
11248
|
process(innerType, ctx, params);
|
|
11786
11249
|
const seen = ctx.seen.get(schema);
|
|
11787
11250
|
seen.ref = innerType;
|
|
@@ -11860,7 +11323,7 @@ var init_json_schema_processors = __esm(() => {
|
|
|
11860
11323
|
};
|
|
11861
11324
|
});
|
|
11862
11325
|
|
|
11863
|
-
// node_modules/.bun/zod@4.
|
|
11326
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
|
|
11864
11327
|
class JSONSchemaGenerator {
|
|
11865
11328
|
get metadataRegistry() {
|
|
11866
11329
|
return this.ctx.metadataRegistry;
|
|
@@ -11924,11 +11387,11 @@ var init_json_schema_generator = __esm(() => {
|
|
|
11924
11387
|
init_to_json_schema();
|
|
11925
11388
|
});
|
|
11926
11389
|
|
|
11927
|
-
// node_modules/.bun/zod@4.
|
|
11390
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
|
|
11928
11391
|
var exports_json_schema = {};
|
|
11929
11392
|
var init_json_schema = () => {};
|
|
11930
11393
|
|
|
11931
|
-
// node_modules/.bun/zod@4.
|
|
11394
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/index.js
|
|
11932
11395
|
var exports_core2 = {};
|
|
11933
11396
|
__export(exports_core2, {
|
|
11934
11397
|
version: () => version,
|
|
@@ -12127,7 +11590,6 @@ __export(exports_core2, {
|
|
|
12127
11590
|
$ZodRealError: () => $ZodRealError,
|
|
12128
11591
|
$ZodReadonly: () => $ZodReadonly,
|
|
12129
11592
|
$ZodPromise: () => $ZodPromise,
|
|
12130
|
-
$ZodPreprocess: () => $ZodPreprocess,
|
|
12131
11593
|
$ZodPrefault: () => $ZodPrefault,
|
|
12132
11594
|
$ZodPipe: () => $ZodPipe,
|
|
12133
11595
|
$ZodOptional: () => $ZodOptional,
|
|
@@ -12225,7 +11687,7 @@ var init_core2 = __esm(() => {
|
|
|
12225
11687
|
init_to_json_schema();
|
|
12226
11688
|
});
|
|
12227
11689
|
|
|
12228
|
-
// node_modules/.bun/zod@4.
|
|
11690
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/checks.js
|
|
12229
11691
|
var exports_checks2 = {};
|
|
12230
11692
|
__export(exports_checks2, {
|
|
12231
11693
|
uppercase: () => _uppercase,
|
|
@@ -12262,7 +11724,7 @@ var init_checks2 = __esm(() => {
|
|
|
12262
11724
|
init_core2();
|
|
12263
11725
|
});
|
|
12264
11726
|
|
|
12265
|
-
// node_modules/.bun/zod@4.
|
|
11727
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/iso.js
|
|
12266
11728
|
var exports_iso = {};
|
|
12267
11729
|
__export(exports_iso, {
|
|
12268
11730
|
time: () => time2,
|
|
@@ -12308,7 +11770,7 @@ var init_iso = __esm(() => {
|
|
|
12308
11770
|
});
|
|
12309
11771
|
});
|
|
12310
11772
|
|
|
12311
|
-
// node_modules/.bun/zod@4.
|
|
11773
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/errors.js
|
|
12312
11774
|
var initializer2 = (inst, issues) => {
|
|
12313
11775
|
$ZodError.init(inst, issues);
|
|
12314
11776
|
inst.name = "ZodError";
|
|
@@ -12342,13 +11804,13 @@ var init_errors2 = __esm(() => {
|
|
|
12342
11804
|
init_core2();
|
|
12343
11805
|
init_core2();
|
|
12344
11806
|
init_util();
|
|
12345
|
-
ZodError =
|
|
12346
|
-
ZodRealError =
|
|
11807
|
+
ZodError = $constructor("ZodError", initializer2);
|
|
11808
|
+
ZodRealError = $constructor("ZodError", initializer2, {
|
|
12347
11809
|
Parent: Error
|
|
12348
11810
|
});
|
|
12349
11811
|
});
|
|
12350
11812
|
|
|
12351
|
-
// node_modules/.bun/zod@4.
|
|
11813
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/parse.js
|
|
12352
11814
|
var parse3, parseAsync2, safeParse2, safeParseAsync2, encode2, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2;
|
|
12353
11815
|
var init_parse2 = __esm(() => {
|
|
12354
11816
|
init_core2();
|
|
@@ -12367,7 +11829,7 @@ var init_parse2 = __esm(() => {
|
|
|
12367
11829
|
safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12368
11830
|
});
|
|
12369
11831
|
|
|
12370
|
-
// node_modules/.bun/zod@4.
|
|
11832
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
|
|
12371
11833
|
var exports_schemas2 = {};
|
|
12372
11834
|
__export(exports_schemas2, {
|
|
12373
11835
|
xor: () => xor,
|
|
@@ -12427,7 +11889,6 @@ __export(exports_schemas2, {
|
|
|
12427
11889
|
json: () => json,
|
|
12428
11890
|
ipv6: () => ipv62,
|
|
12429
11891
|
ipv4: () => ipv42,
|
|
12430
|
-
invertCodec: () => invertCodec,
|
|
12431
11892
|
intersection: () => intersection,
|
|
12432
11893
|
int64: () => int64,
|
|
12433
11894
|
int32: () => int32,
|
|
@@ -12488,7 +11949,6 @@ __export(exports_schemas2, {
|
|
|
12488
11949
|
ZodRecord: () => ZodRecord,
|
|
12489
11950
|
ZodReadonly: () => ZodReadonly,
|
|
12490
11951
|
ZodPromise: () => ZodPromise,
|
|
12491
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
12492
11952
|
ZodPrefault: () => ZodPrefault,
|
|
12493
11953
|
ZodPipe: () => ZodPipe,
|
|
12494
11954
|
ZodOptional: () => ZodOptional,
|
|
@@ -12537,42 +11997,6 @@ __export(exports_schemas2, {
|
|
|
12537
11997
|
ZodArray: () => ZodArray,
|
|
12538
11998
|
ZodAny: () => ZodAny
|
|
12539
11999
|
});
|
|
12540
|
-
function _installLazyMethods(inst, group, methods) {
|
|
12541
|
-
const proto = Object.getPrototypeOf(inst);
|
|
12542
|
-
let installed = _installedGroups.get(proto);
|
|
12543
|
-
if (!installed) {
|
|
12544
|
-
installed = new Set;
|
|
12545
|
-
_installedGroups.set(proto, installed);
|
|
12546
|
-
}
|
|
12547
|
-
if (installed.has(group))
|
|
12548
|
-
return;
|
|
12549
|
-
installed.add(group);
|
|
12550
|
-
for (const key in methods) {
|
|
12551
|
-
const fn = methods[key];
|
|
12552
|
-
Object.defineProperty(proto, key, {
|
|
12553
|
-
configurable: true,
|
|
12554
|
-
enumerable: false,
|
|
12555
|
-
get() {
|
|
12556
|
-
const bound = fn.bind(this);
|
|
12557
|
-
Object.defineProperty(this, key, {
|
|
12558
|
-
configurable: true,
|
|
12559
|
-
writable: true,
|
|
12560
|
-
enumerable: true,
|
|
12561
|
-
value: bound
|
|
12562
|
-
});
|
|
12563
|
-
return bound;
|
|
12564
|
-
},
|
|
12565
|
-
set(v) {
|
|
12566
|
-
Object.defineProperty(this, key, {
|
|
12567
|
-
configurable: true,
|
|
12568
|
-
writable: true,
|
|
12569
|
-
enumerable: true,
|
|
12570
|
-
value: v
|
|
12571
|
-
});
|
|
12572
|
-
}
|
|
12573
|
-
});
|
|
12574
|
-
}
|
|
12575
|
-
}
|
|
12576
12000
|
function string2(params) {
|
|
12577
12001
|
return _string(ZodString, params);
|
|
12578
12002
|
}
|
|
@@ -12599,7 +12023,7 @@ function url(params) {
|
|
|
12599
12023
|
}
|
|
12600
12024
|
function httpUrl(params) {
|
|
12601
12025
|
return _url(ZodURL, {
|
|
12602
|
-
protocol:
|
|
12026
|
+
protocol: /^https?$/,
|
|
12603
12027
|
hostname: exports_regexes.domain,
|
|
12604
12028
|
...exports_util.normalizeParams(params)
|
|
12605
12029
|
});
|
|
@@ -12796,14 +12220,6 @@ function tuple(items, _paramsOrRest, _params) {
|
|
|
12796
12220
|
});
|
|
12797
12221
|
}
|
|
12798
12222
|
function record(keyType, valueType, params) {
|
|
12799
|
-
if (!valueType || !valueType._zod) {
|
|
12800
|
-
return new ZodRecord({
|
|
12801
|
-
type: "record",
|
|
12802
|
-
keyType: string2(),
|
|
12803
|
-
valueType: keyType,
|
|
12804
|
-
...exports_util.normalizeParams(valueType)
|
|
12805
|
-
});
|
|
12806
|
-
}
|
|
12807
12223
|
return new ZodRecord({
|
|
12808
12224
|
type: "record",
|
|
12809
12225
|
keyType,
|
|
@@ -12954,16 +12370,6 @@ function codec(in_, out, params) {
|
|
|
12954
12370
|
reverseTransform: params.encode
|
|
12955
12371
|
});
|
|
12956
12372
|
}
|
|
12957
|
-
function invertCodec(codec2) {
|
|
12958
|
-
const def = codec2._zod.def;
|
|
12959
|
-
return new ZodCodec({
|
|
12960
|
-
type: "pipe",
|
|
12961
|
-
in: def.out,
|
|
12962
|
-
out: def.in,
|
|
12963
|
-
transform: def.reverseTransform,
|
|
12964
|
-
reverseTransform: def.transform
|
|
12965
|
-
});
|
|
12966
|
-
}
|
|
12967
12373
|
function readonly(innerType) {
|
|
12968
12374
|
return new ZodReadonly({
|
|
12969
12375
|
type: "readonly",
|
|
@@ -13009,8 +12415,8 @@ function custom(fn, _params) {
|
|
|
13009
12415
|
function refine(fn, _params = {}) {
|
|
13010
12416
|
return _refine(ZodCustom, fn, _params);
|
|
13011
12417
|
}
|
|
13012
|
-
function superRefine(fn
|
|
13013
|
-
return _superRefine(fn
|
|
12418
|
+
function superRefine(fn) {
|
|
12419
|
+
return _superRefine(fn);
|
|
13014
12420
|
}
|
|
13015
12421
|
function _instanceof(cls, params = {}) {
|
|
13016
12422
|
const inst = new ZodCustom({
|
|
@@ -13041,13 +12447,9 @@ function json(params) {
|
|
|
13041
12447
|
return jsonSchema;
|
|
13042
12448
|
}
|
|
13043
12449
|
function preprocess(fn, schema) {
|
|
13044
|
-
return
|
|
13045
|
-
type: "pipe",
|
|
13046
|
-
in: transform(fn),
|
|
13047
|
-
out: schema
|
|
13048
|
-
});
|
|
12450
|
+
return pipe(transform(fn), schema);
|
|
13049
12451
|
}
|
|
13050
|
-
var
|
|
12452
|
+
var ZodType, _ZodString, ZodString, ZodStringFormat, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodMAC, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodCustomStringFormat, ZodNumber, ZodNumberFormat, ZodBoolean, ZodBigInt, ZodBigIntFormat, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodDate, ZodArray, ZodObject, ZodUnion, ZodXor, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodEnum, ZodLiteral, ZodFile, ZodTransform, ZodOptional, ZodExactOptional, ZodNullable, ZodDefault, ZodPrefault, ZodNonOptional, ZodSuccess, ZodCatch, ZodNaN, ZodPipe, ZodCodec, ZodReadonly, ZodTemplateLiteral, ZodLazy, ZodPromise, ZodFunction, ZodCustom, describe2, meta2, stringbool = (...args) => _stringbool({
|
|
13051
12453
|
Codec: ZodCodec,
|
|
13052
12454
|
Boolean: ZodBoolean,
|
|
13053
12455
|
String: ZodString
|
|
@@ -13060,7 +12462,6 @@ var init_schemas2 = __esm(() => {
|
|
|
13060
12462
|
init_checks2();
|
|
13061
12463
|
init_iso();
|
|
13062
12464
|
init_parse2();
|
|
13063
|
-
_installedGroups = /* @__PURE__ */ new WeakMap;
|
|
13064
12465
|
ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
13065
12466
|
$ZodType.init(inst, def);
|
|
13066
12467
|
Object.assign(inst["~standard"], {
|
|
@@ -13073,6 +12474,23 @@ var init_schemas2 = __esm(() => {
|
|
|
13073
12474
|
inst.def = def;
|
|
13074
12475
|
inst.type = def.type;
|
|
13075
12476
|
Object.defineProperty(inst, "_def", { value: def });
|
|
12477
|
+
inst.check = (...checks2) => {
|
|
12478
|
+
return inst.clone(exports_util.mergeDefs(def, {
|
|
12479
|
+
checks: [
|
|
12480
|
+
...def.checks ?? [],
|
|
12481
|
+
...checks2.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12482
|
+
]
|
|
12483
|
+
}), {
|
|
12484
|
+
parent: true
|
|
12485
|
+
});
|
|
12486
|
+
};
|
|
12487
|
+
inst.with = inst.check;
|
|
12488
|
+
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
12489
|
+
inst.brand = () => inst;
|
|
12490
|
+
inst.register = (reg, meta2) => {
|
|
12491
|
+
reg.add(inst, meta2);
|
|
12492
|
+
return inst;
|
|
12493
|
+
};
|
|
13076
12494
|
inst.parse = (data, params) => parse3(inst, data, params, { callee: inst.parse });
|
|
13077
12495
|
inst.safeParse = (data, params) => safeParse2(inst, data, params);
|
|
13078
12496
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -13086,108 +12504,45 @@ var init_schemas2 = __esm(() => {
|
|
|
13086
12504
|
inst.safeDecode = (data, params) => safeDecode2(inst, data, params);
|
|
13087
12505
|
inst.safeEncodeAsync = async (data, params) => safeEncodeAsync2(inst, data, params);
|
|
13088
12506
|
inst.safeDecodeAsync = async (data, params) => safeDecodeAsync2(inst, data, params);
|
|
13089
|
-
|
|
13090
|
-
|
|
13091
|
-
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
|
|
13110
|
-
|
|
13111
|
-
},
|
|
13112
|
-
refine(check, params) {
|
|
13113
|
-
return this.check(refine(check, params));
|
|
13114
|
-
},
|
|
13115
|
-
superRefine(refinement, params) {
|
|
13116
|
-
return this.check(superRefine(refinement, params));
|
|
13117
|
-
},
|
|
13118
|
-
overwrite(fn) {
|
|
13119
|
-
return this.check(_overwrite(fn));
|
|
13120
|
-
},
|
|
13121
|
-
optional() {
|
|
13122
|
-
return optional(this);
|
|
13123
|
-
},
|
|
13124
|
-
exactOptional() {
|
|
13125
|
-
return exactOptional(this);
|
|
13126
|
-
},
|
|
13127
|
-
nullable() {
|
|
13128
|
-
return nullable(this);
|
|
13129
|
-
},
|
|
13130
|
-
nullish() {
|
|
13131
|
-
return optional(nullable(this));
|
|
13132
|
-
},
|
|
13133
|
-
nonoptional(params) {
|
|
13134
|
-
return nonoptional(this, params);
|
|
13135
|
-
},
|
|
13136
|
-
array() {
|
|
13137
|
-
return array(this);
|
|
13138
|
-
},
|
|
13139
|
-
or(arg) {
|
|
13140
|
-
return union([this, arg]);
|
|
13141
|
-
},
|
|
13142
|
-
and(arg) {
|
|
13143
|
-
return intersection(this, arg);
|
|
13144
|
-
},
|
|
13145
|
-
transform(tx) {
|
|
13146
|
-
return pipe(this, transform(tx));
|
|
13147
|
-
},
|
|
13148
|
-
default(d) {
|
|
13149
|
-
return _default2(this, d);
|
|
13150
|
-
},
|
|
13151
|
-
prefault(d) {
|
|
13152
|
-
return prefault(this, d);
|
|
13153
|
-
},
|
|
13154
|
-
catch(params) {
|
|
13155
|
-
return _catch2(this, params);
|
|
13156
|
-
},
|
|
13157
|
-
pipe(target) {
|
|
13158
|
-
return pipe(this, target);
|
|
13159
|
-
},
|
|
13160
|
-
readonly() {
|
|
13161
|
-
return readonly(this);
|
|
13162
|
-
},
|
|
13163
|
-
describe(description) {
|
|
13164
|
-
const cl = this.clone();
|
|
13165
|
-
globalRegistry.add(cl, { description });
|
|
13166
|
-
return cl;
|
|
13167
|
-
},
|
|
13168
|
-
meta(...args) {
|
|
13169
|
-
if (args.length === 0)
|
|
13170
|
-
return globalRegistry.get(this);
|
|
13171
|
-
const cl = this.clone();
|
|
13172
|
-
globalRegistry.add(cl, args[0]);
|
|
13173
|
-
return cl;
|
|
13174
|
-
},
|
|
13175
|
-
isOptional() {
|
|
13176
|
-
return this.safeParse(undefined).success;
|
|
13177
|
-
},
|
|
13178
|
-
isNullable() {
|
|
13179
|
-
return this.safeParse(null).success;
|
|
13180
|
-
},
|
|
13181
|
-
apply(fn) {
|
|
13182
|
-
return fn(this);
|
|
13183
|
-
}
|
|
13184
|
-
});
|
|
12507
|
+
inst.refine = (check, params) => inst.check(refine(check, params));
|
|
12508
|
+
inst.superRefine = (refinement) => inst.check(superRefine(refinement));
|
|
12509
|
+
inst.overwrite = (fn) => inst.check(_overwrite(fn));
|
|
12510
|
+
inst.optional = () => optional(inst);
|
|
12511
|
+
inst.exactOptional = () => exactOptional(inst);
|
|
12512
|
+
inst.nullable = () => nullable(inst);
|
|
12513
|
+
inst.nullish = () => optional(nullable(inst));
|
|
12514
|
+
inst.nonoptional = (params) => nonoptional(inst, params);
|
|
12515
|
+
inst.array = () => array(inst);
|
|
12516
|
+
inst.or = (arg) => union([inst, arg]);
|
|
12517
|
+
inst.and = (arg) => intersection(inst, arg);
|
|
12518
|
+
inst.transform = (tx) => pipe(inst, transform(tx));
|
|
12519
|
+
inst.default = (def2) => _default2(inst, def2);
|
|
12520
|
+
inst.prefault = (def2) => prefault(inst, def2);
|
|
12521
|
+
inst.catch = (params) => _catch2(inst, params);
|
|
12522
|
+
inst.pipe = (target) => pipe(inst, target);
|
|
12523
|
+
inst.readonly = () => readonly(inst);
|
|
12524
|
+
inst.describe = (description) => {
|
|
12525
|
+
const cl = inst.clone();
|
|
12526
|
+
globalRegistry.add(cl, { description });
|
|
12527
|
+
return cl;
|
|
12528
|
+
};
|
|
13185
12529
|
Object.defineProperty(inst, "description", {
|
|
13186
12530
|
get() {
|
|
13187
12531
|
return globalRegistry.get(inst)?.description;
|
|
13188
12532
|
},
|
|
13189
12533
|
configurable: true
|
|
13190
12534
|
});
|
|
12535
|
+
inst.meta = (...args) => {
|
|
12536
|
+
if (args.length === 0) {
|
|
12537
|
+
return globalRegistry.get(inst);
|
|
12538
|
+
}
|
|
12539
|
+
const cl = inst.clone();
|
|
12540
|
+
globalRegistry.add(cl, args[0]);
|
|
12541
|
+
return cl;
|
|
12542
|
+
};
|
|
12543
|
+
inst.isOptional = () => inst.safeParse(undefined).success;
|
|
12544
|
+
inst.isNullable = () => inst.safeParse(null).success;
|
|
12545
|
+
inst.apply = (fn) => fn(inst);
|
|
13191
12546
|
return inst;
|
|
13192
12547
|
});
|
|
13193
12548
|
_ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
@@ -13198,53 +12553,21 @@ var init_schemas2 = __esm(() => {
|
|
|
13198
12553
|
inst.format = bag.format ?? null;
|
|
13199
12554
|
inst.minLength = bag.minimum ?? null;
|
|
13200
12555
|
inst.maxLength = bag.maximum ?? null;
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
|
|
13216
|
-
},
|
|
13217
|
-
max(...args) {
|
|
13218
|
-
return this.check(_maxLength(...args));
|
|
13219
|
-
},
|
|
13220
|
-
length(...args) {
|
|
13221
|
-
return this.check(_length(...args));
|
|
13222
|
-
},
|
|
13223
|
-
nonempty(...args) {
|
|
13224
|
-
return this.check(_minLength(1, ...args));
|
|
13225
|
-
},
|
|
13226
|
-
lowercase(params) {
|
|
13227
|
-
return this.check(_lowercase(params));
|
|
13228
|
-
},
|
|
13229
|
-
uppercase(params) {
|
|
13230
|
-
return this.check(_uppercase(params));
|
|
13231
|
-
},
|
|
13232
|
-
trim() {
|
|
13233
|
-
return this.check(_trim());
|
|
13234
|
-
},
|
|
13235
|
-
normalize(...args) {
|
|
13236
|
-
return this.check(_normalize(...args));
|
|
13237
|
-
},
|
|
13238
|
-
toLowerCase() {
|
|
13239
|
-
return this.check(_toLowerCase());
|
|
13240
|
-
},
|
|
13241
|
-
toUpperCase() {
|
|
13242
|
-
return this.check(_toUpperCase());
|
|
13243
|
-
},
|
|
13244
|
-
slugify() {
|
|
13245
|
-
return this.check(_slugify());
|
|
13246
|
-
}
|
|
13247
|
-
});
|
|
12556
|
+
inst.regex = (...args) => inst.check(_regex(...args));
|
|
12557
|
+
inst.includes = (...args) => inst.check(_includes(...args));
|
|
12558
|
+
inst.startsWith = (...args) => inst.check(_startsWith(...args));
|
|
12559
|
+
inst.endsWith = (...args) => inst.check(_endsWith(...args));
|
|
12560
|
+
inst.min = (...args) => inst.check(_minLength(...args));
|
|
12561
|
+
inst.max = (...args) => inst.check(_maxLength(...args));
|
|
12562
|
+
inst.length = (...args) => inst.check(_length(...args));
|
|
12563
|
+
inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
|
|
12564
|
+
inst.lowercase = (params) => inst.check(_lowercase(params));
|
|
12565
|
+
inst.uppercase = (params) => inst.check(_uppercase(params));
|
|
12566
|
+
inst.trim = () => inst.check(_trim());
|
|
12567
|
+
inst.normalize = (...args) => inst.check(_normalize(...args));
|
|
12568
|
+
inst.toLowerCase = () => inst.check(_toLowerCase());
|
|
12569
|
+
inst.toUpperCase = () => inst.check(_toUpperCase());
|
|
12570
|
+
inst.slugify = () => inst.check(_slugify());
|
|
13248
12571
|
});
|
|
13249
12572
|
ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
13250
12573
|
$ZodString.init(inst, def);
|
|
@@ -13369,53 +12692,21 @@ var init_schemas2 = __esm(() => {
|
|
|
13369
12692
|
$ZodNumber.init(inst, def);
|
|
13370
12693
|
ZodType.init(inst, def);
|
|
13371
12694
|
inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13378
|
-
|
|
13379
|
-
|
|
13380
|
-
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
-
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
},
|
|
13388
|
-
max(value, params) {
|
|
13389
|
-
return this.check(_lte(value, params));
|
|
13390
|
-
},
|
|
13391
|
-
int(params) {
|
|
13392
|
-
return this.check(int(params));
|
|
13393
|
-
},
|
|
13394
|
-
safe(params) {
|
|
13395
|
-
return this.check(int(params));
|
|
13396
|
-
},
|
|
13397
|
-
positive(params) {
|
|
13398
|
-
return this.check(_gt(0, params));
|
|
13399
|
-
},
|
|
13400
|
-
nonnegative(params) {
|
|
13401
|
-
return this.check(_gte(0, params));
|
|
13402
|
-
},
|
|
13403
|
-
negative(params) {
|
|
13404
|
-
return this.check(_lt(0, params));
|
|
13405
|
-
},
|
|
13406
|
-
nonpositive(params) {
|
|
13407
|
-
return this.check(_lte(0, params));
|
|
13408
|
-
},
|
|
13409
|
-
multipleOf(value, params) {
|
|
13410
|
-
return this.check(_multipleOf(value, params));
|
|
13411
|
-
},
|
|
13412
|
-
step(value, params) {
|
|
13413
|
-
return this.check(_multipleOf(value, params));
|
|
13414
|
-
},
|
|
13415
|
-
finite() {
|
|
13416
|
-
return this;
|
|
13417
|
-
}
|
|
13418
|
-
});
|
|
12695
|
+
inst.gt = (value, params) => inst.check(_gt(value, params));
|
|
12696
|
+
inst.gte = (value, params) => inst.check(_gte(value, params));
|
|
12697
|
+
inst.min = (value, params) => inst.check(_gte(value, params));
|
|
12698
|
+
inst.lt = (value, params) => inst.check(_lt(value, params));
|
|
12699
|
+
inst.lte = (value, params) => inst.check(_lte(value, params));
|
|
12700
|
+
inst.max = (value, params) => inst.check(_lte(value, params));
|
|
12701
|
+
inst.int = (params) => inst.check(int(params));
|
|
12702
|
+
inst.safe = (params) => inst.check(int(params));
|
|
12703
|
+
inst.positive = (params) => inst.check(_gt(0, params));
|
|
12704
|
+
inst.nonnegative = (params) => inst.check(_gte(0, params));
|
|
12705
|
+
inst.negative = (params) => inst.check(_lt(0, params));
|
|
12706
|
+
inst.nonpositive = (params) => inst.check(_lte(0, params));
|
|
12707
|
+
inst.multipleOf = (value, params) => inst.check(_multipleOf(value, params));
|
|
12708
|
+
inst.step = (value, params) => inst.check(_multipleOf(value, params));
|
|
12709
|
+
inst.finite = () => inst;
|
|
13419
12710
|
const bag = inst._zod.bag;
|
|
13420
12711
|
inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
|
|
13421
12712
|
inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
|
|
@@ -13508,23 +12799,11 @@ var init_schemas2 = __esm(() => {
|
|
|
13508
12799
|
ZodType.init(inst, def);
|
|
13509
12800
|
inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
|
|
13510
12801
|
inst.element = def.element;
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
return this.check(_minLength(1, params));
|
|
13517
|
-
},
|
|
13518
|
-
max(n, params) {
|
|
13519
|
-
return this.check(_maxLength(n, params));
|
|
13520
|
-
},
|
|
13521
|
-
length(n, params) {
|
|
13522
|
-
return this.check(_length(n, params));
|
|
13523
|
-
},
|
|
13524
|
-
unwrap() {
|
|
13525
|
-
return this.element;
|
|
13526
|
-
}
|
|
13527
|
-
});
|
|
12802
|
+
inst.min = (minLength, params) => inst.check(_minLength(minLength, params));
|
|
12803
|
+
inst.nonempty = (params) => inst.check(_minLength(1, params));
|
|
12804
|
+
inst.max = (maxLength, params) => inst.check(_maxLength(maxLength, params));
|
|
12805
|
+
inst.length = (len, params) => inst.check(_length(len, params));
|
|
12806
|
+
inst.unwrap = () => inst.element;
|
|
13528
12807
|
});
|
|
13529
12808
|
ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
13530
12809
|
$ZodObjectJIT.init(inst, def);
|
|
@@ -13533,47 +12812,23 @@ var init_schemas2 = __esm(() => {
|
|
|
13533
12812
|
exports_util.defineLazy(inst, "shape", () => {
|
|
13534
12813
|
return def.shape;
|
|
13535
12814
|
});
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
return this.clone({ ...this._zod.def, catchall: undefined });
|
|
13554
|
-
},
|
|
13555
|
-
extend(incoming) {
|
|
13556
|
-
return exports_util.extend(this, incoming);
|
|
13557
|
-
},
|
|
13558
|
-
safeExtend(incoming) {
|
|
13559
|
-
return exports_util.safeExtend(this, incoming);
|
|
13560
|
-
},
|
|
13561
|
-
merge(other) {
|
|
13562
|
-
return exports_util.merge(this, other);
|
|
13563
|
-
},
|
|
13564
|
-
pick(mask) {
|
|
13565
|
-
return exports_util.pick(this, mask);
|
|
13566
|
-
},
|
|
13567
|
-
omit(mask) {
|
|
13568
|
-
return exports_util.omit(this, mask);
|
|
13569
|
-
},
|
|
13570
|
-
partial(...args) {
|
|
13571
|
-
return exports_util.partial(ZodOptional, this, args[0]);
|
|
13572
|
-
},
|
|
13573
|
-
required(...args) {
|
|
13574
|
-
return exports_util.required(ZodNonOptional, this, args[0]);
|
|
13575
|
-
}
|
|
13576
|
-
});
|
|
12815
|
+
inst.keyof = () => _enum2(Object.keys(inst._zod.def.shape));
|
|
12816
|
+
inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall });
|
|
12817
|
+
inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
12818
|
+
inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
12819
|
+
inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
|
|
12820
|
+
inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
|
|
12821
|
+
inst.extend = (incoming) => {
|
|
12822
|
+
return exports_util.extend(inst, incoming);
|
|
12823
|
+
};
|
|
12824
|
+
inst.safeExtend = (incoming) => {
|
|
12825
|
+
return exports_util.safeExtend(inst, incoming);
|
|
12826
|
+
};
|
|
12827
|
+
inst.merge = (other) => exports_util.merge(inst, other);
|
|
12828
|
+
inst.pick = (mask) => exports_util.pick(inst, mask);
|
|
12829
|
+
inst.omit = (mask) => exports_util.omit(inst, mask);
|
|
12830
|
+
inst.partial = (...args) => exports_util.partial(ZodOptional, inst, args[0]);
|
|
12831
|
+
inst.required = (...args) => exports_util.required(ZodNonOptional, inst, args[0]);
|
|
13577
12832
|
});
|
|
13578
12833
|
ZodUnion = /* @__PURE__ */ $constructor("ZodUnion", (inst, def) => {
|
|
13579
12834
|
$ZodUnion.init(inst, def);
|
|
@@ -13717,12 +12972,10 @@ var init_schemas2 = __esm(() => {
|
|
|
13717
12972
|
if (output instanceof Promise) {
|
|
13718
12973
|
return output.then((output2) => {
|
|
13719
12974
|
payload.value = output2;
|
|
13720
|
-
payload.fallback = true;
|
|
13721
12975
|
return payload;
|
|
13722
12976
|
});
|
|
13723
12977
|
}
|
|
13724
12978
|
payload.value = output;
|
|
13725
|
-
payload.fallback = true;
|
|
13726
12979
|
return payload;
|
|
13727
12980
|
};
|
|
13728
12981
|
});
|
|
@@ -13792,10 +13045,6 @@ var init_schemas2 = __esm(() => {
|
|
|
13792
13045
|
ZodPipe.init(inst, def);
|
|
13793
13046
|
$ZodCodec.init(inst, def);
|
|
13794
13047
|
});
|
|
13795
|
-
ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
|
|
13796
|
-
ZodPipe.init(inst, def);
|
|
13797
|
-
$ZodPreprocess.init(inst, def);
|
|
13798
|
-
});
|
|
13799
13048
|
ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
|
|
13800
13049
|
$ZodReadonly.init(inst, def);
|
|
13801
13050
|
ZodType.init(inst, def);
|
|
@@ -13833,7 +13082,7 @@ var init_schemas2 = __esm(() => {
|
|
|
13833
13082
|
meta2 = meta;
|
|
13834
13083
|
});
|
|
13835
13084
|
|
|
13836
|
-
// node_modules/.bun/zod@4.
|
|
13085
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/compat.js
|
|
13837
13086
|
function setErrorMap(map2) {
|
|
13838
13087
|
config({
|
|
13839
13088
|
customError: map2
|
|
@@ -13861,7 +13110,7 @@ var init_compat = __esm(() => {
|
|
|
13861
13110
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13862
13111
|
});
|
|
13863
13112
|
|
|
13864
|
-
// node_modules/.bun/zod@4.
|
|
13113
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
|
|
13865
13114
|
function detectVersion(schema, defaultTarget) {
|
|
13866
13115
|
const $schema = schema.$schema;
|
|
13867
13116
|
if ($schema === "https://json-schema.org/draft/2020-12/schema") {
|
|
@@ -14177,6 +13426,12 @@ function convertBaseSchema(schema, ctx) {
|
|
|
14177
13426
|
default:
|
|
14178
13427
|
throw new Error(`Unsupported type: ${type}`);
|
|
14179
13428
|
}
|
|
13429
|
+
if (schema.description) {
|
|
13430
|
+
zodSchema = zodSchema.describe(schema.description);
|
|
13431
|
+
}
|
|
13432
|
+
if (schema.default !== undefined) {
|
|
13433
|
+
zodSchema = zodSchema.default(schema.default);
|
|
13434
|
+
}
|
|
14180
13435
|
return zodSchema;
|
|
14181
13436
|
}
|
|
14182
13437
|
function convertSchema(schema, ctx) {
|
|
@@ -14213,9 +13468,6 @@ function convertSchema(schema, ctx) {
|
|
|
14213
13468
|
if (schema.readOnly === true) {
|
|
14214
13469
|
baseSchema = z.readonly(baseSchema);
|
|
14215
13470
|
}
|
|
14216
|
-
if (schema.default !== undefined) {
|
|
14217
|
-
baseSchema = baseSchema.default(schema.default);
|
|
14218
|
-
}
|
|
14219
13471
|
const extraMeta = {};
|
|
14220
13472
|
const coreMetadataKeys = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
|
|
14221
13473
|
for (const key of coreMetadataKeys) {
|
|
@@ -14237,32 +13489,23 @@ function convertSchema(schema, ctx) {
|
|
|
14237
13489
|
if (Object.keys(extraMeta).length > 0) {
|
|
14238
13490
|
ctx.registry.add(baseSchema, extraMeta);
|
|
14239
13491
|
}
|
|
14240
|
-
if (schema.description) {
|
|
14241
|
-
baseSchema = baseSchema.describe(schema.description);
|
|
14242
|
-
}
|
|
14243
13492
|
return baseSchema;
|
|
14244
13493
|
}
|
|
14245
13494
|
function fromJSONSchema(schema, params) {
|
|
14246
13495
|
if (typeof schema === "boolean") {
|
|
14247
13496
|
return schema ? z.any() : z.never();
|
|
14248
13497
|
}
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
normalized = JSON.parse(JSON.stringify(schema));
|
|
14252
|
-
} catch {
|
|
14253
|
-
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
|
|
14254
|
-
}
|
|
14255
|
-
const version2 = detectVersion(normalized, params?.defaultTarget);
|
|
14256
|
-
const defs = normalized.$defs || normalized.definitions || {};
|
|
13498
|
+
const version2 = detectVersion(schema, params?.defaultTarget);
|
|
13499
|
+
const defs = schema.$defs || schema.definitions || {};
|
|
14257
13500
|
const ctx = {
|
|
14258
13501
|
version: version2,
|
|
14259
13502
|
defs,
|
|
14260
13503
|
refs: new Map,
|
|
14261
13504
|
processing: new Set,
|
|
14262
|
-
rootSchema:
|
|
13505
|
+
rootSchema: schema,
|
|
14263
13506
|
registry: params?.registry ?? globalRegistry
|
|
14264
13507
|
};
|
|
14265
|
-
return convertSchema(
|
|
13508
|
+
return convertSchema(schema, ctx);
|
|
14266
13509
|
}
|
|
14267
13510
|
var z, RECOGNIZED_KEYS;
|
|
14268
13511
|
var init_from_json_schema = __esm(() => {
|
|
@@ -14275,7 +13518,7 @@ var init_from_json_schema = __esm(() => {
|
|
|
14275
13518
|
...exports_checks2,
|
|
14276
13519
|
iso: exports_iso
|
|
14277
13520
|
};
|
|
14278
|
-
RECOGNIZED_KEYS =
|
|
13521
|
+
RECOGNIZED_KEYS = new Set([
|
|
14279
13522
|
"$schema",
|
|
14280
13523
|
"$ref",
|
|
14281
13524
|
"$defs",
|
|
@@ -14336,7 +13579,7 @@ var init_from_json_schema = __esm(() => {
|
|
|
14336
13579
|
]);
|
|
14337
13580
|
});
|
|
14338
13581
|
|
|
14339
|
-
// node_modules/.bun/zod@4.
|
|
13582
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/coerce.js
|
|
14340
13583
|
var exports_coerce = {};
|
|
14341
13584
|
__export(exports_coerce, {
|
|
14342
13585
|
string: () => string3,
|
|
@@ -14365,7 +13608,7 @@ var init_coerce = __esm(() => {
|
|
|
14365
13608
|
init_schemas2();
|
|
14366
13609
|
});
|
|
14367
13610
|
|
|
14368
|
-
// node_modules/.bun/zod@4.
|
|
13611
|
+
// node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
14369
13612
|
var exports_external = {};
|
|
14370
13613
|
__export(exports_external, {
|
|
14371
13614
|
xor: () => xor,
|
|
@@ -14467,7 +13710,6 @@ __export(exports_external, {
|
|
|
14467
13710
|
iso: () => exports_iso,
|
|
14468
13711
|
ipv6: () => ipv62,
|
|
14469
13712
|
ipv4: () => ipv42,
|
|
14470
|
-
invertCodec: () => invertCodec,
|
|
14471
13713
|
intersection: () => intersection,
|
|
14472
13714
|
int64: () => int64,
|
|
14473
13715
|
int32: () => int32,
|
|
@@ -14546,7 +13788,6 @@ __export(exports_external, {
|
|
|
14546
13788
|
ZodRealError: () => ZodRealError,
|
|
14547
13789
|
ZodReadonly: () => ZodReadonly,
|
|
14548
13790
|
ZodPromise: () => ZodPromise,
|
|
14549
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
14550
13791
|
ZodPrefault: () => ZodPrefault,
|
|
14551
13792
|
ZodPipe: () => ZodPipe,
|
|
14552
13793
|
ZodOptional: () => ZodOptional,
|