@highstate/designer 0.9.16 → 0.9.18
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/.output/nitro.json +15 -0
- package/.output/public/_nuxt/0A0GXgOL.js +13 -0
- package/.output/public/_nuxt/1DNp92w6.js +1 -0
- package/.output/public/_nuxt/2EtD6e53.js +1 -0
- package/.output/public/_nuxt/2UxHyX5q.js +1 -0
- package/.output/public/_nuxt/3e1v2bzS.js +1 -0
- package/.output/public/_nuxt/4A_iFExJ.js +1 -0
- package/.output/public/_nuxt/5bLW0GMw.js +1 -0
- package/.output/public/_nuxt/5i3qLPDT.js +1 -0
- package/.output/public/_nuxt/6nHXG8SA.js +1 -0
- package/.output/public/_nuxt/84XNjSIe.js +1 -0
- package/.output/public/_nuxt/85-TOEBH.js +1 -0
- package/.output/public/_nuxt/9ZFiTIhr.js +1 -0
- package/.output/public/_nuxt/B-hkwWGT.js +1 -0
- package/.output/public/_nuxt/B0m2ddpp.js +1 -0
- package/.output/public/_nuxt/B1dDrJ26.js +1 -0
- package/.output/public/_nuxt/B1yitclQ.js +1 -0
- package/.output/public/_nuxt/B5ZR69Tn.js +1 -0
- package/.output/public/_nuxt/B6aJPvgy.js +1 -0
- package/.output/public/_nuxt/B7grBCAR.js +1 -0
- package/.output/public/_nuxt/B7mTdjB0.js +1 -0
- package/.output/public/_nuxt/BBGuKPBd.js +1 -0
- package/.output/public/_nuxt/BDzgwa52.js +1 -0
- package/.output/public/_nuxt/BE2KfCdU.js +1 -0
- package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
- package/.output/public/_nuxt/BERRCDM3.js +1 -0
- package/.output/public/_nuxt/BETggiCN.js +1 -0
- package/.output/public/_nuxt/BEwlwnbL.js +1 -0
- package/.output/public/_nuxt/BFfxhgS-.js +1 -0
- package/.output/public/_nuxt/BGHREFWD.js +1 -0
- package/.output/public/_nuxt/BGJmEYvX.js +1 -0
- package/.output/public/_nuxt/BHrmToEH.js +1 -0
- package/.output/public/_nuxt/BIAuTxu3.js +1 -0
- package/.output/public/_nuxt/BIGW1oBm.js +1 -0
- package/.output/public/_nuxt/BIHI7g3E.js +1 -0
- package/.output/public/_nuxt/BKmAPqal.js +1 -0
- package/.output/public/_nuxt/BLOpwnqT.js +1 -0
- package/.output/public/_nuxt/BLtJtn59.js +1 -0
- package/.output/public/_nuxt/BLxL40Jp.js +1 -0
- package/.output/public/_nuxt/BM1_JUlF.js +1 -0
- package/.output/public/_nuxt/BMMyXqK5.js +1 -0
- package/.output/public/_nuxt/BMWR74SV.js +1 -0
- package/.output/public/_nuxt/BPzJO5Oe.js +1 -0
- package/.output/public/_nuxt/BQ8w6xss.js +1 -0
- package/.output/public/_nuxt/BQvybpQq.js +1 -0
- package/.output/public/_nuxt/BR7mELCv.js +1 -0
- package/.output/public/_nuxt/BRHolxvo.js +1 -0
- package/.output/public/_nuxt/BRZ36xJF.js +1 -0
- package/.output/public/_nuxt/BTEhxafZ.js +1 -0
- package/.output/public/_nuxt/BTJTHyun.js +1 -0
- package/.output/public/_nuxt/BU7Cl-8B.js +1 -0
- package/.output/public/_nuxt/BV7otONQ.js +1 -0
- package/.output/public/_nuxt/BWvSN4gD.js +1 -0
- package/.output/public/_nuxt/BXY8tDGw.js +1 -0
- package/.output/public/_nuxt/BXkSAIEj.js +1 -0
- package/.output/public/_nuxt/BYunw83y.js +1 -0
- package/.output/public/_nuxt/B_HjzqPZ.js +1 -0
- package/.output/public/_nuxt/B_m7g4N7.js +1 -0
- package/.output/public/_nuxt/B_wu9Dqv.js +1 -0
- package/.output/public/_nuxt/BbcW6ACK.js +1 -0
- package/.output/public/_nuxt/BcOcwvcX.js +1 -0
- package/.output/public/_nuxt/BdImnpbu.js +1 -0
- package/.output/public/_nuxt/BdnUsdx6.js +1 -0
- package/.output/public/_nuxt/BebE75YV.js +1 -0
- package/.output/public/_nuxt/BepWV7mh.js +1 -0
- package/.output/public/_nuxt/BfHTSMKl.js +1 -0
- package/.output/public/_nuxt/BfjtVDDH.js +1 -0
- package/.output/public/_nuxt/BgDCqdQA.js +1 -0
- package/.output/public/_nuxt/BhOHFoWU.js +1 -0
- package/.output/public/_nuxt/Bk5OV074.js +1 -0
- package/.output/public/_nuxt/BkPM1oy1.js +1 -0
- package/.output/public/_nuxt/BkioyH1T.js +1 -0
- package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
- package/.output/public/_nuxt/Bl2oy6fF.js +1 -0
- package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
- package/.output/public/_nuxt/Bm_zuxCd.js +1 -0
- package/.output/public/_nuxt/BoKiGodi.js +1 -0
- package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
- package/.output/public/_nuxt/Bp6g37R7.js +1 -0
- package/.output/public/_nuxt/BqTXFGrv.js +1 -0
- package/.output/public/_nuxt/BqYA7rlc.js +1 -0
- package/.output/public/_nuxt/BsS91CYL.js +1 -0
- package/.output/public/_nuxt/BspZqrRM.js +1 -0
- package/.output/public/_nuxt/BtCnVYZw.js +1 -0
- package/.output/public/_nuxt/BtOb2qkB.js +1 -0
- package/.output/public/_nuxt/BthQWCQV.js +1 -0
- package/.output/public/_nuxt/BtqSS_iP.js +1 -0
- package/.output/public/_nuxt/BtsDLbAf.js +1 -0
- package/.output/public/_nuxt/Btyk0a-E.js +1 -0
- package/.output/public/_nuxt/Buea-lGh.js +1 -0
- package/.output/public/_nuxt/BuidTy5i.js +1 -0
- package/.output/public/_nuxt/BvAqAH-y.js +1 -0
- package/.output/public/_nuxt/BvYfgXkl.js +1 -0
- package/.output/public/_nuxt/Bw305WKR.js +1 -0
- package/.output/public/_nuxt/BzJJZx-M.js +1 -0
- package/.output/public/_nuxt/C-SQnVFl.js +1 -0
- package/.output/public/_nuxt/C-_oQ9hf.js +1 -0
- package/.output/public/_nuxt/C0HS_06l.js +1 -0
- package/.output/public/_nuxt/C0hk2d4L.js +1 -0
- package/.output/public/_nuxt/C151Ov-r.js +1 -0
- package/.output/public/_nuxt/C2t-YnRu.js +1 -0
- package/.output/public/_nuxt/C39BiMTA.js +1 -0
- package/.output/public/_nuxt/C3B-1QV4.js +1 -0
- package/.output/public/_nuxt/C3khCPGq.js +1 -0
- package/.output/public/_nuxt/C3mMm8J8.js +1 -0
- package/.output/public/_nuxt/C4IJs8-o.js +1 -0
- package/.output/public/_nuxt/C7Pw0Ztw.js +1 -0
- package/.output/public/_nuxt/C8-UwF3o.js +1 -0
- package/.output/public/_nuxt/C8M2exoo.js +1 -0
- package/.output/public/_nuxt/C8j9CRIf.js +1 -0
- package/.output/public/_nuxt/C8lEn-DE.js +1 -0
- package/.output/public/_nuxt/C98Dy4si.js +1 -0
- package/.output/public/_nuxt/C9XAeP06.js +1 -0
- package/.output/public/_nuxt/C9tS-k6U.js +1 -0
- package/.output/public/_nuxt/CA7CTBwS.js +1 -0
- package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
- package/.output/public/_nuxt/CDx5xZoG.js +1 -0
- package/.output/public/_nuxt/CEL-wOlO.js +1 -0
- package/.output/public/_nuxt/CEu0bR-o.js +1 -0
- package/.output/public/_nuxt/CF10PKvl.js +1 -0
- package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
- package/.output/public/_nuxt/CGqH5EJj.js +1 -0
- package/.output/public/_nuxt/CHLpvVh8.js +1 -0
- package/.output/public/_nuxt/CHM0blh-.js +1 -0
- package/.output/public/_nuxt/CHadp7IV.js +1 -0
- package/.output/public/_nuxt/CHh-QcGE.js +1 -0
- package/.output/public/_nuxt/CJc9bBzg.js +1 -0
- package/.output/public/_nuxt/CKIfxQSi.js +1 -0
- package/.output/public/_nuxt/CLvts2aQ.js +1 -0
- package/.output/public/_nuxt/CLxacb5B.js +1 -0
- package/.output/public/_nuxt/CNBtkm4J.js +6 -0
- package/.output/public/_nuxt/CO1LY3CK.js +1 -0
- package/.output/public/_nuxt/COEtLSDF.js +1 -0
- package/.output/public/_nuxt/COI20M4I.js +1 -0
- package/.output/public/_nuxt/COWjEZnb.js +1 -0
- package/.output/public/_nuxt/COkxafJQ.js +1 -0
- package/.output/public/_nuxt/COt5Ahok.js +1 -0
- package/.output/public/_nuxt/CPSgaaQ0.js +1 -0
- package/.output/public/_nuxt/CPtXGFXV.js +1 -0
- package/.output/public/_nuxt/CS3Unz2-.js +1 -0
- package/.output/public/_nuxt/CSXwinHm.js +1 -0
- package/.output/public/_nuxt/CTIxkRwW.js +1 -0
- package/.output/public/_nuxt/CTRr51gU.js +1 -0
- package/.output/public/_nuxt/CTUD0bHN.js +1 -0
- package/.output/public/_nuxt/CTWiQX6C.js +1 -0
- package/.output/public/_nuxt/CU1B2r8a.js +1 -0
- package/.output/public/_nuxt/CU27uY9n.js +1 -0
- package/.output/public/_nuxt/CVO1_9PV.js +1 -0
- package/.output/public/_nuxt/CXtECtnM.js +1 -0
- package/.output/public/_nuxt/CYRjgJw9.js +26 -0
- package/.output/public/_nuxt/CZlF05X6.js +1 -0
- package/.output/public/_nuxt/CafNBF8u.js +1 -0
- package/.output/public/_nuxt/Cb0HU5_O.js +1 -0
- package/.output/public/_nuxt/CbFg5uaA.js +1 -0
- package/.output/public/_nuxt/CbfX1IO0.js +1 -0
- package/.output/public/_nuxt/CcyOm34o.js +1 -0
- package/.output/public/_nuxt/CdggvHu8.js +1 -0
- package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
- package/.output/public/_nuxt/CeZK1NFH.js +1 -0
- package/.output/public/_nuxt/CfQXZHmo.js +1 -0
- package/.output/public/_nuxt/CfeIJUat.js +1 -0
- package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
- package/.output/public/_nuxt/ChMvpjG-.js +1 -0
- package/.output/public/_nuxt/Cj-b45ZR.js +1 -0
- package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
- package/.output/public/_nuxt/CkByrt1z.js +1 -0
- package/.output/public/_nuxt/CkXjmgJE.js +1 -0
- package/.output/public/_nuxt/ClbN2oa7.js +2 -0
- package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
- package/.output/public/_nuxt/CnK8MTSM.js +1 -0
- package/.output/public/_nuxt/CnnmHF94.js +1 -0
- package/.output/public/_nuxt/Co6uUVPk.js +1 -0
- package/.output/public/_nuxt/Cp-IABpG.js +1 -0
- package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
- package/.output/public/_nuxt/CquLrc37.js +1 -0
- package/.output/public/_nuxt/CsfeWuGM.js +1 -0
- package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
- package/.output/public/_nuxt/CtMxL075.js +21 -0
- package/.output/public/_nuxt/CtrldY6v.js +1 -0
- package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
- package/.output/public/_nuxt/Cv9koXgw.js +1 -0
- package/.output/public/_nuxt/CxGSJlkm.js +1 -0
- package/.output/public/_nuxt/CyktbL80.js +1 -0
- package/.output/public/_nuxt/CylS5w8V.js +1 -0
- package/.output/public/_nuxt/CzTSHFRz.js +1 -0
- package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
- package/.output/public/_nuxt/D-pF80u_.js +1 -0
- package/.output/public/_nuxt/D08WgyRC.js +1 -0
- package/.output/public/_nuxt/D0Gq3ULd.js +1 -0
- package/.output/public/_nuxt/D0YGMca9.js +1 -0
- package/.output/public/_nuxt/D0r3Knsf.js +1 -0
- package/.output/public/_nuxt/D17OF-Vu.js +1 -0
- package/.output/public/_nuxt/D1j8_8rp.js +1 -0
- package/.output/public/_nuxt/D1uDOp7C.js +1 -0
- package/.output/public/_nuxt/D22FLkUw.js +1 -0
- package/.output/public/_nuxt/D2CYqzqI.js +1 -0
- package/.output/public/_nuxt/D32k8WzR.js +1 -0
- package/.output/public/_nuxt/D3lLCCz7.js +1 -0
- package/.output/public/_nuxt/D4h5O-jR.js +1 -0
- package/.output/public/_nuxt/D5-asLiD.js +1 -0
- package/.output/public/_nuxt/D5KoaKCx.js +1 -0
- package/.output/public/_nuxt/D7ScPSBf.js +1 -0
- package/.output/public/_nuxt/D7o27uSR.js +1 -0
- package/.output/public/_nuxt/D7oLnXFd.js +1 -0
- package/.output/public/_nuxt/D82EKSYY.js +1 -0
- package/.output/public/_nuxt/D93ZcfNL.js +1 -0
- package/.output/public/_nuxt/D97Zzqfu.js +1 -0
- package/.output/public/_nuxt/DAi9KRSo.js +1 -0
- package/.output/public/_nuxt/DCWrMWBD.js +1 -0
- package/.output/public/_nuxt/DEsY2yuF.js +1 -0
- package/.output/public/_nuxt/DFQXde-d.js +1 -0
- package/.output/public/_nuxt/DFXneXwc.js +1 -0
- package/.output/public/_nuxt/DGztddWO.js +1 -0
- package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
- package/.output/public/_nuxt/DHCkPAjA.js +1 -0
- package/.output/public/_nuxt/DHJKELXO.js +1 -0
- package/.output/public/_nuxt/DKYwYmdq.js +1 -0
- package/.output/public/_nuxt/DKzvysjW.js +1 -0
- package/.output/public/_nuxt/DM8c43g1.js +1 -0
- package/.output/public/_nuxt/DMDPKkZ0.js +1 -0
- package/.output/public/_nuxt/DMzUqQB5.js +1 -0
- package/.output/public/_nuxt/DNrj_gVY.js +1 -0
- package/.output/public/_nuxt/DPcUKYIF.js +1 -0
- package/.output/public/_nuxt/DPfMkruS.js +1 -0
- package/.output/public/_nuxt/DPvdOr2J.js +1 -0
- package/.output/public/_nuxt/DRg8JJMk.js +1 -0
- package/.output/public/_nuxt/DRprw4p4.js +1 -0
- package/.output/public/_nuxt/DS1LvVMU.js +1 -0
- package/.output/public/_nuxt/DU1UobuO.js +1 -0
- package/.output/public/_nuxt/DUSGQflk.js +1 -0
- package/.output/public/_nuxt/DUszq2jm.js +1 -0
- package/.output/public/_nuxt/DVFEvuxE.js +1 -0
- package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
- package/.output/public/_nuxt/DVxCFoDh.js +1 -0
- package/.output/public/_nuxt/DWedfzmr.js +1 -0
- package/.output/public/_nuxt/DWrx1Km3.js +1 -0
- package/.output/public/_nuxt/DXbdFlpD.js +1 -0
- package/.output/public/_nuxt/DXmwc3jG.js +1 -0
- package/.output/public/_nuxt/DXvB9xmW.js +1 -0
- package/.output/public/_nuxt/DZxFcAj9.js +1 -0
- package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
- package/.output/public/_nuxt/Da5cRb03.js +1 -0
- package/.output/public/_nuxt/DbtIzDGy.js +1 -0
- package/.output/public/_nuxt/DcaNXYhu.js +1 -0
- package/.output/public/_nuxt/Dd19v3D-.js +1 -0
- package/.output/public/_nuxt/DdkO51Og.js +1 -0
- package/.output/public/_nuxt/Ddv68eIx.js +1 -0
- package/.output/public/_nuxt/DeWFVDHI.js +1 -0
- package/.output/public/_nuxt/Des-eS-w.js +1 -0
- package/.output/public/_nuxt/Df68jz8_.js +1 -0
- package/.output/public/_nuxt/Df6bDoY_.js +1 -0
- package/.output/public/_nuxt/DiinP2Uv.js +1 -0
- package/.output/public/_nuxt/DkFqJrB1.js +1 -0
- package/.output/public/_nuxt/DkhsQLT2.js +1 -0
- package/.output/public/_nuxt/DkwncUOv.js +1 -0
- package/.output/public/_nuxt/DlfHMoPT.js +1 -0
- package/.output/public/_nuxt/DljmTZ5-.js +1 -0
- package/.output/public/_nuxt/Dn2_MT6a.js +1 -0
- package/.output/public/_nuxt/DnULxvSX.js +1 -0
- package/.output/public/_nuxt/Dpen1YoG.js +1 -0
- package/.output/public/_nuxt/DqwNpetd.js +1 -0
- package/.output/public/_nuxt/Dr8Zlu6v.js +1 -0
- package/.output/public/_nuxt/DrZfEa88.js +1 -0
- package/.output/public/_nuxt/Drp5UXmf.js +1 -0
- package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
- package/.output/public/_nuxt/Dtc2v4kS.js +1 -0
- package/.output/public/_nuxt/DwheRqRn.js +1 -0
- package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
- package/.output/public/_nuxt/DyJlTyXw.js +1 -0
- package/.output/public/_nuxt/DyxjwDmM.js +1 -0
- package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
- package/.output/public/_nuxt/ETK3OkTL.js +1 -0
- package/.output/public/_nuxt/I3RK9BU8.js +1 -0
- package/.output/public/_nuxt/IeuSbFQv.js +1 -0
- package/.output/public/_nuxt/IvJ92aGK.js +1 -0
- package/.output/public/_nuxt/JhPuU2gP.js +1 -0
- package/.output/public/_nuxt/L9t79GZl.js +1 -0
- package/.output/public/_nuxt/MzD3tlZU.js +1 -0
- package/.output/public/_nuxt/NleAzG8P.js +1 -0
- package/.output/public/_nuxt/P80f7IUj.js +1 -0
- package/.output/public/_nuxt/Pmp26Uib.js +1 -0
- package/.output/public/_nuxt/PoHY5YXO.js +1 -0
- package/.output/public/_nuxt/QIJgUcNo.js +1 -0
- package/.output/public/_nuxt/SQImb3Xm.js +1513 -0
- package/.output/public/_nuxt/SVGiTNnK.js +1 -0
- package/.output/public/_nuxt/SettingsDataTable.BLJqwlEK.css +1 -0
- package/.output/public/_nuxt/UInuXPgp.js +1 -0
- package/.output/public/_nuxt/UQxqNY8s.js +273 -0
- package/.output/public/_nuxt/VOosw3JB.js +1 -0
- package/.output/public/_nuxt/Xi2tawMN.js +1 -0
- package/.output/public/_nuxt/Yzrsuije.js +1 -0
- package/.output/public/_nuxt/ZwEiOJEn.js +1 -0
- package/.output/public/_nuxt/_ykCGR6B.js +1 -0
- package/.output/public/_nuxt/about.fWlW3EhQ.css +1 -0
- package/.output/public/_nuxt/bCR0ucgS.js +1 -0
- package/.output/public/_nuxt/bN70gL4F.js +1 -0
- package/.output/public/_nuxt/brDaU2vB.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/b0e10f5e-bdc5-4007-9281-161aa323adf1.json +1 -0
- package/.output/public/_nuxt/codicon.DCmgc-ay.ttf +0 -0
- package/.output/public/_nuxt/components.CIe9upZ4.css +1 -0
- package/.output/public/_nuxt/dglhsJpM.js +1 -0
- package/.output/public/_nuxt/dwOrl1Do.js +1 -0
- package/.output/public/_nuxt/edge-router-Cceh9XsC.js +4 -0
- package/.output/public/_nuxt/editor.worker-7Ic39DJY.js +12 -0
- package/.output/public/_nuxt/entry.YsT17dxl.css +1 -0
- package/.output/public/_nuxt/error-404.CH3riSrg.css +1 -0
- package/.output/public/_nuxt/error-500.C8Qk6cR7.css +1 -0
- package/.output/public/_nuxt/f7oK2omx.js +1 -0
- package/.output/public/_nuxt/fuZLfV_i.js +1 -0
- package/.output/public/_nuxt/fve9TYiY.js +1 -0
- package/.output/public/_nuxt/g9-lgVsj.js +1 -0
- package/.output/public/_nuxt/gcz8RCvz.js +1 -0
- package/.output/public/_nuxt/graph-layout-CFj469YF.js +1 -0
- package/.output/public/_nuxt/graph-resolver-ClVztv7P.js +175 -0
- package/.output/public/_nuxt/hegEt444.js +1 -0
- package/.output/public/_nuxt/hira-1.DuDDiA5P.png +0 -0
- package/.output/public/_nuxt/hira-unlock-impossible.B5Pl3pvF.png +0 -0
- package/.output/public/_nuxt/index.cU4FhqMM.css +1 -0
- package/.output/public/_nuxt/index.smtD6lYF.css +1 -0
- package/.output/public/_nuxt/instances.CGwVkdDM.css +1 -0
- package/.output/public/_nuxt/irsrSlf-.js +1 -0
- package/.output/public/_nuxt/lXgVvXCa.js +1 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2 +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff +0 -0
- package/.output/public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot +0 -0
- package/.output/public/_nuxt/monaco-editor.D_J4ItrK.css +1 -0
- package/.output/public/_nuxt/oVh4WQ21.js +1 -0
- package/.output/public/_nuxt/operations.BfCOaoAx.css +1 -0
- package/.output/public/_nuxt/operations.DvUkbQbt.css +1 -0
- package/.output/public/_nuxt/p5ZwBirz.js +1 -0
- package/.output/public/_nuxt/pkIJ47B4.js +1 -0
- package/.output/public/_nuxt/q-j0iyEw.js +1 -0
- package/.output/public/_nuxt/qliWkHmV.js +1 -0
- package/.output/public/_nuxt/secrets._PitGGJK.css +1 -0
- package/.output/public/_nuxt/settings.BCRf8MgD.css +1 -0
- package/.output/public/_nuxt/terminals.B07MGsh3.css +1 -0
- package/.output/public/_nuxt/uMbE6_td.js +1 -0
- package/.output/public/_nuxt/vGWfd6FD.js +1 -0
- package/.output/public/_nuxt/vuetify.C_sYHwU6.css +5 -0
- package/.output/public/_nuxt/xVLoeQ-B.js +1 -0
- package/.output/public/_nuxt/yaml.worker-DLQcEOxU.js +410 -0
- package/.output/public/_nuxt/yv6CvBhz.js +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/libavoid.wasm +0 -0
- package/.output/public/robots.txt +1 -0
- package/.output/server/index.mjs +18396 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14586 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +58 -0
- package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +15 -0
- package/.output/server/node_modules/@trpc/server/dist/contentTypeParsers-SN4WL9ze.mjs +13 -0
- package/.output/server/node_modules/@trpc/server/dist/getErrorShape-Uhlrl4Bk.mjs +263 -0
- package/.output/server/node_modules/@trpc/server/dist/http-CWyjOa1l.mjs +0 -0
- package/.output/server/node_modules/@trpc/server/dist/index.mjs +6 -0
- package/.output/server/node_modules/@trpc/server/dist/initTRPC-IT_6ZYJd.mjs +358 -0
- package/.output/server/node_modules/@trpc/server/dist/node-http-ZvZKxPic.mjs +222 -0
- package/.output/server/node_modules/@trpc/server/dist/observable-CUiPknO-.mjs +158 -0
- package/.output/server/node_modules/@trpc/server/dist/observable-UMO3vUa_.mjs +158 -0
- package/.output/server/node_modules/@trpc/server/dist/parseTRPCMessage-ByIHyFRz.mjs +63 -0
- package/.output/server/node_modules/@trpc/server/dist/resolveResponse-CzlbRpCI.mjs +2183 -0
- package/.output/server/node_modules/@trpc/server/dist/tracked-gU3ttYjg.mjs +371 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import-D89CaGtL.mjs +29 -0
- package/.output/server/node_modules/@trpc/server/dist/utils-DdbbrDku.mjs +137 -0
- package/.output/server/node_modules/@trpc/server/dist/ws-DsZkVWpZ.mjs +420 -0
- package/.output/server/node_modules/@trpc/server/package.json +232 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6705 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1402 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1806 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6696 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1677 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +34 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +160 -0
- package/.output/server/node_modules/devalue/src/stringify.js +232 -0
- package/.output/server/node_modules/devalue/src/uneval.js +351 -0
- package/.output/server/node_modules/devalue/src/utils.js +113 -0
- package/.output/server/node_modules/entities/lib/decode.js +536 -0
- package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/entities/package.json +90 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +95 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +219 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CAk5S5m6.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Di5OD67x.mjs +190 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +101 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
- package/.output/server/node_modules/ws/lib/constants.js +18 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/.output/server/node_modules/ws/lib/receiver.js +706 -0
- package/.output/server/node_modules/ws/lib/sender.js +602 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +550 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1388 -0
- package/.output/server/node_modules/ws/package.json +69 -0
- package/.output/server/node_modules/ws/wrapper.mjs +8 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +131 -0
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +41 -0
- package/.output/server/node_modules/zod/v4/classic/external.js +18 -0
- package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/classic/parse.js +6 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/.output/server/node_modules/zod/v4/core/api.js +906 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +565 -0
- package/.output/server/node_modules/zod/v4/core/core.js +61 -0
- package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
- package/.output/server/node_modules/zod/v4/core/errors.js +195 -0
- package/.output/server/node_modules/zod/v4/core/function.js +75 -0
- package/.output/server/node_modules/zod/v4/core/index.js +15 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/parse.js +57 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +95 -0
- package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
- package/.output/server/node_modules/zod/v4/core/schemas.js +1718 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/.output/server/node_modules/zod/v4/core/util.js +493 -0
- package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ar.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +164 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +135 -0
- package/.output/server/node_modules/zod/v4/locales/de.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/eo.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +39 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ja.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/kh.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +121 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ota.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/pl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +164 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +118 -0
- package/.output/server/node_modules/zod/v4/locales/ta.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/ua.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/.output/server/package.json +29 -0
- package/package.json +6 -6
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { __toESM, getErrorShape, require_objectSpread2 } from "./getErrorShape-Uhlrl4Bk.mjs";
|
|
2
|
+
import { TRPCError, callProcedure, getTRPCErrorFromUnknown, isTrackedEnvelope, transformTRPCResponse } from "./tracked-gU3ttYjg.mjs";
|
|
3
|
+
import { isAsyncIterable, isObject, run } from "./utils-DdbbrDku.mjs";
|
|
4
|
+
import { parseTRPCMessage } from "./parseTRPCMessage-ByIHyFRz.mjs";
|
|
5
|
+
import { Unpromise, iteratorResource, parseConnectionParamsFromUnknown, require_usingCtx } from "./resolveResponse-CzlbRpCI.mjs";
|
|
6
|
+
import { isObservable, observableToAsyncIterable } from "./observable-UMO3vUa_.mjs";
|
|
7
|
+
import { createURL } from "./node-http-ZvZKxPic.mjs";
|
|
8
|
+
|
|
9
|
+
//#region src/adapters/ws.ts
|
|
10
|
+
var import_objectSpread2 = __toESM(require_objectSpread2(), 1);
|
|
11
|
+
var import_usingCtx = __toESM(require_usingCtx(), 1);
|
|
12
|
+
/**
|
|
13
|
+
* Importing ws causes a build error
|
|
14
|
+
* @see https://github.com/trpc/trpc/pull/5279
|
|
15
|
+
*/
|
|
16
|
+
const WEBSOCKET_OPEN = 1;
|
|
17
|
+
function getWSConnectionHandler(opts) {
|
|
18
|
+
const { createContext, router } = opts;
|
|
19
|
+
const { transformer } = router._def._config;
|
|
20
|
+
return (client, req) => {
|
|
21
|
+
var _opts$keepAlive;
|
|
22
|
+
const clientSubscriptions = /* @__PURE__ */ new Map();
|
|
23
|
+
const abortController = new AbortController();
|
|
24
|
+
if ((_opts$keepAlive = opts.keepAlive) === null || _opts$keepAlive === void 0 ? void 0 : _opts$keepAlive.enabled) {
|
|
25
|
+
const { pingMs, pongWaitMs } = opts.keepAlive;
|
|
26
|
+
handleKeepAlive(client, pingMs, pongWaitMs);
|
|
27
|
+
}
|
|
28
|
+
function respond(untransformedJSON) {
|
|
29
|
+
client.send(JSON.stringify(transformTRPCResponse(router._def._config, untransformedJSON)));
|
|
30
|
+
}
|
|
31
|
+
async function createCtxPromise(getConnectionParams) {
|
|
32
|
+
try {
|
|
33
|
+
return await run(async () => {
|
|
34
|
+
ctx = await (createContext === null || createContext === void 0 ? void 0 : createContext({
|
|
35
|
+
req,
|
|
36
|
+
res: client,
|
|
37
|
+
info: {
|
|
38
|
+
connectionParams: getConnectionParams(),
|
|
39
|
+
calls: [],
|
|
40
|
+
isBatchCall: false,
|
|
41
|
+
accept: null,
|
|
42
|
+
type: "unknown",
|
|
43
|
+
signal: abortController.signal,
|
|
44
|
+
url: null
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
return {
|
|
48
|
+
ok: true,
|
|
49
|
+
value: ctx
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
} catch (cause) {
|
|
53
|
+
var _opts$onError, _globalThis$setImmedi;
|
|
54
|
+
const error = getTRPCErrorFromUnknown(cause);
|
|
55
|
+
(_opts$onError = opts.onError) === null || _opts$onError === void 0 || _opts$onError.call(opts, {
|
|
56
|
+
error,
|
|
57
|
+
path: void 0,
|
|
58
|
+
type: "unknown",
|
|
59
|
+
ctx,
|
|
60
|
+
req,
|
|
61
|
+
input: void 0
|
|
62
|
+
});
|
|
63
|
+
respond({
|
|
64
|
+
id: null,
|
|
65
|
+
error: getErrorShape({
|
|
66
|
+
config: router._def._config,
|
|
67
|
+
error,
|
|
68
|
+
type: "unknown",
|
|
69
|
+
path: void 0,
|
|
70
|
+
input: void 0,
|
|
71
|
+
ctx
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
((_globalThis$setImmedi = globalThis.setImmediate) !== null && _globalThis$setImmedi !== void 0 ? _globalThis$setImmedi : globalThis.setTimeout)(() => {
|
|
75
|
+
client.close();
|
|
76
|
+
});
|
|
77
|
+
return {
|
|
78
|
+
ok: false,
|
|
79
|
+
error
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
let ctx = void 0;
|
|
84
|
+
/**
|
|
85
|
+
* promise for initializing the context
|
|
86
|
+
*
|
|
87
|
+
* - the context promise will be created immediately on connection if no connectionParams are expected
|
|
88
|
+
* - if connection params are expected, they will be created once received
|
|
89
|
+
*/
|
|
90
|
+
let ctxPromise = createURL(req).searchParams.get("connectionParams") === "1" ? null : createCtxPromise(() => null);
|
|
91
|
+
function handleRequest(msg) {
|
|
92
|
+
const { id, jsonrpc } = msg;
|
|
93
|
+
if (id === null) {
|
|
94
|
+
var _opts$onError2;
|
|
95
|
+
const error = getTRPCErrorFromUnknown(new TRPCError({
|
|
96
|
+
code: "PARSE_ERROR",
|
|
97
|
+
message: "`id` is required"
|
|
98
|
+
}));
|
|
99
|
+
(_opts$onError2 = opts.onError) === null || _opts$onError2 === void 0 || _opts$onError2.call(opts, {
|
|
100
|
+
error,
|
|
101
|
+
path: void 0,
|
|
102
|
+
type: "unknown",
|
|
103
|
+
ctx,
|
|
104
|
+
req,
|
|
105
|
+
input: void 0
|
|
106
|
+
});
|
|
107
|
+
respond({
|
|
108
|
+
id,
|
|
109
|
+
jsonrpc,
|
|
110
|
+
error: getErrorShape({
|
|
111
|
+
config: router._def._config,
|
|
112
|
+
error,
|
|
113
|
+
type: "unknown",
|
|
114
|
+
path: void 0,
|
|
115
|
+
input: void 0,
|
|
116
|
+
ctx
|
|
117
|
+
})
|
|
118
|
+
});
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (msg.method === "subscription.stop") {
|
|
122
|
+
var _clientSubscriptions$;
|
|
123
|
+
(_clientSubscriptions$ = clientSubscriptions.get(id)) === null || _clientSubscriptions$ === void 0 || _clientSubscriptions$.abort();
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const { path, lastEventId } = msg.params;
|
|
127
|
+
let { input } = msg.params;
|
|
128
|
+
const type = msg.method;
|
|
129
|
+
if (lastEventId !== void 0) if (isObject(input)) input = (0, import_objectSpread2.default)((0, import_objectSpread2.default)({}, input), {}, { lastEventId });
|
|
130
|
+
else {
|
|
131
|
+
var _input;
|
|
132
|
+
(_input = input) !== null && _input !== void 0 || (input = { lastEventId });
|
|
133
|
+
}
|
|
134
|
+
run(async () => {
|
|
135
|
+
const res = await ctxPromise;
|
|
136
|
+
if (!res.ok) throw res.error;
|
|
137
|
+
const abortController$1 = new AbortController();
|
|
138
|
+
const result = await callProcedure({
|
|
139
|
+
router,
|
|
140
|
+
path,
|
|
141
|
+
getRawInput: async () => input,
|
|
142
|
+
ctx,
|
|
143
|
+
type,
|
|
144
|
+
signal: abortController$1.signal
|
|
145
|
+
});
|
|
146
|
+
const isIterableResult = isAsyncIterable(result) || isObservable(result);
|
|
147
|
+
if (type !== "subscription") {
|
|
148
|
+
if (isIterableResult) throw new TRPCError({
|
|
149
|
+
code: "UNSUPPORTED_MEDIA_TYPE",
|
|
150
|
+
message: `Cannot return an async iterable or observable from a ${type} procedure with WebSockets`
|
|
151
|
+
});
|
|
152
|
+
respond({
|
|
153
|
+
id,
|
|
154
|
+
jsonrpc,
|
|
155
|
+
result: {
|
|
156
|
+
type: "data",
|
|
157
|
+
data: result
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
if (!isIterableResult) throw new TRPCError({
|
|
163
|
+
message: `Subscription ${path} did not return an observable or a AsyncGenerator`,
|
|
164
|
+
code: "INTERNAL_SERVER_ERROR"
|
|
165
|
+
});
|
|
166
|
+
/* istanbul ignore next -- @preserve */
|
|
167
|
+
if (client.readyState !== WEBSOCKET_OPEN) return;
|
|
168
|
+
/* istanbul ignore next -- @preserve */
|
|
169
|
+
if (clientSubscriptions.has(id)) throw new TRPCError({
|
|
170
|
+
message: `Duplicate id ${id}`,
|
|
171
|
+
code: "BAD_REQUEST"
|
|
172
|
+
});
|
|
173
|
+
const iterable = isObservable(result) ? observableToAsyncIterable(result, abortController$1.signal) : result;
|
|
174
|
+
run(async () => {
|
|
175
|
+
try {
|
|
176
|
+
var _usingCtx = (0, import_usingCtx.default)();
|
|
177
|
+
const iterator = _usingCtx.a(iteratorResource(iterable));
|
|
178
|
+
const abortPromise = new Promise((resolve) => {
|
|
179
|
+
abortController$1.signal.onabort = () => resolve("abort");
|
|
180
|
+
});
|
|
181
|
+
let next;
|
|
182
|
+
let result$1;
|
|
183
|
+
while (true) {
|
|
184
|
+
next = await Unpromise.race([iterator.next().catch(getTRPCErrorFromUnknown), abortPromise]);
|
|
185
|
+
if (next === "abort") {
|
|
186
|
+
var _iterator$return;
|
|
187
|
+
await ((_iterator$return = iterator.return) === null || _iterator$return === void 0 ? void 0 : _iterator$return.call(iterator));
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
if (next instanceof Error) {
|
|
191
|
+
var _opts$onError3;
|
|
192
|
+
const error = getTRPCErrorFromUnknown(next);
|
|
193
|
+
(_opts$onError3 = opts.onError) === null || _opts$onError3 === void 0 || _opts$onError3.call(opts, {
|
|
194
|
+
error,
|
|
195
|
+
path,
|
|
196
|
+
type,
|
|
197
|
+
ctx,
|
|
198
|
+
req,
|
|
199
|
+
input
|
|
200
|
+
});
|
|
201
|
+
respond({
|
|
202
|
+
id,
|
|
203
|
+
jsonrpc,
|
|
204
|
+
error: getErrorShape({
|
|
205
|
+
config: router._def._config,
|
|
206
|
+
error,
|
|
207
|
+
type,
|
|
208
|
+
path,
|
|
209
|
+
input,
|
|
210
|
+
ctx
|
|
211
|
+
})
|
|
212
|
+
});
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
if (next.done) break;
|
|
216
|
+
result$1 = {
|
|
217
|
+
type: "data",
|
|
218
|
+
data: next.value
|
|
219
|
+
};
|
|
220
|
+
if (isTrackedEnvelope(next.value)) {
|
|
221
|
+
const [id$1, data] = next.value;
|
|
222
|
+
result$1.id = id$1;
|
|
223
|
+
result$1.data = {
|
|
224
|
+
id: id$1,
|
|
225
|
+
data
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
respond({
|
|
229
|
+
id,
|
|
230
|
+
jsonrpc,
|
|
231
|
+
result: result$1
|
|
232
|
+
});
|
|
233
|
+
next = null;
|
|
234
|
+
result$1 = null;
|
|
235
|
+
}
|
|
236
|
+
respond({
|
|
237
|
+
id,
|
|
238
|
+
jsonrpc,
|
|
239
|
+
result: { type: "stopped" }
|
|
240
|
+
});
|
|
241
|
+
clientSubscriptions.delete(id);
|
|
242
|
+
} catch (_) {
|
|
243
|
+
_usingCtx.e = _;
|
|
244
|
+
} finally {
|
|
245
|
+
await _usingCtx.d();
|
|
246
|
+
}
|
|
247
|
+
}).catch((cause) => {
|
|
248
|
+
var _opts$onError4;
|
|
249
|
+
const error = getTRPCErrorFromUnknown(cause);
|
|
250
|
+
(_opts$onError4 = opts.onError) === null || _opts$onError4 === void 0 || _opts$onError4.call(opts, {
|
|
251
|
+
error,
|
|
252
|
+
path,
|
|
253
|
+
type,
|
|
254
|
+
ctx,
|
|
255
|
+
req,
|
|
256
|
+
input
|
|
257
|
+
});
|
|
258
|
+
respond({
|
|
259
|
+
id,
|
|
260
|
+
jsonrpc,
|
|
261
|
+
error: getErrorShape({
|
|
262
|
+
config: router._def._config,
|
|
263
|
+
error,
|
|
264
|
+
type,
|
|
265
|
+
path,
|
|
266
|
+
input,
|
|
267
|
+
ctx
|
|
268
|
+
})
|
|
269
|
+
});
|
|
270
|
+
abortController$1.abort();
|
|
271
|
+
});
|
|
272
|
+
clientSubscriptions.set(id, abortController$1);
|
|
273
|
+
respond({
|
|
274
|
+
id,
|
|
275
|
+
jsonrpc,
|
|
276
|
+
result: { type: "started" }
|
|
277
|
+
});
|
|
278
|
+
}).catch((cause) => {
|
|
279
|
+
var _opts$onError5;
|
|
280
|
+
const error = getTRPCErrorFromUnknown(cause);
|
|
281
|
+
(_opts$onError5 = opts.onError) === null || _opts$onError5 === void 0 || _opts$onError5.call(opts, {
|
|
282
|
+
error,
|
|
283
|
+
path,
|
|
284
|
+
type,
|
|
285
|
+
ctx,
|
|
286
|
+
req,
|
|
287
|
+
input
|
|
288
|
+
});
|
|
289
|
+
respond({
|
|
290
|
+
id,
|
|
291
|
+
jsonrpc,
|
|
292
|
+
error: getErrorShape({
|
|
293
|
+
config: router._def._config,
|
|
294
|
+
error,
|
|
295
|
+
type,
|
|
296
|
+
path,
|
|
297
|
+
input,
|
|
298
|
+
ctx
|
|
299
|
+
})
|
|
300
|
+
});
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
client.on("message", (rawData) => {
|
|
304
|
+
const msgStr = rawData.toString();
|
|
305
|
+
if (msgStr === "PONG") return;
|
|
306
|
+
if (msgStr === "PING") {
|
|
307
|
+
if (!opts.dangerouslyDisablePong) client.send("PONG");
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
if (!ctxPromise) {
|
|
311
|
+
ctxPromise = createCtxPromise(() => {
|
|
312
|
+
let msg;
|
|
313
|
+
try {
|
|
314
|
+
msg = JSON.parse(msgStr);
|
|
315
|
+
if (!isObject(msg)) throw new Error("Message was not an object");
|
|
316
|
+
} catch (cause) {
|
|
317
|
+
throw new TRPCError({
|
|
318
|
+
code: "PARSE_ERROR",
|
|
319
|
+
message: `Malformed TRPCConnectionParamsMessage`,
|
|
320
|
+
cause
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
const connectionParams = parseConnectionParamsFromUnknown(msg.data);
|
|
324
|
+
return connectionParams;
|
|
325
|
+
});
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
const parsedMsgs = run(() => {
|
|
329
|
+
try {
|
|
330
|
+
const msgJSON = JSON.parse(msgStr);
|
|
331
|
+
const msgs = Array.isArray(msgJSON) ? msgJSON : [msgJSON];
|
|
332
|
+
return msgs.map((raw) => parseTRPCMessage(raw, transformer));
|
|
333
|
+
} catch (cause) {
|
|
334
|
+
const error = new TRPCError({
|
|
335
|
+
code: "PARSE_ERROR",
|
|
336
|
+
cause
|
|
337
|
+
});
|
|
338
|
+
respond({
|
|
339
|
+
id: null,
|
|
340
|
+
error: getErrorShape({
|
|
341
|
+
config: router._def._config,
|
|
342
|
+
error,
|
|
343
|
+
type: "unknown",
|
|
344
|
+
path: void 0,
|
|
345
|
+
input: void 0,
|
|
346
|
+
ctx
|
|
347
|
+
})
|
|
348
|
+
});
|
|
349
|
+
return [];
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
parsedMsgs.map(handleRequest);
|
|
353
|
+
});
|
|
354
|
+
client.on("error", (cause) => {
|
|
355
|
+
var _opts$onError6;
|
|
356
|
+
(_opts$onError6 = opts.onError) === null || _opts$onError6 === void 0 || _opts$onError6.call(opts, {
|
|
357
|
+
ctx,
|
|
358
|
+
error: getTRPCErrorFromUnknown(cause),
|
|
359
|
+
input: void 0,
|
|
360
|
+
path: void 0,
|
|
361
|
+
type: "unknown",
|
|
362
|
+
req
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
client.once("close", () => {
|
|
366
|
+
for (const sub of clientSubscriptions.values()) sub.abort();
|
|
367
|
+
clientSubscriptions.clear();
|
|
368
|
+
abortController.abort();
|
|
369
|
+
});
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Handle WebSocket keep-alive messages
|
|
374
|
+
*/
|
|
375
|
+
function handleKeepAlive(client, pingMs = 3e4, pongWaitMs = 5e3) {
|
|
376
|
+
let timeout = void 0;
|
|
377
|
+
let ping = void 0;
|
|
378
|
+
const schedulePing = () => {
|
|
379
|
+
const scheduleTimeout = () => {
|
|
380
|
+
timeout = setTimeout(() => {
|
|
381
|
+
client.terminate();
|
|
382
|
+
}, pongWaitMs);
|
|
383
|
+
};
|
|
384
|
+
ping = setTimeout(() => {
|
|
385
|
+
client.send("PING");
|
|
386
|
+
scheduleTimeout();
|
|
387
|
+
}, pingMs);
|
|
388
|
+
};
|
|
389
|
+
const onMessage = () => {
|
|
390
|
+
clearTimeout(ping);
|
|
391
|
+
clearTimeout(timeout);
|
|
392
|
+
schedulePing();
|
|
393
|
+
};
|
|
394
|
+
client.on("message", onMessage);
|
|
395
|
+
client.on("close", () => {
|
|
396
|
+
clearTimeout(ping);
|
|
397
|
+
clearTimeout(timeout);
|
|
398
|
+
});
|
|
399
|
+
schedulePing();
|
|
400
|
+
}
|
|
401
|
+
function applyWSSHandler(opts) {
|
|
402
|
+
const onConnection = getWSConnectionHandler(opts);
|
|
403
|
+
opts.wss.on("connection", (client, req) => {
|
|
404
|
+
var _req$url;
|
|
405
|
+
if (opts.prefix && !((_req$url = req.url) === null || _req$url === void 0 ? void 0 : _req$url.startsWith(opts.prefix))) return;
|
|
406
|
+
onConnection(client, req);
|
|
407
|
+
});
|
|
408
|
+
return { broadcastReconnectNotification: () => {
|
|
409
|
+
const response = {
|
|
410
|
+
id: null,
|
|
411
|
+
method: "reconnect"
|
|
412
|
+
};
|
|
413
|
+
const data = JSON.stringify(response);
|
|
414
|
+
for (const client of opts.wss.clients) if (client.readyState === WEBSOCKET_OPEN) client.send(data);
|
|
415
|
+
} };
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
//#endregion
|
|
419
|
+
export { applyWSSHandler, getWSConnectionHandler, handleKeepAlive };
|
|
420
|
+
//# sourceMappingURL=ws-DsZkVWpZ.mjs.map
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@trpc/server",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"sideEffects": false,
|
|
5
|
+
"version": "11.4.3",
|
|
6
|
+
"description": "The tRPC server library",
|
|
7
|
+
"author": "KATT",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.mjs",
|
|
11
|
+
"types": "./dist/index.d.cts",
|
|
12
|
+
"homepage": "https://trpc.io",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/trpc/trpc.git",
|
|
16
|
+
"directory": "packages/server"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsdown",
|
|
20
|
+
"dev": "tsdown --watch",
|
|
21
|
+
"benchmark": "tsc --project tsconfig.benchmark.json",
|
|
22
|
+
"lint": "eslint --cache src",
|
|
23
|
+
"ts-watch": "tsc --watch"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
".": {
|
|
28
|
+
"import": {
|
|
29
|
+
"types": "./dist/index.d.mts",
|
|
30
|
+
"default": "./dist/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"require": {
|
|
33
|
+
"types": "./dist/index.d.cts",
|
|
34
|
+
"default": "./dist/index.cjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"./adapters/aws-lambda": {
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/adapters/aws-lambda/index.d.mts",
|
|
40
|
+
"default": "./dist/adapters/aws-lambda/index.mjs"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./dist/adapters/aws-lambda/index.d.cts",
|
|
44
|
+
"default": "./dist/adapters/aws-lambda/index.cjs"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"./adapters/express": {
|
|
48
|
+
"import": {
|
|
49
|
+
"types": "./dist/adapters/express.d.mts",
|
|
50
|
+
"default": "./dist/adapters/express.mjs"
|
|
51
|
+
},
|
|
52
|
+
"require": {
|
|
53
|
+
"types": "./dist/adapters/express.d.cts",
|
|
54
|
+
"default": "./dist/adapters/express.cjs"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"./adapters/fastify": {
|
|
58
|
+
"import": {
|
|
59
|
+
"types": "./dist/adapters/fastify/index.d.mts",
|
|
60
|
+
"default": "./dist/adapters/fastify/index.mjs"
|
|
61
|
+
},
|
|
62
|
+
"require": {
|
|
63
|
+
"types": "./dist/adapters/fastify/index.d.cts",
|
|
64
|
+
"default": "./dist/adapters/fastify/index.cjs"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"./adapters/fetch": {
|
|
68
|
+
"import": {
|
|
69
|
+
"types": "./dist/adapters/fetch/index.d.mts",
|
|
70
|
+
"default": "./dist/adapters/fetch/index.mjs"
|
|
71
|
+
},
|
|
72
|
+
"require": {
|
|
73
|
+
"types": "./dist/adapters/fetch/index.d.cts",
|
|
74
|
+
"default": "./dist/adapters/fetch/index.cjs"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"./adapters/next-app-dir": {
|
|
78
|
+
"import": {
|
|
79
|
+
"types": "./dist/adapters/next-app-dir.d.mts",
|
|
80
|
+
"default": "./dist/adapters/next-app-dir.mjs"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"types": "./dist/adapters/next-app-dir.d.cts",
|
|
84
|
+
"default": "./dist/adapters/next-app-dir.cjs"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"./adapters/next": {
|
|
88
|
+
"import": {
|
|
89
|
+
"types": "./dist/adapters/next.d.mts",
|
|
90
|
+
"default": "./dist/adapters/next.mjs"
|
|
91
|
+
},
|
|
92
|
+
"require": {
|
|
93
|
+
"types": "./dist/adapters/next.d.cts",
|
|
94
|
+
"default": "./dist/adapters/next.cjs"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"./adapters/node-http": {
|
|
98
|
+
"import": {
|
|
99
|
+
"types": "./dist/adapters/node-http/index.d.mts",
|
|
100
|
+
"default": "./dist/adapters/node-http/index.mjs"
|
|
101
|
+
},
|
|
102
|
+
"require": {
|
|
103
|
+
"types": "./dist/adapters/node-http/index.d.cts",
|
|
104
|
+
"default": "./dist/adapters/node-http/index.cjs"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"./adapters/standalone": {
|
|
108
|
+
"import": {
|
|
109
|
+
"types": "./dist/adapters/standalone.d.mts",
|
|
110
|
+
"default": "./dist/adapters/standalone.mjs"
|
|
111
|
+
},
|
|
112
|
+
"require": {
|
|
113
|
+
"types": "./dist/adapters/standalone.d.cts",
|
|
114
|
+
"default": "./dist/adapters/standalone.cjs"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"./adapters/ws": {
|
|
118
|
+
"import": {
|
|
119
|
+
"types": "./dist/adapters/ws.d.mts",
|
|
120
|
+
"default": "./dist/adapters/ws.mjs"
|
|
121
|
+
},
|
|
122
|
+
"require": {
|
|
123
|
+
"types": "./dist/adapters/ws.d.cts",
|
|
124
|
+
"default": "./dist/adapters/ws.cjs"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"./http": {
|
|
128
|
+
"import": {
|
|
129
|
+
"types": "./dist/http.d.mts",
|
|
130
|
+
"default": "./dist/http.mjs"
|
|
131
|
+
},
|
|
132
|
+
"require": {
|
|
133
|
+
"types": "./dist/http.d.cts",
|
|
134
|
+
"default": "./dist/http.cjs"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"./observable": {
|
|
138
|
+
"import": {
|
|
139
|
+
"types": "./dist/observable/index.d.mts",
|
|
140
|
+
"default": "./dist/observable/index.mjs"
|
|
141
|
+
},
|
|
142
|
+
"require": {
|
|
143
|
+
"types": "./dist/observable/index.d.cts",
|
|
144
|
+
"default": "./dist/observable/index.cjs"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"./rpc": {
|
|
148
|
+
"import": {
|
|
149
|
+
"types": "./dist/rpc.d.mts",
|
|
150
|
+
"default": "./dist/rpc.mjs"
|
|
151
|
+
},
|
|
152
|
+
"require": {
|
|
153
|
+
"types": "./dist/rpc.d.cts",
|
|
154
|
+
"default": "./dist/rpc.cjs"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"./shared": {
|
|
158
|
+
"import": {
|
|
159
|
+
"types": "./dist/shared.d.mts",
|
|
160
|
+
"default": "./dist/shared.mjs"
|
|
161
|
+
},
|
|
162
|
+
"require": {
|
|
163
|
+
"types": "./dist/shared.d.cts",
|
|
164
|
+
"default": "./dist/shared.cjs"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"./unstable-core-do-not-import": {
|
|
168
|
+
"import": {
|
|
169
|
+
"types": "./dist/unstable-core-do-not-import.d.mts",
|
|
170
|
+
"default": "./dist/unstable-core-do-not-import.mjs"
|
|
171
|
+
},
|
|
172
|
+
"require": {
|
|
173
|
+
"types": "./dist/unstable-core-do-not-import.d.cts",
|
|
174
|
+
"default": "./dist/unstable-core-do-not-import.cjs"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"files": [
|
|
179
|
+
"dist",
|
|
180
|
+
"src",
|
|
181
|
+
"README.md",
|
|
182
|
+
"package.json",
|
|
183
|
+
"adapters",
|
|
184
|
+
"http",
|
|
185
|
+
"observable",
|
|
186
|
+
"rpc",
|
|
187
|
+
"shared",
|
|
188
|
+
"unstable-core-do-not-import",
|
|
189
|
+
"!**/*.test.*",
|
|
190
|
+
"!**/__tests__"
|
|
191
|
+
],
|
|
192
|
+
"publishConfig": {
|
|
193
|
+
"access": "public"
|
|
194
|
+
},
|
|
195
|
+
"devDependencies": {
|
|
196
|
+
"@fastify/websocket": "^11.0.0",
|
|
197
|
+
"@oxc-project/runtime": "0.69.0",
|
|
198
|
+
"@tanstack/react-query": "^5.80.3",
|
|
199
|
+
"@types/aws-lambda": "^8.10.149",
|
|
200
|
+
"@types/express": "^5.0.0",
|
|
201
|
+
"@types/hash-sum": "^1.0.0",
|
|
202
|
+
"@types/node": "^22.13.5",
|
|
203
|
+
"@types/react": "^19.1.0",
|
|
204
|
+
"@types/react-dom": "^19.1.1",
|
|
205
|
+
"@types/ws": "^8.2.0",
|
|
206
|
+
"devalue": "^5.0.0",
|
|
207
|
+
"eslint": "^9.26.0",
|
|
208
|
+
"express": "^5.0.0",
|
|
209
|
+
"fastify": "^5.0.0",
|
|
210
|
+
"fastify-plugin": "^5.0.0",
|
|
211
|
+
"hash-sum": "^2.0.0",
|
|
212
|
+
"myzod": "^1.3.1",
|
|
213
|
+
"next": "^15.3.1",
|
|
214
|
+
"react": "^19.1.0",
|
|
215
|
+
"react-dom": "^19.1.0",
|
|
216
|
+
"superjson": "^1.12.4",
|
|
217
|
+
"superstruct": "^2.0.0",
|
|
218
|
+
"tsdown": "0.12.7",
|
|
219
|
+
"typescript": "^5.8.2",
|
|
220
|
+
"valibot": "1.1.0",
|
|
221
|
+
"ws": "^8.0.0",
|
|
222
|
+
"yup": "^1.0.0",
|
|
223
|
+
"zod": "^3.25.51"
|
|
224
|
+
},
|
|
225
|
+
"funding": [
|
|
226
|
+
"https://trpc.io/sponsor"
|
|
227
|
+
],
|
|
228
|
+
"peerDependencies": {
|
|
229
|
+
"typescript": ">=5.7.2"
|
|
230
|
+
},
|
|
231
|
+
"gitHead": "204596418ac9d35bef7bc0b20d832f9e4542fd57"
|
|
232
|
+
}
|