@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
|
@@ -1,21 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_applyFarmMobileShellClient,
|
|
3
|
+
_checkFarmMobileShellRoute,
|
|
4
|
+
_isFarmMobileShellRenderRequest
|
|
5
|
+
} from "../chunk-JI5D7MXY.mjs";
|
|
1
6
|
import {
|
|
2
7
|
createFarmNativeTreeResponse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-37PYUEK5.mjs";
|
|
9
|
+
import "../chunk-NHD7BAKD.mjs";
|
|
5
10
|
import {
|
|
6
11
|
handleFarmDefaultMCPRequest
|
|
7
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZZ2QKCKW.mjs";
|
|
8
13
|
import {
|
|
9
14
|
generateNativeMCPPluginSource
|
|
10
15
|
} from "../chunk-KQH2COEJ.mjs";
|
|
11
16
|
import {
|
|
12
17
|
createFarmMobileSessionPlugin
|
|
13
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-B4CWYGCG.mjs";
|
|
14
19
|
import {
|
|
15
20
|
_withFarmGuardedResponseCache,
|
|
16
21
|
applyProductionMiddlewareHeaders,
|
|
17
22
|
createProductionMiddlewareRunner
|
|
18
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-EGVC4LIG.mjs";
|
|
19
24
|
import {
|
|
20
25
|
createFarmInstrumentationLifecycle,
|
|
21
26
|
resolveFarmInstrumentationRuntime
|
|
@@ -39,7 +44,7 @@ import {
|
|
|
39
44
|
parseFarmLayoutChainHeader,
|
|
40
45
|
renderFarmLocaleAlternateLinks,
|
|
41
46
|
resolveDefaultErrorStatus
|
|
42
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-PCXIJKPM.mjs";
|
|
43
48
|
import "../chunk-LLZSYFOM.mjs";
|
|
44
49
|
import {
|
|
45
50
|
_farmPluginsKeepResponsesPrivate
|
|
@@ -48,6 +53,9 @@ import {
|
|
|
48
53
|
materializeSSGRoutePath,
|
|
49
54
|
mergeRouteRenderingDirectiveConfig
|
|
50
55
|
} from "../chunk-23LVFSID.mjs";
|
|
56
|
+
import {
|
|
57
|
+
handleFarmFormActionRequest
|
|
58
|
+
} from "../chunk-Z5A6CNV2.mjs";
|
|
51
59
|
import {
|
|
52
60
|
resolveFarmPreviewDeployment
|
|
53
61
|
} from "../chunk-CSLUBKGG.mjs";
|
|
@@ -61,25 +69,18 @@ import {
|
|
|
61
69
|
resolveFarmMCPRouteLabel,
|
|
62
70
|
resolveFarmMarkdownRouteLabel,
|
|
63
71
|
setFarmRouteLabel
|
|
64
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-ZMHAFH4R.mjs";
|
|
65
73
|
import {
|
|
66
74
|
collectFarmDefaultMCPPages,
|
|
67
75
|
resolveFarmDefaultMCPServer
|
|
68
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-UZZ6IEQP.mjs";
|
|
77
|
+
import "../chunk-X3EFRVXY.mjs";
|
|
69
78
|
import {
|
|
70
79
|
ignoreFarmHeldValues,
|
|
71
80
|
installFarmIslandValues
|
|
72
81
|
} from "../chunk-A4PWGL46.mjs";
|
|
73
|
-
import {
|
|
74
|
-
handleFarmFormActionRequest
|
|
75
|
-
} from "../chunk-Z5A6CNV2.mjs";
|
|
76
|
-
import "../chunk-X3EFRVXY.mjs";
|
|
77
|
-
import "../chunk-XAXTTBUT.mjs";
|
|
78
82
|
import "../chunk-MNIR7I7B.mjs";
|
|
79
|
-
import
|
|
80
|
-
_setDefaultFarmThemeConfig,
|
|
81
|
-
getTheme
|
|
82
|
-
} from "../chunk-EMDGXYUD.mjs";
|
|
83
|
+
import "../chunk-XAXTTBUT.mjs";
|
|
83
84
|
import {
|
|
84
85
|
applyFarmPreviewRobotsTag,
|
|
85
86
|
createFarmAgentRobots,
|
|
@@ -88,7 +89,13 @@ import {
|
|
|
88
89
|
manageFarmHtmlPreloads,
|
|
89
90
|
manageFarmLinkHeaderPreloads,
|
|
90
91
|
reportFarmPreloadWarnings
|
|
91
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-T4TBK5NY.mjs";
|
|
93
|
+
import {
|
|
94
|
+
applyFarmCspNonceToResponse,
|
|
95
|
+
createFarmCspNonce,
|
|
96
|
+
resolveFarmSecurityConfig,
|
|
97
|
+
stampFarmCspNonce
|
|
98
|
+
} from "../chunk-22W4FNTG.mjs";
|
|
92
99
|
import "../chunk-2WZTGPK6.mjs";
|
|
93
100
|
import {
|
|
94
101
|
collectFarmLlmsTxtPages,
|
|
@@ -97,29 +104,27 @@ import {
|
|
|
97
104
|
createFarmLlmsMarkdownReader,
|
|
98
105
|
renderFarmLlmsFullTxt,
|
|
99
106
|
resolveFarmLlmsTxtConfig
|
|
100
|
-
} from "../chunk-
|
|
101
|
-
import
|
|
102
|
-
applyFarmCspNonceToResponse,
|
|
103
|
-
createFarmCspNonce,
|
|
104
|
-
resolveFarmSecurityConfig,
|
|
105
|
-
stampFarmCspNonce
|
|
106
|
-
} from "../chunk-22W4FNTG.mjs";
|
|
107
|
+
} from "../chunk-KVW2M6PI.mjs";
|
|
108
|
+
import "../chunk-YSXTNSXS.mjs";
|
|
107
109
|
import "../chunk-FSQMN2MQ.mjs";
|
|
110
|
+
import {
|
|
111
|
+
farmSecretsMatch
|
|
112
|
+
} from "../chunk-YP7YO3S3.mjs";
|
|
113
|
+
import {
|
|
114
|
+
_setDefaultFarmThemeConfig,
|
|
115
|
+
getTheme
|
|
116
|
+
} from "../chunk-EMDGXYUD.mjs";
|
|
108
117
|
import "../chunk-YWPNIYUP.mjs";
|
|
109
|
-
import "../chunk-LPDKG6RA.mjs";
|
|
110
118
|
import {
|
|
111
119
|
_registerFarmStorageModules,
|
|
112
120
|
disposeStorage,
|
|
113
121
|
initStorage
|
|
114
122
|
} from "../chunk-TJVUTGED.mjs";
|
|
115
|
-
import {
|
|
116
|
-
farmSecretsMatch
|
|
117
|
-
} from "../chunk-YP7YO3S3.mjs";
|
|
118
123
|
import {
|
|
119
124
|
resolveFarmRouteContext,
|
|
120
125
|
withFarmRouteContext
|
|
121
126
|
} from "../chunk-BMQAPZXD.mjs";
|
|
122
|
-
import "../chunk-
|
|
127
|
+
import "../chunk-M53MIIXY.mjs";
|
|
123
128
|
import "../chunk-KPAJWD3N.mjs";
|
|
124
129
|
import {
|
|
125
130
|
_runWithMiddlewareContext,
|
|
@@ -135,7 +140,7 @@ import {
|
|
|
135
140
|
import "../chunk-D7Y63SOY.mjs";
|
|
136
141
|
import {
|
|
137
142
|
registerFarmMCPServer
|
|
138
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-C7GJDVN4.mjs";
|
|
139
144
|
import {
|
|
140
145
|
configureFarmCache,
|
|
141
146
|
getFarmDataCache,
|
|
@@ -148,7 +153,7 @@ import {
|
|
|
148
153
|
import {
|
|
149
154
|
matchRoute,
|
|
150
155
|
parseRoutePath
|
|
151
|
-
} from "../chunk-
|
|
156
|
+
} from "../chunk-JSDV2NUN.mjs";
|
|
152
157
|
import {
|
|
153
158
|
createFarmSearchParams,
|
|
154
159
|
searchParamsToObject
|
|
@@ -161,6 +166,7 @@ import {
|
|
|
161
166
|
import {
|
|
162
167
|
fetchFarmExternalRewrite
|
|
163
168
|
} from "../chunk-CO6UYM2D.mjs";
|
|
169
|
+
import "../chunk-2I6PUKWJ.mjs";
|
|
164
170
|
import {
|
|
165
171
|
bufferFarmRequestBody,
|
|
166
172
|
cloneFarmRequestWithContext,
|
|
@@ -172,8 +178,7 @@ import {
|
|
|
172
178
|
resolveFarmServerConfig
|
|
173
179
|
} from "../chunk-GFT5AHAT.mjs";
|
|
174
180
|
import "../chunk-D2LCAV6L.mjs";
|
|
175
|
-
import "../chunk-
|
|
176
|
-
import "../chunk-R4PHCZ3G.mjs";
|
|
181
|
+
import "../chunk-HPWB57PZ.mjs";
|
|
177
182
|
import {
|
|
178
183
|
resolveFarmTrailingSlashRedirect,
|
|
179
184
|
setFarmTrailingSlashPreference
|
|
@@ -181,7 +186,7 @@ import {
|
|
|
181
186
|
import "../chunk-QPNVDSFZ.mjs";
|
|
182
187
|
import "../chunk-5Y4GYKKH.mjs";
|
|
183
188
|
import "../chunk-GUZC226X.mjs";
|
|
184
|
-
import "../chunk-
|
|
189
|
+
import "../chunk-W6QLRQ3V.mjs";
|
|
185
190
|
import {
|
|
186
191
|
createFarmLocaleCookie,
|
|
187
192
|
getFarmLocaleVaryHeaders
|
|
@@ -208,16 +213,16 @@ import "../chunk-AZQXXXDX.mjs";
|
|
|
208
213
|
import {
|
|
209
214
|
appendFarmRedirectQuery
|
|
210
215
|
} from "../chunk-XQ4DPO4G.mjs";
|
|
211
|
-
import {
|
|
212
|
-
getFarmRedirectError,
|
|
213
|
-
isFarmNotFoundError,
|
|
214
|
-
isFarmRedirectError
|
|
215
|
-
} from "../chunk-JNYFXL7X.mjs";
|
|
216
216
|
import {
|
|
217
217
|
_isFarmOwnedResponse,
|
|
218
218
|
_markFarmOwnedResponse,
|
|
219
219
|
_withFarmResponseHeaders
|
|
220
220
|
} from "../chunk-LM55GS4R.mjs";
|
|
221
|
+
import {
|
|
222
|
+
getFarmRedirectError,
|
|
223
|
+
isFarmNotFoundError,
|
|
224
|
+
isFarmRedirectError
|
|
225
|
+
} from "../chunk-JNYFXL7X.mjs";
|
|
221
226
|
import {
|
|
222
227
|
_getRequestReadCount,
|
|
223
228
|
_runWithCurrentRequest,
|
|
@@ -521,77 +526,6 @@ function renderFarmLegacyErrorHtml() {
|
|
|
521
526
|
return FARM_LEGACY_ERROR_HTML;
|
|
522
527
|
}
|
|
523
528
|
|
|
524
|
-
// src/mobile/shell-response.ts
|
|
525
|
-
var FARM_SHELL_HEADER = "X-Farm-Shell";
|
|
526
|
-
function isFarmMobileShellRequest(request) {
|
|
527
|
-
const value = request.headers.get(FARM_SHELL_HEADER);
|
|
528
|
-
return value !== null && /^[a-z][a-z0-9-]{0,31}$/.test(value);
|
|
529
|
-
}
|
|
530
|
-
function isHtml(response) {
|
|
531
|
-
return response.headers.get("content-type")?.toLowerCase().includes("text/html") === true;
|
|
532
|
-
}
|
|
533
|
-
function appendVary(headers, name) {
|
|
534
|
-
const current = headers.get("Vary");
|
|
535
|
-
if (!current) {
|
|
536
|
-
headers.set("Vary", name);
|
|
537
|
-
return;
|
|
538
|
-
}
|
|
539
|
-
const names = current.split(",").map((value) => value.trim().toLowerCase());
|
|
540
|
-
if (names.includes("*") || names.includes(name.toLowerCase())) return;
|
|
541
|
-
headers.set("Vary", `${current}, ${name}`);
|
|
542
|
-
}
|
|
543
|
-
function escapeRegExp(value) {
|
|
544
|
-
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
545
|
-
}
|
|
546
|
-
var MAX_HELD_TAG = 4096;
|
|
547
|
-
function createFarmMobileShellRewriter(client) {
|
|
548
|
-
const entry = new RegExp(`(["'])${escapeRegExp(client.webEntry)}\\1`, "g");
|
|
549
|
-
const webOnly = new Set(client.webOnly);
|
|
550
|
-
const preload = /<link rel="modulepreload" href="\/([^"]+)"[^>]*>/g;
|
|
551
|
-
let held = "";
|
|
552
|
-
return (text, final = false) => {
|
|
553
|
-
let input = held + text;
|
|
554
|
-
held = "";
|
|
555
|
-
if (!final) {
|
|
556
|
-
const open = input.lastIndexOf("<");
|
|
557
|
-
if (open !== -1 && input.indexOf(">", open) === -1 && input.length - open <= MAX_HELD_TAG) {
|
|
558
|
-
held = input.slice(open);
|
|
559
|
-
input = input.slice(0, open);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
return input.replace(entry, (_match, quote) => `${quote}${client.entry}${quote}`).replace(preload, (tag, file) => webOnly.has(file) ? "" : tag);
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
function _applyFarmMobileShellClient(request, response, client, onPrivate) {
|
|
566
|
-
if (!client || !isHtml(response)) return response;
|
|
567
|
-
if (!isFarmMobileShellRequest(request) || !response.body) {
|
|
568
|
-
return _withFarmResponseHeaders(response, (headers2) => appendVary(headers2, FARM_SHELL_HEADER));
|
|
569
|
-
}
|
|
570
|
-
onPrivate?.();
|
|
571
|
-
const headers = new Headers(_withFarmGuardedResponseCache(response).headers);
|
|
572
|
-
appendVary(headers, FARM_SHELL_HEADER);
|
|
573
|
-
headers.delete("content-length");
|
|
574
|
-
headers.delete("etag");
|
|
575
|
-
const rewrite = createFarmMobileShellRewriter(client);
|
|
576
|
-
const decoder = new TextDecoder();
|
|
577
|
-
const encoder = new TextEncoder();
|
|
578
|
-
const body = response.body.pipeThrough(
|
|
579
|
-
new TransformStream({
|
|
580
|
-
transform(chunk, controller) {
|
|
581
|
-
const output = rewrite(decoder.decode(chunk, { stream: true }));
|
|
582
|
-
if (output) controller.enqueue(encoder.encode(output));
|
|
583
|
-
},
|
|
584
|
-
flush(controller) {
|
|
585
|
-
const output = rewrite(decoder.decode(), true);
|
|
586
|
-
if (output) controller.enqueue(encoder.encode(output));
|
|
587
|
-
}
|
|
588
|
-
})
|
|
589
|
-
);
|
|
590
|
-
return _markFarmOwnedResponse(
|
|
591
|
-
new Response(body, { status: response.status, statusText: response.statusText, headers })
|
|
592
|
-
);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
529
|
// src/nitro/production-runtime.ts
|
|
596
530
|
function appendFarmLinkHeader(headers, value) {
|
|
597
531
|
const current = headers.get("Link");
|
|
@@ -605,8 +539,10 @@ function appendFarmLinkHeader(headers, value) {
|
|
|
605
539
|
}
|
|
606
540
|
export {
|
|
607
541
|
_applyFarmMobileShellClient,
|
|
542
|
+
_checkFarmMobileShellRoute,
|
|
608
543
|
_farmPluginsKeepResponsesPrivate,
|
|
609
544
|
_getRequestReadCount,
|
|
545
|
+
_isFarmMobileShellRenderRequest,
|
|
610
546
|
_isFarmOwnedResponse,
|
|
611
547
|
_markFarmOwnedResponse,
|
|
612
548
|
_registerFarmStorageModules,
|
package/dist/markdown.cjs
CHANGED
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
21
|
+
var _chunkLT4VAF5Zcjs = require('./chunk-LT4VAF5Z.cjs');
|
|
22
|
+
require('./chunk-LRB5OVRT.cjs');
|
|
23
23
|
require('./chunk-EVIWKPJV.cjs');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-2OF5RPVU.cjs');
|
|
25
25
|
require('./chunk-CA7DNRHO.cjs');
|
|
26
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-PMJSG4JS.cjs');
|
|
27
27
|
require('./chunk-A25FXJ7D.cjs');
|
|
28
28
|
require('./chunk-D22BUQKW.cjs');
|
|
29
29
|
require('./chunk-YTVSWXEZ.cjs');
|
|
@@ -48,4 +48,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
exports.FARM_MARKDOWN_CONTENT_TYPE =
|
|
51
|
+
exports.FARM_MARKDOWN_CONTENT_TYPE = _chunkLT4VAF5Zcjs.FARM_MARKDOWN_CONTENT_TYPE; exports.FARM_MARKDOWN_PAGE_CHECK_HEADER = _chunkLT4VAF5Zcjs.FARM_MARKDOWN_PAGE_CHECK_HEADER; exports._getFarmMarkdownPageCheckToken = _chunkLT4VAF5Zcjs._getFarmMarkdownPageCheckToken; exports._isFarmMarkdownPageCheck = _chunkLT4VAF5Zcjs._isFarmMarkdownPageCheck; exports._readFarmRenderedHtml = _chunkLT4VAF5Zcjs._readFarmRenderedHtml; exports.applyMarkdownNegotiationHeaders = _chunkLT4VAF5Zcjs.applyMarkdownNegotiationHeaders; exports.createFarmMarkdownErrorBody = _chunkLT4VAF5Zcjs.createFarmMarkdownErrorBody; exports.createMarkdownMirrorResponse = _chunkLT4VAF5Zcjs.createMarkdownMirrorResponse; exports.extractFarmPageActions = _chunkLT4VAF5Zcjs.extractFarmPageActions; exports.farmAcceptQuality = _chunkLT4VAF5Zcjs.farmAcceptQuality; exports.farmRequestWantsMarkdown = _chunkLT4VAF5Zcjs.farmRequestWantsMarkdown; exports.getFarmMarkdownAlternatePath = _chunkLT4VAF5Zcjs.getFarmMarkdownAlternatePath; exports.getFarmMarkdownMirrorPath = _chunkLT4VAF5Zcjs.getFarmMarkdownMirrorPath; exports.htmlToMarkdown = _chunkLT4VAF5Zcjs.htmlToMarkdown; exports.isFarmMarkdownMirrorExposed = _chunkLT4VAF5Zcjs.isFarmMarkdownMirrorExposed; exports.matchesFarmMarkdownRoutePattern = _chunkLT4VAF5Zcjs.matchesFarmMarkdownRoutePattern; exports.requestAcceptsMarkdown = _chunkLT4VAF5Zcjs.requestAcceptsMarkdown; exports.resolveMarkdownConfig = _chunkLT4VAF5Zcjs.resolveMarkdownConfig; exports.resolveMarkdownMirrorTarget = _chunkLT4VAF5Zcjs.resolveMarkdownMirrorTarget;
|
package/dist/markdown.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bU as ApplyMarkdownNegotiationHeadersOptions, bY as CreateMarkdownMirrorResponseOptions, j as FARM_MARKDOWN_CONTENT_TYPE, c5 as FARM_MARKDOWN_PAGE_CHECK_HEADER, dP as FarmMarkdownMirrorTarget, br as FarmMarkdownResolvedConfig, dQ as FarmMarkdownResolvedRoute, dR as FarmMarkdownRouteInput, dS as FarmMarkdownUserConfig, dT as FarmPageFormAction, dU as FarmPageFormField, dV as FarmPageFormOption, dW as FarmPageFormSubmit, eI as ResolveMarkdownMirrorTargetOptions, eP as _getFarmMarkdownPageCheckToken, eQ as _isFarmMarkdownPageCheck, eR as _readFarmRenderedHtml, eS as applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody, eX as createMarkdownMirrorResponse, f3 as extractFarmPageActions, f4 as farmAcceptQuality, l as farmRequestWantsMarkdown, fe as getFarmMarkdownAlternatePath, ff as getFarmMarkdownMirrorPath, fs as htmlToMarkdown, fx as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fK as requestAcceptsMarkdown, fU as resolveMarkdownConfig, fV as resolveMarkdownMirrorTarget } from './client-plugins.d-
|
|
1
|
+
export { bU as ApplyMarkdownNegotiationHeadersOptions, bY as CreateMarkdownMirrorResponseOptions, j as FARM_MARKDOWN_CONTENT_TYPE, c5 as FARM_MARKDOWN_PAGE_CHECK_HEADER, dP as FarmMarkdownMirrorTarget, br as FarmMarkdownResolvedConfig, dQ as FarmMarkdownResolvedRoute, dR as FarmMarkdownRouteInput, dS as FarmMarkdownUserConfig, dT as FarmPageFormAction, dU as FarmPageFormField, dV as FarmPageFormOption, dW as FarmPageFormSubmit, eI as ResolveMarkdownMirrorTargetOptions, eP as _getFarmMarkdownPageCheckToken, eQ as _isFarmMarkdownPageCheck, eR as _readFarmRenderedHtml, eS as applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody, eX as createMarkdownMirrorResponse, f3 as extractFarmPageActions, f4 as farmAcceptQuality, l as farmRequestWantsMarkdown, fe as getFarmMarkdownAlternatePath, ff as getFarmMarkdownMirrorPath, fs as htmlToMarkdown, fx as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fK as requestAcceptsMarkdown, fU as resolveMarkdownConfig, fV as resolveMarkdownMirrorTarget } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
2
2
|
import './lifecycle.d-C2aLBOwu.mjs';
|
|
3
3
|
import './route.d-BaVH3V0w.mjs';
|
|
4
4
|
import './endpoint.d-BkMSCRf6.mjs';
|
|
@@ -28,6 +28,6 @@ import 'rolldown/utils';
|
|
|
28
28
|
import 'rolldown';
|
|
29
29
|
import './image-config.d-CeDgNyX4.mjs';
|
|
30
30
|
import './types.d-C41ePjvP.mjs';
|
|
31
|
-
import './config.d-
|
|
31
|
+
import './config.d-DqZkLwef.mjs';
|
|
32
32
|
import './types.d-DQnyD3VD.mjs';
|
|
33
33
|
import './font.mjs';
|
package/dist/markdown.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bU as ApplyMarkdownNegotiationHeadersOptions, bY as CreateMarkdownMirrorResponseOptions, j as FARM_MARKDOWN_CONTENT_TYPE, c5 as FARM_MARKDOWN_PAGE_CHECK_HEADER, dP as FarmMarkdownMirrorTarget, br as FarmMarkdownResolvedConfig, dQ as FarmMarkdownResolvedRoute, dR as FarmMarkdownRouteInput, dS as FarmMarkdownUserConfig, dT as FarmPageFormAction, dU as FarmPageFormField, dV as FarmPageFormOption, dW as FarmPageFormSubmit, eI as ResolveMarkdownMirrorTargetOptions, eP as _getFarmMarkdownPageCheckToken, eQ as _isFarmMarkdownPageCheck, eR as _readFarmRenderedHtml, eS as applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody, eX as createMarkdownMirrorResponse, f3 as extractFarmPageActions, f4 as farmAcceptQuality, l as farmRequestWantsMarkdown, fe as getFarmMarkdownAlternatePath, ff as getFarmMarkdownMirrorPath, fs as htmlToMarkdown, fx as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fK as requestAcceptsMarkdown, fU as resolveMarkdownConfig, fV as resolveMarkdownMirrorTarget } from './client-plugins.d-
|
|
1
|
+
export { bU as ApplyMarkdownNegotiationHeadersOptions, bY as CreateMarkdownMirrorResponseOptions, j as FARM_MARKDOWN_CONTENT_TYPE, c5 as FARM_MARKDOWN_PAGE_CHECK_HEADER, dP as FarmMarkdownMirrorTarget, br as FarmMarkdownResolvedConfig, dQ as FarmMarkdownResolvedRoute, dR as FarmMarkdownRouteInput, dS as FarmMarkdownUserConfig, dT as FarmPageFormAction, dU as FarmPageFormField, dV as FarmPageFormOption, dW as FarmPageFormSubmit, eI as ResolveMarkdownMirrorTargetOptions, eP as _getFarmMarkdownPageCheckToken, eQ as _isFarmMarkdownPageCheck, eR as _readFarmRenderedHtml, eS as applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody, eX as createMarkdownMirrorResponse, f3 as extractFarmPageActions, f4 as farmAcceptQuality, l as farmRequestWantsMarkdown, fe as getFarmMarkdownAlternatePath, ff as getFarmMarkdownMirrorPath, fs as htmlToMarkdown, fx as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fK as requestAcceptsMarkdown, fU as resolveMarkdownConfig, fV as resolveMarkdownMirrorTarget } from './client-plugins.d-vXrbcfJ1.js';
|
|
2
2
|
import './lifecycle.d-C2aLBOwu.js';
|
|
3
3
|
import './route.d-DBTEqifW.js';
|
|
4
4
|
import './endpoint.d-BgHn0lhl.js';
|
|
@@ -28,6 +28,6 @@ import 'rolldown/utils';
|
|
|
28
28
|
import 'rolldown';
|
|
29
29
|
import './image-config.d-CeDgNyX4.js';
|
|
30
30
|
import './types.d-C41ePjvP.js';
|
|
31
|
-
import './config.d-
|
|
31
|
+
import './config.d-DqZkLwef.js';
|
|
32
32
|
import './types.d-DQnyD3VD.js';
|
|
33
33
|
import './font.js';
|
package/dist/markdown.mjs
CHANGED
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
requestAcceptsMarkdown,
|
|
19
19
|
resolveMarkdownConfig,
|
|
20
20
|
resolveMarkdownMirrorTarget
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-YSXTNSXS.mjs";
|
|
22
|
+
import "./chunk-C7GJDVN4.mjs";
|
|
23
23
|
import "./chunk-2DA7CLY7.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
25
25
|
import "./chunk-GUZC226X.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
27
27
|
import "./chunk-LM55GS4R.mjs";
|
|
28
28
|
import "./chunk-SF3JB56B.mjs";
|
|
29
29
|
import "./chunk-AYP2YFVN.mjs";
|
package/dist/middleware.cjs
CHANGED
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZNH6NR3Hcjs = require('./chunk-ZNH6NR3H.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkRAWWCDCTcjs = require('./chunk-RAWWCDCT.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkLQNW3ABPcjs = require('./chunk-LQNW3ABP.cjs');
|
|
20
|
+
require('./chunk-MHLNWRCJ.cjs');
|
|
21
|
+
require('./chunk-ZDAEHG2O.cjs');
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
var _chunkUPYIFH2Hcjs = require('./chunk-UPYIFH2H.cjs');
|
|
25
|
-
require('./chunk-B3GZAQSC.cjs');
|
|
26
|
-
require('./chunk-EHB77D5U.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -36,17 +36,17 @@ require('./chunk-Y3WG64CP.cjs');
|
|
|
36
36
|
require('./chunk-SNP33A33.cjs');
|
|
37
37
|
require('./chunk-JYNNIGQO.cjs');
|
|
38
38
|
require('./chunk-LNVGXUL3.cjs');
|
|
39
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-QMNWKQL4.cjs');
|
|
40
40
|
require('./chunk-SUCDVKUB.cjs');
|
|
41
41
|
require('./chunk-EVIWKPJV.cjs');
|
|
42
42
|
require('./chunk-YIHRZBD7.cjs');
|
|
43
|
+
require('./chunk-2OF5RPVU.cjs');
|
|
43
44
|
require('./chunk-LIFUPCXW.cjs');
|
|
44
45
|
require('./chunk-JYT7AN37.cjs');
|
|
45
|
-
require('./chunk-
|
|
46
|
-
require('./chunk-IWFV5ZED.cjs');
|
|
46
|
+
require('./chunk-PMJSG4JS.cjs');
|
|
47
47
|
require('./chunk-R5U7OIPI.cjs');
|
|
48
|
-
require('./chunk-7JUIK547.cjs');
|
|
49
48
|
require('./chunk-A25FXJ7D.cjs');
|
|
49
|
+
require('./chunk-7JUIK547.cjs');
|
|
50
50
|
require('./chunk-HNAISJFD.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
@@ -81,4 +81,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
exports.MiddlewareManager =
|
|
84
|
+
exports.MiddlewareManager = _chunkLQNW3ABPcjs.MiddlewareManager; exports.UnsupportedRateLimitStorageError = _chunkZNH6NR3Hcjs.UnsupportedRateLimitStorageError; exports._runWithMiddlewareContext = _chunkYDXLC4DWcjs._runWithMiddlewareContext; exports._runWithMiddlewareData = _chunkYDXLC4DWcjs._runWithMiddlewareData; exports.applyProductionMiddlewareHeaders = _chunkRAWWCDCTcjs.applyProductionMiddlewareHeaders; exports.canonicalizeRequestPathSegments = _chunk6CTFVBATcjs.canonicalizeRequestPathSegments; exports.canonicalizeRequestPathname = _chunk6CTFVBATcjs.canonicalizeRequestPathname; exports.createContext = _chunkLQNW3ABPcjs.createContext; exports.createProductionMiddlewareRunner = _chunkRAWWCDCTcjs.createProductionMiddlewareRunner; exports.farmMiddlewarePlugin = _chunkZNH6NR3Hcjs.farmMiddlewarePlugin; exports.getFromMiddleware = _chunkZNH6NR3Hcjs.getFromMiddleware; exports.getMiddlewareContext = _chunkYDXLC4DWcjs.getMiddlewareContext; exports.getMiddlewareData = _chunkYDXLC4DWcjs.getMiddlewareData; exports.getMiddlewareValue = _chunkYDXLC4DWcjs.getMiddlewareValue; exports.getRateLimitStatus = _chunkZNH6NR3Hcjs.getRateLimitStatus; exports.hasMiddlewareData = _chunkZNH6NR3Hcjs.hasMiddlewareData; exports.matchesMiddlewareConfig = _chunkRAWWCDCTcjs.matchesMiddlewareConfig; exports.memoryRateLimitStorage = _chunkZNH6NR3Hcjs.memoryRateLimitStorage; exports.middleware = _chunkZNH6NR3Hcjs.middleware; exports.parseMiddlewareCookieHeader = _chunkUPYIFH2Hcjs.parseMiddlewareCookieHeader; exports.serializeMiddlewareCookie = _chunkUPYIFH2Hcjs.serializeMiddlewareCookie; exports.serializeMiddlewareCookieDeletion = _chunkUPYIFH2Hcjs.serializeMiddlewareCookieDeletion; exports.unwrapMiddleware = _chunkZNH6NR3Hcjs.unwrapMiddleware;
|
package/dist/middleware.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { eE as RateLimitStorage, eD as RateLimitStatus, es as MemoryRateLimitStorageOptions, ev as MiddlewareChain, bm as MiddlewareContext, bj as FarmMiddlewareConfig, ex as MiddlewareFunction, bl as MiddlewareConfig, b0 as MiddlewareProps, bW as CookieOptions } from './client-plugins.d-
|
|
2
|
-
export { bV as CookieJar, ey as MiddlewareResult, ez as MiddlewareStore, eA as NextFunction, eB as RateLimitConfig, eC as RateLimitIncrementResult, bi as ReadonlyMiddlewareStore, eG as RequestMiddleware, eH as RequestMiddlewareContext } from './client-plugins.d-
|
|
1
|
+
import { eE as RateLimitStorage, eD as RateLimitStatus, es as MemoryRateLimitStorageOptions, ev as MiddlewareChain, bm as MiddlewareContext, bj as FarmMiddlewareConfig, ex as MiddlewareFunction, bl as MiddlewareConfig, b0 as MiddlewareProps, bW as CookieOptions } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
2
|
+
export { bV as CookieJar, ey as MiddlewareResult, ez as MiddlewareStore, eA as NextFunction, eB as RateLimitConfig, eC as RateLimitIncrementResult, bi as ReadonlyMiddlewareStore, eG as RequestMiddleware, eH as RequestMiddlewareContext } from './client-plugins.d-CgQQ-EAv.mjs';
|
|
3
3
|
import { IncomingMessage, ServerResponse } from 'http';
|
|
4
4
|
import { ViteDevServer, Plugin } from 'vite';
|
|
5
5
|
import { f as FarmServerConfig, R as ResolvedFarmServerConfig } from './workflows.d-CRMzQZ3k.mjs';
|
|
6
6
|
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.mjs';
|
|
7
|
-
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData, b as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner, g as getMiddlewareContext, d as getMiddlewareData, e as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime.d-
|
|
7
|
+
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData, b as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner, g as getMiddlewareContext, d as getMiddlewareData, e as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime.d-CP5s6RuY.mjs';
|
|
8
8
|
import './lifecycle.d-C2aLBOwu.mjs';
|
|
9
9
|
import './route.d-BaVH3V0w.mjs';
|
|
10
10
|
import './endpoint.d-BkMSCRf6.mjs';
|
|
@@ -30,7 +30,7 @@ import './layers.d-CcS42OGR.mjs';
|
|
|
30
30
|
import 'rolldown/utils';
|
|
31
31
|
import 'rolldown';
|
|
32
32
|
import './image-config.d-CeDgNyX4.mjs';
|
|
33
|
-
import './config.d-
|
|
33
|
+
import './config.d-DqZkLwef.mjs';
|
|
34
34
|
import './types.d-DQnyD3VD.mjs';
|
|
35
35
|
import './font.mjs';
|
|
36
36
|
|
package/dist/middleware.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { eE as RateLimitStorage, eD as RateLimitStatus, es as MemoryRateLimitStorageOptions, ev as MiddlewareChain, bm as MiddlewareContext, bj as FarmMiddlewareConfig, ex as MiddlewareFunction, bl as MiddlewareConfig, b0 as MiddlewareProps, bW as CookieOptions } from './client-plugins.d-
|
|
2
|
-
export { bV as CookieJar, ey as MiddlewareResult, ez as MiddlewareStore, eA as NextFunction, eB as RateLimitConfig, eC as RateLimitIncrementResult, bi as ReadonlyMiddlewareStore, eG as RequestMiddleware, eH as RequestMiddlewareContext } from './client-plugins.d-
|
|
1
|
+
import { eE as RateLimitStorage, eD as RateLimitStatus, es as MemoryRateLimitStorageOptions, ev as MiddlewareChain, bm as MiddlewareContext, bj as FarmMiddlewareConfig, ex as MiddlewareFunction, bl as MiddlewareConfig, b0 as MiddlewareProps, bW as CookieOptions } from './client-plugins.d-vXrbcfJ1.js';
|
|
2
|
+
export { bV as CookieJar, ey as MiddlewareResult, ez as MiddlewareStore, eA as NextFunction, eB as RateLimitConfig, eC as RateLimitIncrementResult, bi as ReadonlyMiddlewareStore, eG as RequestMiddleware, eH as RequestMiddlewareContext } from './client-plugins.d-vXrbcfJ1.js';
|
|
3
3
|
import { IncomingMessage, ServerResponse } from 'http';
|
|
4
4
|
import { ViteDevServer, Plugin } from 'vite';
|
|
5
5
|
import { f as FarmServerConfig, R as ResolvedFarmServerConfig } from './workflows.d-CRMzQZ3k.js';
|
|
6
6
|
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
|
|
7
|
-
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData, b as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner, g as getMiddlewareContext, d as getMiddlewareData, e as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime.d-
|
|
7
|
+
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData, b as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner, g as getMiddlewareContext, d as getMiddlewareData, e as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime.d-N-cE3pmy.js';
|
|
8
8
|
import './lifecycle.d-C2aLBOwu.js';
|
|
9
9
|
import './route.d-DBTEqifW.js';
|
|
10
10
|
import './endpoint.d-BgHn0lhl.js';
|
|
@@ -30,7 +30,7 @@ import './layers.d-CcS42OGR.js';
|
|
|
30
30
|
import 'rolldown/utils';
|
|
31
31
|
import 'rolldown';
|
|
32
32
|
import './image-config.d-CeDgNyX4.js';
|
|
33
|
-
import './config.d-
|
|
33
|
+
import './config.d-DqZkLwef.js';
|
|
34
34
|
import './types.d-DQnyD3VD.js';
|
|
35
35
|
import './font.js';
|
|
36
36
|
|
package/dist/middleware.mjs
CHANGED
|
@@ -7,23 +7,23 @@ import {
|
|
|
7
7
|
memoryRateLimitStorage,
|
|
8
8
|
middleware,
|
|
9
9
|
unwrapMiddleware
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EZ34EHQP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
applyProductionMiddlewareHeaders,
|
|
13
13
|
createProductionMiddlewareRunner,
|
|
14
14
|
matchesMiddlewareConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EGVC4LIG.mjs";
|
|
16
16
|
import {
|
|
17
17
|
MiddlewareManager,
|
|
18
18
|
createContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-A2MN5PQJ.mjs";
|
|
20
|
+
import "./chunk-MMK4MZUN.mjs";
|
|
21
|
+
import "./chunk-K3RU5MOR.mjs";
|
|
20
22
|
import {
|
|
21
23
|
parseMiddlewareCookieHeader,
|
|
22
24
|
serializeMiddlewareCookie,
|
|
23
25
|
serializeMiddlewareCookieDeletion
|
|
24
26
|
} from "./chunk-KPAJWD3N.mjs";
|
|
25
|
-
import "./chunk-5ENW27SL.mjs";
|
|
26
|
-
import "./chunk-IRSS4HS4.mjs";
|
|
27
27
|
import {
|
|
28
28
|
_runWithMiddlewareContext,
|
|
29
29
|
_runWithMiddlewareData,
|
|
@@ -36,17 +36,17 @@ import "./chunk-IGL6CO6M.mjs";
|
|
|
36
36
|
import "./chunk-VHIXGZYH.mjs";
|
|
37
37
|
import "./chunk-TUOO6IK3.mjs";
|
|
38
38
|
import "./chunk-MU5V7XHL.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-JSDV2NUN.mjs";
|
|
40
40
|
import "./chunk-H3ASZDT7.mjs";
|
|
41
41
|
import "./chunk-2DA7CLY7.mjs";
|
|
42
42
|
import "./chunk-CO6UYM2D.mjs";
|
|
43
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
43
44
|
import "./chunk-GFT5AHAT.mjs";
|
|
44
45
|
import "./chunk-D2LCAV6L.mjs";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-BLD5GVCG.mjs";
|
|
46
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
47
47
|
import "./chunk-AY2YD5ZX.mjs";
|
|
48
|
-
import "./chunk-JNYFXL7X.mjs";
|
|
49
48
|
import "./chunk-LM55GS4R.mjs";
|
|
49
|
+
import "./chunk-JNYFXL7X.mjs";
|
|
50
50
|
import "./chunk-6HRAK7I5.mjs";
|
|
51
51
|
import {
|
|
52
52
|
canonicalizeRequestPathSegments,
|
package/dist/mobile.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { F as FarmMobileOS, R as ResolvedFarmMobileConfig } from './config.d-
|
|
2
|
-
export {
|
|
3
|
-
import { F as FarmMobileRouteManifest } from './routes.d-
|
|
4
|
-
export { a as FarmMobileRouteRule } from './routes.d-
|
|
1
|
+
import { F as FarmMobileOS, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules } from './config.d-DqZkLwef.mjs';
|
|
2
|
+
export { b as FarmMobileAppModuleSpec, c as FarmMobileBudgets, d as FarmMobileConfigInput, e as FarmMobileContext, f as FarmMobileModuleConfig, g as FarmMobileNativeAuto, h as FarmMobileNativeConfig, i as FarmMobileNativeEngine, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, n as FarmMobileRouteConfig, o as FarmMobileRouteScreen, p as FarmMobileScreen, q as FarmMobileTab, r as FarmMobileUserConfig, s as FarmNativeMethod, t as FarmNativeProperty, u as FarmNativeType, v as FarmNativeWebSpec, w as ResolvedFarmMobileModuleConfig } from './config.d-DqZkLwef.mjs';
|
|
3
|
+
import { F as FarmMobileRouteManifest } from './routes.d-qd8Qf4LG.mjs';
|
|
4
|
+
export { a as FarmMobileRouteRule, b as FarmMobileShellManifest } from './routes.d-qd8Qf4LG.mjs';
|
|
5
5
|
import './types.d-C41ePjvP.mjs';
|
|
6
6
|
import './generate-route-types.d-BoVDU8qX.mjs';
|
|
7
7
|
import './layers.d-CcS42OGR.mjs';
|
|
@@ -57,6 +57,19 @@ interface MobileBundledAssets {
|
|
|
57
57
|
/** The mobile client entry among them. */
|
|
58
58
|
entry: string;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The page shells of `farm build --mobile` with `mobile.shells` (RFC 0004, 7.2): per route, the
|
|
62
|
+
* layouts around its `loading.tsx` as HTML with no scripts. `manifest.shells` maps routes to
|
|
63
|
+
* these files. Absent in dev, without `mobile.shells`, or when no route has one.
|
|
64
|
+
*/
|
|
65
|
+
interface MobilePageShells {
|
|
66
|
+
/** The mobile client entry they were rendered with; also `manifest.shells.client`. */
|
|
67
|
+
client: string;
|
|
68
|
+
/** Shell file per page route; also `manifest.shells.routes`. */
|
|
69
|
+
routes: Record<string, string>;
|
|
70
|
+
/** HTML by file name, such as `1a2b3c4d5e6f7a8b.html`. On iOS each stylesheet is inlined. */
|
|
71
|
+
files: Record<string, string>;
|
|
72
|
+
}
|
|
60
73
|
interface MobileShellContext {
|
|
61
74
|
/** App root. */
|
|
62
75
|
root: string;
|
|
@@ -66,6 +79,11 @@ interface MobileShellContext {
|
|
|
66
79
|
mobile: ResolvedFarmMobileConfig;
|
|
67
80
|
/** The app's basePath ("" or "/base"). */
|
|
68
81
|
basePath: string;
|
|
82
|
+
/**
|
|
83
|
+
* `auth.basePath` (such as `/api/auth`) when the app's top-level `auth` is enabled. Native
|
|
84
|
+
* screens sign in only to routes under it; without it the shell has no native sign-in.
|
|
85
|
+
*/
|
|
86
|
+
authBasePath?: string;
|
|
69
87
|
/** The navigator manifest, also written to `.farm/output/mobile/farm-routes.json`. */
|
|
70
88
|
manifest: FarmMobileRouteManifest;
|
|
71
89
|
/** Directory the native project is written to, such as `.farm/output/mobile/android`. */
|
|
@@ -74,6 +92,10 @@ interface MobileShellContext {
|
|
|
74
92
|
native?: MobileNativeScreens;
|
|
75
93
|
/** `farm build --mobile`: the mobile client's files to bundle. Absent in dev. */
|
|
76
94
|
assets?: MobileBundledAssets;
|
|
95
|
+
/** `farm build --mobile` with `mobile.shells`: the page shells to bundle. */
|
|
96
|
+
shells?: MobilePageShells;
|
|
97
|
+
/** The app's own native modules in `src/native/`, when it has any. */
|
|
98
|
+
appModules?: FarmMobileAppModules;
|
|
77
99
|
}
|
|
78
100
|
interface MobilePackageContext extends MobileShellContext {
|
|
79
101
|
/** Directory for built apps (`.farm/output/mobile/dist`). */
|
|
@@ -107,4 +129,4 @@ interface MobileShell {
|
|
|
107
129
|
/** Typed helper for mobile shell packages. */
|
|
108
130
|
declare function defineMobileShell(shell: MobileShell): MobileShell;
|
|
109
131
|
|
|
110
|
-
export { FarmMobileOS, FarmMobileRouteManifest, type MobileBundledAssets, type MobileGeneratedFile, type MobileNativeScreens, type MobilePackageContext, type MobileRunResult, type MobileShell, type MobileShellContext, ResolvedFarmMobileConfig, defineMobileShell };
|
|
132
|
+
export { FarmMobileAppModules, FarmMobileOS, FarmMobileRouteManifest, type MobileBundledAssets, type MobileGeneratedFile, type MobileNativeScreens, type MobilePackageContext, type MobilePageShells, type MobileRunResult, type MobileShell, type MobileShellContext, ResolvedFarmMobileConfig, defineMobileShell };
|
package/dist/mobile.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { F as FarmMobileOS, R as ResolvedFarmMobileConfig } from './config.d-
|
|
2
|
-
export {
|
|
3
|
-
import { F as FarmMobileRouteManifest } from './routes.d-
|
|
4
|
-
export { a as FarmMobileRouteRule } from './routes.d-
|
|
1
|
+
import { F as FarmMobileOS, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules } from './config.d-DqZkLwef.js';
|
|
2
|
+
export { b as FarmMobileAppModuleSpec, c as FarmMobileBudgets, d as FarmMobileConfigInput, e as FarmMobileContext, f as FarmMobileModuleConfig, g as FarmMobileNativeAuto, h as FarmMobileNativeConfig, i as FarmMobileNativeEngine, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, n as FarmMobileRouteConfig, o as FarmMobileRouteScreen, p as FarmMobileScreen, q as FarmMobileTab, r as FarmMobileUserConfig, s as FarmNativeMethod, t as FarmNativeProperty, u as FarmNativeType, v as FarmNativeWebSpec, w as ResolvedFarmMobileModuleConfig } from './config.d-DqZkLwef.js';
|
|
3
|
+
import { F as FarmMobileRouteManifest } from './routes.d-BKSjHuH9.js';
|
|
4
|
+
export { a as FarmMobileRouteRule, b as FarmMobileShellManifest } from './routes.d-BKSjHuH9.js';
|
|
5
5
|
import './types.d-C41ePjvP.js';
|
|
6
6
|
import './generate-route-types.d-BL2pq6xC.js';
|
|
7
7
|
import './layers.d-CcS42OGR.js';
|
|
@@ -57,6 +57,19 @@ interface MobileBundledAssets {
|
|
|
57
57
|
/** The mobile client entry among them. */
|
|
58
58
|
entry: string;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The page shells of `farm build --mobile` with `mobile.shells` (RFC 0004, 7.2): per route, the
|
|
62
|
+
* layouts around its `loading.tsx` as HTML with no scripts. `manifest.shells` maps routes to
|
|
63
|
+
* these files. Absent in dev, without `mobile.shells`, or when no route has one.
|
|
64
|
+
*/
|
|
65
|
+
interface MobilePageShells {
|
|
66
|
+
/** The mobile client entry they were rendered with; also `manifest.shells.client`. */
|
|
67
|
+
client: string;
|
|
68
|
+
/** Shell file per page route; also `manifest.shells.routes`. */
|
|
69
|
+
routes: Record<string, string>;
|
|
70
|
+
/** HTML by file name, such as `1a2b3c4d5e6f7a8b.html`. On iOS each stylesheet is inlined. */
|
|
71
|
+
files: Record<string, string>;
|
|
72
|
+
}
|
|
60
73
|
interface MobileShellContext {
|
|
61
74
|
/** App root. */
|
|
62
75
|
root: string;
|
|
@@ -66,6 +79,11 @@ interface MobileShellContext {
|
|
|
66
79
|
mobile: ResolvedFarmMobileConfig;
|
|
67
80
|
/** The app's basePath ("" or "/base"). */
|
|
68
81
|
basePath: string;
|
|
82
|
+
/**
|
|
83
|
+
* `auth.basePath` (such as `/api/auth`) when the app's top-level `auth` is enabled. Native
|
|
84
|
+
* screens sign in only to routes under it; without it the shell has no native sign-in.
|
|
85
|
+
*/
|
|
86
|
+
authBasePath?: string;
|
|
69
87
|
/** The navigator manifest, also written to `.farm/output/mobile/farm-routes.json`. */
|
|
70
88
|
manifest: FarmMobileRouteManifest;
|
|
71
89
|
/** Directory the native project is written to, such as `.farm/output/mobile/android`. */
|
|
@@ -74,6 +92,10 @@ interface MobileShellContext {
|
|
|
74
92
|
native?: MobileNativeScreens;
|
|
75
93
|
/** `farm build --mobile`: the mobile client's files to bundle. Absent in dev. */
|
|
76
94
|
assets?: MobileBundledAssets;
|
|
95
|
+
/** `farm build --mobile` with `mobile.shells`: the page shells to bundle. */
|
|
96
|
+
shells?: MobilePageShells;
|
|
97
|
+
/** The app's own native modules in `src/native/`, when it has any. */
|
|
98
|
+
appModules?: FarmMobileAppModules;
|
|
77
99
|
}
|
|
78
100
|
interface MobilePackageContext extends MobileShellContext {
|
|
79
101
|
/** Directory for built apps (`.farm/output/mobile/dist`). */
|
|
@@ -107,4 +129,4 @@ interface MobileShell {
|
|
|
107
129
|
/** Typed helper for mobile shell packages. */
|
|
108
130
|
declare function defineMobileShell(shell: MobileShell): MobileShell;
|
|
109
131
|
|
|
110
|
-
export { FarmMobileOS, FarmMobileRouteManifest, type MobileBundledAssets, type MobileGeneratedFile, type MobileNativeScreens, type MobilePackageContext, type MobileRunResult, type MobileShell, type MobileShellContext, ResolvedFarmMobileConfig, defineMobileShell };
|
|
132
|
+
export { FarmMobileAppModules, FarmMobileOS, FarmMobileRouteManifest, type MobileBundledAssets, type MobileGeneratedFile, type MobileNativeScreens, type MobilePackageContext, type MobilePageShells, type MobileRunResult, type MobileShell, type MobileShellContext, ResolvedFarmMobileConfig, defineMobileShell };
|