@farm.js/core 0.1.51-beta.2 → 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-WWCC4GLG.mjs → agent-mcp-handler-7QMX2LUY.mjs} +7 -7
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
- package/dist/{agent-mcp.d-Z5DuwrqW.d.mts → agent-mcp.d-C-2S9bnP.d.mts} +1 -1
- package/dist/{agent-mcp.d-CR5Ov83o.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-Z6TNEAET.mjs → analyzer-22BEYV7S.mjs} +126 -12
- package/dist/{analyzer-T76CN3S7.cjs → analyzer-LCSI3NSH.cjs} +132 -18
- 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-CAHkOBFa.d.mts → app-manifest.d-DrSAHskY.d.mts} +1 -1
- package/dist/{app-manifest.d-DiWr_Jfx.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-DmapqkbV.d.ts → app.d-CmWlYpZJ.d.ts} +9 -4
- package/dist/{app.d-BfgJCsTQ.d.mts → app.d-D6QQM_kk.d.mts} +9 -4
- package/dist/{chunk-SN5VSO3Q.mjs → chunk-25T5VXOE.mjs} +7 -9
- package/dist/{chunk-GUJTVM36.cjs → chunk-2FRLSDBT.cjs} +1 -1
- package/dist/{chunk-LM2YOGDK.mjs → chunk-2I6PUKWJ.mjs} +1 -1
- package/dist/{chunk-EIMK7D2D.mjs → chunk-2KTYMMWT.mjs} +34 -4
- package/dist/{chunk-B5BBTPJQ.cjs → chunk-2OF5RPVU.cjs} +14 -14
- package/dist/chunk-37PYUEK5.mjs +533 -0
- package/dist/chunk-3HLQTOVU.cjs +6 -0
- 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-QXPSWMUD.cjs → chunk-4P23B7DU.cjs} +5 -5
- package/dist/{chunk-YVJV7Q2X.mjs → chunk-55U5QIXQ.mjs} +1 -1
- package/dist/{chunk-5N7QAGEA.cjs → chunk-5JNUYGNF.cjs} +37 -7
- package/dist/{chunk-NJLTQR5P.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-BOVGCUDZ.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-J3LBO2O4.cjs → chunk-DPJ66FSI.cjs} +22 -22
- package/dist/{chunk-NYQSC4DX.cjs → chunk-DZPR2W6U.cjs} +5 -5
- package/dist/{chunk-GW4YUIHW.mjs → chunk-E72UD6ME.mjs} +1 -1
- package/dist/chunk-EFZGB7JC.cjs +114 -0
- 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-FM2UEKS2.mjs → chunk-F6Y7ZAPQ.mjs} +2 -2
- package/dist/{chunk-LMFJCXDD.mjs → chunk-FN5UEC7I.mjs} +1 -1
- package/dist/{chunk-E6LTONL4.mjs → chunk-FORSVMEJ.mjs} +2 -2
- package/dist/{chunk-6CYQQQGR.mjs → chunk-HPWB57PZ.mjs} +1 -1
- package/dist/{chunk-Y2G5SJFB.mjs → chunk-IFHPDLIS.mjs} +1 -1
- package/dist/{chunk-GNJIYJMS.cjs → chunk-IFXSBJPN.cjs} +16 -16
- package/dist/{chunk-74Z5KX4A.mjs → chunk-ILMTRGBG.mjs} +309 -56
- package/dist/{chunk-NXBHYO7S.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-LAZK6UV7.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-LLZSYFOM.mjs +6 -0
- package/dist/{chunk-X2AMN2WV.cjs → chunk-LQNW3ABP.cjs} +10 -10
- package/dist/{chunk-6ONBZGVH.cjs → chunk-LRB5OVRT.cjs} +3 -3
- package/dist/{chunk-WJFFPXCV.cjs → chunk-LT4VAF5Z.cjs} +12 -10
- package/dist/{chunk-F6TLUMH7.mjs → chunk-M53MIIXY.mjs} +1 -1
- package/dist/{chunk-HIFIG6HL.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-DTU4PX7V.cjs → chunk-MTWXOEI4.cjs} +927 -629
- package/dist/chunk-NHD7BAKD.mjs +1457 -0
- package/dist/{chunk-NPQLMP7M.cjs → chunk-NQJDO7K7.cjs} +32 -31
- package/dist/{chunk-76GHW3WI.cjs → chunk-O27PLNQZ.cjs} +10 -10
- package/dist/{chunk-PIHKO25G.mjs → chunk-OM7WILES.mjs} +1 -1
- package/dist/{chunk-7UPCJDB5.mjs → chunk-PCXIJKPM.mjs} +8 -8
- package/dist/{chunk-IWFV5ZED.cjs → chunk-PMJSG4JS.cjs} +1 -1
- package/dist/{chunk-JATTVAHA.cjs → chunk-PRFNLQSP.cjs} +4 -4
- package/dist/{chunk-SBABQKPT.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-IBSAYAWB.mjs → chunk-SX7EECTS.mjs} +8 -5
- package/dist/{chunk-KBRZAYI7.mjs → chunk-T4TBK5NY.mjs} +2 -2
- package/dist/{chunk-4SSRBCBR.mjs → chunk-T7I62A4C.mjs} +619 -321
- package/dist/{chunk-E36C43IX.cjs → chunk-U4BJKNIR.cjs} +6 -6
- package/dist/{chunk-YU42A5MA.cjs → chunk-UDJY2ZGY.cjs} +533 -280
- package/dist/{chunk-SHS6KXOZ.mjs → chunk-UR25Z5Z6.mjs} +1 -1
- package/dist/{chunk-WZW6LEHM.cjs → chunk-UYSTTPYJ.cjs} +1590 -1019
- package/dist/{chunk-KRRZJ77U.mjs → chunk-UZZ6IEQP.mjs} +3 -3
- package/dist/{chunk-EKJYE4Y7.cjs → chunk-VGG74PSU.cjs} +25 -25
- package/dist/{chunk-CTM4SPB3.mjs → chunk-VPTWKOCY.mjs} +20 -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-XTG73QZA.cjs +533 -0
- package/dist/{chunk-XPMC4E2G.cjs → chunk-XVSBALOY.cjs} +3 -3
- package/dist/{chunk-XYL4HSVC.cjs → chunk-YI6FKTTN.cjs} +38 -7
- package/dist/{chunk-N77JBPLC.mjs → chunk-YSXTNSXS.mjs} +10 -8
- package/dist/{chunk-EHB77D5U.cjs → chunk-ZDAEHG2O.cjs} +3 -3
- package/dist/{chunk-PMKUU273.mjs → chunk-ZFUKPWFC.mjs} +1226 -655
- package/dist/{chunk-E73PGHSR.mjs → chunk-ZMHAFH4R.mjs} +8 -8
- package/dist/{chunk-ZOWNWHK6.cjs → chunk-ZNH6NR3H.cjs} +2 -2
- package/dist/chunk-ZNXTU4YH.mjs +114 -0
- package/dist/{chunk-PFV2KPDZ.cjs → chunk-ZOYKJBP5.cjs} +3 -3
- package/dist/{chunk-CECUDGXQ.cjs → chunk-ZP32GNJQ.cjs} +13 -13
- package/dist/{chunk-72D2NX77.mjs → chunk-ZZ2QKCKW.mjs} +1 -1
- package/dist/{client-plugins.d-Bx3FXpqm.d.mts → client-plugins.d-CgQQ-EAv.d.mts} +25 -4
- package/dist/{client-plugins.d-TiLbS5j4.d.ts → client-plugins.d-vXrbcfJ1.d.ts} +25 -4
- 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-iRPI16ku.d.mts → config.d-DqZkLwef.d.mts} +146 -1
- package/dist/{config.d-iRPI16ku.d.ts → config.d-DqZkLwef.d.ts} +146 -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-UQLDAOEI.mjs → devtools-KQZ6SRCJ.mjs} +16 -16
- package/dist/{devtools-6XWCZIGO.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 +99 -95
- package/dist/{index.d-yueUNipJ.d.ts → index.d-DlCELfhf.d.ts} +1 -1
- package/dist/{index.d-YxJ2AiDF.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 -135
- 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 +52 -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 +51 -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 +119 -7
- package/dist/internal/config-runtime.d.ts +119 -7
- 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 +42 -28
- package/dist/internal/production-runtime.d.mts +50 -12
- package/dist/internal/production-runtime.d.ts +50 -12
- package/dist/internal/production-runtime.mjs +52 -38
- package/dist/markdown.cjs +7 -5
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +6 -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 +43 -5
- package/dist/mobile.d.ts +43 -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-VWNW2MQ2.mjs +27 -0
- 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-HnDXhlyP.d.mts → navigation-delegate.d-CnOTWOyi.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BY1e_Xrh.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 +43 -42
- package/dist/plugin.d.mts +5 -4
- package/dist/plugin.d.ts +5 -4
- package/dist/plugin.mjs +42 -41
- package/dist/port-C6GBH4C6.cjs +419 -0
- package/dist/port-WOOQ3V56.mjs +419 -0
- package/dist/{production-runtime.d-BpJUDzP8.d.mts → production-runtime.d-CP5s6RuY.d.mts} +1 -1
- package/dist/{production-runtime.d-lMjvE9cf.d.ts → production-runtime.d-N-cE3pmy.d.ts} +1 -1
- package/dist/{programmatic-routes-client.d-BlFp5hv4.d.ts → programmatic-routes-client.d-CLG2N1yH.d.ts} +2 -2
- package/dist/{programmatic-routes-client.d-6CGQ3TCk.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-DhP0mTHF.d.ts → render-plan.d-B9lAP3uX.d.ts} +1 -1
- package/dist/{render-plan.d-BH9edqKs.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-BVZrsR1v.d.ts → request.d-BiicaNxb.d.ts} +1 -1
- package/dist/{request.d-DJFRdKi8.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-Bpmw7PED.d.mts → route-rendering.d-BrIKA51A.d.mts} +1 -1
- package/dist/{route-rendering.d-B00JtK_-.d.ts → route-rendering.d-Iss0C7GR.d.ts} +1 -1
- package/dist/{router.d-Bd1x9XxQ.d.ts → router.d-DjGn_al7.d.ts} +1 -1
- package/dist/{router.d-e0jQ3jQ-.d.mts → router.d-mNTbOGV_.d.mts} +1 -1
- package/dist/{routes.d-D96Dq9lz.d.ts → routes.d-BKSjHuH9.d.ts} +27 -4
- package/dist/{routes.d-Cmv8TgVq.d.mts → routes.d-qd8Qf4LG.d.mts} +27 -4
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/{rsc-pipeline-DX4OC5FN.cjs → rsc-pipeline-SVLBTY7H.cjs} +21 -21
- package/dist/{rsc-pipeline-ZQ4CTVEG.mjs → rsc-pipeline-WBLBDQXA.mjs} +20 -20
- package/dist/{runtime-NQ3EDSA7.cjs → runtime-DGUOWSMF.cjs} +307 -48
- package/dist/{runtime-NPDRDV6R.mjs → runtime-HFZTVNFF.mjs} +298 -39
- package/dist/{runtime.d-CgB3IJDq.d.mts → runtime.d-BNVbojF1.d.mts} +1 -1
- package/dist/{runtime.d-D-td-RR3.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 +82 -81
- package/dist/server.d.mts +12 -11
- package/dist/server.d.ts +12 -11
- package/dist/server.mjs +65 -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-CO01mVOM.d.ts → spa-router.d-DAtnNoBe.d.ts} +11 -2
- package/dist/{spa-router.d-BWDhS0FK.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-B77__yh8.d.ts → utils.d-DwZ-KLSB.d.ts} +7 -1
- package/dist/{utils.d-DRDazhCA.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 +43 -42
- package/dist/vite.d.mts +17 -6
- package/dist/vite.d.ts +17 -6
- package/dist/vite.mjs +42 -41
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +17 -3
- package/dist/agent-mcp-handler-RT3COCEL.cjs +0 -18
- 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,17 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_applyFarmMobileShellClient,
|
|
3
|
+
_checkFarmMobileShellRoute,
|
|
4
|
+
_isFarmMobileShellRenderRequest
|
|
5
|
+
} from "../chunk-JI5D7MXY.mjs";
|
|
6
|
+
import {
|
|
7
|
+
createFarmNativeTreeResponse
|
|
8
|
+
} from "../chunk-37PYUEK5.mjs";
|
|
9
|
+
import "../chunk-NHD7BAKD.mjs";
|
|
1
10
|
import {
|
|
2
11
|
handleFarmDefaultMCPRequest
|
|
3
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZZ2QKCKW.mjs";
|
|
4
13
|
import {
|
|
5
14
|
generateNativeMCPPluginSource
|
|
6
15
|
} from "../chunk-KQH2COEJ.mjs";
|
|
7
16
|
import {
|
|
8
17
|
createFarmMobileSessionPlugin
|
|
9
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-B4CWYGCG.mjs";
|
|
10
19
|
import {
|
|
11
20
|
_withFarmGuardedResponseCache,
|
|
12
21
|
applyProductionMiddlewareHeaders,
|
|
13
22
|
createProductionMiddlewareRunner
|
|
14
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-EGVC4LIG.mjs";
|
|
15
24
|
import {
|
|
16
25
|
createFarmInstrumentationLifecycle,
|
|
17
26
|
resolveFarmInstrumentationRuntime
|
|
@@ -35,7 +44,8 @@ import {
|
|
|
35
44
|
parseFarmLayoutChainHeader,
|
|
36
45
|
renderFarmLocaleAlternateLinks,
|
|
37
46
|
resolveDefaultErrorStatus
|
|
38
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-PCXIJKPM.mjs";
|
|
48
|
+
import "../chunk-LLZSYFOM.mjs";
|
|
39
49
|
import {
|
|
40
50
|
_farmPluginsKeepResponsesPrivate
|
|
41
51
|
} from "../chunk-UUMKLGUU.mjs";
|
|
@@ -43,6 +53,9 @@ import {
|
|
|
43
53
|
materializeSSGRoutePath,
|
|
44
54
|
mergeRouteRenderingDirectiveConfig
|
|
45
55
|
} from "../chunk-23LVFSID.mjs";
|
|
56
|
+
import {
|
|
57
|
+
handleFarmFormActionRequest
|
|
58
|
+
} from "../chunk-Z5A6CNV2.mjs";
|
|
46
59
|
import {
|
|
47
60
|
resolveFarmPreviewDeployment
|
|
48
61
|
} from "../chunk-CSLUBKGG.mjs";
|
|
@@ -56,25 +69,18 @@ import {
|
|
|
56
69
|
resolveFarmMCPRouteLabel,
|
|
57
70
|
resolveFarmMarkdownRouteLabel,
|
|
58
71
|
setFarmRouteLabel
|
|
59
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-ZMHAFH4R.mjs";
|
|
60
73
|
import {
|
|
61
74
|
collectFarmDefaultMCPPages,
|
|
62
75
|
resolveFarmDefaultMCPServer
|
|
63
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-UZZ6IEQP.mjs";
|
|
77
|
+
import "../chunk-X3EFRVXY.mjs";
|
|
64
78
|
import {
|
|
65
79
|
ignoreFarmHeldValues,
|
|
66
80
|
installFarmIslandValues
|
|
67
81
|
} from "../chunk-A4PWGL46.mjs";
|
|
68
|
-
import {
|
|
69
|
-
handleFarmFormActionRequest
|
|
70
|
-
} from "../chunk-Z5A6CNV2.mjs";
|
|
71
|
-
import "../chunk-X3EFRVXY.mjs";
|
|
72
|
-
import "../chunk-XAXTTBUT.mjs";
|
|
73
82
|
import "../chunk-MNIR7I7B.mjs";
|
|
74
|
-
import
|
|
75
|
-
_setDefaultFarmThemeConfig,
|
|
76
|
-
getTheme
|
|
77
|
-
} from "../chunk-EMDGXYUD.mjs";
|
|
83
|
+
import "../chunk-XAXTTBUT.mjs";
|
|
78
84
|
import {
|
|
79
85
|
applyFarmPreviewRobotsTag,
|
|
80
86
|
createFarmAgentRobots,
|
|
@@ -83,7 +89,13 @@ import {
|
|
|
83
89
|
manageFarmHtmlPreloads,
|
|
84
90
|
manageFarmLinkHeaderPreloads,
|
|
85
91
|
reportFarmPreloadWarnings
|
|
86
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-T4TBK5NY.mjs";
|
|
93
|
+
import {
|
|
94
|
+
applyFarmCspNonceToResponse,
|
|
95
|
+
createFarmCspNonce,
|
|
96
|
+
resolveFarmSecurityConfig,
|
|
97
|
+
stampFarmCspNonce
|
|
98
|
+
} from "../chunk-22W4FNTG.mjs";
|
|
87
99
|
import "../chunk-2WZTGPK6.mjs";
|
|
88
100
|
import {
|
|
89
101
|
collectFarmLlmsTxtPages,
|
|
@@ -92,29 +104,27 @@ import {
|
|
|
92
104
|
createFarmLlmsMarkdownReader,
|
|
93
105
|
renderFarmLlmsFullTxt,
|
|
94
106
|
resolveFarmLlmsTxtConfig
|
|
95
|
-
} from "../chunk-
|
|
96
|
-
import
|
|
97
|
-
applyFarmCspNonceToResponse,
|
|
98
|
-
createFarmCspNonce,
|
|
99
|
-
resolveFarmSecurityConfig,
|
|
100
|
-
stampFarmCspNonce
|
|
101
|
-
} from "../chunk-22W4FNTG.mjs";
|
|
107
|
+
} from "../chunk-KVW2M6PI.mjs";
|
|
108
|
+
import "../chunk-YSXTNSXS.mjs";
|
|
102
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";
|
|
103
117
|
import "../chunk-YWPNIYUP.mjs";
|
|
104
|
-
import "../chunk-N77JBPLC.mjs";
|
|
105
118
|
import {
|
|
106
119
|
_registerFarmStorageModules,
|
|
107
120
|
disposeStorage,
|
|
108
121
|
initStorage
|
|
109
122
|
} from "../chunk-TJVUTGED.mjs";
|
|
110
|
-
import {
|
|
111
|
-
farmSecretsMatch
|
|
112
|
-
} from "../chunk-YP7YO3S3.mjs";
|
|
113
123
|
import {
|
|
114
124
|
resolveFarmRouteContext,
|
|
115
125
|
withFarmRouteContext
|
|
116
126
|
} from "../chunk-BMQAPZXD.mjs";
|
|
117
|
-
import "../chunk-
|
|
127
|
+
import "../chunk-M53MIIXY.mjs";
|
|
118
128
|
import "../chunk-KPAJWD3N.mjs";
|
|
119
129
|
import {
|
|
120
130
|
_runWithMiddlewareContext,
|
|
@@ -130,7 +140,7 @@ import {
|
|
|
130
140
|
import "../chunk-D7Y63SOY.mjs";
|
|
131
141
|
import {
|
|
132
142
|
registerFarmMCPServer
|
|
133
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-C7GJDVN4.mjs";
|
|
134
144
|
import {
|
|
135
145
|
configureFarmCache,
|
|
136
146
|
getFarmDataCache,
|
|
@@ -143,7 +153,7 @@ import {
|
|
|
143
153
|
import {
|
|
144
154
|
matchRoute,
|
|
145
155
|
parseRoutePath
|
|
146
|
-
} from "../chunk-
|
|
156
|
+
} from "../chunk-JSDV2NUN.mjs";
|
|
147
157
|
import {
|
|
148
158
|
createFarmSearchParams,
|
|
149
159
|
searchParamsToObject
|
|
@@ -156,6 +166,7 @@ import {
|
|
|
156
166
|
import {
|
|
157
167
|
fetchFarmExternalRewrite
|
|
158
168
|
} from "../chunk-CO6UYM2D.mjs";
|
|
169
|
+
import "../chunk-2I6PUKWJ.mjs";
|
|
159
170
|
import {
|
|
160
171
|
bufferFarmRequestBody,
|
|
161
172
|
cloneFarmRequestWithContext,
|
|
@@ -167,8 +178,7 @@ import {
|
|
|
167
178
|
resolveFarmServerConfig
|
|
168
179
|
} from "../chunk-GFT5AHAT.mjs";
|
|
169
180
|
import "../chunk-D2LCAV6L.mjs";
|
|
170
|
-
import "../chunk-
|
|
171
|
-
import "../chunk-6CYQQQGR.mjs";
|
|
181
|
+
import "../chunk-HPWB57PZ.mjs";
|
|
172
182
|
import {
|
|
173
183
|
resolveFarmTrailingSlashRedirect,
|
|
174
184
|
setFarmTrailingSlashPreference
|
|
@@ -176,7 +186,7 @@ import {
|
|
|
176
186
|
import "../chunk-QPNVDSFZ.mjs";
|
|
177
187
|
import "../chunk-5Y4GYKKH.mjs";
|
|
178
188
|
import "../chunk-GUZC226X.mjs";
|
|
179
|
-
import "../chunk-
|
|
189
|
+
import "../chunk-W6QLRQ3V.mjs";
|
|
180
190
|
import {
|
|
181
191
|
createFarmLocaleCookie,
|
|
182
192
|
getFarmLocaleVaryHeaders
|
|
@@ -203,16 +213,16 @@ import "../chunk-AZQXXXDX.mjs";
|
|
|
203
213
|
import {
|
|
204
214
|
appendFarmRedirectQuery
|
|
205
215
|
} from "../chunk-XQ4DPO4G.mjs";
|
|
206
|
-
import {
|
|
207
|
-
getFarmRedirectError,
|
|
208
|
-
isFarmNotFoundError,
|
|
209
|
-
isFarmRedirectError
|
|
210
|
-
} from "../chunk-JNYFXL7X.mjs";
|
|
211
216
|
import {
|
|
212
217
|
_isFarmOwnedResponse,
|
|
213
218
|
_markFarmOwnedResponse,
|
|
214
219
|
_withFarmResponseHeaders
|
|
215
220
|
} from "../chunk-LM55GS4R.mjs";
|
|
221
|
+
import {
|
|
222
|
+
getFarmRedirectError,
|
|
223
|
+
isFarmNotFoundError,
|
|
224
|
+
isFarmRedirectError
|
|
225
|
+
} from "../chunk-JNYFXL7X.mjs";
|
|
216
226
|
import {
|
|
217
227
|
_getRequestReadCount,
|
|
218
228
|
_runWithCurrentRequest,
|
|
@@ -528,8 +538,11 @@ function appendFarmLinkHeader(headers, value) {
|
|
|
528
538
|
}
|
|
529
539
|
}
|
|
530
540
|
export {
|
|
541
|
+
_applyFarmMobileShellClient,
|
|
542
|
+
_checkFarmMobileShellRoute,
|
|
531
543
|
_farmPluginsKeepResponsesPrivate,
|
|
532
544
|
_getRequestReadCount,
|
|
545
|
+
_isFarmMobileShellRenderRequest,
|
|
533
546
|
_isFarmOwnedResponse,
|
|
534
547
|
_markFarmOwnedResponse,
|
|
535
548
|
_registerFarmStorageModules,
|
|
@@ -578,6 +591,7 @@ export {
|
|
|
578
591
|
createFarmLocaleCookie,
|
|
579
592
|
createFarmMetadataRouteResponse,
|
|
580
593
|
createFarmMobileSessionPlugin,
|
|
594
|
+
createFarmNativeTreeResponse,
|
|
581
595
|
createFarmNodeRequestAbortSignal,
|
|
582
596
|
createFarmProductionLifecycle,
|
|
583
597
|
createFarmRequestBodyErrorResponse,
|
package/dist/markdown.cjs
CHANGED
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
require('./chunk-
|
|
20
|
+
|
|
21
|
+
var _chunkLT4VAF5Zcjs = require('./chunk-LT4VAF5Z.cjs');
|
|
22
|
+
require('./chunk-LRB5OVRT.cjs');
|
|
22
23
|
require('./chunk-EVIWKPJV.cjs');
|
|
23
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-2OF5RPVU.cjs');
|
|
24
25
|
require('./chunk-CA7DNRHO.cjs');
|
|
25
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-PMJSG4JS.cjs');
|
|
26
27
|
require('./chunk-A25FXJ7D.cjs');
|
|
27
28
|
require('./chunk-D22BUQKW.cjs');
|
|
28
29
|
require('./chunk-YTVSWXEZ.cjs');
|
|
@@ -46,4 +47,5 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
|
|
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 applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody,
|
|
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 applyMarkdownNegotiationHeaders, k as createFarmMarkdownErrorBody,
|
|
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
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
4
4
|
_getFarmMarkdownPageCheckToken,
|
|
5
5
|
_isFarmMarkdownPageCheck,
|
|
6
|
+
_readFarmRenderedHtml,
|
|
6
7
|
applyMarkdownNegotiationHeaders,
|
|
7
8
|
createFarmMarkdownErrorBody,
|
|
8
9
|
createMarkdownMirrorResponse,
|
|
@@ -17,12 +18,12 @@ import {
|
|
|
17
18
|
requestAcceptsMarkdown,
|
|
18
19
|
resolveMarkdownConfig,
|
|
19
20
|
resolveMarkdownMirrorTarget
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-YSXTNSXS.mjs";
|
|
22
|
+
import "./chunk-C7GJDVN4.mjs";
|
|
22
23
|
import "./chunk-2DA7CLY7.mjs";
|
|
23
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-2I6PUKWJ.mjs";
|
|
24
25
|
import "./chunk-GUZC226X.mjs";
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-W6QLRQ3V.mjs";
|
|
26
27
|
import "./chunk-LM55GS4R.mjs";
|
|
27
28
|
import "./chunk-SF3JB56B.mjs";
|
|
28
29
|
import "./chunk-AYP2YFVN.mjs";
|
|
@@ -32,6 +33,7 @@ export {
|
|
|
32
33
|
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
33
34
|
_getFarmMarkdownPageCheckToken,
|
|
34
35
|
_isFarmMarkdownPageCheck,
|
|
36
|
+
_readFarmRenderedHtml,
|
|
35
37
|
applyMarkdownNegotiationHeaders,
|
|
36
38
|
createFarmMarkdownErrorBody,
|
|
37
39
|
createMarkdownMirrorResponse,
|
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';
|
|
@@ -43,6 +43,33 @@ interface MobileNativeScreens {
|
|
|
43
43
|
mainModule: string;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* The mobile client's content-hashed files, which a shell answers from the app instead of the
|
|
48
|
+
* network (RFC 0004, 7.2). Documents still come from `mobile.server`, which decides which client
|
|
49
|
+
* they load; a newer deployment references names the app does not have, and those load from
|
|
50
|
+
* the network.
|
|
51
|
+
*/
|
|
52
|
+
interface MobileBundledAssets {
|
|
53
|
+
/** The build's client output; each file is read from here. */
|
|
54
|
+
dir: string;
|
|
55
|
+
/** URL paths at the server origin, such as `/farm-mobile-client-h1a2b3c4d.js`, sorted. */
|
|
56
|
+
files: string[];
|
|
57
|
+
/** The mobile client entry among them. */
|
|
58
|
+
entry: string;
|
|
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
|
+
}
|
|
46
73
|
interface MobileShellContext {
|
|
47
74
|
/** App root. */
|
|
48
75
|
root: string;
|
|
@@ -52,12 +79,23 @@ interface MobileShellContext {
|
|
|
52
79
|
mobile: ResolvedFarmMobileConfig;
|
|
53
80
|
/** The app's basePath ("" or "/base"). */
|
|
54
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;
|
|
55
87
|
/** The navigator manifest, also written to `.farm/output/mobile/farm-routes.json`. */
|
|
56
88
|
manifest: FarmMobileRouteManifest;
|
|
57
89
|
/** Directory the native project is written to, such as `.farm/output/mobile/android`. */
|
|
58
90
|
projectDir: string;
|
|
59
91
|
/** React Native screens, when at least one route resolves to one on this OS. */
|
|
60
92
|
native?: MobileNativeScreens;
|
|
93
|
+
/** `farm build --mobile`: the mobile client's files to bundle. Absent in dev. */
|
|
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;
|
|
61
99
|
}
|
|
62
100
|
interface MobilePackageContext extends MobileShellContext {
|
|
63
101
|
/** Directory for built apps (`.farm/output/mobile/dist`). */
|
|
@@ -91,4 +129,4 @@ interface MobileShell {
|
|
|
91
129
|
/** Typed helper for mobile shell packages. */
|
|
92
130
|
declare function defineMobileShell(shell: MobileShell): MobileShell;
|
|
93
131
|
|
|
94
|
-
export { FarmMobileOS, FarmMobileRouteManifest, 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';
|
|
@@ -43,6 +43,33 @@ interface MobileNativeScreens {
|
|
|
43
43
|
mainModule: string;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* The mobile client's content-hashed files, which a shell answers from the app instead of the
|
|
48
|
+
* network (RFC 0004, 7.2). Documents still come from `mobile.server`, which decides which client
|
|
49
|
+
* they load; a newer deployment references names the app does not have, and those load from
|
|
50
|
+
* the network.
|
|
51
|
+
*/
|
|
52
|
+
interface MobileBundledAssets {
|
|
53
|
+
/** The build's client output; each file is read from here. */
|
|
54
|
+
dir: string;
|
|
55
|
+
/** URL paths at the server origin, such as `/farm-mobile-client-h1a2b3c4d.js`, sorted. */
|
|
56
|
+
files: string[];
|
|
57
|
+
/** The mobile client entry among them. */
|
|
58
|
+
entry: string;
|
|
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
|
+
}
|
|
46
73
|
interface MobileShellContext {
|
|
47
74
|
/** App root. */
|
|
48
75
|
root: string;
|
|
@@ -52,12 +79,23 @@ interface MobileShellContext {
|
|
|
52
79
|
mobile: ResolvedFarmMobileConfig;
|
|
53
80
|
/** The app's basePath ("" or "/base"). */
|
|
54
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;
|
|
55
87
|
/** The navigator manifest, also written to `.farm/output/mobile/farm-routes.json`. */
|
|
56
88
|
manifest: FarmMobileRouteManifest;
|
|
57
89
|
/** Directory the native project is written to, such as `.farm/output/mobile/android`. */
|
|
58
90
|
projectDir: string;
|
|
59
91
|
/** React Native screens, when at least one route resolves to one on this OS. */
|
|
60
92
|
native?: MobileNativeScreens;
|
|
93
|
+
/** `farm build --mobile`: the mobile client's files to bundle. Absent in dev. */
|
|
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;
|
|
61
99
|
}
|
|
62
100
|
interface MobilePackageContext extends MobileShellContext {
|
|
63
101
|
/** Directory for built apps (`.farm/output/mobile/dist`). */
|
|
@@ -91,4 +129,4 @@ interface MobileShell {
|
|
|
91
129
|
/** Typed helper for mobile shell packages. */
|
|
92
130
|
declare function defineMobileShell(shell: MobileShell): MobileShell;
|
|
93
131
|
|
|
94
|
-
export { FarmMobileOS, FarmMobileRouteManifest, 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 };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readFarmMobileWebModules,
|
|
3
|
+
resolveFarmMobileModules,
|
|
4
|
+
scanFarmMobileAppModules
|
|
5
|
+
} from "./chunk-SJRCWF4Z.mjs";
|
|
6
|
+
import "./chunk-6UUH4N4J.mjs";
|
|
7
|
+
import "./chunk-UB7RVEMX.mjs";
|
|
8
|
+
import "./chunk-Y6FXYEAI.mjs";
|
|
9
|
+
export {
|
|
10
|
+
readFarmMobileWebModules,
|
|
11
|
+
resolveFarmMobileModules,
|
|
12
|
+
scanFarmMobileAppModules
|
|
13
|
+
};
|