@farm.js/core 0.1.49 → 0.1.51-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +163 -3
- package/dist/{agent-mcp-Bb8hnnqd.d.ts → agent-mcp-BBMfNpsC.d.ts} +1 -1
- package/dist/{agent-mcp-ir3v4fHf.d.mts → agent-mcp-D44ip11f.d.mts} +1 -1
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +6 -6
- package/dist/agent-runtime.d.ts +6 -6
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-HOUCQR3K.mjs +1066 -0
- package/dist/analyzer-VKUDHNDF.cjs +1066 -0
- package/dist/api/client.d.mts +0 -1
- package/dist/api/client.d.ts +0 -1
- package/dist/api/route-manager.cjs +8 -8
- package/dist/api/route-manager.d.mts +10 -10
- package/dist/api/route-manager.d.ts +10 -10
- package/dist/api/route-manager.mjs +7 -7
- package/dist/api/runtime.cjs +3 -3
- package/dist/api/runtime.d.mts +7 -7
- package/dist/api/runtime.d.ts +7 -7
- package/dist/api/runtime.mjs +2 -2
- package/dist/api.cjs +9 -9
- package/dist/api.d.mts +10 -10
- package/dist/api.d.ts +10 -10
- package/dist/api.mjs +8 -8
- package/dist/{app-y649szYm.d.ts → app-CourU3rQ.d.ts} +7 -7
- package/dist/{app-DLzz02du.d.mts → app-aeD4s_mg.d.mts} +7 -7
- package/dist/{app-manifest-Crn8Qd3U.d.mts → app-manifest-BC6mFn5A.d.mts} +1 -1
- package/dist/{app-manifest-DNeTKMRL.d.ts → app-manifest-LzjoNPeq.d.ts} +1 -1
- package/dist/app-markdown.d.mts +7 -7
- package/dist/app-markdown.d.ts +7 -7
- package/dist/base-path-BOUV5ozD.d.mts +10 -0
- package/dist/base-path-BOUV5ozD.d.ts +10 -0
- package/dist/cache.d.mts +4 -3
- package/dist/cache.d.ts +4 -3
- package/dist/{chunk-YQGZLCT4.cjs → chunk-2IAPKPEB.cjs} +6 -6
- package/dist/chunk-2KVDHNQS.mjs +224 -0
- package/dist/{chunk-QFQDRJKJ.mjs → chunk-3HA7PP72.mjs} +2 -2
- package/dist/{chunk-6LH33DLL.cjs → chunk-3OWVWZ6R.cjs} +28 -2
- package/dist/{chunk-GXSMF7UR.mjs → chunk-4GJJ65RB.mjs} +10 -2
- package/dist/{chunk-GERUXONA.cjs → chunk-5A77OEIG.cjs} +4 -1
- package/dist/{chunk-4HBKBHVP.mjs → chunk-5ENW27SL.mjs} +1 -1
- package/dist/{chunk-MTB57GOK.mjs → chunk-724WT3NI.mjs} +4 -2
- package/dist/{chunk-XLYXG73A.mjs → chunk-75WWOZ5C.mjs} +22 -0
- package/dist/{chunk-VCKGOXFI.cjs → chunk-76GHW3WI.cjs} +7 -1
- package/dist/{chunk-ZIBIE7AH.mjs → chunk-7UPCJDB5.mjs} +7 -1
- package/dist/{chunk-4IICUBQX.cjs → chunk-A5BJKSZE.cjs} +2 -2
- package/dist/{chunk-UYQOIPXE.mjs → chunk-AER5I65K.mjs} +1 -1
- package/dist/{chunk-WB6XES4V.mjs → chunk-ALEUMLJN.mjs} +34 -5
- package/dist/{chunk-Z4LTSH7D.mjs → chunk-AMRK3P6W.mjs} +175 -71
- package/dist/{chunk-TTYXOAB7.mjs → chunk-ANHZ6SUL.mjs} +1 -1
- package/dist/{chunk-ZBS3GOQZ.cjs → chunk-AQLHD6HZ.cjs} +35 -61
- package/dist/{chunk-L6QDME5Z.cjs → chunk-B3GZAQSC.cjs} +3 -3
- package/dist/chunk-CKPTIEDX.cjs +12 -0
- package/dist/{chunk-JPAVNDZH.cjs → chunk-CY7H5KS4.cjs} +25 -25
- package/dist/{chunk-4S7M63WX.cjs → chunk-DGOLAZLV.cjs} +22 -1
- package/dist/{chunk-4HM5B5RR.cjs → chunk-DWW3AMJX.cjs} +343 -308
- package/dist/{chunk-EQMTJBB7.cjs → chunk-DZZHTMWM.cjs} +35 -6
- package/dist/chunk-E36C43IX.cjs +224 -0
- package/dist/{chunk-J2ZEVDEK.cjs → chunk-EHB77D5U.cjs} +3 -3
- package/dist/{chunk-WQGRD5BJ.cjs → chunk-EX6ZSN5P.cjs} +1 -16
- package/dist/{chunk-C5S457CK.cjs → chunk-F42U3R4F.cjs} +214 -193
- package/dist/{chunk-FGJQS4EC.cjs → chunk-FK25QSVC.cjs} +4 -3
- package/dist/{chunk-JOHXK4BB.mjs → chunk-FSQMN2MQ.mjs} +2 -1
- package/dist/{chunk-2H3FJYY6.mjs → chunk-FSXSQQTV.mjs} +3 -2
- package/dist/chunk-G2KTRMWA.mjs +40 -0
- package/dist/{chunk-C6U66WWF.mjs → chunk-GFT5AHAT.mjs} +13 -0
- package/dist/chunk-GNZIAJGB.mjs +358 -0
- package/dist/{chunk-TXK4D46O.mjs → chunk-H3ASZDT7.mjs} +21 -1
- package/dist/{chunk-AXRNEVCS.cjs → chunk-HASX6DC7.cjs} +8 -8
- package/dist/{chunk-NW2BKDVT.mjs → chunk-HHFMECFO.mjs} +1 -1
- package/dist/{chunk-HELQXYVI.cjs → chunk-I2DQGS56.cjs} +11 -9
- package/dist/{chunk-IVHPRF4W.mjs → chunk-I2ZA5SXS.mjs} +81 -46
- package/dist/{chunk-EVCQX243.cjs → chunk-IOUOGRDX.cjs} +13 -5
- package/dist/{chunk-CBJKDB6F.mjs → chunk-IRSS4HS4.mjs} +1 -1
- package/dist/{chunk-NPPT4RWF.cjs → chunk-J22JD5YJ.cjs} +7 -7
- package/dist/{chunk-VJXLUTBM.mjs → chunk-JF5CNHHF.mjs} +9 -9
- package/dist/{chunk-VR4SEDEM.mjs → chunk-JWI5PUO2.mjs} +6 -2
- package/dist/{chunk-6XFGJBYX.cjs → chunk-JYNNIGQO.cjs} +16 -7
- package/dist/{chunk-EXHEPWFJ.cjs → chunk-KHXAJ2KA.cjs} +16 -16
- package/dist/{chunk-ALD2WMLA.mjs → chunk-KY32FWK7.mjs} +4 -4
- package/dist/{chunk-BR5FSKZ5.cjs → chunk-LEIXUFJN.cjs} +6 -2
- package/dist/{chunk-5566GNEG.cjs → chunk-LIFUPCXW.cjs} +13 -0
- package/dist/{chunk-I2SWKWO7.mjs → chunk-LJDIFIJ2.mjs} +1 -1
- package/dist/chunk-LMFJCXDD.mjs +55 -0
- package/dist/{chunk-IXSMFKZ2.cjs → chunk-LNM57D3H.cjs} +4 -4
- package/dist/{chunk-ATHPRVP2.mjs → chunk-LZ4SB57H.mjs} +3 -3
- package/dist/{chunk-73XBJRZW.cjs → chunk-MMEEXMUQ.cjs} +2 -2
- package/dist/chunk-N4AQNEXR.cjs +17 -0
- package/dist/{chunk-JZMZKABS.cjs → chunk-NWUHS6GV.cjs} +3 -2
- package/dist/{chunk-KZT2VHRQ.cjs → chunk-O3MMJPC2.cjs} +19 -19
- package/dist/{chunk-JWP56HCP.mjs → chunk-OD6WM3I7.mjs} +2 -2
- package/dist/{chunk-R2SEZEBC.cjs → chunk-OYNNA4DD.cjs} +4 -4
- package/dist/{chunk-GBPDSUFE.mjs → chunk-OZK2DS44.mjs} +1 -1
- package/dist/{chunk-A7DK663W.cjs → chunk-PDJSL7PL.cjs} +50 -39
- package/dist/{chunk-XLLVWLWO.mjs → chunk-PIHKO25G.mjs} +1 -1
- package/dist/chunk-PIUTGRDI.cjs +358 -0
- package/dist/{chunk-XO6WL6NL.mjs → chunk-PPDHCRTC.mjs} +1 -1
- package/dist/{chunk-LZBM35DH.mjs → chunk-QI5AQMEE.mjs} +20 -9
- package/dist/{chunk-FR4HJDI6.cjs → chunk-QK3HBOTG.cjs} +27 -30
- package/dist/{chunk-Q3UU2KXC.mjs → chunk-QMDU6QHN.mjs} +4 -1
- package/dist/chunk-QXJADAQB.cjs +40 -0
- package/dist/{chunk-DGVVVYKD.mjs → chunk-R5P4KFPM.mjs} +2 -2
- package/dist/{chunk-3HBFI373.cjs → chunk-S5AQ7CAC.cjs} +14 -14
- package/dist/{chunk-Z3BXMMFF.mjs → chunk-S5ZA2T2W.mjs} +63 -42
- package/dist/{chunk-PXEXOQ5R.mjs → chunk-SHS6KXOZ.mjs} +1 -1
- package/dist/{chunk-ETF5C6HR.cjs → chunk-SJ23LJ3N.cjs} +3 -3
- package/dist/{chunk-LL7TDMOM.mjs → chunk-SMUW7UST.mjs} +33 -59
- package/dist/{chunk-VCFBQFOV.mjs → chunk-SN5VSO3Q.mjs} +9 -7
- package/dist/{chunk-AIHD6VME.cjs → chunk-SO3T6T4I.cjs} +482 -378
- package/dist/{chunk-JHXJBNLY.cjs → chunk-SUCDVKUB.cjs} +21 -1
- package/dist/{chunk-DM3TFCC2.cjs → chunk-SUV6YO4Q.cjs} +5 -5
- package/dist/{chunk-NG44F7AH.mjs → chunk-T4EW7AAD.mjs} +2 -2
- package/dist/{chunk-JUMPFVMK.mjs → chunk-TUOO6IK3.mjs} +9 -0
- package/dist/chunk-UB7RVEMX.mjs +73 -0
- package/dist/{chunk-CDTIXBKN.mjs → chunk-UN6N623E.mjs} +2 -2
- package/dist/{chunk-BEXYFR2R.cjs → chunk-USL2ANCB.cjs} +10 -10
- package/dist/{chunk-HAH4FBTA.mjs → chunk-VAHBCI6X.mjs} +1 -1
- package/dist/{chunk-QNQEK3OF.cjs → chunk-VIFPE5RG.cjs} +14 -14
- package/dist/{chunk-HTLCLOXQ.cjs → chunk-VO6NLTV4.cjs} +3 -3
- package/dist/{chunk-XN2MB4QZ.cjs → chunk-VQJYGZNX.cjs} +4 -4
- package/dist/{chunk-N25RPPO5.cjs → chunk-WAPQWAE6.cjs} +10 -10
- package/dist/{chunk-5PKDHKQP.cjs → chunk-WFVSAT7Y.cjs} +6 -4
- package/dist/{chunk-EA5PMJDU.mjs → chunk-WSY2JD7O.mjs} +7 -7
- package/dist/{chunk-HNAUK3SC.mjs → chunk-WVX3BUNJ.mjs} +40 -199
- package/dist/chunk-X3EFRVXY.mjs +12 -0
- package/dist/{chunk-UCQ52TJY.mjs → chunk-X3JNB2TB.mjs} +1 -1
- package/dist/{chunk-J5VCA45K.cjs → chunk-X5BCMLGP.cjs} +1 -1
- package/dist/{chunk-SSNN55Q6.cjs → chunk-XB24LZWI.cjs} +10 -10
- package/dist/{chunk-XXB37YET.cjs → chunk-XLRLSTJ6.cjs} +7 -7
- package/dist/{chunk-BNMHXVLL.mjs → chunk-XMHERKSE.mjs} +0 -15
- package/dist/chunk-XPMC4E2G.cjs +55 -0
- package/dist/{chunk-J27BZO67.mjs → chunk-XWC5NAHV.mjs} +23 -26
- package/dist/{chunk-DRFADSKY.mjs → chunk-XXXRRVY6.mjs} +4 -4
- package/dist/{chunk-C7425KDG.cjs → chunk-XYL4HSVC.cjs} +2 -2
- package/dist/{chunk-2SVJGOAX.mjs → chunk-Y3N5BFRJ.mjs} +3 -3
- package/dist/{chunk-ZSIGEHSE.cjs → chunk-Y7TLL65B.cjs} +21 -180
- package/dist/{chunk-PEHL3IZL.cjs → chunk-YB44NKC2.cjs} +2 -2
- package/dist/chunk-YKHRCY4T.cjs +73 -0
- package/dist/{chunk-RYDDUCNJ.mjs → chunk-YLNBWUVS.mjs} +1 -1
- package/dist/chunk-Z5A6CNV2.mjs +60 -0
- package/dist/chunk-Z64V4WZI.mjs +17 -0
- package/dist/{chunk-ACI52TCN.mjs → chunk-ZF3GX4O7.mjs} +1 -1
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/{client-plugins-DFDQUI9Q.d.ts → client-plugins-CFBEfVPO.d.ts} +34 -10
- package/dist/{client-plugins-BNBeyLMi.d.mts → client-plugins-cqy_dQd0.d.mts} +34 -10
- package/dist/client-plugins.d.mts +6 -6
- package/dist/client-plugins.d.ts +6 -6
- package/dist/client.cjs +13 -9
- package/dist/client.d.mts +11 -10
- package/dist/client.d.ts +11 -10
- package/dist/client.mjs +15 -11
- package/dist/client.react-server.mjs +1 -1
- package/dist/config-CnhyvvmT.d.mts +188 -0
- package/dist/config-CnhyvvmT.d.ts +188 -0
- package/dist/config.d.mts +6 -6
- package/dist/config.d.ts +6 -6
- package/dist/cron.cjs +4 -4
- package/dist/cron.mjs +3 -3
- package/dist/desktop.d.mts +7 -7
- package/dist/desktop.d.ts +7 -7
- package/dist/{dev-guard-YO6KPIOQ.mjs → dev-guard-4PFQNXQX.mjs} +2 -1
- package/dist/{dev-guard-PLHL6OTJ.cjs → dev-guard-YLO5DE3H.cjs} +4 -3
- package/dist/{devtools-BLKHPY3C.mjs → devtools-4MLL3RAL.mjs} +10 -10
- package/dist/{devtools-A37WWJZL.cjs → devtools-4ZLMD454.cjs} +12 -12
- package/dist/docs.cjs +14 -14
- package/dist/docs.d.mts +7 -7
- package/dist/docs.d.ts +7 -7
- package/dist/docs.mjs +13 -13
- package/dist/environment/vite.d.mts +1 -1
- package/dist/environment/vite.d.ts +1 -1
- package/dist/generate-route-types-DQP0cUzk.d.ts +33 -0
- package/dist/generate-route-types-TF5Wwtvz.d.mts +33 -0
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/image/server.cjs +3 -3
- package/dist/image/server.mjs +2 -2
- package/dist/image/sharp.cjs +10 -10
- package/dist/image/sharp.mjs +2 -2
- package/dist/{index-DBdiTkNc.d.ts → index-BYkNbeQV.d.mts} +2 -2
- package/dist/{index-CeJ9_s9p.d.mts → index-BxjN_UDZ.d.ts} +2 -2
- package/dist/{index-MocnSP3a.d.ts → index-D3l4tREW.d.ts} +2 -2
- package/dist/{index-Cl3akY5U.d.mts → index-DPUAPho_.d.mts} +2 -2
- package/dist/index.cjs +88 -79
- package/dist/index.d.mts +29 -45
- package/dist/index.d.ts +29 -45
- package/dist/index.mjs +92 -83
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +6 -6
- package/dist/integrations.d.ts +6 -6
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.d.mts +7 -7
- package/dist/internal/app-markdown-runtime.d.ts +7 -7
- package/dist/internal/build-runtime.cjs +47 -43
- package/dist/internal/build-runtime.d.mts +9 -9
- package/dist/internal/build-runtime.d.ts +9 -9
- package/dist/internal/build-runtime.mjs +46 -42
- package/dist/internal/cli-runtime.cjs +24 -23
- package/dist/internal/cli-runtime.mjs +24 -23
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +22 -3
- package/dist/internal/client-runtime.d.mts +46 -4
- package/dist/internal/client-runtime.d.ts +46 -4
- package/dist/internal/client-runtime.mjs +22 -3
- package/dist/internal/compression-runtime.d.mts +6 -6
- package/dist/internal/compression-runtime.d.ts +6 -6
- package/dist/internal/config-runtime.cjs +20 -13
- package/dist/internal/config-runtime.d.mts +259 -18
- package/dist/internal/config-runtime.d.ts +259 -18
- package/dist/internal/config-runtime.mjs +18 -11
- package/dist/internal/form-actions.cjs +5 -4
- package/dist/internal/form-actions.mjs +4 -3
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/islands-runtime.cjs +56 -0
- package/dist/internal/islands-runtime.mjs +57 -1
- package/dist/internal/metadata-image-runtime.cjs +3 -3
- package/dist/internal/metadata-image-runtime.mjs +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +18 -15
- package/dist/internal/production-runtime.d.mts +33 -20
- package/dist/internal/production-runtime.d.ts +33 -20
- package/dist/internal/production-runtime.mjs +20 -17
- package/dist/internal/server-fn-transform.cjs +13 -0
- package/dist/internal/server-fn-transform.d.mts +24 -0
- package/dist/internal/server-fn-transform.d.ts +24 -0
- package/dist/internal/server-fn-transform.mjs +13 -0
- package/dist/{layers-D9fbe-rz.d.ts → layers-CcS42OGR.d.mts} +1 -1
- package/dist/{layers-D9fbe-rz.d.mts → layers-CcS42OGR.d.ts} +1 -1
- package/dist/{lifecycle-DK06VuKP.d.ts → lifecycle-C2aLBOwu.d.mts} +1 -1
- package/dist/{lifecycle-DK06VuKP.d.mts → lifecycle-C2aLBOwu.d.ts} +1 -1
- package/dist/markdown.d.mts +6 -6
- package/dist/markdown.d.ts +6 -6
- package/dist/middleware.cjs +11 -11
- package/dist/middleware.d.mts +8 -8
- package/dist/middleware.d.ts +8 -8
- package/dist/middleware.mjs +10 -10
- package/dist/mobile.cjs +9 -0
- package/dist/mobile.d.mts +94 -0
- package/dist/mobile.d.ts +94 -0
- package/dist/mobile.mjs +9 -0
- package/dist/navigation-delegate-BU4xqdnw.d.ts +29 -0
- package/dist/navigation-delegate-DLhbfEN4.d.mts +29 -0
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +9 -9
- package/dist/navigation.d.ts +9 -9
- package/dist/navigation.mjs +4 -4
- package/dist/{nitro-BIXIKJZS.cjs → nitro-CK7M4RMY.cjs} +12 -12
- package/dist/{nitro-UT2J5A5D.mjs → nitro-R444AF3O.mjs} +8 -8
- package/dist/platform.cjs +2 -1
- package/dist/platform.d.mts +4 -3
- package/dist/platform.d.ts +4 -3
- package/dist/platform.mjs +2 -1
- package/dist/{plugin-4KYXV7BB.mjs → plugin-53SY5YBS.mjs} +1 -1
- package/dist/{plugin-WBANOZQM.cjs → plugin-HZIBL3DW.cjs} +2 -2
- package/dist/plugin.cjs +40 -36
- package/dist/plugin.d.mts +13 -8
- package/dist/plugin.d.ts +13 -8
- package/dist/plugin.mjs +39 -35
- package/dist/{production-runtime-B3qFFtKF.d.ts → production-runtime-C78A8YgK.d.ts} +3 -3
- package/dist/{production-runtime-DcD-GRAv.d.mts → production-runtime-DLA4J5WG.d.mts} +3 -3
- package/dist/production-vite-BQFAlG7n.d.mts +13 -0
- package/dist/production-vite-BQFAlG7n.d.ts +13 -0
- package/dist/{programmatic-routes-client-fD9f4XqU.d.ts → programmatic-routes-client-CBqkNhBy.d.ts} +2 -2
- package/dist/{programmatic-routes-client-DzbYGiZQ.d.mts → programmatic-routes-client-NpqGBn-i.d.mts} +2 -2
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan-DqJ51ufr.d.mts → render-plan-C9sWvDTv.d.mts} +1 -1
- package/dist/{render-plan-B6cfssrr.d.ts → render-plan-CrqcBbnV.d.ts} +1 -1
- package/dist/renderer-client.cjs +17 -12
- package/dist/renderer-client.d.mts +9 -8
- package/dist/renderer-client.d.ts +9 -8
- package/dist/renderer-client.mjs +10 -5
- package/dist/{request-jhvUMXRx.d.ts → request-BizeuqD7.d.ts} +1 -1
- package/dist/{request-UuAxHn8h.d.mts → request-WwB1-Uim.d.mts} +1 -1
- package/dist/request.d.mts +7 -7
- package/dist/request.d.ts +7 -7
- package/dist/{resolver-DC57A4vz.d.ts → resolver-CJ-D9nP-.d.ts} +1 -1
- package/dist/{resolver-C2G-3Tm6.d.mts → resolver-TDyZKgKI.d.mts} +1 -1
- package/dist/{route-rendering-Sn50cYZf.d.ts → route-rendering-BGhJN64l.d.ts} +1 -1
- package/dist/{route-rendering-Cou00t1X.d.mts → route-rendering-S6NFjnx4.d.mts} +1 -1
- package/dist/{router-0X9DCTcm.d.mts → router-BIheIy9G.d.mts} +1 -1
- package/dist/{router-xwLvi48p.d.ts → router-BUD_j2EL.d.ts} +1 -1
- package/dist/routes-8PT9cl60.d.ts +121 -0
- package/dist/routes-kEUsXHx3.d.mts +121 -0
- package/dist/routes.cjs +3 -2
- package/dist/routes.d.mts +7 -7
- package/dist/routes.d.ts +7 -7
- package/dist/routes.mjs +2 -1
- package/dist/{rsc-pipeline-VKHMABDJ.cjs → rsc-pipeline-JRGUZBYM.cjs} +18 -16
- package/dist/{rsc-pipeline-F6ZPH5MU.mjs → rsc-pipeline-OLAVIKI3.mjs} +17 -15
- package/dist/{runtime-B9HmxiZc.d.ts → runtime-C4CmlOOh.d.ts} +2 -2
- package/dist/{runtime-tkSXZiqO.d.ts → runtime-CWP-21hP.d.ts} +1 -1
- package/dist/{runtime-CMrsyChI.d.mts → runtime-CgJwe6H_.d.mts} +1 -1
- package/dist/{runtime-CCxTmGuf.d.mts → runtime-CihDZ2Rn.d.mts} +2 -2
- package/dist/runtime-G23RSLEK.cjs +1005 -0
- package/dist/runtime-OGCHDACZ.mjs +1005 -0
- package/dist/{schema-dev-notice-O3I5HLXK.mjs → schema-dev-notice-F6QYSOAI.mjs} +4 -4
- package/dist/{schema-dev-notice-Z73J3NJ6.cjs → schema-dev-notice-UU7DMZEU.cjs} +7 -7
- package/dist/{search-client-BTXL5XWD.mjs → search-client-OXH6GBNO.mjs} +5 -3
- package/dist/search-client-ZZLKVO5R.cjs +15 -0
- package/dist/server-action-security.cjs +3 -3
- package/dist/server-action-security.mjs +2 -2
- package/dist/server-fn-client.d.mts +0 -1
- package/dist/server-fn-client.d.ts +0 -1
- package/dist/server-fn.cjs +4 -4
- package/dist/server-fn.d.mts +0 -1
- package/dist/server-fn.d.ts +0 -1
- package/dist/server-fn.mjs +3 -3
- package/dist/server-plugins.cjs +1 -1
- package/dist/server-plugins.d.mts +7 -7
- package/dist/server-plugins.d.ts +7 -7
- package/dist/server-plugins.mjs +1 -1
- package/dist/server-query-client.cjs +4 -3
- package/dist/server-query-client.d.mts +0 -1
- package/dist/server-query-client.d.ts +0 -1
- package/dist/server-query-client.mjs +3 -2
- package/dist/server-query.cjs +5 -5
- package/dist/server-query.d.mts +0 -1
- package/dist/server-query.d.ts +0 -1
- package/dist/server-query.mjs +4 -4
- package/dist/server.cjs +104 -79
- package/dist/server.d.mts +22 -17
- package/dist/server.d.ts +22 -17
- package/dist/server.mjs +73 -48
- package/dist/{spa-router-B48EjsS1.d.mts → spa-router-CVOL0Vrq.d.mts} +4 -4
- package/dist/{spa-router-B06APnGK.d.ts → spa-router-Kytv4jSB.d.ts} +4 -4
- package/dist/testing.cjs +16 -15
- package/dist/testing.d.mts +6 -6
- package/dist/testing.d.ts +6 -6
- package/dist/testing.mjs +12 -11
- package/dist/{types--Wh02r5_.d.mts → types-C41ePjvP.d.mts} +1 -1
- package/dist/{types--Wh02r5_.d.ts → types-C41ePjvP.d.ts} +1 -1
- package/dist/{utils-C5fyK2tE.d.ts → utils-DbyXlzaj.d.ts} +1 -1
- package/dist/{utils-hyAwmcN6.d.mts → utils-Dsa1HZ7X.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +40 -36
- package/dist/vite.d.mts +9 -9
- package/dist/vite.d.ts +9 -9
- package/dist/vite.mjs +39 -35
- package/dist/{workflows-Df1C_7OG.d.mts → workflows-CRMzQZ3k.d.mts} +2 -1
- package/dist/{workflows-Df1C_7OG.d.ts → workflows-CRMzQZ3k.d.ts} +2 -1
- package/dist/workflows.cjs +5 -5
- package/dist/workflows.d.mts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.mjs +4 -4
- package/package.json +16 -3
- package/dist/base-path-leyrqXbX.d.mts +0 -19
- package/dist/base-path-leyrqXbX.d.ts +0 -19
- package/dist/cache-invalidation-BD0z_lfu.d.mts +0 -4
- package/dist/cache-invalidation-BD0z_lfu.d.ts +0 -4
- package/dist/chunk-45EUIICW.mjs +0 -15
- package/dist/chunk-MJ6IC4K2.mjs +0 -34
- package/dist/chunk-V7KTQR4C.cjs +0 -15
- package/dist/search-client-QCYAL6AY.cjs +0 -13
- package/dist/{chunk-5OJVKXFV.cjs → chunk-N7JQXQAV.cjs} +2 -2
- package/dist/{chunk-72KABRWN.mjs → chunk-WSDKXV4E.mjs} +4 -4
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import '../
|
|
1
|
+
import { aP as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins-cqy_dQd0.mjs';
|
|
2
|
+
export { bv as FarmDesktopDevSession, bw as FarmDesktopSetupOptions, bx as createFarmDesktopContext, by as getFarmDesktopOutputDirs, bz as installFarmDesktopSetup, O as loadConfig, Q as resolveConfig, S as resolveDeployConfig, bA as resolveFarmDesktopBlock, bB as resolveFarmDesktopConfig, bC as setFarmDesktopDevSession, bD as validateFarmDesktopConfig } from '../client-plugins-cqy_dQd0.mjs';
|
|
3
|
+
import { P as PlatformRouteFiles } from '../generate-route-types-TF5Wwtvz.mjs';
|
|
4
|
+
import { F as FarmMobileOS, f as FarmMobileNativeEngine, d as FarmMobileNativeAuto, l as FarmMobileScreen, c as FarmMobileContext, R as ResolvedFarmMobileConfig, o as FarmMobileBlockCache, a as FarmMobileBudgets, b as FarmMobileConfigInput, p as FarmMobileContextOptions, e as FarmMobileNativeConfig, g as FarmMobileNativeRouteConfig, h as FarmMobilePageConfig, i as FarmMobilePrefetch, j as FarmMobilePresentation, q as FarmMobileResolveOptions, k as FarmMobileRouteConfig, m as FarmMobileTab, n as FarmMobileUserConfig, r as ResolvedFarmMobileNativeConfig, s as createFarmMobileContext, t as resolveFarmMobileBlock, u as resolveFarmMobileConfig, v as resolveFarmMobileServer, w as validateFarmMobileConfig, x as validateFarmMobilePageConfig } from '../config-CnhyvvmT.mjs';
|
|
5
|
+
import { b as FarmMobileScreenSource, c as FarmMobileScreenDecision, F as FarmMobileRouteManifest, d as FarmMobilePageExport, e as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, f as FarmMobileScreens, g as FarmMobileScreensOptions, h as createFarmMobileModuleId, i as createFarmMobileRouteManifest, j as createFarmMobileRoutePattern, r as readFarmMobilePageExport, k as resolveFarmMobileScreens } from '../routes-kEUsXHx3.mjs';
|
|
6
|
+
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite-BQFAlG7n.mjs';
|
|
7
|
+
export { l as logger } from '../utils-Dsa1HZ7X.mjs';
|
|
8
|
+
import '../lifecycle-C2aLBOwu.mjs';
|
|
5
9
|
import '../route-2_yXC6gv.mjs';
|
|
6
10
|
import '../endpoint-BkMSCRf6.mjs';
|
|
7
11
|
import '../cache.mjs';
|
|
8
|
-
import '../cache-invalidation-BD0z_lfu.mjs';
|
|
9
12
|
import '../renderer.mjs';
|
|
10
13
|
import '../deployment.mjs';
|
|
11
14
|
import 'http';
|
|
@@ -21,26 +24,264 @@ import '@farming-labs/orm';
|
|
|
21
24
|
import '@farming-labs/docs';
|
|
22
25
|
import '../observability-B2363jB6.mjs';
|
|
23
26
|
import '@opentelemetry/api';
|
|
24
|
-
import '
|
|
27
|
+
import 'vite';
|
|
28
|
+
import '../workflows-CRMzQZ3k.mjs';
|
|
25
29
|
import '../cron.mjs';
|
|
26
30
|
import '../env.mjs';
|
|
27
31
|
import '../server-action-security.mjs';
|
|
28
|
-
import '../layers-
|
|
32
|
+
import '../layers-CcS42OGR.mjs';
|
|
29
33
|
import 'rolldown/utils';
|
|
30
34
|
import 'rolldown';
|
|
31
35
|
import '../image-config-CeDgNyX4.mjs';
|
|
32
|
-
import '../types
|
|
36
|
+
import '../types-C41ePjvP.mjs';
|
|
33
37
|
import '../types-DQnyD3VD.mjs';
|
|
34
38
|
import '../font.mjs';
|
|
35
39
|
|
|
36
|
-
type
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
type FarmUiNodeKind = "View" | "Text" | "Image" | "Pressable" | "TextInput" | "List";
|
|
41
|
+
/** A minimal, platform-neutral UI tree for a portable component. No emitter reads it yet. */
|
|
42
|
+
interface FarmUiNode {
|
|
43
|
+
kind: FarmUiNodeKind | "Component" | "Fragment";
|
|
44
|
+
/** The JSX tag it came from, such as `"button"` or `"Card"`. */
|
|
45
|
+
tag: string;
|
|
46
|
+
/** Static props, such as `href`, `src`, `alt`, `placeholder`. Expressions are `"{expr}"`. */
|
|
47
|
+
props?: Record<string, string | number | boolean>;
|
|
48
|
+
/** Tailwind classes and inline style keys that map to native style. */
|
|
49
|
+
style?: string[];
|
|
50
|
+
/** Event props, such as `["onClick"]`. */
|
|
51
|
+
events?: string[];
|
|
52
|
+
/** Static text children. */
|
|
53
|
+
text?: string;
|
|
54
|
+
children?: FarmUiNode[];
|
|
55
|
+
}
|
|
56
|
+
interface FarmMobileBlocker {
|
|
57
|
+
/** App-root-relative POSIX path. */
|
|
58
|
+
file: string;
|
|
59
|
+
line: number;
|
|
60
|
+
column: number;
|
|
61
|
+
rule: FarmMobileBlockerRule;
|
|
62
|
+
message: string;
|
|
63
|
+
}
|
|
64
|
+
type FarmMobileBlockerRule = "parse-error" | "markdown-page" | "programmatic-route" | "server-component" | "async-component" | "unmapped-element" | "dangerously-set-inner-html" | "content-editable" | "dom-ref" | "dom-event" | "spread-props" | "form-action" | "dynamic-component" | "runtime-class-name" | "class-name" | "runtime-style" | "style" | "browser-global" | "layout-effect" | "create-element" | "css-import" | "dom-package" | "unknown-package" | "unmapped-import" | "unresolved-import" | "dynamic-import" | "node-builtin";
|
|
65
|
+
type FarmMobileWin = "list" | "input" | "timer";
|
|
66
|
+
interface FarmMobileElementCounts {
|
|
67
|
+
/** JSX elements in the route's modules, intrinsic and imported components. */
|
|
68
|
+
total: number;
|
|
69
|
+
/** Elements with a native mapping. */
|
|
70
|
+
mapped: number;
|
|
71
|
+
byKind: Partial<Record<FarmUiNodeKind, number>>;
|
|
72
|
+
}
|
|
73
|
+
interface FarmMobileRouteAnalysis {
|
|
74
|
+
route: string;
|
|
75
|
+
/**
|
|
76
|
+
* `"port"`: portable and native would help (lists, input, timers). `"web"`: blocked, or
|
|
77
|
+
* portable with no win. Any doubt is web.
|
|
78
|
+
*/
|
|
79
|
+
decision: "port" | "web";
|
|
80
|
+
portable: boolean;
|
|
81
|
+
/** Every blocker, the page's module graph first, then its layouts'. */
|
|
82
|
+
blockers: FarmMobileBlocker[];
|
|
83
|
+
wins: FarmMobileWin[];
|
|
84
|
+
elements: FarmMobileElementCounts;
|
|
85
|
+
/** `mapped / total`, rounded, 100 for a route with no elements. */
|
|
86
|
+
portablePercent: number;
|
|
87
|
+
/** App modules in the route's graph, page and layouts. */
|
|
88
|
+
modules: number;
|
|
89
|
+
/** Byte size of `ir` as JSON. Portable routes only. */
|
|
90
|
+
irBytes?: number;
|
|
91
|
+
ir?: FarmMobileRouteIR;
|
|
92
|
+
}
|
|
93
|
+
interface FarmMobileRouteIR {
|
|
94
|
+
/** The page component, as `"<file>#default"`. */
|
|
95
|
+
root: string;
|
|
96
|
+
components: Record<string, FarmUiNode>;
|
|
97
|
+
}
|
|
98
|
+
interface FarmMobileAnalyzerStats {
|
|
99
|
+
/** Distinct app modules read. */
|
|
100
|
+
modules: number;
|
|
101
|
+
/** Modules parsed in this run; the rest came from the content-hash cache. */
|
|
102
|
+
parsed: number;
|
|
103
|
+
cached: number;
|
|
104
|
+
ms: number;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* `.farm/output/mobile/native-report.json` and its terminal table: what each route shows, and
|
|
109
|
+
* for routes the analyzer looked at, whether it could become a native screen and why not.
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
interface FarmMobileNativeReportRoute {
|
|
113
|
+
route: string;
|
|
114
|
+
/** What `farm-routes.json` shows for the route. */
|
|
115
|
+
screen: FarmMobileScreen;
|
|
116
|
+
source: FarmMobileScreenSource;
|
|
117
|
+
requested?: Exclude<FarmMobileScreen, "web">;
|
|
118
|
+
/** The page export or screen file that decided, app-root-relative. */
|
|
119
|
+
file?: string;
|
|
120
|
+
/** Present when the analyzer looked at the route. */
|
|
121
|
+
analysis?: Omit<FarmMobileRouteAnalysis, "route">;
|
|
122
|
+
}
|
|
123
|
+
interface FarmMobileNativeReport {
|
|
124
|
+
version: 1;
|
|
125
|
+
os: FarmMobileOS;
|
|
126
|
+
engine: FarmMobileNativeEngine;
|
|
127
|
+
auto: FarmMobileNativeAuto;
|
|
128
|
+
summary: {
|
|
129
|
+
routes: number;
|
|
130
|
+
analyzed: number;
|
|
131
|
+
/** Portable, and native would help. */
|
|
132
|
+
port: number;
|
|
133
|
+
/** Portable, but nothing native would improve. */
|
|
134
|
+
portableNoWin: number;
|
|
135
|
+
/** Analyzed and blocked. */
|
|
136
|
+
blocked: number;
|
|
137
|
+
/** Native or platform screens from files or config. */
|
|
138
|
+
native: number;
|
|
139
|
+
};
|
|
140
|
+
routes: FarmMobileNativeReportRoute[];
|
|
141
|
+
}
|
|
142
|
+
declare function createFarmMobileNativeReport(options: {
|
|
143
|
+
os: FarmMobileOS;
|
|
144
|
+
engine: FarmMobileNativeEngine;
|
|
145
|
+
auto: FarmMobileNativeAuto;
|
|
146
|
+
routes: readonly string[];
|
|
147
|
+
screens: Readonly<Record<string, FarmMobileScreenDecision>>;
|
|
148
|
+
analysis: Readonly<Record<string, FarmMobileRouteAnalysis>>;
|
|
149
|
+
}): FarmMobileNativeReport;
|
|
150
|
+
/** The report as a table, one row per route, with the first blocker of each web route. */
|
|
151
|
+
declare function formatFarmMobileNativeReport(report: FarmMobileNativeReport, options?: {
|
|
152
|
+
stats?: FarmMobileAnalyzerStats;
|
|
153
|
+
file?: string;
|
|
154
|
+
}): string;
|
|
155
|
+
|
|
156
|
+
/** An expected failure with its own fix; the CLI prints it without a stack. */
|
|
157
|
+
declare class FarmMobileError extends Error {
|
|
158
|
+
name: string;
|
|
159
|
+
}
|
|
160
|
+
/** Where mobile outputs go, relative to the app root. */
|
|
161
|
+
declare function getFarmMobileOutputDirs(distDir: string): {
|
|
162
|
+
root: string;
|
|
163
|
+
routes: string;
|
|
164
|
+
/** The `--mobile` client build (with its server), kept apart from the web build's output. */
|
|
165
|
+
www: string;
|
|
166
|
+
/** Generated native projects, one per OS. */
|
|
167
|
+
android: string;
|
|
168
|
+
ios: string;
|
|
169
|
+
/** Built apps, such as the debug APK. */
|
|
170
|
+
dist: string;
|
|
171
|
+
report: string;
|
|
172
|
+
analyzerCache: string;
|
|
173
|
+
};
|
|
174
|
+
interface FarmMobileAppOptions {
|
|
175
|
+
root?: string;
|
|
176
|
+
command?: FarmMobileContext["command"];
|
|
177
|
+
profile?: string;
|
|
178
|
+
os?: FarmMobileOS;
|
|
179
|
+
/**
|
|
180
|
+
* Server origin chosen by the CLI, such as the dev server's LAN URL for `farm dev --mobile`.
|
|
181
|
+
* Wins over `mobile.server`; checked by the same rules.
|
|
182
|
+
*/
|
|
183
|
+
server?: string;
|
|
184
|
+
/** farm.config as loaded; loaded from `root` when omitted. */
|
|
185
|
+
userConfig?: FarmUserConfig | null;
|
|
186
|
+
/** The resolved web config the build already has; resolved from `userConfig` when omitted. */
|
|
187
|
+
config?: ResolvedFarmConfig;
|
|
188
|
+
/** Shared across calls in one session so a function-valued block runs once per OS. */
|
|
189
|
+
cache?: FarmMobileBlockCache;
|
|
190
|
+
/**
|
|
191
|
+
* Run the build-time analyzer: `true` when `mobile.native.auto` is not `"off"` (what
|
|
192
|
+
* `farm build --mobile` passes), `"always"` for an explicit `--report`. Never in dev.
|
|
193
|
+
*/
|
|
194
|
+
analyze?: boolean | "always";
|
|
195
|
+
}
|
|
196
|
+
interface FarmMobileApp {
|
|
197
|
+
context: FarmMobileContext;
|
|
198
|
+
mobile: ResolvedFarmMobileConfig;
|
|
199
|
+
manifest: FarmMobileRouteManifest;
|
|
200
|
+
config: ResolvedFarmConfig;
|
|
201
|
+
/** What each page route shows on this OS, and what decided it. */
|
|
202
|
+
screens: Record<string, FarmMobileScreenDecision>;
|
|
203
|
+
/** Settings a higher-precedence source overrides, unused screen files, unported routes. */
|
|
204
|
+
warnings: string[];
|
|
205
|
+
/** Reserved `layout.{native,ios,android}.tsx` files per app directory, app-root-relative. */
|
|
206
|
+
nativeLayouts: Record<string, PlatformRouteFiles>;
|
|
207
|
+
/** Absolute page file per file-based page route. */
|
|
208
|
+
pageFiles: Map<string, string>;
|
|
209
|
+
/** The analyzer's report, when it ran. */
|
|
210
|
+
report?: FarmMobileNativeReport;
|
|
211
|
+
analyzerStats?: FarmMobileAnalyzerStats;
|
|
212
|
+
}
|
|
213
|
+
/** Resolve the `mobile` block for one OS against the app's routes. Writes nothing. */
|
|
214
|
+
declare function resolveFarmMobileApp(options?: FarmMobileAppOptions): Promise<FarmMobileApp>;
|
|
215
|
+
/**
|
|
216
|
+
* Resolve the block and write `.farm/output/mobile/farm-routes.json`, plus
|
|
217
|
+
* `native-report.json` when the analyzer ran (`analyze`). `table` is the report for a terminal.
|
|
218
|
+
*/
|
|
219
|
+
declare function generateFarmMobileRoutes(options?: FarmMobileAppOptions): Promise<FarmMobileApp & {
|
|
220
|
+
file: string;
|
|
221
|
+
reportFile?: string;
|
|
222
|
+
table?: string;
|
|
223
|
+
}>;
|
|
224
|
+
|
|
225
|
+
type __mobile_runtime_FarmMobileAnalyzerStats = FarmMobileAnalyzerStats;
|
|
226
|
+
type __mobile_runtime_FarmMobileApp = FarmMobileApp;
|
|
227
|
+
type __mobile_runtime_FarmMobileAppOptions = FarmMobileAppOptions;
|
|
228
|
+
declare const __mobile_runtime_FarmMobileBlockCache: typeof FarmMobileBlockCache;
|
|
229
|
+
type __mobile_runtime_FarmMobileBlocker = FarmMobileBlocker;
|
|
230
|
+
type __mobile_runtime_FarmMobileBlockerRule = FarmMobileBlockerRule;
|
|
231
|
+
declare const __mobile_runtime_FarmMobileBudgets: typeof FarmMobileBudgets;
|
|
232
|
+
declare const __mobile_runtime_FarmMobileConfigInput: typeof FarmMobileConfigInput;
|
|
233
|
+
declare const __mobile_runtime_FarmMobileContext: typeof FarmMobileContext;
|
|
234
|
+
declare const __mobile_runtime_FarmMobileContextOptions: typeof FarmMobileContextOptions;
|
|
235
|
+
type __mobile_runtime_FarmMobileError = FarmMobileError;
|
|
236
|
+
declare const __mobile_runtime_FarmMobileError: typeof FarmMobileError;
|
|
237
|
+
declare const __mobile_runtime_FarmMobileNativeAuto: typeof FarmMobileNativeAuto;
|
|
238
|
+
declare const __mobile_runtime_FarmMobileNativeConfig: typeof FarmMobileNativeConfig;
|
|
239
|
+
declare const __mobile_runtime_FarmMobileNativeEngine: typeof FarmMobileNativeEngine;
|
|
240
|
+
type __mobile_runtime_FarmMobileNativeReport = FarmMobileNativeReport;
|
|
241
|
+
type __mobile_runtime_FarmMobileNativeReportRoute = FarmMobileNativeReportRoute;
|
|
242
|
+
declare const __mobile_runtime_FarmMobileNativeRouteConfig: typeof FarmMobileNativeRouteConfig;
|
|
243
|
+
declare const __mobile_runtime_FarmMobileOS: typeof FarmMobileOS;
|
|
244
|
+
declare const __mobile_runtime_FarmMobilePageConfig: typeof FarmMobilePageConfig;
|
|
245
|
+
declare const __mobile_runtime_FarmMobilePageExport: typeof FarmMobilePageExport;
|
|
246
|
+
declare const __mobile_runtime_FarmMobilePrefetch: typeof FarmMobilePrefetch;
|
|
247
|
+
declare const __mobile_runtime_FarmMobilePresentation: typeof FarmMobilePresentation;
|
|
248
|
+
declare const __mobile_runtime_FarmMobileResolveOptions: typeof FarmMobileResolveOptions;
|
|
249
|
+
type __mobile_runtime_FarmMobileRouteAnalysis = FarmMobileRouteAnalysis;
|
|
250
|
+
declare const __mobile_runtime_FarmMobileRouteConfig: typeof FarmMobileRouteConfig;
|
|
251
|
+
declare const __mobile_runtime_FarmMobileRouteManifest: typeof FarmMobileRouteManifest;
|
|
252
|
+
declare const __mobile_runtime_FarmMobileRouteManifestOptions: typeof FarmMobileRouteManifestOptions;
|
|
253
|
+
declare const __mobile_runtime_FarmMobileRouteRule: typeof FarmMobileRouteRule;
|
|
254
|
+
declare const __mobile_runtime_FarmMobileScreen: typeof FarmMobileScreen;
|
|
255
|
+
declare const __mobile_runtime_FarmMobileScreenDecision: typeof FarmMobileScreenDecision;
|
|
256
|
+
declare const __mobile_runtime_FarmMobileScreenSource: typeof FarmMobileScreenSource;
|
|
257
|
+
declare const __mobile_runtime_FarmMobileScreens: typeof FarmMobileScreens;
|
|
258
|
+
declare const __mobile_runtime_FarmMobileScreensOptions: typeof FarmMobileScreensOptions;
|
|
259
|
+
declare const __mobile_runtime_FarmMobileTab: typeof FarmMobileTab;
|
|
260
|
+
declare const __mobile_runtime_FarmMobileUserConfig: typeof FarmMobileUserConfig;
|
|
261
|
+
type __mobile_runtime_FarmUiNode = FarmUiNode;
|
|
262
|
+
declare const __mobile_runtime_ResolvedFarmMobileConfig: typeof ResolvedFarmMobileConfig;
|
|
263
|
+
declare const __mobile_runtime_ResolvedFarmMobileNativeConfig: typeof ResolvedFarmMobileNativeConfig;
|
|
264
|
+
declare const __mobile_runtime_createFarmMobileContext: typeof createFarmMobileContext;
|
|
265
|
+
declare const __mobile_runtime_createFarmMobileModuleId: typeof createFarmMobileModuleId;
|
|
266
|
+
declare const __mobile_runtime_createFarmMobileNativeReport: typeof createFarmMobileNativeReport;
|
|
267
|
+
declare const __mobile_runtime_createFarmMobileRouteManifest: typeof createFarmMobileRouteManifest;
|
|
268
|
+
declare const __mobile_runtime_createFarmMobileRoutePattern: typeof createFarmMobileRoutePattern;
|
|
269
|
+
declare const __mobile_runtime_formatFarmMobileNativeReport: typeof formatFarmMobileNativeReport;
|
|
270
|
+
declare const __mobile_runtime_generateFarmMobileRoutes: typeof generateFarmMobileRoutes;
|
|
271
|
+
declare const __mobile_runtime_getFarmMobileOutputDirs: typeof getFarmMobileOutputDirs;
|
|
272
|
+
declare const __mobile_runtime_readFarmMobilePageExport: typeof readFarmMobilePageExport;
|
|
273
|
+
declare const __mobile_runtime_resolveFarmMobileApp: typeof resolveFarmMobileApp;
|
|
274
|
+
declare const __mobile_runtime_resolveFarmMobileBlock: typeof resolveFarmMobileBlock;
|
|
275
|
+
declare const __mobile_runtime_resolveFarmMobileConfig: typeof resolveFarmMobileConfig;
|
|
276
|
+
declare const __mobile_runtime_resolveFarmMobileScreens: typeof resolveFarmMobileScreens;
|
|
277
|
+
declare const __mobile_runtime_resolveFarmMobileServer: typeof resolveFarmMobileServer;
|
|
278
|
+
declare const __mobile_runtime_validateFarmMobileConfig: typeof validateFarmMobileConfig;
|
|
279
|
+
declare const __mobile_runtime_validateFarmMobilePageConfig: typeof validateFarmMobilePageConfig;
|
|
280
|
+
declare namespace __mobile_runtime {
|
|
281
|
+
export { type __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, type __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, type __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, __mobile_runtime_FarmMobileConfigInput as FarmMobileConfigInput, __mobile_runtime_FarmMobileContext as FarmMobileContext, __mobile_runtime_FarmMobileContextOptions as FarmMobileContextOptions, __mobile_runtime_FarmMobileError as FarmMobileError, __mobile_runtime_FarmMobileNativeAuto as FarmMobileNativeAuto, __mobile_runtime_FarmMobileNativeConfig as FarmMobileNativeConfig, __mobile_runtime_FarmMobileNativeEngine as FarmMobileNativeEngine, type __mobile_runtime_FarmMobileNativeReport as FarmMobileNativeReport, type __mobile_runtime_FarmMobileNativeReportRoute as FarmMobileNativeReportRoute, __mobile_runtime_FarmMobileNativeRouteConfig as FarmMobileNativeRouteConfig, __mobile_runtime_FarmMobileOS as FarmMobileOS, __mobile_runtime_FarmMobilePageConfig as FarmMobilePageConfig, __mobile_runtime_FarmMobilePageExport as FarmMobilePageExport, __mobile_runtime_FarmMobilePrefetch as FarmMobilePrefetch, __mobile_runtime_FarmMobilePresentation as FarmMobilePresentation, __mobile_runtime_FarmMobileResolveOptions as FarmMobileResolveOptions, type __mobile_runtime_FarmMobileRouteAnalysis as FarmMobileRouteAnalysis, __mobile_runtime_FarmMobileRouteConfig as FarmMobileRouteConfig, __mobile_runtime_FarmMobileRouteManifest as FarmMobileRouteManifest, __mobile_runtime_FarmMobileRouteManifestOptions as FarmMobileRouteManifestOptions, __mobile_runtime_FarmMobileRouteRule as FarmMobileRouteRule, __mobile_runtime_FarmMobileScreen as FarmMobileScreen, __mobile_runtime_FarmMobileScreenDecision as FarmMobileScreenDecision, __mobile_runtime_FarmMobileScreenSource as FarmMobileScreenSource, __mobile_runtime_FarmMobileScreens as FarmMobileScreens, __mobile_runtime_FarmMobileScreensOptions as FarmMobileScreensOptions, __mobile_runtime_FarmMobileTab as FarmMobileTab, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, type __mobile_runtime_FarmUiNode as FarmUiNode, __mobile_runtime_ResolvedFarmMobileConfig as ResolvedFarmMobileConfig, __mobile_runtime_ResolvedFarmMobileNativeConfig as ResolvedFarmMobileNativeConfig, __mobile_runtime_createFarmMobileContext as createFarmMobileContext, __mobile_runtime_createFarmMobileModuleId as createFarmMobileModuleId, __mobile_runtime_createFarmMobileNativeReport as createFarmMobileNativeReport, __mobile_runtime_createFarmMobileRouteManifest as createFarmMobileRouteManifest, __mobile_runtime_createFarmMobileRoutePattern as createFarmMobileRoutePattern, __mobile_runtime_formatFarmMobileNativeReport as formatFarmMobileNativeReport, __mobile_runtime_generateFarmMobileRoutes as generateFarmMobileRoutes, __mobile_runtime_getFarmMobileOutputDirs as getFarmMobileOutputDirs, __mobile_runtime_readFarmMobilePageExport as readFarmMobilePageExport, __mobile_runtime_resolveFarmMobileApp as resolveFarmMobileApp, __mobile_runtime_resolveFarmMobileBlock as resolveFarmMobileBlock, __mobile_runtime_resolveFarmMobileConfig as resolveFarmMobileConfig, __mobile_runtime_resolveFarmMobileScreens as resolveFarmMobileScreens, __mobile_runtime_resolveFarmMobileServer as resolveFarmMobileServer, __mobile_runtime_validateFarmMobileConfig as validateFarmMobileConfig, __mobile_runtime_validateFarmMobilePageConfig as validateFarmMobilePageConfig };
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** The `mobile` block and its route manifest, loaded only by mobile commands. */
|
|
285
|
+
declare function loadFarmMobileRuntime(): Promise<typeof __mobile_runtime>;
|
|
45
286
|
|
|
46
|
-
export {
|
|
287
|
+
export { loadFarmMobileRuntime };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import '../
|
|
1
|
+
import { aP as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins-CFBEfVPO.js';
|
|
2
|
+
export { bv as FarmDesktopDevSession, bw as FarmDesktopSetupOptions, bx as createFarmDesktopContext, by as getFarmDesktopOutputDirs, bz as installFarmDesktopSetup, O as loadConfig, Q as resolveConfig, S as resolveDeployConfig, bA as resolveFarmDesktopBlock, bB as resolveFarmDesktopConfig, bC as setFarmDesktopDevSession, bD as validateFarmDesktopConfig } from '../client-plugins-CFBEfVPO.js';
|
|
3
|
+
import { P as PlatformRouteFiles } from '../generate-route-types-DQP0cUzk.js';
|
|
4
|
+
import { F as FarmMobileOS, f as FarmMobileNativeEngine, d as FarmMobileNativeAuto, l as FarmMobileScreen, c as FarmMobileContext, R as ResolvedFarmMobileConfig, o as FarmMobileBlockCache, a as FarmMobileBudgets, b as FarmMobileConfigInput, p as FarmMobileContextOptions, e as FarmMobileNativeConfig, g as FarmMobileNativeRouteConfig, h as FarmMobilePageConfig, i as FarmMobilePrefetch, j as FarmMobilePresentation, q as FarmMobileResolveOptions, k as FarmMobileRouteConfig, m as FarmMobileTab, n as FarmMobileUserConfig, r as ResolvedFarmMobileNativeConfig, s as createFarmMobileContext, t as resolveFarmMobileBlock, u as resolveFarmMobileConfig, v as resolveFarmMobileServer, w as validateFarmMobileConfig, x as validateFarmMobilePageConfig } from '../config-CnhyvvmT.js';
|
|
5
|
+
import { b as FarmMobileScreenSource, c as FarmMobileScreenDecision, F as FarmMobileRouteManifest, d as FarmMobilePageExport, e as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, f as FarmMobileScreens, g as FarmMobileScreensOptions, h as createFarmMobileModuleId, i as createFarmMobileRouteManifest, j as createFarmMobileRoutePattern, r as readFarmMobilePageExport, k as resolveFarmMobileScreens } from '../routes-8PT9cl60.js';
|
|
6
|
+
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite-BQFAlG7n.js';
|
|
7
|
+
export { l as logger } from '../utils-DbyXlzaj.js';
|
|
8
|
+
import '../lifecycle-C2aLBOwu.js';
|
|
5
9
|
import '../route-DFhZj6jN.js';
|
|
6
10
|
import '../endpoint-BgHn0lhl.js';
|
|
7
11
|
import '../cache.js';
|
|
8
|
-
import '../cache-invalidation-BD0z_lfu.js';
|
|
9
12
|
import '../renderer.js';
|
|
10
13
|
import '../deployment.js';
|
|
11
14
|
import 'http';
|
|
@@ -21,26 +24,264 @@ import '@farming-labs/orm';
|
|
|
21
24
|
import '@farming-labs/docs';
|
|
22
25
|
import '../observability-B2363jB6.js';
|
|
23
26
|
import '@opentelemetry/api';
|
|
24
|
-
import '
|
|
27
|
+
import 'vite';
|
|
28
|
+
import '../workflows-CRMzQZ3k.js';
|
|
25
29
|
import '../cron.js';
|
|
26
30
|
import '../env.js';
|
|
27
31
|
import '../server-action-security.js';
|
|
28
|
-
import '../layers-
|
|
32
|
+
import '../layers-CcS42OGR.js';
|
|
29
33
|
import 'rolldown/utils';
|
|
30
34
|
import 'rolldown';
|
|
31
35
|
import '../image-config-CeDgNyX4.js';
|
|
32
|
-
import '../types
|
|
36
|
+
import '../types-C41ePjvP.js';
|
|
33
37
|
import '../types-DQnyD3VD.js';
|
|
34
38
|
import '../font.js';
|
|
35
39
|
|
|
36
|
-
type
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
type FarmUiNodeKind = "View" | "Text" | "Image" | "Pressable" | "TextInput" | "List";
|
|
41
|
+
/** A minimal, platform-neutral UI tree for a portable component. No emitter reads it yet. */
|
|
42
|
+
interface FarmUiNode {
|
|
43
|
+
kind: FarmUiNodeKind | "Component" | "Fragment";
|
|
44
|
+
/** The JSX tag it came from, such as `"button"` or `"Card"`. */
|
|
45
|
+
tag: string;
|
|
46
|
+
/** Static props, such as `href`, `src`, `alt`, `placeholder`. Expressions are `"{expr}"`. */
|
|
47
|
+
props?: Record<string, string | number | boolean>;
|
|
48
|
+
/** Tailwind classes and inline style keys that map to native style. */
|
|
49
|
+
style?: string[];
|
|
50
|
+
/** Event props, such as `["onClick"]`. */
|
|
51
|
+
events?: string[];
|
|
52
|
+
/** Static text children. */
|
|
53
|
+
text?: string;
|
|
54
|
+
children?: FarmUiNode[];
|
|
55
|
+
}
|
|
56
|
+
interface FarmMobileBlocker {
|
|
57
|
+
/** App-root-relative POSIX path. */
|
|
58
|
+
file: string;
|
|
59
|
+
line: number;
|
|
60
|
+
column: number;
|
|
61
|
+
rule: FarmMobileBlockerRule;
|
|
62
|
+
message: string;
|
|
63
|
+
}
|
|
64
|
+
type FarmMobileBlockerRule = "parse-error" | "markdown-page" | "programmatic-route" | "server-component" | "async-component" | "unmapped-element" | "dangerously-set-inner-html" | "content-editable" | "dom-ref" | "dom-event" | "spread-props" | "form-action" | "dynamic-component" | "runtime-class-name" | "class-name" | "runtime-style" | "style" | "browser-global" | "layout-effect" | "create-element" | "css-import" | "dom-package" | "unknown-package" | "unmapped-import" | "unresolved-import" | "dynamic-import" | "node-builtin";
|
|
65
|
+
type FarmMobileWin = "list" | "input" | "timer";
|
|
66
|
+
interface FarmMobileElementCounts {
|
|
67
|
+
/** JSX elements in the route's modules, intrinsic and imported components. */
|
|
68
|
+
total: number;
|
|
69
|
+
/** Elements with a native mapping. */
|
|
70
|
+
mapped: number;
|
|
71
|
+
byKind: Partial<Record<FarmUiNodeKind, number>>;
|
|
72
|
+
}
|
|
73
|
+
interface FarmMobileRouteAnalysis {
|
|
74
|
+
route: string;
|
|
75
|
+
/**
|
|
76
|
+
* `"port"`: portable and native would help (lists, input, timers). `"web"`: blocked, or
|
|
77
|
+
* portable with no win. Any doubt is web.
|
|
78
|
+
*/
|
|
79
|
+
decision: "port" | "web";
|
|
80
|
+
portable: boolean;
|
|
81
|
+
/** Every blocker, the page's module graph first, then its layouts'. */
|
|
82
|
+
blockers: FarmMobileBlocker[];
|
|
83
|
+
wins: FarmMobileWin[];
|
|
84
|
+
elements: FarmMobileElementCounts;
|
|
85
|
+
/** `mapped / total`, rounded, 100 for a route with no elements. */
|
|
86
|
+
portablePercent: number;
|
|
87
|
+
/** App modules in the route's graph, page and layouts. */
|
|
88
|
+
modules: number;
|
|
89
|
+
/** Byte size of `ir` as JSON. Portable routes only. */
|
|
90
|
+
irBytes?: number;
|
|
91
|
+
ir?: FarmMobileRouteIR;
|
|
92
|
+
}
|
|
93
|
+
interface FarmMobileRouteIR {
|
|
94
|
+
/** The page component, as `"<file>#default"`. */
|
|
95
|
+
root: string;
|
|
96
|
+
components: Record<string, FarmUiNode>;
|
|
97
|
+
}
|
|
98
|
+
interface FarmMobileAnalyzerStats {
|
|
99
|
+
/** Distinct app modules read. */
|
|
100
|
+
modules: number;
|
|
101
|
+
/** Modules parsed in this run; the rest came from the content-hash cache. */
|
|
102
|
+
parsed: number;
|
|
103
|
+
cached: number;
|
|
104
|
+
ms: number;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* `.farm/output/mobile/native-report.json` and its terminal table: what each route shows, and
|
|
109
|
+
* for routes the analyzer looked at, whether it could become a native screen and why not.
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
interface FarmMobileNativeReportRoute {
|
|
113
|
+
route: string;
|
|
114
|
+
/** What `farm-routes.json` shows for the route. */
|
|
115
|
+
screen: FarmMobileScreen;
|
|
116
|
+
source: FarmMobileScreenSource;
|
|
117
|
+
requested?: Exclude<FarmMobileScreen, "web">;
|
|
118
|
+
/** The page export or screen file that decided, app-root-relative. */
|
|
119
|
+
file?: string;
|
|
120
|
+
/** Present when the analyzer looked at the route. */
|
|
121
|
+
analysis?: Omit<FarmMobileRouteAnalysis, "route">;
|
|
122
|
+
}
|
|
123
|
+
interface FarmMobileNativeReport {
|
|
124
|
+
version: 1;
|
|
125
|
+
os: FarmMobileOS;
|
|
126
|
+
engine: FarmMobileNativeEngine;
|
|
127
|
+
auto: FarmMobileNativeAuto;
|
|
128
|
+
summary: {
|
|
129
|
+
routes: number;
|
|
130
|
+
analyzed: number;
|
|
131
|
+
/** Portable, and native would help. */
|
|
132
|
+
port: number;
|
|
133
|
+
/** Portable, but nothing native would improve. */
|
|
134
|
+
portableNoWin: number;
|
|
135
|
+
/** Analyzed and blocked. */
|
|
136
|
+
blocked: number;
|
|
137
|
+
/** Native or platform screens from files or config. */
|
|
138
|
+
native: number;
|
|
139
|
+
};
|
|
140
|
+
routes: FarmMobileNativeReportRoute[];
|
|
141
|
+
}
|
|
142
|
+
declare function createFarmMobileNativeReport(options: {
|
|
143
|
+
os: FarmMobileOS;
|
|
144
|
+
engine: FarmMobileNativeEngine;
|
|
145
|
+
auto: FarmMobileNativeAuto;
|
|
146
|
+
routes: readonly string[];
|
|
147
|
+
screens: Readonly<Record<string, FarmMobileScreenDecision>>;
|
|
148
|
+
analysis: Readonly<Record<string, FarmMobileRouteAnalysis>>;
|
|
149
|
+
}): FarmMobileNativeReport;
|
|
150
|
+
/** The report as a table, one row per route, with the first blocker of each web route. */
|
|
151
|
+
declare function formatFarmMobileNativeReport(report: FarmMobileNativeReport, options?: {
|
|
152
|
+
stats?: FarmMobileAnalyzerStats;
|
|
153
|
+
file?: string;
|
|
154
|
+
}): string;
|
|
155
|
+
|
|
156
|
+
/** An expected failure with its own fix; the CLI prints it without a stack. */
|
|
157
|
+
declare class FarmMobileError extends Error {
|
|
158
|
+
name: string;
|
|
159
|
+
}
|
|
160
|
+
/** Where mobile outputs go, relative to the app root. */
|
|
161
|
+
declare function getFarmMobileOutputDirs(distDir: string): {
|
|
162
|
+
root: string;
|
|
163
|
+
routes: string;
|
|
164
|
+
/** The `--mobile` client build (with its server), kept apart from the web build's output. */
|
|
165
|
+
www: string;
|
|
166
|
+
/** Generated native projects, one per OS. */
|
|
167
|
+
android: string;
|
|
168
|
+
ios: string;
|
|
169
|
+
/** Built apps, such as the debug APK. */
|
|
170
|
+
dist: string;
|
|
171
|
+
report: string;
|
|
172
|
+
analyzerCache: string;
|
|
173
|
+
};
|
|
174
|
+
interface FarmMobileAppOptions {
|
|
175
|
+
root?: string;
|
|
176
|
+
command?: FarmMobileContext["command"];
|
|
177
|
+
profile?: string;
|
|
178
|
+
os?: FarmMobileOS;
|
|
179
|
+
/**
|
|
180
|
+
* Server origin chosen by the CLI, such as the dev server's LAN URL for `farm dev --mobile`.
|
|
181
|
+
* Wins over `mobile.server`; checked by the same rules.
|
|
182
|
+
*/
|
|
183
|
+
server?: string;
|
|
184
|
+
/** farm.config as loaded; loaded from `root` when omitted. */
|
|
185
|
+
userConfig?: FarmUserConfig | null;
|
|
186
|
+
/** The resolved web config the build already has; resolved from `userConfig` when omitted. */
|
|
187
|
+
config?: ResolvedFarmConfig;
|
|
188
|
+
/** Shared across calls in one session so a function-valued block runs once per OS. */
|
|
189
|
+
cache?: FarmMobileBlockCache;
|
|
190
|
+
/**
|
|
191
|
+
* Run the build-time analyzer: `true` when `mobile.native.auto` is not `"off"` (what
|
|
192
|
+
* `farm build --mobile` passes), `"always"` for an explicit `--report`. Never in dev.
|
|
193
|
+
*/
|
|
194
|
+
analyze?: boolean | "always";
|
|
195
|
+
}
|
|
196
|
+
interface FarmMobileApp {
|
|
197
|
+
context: FarmMobileContext;
|
|
198
|
+
mobile: ResolvedFarmMobileConfig;
|
|
199
|
+
manifest: FarmMobileRouteManifest;
|
|
200
|
+
config: ResolvedFarmConfig;
|
|
201
|
+
/** What each page route shows on this OS, and what decided it. */
|
|
202
|
+
screens: Record<string, FarmMobileScreenDecision>;
|
|
203
|
+
/** Settings a higher-precedence source overrides, unused screen files, unported routes. */
|
|
204
|
+
warnings: string[];
|
|
205
|
+
/** Reserved `layout.{native,ios,android}.tsx` files per app directory, app-root-relative. */
|
|
206
|
+
nativeLayouts: Record<string, PlatformRouteFiles>;
|
|
207
|
+
/** Absolute page file per file-based page route. */
|
|
208
|
+
pageFiles: Map<string, string>;
|
|
209
|
+
/** The analyzer's report, when it ran. */
|
|
210
|
+
report?: FarmMobileNativeReport;
|
|
211
|
+
analyzerStats?: FarmMobileAnalyzerStats;
|
|
212
|
+
}
|
|
213
|
+
/** Resolve the `mobile` block for one OS against the app's routes. Writes nothing. */
|
|
214
|
+
declare function resolveFarmMobileApp(options?: FarmMobileAppOptions): Promise<FarmMobileApp>;
|
|
215
|
+
/**
|
|
216
|
+
* Resolve the block and write `.farm/output/mobile/farm-routes.json`, plus
|
|
217
|
+
* `native-report.json` when the analyzer ran (`analyze`). `table` is the report for a terminal.
|
|
218
|
+
*/
|
|
219
|
+
declare function generateFarmMobileRoutes(options?: FarmMobileAppOptions): Promise<FarmMobileApp & {
|
|
220
|
+
file: string;
|
|
221
|
+
reportFile?: string;
|
|
222
|
+
table?: string;
|
|
223
|
+
}>;
|
|
224
|
+
|
|
225
|
+
type __mobile_runtime_FarmMobileAnalyzerStats = FarmMobileAnalyzerStats;
|
|
226
|
+
type __mobile_runtime_FarmMobileApp = FarmMobileApp;
|
|
227
|
+
type __mobile_runtime_FarmMobileAppOptions = FarmMobileAppOptions;
|
|
228
|
+
declare const __mobile_runtime_FarmMobileBlockCache: typeof FarmMobileBlockCache;
|
|
229
|
+
type __mobile_runtime_FarmMobileBlocker = FarmMobileBlocker;
|
|
230
|
+
type __mobile_runtime_FarmMobileBlockerRule = FarmMobileBlockerRule;
|
|
231
|
+
declare const __mobile_runtime_FarmMobileBudgets: typeof FarmMobileBudgets;
|
|
232
|
+
declare const __mobile_runtime_FarmMobileConfigInput: typeof FarmMobileConfigInput;
|
|
233
|
+
declare const __mobile_runtime_FarmMobileContext: typeof FarmMobileContext;
|
|
234
|
+
declare const __mobile_runtime_FarmMobileContextOptions: typeof FarmMobileContextOptions;
|
|
235
|
+
type __mobile_runtime_FarmMobileError = FarmMobileError;
|
|
236
|
+
declare const __mobile_runtime_FarmMobileError: typeof FarmMobileError;
|
|
237
|
+
declare const __mobile_runtime_FarmMobileNativeAuto: typeof FarmMobileNativeAuto;
|
|
238
|
+
declare const __mobile_runtime_FarmMobileNativeConfig: typeof FarmMobileNativeConfig;
|
|
239
|
+
declare const __mobile_runtime_FarmMobileNativeEngine: typeof FarmMobileNativeEngine;
|
|
240
|
+
type __mobile_runtime_FarmMobileNativeReport = FarmMobileNativeReport;
|
|
241
|
+
type __mobile_runtime_FarmMobileNativeReportRoute = FarmMobileNativeReportRoute;
|
|
242
|
+
declare const __mobile_runtime_FarmMobileNativeRouteConfig: typeof FarmMobileNativeRouteConfig;
|
|
243
|
+
declare const __mobile_runtime_FarmMobileOS: typeof FarmMobileOS;
|
|
244
|
+
declare const __mobile_runtime_FarmMobilePageConfig: typeof FarmMobilePageConfig;
|
|
245
|
+
declare const __mobile_runtime_FarmMobilePageExport: typeof FarmMobilePageExport;
|
|
246
|
+
declare const __mobile_runtime_FarmMobilePrefetch: typeof FarmMobilePrefetch;
|
|
247
|
+
declare const __mobile_runtime_FarmMobilePresentation: typeof FarmMobilePresentation;
|
|
248
|
+
declare const __mobile_runtime_FarmMobileResolveOptions: typeof FarmMobileResolveOptions;
|
|
249
|
+
type __mobile_runtime_FarmMobileRouteAnalysis = FarmMobileRouteAnalysis;
|
|
250
|
+
declare const __mobile_runtime_FarmMobileRouteConfig: typeof FarmMobileRouteConfig;
|
|
251
|
+
declare const __mobile_runtime_FarmMobileRouteManifest: typeof FarmMobileRouteManifest;
|
|
252
|
+
declare const __mobile_runtime_FarmMobileRouteManifestOptions: typeof FarmMobileRouteManifestOptions;
|
|
253
|
+
declare const __mobile_runtime_FarmMobileRouteRule: typeof FarmMobileRouteRule;
|
|
254
|
+
declare const __mobile_runtime_FarmMobileScreen: typeof FarmMobileScreen;
|
|
255
|
+
declare const __mobile_runtime_FarmMobileScreenDecision: typeof FarmMobileScreenDecision;
|
|
256
|
+
declare const __mobile_runtime_FarmMobileScreenSource: typeof FarmMobileScreenSource;
|
|
257
|
+
declare const __mobile_runtime_FarmMobileScreens: typeof FarmMobileScreens;
|
|
258
|
+
declare const __mobile_runtime_FarmMobileScreensOptions: typeof FarmMobileScreensOptions;
|
|
259
|
+
declare const __mobile_runtime_FarmMobileTab: typeof FarmMobileTab;
|
|
260
|
+
declare const __mobile_runtime_FarmMobileUserConfig: typeof FarmMobileUserConfig;
|
|
261
|
+
type __mobile_runtime_FarmUiNode = FarmUiNode;
|
|
262
|
+
declare const __mobile_runtime_ResolvedFarmMobileConfig: typeof ResolvedFarmMobileConfig;
|
|
263
|
+
declare const __mobile_runtime_ResolvedFarmMobileNativeConfig: typeof ResolvedFarmMobileNativeConfig;
|
|
264
|
+
declare const __mobile_runtime_createFarmMobileContext: typeof createFarmMobileContext;
|
|
265
|
+
declare const __mobile_runtime_createFarmMobileModuleId: typeof createFarmMobileModuleId;
|
|
266
|
+
declare const __mobile_runtime_createFarmMobileNativeReport: typeof createFarmMobileNativeReport;
|
|
267
|
+
declare const __mobile_runtime_createFarmMobileRouteManifest: typeof createFarmMobileRouteManifest;
|
|
268
|
+
declare const __mobile_runtime_createFarmMobileRoutePattern: typeof createFarmMobileRoutePattern;
|
|
269
|
+
declare const __mobile_runtime_formatFarmMobileNativeReport: typeof formatFarmMobileNativeReport;
|
|
270
|
+
declare const __mobile_runtime_generateFarmMobileRoutes: typeof generateFarmMobileRoutes;
|
|
271
|
+
declare const __mobile_runtime_getFarmMobileOutputDirs: typeof getFarmMobileOutputDirs;
|
|
272
|
+
declare const __mobile_runtime_readFarmMobilePageExport: typeof readFarmMobilePageExport;
|
|
273
|
+
declare const __mobile_runtime_resolveFarmMobileApp: typeof resolveFarmMobileApp;
|
|
274
|
+
declare const __mobile_runtime_resolveFarmMobileBlock: typeof resolveFarmMobileBlock;
|
|
275
|
+
declare const __mobile_runtime_resolveFarmMobileConfig: typeof resolveFarmMobileConfig;
|
|
276
|
+
declare const __mobile_runtime_resolveFarmMobileScreens: typeof resolveFarmMobileScreens;
|
|
277
|
+
declare const __mobile_runtime_resolveFarmMobileServer: typeof resolveFarmMobileServer;
|
|
278
|
+
declare const __mobile_runtime_validateFarmMobileConfig: typeof validateFarmMobileConfig;
|
|
279
|
+
declare const __mobile_runtime_validateFarmMobilePageConfig: typeof validateFarmMobilePageConfig;
|
|
280
|
+
declare namespace __mobile_runtime {
|
|
281
|
+
export { type __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, type __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, type __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, __mobile_runtime_FarmMobileConfigInput as FarmMobileConfigInput, __mobile_runtime_FarmMobileContext as FarmMobileContext, __mobile_runtime_FarmMobileContextOptions as FarmMobileContextOptions, __mobile_runtime_FarmMobileError as FarmMobileError, __mobile_runtime_FarmMobileNativeAuto as FarmMobileNativeAuto, __mobile_runtime_FarmMobileNativeConfig as FarmMobileNativeConfig, __mobile_runtime_FarmMobileNativeEngine as FarmMobileNativeEngine, type __mobile_runtime_FarmMobileNativeReport as FarmMobileNativeReport, type __mobile_runtime_FarmMobileNativeReportRoute as FarmMobileNativeReportRoute, __mobile_runtime_FarmMobileNativeRouteConfig as FarmMobileNativeRouteConfig, __mobile_runtime_FarmMobileOS as FarmMobileOS, __mobile_runtime_FarmMobilePageConfig as FarmMobilePageConfig, __mobile_runtime_FarmMobilePageExport as FarmMobilePageExport, __mobile_runtime_FarmMobilePrefetch as FarmMobilePrefetch, __mobile_runtime_FarmMobilePresentation as FarmMobilePresentation, __mobile_runtime_FarmMobileResolveOptions as FarmMobileResolveOptions, type __mobile_runtime_FarmMobileRouteAnalysis as FarmMobileRouteAnalysis, __mobile_runtime_FarmMobileRouteConfig as FarmMobileRouteConfig, __mobile_runtime_FarmMobileRouteManifest as FarmMobileRouteManifest, __mobile_runtime_FarmMobileRouteManifestOptions as FarmMobileRouteManifestOptions, __mobile_runtime_FarmMobileRouteRule as FarmMobileRouteRule, __mobile_runtime_FarmMobileScreen as FarmMobileScreen, __mobile_runtime_FarmMobileScreenDecision as FarmMobileScreenDecision, __mobile_runtime_FarmMobileScreenSource as FarmMobileScreenSource, __mobile_runtime_FarmMobileScreens as FarmMobileScreens, __mobile_runtime_FarmMobileScreensOptions as FarmMobileScreensOptions, __mobile_runtime_FarmMobileTab as FarmMobileTab, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, type __mobile_runtime_FarmUiNode as FarmUiNode, __mobile_runtime_ResolvedFarmMobileConfig as ResolvedFarmMobileConfig, __mobile_runtime_ResolvedFarmMobileNativeConfig as ResolvedFarmMobileNativeConfig, __mobile_runtime_createFarmMobileContext as createFarmMobileContext, __mobile_runtime_createFarmMobileModuleId as createFarmMobileModuleId, __mobile_runtime_createFarmMobileNativeReport as createFarmMobileNativeReport, __mobile_runtime_createFarmMobileRouteManifest as createFarmMobileRouteManifest, __mobile_runtime_createFarmMobileRoutePattern as createFarmMobileRoutePattern, __mobile_runtime_formatFarmMobileNativeReport as formatFarmMobileNativeReport, __mobile_runtime_generateFarmMobileRoutes as generateFarmMobileRoutes, __mobile_runtime_getFarmMobileOutputDirs as getFarmMobileOutputDirs, __mobile_runtime_readFarmMobilePageExport as readFarmMobilePageExport, __mobile_runtime_resolveFarmMobileApp as resolveFarmMobileApp, __mobile_runtime_resolveFarmMobileBlock as resolveFarmMobileBlock, __mobile_runtime_resolveFarmMobileConfig as resolveFarmMobileConfig, __mobile_runtime_resolveFarmMobileScreens as resolveFarmMobileScreens, __mobile_runtime_resolveFarmMobileServer as resolveFarmMobileServer, __mobile_runtime_validateFarmMobileConfig as validateFarmMobileConfig, __mobile_runtime_validateFarmMobilePageConfig as validateFarmMobilePageConfig };
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** The `mobile` block and its route manifest, loaded only by mobile commands. */
|
|
285
|
+
declare function loadFarmMobileRuntime(): Promise<typeof __mobile_runtime>;
|
|
45
286
|
|
|
46
|
-
export {
|
|
287
|
+
export { loadFarmMobileRuntime };
|