@farm.js/core 0.1.51-beta.3 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp-handler-7JSKGSOW.mjs → agent-mcp-handler-7QMX2LUY.mjs} +7 -7
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
- package/dist/{agent-mcp.d-BJKChOrO.d.mts → agent-mcp.d-C-2S9bnP.d.mts} +1 -1
- package/dist/{agent-mcp.d-BAR9njbJ.d.ts → agent-mcp.d-SIoCUP1I.d.ts} +1 -1
- package/dist/agent-runtime.cjs +5 -5
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/agent-runtime.mjs +4 -4
- package/dist/{analyzer-OTPEWH5W.mjs → analyzer-22BEYV7S.mjs} +116 -13
- package/dist/{analyzer-TSQXZCZN.cjs → analyzer-LCSI3NSH.cjs} +123 -20
- package/dist/api/client.cjs +5 -4
- package/dist/api/client.d.mts +1 -1
- package/dist/api/client.d.ts +1 -1
- package/dist/api/client.mjs +3 -2
- package/dist/api/client.native.cjs +45 -0
- package/dist/api/client.native.d.mts +23 -0
- package/dist/api/client.native.d.ts +23 -0
- package/dist/api/client.native.mjs +45 -0
- package/dist/api/route-manager.cjs +7 -7
- package/dist/api/route-manager.d.mts +4 -4
- package/dist/api/route-manager.d.ts +4 -4
- package/dist/api/route-manager.mjs +6 -6
- package/dist/api/runtime.cjs +5 -5
- package/dist/api/runtime.d.mts +3 -3
- package/dist/api/runtime.d.ts +3 -3
- package/dist/api/runtime.mjs +4 -4
- package/dist/{api-client.d-CeA6tNA6.d.mts → api-client.d-BNLXNCXJ.d.mts} +1 -1
- package/dist/{api-client.d-BWcqZciH.d.ts → api-client.d-ddQBNGtu.d.ts} +1 -1
- package/dist/api.cjs +11 -11
- package/dist/api.d.mts +5 -5
- package/dist/api.d.ts +5 -5
- package/dist/api.mjs +10 -10
- package/dist/{app-manifest.d-DEQNnNhV.d.mts → app-manifest.d-DrSAHskY.d.mts} +1 -1
- package/dist/{app-manifest.d-BLFbaqx8.d.ts → app-manifest.d-Tb3CJpL4.d.ts} +1 -1
- package/dist/app-markdown.cjs +7 -7
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +6 -6
- package/dist/{app.d-CNPaUYaa.d.ts → app.d-CmWlYpZJ.d.ts} +9 -4
- package/dist/{app.d-CT7xDkj2.d.mts → app.d-D6QQM_kk.d.mts} +9 -4
- package/dist/{chunk-SN5VSO3Q.mjs → chunk-25T5VXOE.mjs} +7 -9
- package/dist/{chunk-OAMUSC7H.cjs → chunk-2FRLSDBT.cjs} +1 -1
- package/dist/{chunk-LM2YOGDK.mjs → chunk-2I6PUKWJ.mjs} +1 -1
- package/dist/{chunk-ZD2VKAUI.mjs → chunk-2KTYMMWT.mjs} +1 -1
- package/dist/{chunk-B5BBTPJQ.cjs → chunk-2OF5RPVU.cjs} +14 -14
- package/dist/{chunk-UQF3OJVE.mjs → chunk-37PYUEK5.mjs} +173 -29
- package/dist/{chunk-VSLM6BHX.cjs → chunk-3OJNNCDL.cjs} +9 -9
- package/dist/{chunk-X3JNB2TB.mjs → chunk-3PX4AIXO.mjs} +36 -5
- package/dist/{chunk-UQHIWZZ6.cjs → chunk-3TL3AH25.cjs} +12 -6
- package/dist/chunk-3YMLUNL2.cjs +251 -0
- package/dist/chunk-4JTQPOKO.cjs +137 -0
- package/dist/{chunk-7MD37P5V.cjs → chunk-4P23B7DU.cjs} +5 -5
- package/dist/{chunk-3BLEXUGE.mjs → chunk-55U5QIXQ.mjs} +1 -1
- package/dist/{chunk-TWHXBMLJ.cjs → chunk-5JNUYGNF.cjs} +4 -4
- package/dist/{chunk-53SACYBY.cjs → chunk-6BJJYOFL.cjs} +7 -7
- package/dist/chunk-6UUH4N4J.mjs +251 -0
- package/dist/{chunk-2NHOYYUT.mjs → chunk-7H45IJWO.mjs} +2 -2
- package/dist/{chunk-NN3MOPSI.mjs → chunk-A2MN5PQJ.mjs} +7 -7
- package/dist/{chunk-KY32FWK7.mjs → chunk-BHJAYPYU.mjs} +2 -2
- package/dist/{chunk-VAHBCI6X.mjs → chunk-BQWBHWEW.mjs} +26 -1
- package/dist/{chunk-KJMWAUKE.mjs → chunk-C7GJDVN4.mjs} +1 -1
- package/dist/{chunk-OYNNA4DD.cjs → chunk-CBKRS3M4.cjs} +9 -9
- package/dist/{chunk-I2DQGS56.cjs → chunk-CBOEJ5Z4.cjs} +39 -41
- package/dist/{chunk-UJL4JOXV.cjs → chunk-CI4UNQHO.cjs} +2 -2
- package/dist/{chunk-S5AQ7CAC.cjs → chunk-CNNBFGL5.cjs} +39 -14
- package/dist/chunk-D2X5MUF5.cjs +1457 -0
- package/dist/{chunk-LEIXUFJN.cjs → chunk-D4MRNBVF.cjs} +10 -9
- package/dist/{chunk-2KVDHNQS.mjs → chunk-D7LTCK3U.mjs} +2 -2
- package/dist/{chunk-4SEHMBL4.cjs → chunk-DPJ66FSI.cjs} +22 -22
- package/dist/{chunk-FFE2EMF7.cjs → chunk-DZPR2W6U.cjs} +5 -5
- package/dist/{chunk-3Z63X45F.mjs → chunk-E72UD6ME.mjs} +1 -1
- package/dist/{chunk-XXXRRVY6.mjs → chunk-EGVC4LIG.mjs} +5 -5
- package/dist/{chunk-72NBDVWQ.mjs → chunk-EXUONJYV.mjs} +3 -3
- package/dist/{chunk-VS7EHLLW.mjs → chunk-EZ34EHQP.mjs} +1 -1
- package/dist/{chunk-5FXPJIOT.mjs → chunk-F6Y7ZAPQ.mjs} +2 -2
- package/dist/{chunk-LMFJCXDD.mjs → chunk-FN5UEC7I.mjs} +1 -1
- package/dist/{chunk-3SMXQNFD.mjs → chunk-FORSVMEJ.mjs} +2 -2
- package/dist/{chunk-R4PHCZ3G.mjs → chunk-HPWB57PZ.mjs} +1 -1
- package/dist/{chunk-Y2G5SJFB.mjs → chunk-IFHPDLIS.mjs} +1 -1
- package/dist/{chunk-3XQ57EFI.cjs → chunk-IFXSBJPN.cjs} +16 -16
- package/dist/{chunk-3WSIYBMG.mjs → chunk-ILMTRGBG.mjs} +279 -48
- package/dist/{chunk-HLWOWZFX.cjs → chunk-JBK7UJOI.cjs} +14 -11
- package/dist/chunk-JI5D7MXY.mjs +137 -0
- package/dist/{chunk-QXJADAQB.cjs → chunk-JIBEFLQ7.cjs} +6 -2
- package/dist/{chunk-LZ4SB57H.mjs → chunk-JPIUGDK4.mjs} +1 -1
- package/dist/{chunk-Y3N5BFRJ.mjs → chunk-JSDV2NUN.mjs} +1 -1
- package/dist/{chunk-IRSS4HS4.mjs → chunk-K3RU5MOR.mjs} +1 -1
- package/dist/chunk-KPOMS5RO.cjs +237 -0
- package/dist/{chunk-YAJTD3ZG.mjs → chunk-KVW2M6PI.mjs} +1 -1
- package/dist/{chunk-5IONBVJY.cjs → chunk-LB3DPQP6.cjs} +22 -22
- package/dist/{chunk-CZ35L6PL.mjs → chunk-LJVNMGE3.mjs} +10 -4
- package/dist/{chunk-X2AMN2WV.cjs → chunk-LQNW3ABP.cjs} +10 -10
- package/dist/{chunk-6ONBZGVH.cjs → chunk-LRB5OVRT.cjs} +3 -3
- package/dist/{chunk-D7UQC4O6.cjs → chunk-LT4VAF5Z.cjs} +2 -2
- package/dist/{chunk-F6TLUMH7.mjs → chunk-M53MIIXY.mjs} +1 -1
- package/dist/{chunk-H33PJEXN.cjs → chunk-MEQN6DDA.cjs} +5 -5
- package/dist/{chunk-XLRLSTJ6.cjs → chunk-MGKW5XZE.cjs} +7 -7
- package/dist/{chunk-B3GZAQSC.cjs → chunk-MHLNWRCJ.cjs} +3 -3
- package/dist/{chunk-5ENW27SL.mjs → chunk-MMK4MZUN.mjs} +1 -1
- package/dist/{chunk-WGUHDWT5.cjs → chunk-MTWXOEI4.cjs} +527 -366
- package/dist/chunk-NHD7BAKD.mjs +1457 -0
- package/dist/{chunk-KLNFJDFM.cjs → chunk-NQJDO7K7.cjs} +31 -31
- package/dist/{chunk-TSFMFPRU.cjs → chunk-O27PLNQZ.cjs} +10 -10
- package/dist/{chunk-PIHKO25G.mjs → chunk-OM7WILES.mjs} +1 -1
- package/dist/{chunk-YUEYBL35.mjs → chunk-PCXIJKPM.mjs} +8 -8
- package/dist/{chunk-IWFV5ZED.cjs → chunk-PMJSG4JS.cjs} +1 -1
- package/dist/{chunk-B3GM5I6N.cjs → chunk-PRFNLQSP.cjs} +4 -4
- package/dist/{chunk-46KXZBOG.cjs → chunk-QAS7KE7J.cjs} +7 -7
- package/dist/chunk-QGOZLGVP.mjs +0 -0
- package/dist/{chunk-VQJYGZNX.cjs → chunk-QMNWKQL4.cjs} +1 -1
- package/dist/{chunk-XB24LZWI.cjs → chunk-QRX4JRBO.cjs} +3 -3
- package/dist/{chunk-LNM57D3H.cjs → chunk-R53QDV6T.cjs} +4 -4
- package/dist/{chunk-SUV6YO4Q.cjs → chunk-RAWWCDCT.cjs} +5 -5
- package/dist/{chunk-LJDIFIJ2.mjs → chunk-RPUJHJHE.mjs} +4 -4
- package/dist/{chunk-G2KTRMWA.mjs → chunk-RSEAX5MW.mjs} +4 -0
- package/dist/chunk-SJRCWF4Z.mjs +237 -0
- package/dist/{chunk-4353ZRE5.mjs → chunk-SX7EECTS.mjs} +8 -5
- package/dist/{chunk-LDNSSHEG.mjs → chunk-T4TBK5NY.mjs} +2 -2
- package/dist/{chunk-NOTSHVRN.mjs → chunk-T7I62A4C.mjs} +293 -132
- package/dist/{chunk-E36C43IX.cjs → chunk-U4BJKNIR.cjs} +6 -6
- package/dist/{chunk-4CGOMZP3.cjs → chunk-UDJY2ZGY.cjs} +487 -256
- package/dist/{chunk-SHS6KXOZ.mjs → chunk-UR25Z5Z6.mjs} +1 -1
- package/dist/{chunk-TQMI6BYO.cjs → chunk-UYSTTPYJ.cjs} +1262 -936
- package/dist/{chunk-E5DXF5GE.mjs → chunk-UZZ6IEQP.mjs} +3 -3
- package/dist/{chunk-EKJYE4Y7.cjs → chunk-VGG74PSU.cjs} +25 -25
- package/dist/{chunk-GAO7MS5O.mjs → chunk-VPTWKOCY.mjs} +19 -19
- package/dist/{chunk-UN6N623E.mjs → chunk-VQJHT2ND.mjs} +2 -2
- package/dist/{chunk-SJ23LJ3N.cjs → chunk-VVTJTMGQ.cjs} +3 -3
- package/dist/{chunk-KHXAJ2KA.cjs → chunk-W2RZ73IU.cjs} +12 -12
- package/dist/{chunk-JWI5PUO2.mjs → chunk-W2ZXMMHA.mjs} +2 -1
- package/dist/{chunk-BLD5GVCG.mjs → chunk-W6QLRQ3V.mjs} +1 -1
- package/dist/{chunk-AV26KHTG.mjs → chunk-X2CZTWQA.mjs} +2 -2
- package/dist/chunk-XPIPMWY3.cjs +1 -0
- package/dist/{chunk-JXEPLIXD.cjs → chunk-XTG73QZA.cjs} +183 -39
- package/dist/{chunk-XPMC4E2G.cjs → chunk-XVSBALOY.cjs} +3 -3
- package/dist/{chunk-XYL4HSVC.cjs → chunk-YI6FKTTN.cjs} +38 -7
- package/dist/{chunk-LPDKG6RA.mjs → chunk-YSXTNSXS.mjs} +1 -1
- package/dist/{chunk-EHB77D5U.cjs → chunk-ZDAEHG2O.cjs} +3 -3
- package/dist/{chunk-3TLKUBXG.mjs → chunk-ZFUKPWFC.mjs} +912 -586
- package/dist/{chunk-4TKAIO2F.mjs → chunk-ZMHAFH4R.mjs} +8 -8
- package/dist/{chunk-ZOWNWHK6.cjs → chunk-ZNH6NR3H.cjs} +2 -2
- package/dist/{chunk-PFV2KPDZ.cjs → chunk-ZOYKJBP5.cjs} +3 -3
- package/dist/{chunk-CECUDGXQ.cjs → chunk-ZP32GNJQ.cjs} +13 -13
- package/dist/{chunk-MRNDAJEV.mjs → chunk-ZZ2QKCKW.mjs} +1 -1
- package/dist/{client-plugins.d-DllmH8eM.d.mts → client-plugins.d-CgQQ-EAv.d.mts} +10 -2
- package/dist/{client-plugins.d-n3iWY1EJ.d.ts → client-plugins.d-vXrbcfJ1.d.ts} +10 -2
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client.cjs +9 -9
- package/dist/client.d.mts +9 -9
- package/dist/client.d.ts +9 -9
- package/dist/client.mjs +9 -9
- package/dist/{config.d-DqKaCr1r.d.ts → config.d-DqZkLwef.d.mts} +139 -1
- package/dist/{config.d-DqKaCr1r.d.mts → config.d-DqZkLwef.d.ts} +139 -1
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/cron.cjs +3 -3
- package/dist/cron.d.mts +10 -0
- package/dist/cron.d.ts +10 -0
- package/dist/cron.mjs +2 -2
- package/dist/desktop.d.mts +3 -3
- package/dist/desktop.d.ts +3 -3
- package/dist/{devtools-UESYARTF.mjs → devtools-KQZ6SRCJ.mjs} +16 -16
- package/dist/{devtools-TO6TAO32.cjs → devtools-UF6JYHUN.cjs} +18 -18
- package/dist/docs.cjs +19 -19
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +18 -18
- package/dist/index.cjs +96 -96
- package/dist/{index.d-BXsAXm1U.d.ts → index.d-DlCELfhf.d.ts} +1 -1
- package/dist/{index.d-BL7KKiwa.d.mts → index.d-Dmfb7Kb_.d.mts} +1 -1
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.mjs +139 -139
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.mjs +4 -4
- package/dist/internal/app-markdown-runtime.cjs +6 -6
- package/dist/internal/app-markdown-runtime.d.mts +3 -3
- package/dist/internal/app-markdown-runtime.d.ts +3 -3
- package/dist/internal/app-markdown-runtime.mjs +5 -5
- package/dist/internal/build-runtime.cjs +50 -50
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +49 -49
- package/dist/internal/cli-runtime.cjs +28 -28
- package/dist/internal/cli-runtime.mjs +28 -28
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +20 -15
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +8 -3
- package/dist/internal/compression-runtime.d.mts +2 -2
- package/dist/internal/compression-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.cjs +18 -18
- package/dist/internal/config-runtime.d.mts +94 -6
- package/dist/internal/config-runtime.d.ts +94 -6
- package/dist/internal/config-runtime.mjs +17 -17
- package/dist/internal/infra-analytics-runtime.cjs +11 -11
- package/dist/internal/infra-analytics-runtime.mjs +9 -9
- package/dist/internal/islands-boot.cjs +211 -0
- package/dist/internal/islands-boot.d.mts +8 -0
- package/dist/internal/islands-boot.d.ts +8 -0
- package/dist/internal/islands-boot.mjs +211 -0
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +37 -101
- package/dist/internal/production-runtime.d.mts +17 -11
- package/dist/internal/production-runtime.d.ts +17 -11
- package/dist/internal/production-runtime.mjs +47 -111
- package/dist/markdown.cjs +5 -5
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +4 -4
- package/dist/middleware.cjs +10 -10
- package/dist/middleware.d.mts +4 -4
- package/dist/middleware.d.ts +4 -4
- package/dist/middleware.mjs +9 -9
- package/dist/mobile.d.mts +27 -5
- package/dist/mobile.d.ts +27 -5
- package/dist/modules-VHD7BELU.mjs +13 -0
- package/dist/modules-WT5D3AWY.cjs +13 -0
- package/dist/native-specs-BD7HOTMJ.mjs +15 -0
- package/dist/native-specs-IQQRJOOW.cjs +15 -0
- package/dist/native-tree-6G5O53O3.cjs +27 -0
- package/dist/{native-tree-EBPDFTRW.mjs → native-tree-VWNW2MQ2.mjs} +10 -8
- package/dist/native.cjs +87 -0
- package/dist/native.d.mts +72 -0
- package/dist/native.d.ts +72 -0
- package/dist/native.mjs +87 -0
- package/dist/{navigation-delegate.d-C76gXTmO.d.mts → navigation-delegate.d-CnOTWOyi.d.mts} +1 -1
- package/dist/{navigation-delegate.d-DIyDslxt.d.ts → navigation-delegate.d-JXx40JzR.d.ts} +1 -1
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/navigation.mjs +4 -4
- package/dist/{nitro-R444AF3O.mjs → nitro-FLN6DRGJ.mjs} +7 -7
- package/dist/{nitro-CK7M4RMY.cjs → nitro-HXAZZQKY.cjs} +12 -12
- package/dist/plugin.cjs +42 -42
- package/dist/plugin.d.mts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin.mjs +41 -41
- package/dist/port-C6GBH4C6.cjs +419 -0
- package/dist/port-WOOQ3V56.mjs +419 -0
- package/dist/{production-runtime.d-CDHztggO.d.mts → production-runtime.d-CP5s6RuY.d.mts} +1 -1
- package/dist/{production-runtime.d-tyaGdbk6.d.ts → production-runtime.d-N-cE3pmy.d.ts} +1 -1
- package/dist/{programmatic-routes-client.d-XfmIrCK1.d.ts → programmatic-routes-client.d-CLG2N1yH.d.ts} +2 -2
- package/dist/{programmatic-routes-client.d-aAWiDd64.d.mts → programmatic-routes-client.d-CPbNqtIi.d.mts} +2 -2
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan.d-Dr5WRjoV.d.ts → render-plan.d-B9lAP3uX.d.ts} +1 -1
- package/dist/{render-plan.d-Diwybxo8.d.mts → render-plan.d-DZ-qjjdG.d.mts} +1 -1
- package/dist/renderer/react/server.cjs +2 -2
- package/dist/renderer/react/server.mjs +3 -3
- package/dist/renderer-client.cjs +6 -6
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +2 -2
- package/dist/{request.d-D01fRn--.d.ts → request.d-BiicaNxb.d.ts} +1 -1
- package/dist/{request.d-Dd3AFR79.d.mts → request.d-DV0oeUit.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/{route-rendering.d-BQ53lJ_D.d.mts → route-rendering.d-BrIKA51A.d.mts} +1 -1
- package/dist/{route-rendering.d-Bhx4QoJt.d.ts → route-rendering.d-Iss0C7GR.d.ts} +1 -1
- package/dist/{router.d-DQ3k7EYn.d.ts → router.d-DjGn_al7.d.ts} +1 -1
- package/dist/{router.d-Bi23a6Xc.d.mts → router.d-mNTbOGV_.d.mts} +1 -1
- package/dist/{routes.d-C7jMJFvP.d.ts → routes.d-BKSjHuH9.d.ts} +25 -2
- package/dist/{routes.d-BgTd7vI4.d.mts → routes.d-qd8Qf4LG.d.mts} +25 -2
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/{rsc-pipeline-OCZIT5OF.cjs → rsc-pipeline-SVLBTY7H.cjs} +21 -21
- package/dist/{rsc-pipeline-K3ER3Q4N.mjs → rsc-pipeline-WBLBDQXA.mjs} +20 -20
- package/dist/{runtime-DKNSIH7V.cjs → runtime-DGUOWSMF.cjs} +293 -41
- package/dist/{runtime-MKYDEUZT.mjs → runtime-HFZTVNFF.mjs} +283 -31
- package/dist/{runtime.d-B2Js6qZ2.d.mts → runtime.d-BNVbojF1.d.mts} +1 -1
- package/dist/{runtime.d-BL-CGwoi.d.ts → runtime.d-Bm_4hP5T.d.ts} +1 -1
- package/dist/{schema-dev-notice-F6QYSOAI.mjs → schema-dev-notice-JMXEQWIQ.mjs} +3 -3
- package/dist/{schema-dev-notice-UU7DMZEU.cjs → schema-dev-notice-PLBFDTOF.cjs} +6 -6
- package/dist/server-fn-client.d.mts +1 -1
- package/dist/server-fn-client.d.ts +1 -1
- package/dist/server-plugins.cjs +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server-plugins.mjs +1 -1
- package/dist/server.cjs +81 -81
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +64 -64
- package/dist/session-2Q72D4QV.cjs +23 -0
- package/dist/{session-IGEDQ5PY.mjs → session-QZXZOPR2.mjs} +2 -2
- package/dist/shell-render.d-CG6bPiiA.d.mts +41 -0
- package/dist/shell-render.d-CG6bPiiA.d.ts +41 -0
- package/dist/{spa-router.d-DqZ6Lfs0.d.ts → spa-router.d-DAtnNoBe.d.ts} +11 -2
- package/dist/{spa-router.d-B2rIFGs0.d.mts → spa-router.d-DHDoXxDE.d.mts} +11 -2
- package/dist/testing.cjs +7 -7
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.mjs +6 -6
- package/dist/{utils.d-Bv2MPeLR.d.ts → utils.d-DwZ-KLSB.d.ts} +7 -1
- package/dist/{utils.d-fqXe8lNc.d.mts → utils.d-uKZcKJk4.d.mts} +7 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +42 -42
- package/dist/vite.d.mts +10 -5
- package/dist/vite.d.ts +10 -5
- package/dist/vite.mjs +41 -41
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +17 -3
- package/dist/agent-mcp-handler-YE4AGWHN.cjs +0 -18
- package/dist/chunk-MIGFX2FN.mjs +0 -758
- package/dist/chunk-P6MHI5O2.cjs +0 -758
- package/dist/native-tree-MMZS7S6W.cjs +0 -25
- package/dist/session-AAU7RNRO.cjs +0 -23
- package/dist/{chunk-7FVVQEVL.cjs → chunk-4BS3HSY7.cjs} +2 -2
- package/dist/{chunk-N7JQXQAV.cjs → chunk-5OJVKXFV.cjs} +2 -2
- package/dist/{chunk-WSDKXV4E.mjs → chunk-72KABRWN.mjs} +4 -4
- package/dist/{chunk-C3BOESDW.mjs → chunk-B4CWYGCG.mjs} +3 -3
|
@@ -5,7 +5,7 @@ var _chunkMF3IA2AWcjs = require('../chunk-MF3IA2AW.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNQJDO7K7cjs = require('../chunk-NQJDO7K7.cjs');
|
|
9
9
|
require('../chunk-OZC2JPW6.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -22,50 +22,50 @@ require('../chunk-V56632LA.cjs');
|
|
|
22
22
|
require('../chunk-LSHX2H5G.cjs');
|
|
23
23
|
require('../chunk-STF6VDYQ.cjs');
|
|
24
24
|
require('../chunk-RD623KW4.cjs');
|
|
25
|
-
require('../chunk-
|
|
26
|
-
require('../chunk-SG57PX7K.cjs');
|
|
27
|
-
require('../chunk-H33PJEXN.cjs');
|
|
25
|
+
require('../chunk-DZPR2W6U.cjs');
|
|
28
26
|
require('../chunk-6JHZPB52.cjs');
|
|
27
|
+
require('../chunk-SG57PX7K.cjs');
|
|
28
|
+
require('../chunk-MEQN6DDA.cjs');
|
|
29
|
+
require('../chunk-5Y2P454O.cjs');
|
|
29
30
|
require('../chunk-HEPJIKKQ.cjs');
|
|
30
31
|
require('../chunk-3EIPOTZV.cjs');
|
|
31
|
-
require('../chunk-5Y2P454O.cjs');
|
|
32
32
|
require('../chunk-2HW5LWAH.cjs');
|
|
33
|
+
require('../chunk-LT4VAF5Z.cjs');
|
|
33
34
|
require('../chunk-DQJ2CIH7.cjs');
|
|
34
|
-
require('../chunk-
|
|
35
|
-
require('../chunk-
|
|
35
|
+
require('../chunk-QRX4JRBO.cjs');
|
|
36
|
+
require('../chunk-YI6FKTTN.cjs');
|
|
36
37
|
require('../chunk-2KMIJDY6.cjs');
|
|
37
38
|
require('../chunk-FK25QSVC.cjs');
|
|
38
|
-
require('../chunk-WT6RAN2I.cjs');
|
|
39
|
-
require('../chunk-D7UQC4O6.cjs');
|
|
40
39
|
require('../chunk-SHIWRBFI.cjs');
|
|
41
|
-
require('../chunk-
|
|
40
|
+
require('../chunk-WT6RAN2I.cjs');
|
|
41
|
+
require('../chunk-ZP32GNJQ.cjs');
|
|
42
42
|
require('../chunk-DUIP64BF.cjs');
|
|
43
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-ZOYKJBP5.cjs');
|
|
44
44
|
require('../chunk-ZXK2EYQW.cjs');
|
|
45
45
|
require('../chunk-5DX3O6TT.cjs');
|
|
46
|
-
require('../chunk-
|
|
46
|
+
require('../chunk-LRB5OVRT.cjs');
|
|
47
47
|
require('../chunk-OYZXVBZP.cjs');
|
|
48
48
|
require('../chunk-ITV4QQL2.cjs');
|
|
49
49
|
require('../chunk-FEFCISOX.cjs');
|
|
50
50
|
require('../chunk-LNVGXUL3.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkQMNWKQL4cjs = require('../chunk-QMNWKQL4.cjs');
|
|
54
54
|
require('../chunk-SUCDVKUB.cjs');
|
|
55
55
|
require('../chunk-EVIWKPJV.cjs');
|
|
56
56
|
require('../chunk-YIHRZBD7.cjs');
|
|
57
|
+
require('../chunk-2OF5RPVU.cjs');
|
|
57
58
|
require('../chunk-LIFUPCXW.cjs');
|
|
58
59
|
require('../chunk-JYT7AN37.cjs');
|
|
59
|
-
require('../chunk-B5BBTPJQ.cjs');
|
|
60
60
|
require('../chunk-HA7YRO53.cjs');
|
|
61
61
|
require('../chunk-CA7DNRHO.cjs');
|
|
62
|
-
require('../chunk-
|
|
62
|
+
require('../chunk-PMJSG4JS.cjs');
|
|
63
63
|
require('../chunk-6FXBJPF5.cjs');
|
|
64
64
|
require('../chunk-E552H232.cjs');
|
|
65
65
|
require('../chunk-UZCMMJJT.cjs');
|
|
66
66
|
require('../chunk-6XQSPIN6.cjs');
|
|
67
|
-
require('../chunk-7JUIK547.cjs');
|
|
68
67
|
require('../chunk-A25FXJ7D.cjs');
|
|
68
|
+
require('../chunk-7JUIK547.cjs');
|
|
69
69
|
require('../chunk-6CTFVBAT.cjs');
|
|
70
70
|
require('../chunk-3BIASUGR.cjs');
|
|
71
71
|
require('../chunk-OWQV6MLM.cjs');
|
|
@@ -75,7 +75,7 @@ require('../chunk-BTZ5O6VM.cjs');
|
|
|
75
75
|
|
|
76
76
|
// src/config-runtime.ts
|
|
77
77
|
function loadFarmMobileRuntime() {
|
|
78
|
-
return import("../runtime-
|
|
78
|
+
return import("../runtime-DGUOWSMF.cjs");
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
|
|
@@ -91,4 +91,4 @@ function loadFarmMobileRuntime() {
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
exports.createFarmDesktopContext = _chunkAQLHD6HZcjs.createFarmDesktopContext; exports.getFarmDesktopOutputDirs = _chunkAQLHD6HZcjs.getFarmDesktopOutputDirs; exports.installFarmDesktopSetup = _chunkAQLHD6HZcjs.installFarmDesktopSetup; exports.loadConfig =
|
|
94
|
+
exports.createFarmDesktopContext = _chunkAQLHD6HZcjs.createFarmDesktopContext; exports.getFarmDesktopOutputDirs = _chunkAQLHD6HZcjs.getFarmDesktopOutputDirs; exports.installFarmDesktopSetup = _chunkAQLHD6HZcjs.installFarmDesktopSetup; exports.loadConfig = _chunkNQJDO7K7cjs.loadConfig; exports.loadFarmMobileRuntime = loadFarmMobileRuntime; exports.loadFarmProductionVite = _chunkMF3IA2AWcjs.loadFarmProductionVite; exports.logger = _chunkQMNWKQL4cjs.logger; exports.resolveConfig = _chunkNQJDO7K7cjs.resolveConfig; exports.resolveDeployConfig = _chunkNQJDO7K7cjs.resolveDeployConfig; exports.resolveFarmDesktopBlock = _chunkAQLHD6HZcjs.resolveFarmDesktopBlock; exports.resolveFarmDesktopConfig = _chunkAQLHD6HZcjs.resolveFarmDesktopConfig; exports.setFarmDesktopDevSession = _chunkAQLHD6HZcjs.setFarmDesktopDevSession; exports.validateFarmDesktopConfig = _chunkAQLHD6HZcjs.validateFarmDesktopConfig;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { bo as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins.d-
|
|
2
|
-
export {
|
|
1
|
+
import { bo as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins.d-CgQQ-EAv.mjs';
|
|
2
|
+
export { bF as FarmDesktopDevSession, bG as FarmDesktopSetupOptions, bH as createFarmDesktopContext, bI as getFarmDesktopOutputDirs, bJ as installFarmDesktopSetup, O as loadConfig, Q as resolveConfig, S as resolveDeployConfig, bK as resolveFarmDesktopBlock, bL as resolveFarmDesktopConfig, bM as setFarmDesktopDevSession, bN as validateFarmDesktopConfig } from '../client-plugins.d-CgQQ-EAv.mjs';
|
|
3
3
|
import { P as PlatformRouteFiles } from '../generate-route-types.d-BoVDU8qX.mjs';
|
|
4
|
-
import { F as FarmMobileOS,
|
|
5
|
-
import {
|
|
4
|
+
import { F as FarmMobileOS, i as FarmMobileNativeEngine, g as FarmMobileNativeAuto, o as FarmMobileRouteScreen, p as FarmMobileScreen, e as FarmMobileContext, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules, x as FarmMobileBlockCache, c as FarmMobileBudgets, d as FarmMobileConfigInput, y as FarmMobileContextOptions, h as FarmMobileNativeConfig, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, z as FarmMobileResolveOptions, n as FarmMobileRouteConfig, q as FarmMobileTab, r as FarmMobileUserConfig, A as ResolvedFarmMobileNativeConfig, B as createFarmMobileContext, C as resolveFarmMobileBlock, D as resolveFarmMobileConfig, E as resolveFarmMobileServer, G as validateFarmMobileConfig, H as validateFarmMobilePageConfig } from '../config.d-DqZkLwef.mjs';
|
|
5
|
+
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-qd8Qf4LG.mjs';
|
|
6
|
+
import { F as FARM_SHELL_PARAM_SEGMENT, a as FARM_SHELL_RENDER_HEADER, b as FARM_SHELL_ROUTE_HEADER, c as createFarmMobileShellRenderPath } from '../shell-render.d-CG6bPiiA.mjs';
|
|
6
7
|
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite.d-BQFAlG7n.mjs';
|
|
7
|
-
export { l as logger } from '../utils.d-
|
|
8
|
+
export { l as logger } from '../utils.d-uKZcKJk4.mjs';
|
|
8
9
|
import '../lifecycle.d-C2aLBOwu.mjs';
|
|
9
10
|
import '../route.d-BaVH3V0w.mjs';
|
|
10
11
|
import '../endpoint.d-BkMSCRf6.mjs';
|
|
@@ -37,6 +38,13 @@ import '../types.d-C41ePjvP.mjs';
|
|
|
37
38
|
import '../types.d-DQnyD3VD.mjs';
|
|
38
39
|
import '../font.mjs';
|
|
39
40
|
|
|
41
|
+
interface FarmMobilePort {
|
|
42
|
+
/** The screen module the native entry registers, relative to the ports directory. */
|
|
43
|
+
entry: string;
|
|
44
|
+
/** Generated sources, keyed by path relative to the ports directory. */
|
|
45
|
+
files: Record<string, string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
40
48
|
/**
|
|
41
49
|
* `.farm/output/mobile/native-report.json` and its terminal table: what each route shows, and
|
|
42
50
|
* for routes the analyzer looked at, whether it could become a native screen and why not.
|
|
@@ -88,6 +96,61 @@ declare function formatFarmMobileNativeReport(report: FarmMobileNativeReport, op
|
|
|
88
96
|
file?: string;
|
|
89
97
|
}): string;
|
|
90
98
|
|
|
99
|
+
/** The page shells of one build, as a shell package writes them into the app. */
|
|
100
|
+
interface FarmMobilePageShells extends FarmMobileShellManifest {
|
|
101
|
+
/** Shell HTML by file name, such as `{ "1a2b3c4d5e6f7a8b.html": "<!DOCTYPE html>..." }`. */
|
|
102
|
+
files: Record<string, string>;
|
|
103
|
+
}
|
|
104
|
+
interface FarmMobilePageShellOptions {
|
|
105
|
+
os: FarmMobileOS;
|
|
106
|
+
/**
|
|
107
|
+
* The text of a stylesheet the document links, by its href, such as `/assets/app-h1a2.css`;
|
|
108
|
+
* undefined for one the build did not write. iOS shells inline every stylesheet they can
|
|
109
|
+
* (`loadHTMLString` has no bundled files to load it from); Android loads it from the app.
|
|
110
|
+
*/
|
|
111
|
+
readStylesheet?: (href: string) => string | undefined;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* A rendered document as a page shell: every script and script preload removed (a shell never
|
|
115
|
+
* runs code; the real document does), the links that name the request's URL (`canonical`,
|
|
116
|
+
* `alternate`: locale and markdown versions) removed, so a shell is the same file for every route
|
|
117
|
+
* that shares it and carries no address of the build's server, `data-farm-page-shell` on `<html>`
|
|
118
|
+
* so app CSS can tell, and on iOS each stylesheet the build wrote inlined.
|
|
119
|
+
*/
|
|
120
|
+
declare function createFarmMobilePageShell(html: string, options: FarmMobilePageShellOptions): string;
|
|
121
|
+
/** A shell's file name: its content hash, so equal shells share one file. */
|
|
122
|
+
declare function getFarmMobilePageShellFile(shell: string): string;
|
|
123
|
+
interface RenderFarmMobilePageShellsOptions extends FarmMobilePageShellOptions {
|
|
124
|
+
/** Page route patterns, route groups removed. */
|
|
125
|
+
routes: readonly string[];
|
|
126
|
+
/** The token the build's server answers shell requests with. */
|
|
127
|
+
token: string;
|
|
128
|
+
/** The app's basePath ("" or "/base"). */
|
|
129
|
+
basePath: string;
|
|
130
|
+
/** The mobile client entry of the build, from `mobile-client.json`. */
|
|
131
|
+
client: string;
|
|
132
|
+
/** Requests a path (with the base path) from the build's server. */
|
|
133
|
+
fetch: (path: string, init: {
|
|
134
|
+
headers: Record<string, string>;
|
|
135
|
+
}) => Promise<Response>;
|
|
136
|
+
/** Requests in flight at once; defaults to 4. */
|
|
137
|
+
concurrency?: number;
|
|
138
|
+
}
|
|
139
|
+
interface RenderedFarmMobilePageShells {
|
|
140
|
+
shells: FarmMobilePageShells;
|
|
141
|
+
/** Routes without a shell and why, for `--verbose` output. */
|
|
142
|
+
skipped: {
|
|
143
|
+
route: string;
|
|
144
|
+
reason: string;
|
|
145
|
+
}[];
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Ask the build's server for each route's shell and keep the ones it renders. The server decides
|
|
149
|
+
* which routes qualify (a loading file and layouts in static folders) and says why the others do
|
|
150
|
+
* not; middleware and guards run as for any request, so a route they redirect gets no shell.
|
|
151
|
+
*/
|
|
152
|
+
declare function renderFarmMobilePageShells(options: RenderFarmMobilePageShellsOptions): Promise<RenderedFarmMobilePageShells>;
|
|
153
|
+
|
|
91
154
|
/** `.farm/mobile-client.json` once the build has finished. */
|
|
92
155
|
interface FarmMobileClientManifest {
|
|
93
156
|
version: 1;
|
|
@@ -103,6 +166,11 @@ interface FarmMobileClientManifest {
|
|
|
103
166
|
* answer exactly these paths from its bundle; a hashed name only ever has these bytes.
|
|
104
167
|
*/
|
|
105
168
|
files: string[];
|
|
169
|
+
/**
|
|
170
|
+
* The client output the files are in, relative to the app root, when it is not the build
|
|
171
|
+
* directory's `client/`: the RSC pipeline (`@farm.js/plugin/rsc`) writes this manifest too.
|
|
172
|
+
*/
|
|
173
|
+
clientDir?: string;
|
|
106
174
|
}
|
|
107
175
|
/** Read the finished manifest, or null when the last build had no mobile client. */
|
|
108
176
|
declare function readFarmMobileClientManifest(buildDir: string): Promise<FarmMobileClientManifest | null>;
|
|
@@ -123,6 +191,8 @@ declare function getFarmMobileOutputDirs(distDir: string): {
|
|
|
123
191
|
/** Built apps, such as the debug APK. */
|
|
124
192
|
dist: string;
|
|
125
193
|
report: string;
|
|
194
|
+
/** Generated React Native ports of portable pages. */
|
|
195
|
+
ports: string;
|
|
126
196
|
analyzerCache: string;
|
|
127
197
|
/** The production build's client output, which holds the mobile client a shell bundles. */
|
|
128
198
|
client: string;
|
|
@@ -149,6 +219,8 @@ interface FarmMobileAppOptions {
|
|
|
149
219
|
* that a page with `export const mobile = { native: true }` is always checked.
|
|
150
220
|
*/
|
|
151
221
|
analyze?: boolean | "always";
|
|
222
|
+
/** `farm build --mobile` with `mobile.shells`: the page shells it rendered, for the manifest. */
|
|
223
|
+
shells?: FarmMobileShellManifest;
|
|
152
224
|
}
|
|
153
225
|
interface FarmMobileApp {
|
|
154
226
|
context: FarmMobileContext;
|
|
@@ -163,9 +235,13 @@ interface FarmMobileApp {
|
|
|
163
235
|
nativeLayouts: Record<string, PlatformRouteFiles>;
|
|
164
236
|
/** Absolute page file per file-based page route. */
|
|
165
237
|
pageFiles: Map<string, string>;
|
|
238
|
+
/** The React Native port of each route Farm ported, written by `generateFarmMobileRoutes`. */
|
|
239
|
+
ports: Record<string, FarmMobilePort>;
|
|
166
240
|
/** The analyzer's report, when it ran. */
|
|
167
241
|
report?: FarmMobileNativeReport;
|
|
168
242
|
analyzerStats?: FarmMobileAnalyzerStats;
|
|
243
|
+
/** The app's own native modules in `src/native/`, when it has any. */
|
|
244
|
+
appModules?: FarmMobileAppModules;
|
|
169
245
|
}
|
|
170
246
|
/** Resolve the `mobile` block for one OS against the app's routes. Writes nothing. */
|
|
171
247
|
declare function resolveFarmMobileApp(options?: FarmMobileAppOptions): Promise<FarmMobileApp>;
|
|
@@ -179,6 +255,9 @@ declare function generateFarmMobileRoutes(options?: FarmMobileAppOptions): Promi
|
|
|
179
255
|
table?: string;
|
|
180
256
|
}>;
|
|
181
257
|
|
|
258
|
+
declare const __mobile_runtime_FARM_SHELL_PARAM_SEGMENT: typeof FARM_SHELL_PARAM_SEGMENT;
|
|
259
|
+
declare const __mobile_runtime_FARM_SHELL_RENDER_HEADER: typeof FARM_SHELL_RENDER_HEADER;
|
|
260
|
+
declare const __mobile_runtime_FARM_SHELL_ROUTE_HEADER: typeof FARM_SHELL_ROUTE_HEADER;
|
|
182
261
|
declare const __mobile_runtime_FarmMobileAnalyzerStats: typeof FarmMobileAnalyzerStats;
|
|
183
262
|
type __mobile_runtime_FarmMobileApp = FarmMobileApp;
|
|
184
263
|
type __mobile_runtime_FarmMobileAppOptions = FarmMobileAppOptions;
|
|
@@ -201,6 +280,8 @@ declare const __mobile_runtime_FarmMobileNativeRouteConfig: typeof FarmMobileNat
|
|
|
201
280
|
declare const __mobile_runtime_FarmMobileOS: typeof FarmMobileOS;
|
|
202
281
|
declare const __mobile_runtime_FarmMobilePageConfig: typeof FarmMobilePageConfig;
|
|
203
282
|
declare const __mobile_runtime_FarmMobilePageExport: typeof FarmMobilePageExport;
|
|
283
|
+
type __mobile_runtime_FarmMobilePageShellOptions = FarmMobilePageShellOptions;
|
|
284
|
+
type __mobile_runtime_FarmMobilePageShells = FarmMobilePageShells;
|
|
204
285
|
declare const __mobile_runtime_FarmMobilePrefetch: typeof FarmMobilePrefetch;
|
|
205
286
|
declare const __mobile_runtime_FarmMobilePresentation: typeof FarmMobilePresentation;
|
|
206
287
|
declare const __mobile_runtime_FarmMobileResolveOptions: typeof FarmMobileResolveOptions;
|
|
@@ -215,22 +296,29 @@ declare const __mobile_runtime_FarmMobileScreenDecision: typeof FarmMobileScreen
|
|
|
215
296
|
declare const __mobile_runtime_FarmMobileScreenSource: typeof FarmMobileScreenSource;
|
|
216
297
|
declare const __mobile_runtime_FarmMobileScreens: typeof FarmMobileScreens;
|
|
217
298
|
declare const __mobile_runtime_FarmMobileScreensOptions: typeof FarmMobileScreensOptions;
|
|
299
|
+
declare const __mobile_runtime_FarmMobileShellManifest: typeof FarmMobileShellManifest;
|
|
218
300
|
declare const __mobile_runtime_FarmMobileTab: typeof FarmMobileTab;
|
|
219
301
|
declare const __mobile_runtime_FarmMobileTier: typeof FarmMobileTier;
|
|
220
302
|
declare const __mobile_runtime_FarmMobileUserConfig: typeof FarmMobileUserConfig;
|
|
221
303
|
declare const __mobile_runtime_FarmUiNode: typeof FarmUiNode;
|
|
304
|
+
type __mobile_runtime_RenderFarmMobilePageShellsOptions = RenderFarmMobilePageShellsOptions;
|
|
305
|
+
type __mobile_runtime_RenderedFarmMobilePageShells = RenderedFarmMobilePageShells;
|
|
222
306
|
declare const __mobile_runtime_ResolvedFarmMobileConfig: typeof ResolvedFarmMobileConfig;
|
|
223
307
|
declare const __mobile_runtime_ResolvedFarmMobileNativeConfig: typeof ResolvedFarmMobileNativeConfig;
|
|
224
308
|
declare const __mobile_runtime_createFarmMobileContext: typeof createFarmMobileContext;
|
|
225
309
|
declare const __mobile_runtime_createFarmMobileModuleId: typeof createFarmMobileModuleId;
|
|
226
310
|
declare const __mobile_runtime_createFarmMobileNativeReport: typeof createFarmMobileNativeReport;
|
|
311
|
+
declare const __mobile_runtime_createFarmMobilePageShell: typeof createFarmMobilePageShell;
|
|
227
312
|
declare const __mobile_runtime_createFarmMobileRouteManifest: typeof createFarmMobileRouteManifest;
|
|
228
313
|
declare const __mobile_runtime_createFarmMobileRoutePattern: typeof createFarmMobileRoutePattern;
|
|
314
|
+
declare const __mobile_runtime_createFarmMobileShellRenderPath: typeof createFarmMobileShellRenderPath;
|
|
229
315
|
declare const __mobile_runtime_formatFarmMobileNativeReport: typeof formatFarmMobileNativeReport;
|
|
230
316
|
declare const __mobile_runtime_generateFarmMobileRoutes: typeof generateFarmMobileRoutes;
|
|
231
317
|
declare const __mobile_runtime_getFarmMobileOutputDirs: typeof getFarmMobileOutputDirs;
|
|
318
|
+
declare const __mobile_runtime_getFarmMobilePageShellFile: typeof getFarmMobilePageShellFile;
|
|
232
319
|
declare const __mobile_runtime_readFarmMobileClientManifest: typeof readFarmMobileClientManifest;
|
|
233
320
|
declare const __mobile_runtime_readFarmMobilePageExport: typeof readFarmMobilePageExport;
|
|
321
|
+
declare const __mobile_runtime_renderFarmMobilePageShells: typeof renderFarmMobilePageShells;
|
|
234
322
|
declare const __mobile_runtime_resolveFarmMobileApp: typeof resolveFarmMobileApp;
|
|
235
323
|
declare const __mobile_runtime_resolveFarmMobileBlock: typeof resolveFarmMobileBlock;
|
|
236
324
|
declare const __mobile_runtime_resolveFarmMobileConfig: typeof resolveFarmMobileConfig;
|
|
@@ -239,7 +327,7 @@ declare const __mobile_runtime_resolveFarmMobileServer: typeof resolveFarmMobile
|
|
|
239
327
|
declare const __mobile_runtime_validateFarmMobileConfig: typeof validateFarmMobileConfig;
|
|
240
328
|
declare const __mobile_runtime_validateFarmMobilePageConfig: typeof validateFarmMobilePageConfig;
|
|
241
329
|
declare namespace __mobile_runtime {
|
|
242
|
-
export { __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, type __mobile_runtime_FarmMobileClientManifest as FarmMobileClientManifest, __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, __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_FarmMobileRouteScreen as FarmMobileRouteScreen, __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_FarmMobileTier as FarmMobileTier, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, __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_readFarmMobileClientManifest as readFarmMobileClientManifest, __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 };
|
|
330
|
+
export { __mobile_runtime_FARM_SHELL_PARAM_SEGMENT as FARM_SHELL_PARAM_SEGMENT, __mobile_runtime_FARM_SHELL_RENDER_HEADER as FARM_SHELL_RENDER_HEADER, __mobile_runtime_FARM_SHELL_ROUTE_HEADER as FARM_SHELL_ROUTE_HEADER, __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, type __mobile_runtime_FarmMobileClientManifest as FarmMobileClientManifest, __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, type __mobile_runtime_FarmMobilePageShellOptions as FarmMobilePageShellOptions, type __mobile_runtime_FarmMobilePageShells as FarmMobilePageShells, __mobile_runtime_FarmMobilePrefetch as FarmMobilePrefetch, __mobile_runtime_FarmMobilePresentation as FarmMobilePresentation, __mobile_runtime_FarmMobileResolveOptions as FarmMobileResolveOptions, __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_FarmMobileRouteScreen as FarmMobileRouteScreen, __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_FarmMobileShellManifest as FarmMobileShellManifest, __mobile_runtime_FarmMobileTab as FarmMobileTab, __mobile_runtime_FarmMobileTier as FarmMobileTier, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, __mobile_runtime_FarmUiNode as FarmUiNode, type __mobile_runtime_RenderFarmMobilePageShellsOptions as RenderFarmMobilePageShellsOptions, type __mobile_runtime_RenderedFarmMobilePageShells as RenderedFarmMobilePageShells, __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_createFarmMobilePageShell as createFarmMobilePageShell, __mobile_runtime_createFarmMobileRouteManifest as createFarmMobileRouteManifest, __mobile_runtime_createFarmMobileRoutePattern as createFarmMobileRoutePattern, __mobile_runtime_createFarmMobileShellRenderPath as createFarmMobileShellRenderPath, __mobile_runtime_formatFarmMobileNativeReport as formatFarmMobileNativeReport, __mobile_runtime_generateFarmMobileRoutes as generateFarmMobileRoutes, __mobile_runtime_getFarmMobileOutputDirs as getFarmMobileOutputDirs, __mobile_runtime_getFarmMobilePageShellFile as getFarmMobilePageShellFile, __mobile_runtime_readFarmMobileClientManifest as readFarmMobileClientManifest, __mobile_runtime_readFarmMobilePageExport as readFarmMobilePageExport, __mobile_runtime_renderFarmMobilePageShells as renderFarmMobilePageShells, __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 };
|
|
243
331
|
}
|
|
244
332
|
|
|
245
333
|
/** The `mobile` block and its route manifest, loaded only by mobile commands. */
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { bo as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins.d-
|
|
2
|
-
export {
|
|
1
|
+
import { bo as ResolvedFarmConfig, p as FarmUserConfig } from '../client-plugins.d-vXrbcfJ1.js';
|
|
2
|
+
export { bF as FarmDesktopDevSession, bG as FarmDesktopSetupOptions, bH as createFarmDesktopContext, bI as getFarmDesktopOutputDirs, bJ as installFarmDesktopSetup, O as loadConfig, Q as resolveConfig, S as resolveDeployConfig, bK as resolveFarmDesktopBlock, bL as resolveFarmDesktopConfig, bM as setFarmDesktopDevSession, bN as validateFarmDesktopConfig } from '../client-plugins.d-vXrbcfJ1.js';
|
|
3
3
|
import { P as PlatformRouteFiles } from '../generate-route-types.d-BL2pq6xC.js';
|
|
4
|
-
import { F as FarmMobileOS,
|
|
5
|
-
import {
|
|
4
|
+
import { F as FarmMobileOS, i as FarmMobileNativeEngine, g as FarmMobileNativeAuto, o as FarmMobileRouteScreen, p as FarmMobileScreen, e as FarmMobileContext, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules, x as FarmMobileBlockCache, c as FarmMobileBudgets, d as FarmMobileConfigInput, y as FarmMobileContextOptions, h as FarmMobileNativeConfig, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, z as FarmMobileResolveOptions, n as FarmMobileRouteConfig, q as FarmMobileTab, r as FarmMobileUserConfig, A as ResolvedFarmMobileNativeConfig, B as createFarmMobileContext, C as resolveFarmMobileBlock, D as resolveFarmMobileConfig, E as resolveFarmMobileServer, G as validateFarmMobileConfig, H as validateFarmMobilePageConfig } from '../config.d-DqZkLwef.js';
|
|
5
|
+
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-BKSjHuH9.js';
|
|
6
|
+
import { F as FARM_SHELL_PARAM_SEGMENT, a as FARM_SHELL_RENDER_HEADER, b as FARM_SHELL_ROUTE_HEADER, c as createFarmMobileShellRenderPath } from '../shell-render.d-CG6bPiiA.js';
|
|
6
7
|
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite.d-BQFAlG7n.js';
|
|
7
|
-
export { l as logger } from '../utils.d-
|
|
8
|
+
export { l as logger } from '../utils.d-DwZ-KLSB.js';
|
|
8
9
|
import '../lifecycle.d-C2aLBOwu.js';
|
|
9
10
|
import '../route.d-DBTEqifW.js';
|
|
10
11
|
import '../endpoint.d-BgHn0lhl.js';
|
|
@@ -37,6 +38,13 @@ import '../types.d-C41ePjvP.js';
|
|
|
37
38
|
import '../types.d-DQnyD3VD.js';
|
|
38
39
|
import '../font.js';
|
|
39
40
|
|
|
41
|
+
interface FarmMobilePort {
|
|
42
|
+
/** The screen module the native entry registers, relative to the ports directory. */
|
|
43
|
+
entry: string;
|
|
44
|
+
/** Generated sources, keyed by path relative to the ports directory. */
|
|
45
|
+
files: Record<string, string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
40
48
|
/**
|
|
41
49
|
* `.farm/output/mobile/native-report.json` and its terminal table: what each route shows, and
|
|
42
50
|
* for routes the analyzer looked at, whether it could become a native screen and why not.
|
|
@@ -88,6 +96,61 @@ declare function formatFarmMobileNativeReport(report: FarmMobileNativeReport, op
|
|
|
88
96
|
file?: string;
|
|
89
97
|
}): string;
|
|
90
98
|
|
|
99
|
+
/** The page shells of one build, as a shell package writes them into the app. */
|
|
100
|
+
interface FarmMobilePageShells extends FarmMobileShellManifest {
|
|
101
|
+
/** Shell HTML by file name, such as `{ "1a2b3c4d5e6f7a8b.html": "<!DOCTYPE html>..." }`. */
|
|
102
|
+
files: Record<string, string>;
|
|
103
|
+
}
|
|
104
|
+
interface FarmMobilePageShellOptions {
|
|
105
|
+
os: FarmMobileOS;
|
|
106
|
+
/**
|
|
107
|
+
* The text of a stylesheet the document links, by its href, such as `/assets/app-h1a2.css`;
|
|
108
|
+
* undefined for one the build did not write. iOS shells inline every stylesheet they can
|
|
109
|
+
* (`loadHTMLString` has no bundled files to load it from); Android loads it from the app.
|
|
110
|
+
*/
|
|
111
|
+
readStylesheet?: (href: string) => string | undefined;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* A rendered document as a page shell: every script and script preload removed (a shell never
|
|
115
|
+
* runs code; the real document does), the links that name the request's URL (`canonical`,
|
|
116
|
+
* `alternate`: locale and markdown versions) removed, so a shell is the same file for every route
|
|
117
|
+
* that shares it and carries no address of the build's server, `data-farm-page-shell` on `<html>`
|
|
118
|
+
* so app CSS can tell, and on iOS each stylesheet the build wrote inlined.
|
|
119
|
+
*/
|
|
120
|
+
declare function createFarmMobilePageShell(html: string, options: FarmMobilePageShellOptions): string;
|
|
121
|
+
/** A shell's file name: its content hash, so equal shells share one file. */
|
|
122
|
+
declare function getFarmMobilePageShellFile(shell: string): string;
|
|
123
|
+
interface RenderFarmMobilePageShellsOptions extends FarmMobilePageShellOptions {
|
|
124
|
+
/** Page route patterns, route groups removed. */
|
|
125
|
+
routes: readonly string[];
|
|
126
|
+
/** The token the build's server answers shell requests with. */
|
|
127
|
+
token: string;
|
|
128
|
+
/** The app's basePath ("" or "/base"). */
|
|
129
|
+
basePath: string;
|
|
130
|
+
/** The mobile client entry of the build, from `mobile-client.json`. */
|
|
131
|
+
client: string;
|
|
132
|
+
/** Requests a path (with the base path) from the build's server. */
|
|
133
|
+
fetch: (path: string, init: {
|
|
134
|
+
headers: Record<string, string>;
|
|
135
|
+
}) => Promise<Response>;
|
|
136
|
+
/** Requests in flight at once; defaults to 4. */
|
|
137
|
+
concurrency?: number;
|
|
138
|
+
}
|
|
139
|
+
interface RenderedFarmMobilePageShells {
|
|
140
|
+
shells: FarmMobilePageShells;
|
|
141
|
+
/** Routes without a shell and why, for `--verbose` output. */
|
|
142
|
+
skipped: {
|
|
143
|
+
route: string;
|
|
144
|
+
reason: string;
|
|
145
|
+
}[];
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Ask the build's server for each route's shell and keep the ones it renders. The server decides
|
|
149
|
+
* which routes qualify (a loading file and layouts in static folders) and says why the others do
|
|
150
|
+
* not; middleware and guards run as for any request, so a route they redirect gets no shell.
|
|
151
|
+
*/
|
|
152
|
+
declare function renderFarmMobilePageShells(options: RenderFarmMobilePageShellsOptions): Promise<RenderedFarmMobilePageShells>;
|
|
153
|
+
|
|
91
154
|
/** `.farm/mobile-client.json` once the build has finished. */
|
|
92
155
|
interface FarmMobileClientManifest {
|
|
93
156
|
version: 1;
|
|
@@ -103,6 +166,11 @@ interface FarmMobileClientManifest {
|
|
|
103
166
|
* answer exactly these paths from its bundle; a hashed name only ever has these bytes.
|
|
104
167
|
*/
|
|
105
168
|
files: string[];
|
|
169
|
+
/**
|
|
170
|
+
* The client output the files are in, relative to the app root, when it is not the build
|
|
171
|
+
* directory's `client/`: the RSC pipeline (`@farm.js/plugin/rsc`) writes this manifest too.
|
|
172
|
+
*/
|
|
173
|
+
clientDir?: string;
|
|
106
174
|
}
|
|
107
175
|
/** Read the finished manifest, or null when the last build had no mobile client. */
|
|
108
176
|
declare function readFarmMobileClientManifest(buildDir: string): Promise<FarmMobileClientManifest | null>;
|
|
@@ -123,6 +191,8 @@ declare function getFarmMobileOutputDirs(distDir: string): {
|
|
|
123
191
|
/** Built apps, such as the debug APK. */
|
|
124
192
|
dist: string;
|
|
125
193
|
report: string;
|
|
194
|
+
/** Generated React Native ports of portable pages. */
|
|
195
|
+
ports: string;
|
|
126
196
|
analyzerCache: string;
|
|
127
197
|
/** The production build's client output, which holds the mobile client a shell bundles. */
|
|
128
198
|
client: string;
|
|
@@ -149,6 +219,8 @@ interface FarmMobileAppOptions {
|
|
|
149
219
|
* that a page with `export const mobile = { native: true }` is always checked.
|
|
150
220
|
*/
|
|
151
221
|
analyze?: boolean | "always";
|
|
222
|
+
/** `farm build --mobile` with `mobile.shells`: the page shells it rendered, for the manifest. */
|
|
223
|
+
shells?: FarmMobileShellManifest;
|
|
152
224
|
}
|
|
153
225
|
interface FarmMobileApp {
|
|
154
226
|
context: FarmMobileContext;
|
|
@@ -163,9 +235,13 @@ interface FarmMobileApp {
|
|
|
163
235
|
nativeLayouts: Record<string, PlatformRouteFiles>;
|
|
164
236
|
/** Absolute page file per file-based page route. */
|
|
165
237
|
pageFiles: Map<string, string>;
|
|
238
|
+
/** The React Native port of each route Farm ported, written by `generateFarmMobileRoutes`. */
|
|
239
|
+
ports: Record<string, FarmMobilePort>;
|
|
166
240
|
/** The analyzer's report, when it ran. */
|
|
167
241
|
report?: FarmMobileNativeReport;
|
|
168
242
|
analyzerStats?: FarmMobileAnalyzerStats;
|
|
243
|
+
/** The app's own native modules in `src/native/`, when it has any. */
|
|
244
|
+
appModules?: FarmMobileAppModules;
|
|
169
245
|
}
|
|
170
246
|
/** Resolve the `mobile` block for one OS against the app's routes. Writes nothing. */
|
|
171
247
|
declare function resolveFarmMobileApp(options?: FarmMobileAppOptions): Promise<FarmMobileApp>;
|
|
@@ -179,6 +255,9 @@ declare function generateFarmMobileRoutes(options?: FarmMobileAppOptions): Promi
|
|
|
179
255
|
table?: string;
|
|
180
256
|
}>;
|
|
181
257
|
|
|
258
|
+
declare const __mobile_runtime_FARM_SHELL_PARAM_SEGMENT: typeof FARM_SHELL_PARAM_SEGMENT;
|
|
259
|
+
declare const __mobile_runtime_FARM_SHELL_RENDER_HEADER: typeof FARM_SHELL_RENDER_HEADER;
|
|
260
|
+
declare const __mobile_runtime_FARM_SHELL_ROUTE_HEADER: typeof FARM_SHELL_ROUTE_HEADER;
|
|
182
261
|
declare const __mobile_runtime_FarmMobileAnalyzerStats: typeof FarmMobileAnalyzerStats;
|
|
183
262
|
type __mobile_runtime_FarmMobileApp = FarmMobileApp;
|
|
184
263
|
type __mobile_runtime_FarmMobileAppOptions = FarmMobileAppOptions;
|
|
@@ -201,6 +280,8 @@ declare const __mobile_runtime_FarmMobileNativeRouteConfig: typeof FarmMobileNat
|
|
|
201
280
|
declare const __mobile_runtime_FarmMobileOS: typeof FarmMobileOS;
|
|
202
281
|
declare const __mobile_runtime_FarmMobilePageConfig: typeof FarmMobilePageConfig;
|
|
203
282
|
declare const __mobile_runtime_FarmMobilePageExport: typeof FarmMobilePageExport;
|
|
283
|
+
type __mobile_runtime_FarmMobilePageShellOptions = FarmMobilePageShellOptions;
|
|
284
|
+
type __mobile_runtime_FarmMobilePageShells = FarmMobilePageShells;
|
|
204
285
|
declare const __mobile_runtime_FarmMobilePrefetch: typeof FarmMobilePrefetch;
|
|
205
286
|
declare const __mobile_runtime_FarmMobilePresentation: typeof FarmMobilePresentation;
|
|
206
287
|
declare const __mobile_runtime_FarmMobileResolveOptions: typeof FarmMobileResolveOptions;
|
|
@@ -215,22 +296,29 @@ declare const __mobile_runtime_FarmMobileScreenDecision: typeof FarmMobileScreen
|
|
|
215
296
|
declare const __mobile_runtime_FarmMobileScreenSource: typeof FarmMobileScreenSource;
|
|
216
297
|
declare const __mobile_runtime_FarmMobileScreens: typeof FarmMobileScreens;
|
|
217
298
|
declare const __mobile_runtime_FarmMobileScreensOptions: typeof FarmMobileScreensOptions;
|
|
299
|
+
declare const __mobile_runtime_FarmMobileShellManifest: typeof FarmMobileShellManifest;
|
|
218
300
|
declare const __mobile_runtime_FarmMobileTab: typeof FarmMobileTab;
|
|
219
301
|
declare const __mobile_runtime_FarmMobileTier: typeof FarmMobileTier;
|
|
220
302
|
declare const __mobile_runtime_FarmMobileUserConfig: typeof FarmMobileUserConfig;
|
|
221
303
|
declare const __mobile_runtime_FarmUiNode: typeof FarmUiNode;
|
|
304
|
+
type __mobile_runtime_RenderFarmMobilePageShellsOptions = RenderFarmMobilePageShellsOptions;
|
|
305
|
+
type __mobile_runtime_RenderedFarmMobilePageShells = RenderedFarmMobilePageShells;
|
|
222
306
|
declare const __mobile_runtime_ResolvedFarmMobileConfig: typeof ResolvedFarmMobileConfig;
|
|
223
307
|
declare const __mobile_runtime_ResolvedFarmMobileNativeConfig: typeof ResolvedFarmMobileNativeConfig;
|
|
224
308
|
declare const __mobile_runtime_createFarmMobileContext: typeof createFarmMobileContext;
|
|
225
309
|
declare const __mobile_runtime_createFarmMobileModuleId: typeof createFarmMobileModuleId;
|
|
226
310
|
declare const __mobile_runtime_createFarmMobileNativeReport: typeof createFarmMobileNativeReport;
|
|
311
|
+
declare const __mobile_runtime_createFarmMobilePageShell: typeof createFarmMobilePageShell;
|
|
227
312
|
declare const __mobile_runtime_createFarmMobileRouteManifest: typeof createFarmMobileRouteManifest;
|
|
228
313
|
declare const __mobile_runtime_createFarmMobileRoutePattern: typeof createFarmMobileRoutePattern;
|
|
314
|
+
declare const __mobile_runtime_createFarmMobileShellRenderPath: typeof createFarmMobileShellRenderPath;
|
|
229
315
|
declare const __mobile_runtime_formatFarmMobileNativeReport: typeof formatFarmMobileNativeReport;
|
|
230
316
|
declare const __mobile_runtime_generateFarmMobileRoutes: typeof generateFarmMobileRoutes;
|
|
231
317
|
declare const __mobile_runtime_getFarmMobileOutputDirs: typeof getFarmMobileOutputDirs;
|
|
318
|
+
declare const __mobile_runtime_getFarmMobilePageShellFile: typeof getFarmMobilePageShellFile;
|
|
232
319
|
declare const __mobile_runtime_readFarmMobileClientManifest: typeof readFarmMobileClientManifest;
|
|
233
320
|
declare const __mobile_runtime_readFarmMobilePageExport: typeof readFarmMobilePageExport;
|
|
321
|
+
declare const __mobile_runtime_renderFarmMobilePageShells: typeof renderFarmMobilePageShells;
|
|
234
322
|
declare const __mobile_runtime_resolveFarmMobileApp: typeof resolveFarmMobileApp;
|
|
235
323
|
declare const __mobile_runtime_resolveFarmMobileBlock: typeof resolveFarmMobileBlock;
|
|
236
324
|
declare const __mobile_runtime_resolveFarmMobileConfig: typeof resolveFarmMobileConfig;
|
|
@@ -239,7 +327,7 @@ declare const __mobile_runtime_resolveFarmMobileServer: typeof resolveFarmMobile
|
|
|
239
327
|
declare const __mobile_runtime_validateFarmMobileConfig: typeof validateFarmMobileConfig;
|
|
240
328
|
declare const __mobile_runtime_validateFarmMobilePageConfig: typeof validateFarmMobilePageConfig;
|
|
241
329
|
declare namespace __mobile_runtime {
|
|
242
|
-
export { __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, type __mobile_runtime_FarmMobileClientManifest as FarmMobileClientManifest, __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, __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_FarmMobileRouteScreen as FarmMobileRouteScreen, __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_FarmMobileTier as FarmMobileTier, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, __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_readFarmMobileClientManifest as readFarmMobileClientManifest, __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 };
|
|
330
|
+
export { __mobile_runtime_FARM_SHELL_PARAM_SEGMENT as FARM_SHELL_PARAM_SEGMENT, __mobile_runtime_FARM_SHELL_RENDER_HEADER as FARM_SHELL_RENDER_HEADER, __mobile_runtime_FARM_SHELL_ROUTE_HEADER as FARM_SHELL_ROUTE_HEADER, __mobile_runtime_FarmMobileAnalyzerStats as FarmMobileAnalyzerStats, type __mobile_runtime_FarmMobileApp as FarmMobileApp, type __mobile_runtime_FarmMobileAppOptions as FarmMobileAppOptions, __mobile_runtime_FarmMobileBlockCache as FarmMobileBlockCache, __mobile_runtime_FarmMobileBlocker as FarmMobileBlocker, __mobile_runtime_FarmMobileBlockerRule as FarmMobileBlockerRule, __mobile_runtime_FarmMobileBudgets as FarmMobileBudgets, type __mobile_runtime_FarmMobileClientManifest as FarmMobileClientManifest, __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, type __mobile_runtime_FarmMobilePageShellOptions as FarmMobilePageShellOptions, type __mobile_runtime_FarmMobilePageShells as FarmMobilePageShells, __mobile_runtime_FarmMobilePrefetch as FarmMobilePrefetch, __mobile_runtime_FarmMobilePresentation as FarmMobilePresentation, __mobile_runtime_FarmMobileResolveOptions as FarmMobileResolveOptions, __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_FarmMobileRouteScreen as FarmMobileRouteScreen, __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_FarmMobileShellManifest as FarmMobileShellManifest, __mobile_runtime_FarmMobileTab as FarmMobileTab, __mobile_runtime_FarmMobileTier as FarmMobileTier, __mobile_runtime_FarmMobileUserConfig as FarmMobileUserConfig, __mobile_runtime_FarmUiNode as FarmUiNode, type __mobile_runtime_RenderFarmMobilePageShellsOptions as RenderFarmMobilePageShellsOptions, type __mobile_runtime_RenderedFarmMobilePageShells as RenderedFarmMobilePageShells, __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_createFarmMobilePageShell as createFarmMobilePageShell, __mobile_runtime_createFarmMobileRouteManifest as createFarmMobileRouteManifest, __mobile_runtime_createFarmMobileRoutePattern as createFarmMobileRoutePattern, __mobile_runtime_createFarmMobileShellRenderPath as createFarmMobileShellRenderPath, __mobile_runtime_formatFarmMobileNativeReport as formatFarmMobileNativeReport, __mobile_runtime_generateFarmMobileRoutes as generateFarmMobileRoutes, __mobile_runtime_getFarmMobileOutputDirs as getFarmMobileOutputDirs, __mobile_runtime_getFarmMobilePageShellFile as getFarmMobilePageShellFile, __mobile_runtime_readFarmMobileClientManifest as readFarmMobileClientManifest, __mobile_runtime_readFarmMobilePageExport as readFarmMobilePageExport, __mobile_runtime_renderFarmMobilePageShells as renderFarmMobilePageShells, __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 };
|
|
243
331
|
}
|
|
244
332
|
|
|
245
333
|
/** The `mobile` block and its route manifest, loaded only by mobile commands. */
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
resolveConfig,
|
|
7
7
|
resolveDeployConfig
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-VPTWKOCY.mjs";
|
|
9
9
|
import "../chunk-VISQDC6W.mjs";
|
|
10
10
|
import {
|
|
11
11
|
createFarmDesktopContext,
|
|
@@ -22,50 +22,50 @@ import "../chunk-X3XUZWRB.mjs";
|
|
|
22
22
|
import "../chunk-XR2ZIBQK.mjs";
|
|
23
23
|
import "../chunk-CU5SYTJG.mjs";
|
|
24
24
|
import "../chunk-ES2LD2YD.mjs";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-2WZTGPK6.mjs";
|
|
27
|
-
import "../chunk-YAJTD3ZG.mjs";
|
|
25
|
+
import "../chunk-T4TBK5NY.mjs";
|
|
28
26
|
import "../chunk-22W4FNTG.mjs";
|
|
27
|
+
import "../chunk-2WZTGPK6.mjs";
|
|
28
|
+
import "../chunk-KVW2M6PI.mjs";
|
|
29
|
+
import "../chunk-52Y3C3HG.mjs";
|
|
29
30
|
import "../chunk-2NGZFOKG.mjs";
|
|
30
31
|
import "../chunk-N33DLJBC.mjs";
|
|
31
|
-
import "../chunk-52Y3C3HG.mjs";
|
|
32
32
|
import "../chunk-UIJOLBUL.mjs";
|
|
33
|
+
import "../chunk-YSXTNSXS.mjs";
|
|
33
34
|
import "../chunk-VFXE6NWR.mjs";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-JPIUGDK4.mjs";
|
|
36
|
+
import "../chunk-3PX4AIXO.mjs";
|
|
36
37
|
import "../chunk-WXFY5JIY.mjs";
|
|
37
38
|
import "../chunk-FSQMN2MQ.mjs";
|
|
38
|
-
import "../chunk-YWPNIYUP.mjs";
|
|
39
|
-
import "../chunk-LPDKG6RA.mjs";
|
|
40
39
|
import "../chunk-YP7YO3S3.mjs";
|
|
41
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-YWPNIYUP.mjs";
|
|
41
|
+
import "../chunk-IFHPDLIS.mjs";
|
|
42
42
|
import "../chunk-H4WUWLQR.mjs";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-M53MIIXY.mjs";
|
|
44
44
|
import "../chunk-46P5KNTE.mjs";
|
|
45
45
|
import "../chunk-EDPENAVO.mjs";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-C7GJDVN4.mjs";
|
|
47
47
|
import "../chunk-EVMXPJCB.mjs";
|
|
48
48
|
import "../chunk-TGSEVBPO.mjs";
|
|
49
49
|
import "../chunk-QSTRBKHZ.mjs";
|
|
50
50
|
import "../chunk-MU5V7XHL.mjs";
|
|
51
51
|
import {
|
|
52
52
|
logger
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-JSDV2NUN.mjs";
|
|
54
54
|
import "../chunk-H3ASZDT7.mjs";
|
|
55
55
|
import "../chunk-2DA7CLY7.mjs";
|
|
56
56
|
import "../chunk-CO6UYM2D.mjs";
|
|
57
|
+
import "../chunk-2I6PUKWJ.mjs";
|
|
57
58
|
import "../chunk-GFT5AHAT.mjs";
|
|
58
59
|
import "../chunk-D2LCAV6L.mjs";
|
|
59
|
-
import "../chunk-LM2YOGDK.mjs";
|
|
60
60
|
import "../chunk-GYMGK467.mjs";
|
|
61
61
|
import "../chunk-GUZC226X.mjs";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-W6QLRQ3V.mjs";
|
|
63
63
|
import "../chunk-WCLLPR6H.mjs";
|
|
64
64
|
import "../chunk-UAQD67HM.mjs";
|
|
65
65
|
import "../chunk-AZQXXXDX.mjs";
|
|
66
66
|
import "../chunk-ONG4RDW3.mjs";
|
|
67
|
-
import "../chunk-JNYFXL7X.mjs";
|
|
68
67
|
import "../chunk-LM55GS4R.mjs";
|
|
68
|
+
import "../chunk-JNYFXL7X.mjs";
|
|
69
69
|
import "../chunk-OHWM2VI4.mjs";
|
|
70
70
|
import "../chunk-VIXTAVEA.mjs";
|
|
71
71
|
import "../chunk-7S7AAK2D.mjs";
|
|
@@ -75,7 +75,7 @@ import "../chunk-Y6FXYEAI.mjs";
|
|
|
75
75
|
|
|
76
76
|
// src/config-runtime.ts
|
|
77
77
|
function loadFarmMobileRuntime() {
|
|
78
|
-
return import("../runtime-
|
|
78
|
+
return import("../runtime-HFZTVNFF.mjs");
|
|
79
79
|
}
|
|
80
80
|
export {
|
|
81
81
|
createFarmDesktopContext,
|