@farm.js/core 0.1.66 → 0.1.68
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-QLFDDTYN.mjs → agent-mcp-handler-AZ7QW4UP.mjs} +5 -5
- package/dist/{agent-mcp-handler-OXT73ZBY.cjs → agent-mcp-handler-FER4MQDF.cjs} +6 -6
- package/dist/{agent-mcp.d-QD2WZ9BS.d.ts → agent-mcp.d-Uh5xr7aX.d.ts} +1 -1
- package/dist/{agent-mcp.d-CO_ABmNK.d.mts → agent-mcp.d-wkVPK1GA.d.mts} +1 -1
- package/dist/agent-runtime.cjs +6 -5
- package/dist/agent-runtime.d.mts +10 -8
- package/dist/agent-runtime.d.ts +10 -8
- package/dist/agent-runtime.mjs +5 -4
- package/dist/{analyzer-4UFP4HVP.mjs → analyzer-CQDU7E3Y.mjs} +2 -2
- package/dist/analyzer-PPAHM4AW.cjs +16 -0
- package/dist/api/client.cjs +12 -2
- package/dist/api/client.d.mts +4 -4
- package/dist/api/client.d.ts +4 -4
- package/dist/api/client.mjs +12 -2
- package/dist/api/client.native.cjs +12 -2
- package/dist/api/client.native.d.mts +5 -5
- package/dist/api/client.native.d.ts +5 -5
- package/dist/api/client.native.mjs +12 -2
- package/dist/api/node.cjs +223 -0
- package/dist/api/node.d.mts +61 -0
- package/dist/api/node.d.ts +61 -0
- package/dist/api/node.mjs +223 -0
- package/dist/api/route-manager.cjs +11 -11
- package/dist/api/route-manager.d.mts +14 -11
- package/dist/api/route-manager.d.ts +14 -11
- package/dist/api/route-manager.mjs +10 -10
- package/dist/api/runtime.cjs +11 -7
- package/dist/api/runtime.d.mts +11 -9
- package/dist/api/runtime.d.ts +11 -9
- package/dist/api/runtime.mjs +10 -6
- package/dist/{api-client.d-BNLXNCXJ.d.mts → api-client.d-Bp35zMqR.d.mts} +1 -1
- package/dist/{api-client.d-ddQBNGtu.d.ts → api-client.d-CFI_xL0V.d.ts} +1 -1
- package/dist/api.cjs +17 -13
- package/dist/api.d.mts +15 -12
- package/dist/api.d.ts +15 -12
- package/dist/api.mjs +16 -12
- package/dist/{app-manifest.d-DDmNkYQQ.d.ts → app-manifest.d-BT5i2F-o.d.ts} +1 -1
- package/dist/{app-manifest.d-BpKxiU_E.d.mts → app-manifest.d-Dd4q5CFx.d.mts} +1 -1
- package/dist/app-markdown.cjs +5 -5
- package/dist/app-markdown.d.mts +15 -15
- package/dist/app-markdown.d.ts +15 -15
- package/dist/app-markdown.mjs +4 -4
- package/dist/{app.d-x68Cwr0_.d.ts → app.d-BVOpL_f2.d.ts} +52 -11
- package/dist/{app.d-kuoVWhWM.d.mts → app.d-BhiDXex_.d.mts} +52 -11
- package/dist/{chunk-RY4ABNPE.cjs → chunk-225APHKC.cjs} +3 -3
- package/dist/{chunk-JGAE5XPL.cjs → chunk-23VJEGKC.cjs} +4 -2
- package/dist/{chunk-5C7XMKQ4.cjs → chunk-2AFW7673.cjs} +6 -1
- package/dist/{chunk-SYW346ZN.cjs → chunk-2LHZD3OP.cjs} +1 -21
- package/dist/{chunk-ZZI56IUY.mjs → chunk-2ZOYOYEE.mjs} +13 -13
- package/dist/{chunk-7XGWBPQQ.cjs → chunk-3EEINK7G.cjs} +24 -10
- package/dist/{chunk-BRWIVOV4.cjs → chunk-3GNHJ3RN.cjs} +10 -8
- package/dist/{chunk-HCGWDRZO.mjs → chunk-3Y52TWYU.mjs} +18 -7
- package/dist/{chunk-CBOEJ5Z4.cjs → chunk-437QZIC2.cjs} +133 -46
- package/dist/{chunk-O6L3YYPM.cjs → chunk-4E57QHPW.cjs} +8 -16
- package/dist/{chunk-WKPBIT5Q.cjs → chunk-4HGLJOXZ.cjs} +6 -6
- package/dist/{chunk-CJNAUEVC.mjs → chunk-4QENVMG7.mjs} +1 -1
- package/dist/{chunk-EMNKZGF4.mjs → chunk-4UAQB5LB.mjs} +556 -462
- package/dist/{chunk-BQWBHWEW.mjs → chunk-4ZXKYCYK.mjs} +1 -1
- package/dist/{chunk-N35YPV4N.mjs → chunk-57QAQU4F.mjs} +9 -7
- package/dist/{chunk-ZEXE4TGY.mjs → chunk-5FBZJJGA.mjs} +247 -110
- package/dist/{chunk-4OSOLDPL.cjs → chunk-5JKDFRTK.cjs} +2 -2
- package/dist/{chunk-OLIGNTWU.cjs → chunk-5NFQ6AZI.cjs} +7 -7
- package/dist/{chunk-6HRAK7I5.mjs → chunk-5OFNUETM.mjs} +8 -2
- package/dist/{chunk-RD623KW4.cjs → chunk-67MZTLTF.cjs} +21 -3
- package/dist/chunk-6I4BFRE7.cjs +51 -0
- package/dist/{chunk-UBMHQVWN.mjs → chunk-6OFOIMNS.mjs} +1 -1
- package/dist/{chunk-K5EW7GUU.mjs → chunk-7BIW7VCW.mjs} +13 -5
- package/dist/{chunk-CHYTADNK.cjs → chunk-7LK5CTUM.cjs} +70 -53
- package/dist/{chunk-HPP2II4Z.mjs → chunk-7PJARAQQ.mjs} +1 -1
- package/dist/{chunk-LEJDW34D.cjs → chunk-7PPLTD3P.cjs} +3 -3
- package/dist/{chunk-BYRZ5VTH.mjs → chunk-A3T445WK.mjs} +47 -34
- package/dist/{chunk-TGULJSHD.mjs → chunk-AJNBTOVQ.mjs} +20 -9
- package/dist/{chunk-FBEBSAVI.cjs → chunk-AKIQ54FK.cjs} +82 -63
- package/dist/{chunk-2NGZFOKG.mjs → chunk-AOIUYHPH.mjs} +2 -2
- package/dist/{chunk-NKRZLQUK.mjs → chunk-AQIO3RNL.mjs} +1 -1
- package/dist/chunk-AQIRXBBY.cjs +26 -0
- package/dist/{chunk-DQJ2CIH7.cjs → chunk-ASYOWPSR.cjs} +2 -1
- package/dist/chunk-AZ6IW6SF.mjs +28 -0
- package/dist/{chunk-QMDU6QHN.mjs → chunk-B6RBJJ5G.mjs} +1 -1
- package/dist/{chunk-I32V5CZL.cjs → chunk-BDYM2TN3.cjs} +28 -17
- package/dist/{chunk-JLDNXURZ.cjs → chunk-BZWTBELF.cjs} +32 -32
- package/dist/{chunk-ITV4QQL2.cjs → chunk-C6CUUBY5.cjs} +14 -3
- package/dist/{chunk-QGJ4FI2G.mjs → chunk-C6HGUTXB.mjs} +113 -29
- package/dist/{chunk-YN6BHOYY.cjs → chunk-CL52PD6D.cjs} +10 -3
- package/dist/{chunk-VQJHT2ND.mjs → chunk-CRVSYDHV.mjs} +2 -2
- package/dist/{chunk-XURDCXNH.cjs → chunk-CSLHNBPS.cjs} +6 -6
- package/dist/{chunk-XQSYOVCW.cjs → chunk-DBYNZIIQ.cjs} +13 -5
- package/dist/{chunk-AZUUKA66.mjs → chunk-DIXFKAPM.mjs} +1251 -389
- package/dist/{chunk-QTD6EMN2.mjs → chunk-DQ2DI3Y7.mjs} +11 -4
- package/dist/{chunk-NHQM2Q4I.cjs → chunk-DWLNLU55.cjs} +2 -2
- package/dist/chunk-DXZ57EPE.mjs +375 -0
- package/dist/{chunk-SA7MLSP4.mjs → chunk-E3HDJCWF.mjs} +3 -3
- package/dist/{chunk-52Y3C3HG.mjs → chunk-E7VF3LQ5.mjs} +3 -2
- package/dist/{chunk-752XUZIM.cjs → chunk-EGIY4A7V.cjs} +6 -6
- package/dist/chunk-EIVGPQN5.mjs +51 -0
- package/dist/{chunk-KPAJWD3N.mjs → chunk-EYPSKXO4.mjs} +1 -1
- package/dist/{chunk-E4UDLFWR.cjs → chunk-F36LS2C7.cjs} +796 -702
- package/dist/{chunk-MPIGW42F.mjs → chunk-F6CMGWAL.mjs} +1 -1
- package/dist/{chunk-GL7N5UHF.cjs → chunk-FJMC24KG.cjs} +21 -10
- package/dist/{chunk-QISW423S.cjs → chunk-FPBOAG6N.cjs} +2 -2
- package/dist/{chunk-3CCAICF7.cjs → chunk-FSODPZRT.cjs} +5 -5
- package/dist/{chunk-2C5L5RPM.cjs → chunk-FT6KJHS3.cjs} +71 -38
- package/dist/{chunk-WMTBBQHY.cjs → chunk-FVYBEMOD.cjs} +288 -151
- package/dist/{chunk-BM2LH2JM.mjs → chunk-G7NBPP7H.mjs} +14 -13
- package/dist/{chunk-ES2LD2YD.mjs → chunk-GCRT6GJG.mjs} +18 -0
- package/dist/{chunk-5OJVKXFV.cjs → chunk-GDM3ZD2O.cjs} +10 -8
- package/dist/{chunk-25T5VXOE.mjs → chunk-GFPS7MNE.mjs} +106 -19
- package/dist/{chunk-EMDGXYUD.mjs → chunk-GJ7QVFAG.mjs} +16 -7
- package/dist/{chunk-TGSEVBPO.mjs → chunk-GJEC5S4V.mjs} +11 -0
- package/dist/{chunk-HNAISJFD.cjs → chunk-HDPT6OYE.cjs} +9 -3
- package/dist/{chunk-RVGSVQWT.mjs → chunk-HEJM46HQ.mjs} +21 -7
- package/dist/chunk-HHLEYA4B.cjs +17 -0
- package/dist/{chunk-ZNH6NR3H.cjs → chunk-HJZZSBVK.cjs} +2 -2
- package/dist/{chunk-E552H232.cjs → chunk-I7J5RLGO.cjs} +16 -2
- package/dist/chunk-ICFPTHXM.mjs +97 -0
- package/dist/{chunk-K7OZAVOI.mjs → chunk-IFR74W6S.mjs} +46 -13
- package/dist/{chunk-MPJEIHW2.cjs → chunk-IGDYL2IA.cjs} +2 -2
- package/dist/{chunk-5A77OEIG.cjs → chunk-IHTDLCDJ.cjs} +5 -5
- package/dist/{chunk-OYZXVBZP.cjs → chunk-IUKBPBM7.cjs} +2 -1
- package/dist/chunk-J6TZRYCO.cjs +22 -0
- package/dist/{chunk-E4RDMG3K.mjs → chunk-JL2YW5KX.mjs} +5 -4
- package/dist/chunk-JSOCDYER.cjs +375 -0
- package/dist/{chunk-UPYIFH2H.cjs → chunk-JWLRBDDC.cjs} +2 -2
- package/dist/{chunk-OLGQZRW6.mjs → chunk-JZBU7V4D.mjs} +37 -17
- package/dist/{chunk-ONG4RDW3.mjs → chunk-JZGL2PIH.mjs} +13 -3
- package/dist/chunk-K63OWRY2.mjs +22 -0
- package/dist/{chunk-TUPKMMXT.mjs → chunk-K6HIIWUB.mjs} +1 -1
- package/dist/{chunk-MESQF2JC.mjs → chunk-K6SXMVXO.mjs} +2 -2
- package/dist/{chunk-L2JG337G.cjs → chunk-K6VFYFOY.cjs} +33 -31
- package/dist/{chunk-TKK5QHKZ.mjs → chunk-KDO6T6OB.mjs} +3 -3
- package/dist/{chunk-EZ34EHQP.mjs → chunk-KI3MU7B5.mjs} +1 -1
- package/dist/{chunk-GHNW564E.mjs → chunk-KSZK34HU.mjs} +30 -10
- package/dist/{chunk-IT6WRNGB.cjs → chunk-KWCZKJYU.cjs} +1541 -679
- package/dist/{chunk-DVKH2RVN.cjs → chunk-LDEXTX4I.cjs} +70 -57
- package/dist/{chunk-ECKQFEX2.mjs → chunk-LENKRGBV.mjs} +8 -6
- package/dist/{chunk-XBSKPLHF.cjs → chunk-LR4KP3I7.cjs} +2 -2
- package/dist/{chunk-HEPJIKKQ.cjs → chunk-MCSRMEQV.cjs} +2 -2
- package/dist/{chunk-DQF3QLOH.mjs → chunk-ME7RVELR.mjs} +3 -2
- package/dist/{chunk-VFXE6NWR.mjs → chunk-MGKWYPE3.mjs} +2 -1
- package/dist/{chunk-TZVUF5JJ.mjs → chunk-MGZVDX4R.mjs} +5 -5
- package/dist/{chunk-MGKW5XZE.cjs → chunk-MMDKYJ5V.cjs} +7 -7
- package/dist/{chunk-SK7QSNWE.mjs → chunk-MNJDNTGO.mjs} +1 -1
- package/dist/{chunk-5Y2P454O.cjs → chunk-MTBDJ326.cjs} +6 -5
- package/dist/{chunk-FIR62CR3.mjs → chunk-MV7NWU23.mjs} +1 -1
- package/dist/{chunk-7ONGIFYX.cjs → chunk-MZ4CRSY7.cjs} +481 -171
- package/dist/{chunk-O4F3JUST.mjs → chunk-NDDRTFN4.mjs} +4 -0
- package/dist/{chunk-4IHMHFQB.cjs → chunk-NG2EZ6QS.cjs} +28 -1
- package/dist/{chunk-XBSLKXBL.mjs → chunk-NT4W4H52.mjs} +52 -35
- package/dist/{chunk-UAQD67HM.mjs → chunk-NVOMQLI2.mjs} +16 -2
- package/dist/{chunk-R62SF5R4.mjs → chunk-OB45EAQL.mjs} +6 -1
- package/dist/{chunk-V56632LA.cjs → chunk-OCNV4CI2.cjs} +39 -6
- package/dist/{chunk-SYXPWJ7N.cjs → chunk-OFBLGH6V.cjs} +17 -18
- package/dist/{chunk-VQ4NWOWO.mjs → chunk-OGVTUGMU.mjs} +5 -13
- package/dist/{chunk-3UZVPO72.mjs → chunk-OIOPQ25L.mjs} +6 -7
- package/dist/{chunk-2XGBJSDV.cjs → chunk-OO7DYIJD.cjs} +73 -24
- package/dist/{chunk-27FPUFWR.mjs → chunk-P2NBQ5JI.mjs} +1 -1
- package/dist/{chunk-HZPKJRYA.cjs → chunk-PDFFYZAT.cjs} +2 -2
- package/dist/{chunk-GSVJ3IIF.cjs → chunk-PHCJJJZV.cjs} +2 -2
- package/dist/{chunk-EVMXPJCB.mjs → chunk-PKMUQ7LM.mjs} +2 -1
- package/dist/{chunk-OAJOQU5J.mjs → chunk-PLJKJJ2H.mjs} +82 -63
- package/dist/{chunk-72KCTHLV.cjs → chunk-PRL7FXG4.cjs} +113 -29
- package/dist/{chunk-6XQSPIN6.cjs → chunk-PWKAX5MS.cjs} +13 -3
- package/dist/{chunk-4ZJ5C7UJ.cjs → chunk-QIXEU2WV.cjs} +19 -10
- package/dist/{chunk-FJWN7RV4.cjs → chunk-QO43L7Z4.cjs} +38 -8
- package/dist/{chunk-X4K7TYN6.cjs → chunk-QOGIZKSO.cjs} +26 -25
- package/dist/{chunk-CNNBFGL5.cjs → chunk-QSUYB3RH.cjs} +14 -14
- package/dist/chunk-QYNZ3CTI.mjs +17 -0
- package/dist/{chunk-X3XUZWRB.mjs → chunk-R2ZHU37O.mjs} +36 -3
- package/dist/{chunk-ZIHWAN55.cjs → chunk-RE5E2G5S.cjs} +1 -1
- package/dist/{chunk-O75GQVUK.mjs → chunk-RLH5AH2M.mjs} +1 -1
- package/dist/chunk-RWR7SMD7.cjs +50 -0
- package/dist/{chunk-7PTISZSQ.cjs → chunk-S7MWSFFP.cjs} +4 -0
- package/dist/chunk-SD6JGJOM.mjs +50 -0
- package/dist/{chunk-7H4SVNC4.cjs → chunk-SPP3EZTJ.cjs} +46 -26
- package/dist/{chunk-BIF5MLTH.cjs → chunk-SQ6IWJ3H.cjs} +1 -1
- package/dist/{chunk-WVYRLP5E.mjs → chunk-T5XFZQCL.mjs} +1 -1
- package/dist/{chunk-WAY6LOQH.mjs → chunk-TEJ67GD2.mjs} +1 -1
- package/dist/{chunk-OP7LHY4Y.cjs → chunk-TNK2TVRS.cjs} +2005 -800
- package/dist/{chunk-IFTGERT3.mjs → chunk-TTXIITYA.mjs} +49 -0
- package/dist/{chunk-ZFWYCVKS.mjs → chunk-TY5KCYDE.mjs} +22 -4
- package/dist/{chunk-WYAXRIYP.cjs → chunk-UKZ6AWKZ.cjs} +10 -9
- package/dist/{chunk-UJ3R2AH2.cjs → chunk-UPOYKX4S.cjs} +5 -5
- package/dist/{chunk-VBCQ5WOI.cjs → chunk-URN7VFO7.cjs} +105 -16
- package/dist/{chunk-2DLGV2ZG.mjs → chunk-UTUS6JUH.mjs} +1 -21
- package/dist/{chunk-435QJNC2.mjs → chunk-VFNAK6A5.mjs} +4 -4
- package/dist/{chunk-WFWFECDW.mjs → chunk-VRGY3X2I.mjs} +100 -11
- package/dist/{chunk-LQNW3ABP.cjs → chunk-VX2HZGC7.cjs} +14 -14
- package/dist/chunk-W44X6IC2.cjs +97 -0
- package/dist/{chunk-A2MN5PQJ.mjs → chunk-WMLSZAKN.mjs} +9 -9
- package/dist/{chunk-672ISQIG.mjs → chunk-WPB67LE5.mjs} +379 -69
- package/dist/{chunk-3EEET2Q5.cjs → chunk-WUTFJOV7.cjs} +32 -12
- package/dist/chunk-WVQNXXNE.cjs +28 -0
- package/dist/{chunk-Y5TOT5F6.cjs → chunk-X3MHKLCO.cjs} +5 -5
- package/dist/{chunk-W2ZXMMHA.mjs → chunk-XCAQTCGK.mjs} +1 -1
- package/dist/{chunk-Z7P2BTZ3.cjs → chunk-XGTFLG73.cjs} +30 -12
- package/dist/{chunk-XCXHQBMM.mjs → chunk-Y2LU4LE5.mjs} +1 -1
- package/dist/{chunk-5J45H65F.mjs → chunk-Y5LEPEVH.mjs} +1 -1
- package/dist/{chunk-D4MRNBVF.cjs → chunk-Y6KHPJDB.cjs} +2 -2
- package/dist/{chunk-BT4SEFLC.cjs → chunk-YAEN3L2F.cjs} +3 -2
- package/dist/chunk-YFTGIHNC.mjs +26 -0
- package/dist/{chunk-KL7SHLQB.mjs → chunk-YGJ5P3TJ.mjs} +31 -1
- package/dist/{chunk-752IHQTD.cjs → chunk-YTNBCXCW.cjs} +12 -12
- package/dist/{chunk-RFKTJTWZ.mjs → chunk-YVPX5PI5.mjs} +3 -1
- package/dist/{chunk-4TVPYN32.cjs → chunk-Z3PW3DIR.cjs} +7 -7
- package/dist/{chunk-OB7VKCUZ.mjs → chunk-Z6SOXHAD.mjs} +1851 -646
- package/dist/{chunk-72KABRWN.mjs → chunk-ZJGFAW5U.mjs} +5 -3
- package/dist/{chunk-TNBJ4LZG.mjs → chunk-ZPKJPM7K.mjs} +4 -4
- package/dist/{chunk-5FE5YT2N.mjs → chunk-ZZGQD3LL.mjs} +28 -1
- package/dist/client/lifecycle.cjs +2 -2
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-D74pqdea.d.mts → client-component.d-BvQOxSqh.d.mts} +2 -2
- package/dist/{client-component.d-D8VcypQA.d.ts → client-component.d-DNVSLEPi.d.ts} +2 -2
- package/dist/client-plugins.cjs +2 -2
- package/dist/{client-plugins.d-D4-6hNx7.d.mts → client-plugins.d-CE1lVK2R.d.mts} +116 -373
- package/dist/{client-plugins.d-CXElzotB.d.ts → client-plugins.d-CNDqcAuf.d.ts} +116 -373
- package/dist/client-plugins.d.mts +10 -8
- package/dist/client-plugins.d.ts +10 -8
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +11 -9
- package/dist/client.d.mts +17 -15
- package/dist/client.d.ts +17 -15
- package/dist/client.mjs +10 -8
- package/dist/{config.d-qt-mE8O5.d.mts → config.d-BKIhJtmr.d.mts} +7 -2
- package/dist/{config.d-qt-mE8O5.d.ts → config.d-BKIhJtmr.d.ts} +7 -2
- package/dist/config.d.mts +10 -8
- package/dist/config.d.ts +10 -8
- package/dist/cron.cjs +2 -2
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +2 -2
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +4 -2
- package/dist/deployment.d.mts +15 -1
- package/dist/deployment.d.ts +15 -1
- package/dist/deployment.mjs +3 -1
- package/dist/desktop.d.mts +11 -9
- package/dist/desktop.d.ts +11 -9
- package/dist/{devtools-NZUVNUP3.mjs → devtools-2A2GPC7B.mjs} +33 -29
- package/dist/{devtools-N2JQCMXB.cjs → devtools-R27T3BRY.cjs} +38 -34
- package/dist/docs.cjs +28 -27
- package/dist/docs.d.mts +24 -10
- package/dist/docs.d.ts +24 -10
- package/dist/docs.mjs +27 -26
- package/dist/env-types.cjs +3 -3
- package/dist/env-types.mjs +2 -2
- package/dist/environment/vite.cjs +7 -7
- package/dist/environment/vite.d.mts +1 -1
- package/dist/environment/vite.d.ts +1 -1
- package/dist/environment/vite.mjs +6 -6
- package/dist/{generate-route-types.d-BL2pq6xC.d.ts → generate-route-types.d-B76M5R11.d.ts} +1 -1
- package/dist/{generate-route-types.d-BoVDU8qX.d.mts → generate-route-types.d-CaGMIaNI.d.mts} +1 -1
- package/dist/headers.cjs +3 -3
- package/dist/headers.mjs +2 -2
- package/dist/image/server.d.mts +1 -1
- package/dist/image/server.d.ts +1 -1
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/{image-config.d-CeDgNyX4.d.mts → image-config.d-ByhQ0TT7.d.mts} +3 -1
- package/dist/{image-config.d-CeDgNyX4.d.ts → image-config.d-ByhQ0TT7.d.ts} +3 -1
- package/dist/image.cjs +6 -6
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +148 -128
- package/dist/{index.d-SSgYDv4D.d.mts → index.d-Bt3kl19W.d.mts} +1 -1
- package/dist/{index.d-A_x10zGS.d.ts → index.d-Cx_-DaKV.d.ts} +1 -1
- package/dist/index.d.mts +39 -87
- package/dist/index.d.ts +39 -87
- package/dist/index.mjs +224 -204
- package/dist/instrumentation.cjs +3 -3
- package/dist/instrumentation.mjs +2 -2
- package/dist/{integration-orm-52GPGTHO.cjs → integrations/orm.cjs} +5 -5
- package/dist/integrations/orm.d.mts +35 -0
- package/dist/integrations/orm.d.ts +35 -0
- package/dist/{integration-orm-CO23MSFE.mjs → integrations/orm.mjs} +5 -5
- package/dist/integrations.cjs +6 -5
- package/dist/integrations.d.mts +10 -8
- package/dist/integrations.d.ts +10 -8
- package/dist/integrations.mjs +5 -4
- package/dist/internal/app-markdown-runtime.cjs +4 -4
- package/dist/internal/app-markdown-runtime.d.mts +27 -11
- package/dist/internal/app-markdown-runtime.d.ts +27 -11
- package/dist/internal/app-markdown-runtime.mjs +3 -3
- package/dist/internal/build-runtime.cjs +76 -71
- package/dist/internal/build-runtime.d.mts +12 -10
- package/dist/internal/build-runtime.d.ts +12 -10
- package/dist/internal/build-runtime.mjs +75 -70
- package/dist/internal/cli-runtime.cjs +47 -46
- package/dist/internal/cli-runtime.mjs +46 -45
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +85 -36
- package/dist/internal/client-runtime.d.mts +44 -13
- package/dist/internal/client-runtime.d.ts +44 -13
- package/dist/internal/client-runtime.mjs +79 -30
- package/dist/internal/compression-runtime.d.mts +10 -8
- package/dist/internal/compression-runtime.d.ts +10 -8
- package/dist/internal/config-runtime.cjs +27 -26
- package/dist/internal/config-runtime.d.mts +14 -12
- package/dist/internal/config-runtime.d.ts +14 -12
- package/dist/internal/config-runtime.mjs +26 -25
- package/dist/internal/docs-precompiled-runtime.cjs +16 -5
- package/dist/internal/docs-precompiled-runtime.d.mts +7 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +7 -0
- package/dist/internal/docs-precompiled-runtime.mjs +15 -4
- package/dist/internal/form-actions.cjs +7 -2
- package/dist/internal/form-actions.d.mts +10 -3
- package/dist/internal/form-actions.d.ts +10 -3
- package/dist/internal/form-actions.mjs +8 -3
- package/dist/internal/infra-analytics-runtime.cjs +11 -11
- package/dist/internal/infra-analytics-runtime.mjs +9 -9
- package/dist/internal/islands-boot.cjs +6 -1
- package/dist/internal/islands-boot.mjs +6 -1
- package/dist/internal/islands-runtime.cjs +33 -4
- package/dist/internal/islands-runtime.d.mts +1 -1
- package/dist/internal/islands-runtime.d.ts +1 -1
- package/dist/internal/islands-runtime.mjs +31 -2
- package/dist/internal/native-server-fns.cjs +5 -5
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-node-env.cjs +4 -2
- package/dist/internal/production-node-env.d.mts +22 -1
- package/dist/internal/production-node-env.d.ts +22 -1
- package/dist/internal/production-node-env.mjs +3 -1
- package/dist/internal/production-runtime.cjs +57 -39
- package/dist/internal/production-runtime.d.mts +27 -21
- package/dist/internal/production-runtime.d.ts +27 -21
- package/dist/internal/production-runtime.mjs +72 -54
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/server-tree.cjs +2 -2
- package/dist/internal/server-tree.d.mts +0 -5
- package/dist/internal/server-tree.d.ts +0 -5
- package/dist/internal/server-tree.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +87 -0
- package/dist/internal/vercel-edge-middleware.d.mts +39 -0
- package/dist/internal/vercel-edge-middleware.d.ts +39 -0
- package/dist/internal/vercel-edge-middleware.mjs +87 -0
- package/dist/layers-7P4RLKVX.cjs +20 -0
- package/dist/{layers-T55SA47E.mjs → layers-XQ7VFMWO.mjs} +4 -2
- package/dist/{layers.d-CcS42OGR.d.mts → layers.d-CH0bC4QL.d.mts} +2 -1
- package/dist/{layers.d-CcS42OGR.d.ts → layers.d-CH0bC4QL.d.ts} +2 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.ts → lifecycle.d-keQs5Swc.d.mts} +7 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.mts → lifecycle.d-keQs5Swc.d.ts} +7 -1
- package/dist/{manager-H5ZM3HAM.mjs → manager-JIA66YJ2.mjs} +4 -3
- package/dist/manager-JOHU6BQI.cjs +15 -0
- package/dist/markdown.cjs +7 -3
- package/dist/markdown.d.mts +10 -8
- package/dist/markdown.d.ts +10 -8
- package/dist/markdown.mjs +6 -2
- package/dist/middleware.cjs +11 -11
- package/dist/middleware.d.mts +13 -10
- package/dist/middleware.d.ts +13 -10
- package/dist/middleware.mjs +13 -13
- package/dist/mobile.d.mts +6 -6
- package/dist/mobile.d.ts +6 -6
- package/dist/mount.d-Bki4pOaJ.d.mts +38 -0
- package/dist/mount.d-DjR5aerM.d.ts +38 -0
- package/dist/{native-server-fn-handler-GLRHAYWV.mjs → native-server-fn-handler-EP5AFJYE.mjs} +5 -5
- package/dist/{native-server-fn-handler-J5MYRXN6.cjs → native-server-fn-handler-QRTXGZA4.cjs} +6 -6
- package/dist/{native-tree-7LPH57Z4.cjs → native-tree-W2SSJB3Y.cjs} +4 -4
- package/dist/{native-tree-VV6WN3GX.mjs → native-tree-Y5YQANW7.mjs} +3 -3
- package/dist/{navigation-delegate.d-GghbHJuK.d.ts → navigation-delegate.d-CtghaSP3.d.ts} +1 -1
- package/dist/{navigation-delegate.d-DQVYKoaZ.d.mts → navigation-delegate.d-VDkziXTK.d.mts} +1 -1
- package/dist/navigation.cjs +8 -7
- package/dist/navigation.d.mts +13 -11
- package/dist/navigation.d.ts +13 -11
- package/dist/navigation.mjs +7 -6
- package/dist/{nitro-DD4QCA66.mjs → nitro-NSTXT7LB.mjs} +11 -11
- package/dist/{nitro-VRDX2H4M.cjs → nitro-Y3LGITW3.cjs} +13 -13
- package/dist/node-module-bundle-LIZ2KMVW.cjs +13 -0
- package/dist/node-module-bundle-VR6NV6AI.mjs +13 -0
- package/dist/{plugin-53SY5YBS.mjs → plugin-SAS22JL7.mjs} +4 -3
- package/dist/{plugin-HZIBL3DW.cjs → plugin-WIU4GDD4.cjs} +5 -4
- package/dist/plugin.cjs +65 -63
- package/dist/plugin.d.mts +12 -10
- package/dist/plugin.d.ts +12 -10
- package/dist/plugin.mjs +64 -62
- package/dist/{production-runtime.d-Bzns3NW9.d.ts → production-runtime.d-BMyyLGBB.d.ts} +3 -57
- package/dist/{production-runtime.d-DiFa5vHW.d.mts → production-runtime.d-DMZY3OgV.d.mts} +3 -57
- package/dist/query/client.cjs +9 -7
- package/dist/query/client.mjs +5 -3
- package/dist/{render-plan.d-CcF0MeCf.d.mts → render-plan.d-BSwV8PE4.d.mts} +1 -1
- package/dist/{render-plan.d-CL_Ikfg_.d.ts → render-plan.d-i9sI4tc9.d.ts} +1 -1
- package/dist/renderer/none/server.cjs +35 -0
- package/dist/renderer/none/server.d.mts +21 -0
- package/dist/renderer/none/server.d.ts +21 -0
- package/dist/renderer/none/server.mjs +35 -0
- package/dist/renderer/react/server.cjs +3 -3
- package/dist/renderer/react/server.mjs +3 -3
- package/dist/renderer-client.cjs +8 -6
- package/dist/renderer-client.d.mts +13 -11
- package/dist/renderer-client.d.ts +13 -11
- package/dist/renderer-client.mjs +5 -3
- package/dist/renderer.cjs +6 -2
- package/dist/renderer.d.mts +25 -2
- package/dist/renderer.d.ts +25 -2
- package/dist/renderer.mjs +5 -1
- package/dist/request.cjs +2 -2
- package/dist/{request.d-DarDOCk9.d.mts → request.d-C24FNQ_7.d.mts} +1 -1
- package/dist/{request.d-B1RnTLri.d.ts → request.d-Dgln8tuI.d.ts} +1 -1
- package/dist/request.d.mts +11 -9
- package/dist/request.d.ts +11 -9
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-BTUYCIj4.d.ts → route-rendering.d-CUylZKJA.d.ts} +1 -1
- package/dist/{route-rendering.d-D_2Ual0-.d.mts → route-rendering.d-Ds0BfwQi.d.mts} +1 -1
- package/dist/{route.d-BaVH3V0w.d.mts → route.d-DrXkpvcg.d.mts} +1 -1
- package/dist/{route.d-DBTEqifW.d.ts → route.d-hs-_cyHn.d.ts} +1 -1
- package/dist/{router.d-CMANF6da.d.ts → router.d-B56rMOFm.d.ts} +1 -1
- package/dist/{router.d-Cuv1jntg.d.mts → router.d-CFPcbqzc.d.mts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/{routes.d-B6yFe6jm.d.ts → routes.d-9GFFNioh.d.ts} +2 -2
- package/dist/{routes.d-c2HKfrfL.d.mts → routes.d-CrEy0lJS.d.mts} +2 -2
- package/dist/routes.d.mts +10 -8
- package/dist/routes.d.ts +10 -8
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-Z7QBZOIJ.cjs → rsc-pipeline-3T7V6OUT.cjs} +30 -28
- package/dist/{rsc-pipeline-7PNVJSTR.mjs → rsc-pipeline-GA4AQWZI.mjs} +29 -27
- package/dist/{runtime-FKFCUHSK.cjs → runtime-REUTNTI5.cjs} +72 -46
- package/dist/{runtime-QQHX4BP3.mjs → runtime-ZYCKKY7L.mjs} +60 -34
- package/dist/{runtime.d-wvh4ngU0.d.mts → runtime.d-DLRO-ExG.d.mts} +11 -3
- package/dist/{runtime.d-C3RQUj6_.d.ts → runtime.d-H7k9hOQE.d.ts} +11 -3
- package/dist/{schema-dev-notice-JMXEQWIQ.mjs → schema-dev-notice-C2JINRZI.mjs} +3 -2
- package/dist/{schema-dev-notice-PLBFDTOF.cjs → schema-dev-notice-X7GG7QVB.cjs} +5 -4
- package/dist/schema.cjs +6 -2
- package/dist/schema.d-Dny9pnrm.d.mts +298 -0
- package/dist/schema.d-Dny9pnrm.d.ts +298 -0
- package/dist/schema.d.mts +1 -115
- package/dist/schema.d.ts +1 -115
- package/dist/schema.mjs +5 -1
- package/dist/server-fn-client.d.mts +2 -2
- package/dist/server-fn-client.d.ts +2 -2
- package/dist/server-fn.cjs +5 -5
- package/dist/server-fn.mjs +4 -4
- package/dist/server-http.d-rAe7lAQc.d.mts +70 -0
- package/dist/server-http.d-rAe7lAQc.d.ts +70 -0
- package/dist/server-plugins.cjs +7 -7
- package/dist/server-plugins.d.mts +20 -12
- package/dist/server-plugins.d.ts +20 -12
- package/dist/server-plugins.mjs +8 -8
- package/dist/server-query.cjs +6 -6
- package/dist/server-query.mjs +5 -5
- package/dist/server.cjs +168 -126
- package/dist/server.d-C5FFrZAo.d.ts +57 -0
- package/dist/server.d-DgC8xew5.d.mts +57 -0
- package/dist/server.d.mts +24 -16
- package/dist/server.d.ts +24 -16
- package/dist/server.mjs +144 -102
- package/dist/{spa-router.d-m8H_Kl_B.d.ts → spa-router.d-Dr7oanhl.d.ts} +15 -5
- package/dist/{spa-router.d-WU_qS5gJ.d.mts → spa-router.d-g4CzhEH1.d.mts} +15 -5
- package/dist/testing.cjs +17 -17
- package/dist/testing.d.mts +10 -8
- package/dist/testing.d.ts +10 -8
- package/dist/testing.mjs +13 -13
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/types.d-xCIhyjOq.d.mts +233 -0
- package/dist/types.d-xCIhyjOq.d.ts +233 -0
- package/dist/{utils.d-C9dQD5Zg.d.ts → utils.d-BxxyDEb8.d.ts} +1 -1
- package/dist/{utils.d-W9IiEqmW.d.mts → utils.d-HIla3pD_.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +65 -63
- package/dist/vite.d.mts +36 -14
- package/dist/vite.d.ts +36 -14
- package/dist/vite.mjs +64 -62
- package/dist/workflows.cjs +4 -4
- package/dist/workflows.d.mts +121 -1
- package/dist/workflows.d.ts +121 -1
- package/dist/workflows.mjs +3 -3
- package/package.json +37 -2
- package/dist/analyzer-H7SIX6BJ.cjs +0 -16
- package/dist/chunk-5YPBFMBN.cjs +0 -19
- package/dist/chunk-CLFEQGET.cjs +0 -60
- package/dist/chunk-MK5E44WP.mjs +0 -60
- package/dist/chunk-OM7WILES.mjs +0 -100
- package/dist/chunk-Q5B4LNON.mjs +0 -19
- package/dist/chunk-QPJ4MZTO.mjs +0 -60
- package/dist/chunk-R53QDV6T.cjs +0 -100
- package/dist/chunk-UYTAP4FQ.cjs +0 -60
- package/dist/layers-DMRXRL7F.cjs +0 -18
- package/dist/manager-2LUKNX2N.cjs +0 -14
- package/dist/node-module-bundle-7JHPPF6B.mjs +0 -11
- package/dist/node-module-bundle-YJGYBOGK.cjs +0 -11
- package/dist/workflows.d-CRMzQZ3k.d.mts +0 -188
- package/dist/workflows.d-CRMzQZ3k.d.ts +0 -188
- /package/dist/{chunk-QGOZLGVP.mjs → chunk-I6FIAWNT.mjs} +0 -0
- /package/dist/{chunk-XPIPMWY3.cjs → chunk-K5NI5YQR.cjs} +0 -0
- /package/dist/{chunk-NWUHS6GV.cjs → chunk-QEJWNXRI.cjs} +0 -0
- /package/dist/{chunk-FSXSQQTV.mjs → chunk-TXE4SAMV.mjs} +0 -0
- /package/dist/{chunk-ZXK2EYQW.cjs → chunk-UUQNJDGH.cjs} +0 -0
- /package/dist/{chunk-46P5KNTE.mjs → chunk-VZBAW44S.mjs} +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { b as FarmClientPlugin } from './lifecycle.d-keQs5Swc.js';
|
|
2
|
+
import { j as PluginRoutes, k as PluginRoutesFactory, l as RouteMethod, F as FarmIntegrationAPI, b as FarmIntegrationAPIMethod, a as FarmIntegrationAPIBodyFormat, d as FarmIntegrationAPIResponseFormat, c as FarmIntegrationAPIOperation, m as FarmIntegrationRouteOperationCarrier, I as InferIntegrationAPIFromRoutes } from './route.d-hs-_cyHn.js';
|
|
3
3
|
import { FarmRenderer } from './renderer.js';
|
|
4
4
|
import { IncomingMessage, ServerResponse } from 'http';
|
|
5
5
|
import { E as EndpointMCPMetadata, T as TypedEndpoint, R as RouteSchema, d as RouteSchemaOutput, e as RouteSchemaInput, Y as OpenAPISecurityMode } from './endpoint.d-BgHn0lhl.js';
|
|
6
6
|
import { ServerFn } from './server-fn.js';
|
|
7
7
|
import { ServerQuery } from './server-query.js';
|
|
8
8
|
import { F as FarmStorageUserConfig } from './types.d-BnIqOn9w.js';
|
|
9
|
-
import {
|
|
9
|
+
import { a as FarmSchema, c as FarmSqlDialect, d as FarmSchemaMigrationStep, i as FarmSchemaConfig, F as FarmSchemaField, j as FarmSchemaConstraint, k as FarmSchemaFieldType, l as FarmSchemaModel, m as FarmSchemaModelExtension, n as FarmSchemaModelOverride, e as FarmSchemaReference, r as defineSchema } from './schema.d-Dny9pnrm.js';
|
|
10
10
|
import React__default, { ComponentType, ReactNode } from 'react';
|
|
11
11
|
import { OrmClient, SchemaDefinition, ModelDefinition, FieldBuilder, JsonValue, AnyModelDefinition, SchemaModels } from '@farming-labs/orm';
|
|
12
12
|
import { DocsConfig } from '@farming-labs/docs';
|
|
13
13
|
import { p as FarmObservabilityUserConfig } from './observability.d-B2363jB6.js';
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { n as FarmWorkflowsUserConfig, f as FarmServerConfig, F as FarmWorkflowsResolvedConfig, R as ResolvedFarmServerConfig } from './workflows.d-CRMzQZ3k.js';
|
|
14
|
+
import { F as FarmMiddlewareConfig } from './types.d-xCIhyjOq.js';
|
|
15
|
+
import { FarmWorkflowsUserConfig, FarmWorkflowsResolvedConfig } from './workflows.js';
|
|
17
16
|
import { FarmCronUserConfig, FarmCronResolvedConfig } from './cron.js';
|
|
18
17
|
import { ResolvedFarmEnv, FarmEnvConfig } from './env.js';
|
|
18
|
+
import * as vite from 'vite';
|
|
19
|
+
import { ViteDevServer, UserConfig } from 'vite';
|
|
19
20
|
import { FarmServerActionsConfig, ResolvedFarmServerActionsConfig } from './server-action-security.js';
|
|
20
|
-
import {
|
|
21
|
-
import { a as
|
|
21
|
+
import { F as FarmServerConfig, R as ResolvedFarmServerConfig } from './server-http.d-rAe7lAQc.js';
|
|
22
|
+
import { a as FarmLayerEntry, R as ResolvedFarmLayer } from './layers.d-CH0bC4QL.js';
|
|
23
|
+
import { a as FarmImageConfig, R as ResolvedFarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
22
24
|
import { k as FarmI18nUserConfig, R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
|
|
23
25
|
import { FarmCacheUserConfig } from './cache.js';
|
|
24
|
-
import { P as PlatformBlockCache, d as FarmMobileConfigInput } from './config.d-
|
|
26
|
+
import { P as PlatformBlockCache, d as FarmMobileConfigInput } from './config.d-BKIhJtmr.js';
|
|
25
27
|
import { R as ResolvedFarmThemeConfig, d as FarmThemeConfig } from './types.d-DQnyD3VD.js';
|
|
26
28
|
import { FarmLayoutFonts } from './font.js';
|
|
27
29
|
|
|
@@ -64,10 +66,11 @@ declare function describeIntegrationOriginRejection(reason: IntegrationOriginRej
|
|
|
64
66
|
/**
|
|
65
67
|
* `experimental.serverComponents`: which engine renders server components.
|
|
66
68
|
*
|
|
69
|
+
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental. The default.
|
|
67
70
|
* - `"rsc"`: React's Flight pipeline (`@farm.js/plugin/rsc` on `@vitejs/plugin-rsc`).
|
|
68
|
-
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental.
|
|
69
71
|
*
|
|
70
|
-
* `true` means `{ mode: "rsc" }
|
|
72
|
+
* `true` means `{ mode: "islands" }`; `{ mode: "rsc" }` opts into React's pipeline. Both modes share
|
|
73
|
+
* one authoring contract.
|
|
71
74
|
*/
|
|
72
75
|
type FarmServerComponentsMode = "rsc" | "islands";
|
|
73
76
|
interface FarmServerComponentsOptions {
|
|
@@ -191,131 +194,6 @@ interface ResolvedFarmDevtoolsConfig {
|
|
|
191
194
|
}
|
|
192
195
|
declare function resolveFarmDevtoolsConfig(config: FarmDevtoolsUserConfig | ResolvedFarmDevtoolsConfig | undefined, mode?: "development" | "production"): ResolvedFarmDevtoolsConfig;
|
|
193
196
|
|
|
194
|
-
type ResolvedSchemaField = FarmSchemaField & {
|
|
195
|
-
name: string;
|
|
196
|
-
};
|
|
197
|
-
type ResolvedSchemaModel = Omit<FarmSchemaModel, "fields"> & {
|
|
198
|
-
name: string;
|
|
199
|
-
fields: Record<string, ResolvedSchemaField>;
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* Resolve a schema's extensions, overrides, and name mappings.
|
|
203
|
-
*
|
|
204
|
-
* Table and column names fall back to the schema's own keys, which is what the
|
|
205
|
-
* runtime ORM uses. Any other default would generate artifacts describing
|
|
206
|
-
* tables the app cannot actually read.
|
|
207
|
-
*/
|
|
208
|
-
declare function resolveSchemaModels(ownerKey: string, schema: FarmSchema): Record<string, ResolvedSchemaModel>;
|
|
209
|
-
|
|
210
|
-
type FarmSqlDialect = "postgres" | "mysql" | "sqlite";
|
|
211
|
-
type CollectedSchemaModel = {
|
|
212
|
-
/** Namespace that owns the model: an integration key or a plugin name. */
|
|
213
|
-
ownerKey: string;
|
|
214
|
-
modelKey: string;
|
|
215
|
-
modelName: string;
|
|
216
|
-
exportName: string;
|
|
217
|
-
prismaModelName: string;
|
|
218
|
-
model: ResolvedSchemaModel;
|
|
219
|
-
/**
|
|
220
|
-
* Real table and column for references to models this owner describes but
|
|
221
|
-
* does not create (external, or outside its `models`), keyed by field. Only
|
|
222
|
-
* shown in comments: Farm never creates a foreign key to them.
|
|
223
|
-
*/
|
|
224
|
-
referenceTargets?: Record<string, {
|
|
225
|
-
table: string;
|
|
226
|
-
column: string;
|
|
227
|
-
}>;
|
|
228
|
-
/**
|
|
229
|
-
* References to tables other owners create that may carry a real foreign
|
|
230
|
-
* key, keyed by field. Set by migrate after checking the database; only a
|
|
231
|
-
* table created now gets one inline.
|
|
232
|
-
*/
|
|
233
|
-
foreignKeys?: Record<string, {
|
|
234
|
-
table: string;
|
|
235
|
-
column: string;
|
|
236
|
-
onDelete: NonNullable<FarmSchemaReference["onDelete"]>;
|
|
237
|
-
}>;
|
|
238
|
-
};
|
|
239
|
-
/** `table.column` a field's reference points at, using real names when known. */
|
|
240
|
-
declare function describeSchemaReference(model: CollectedSchemaModel, fieldKey: string): string;
|
|
241
|
-
/**
|
|
242
|
-
* Flatten owners' schemas into one list, rejecting two models that would
|
|
243
|
-
* resolve to the same table.
|
|
244
|
-
*
|
|
245
|
-
* `only` narrows an owner to the models it actually controls; an owner handed a
|
|
246
|
-
* schema it shares with the rest of the app should not claim all of it.
|
|
247
|
-
*/
|
|
248
|
-
declare function collectSchemaModels(entries: ReadonlyArray<readonly [string, FarmSchema, (readonly string[])?]>): CollectedSchemaModel[];
|
|
249
|
-
type FarmSqlStatement = {
|
|
250
|
-
kind: "table" | "index" | "column";
|
|
251
|
-
/** The object this statement creates, for drift reporting. */
|
|
252
|
-
target: string;
|
|
253
|
-
sql: string;
|
|
254
|
-
};
|
|
255
|
-
/**
|
|
256
|
-
* Emit create statements for a set of models.
|
|
257
|
-
*
|
|
258
|
-
* Everything here is derivable from the schema: nothing is inferred from a live
|
|
259
|
-
* database, so the output is stable and reviewable before it is applied.
|
|
260
|
-
*/
|
|
261
|
-
declare function generateSqlStatements(models: readonly CollectedSchemaModel[], dialect: FarmSqlDialect): FarmSqlStatement[];
|
|
262
|
-
/** Render models as a standalone `.sql` file. */
|
|
263
|
-
declare function renderSqlSchemaFile(models: readonly CollectedSchemaModel[], dialect: FarmSqlDialect): string;
|
|
264
|
-
declare function getSqlColumnType(field: ResolvedSchemaField, dialect: FarmSqlDialect): "BOOLEAN" | "INTEGER" | "DOUBLE PRECISION" | "TIMESTAMPTZ" | "JSONB" | "TEXT" | "INT" | "DOUBLE" | "DATETIME" | "JSON" | "VARCHAR(255)" | "REAL";
|
|
265
|
-
declare function getSqlDefaultExpression(field: ResolvedSchemaField, dialect: FarmSqlDialect): string | null;
|
|
266
|
-
declare function isNullableField(field: ResolvedSchemaField): boolean;
|
|
267
|
-
declare function quoteSqlIdentifier(dialect: FarmSqlDialect, value: string): string;
|
|
268
|
-
declare function toSnakeCase(value: string): string;
|
|
269
|
-
declare function toPascalCase(value: string): string;
|
|
270
|
-
declare function toCamelCase(value: string): string;
|
|
271
|
-
declare function escapeSqlString(value: string, dialect?: FarmSqlDialect): string;
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* An ordered change a plugin release makes to its own tables that Farm will
|
|
275
|
-
* not infer: a rename looks exactly like a removal plus an addition. Each step
|
|
276
|
-
* runs once per database, in the order listed.
|
|
277
|
-
*
|
|
278
|
-
* Names are the plugin's own: `model` and `to` are keys in the current
|
|
279
|
-
* schema, so the app's renames apply; `from` is the old name in the database.
|
|
280
|
-
*/
|
|
281
|
-
type FarmSchemaMigrationStep = {
|
|
282
|
-
id: string;
|
|
283
|
-
description?: string;
|
|
284
|
-
} & ({
|
|
285
|
-
renameColumn: {
|
|
286
|
-
model: string;
|
|
287
|
-
from: string;
|
|
288
|
-
to: string;
|
|
289
|
-
};
|
|
290
|
-
} | {
|
|
291
|
-
renameTable: {
|
|
292
|
-
from: string;
|
|
293
|
-
to: string;
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Deletes data, so it runs only with `--allow-destructive`, and only on a
|
|
298
|
-
* column or table Farm recorded this plugin creating.
|
|
299
|
-
*/
|
|
300
|
-
| {
|
|
301
|
-
dropColumn: {
|
|
302
|
-
model: string;
|
|
303
|
-
column: string;
|
|
304
|
-
};
|
|
305
|
-
} | {
|
|
306
|
-
dropTable: {
|
|
307
|
-
table: string;
|
|
308
|
-
};
|
|
309
|
-
} | {
|
|
310
|
-
/** Per dialect; a dialect without SQL cannot run the step. */
|
|
311
|
-
sql: Partial<Record<FarmSqlDialect, string | readonly string[]>>;
|
|
312
|
-
/**
|
|
313
|
-
* Custom SQL runs after this release's new tables and columns exist, so
|
|
314
|
-
* a backfill can fill them. Set `before` to run it with the renames.
|
|
315
|
-
*/
|
|
316
|
-
before?: boolean;
|
|
317
|
-
});
|
|
318
|
-
|
|
319
197
|
/**
|
|
320
198
|
* Typed, validated plugin options.
|
|
321
199
|
*
|
|
@@ -575,7 +453,14 @@ interface FarmPluginRuntimeRequestOptions {
|
|
|
575
453
|
route?: FarmPluginRouteRuntimePayload;
|
|
576
454
|
waitUntil?: (promise: Promise<unknown>) => void;
|
|
577
455
|
}
|
|
578
|
-
|
|
456
|
+
interface FarmPluginRuntimeRequestScope {
|
|
457
|
+
/**
|
|
458
|
+
* Runs `runtime.error` for a failure the handler answers itself, such as an API route that
|
|
459
|
+
* threw and became a 500. `runtime.after` still runs on the response the handler returns.
|
|
460
|
+
*/
|
|
461
|
+
reportError(error: unknown): Promise<void>;
|
|
462
|
+
}
|
|
463
|
+
type FarmPluginRuntimeRequestHandler = (request: Request, scope: FarmPluginRuntimeRequestScope) => MaybePromise$1<Response>;
|
|
579
464
|
interface FarmPluginRuntimeSession {
|
|
580
465
|
request: Request;
|
|
581
466
|
response?: Response;
|
|
@@ -761,6 +646,12 @@ declare class PluginManager {
|
|
|
761
646
|
endRuntimeRequest(session: FarmPluginRuntimeSession, initialResponse: Response): Promise<Response>;
|
|
762
647
|
failRuntimeRequest(session: FarmPluginRuntimeSession, error: unknown): Promise<void>;
|
|
763
648
|
runRuntimeRequest(request: Request, handler: FarmPluginRuntimeRequestHandler, options?: FarmPluginRuntimeRequestOptions): Promise<Response>;
|
|
649
|
+
/**
|
|
650
|
+
* Finishes a session `beginRuntimeRequest` opened, as `runRuntimeRequest` does: the handler
|
|
651
|
+
* answers unless `before` already did, then `after` runs. A server that has work between
|
|
652
|
+
* `before` and the handler (the dev server runs app middleware there) splits the two.
|
|
653
|
+
*/
|
|
654
|
+
completeRuntimeRequest(session: FarmPluginRuntimeSession, handler: FarmPluginRuntimeRequestHandler): Promise<Response>;
|
|
764
655
|
runHook<K extends keyof FarmPlugin>(hookName: K, ...args: any[]): Promise<any>;
|
|
765
656
|
runHookSerial<K extends keyof FarmPlugin>(hookName: K, initialValue: any, ...args: any[]): Promise<any>;
|
|
766
657
|
runHookParallel<K extends keyof FarmPlugin>(hookName: K, ...args: any[]): Promise<boolean>;
|
|
@@ -1175,11 +1066,25 @@ interface FarmMarkdownResolvedConfig {
|
|
|
1175
1066
|
includeMetadata: boolean;
|
|
1176
1067
|
}
|
|
1177
1068
|
interface FarmMarkdownMirrorTarget {
|
|
1069
|
+
/** The page's public pathname, with the app's `basePath` and locale prefix. */
|
|
1178
1070
|
pathname: string;
|
|
1179
1071
|
route: FarmMarkdownResolvedRoute | null;
|
|
1072
|
+
/** The page's canonical `.md` URL: `<prefix>/index.md` for a home page. */
|
|
1073
|
+
markdownPath: string;
|
|
1180
1074
|
}
|
|
1075
|
+
/**
|
|
1076
|
+
* A request pathname as routes see it: without the app's `basePath` and, with i18n, the locale
|
|
1077
|
+
* prefix. `/console/fr/about` is `/about` under basePath "/console" with a `fr` locale.
|
|
1078
|
+
*/
|
|
1079
|
+
type FarmMarkdownRoutePathname = (pathname: string) => string;
|
|
1181
1080
|
interface ResolveMarkdownMirrorTargetOptions {
|
|
1182
1081
|
accept?: string | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Strips the app's `basePath` and locale prefix, so `<prefix>/index.md` names that prefix's
|
|
1084
|
+
* home page as `/index.md` does, and that is the `.md` URL the home page advertises.
|
|
1085
|
+
* `md.expose` is matched against the stripped path, as llms.txt reads it.
|
|
1086
|
+
*/
|
|
1087
|
+
routePathname?: FarmMarkdownRoutePathname;
|
|
1183
1088
|
}
|
|
1184
1089
|
interface CreateMarkdownMirrorResponseOptions {
|
|
1185
1090
|
request: Request;
|
|
@@ -1190,10 +1095,14 @@ interface CreateMarkdownMirrorResponseOptions {
|
|
|
1190
1095
|
renderPage: (request: Request) => Response | Promise<Response>;
|
|
1191
1096
|
/** The app's public API path, so a form posting to an API route can be matched to its MCP tool. */
|
|
1192
1097
|
apiServerBasePath?: string;
|
|
1098
|
+
/** See {@link ResolveMarkdownMirrorTargetOptions.routePathname}. */
|
|
1099
|
+
routePathname?: FarmMarkdownRoutePathname;
|
|
1193
1100
|
}
|
|
1194
1101
|
interface ApplyMarkdownNegotiationHeadersOptions {
|
|
1195
1102
|
config?: FarmMarkdownResolvedConfig;
|
|
1196
1103
|
pathname: string;
|
|
1104
|
+
/** See {@link ResolveMarkdownMirrorTargetOptions.routePathname}. */
|
|
1105
|
+
routePathname?: FarmMarkdownRoutePathname;
|
|
1197
1106
|
}
|
|
1198
1107
|
declare function resolveMarkdownConfig(config: FarmMarkdownUserConfig | boolean | undefined): FarmMarkdownResolvedConfig;
|
|
1199
1108
|
declare function resolveMarkdownMirrorTarget(config: FarmMarkdownResolvedConfig | undefined, pathname: string, options?: ResolveMarkdownMirrorTargetOptions): FarmMarkdownMirrorTarget | null;
|
|
@@ -1206,6 +1115,18 @@ declare function htmlToMarkdown(html: string, options?: {
|
|
|
1206
1115
|
/** Where the page's forms are described, listed when the page has any. */
|
|
1207
1116
|
actionsPath?: string;
|
|
1208
1117
|
}): string;
|
|
1118
|
+
/**
|
|
1119
|
+
* @internal `<prefix>/index` names the page at `<prefix>` when that is a home page: `/index` at
|
|
1120
|
+
* the app's root, `/console/index` under basePath "/console", `/fr/index` for the `fr` locale,
|
|
1121
|
+
* and `/console/fr/index` for both. Request paths still carry the prefix at this point.
|
|
1122
|
+
*/
|
|
1123
|
+
declare function _resolveFarmMarkdownIndexAlias(pathname: string, routePathname?: FarmMarkdownRoutePathname): string;
|
|
1124
|
+
/**
|
|
1125
|
+
* @internal A page's canonical `.md` URL. A home page's is `<prefix>/index.md`, as llms.txt, the
|
|
1126
|
+
* default MCP server, and other pages' `<prefix>/<page>.md` URLs name it; `<prefix>.md` still
|
|
1127
|
+
* serves it. `routePathname` is `pathname` as routes see it.
|
|
1128
|
+
*/
|
|
1129
|
+
declare function _getFarmMarkdownPath(pathname: string, routePathname?: string): string;
|
|
1209
1130
|
/**
|
|
1210
1131
|
* Quality value an `Accept` header assigns a media type, or 0 when the client
|
|
1211
1132
|
* will not take it.
|
|
@@ -1227,7 +1148,7 @@ declare function getFarmMarkdownMirrorPath(pathname: string): string;
|
|
|
1227
1148
|
* null when it has no Markdown mirror. Both the `Link` response header and the
|
|
1228
1149
|
* `<link rel="alternate">` in the document head come from this.
|
|
1229
1150
|
*/
|
|
1230
|
-
declare function getFarmMarkdownAlternatePath(config: FarmMarkdownResolvedConfig | undefined, pathname: string): string | null;
|
|
1151
|
+
declare function getFarmMarkdownAlternatePath(config: FarmMarkdownResolvedConfig | undefined, pathname: string, options?: Pick<ResolveMarkdownMirrorTargetOptions, "routePathname">): string | null;
|
|
1231
1152
|
/** @internal Whether `pathname` has a Markdown mirror under `config`. */
|
|
1232
1153
|
declare function isFarmMarkdownMirrorExposed(config: FarmMarkdownResolvedConfig | undefined, pathname: string): boolean;
|
|
1233
1154
|
/** @internal Matches a page pathname against a route pattern such as `/docs/[...slug]`. */
|
|
@@ -1386,6 +1307,23 @@ declare function collectFarmLlmsTxtPages(sources: Iterable<FarmLlmsTxtPageSource
|
|
|
1386
1307
|
include?: string[];
|
|
1387
1308
|
exclude?: string[];
|
|
1388
1309
|
}): FarmLlmsTxtPage[];
|
|
1310
|
+
/**
|
|
1311
|
+
* The origin generated agent files (llms.txt, llms-full.txt, sitemap.xml) link to: the root
|
|
1312
|
+
* layout's `metadataBase` when it is an absolute http(s) URL, else the request's origin. The
|
|
1313
|
+
* request's host is client input, so a configured base keeps it out of files CDNs may cache.
|
|
1314
|
+
*/
|
|
1315
|
+
declare function resolveFarmAgentOrigin(metadataBase: unknown, requestOrigin: string): string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Reads pages linked on `origin` (a configured `metadataBase`) from `readOrigin`, the origin
|
|
1318
|
+
* this server was reached at, so llms-full.txt reads stay on this server whatever the links name.
|
|
1319
|
+
*/
|
|
1320
|
+
declare function readFarmLlmsMarkdownFrom(readOrigin: string, origin: string, read: (url: string) => Promise<string | null>): (url: string) => Promise<string | null>;
|
|
1321
|
+
/**
|
|
1322
|
+
* True when a page renders with noindex. Page metadata merges over its layouts' (root first)
|
|
1323
|
+
* and `robots` is replaced whole, so the page's own `robots` decides, else the nearest
|
|
1324
|
+
* layout's. `layoutMetadata` is the wrapping layouts' metadata, root first.
|
|
1325
|
+
*/
|
|
1326
|
+
declare function isFarmPageNoIndex(pageMetadata: unknown, layoutMetadata?: readonly unknown[]): boolean;
|
|
1389
1327
|
declare function createFarmDefaultLlmsTxt(options: {
|
|
1390
1328
|
origin: string;
|
|
1391
1329
|
pages: FarmLlmsTxtPage[];
|
|
@@ -1652,8 +1590,9 @@ interface FarmAgentUserConfig {
|
|
|
1652
1590
|
* Serve `/llms.txt` (https://llmstxt.org): a Markdown index of the app's static
|
|
1653
1591
|
* pages, linking to their Markdown mirrors. `true` builds it from page metadata
|
|
1654
1592
|
* and also serves `/llms-full.txt`; an object sets the title, summary, details,
|
|
1655
|
-
* and which routes to list.
|
|
1656
|
-
*
|
|
1593
|
+
* and which routes to list. Links use the root layout's `metadataBase`, or the
|
|
1594
|
+
* request's origin without one, as for the sitemap. A `src/app/llms.ts` metadata
|
|
1595
|
+
* route or a `public/llms.txt` replaces the generated file. Left unset, `/llms.txt` is served
|
|
1657
1596
|
* (without `/llms-full.txt`) unless the docs engine is enabled, which serves its own.
|
|
1658
1597
|
*
|
|
1659
1598
|
* @default { full: false } without docs, false with docs
|
|
@@ -1662,7 +1601,8 @@ interface FarmAgentUserConfig {
|
|
|
1662
1601
|
/**
|
|
1663
1602
|
* Serve `/sitemap.xml` listing the app's static pages, the same pages the generated
|
|
1664
1603
|
* llms.txt lists, each with the time its page file last changed. Dynamic routes,
|
|
1665
|
-
* pages whose metadata says noindex,
|
|
1604
|
+
* pages whose metadata says noindex (their own, or a layout's when the page sets no
|
|
1605
|
+
* `robots`), pages behind a route `guard`, and pages a
|
|
1666
1606
|
* path-specific guard covers (non-root middleware.ts, a config or integration
|
|
1667
1607
|
* middleware matcher naming the path) are left out.
|
|
1668
1608
|
* URLs use the root layout's `metadataBase`, or the request's origin without one. An
|
|
@@ -1751,6 +1691,13 @@ interface FarmDocsAdapterDescriptor {
|
|
|
1751
1691
|
* serializable edge manifest. Older Farm releases safely ignore it.
|
|
1752
1692
|
*/
|
|
1753
1693
|
edgeCompiler?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* What the adapter does beyond the protocol; Farm ignores names it does not know.
|
|
1696
|
+
* `guarded-pages`: the runtime handler takes `isPathGuarded` and keeps a page a path guard
|
|
1697
|
+
* covers off every surface that answers without running the guard, so Farm serves docs pages
|
|
1698
|
+
* behind a guard with it on Node and serverless targets.
|
|
1699
|
+
*/
|
|
1700
|
+
capabilities?: readonly string[];
|
|
1754
1701
|
}
|
|
1755
1702
|
interface FarmDocsSidebarItem {
|
|
1756
1703
|
label?: string;
|
|
@@ -1773,7 +1720,10 @@ interface FarmDocsSocialImageConfig {
|
|
|
1773
1720
|
siteName?: string;
|
|
1774
1721
|
/** Short brand label drawn in the image header. Defaults to siteName. */
|
|
1775
1722
|
brand?: string;
|
|
1776
|
-
/**
|
|
1723
|
+
/**
|
|
1724
|
+
* Optional WOFF2 URLs or data URLs embedded into the generated SVG. The PNG
|
|
1725
|
+
* that social networks receive (rendered with `sharp`) uses system fonts.
|
|
1726
|
+
*/
|
|
1777
1727
|
fonts?: FarmDocsSocialImageFonts;
|
|
1778
1728
|
}
|
|
1779
1729
|
interface FarmDocsSocialImageFonts {
|
|
@@ -1899,235 +1849,6 @@ declare function resolveMdxConfig(config: FarmMdxUserConfig | undefined): FarmMd
|
|
|
1899
1849
|
*/
|
|
1900
1850
|
declare function resolveFarmMdxComponentsModulePath(config: FarmMdxResolvedConfig | undefined, root: string): string | undefined;
|
|
1901
1851
|
|
|
1902
|
-
/**
|
|
1903
|
-
* Farm.js Middleware System
|
|
1904
|
-
*
|
|
1905
|
-
* Type definitions for the middleware system
|
|
1906
|
-
*/
|
|
1907
|
-
|
|
1908
|
-
/**
|
|
1909
|
-
* Next function type for middleware chain
|
|
1910
|
-
*/
|
|
1911
|
-
type MiddlewareResult = void | Response;
|
|
1912
|
-
type NextFunction = () => Promise<MiddlewareResult>;
|
|
1913
|
-
type MiddlewareStoreKey<TValues extends Record<string, any>> = Extract<keyof TValues, string>;
|
|
1914
|
-
/**
|
|
1915
|
-
* A typed view over the request-scoped maps used by middleware.
|
|
1916
|
-
*/
|
|
1917
|
-
interface ReadonlyMiddlewareStore<TValues extends Record<string, any> = Record<string, any>> {
|
|
1918
|
-
readonly size: number;
|
|
1919
|
-
get<TKey extends MiddlewareStoreKey<TValues>>(key: TKey): TValues[TKey] | undefined;
|
|
1920
|
-
has<TKey extends MiddlewareStoreKey<TValues>>(key: TKey): boolean;
|
|
1921
|
-
entries(): IterableIterator<[MiddlewareStoreKey<TValues>, TValues[MiddlewareStoreKey<TValues>]]>;
|
|
1922
|
-
keys(): IterableIterator<MiddlewareStoreKey<TValues>>;
|
|
1923
|
-
values(): IterableIterator<TValues[MiddlewareStoreKey<TValues>]>;
|
|
1924
|
-
forEach(callback: (value: TValues[MiddlewareStoreKey<TValues>], key: MiddlewareStoreKey<TValues>, store: ReadonlyMiddlewareStore<TValues>) => void, thisArg?: any): void;
|
|
1925
|
-
[Symbol.iterator](): IterableIterator<[
|
|
1926
|
-
MiddlewareStoreKey<TValues>,
|
|
1927
|
-
TValues[MiddlewareStoreKey<TValues>]
|
|
1928
|
-
]>;
|
|
1929
|
-
}
|
|
1930
|
-
interface MiddlewareStore<TValues extends Record<string, any> = Record<string, any>> extends ReadonlyMiddlewareStore<TValues> {
|
|
1931
|
-
clear(): void;
|
|
1932
|
-
delete<TKey extends MiddlewareStoreKey<TValues>>(key: TKey): boolean;
|
|
1933
|
-
set<TKey extends MiddlewareStoreKey<TValues>>(key: TKey, value: TValues[TKey]): this;
|
|
1934
|
-
}
|
|
1935
|
-
/**
|
|
1936
|
-
* Middleware function signature
|
|
1937
|
-
*/
|
|
1938
|
-
type MiddlewareFunction = (ctx: MiddlewareContext, next: NextFunction) => MiddlewareResult | Promise<MiddlewareResult>;
|
|
1939
|
-
/**
|
|
1940
|
-
* Context passed to a named, request-first middleware export.
|
|
1941
|
-
* `locals` and the get/set helpers stay on the server. `data` can be exposed
|
|
1942
|
-
* through page props and should contain only serializable, client-safe values.
|
|
1943
|
-
*/
|
|
1944
|
-
interface RequestMiddlewareContext<TLocals extends Record<string, any> = Record<string, any>, TData extends Record<string, any> = Record<string, any>> {
|
|
1945
|
-
readonly url: URL;
|
|
1946
|
-
readonly pathname: string;
|
|
1947
|
-
/** The pathname the router matches: decoded once, without basePath or locale. */
|
|
1948
|
-
readonly routePathname: string;
|
|
1949
|
-
readonly searchParams: URLSearchParams;
|
|
1950
|
-
readonly method: string;
|
|
1951
|
-
readonly params: Record<string, string>;
|
|
1952
|
-
readonly route: string;
|
|
1953
|
-
readonly locals: MiddlewareStore<TLocals>;
|
|
1954
|
-
readonly data: MiddlewareStore<TData>;
|
|
1955
|
-
readonly headers: Map<string, string>;
|
|
1956
|
-
readonly cookies: CookieJar;
|
|
1957
|
-
get<TKey extends MiddlewareStoreKey<TLocals>>(key: TKey): TLocals[TKey] | undefined;
|
|
1958
|
-
has<TKey extends MiddlewareStoreKey<TLocals>>(key: TKey): boolean;
|
|
1959
|
-
set<TKey extends MiddlewareStoreKey<TLocals>>(key: TKey, value: TLocals[TKey]): void;
|
|
1960
|
-
delete<TKey extends MiddlewareStoreKey<TLocals>>(key: TKey): boolean;
|
|
1961
|
-
redirect(url: string, status?: number): void;
|
|
1962
|
-
rewrite(url: string): void;
|
|
1963
|
-
json(data: any, status?: number): void;
|
|
1964
|
-
text(content: string, status?: number): void;
|
|
1965
|
-
html(content: string, status?: number): void;
|
|
1966
|
-
}
|
|
1967
|
-
type RequestMiddleware<TLocals extends Record<string, any> = Record<string, any>, TData extends Record<string, any> = Record<string, any>> = (request: Request, context: RequestMiddlewareContext<TLocals, TData>) => MiddlewareResult | Promise<MiddlewareResult>;
|
|
1968
|
-
/**
|
|
1969
|
-
* Cookie options
|
|
1970
|
-
*/
|
|
1971
|
-
interface CookieOptions {
|
|
1972
|
-
maxAge?: number;
|
|
1973
|
-
expires?: Date;
|
|
1974
|
-
path?: string;
|
|
1975
|
-
domain?: string;
|
|
1976
|
-
secure?: boolean;
|
|
1977
|
-
httpOnly?: boolean;
|
|
1978
|
-
sameSite?: "strict" | "lax" | "none";
|
|
1979
|
-
}
|
|
1980
|
-
/**
|
|
1981
|
-
* Cookie management interface
|
|
1982
|
-
*/
|
|
1983
|
-
interface CookieJar {
|
|
1984
|
-
get(name: string): string | undefined;
|
|
1985
|
-
set(name: string, value: string, options?: CookieOptions): void;
|
|
1986
|
-
/**
|
|
1987
|
-
* Remove a cookie. Pass the `path`/`domain` it was set with; a tombstone only
|
|
1988
|
-
* matches a cookie with the same scope.
|
|
1989
|
-
*/
|
|
1990
|
-
delete(name: string, options?: CookieOptions): void;
|
|
1991
|
-
getAll(): Record<string, string>;
|
|
1992
|
-
}
|
|
1993
|
-
interface RateLimitIncrementResult {
|
|
1994
|
-
count: number;
|
|
1995
|
-
/** Unix epoch timestamp in milliseconds when the fixed window resets. */
|
|
1996
|
-
resetAt: number;
|
|
1997
|
-
}
|
|
1998
|
-
interface RateLimitStorage {
|
|
1999
|
-
/** Atomically increment a key and create or retain its fixed expiry window. */
|
|
2000
|
-
increment(key: string, windowMs: number): Promise<RateLimitIncrementResult> | RateLimitIncrementResult;
|
|
2001
|
-
/** Optional inspection support used by getRateLimitStatus(). */
|
|
2002
|
-
get?(key: string): Promise<RateLimitIncrementResult | null> | RateLimitIncrementResult | null;
|
|
2003
|
-
}
|
|
2004
|
-
interface MemoryRateLimitStorageOptions {
|
|
2005
|
-
/** Maximum number of active keys retained by this process. */
|
|
2006
|
-
maxEntries?: number;
|
|
2007
|
-
}
|
|
2008
|
-
interface RateLimitConfig {
|
|
2009
|
-
requests: number;
|
|
2010
|
-
window: string;
|
|
2011
|
-
keyGenerator?: (ctx: MiddlewareContext) => string;
|
|
2012
|
-
onLimit?: (ctx: MiddlewareContext) => void | Response | Promise<void | Response>;
|
|
2013
|
-
storage?: RateLimitStorage;
|
|
2014
|
-
}
|
|
2015
|
-
interface RateLimitStatus {
|
|
2016
|
-
requests: number;
|
|
2017
|
-
limit: number;
|
|
2018
|
-
remaining: number;
|
|
2019
|
-
resetIn: number | null;
|
|
2020
|
-
resetAt: Date | null;
|
|
2021
|
-
isLimited: boolean;
|
|
2022
|
-
}
|
|
2023
|
-
/**
|
|
2024
|
-
* Middleware configuration
|
|
2025
|
-
*/
|
|
2026
|
-
type MiddlewareMatcher = string | RegExp | ((ctx: MiddlewareContext) => boolean);
|
|
2027
|
-
interface MiddlewareConfig$1 {
|
|
2028
|
-
matcher?: MiddlewareMatcher | MiddlewareMatcher[];
|
|
2029
|
-
exclude?: (string | RegExp)[];
|
|
2030
|
-
runtime?: "nodejs" | "edge";
|
|
2031
|
-
/**
|
|
2032
|
-
* Whether a response this middleware lets through may be stored by a shared cache (a CDN).
|
|
2033
|
-
* Farm cannot tell a guard from harmless middleware, and a CDN serves its copy without
|
|
2034
|
-
* running either, so by default (`"private"`) the response is sent with
|
|
2035
|
-
* `Cache-Control: private, no-store`. Set `"public"` only on middleware that never decides
|
|
2036
|
-
* who may read the response, such as logging or response headers.
|
|
2037
|
-
*/
|
|
2038
|
-
cache?: "private" | "public";
|
|
2039
|
-
}
|
|
2040
|
-
interface MiddlewareConfigEntry extends MiddlewareConfig$1 {
|
|
2041
|
-
handler?: MiddlewareFunction;
|
|
2042
|
-
handlers?: MiddlewareFunction[];
|
|
2043
|
-
}
|
|
2044
|
-
type FarmMiddlewareConfig = MiddlewareConfig$1 | MiddlewareConfigEntry | MiddlewareConfigEntry[];
|
|
2045
|
-
/**
|
|
2046
|
-
* Middleware context - the main object passed to middleware functions
|
|
2047
|
-
*/
|
|
2048
|
-
interface MiddlewareContext {
|
|
2049
|
-
request: IncomingMessage;
|
|
2050
|
-
response: ServerResponse;
|
|
2051
|
-
url: URL;
|
|
2052
|
-
/** Request pathname as received: still percent-encoded and carrying basePath/locale. */
|
|
2053
|
-
pathname: string;
|
|
2054
|
-
/**
|
|
2055
|
-
* The pathname the router matches: decoded once, without basePath or locale. String matchers
|
|
2056
|
-
* compare this value; compare it in path checks too. Updated by `rewrite()`.
|
|
2057
|
-
*/
|
|
2058
|
-
readonly routePathname: string;
|
|
2059
|
-
searchParams: URLSearchParams;
|
|
2060
|
-
method: string;
|
|
2061
|
-
params: Record<string, string>;
|
|
2062
|
-
route: string;
|
|
2063
|
-
parent?: {
|
|
2064
|
-
data: Map<string, any>;
|
|
2065
|
-
locals?: Map<string, any>;
|
|
2066
|
-
headers: Record<string, string>;
|
|
2067
|
-
};
|
|
2068
|
-
vite: {
|
|
2069
|
-
isDev: boolean;
|
|
2070
|
-
hmr: boolean;
|
|
2071
|
-
server?: ViteDevServer;
|
|
2072
|
-
};
|
|
2073
|
-
data: Map<string, any>;
|
|
2074
|
-
locals: Map<string, any>;
|
|
2075
|
-
headers: Map<string, string>;
|
|
2076
|
-
cookies: CookieJar;
|
|
2077
|
-
_handled: boolean;
|
|
2078
|
-
_redirectUrl?: string;
|
|
2079
|
-
_rewriteUrl?: string;
|
|
2080
|
-
redirect(url: string, status?: number): void;
|
|
2081
|
-
rewrite(url: string): void;
|
|
2082
|
-
json(data: any, status?: number): void;
|
|
2083
|
-
text(content: string, status?: number): void;
|
|
2084
|
-
html(content: string, status?: number): void;
|
|
2085
|
-
}
|
|
2086
|
-
/**
|
|
2087
|
-
* Middleware chain interface
|
|
2088
|
-
*/
|
|
2089
|
-
interface MiddlewareChain {
|
|
2090
|
-
use(fn: MiddlewareFunction): MiddlewareChain;
|
|
2091
|
-
/**
|
|
2092
|
-
* Conditionally run middleware based on a condition.
|
|
2093
|
-
* Supports boolean values or functions that evaluate to boolean.
|
|
2094
|
-
*
|
|
2095
|
-
* @example
|
|
2096
|
-
* .when(true, (ctx, next) => { ... }) // Always run
|
|
2097
|
-
* .when((ctx) => ctx.data.get('flag'), (ctx, next) => { ... }) // Conditional
|
|
2098
|
-
*/
|
|
2099
|
-
when(condition: boolean | ((ctx: MiddlewareContext) => boolean), fn: MiddlewareFunction | ((chain: MiddlewareChain) => void)): MiddlewareChain;
|
|
2100
|
-
rateLimit(config: RateLimitConfig): MiddlewareChain;
|
|
2101
|
-
redirect(source: string, destination: string, permanent?: boolean): MiddlewareChain;
|
|
2102
|
-
/**
|
|
2103
|
-
* Rewrite the current route to a new destination.
|
|
2104
|
-
* In route-specific middleware, this rewrites the middleware's route.
|
|
2105
|
-
*
|
|
2106
|
-
* @param destination - The destination path to rewrite to
|
|
2107
|
-
* @param condition - Optional boolean or function that evaluates to boolean. If false, rewrite is skipped.
|
|
2108
|
-
*
|
|
2109
|
-
* @example
|
|
2110
|
-
* // In /contact/middleware.ts
|
|
2111
|
-
* .rewrite('/about') // Always rewrites /contact to /about
|
|
2112
|
-
* .rewrite('/about', true) // Always rewrites
|
|
2113
|
-
* .rewrite('/about', false) // Never rewrites
|
|
2114
|
-
* .rewrite('/about', (ctx) => ctx.data.get('shouldRewrite')) // Conditional rewrite
|
|
2115
|
-
*/
|
|
2116
|
-
rewrite(destination: string, condition?: boolean | ((ctx: MiddlewareContext) => boolean)): MiddlewareChain;
|
|
2117
|
-
build(): {
|
|
2118
|
-
handlers: MiddlewareFunction[];
|
|
2119
|
-
config?: MiddlewareConfig$1;
|
|
2120
|
-
};
|
|
2121
|
-
}
|
|
2122
|
-
/**
|
|
2123
|
-
* Middleware module export
|
|
2124
|
-
*/
|
|
2125
|
-
interface MiddlewareModule {
|
|
2126
|
-
default?: MiddlewareChain | MiddlewareFunction;
|
|
2127
|
-
middleware?: RequestMiddleware;
|
|
2128
|
-
config?: MiddlewareConfig$1;
|
|
2129
|
-
}
|
|
2130
|
-
|
|
2131
1852
|
type FarmRedirectStatus = 301 | 302 | 303 | 307 | 308;
|
|
2132
1853
|
interface FarmRedirectSignal {
|
|
2133
1854
|
url: string;
|
|
@@ -2721,6 +2442,8 @@ declare function createFarmRouteRuntimeKey(config: ResolvedFarmRouteRuntimeConfi
|
|
|
2721
2442
|
/** Resolve matching route rules from broadest to most specific. */
|
|
2722
2443
|
declare function resolveFarmRouteRuleRuntimeConfig(pathname: string, routeRules: Record<string, FarmRouteRuntimeConfig> | null | undefined): FarmRouteRuntimeConfig;
|
|
2723
2444
|
declare function farmRouteRuleMatches(pattern: string, pathname: string): boolean;
|
|
2445
|
+
/** Orders route rule patterns from broadest to most specific, the order their options merge in. */
|
|
2446
|
+
declare function compareFarmRouteRuleSpecificity(left: string, right: string): number;
|
|
2724
2447
|
|
|
2725
2448
|
type FarmRouteRuleRenderMode = "static" | "dynamic";
|
|
2726
2449
|
type FarmRouteRuleRedirect = string | {
|
|
@@ -2748,6 +2471,22 @@ declare function normalizeRouteRules(routeRules: FarmRouteRules | undefined): Fa
|
|
|
2748
2471
|
declare function routeRulesToRedirects(routeRules: FarmRouteRules): RedirectConfig[];
|
|
2749
2472
|
declare function routeRulesToHeaders(routeRules: FarmRouteRules): HeaderConfig[];
|
|
2750
2473
|
declare function routeRulesToNitroRouteRules(routeRules: FarmRouteRules): Record<string, any>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Nitro matches route rules against the full request path, and a Farm app is served below its
|
|
2476
|
+
* basePath, so each rule also applies at `basePath + source`: a `swr`, `cache`, `cors` or
|
|
2477
|
+
* `redirect` rule written for `/about` must cover the `/console/about` visitors request. The app
|
|
2478
|
+
* path keeps its rule, as before. Local API routes are not served below the basePath, so a rule for
|
|
2479
|
+
* the API path is not copied, and an app-relative redirect target moves below the basePath as
|
|
2480
|
+
* Farm's own redirects do.
|
|
2481
|
+
*/
|
|
2482
|
+
declare function nitroRouteRulesBelowBasePath(nitroRules: Record<string, any>, basePath: string | undefined, apiServerBasePath: string): Record<string, any>;
|
|
2483
|
+
/**
|
|
2484
|
+
* The headers a production server answers a CORS preflight (`OPTIONS` with `Origin` and
|
|
2485
|
+
* `Access-Control-Request-Method`) for `pathname` with, before app middleware or routes run, or
|
|
2486
|
+
* `undefined` when no `cors` rule covers the path. Matching rules merge from broadest to most
|
|
2487
|
+
* specific, as Nitro merges them, so a more specific `cors: false` turns a broader rule off.
|
|
2488
|
+
*/
|
|
2489
|
+
declare function resolveRouteRuleCorsPreflightHeaders(routeRules: FarmRouteRules | undefined, pathname: string): Record<string, string> | undefined;
|
|
2751
2490
|
|
|
2752
2491
|
declare global {
|
|
2753
2492
|
namespace FarmJS {
|
|
@@ -2824,8 +2563,12 @@ interface FarmConfig {
|
|
|
2824
2563
|
/**
|
|
2825
2564
|
* Component renderer used for JSX compilation, SSR, and browser hydration.
|
|
2826
2565
|
* React is used when omitted.
|
|
2566
|
+
*
|
|
2567
|
+
* Set `false` for a backend-only app: API routes, middleware, and server features with no
|
|
2568
|
+
* pages. Farm then builds no browser client, needs no React, and answers unmatched requests
|
|
2569
|
+
* with JSON instead of an HTML page.
|
|
2827
2570
|
*/
|
|
2828
|
-
renderer?: FarmRenderer;
|
|
2571
|
+
renderer?: FarmRenderer | false;
|
|
2829
2572
|
preset?: NitroPreset;
|
|
2830
2573
|
deploy?: {
|
|
2831
2574
|
target?: "vercel" | "cloudflare" | "netlify" | "node" | string;
|
|
@@ -4022,4 +3765,4 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
|
|
|
4022
3765
|
setCookies: string[];
|
|
4023
3766
|
}>;
|
|
4024
3767
|
|
|
4025
|
-
export { type FarmPluginDatabase as $, type FarmRouteRegions as A, type BundleResultPayload as B, type FarmRouteMaxDuration as C, type FarmRedirectSignal as D, type FarmRedirectStatus as E, type FarmPlugin as F, getFarmRedirectError as G, isFarmNotFoundError as H, isFarmRedirectError as I, notFound as J, permanentRedirect as K, type LayoutProps as L, type Metadata as M, redirect as N, loadConfig as O, type ParsedRoute as P, resolveConfig as Q, type ResolvedFarmDesktopConfig as R, resolveDeployConfig as S, type APIHandlerLifecyclePayload as T, type APIRouteDiscoveredPayload as U, type BundleLifecyclePayload as V, type ErrorLifecyclePayload as W, FARM_NODE_RESPONSE_END_PENDING as X, type FarmDevtoolsUserConfig as Y, type FarmPluginBuildHooks as Z, type FarmPluginClientConfig as _, type FarmIntegration as a, type MetadataRobotsDirectives as a$, type FarmPluginDefinition as a0, type FarmPluginDevHooks as a1, type FarmPluginDiscoveredRoute as a2, type FarmPluginIntegrationContext as a3, type FarmPluginLifecycle as a4, type FarmPluginRenderHooks as a5, type FarmPluginRouteRuntimePayload as a6, type FarmPluginRouterHooks as a7, type FarmPluginRuntimeAfterEvent as a8, type FarmPluginRuntimeBaseEvent as a9, type RouteMatchResultPayload as aA, type RoutesGeneratedPayload as aB, type ShutdownPayload as aC, definePlugin as aD, resolveFarmDevtoolsConfig as aE, type FarmConfig as aF, type AppRoutePattern as aG, type BuildOptions as aH, type ErrorBoundary as aI, type ErrorProps as aJ, type FarmComponentType as aK, type FarmContextFactory as aL, type FarmContextFactoryInput as aM, type FarmIsolatedClientHydrationMode as aN, type FarmMCPUserConfig as aO, type FarmMigrationCommand as aP, type FarmMigrationsConfig as aQ, type FarmMigrationsUserConfig as aR, type GenerateStaticParams as aS, type Layout as aT, type LayoutMetadataProps as aU, type LayoutModule as aV, type Loading as aW, type LoadingProps as aX, type MetadataJsonLd as aY, type MetadataProps as aZ, type MetadataRobots as a_, type FarmPluginRuntimeBeforeEvent as aa, type FarmPluginRuntimeCloseEvent as ab, type FarmPluginRuntimeContextEvent as ac, type FarmPluginRuntimeEndpoint as ad, type FarmPluginRuntimeEndpointEvent as ae, type FarmPluginRuntimeErrorEvent as af, type FarmPluginRuntimeHooks as ag, type FarmPluginRuntimeKind as ah, type FarmPluginRuntimeRequestHandler as ai, type FarmPluginRuntimeRequestOptions as aj, type FarmPluginRuntimeSession as ak, type FarmPluginRuntimeStartEvent as al, type FarmPluginSetupContext as am, type FarmPluginStateContext as an, type FarmRequestPluginContext as ao, type FarmRequestStore as ap, FarmRuntimeShutdownError as aq, type HMRUpdatePayload as ar, type MiddlewareDiscoveredPayload as as, type NitroBuildLifecyclePayload as at, PluginManager as au, type PluginRequestContext as av, type RenderLifecyclePayload as aw, type ResolvedFarmDevtoolsConfig as ax, type RouteDiscoveredPayload as ay, type RouteMatchPayload as az, type FarmDesktopConfigInput as b, type DefinedIntegration as b$, type MiddlewareProps as b0, type NitroPreset as b1, type Page as b2, type PagePropsWithMiddleware as b3, type PageRouteParams as b4, type ResolvedFarmMigrationsConfig as b5, type SSGCollectionResult as b6, type SSGPage as b7, type ServerAction as b8, type StaticPathParams as b9, type ResolvedFarmAuthConfig as bA, type ResolvedFarmPerformanceConfig as bB, type ResolvedFarmSecurityConfig as bC, createFarmSearchParams as bD, searchParamsToObject as bE, type FarmDesktopDevSession as bF, type FarmDesktopSetupOptions as bG, createFarmDesktopContext as bH, getFarmDesktopOutputDirs as bI, installFarmDesktopSetup as bJ, resolveFarmDesktopBlock as bK, resolveFarmDesktopConfig as bL, setFarmDesktopDevSession as bM, validateFarmDesktopConfig as bN, type ResolvedSchemaField as bO, type FarmSqlStatement as bP, type FarmSqlDialect as bQ, type CollectedSchemaModel as bR, type FarmSchemaMigrationStep as bS, type OpenAPIConfig as bT, type ApplyMarkdownNegotiationHeadersOptions as bU, type CookieJar as bV, type CookieOptions as bW, type CreateIntegrationOrmOptions as bX, type CreateMarkdownMirrorResponseOptions as bY, DEFAULT_FARM_API_BASE_PATH as bZ, DEFAULT_FARM_DEVTOOLS_SHORTCUT as b_, type StaticPathPrimitive as ba, type StaticRouteParams as bb, type ThemeColorDescriptor as bc, type Viewport as bd, resolveFarmMCPConfig as be, resolveFarmMCPPlugin as bf, type FarmMCPCatalogDetails as bg, type ResolvedFarmAppManifestConfig as bh, type ReadonlyMiddlewareStore as bi, type FarmMiddlewareConfig as bj, type MiddlewareModule as bk, type MiddlewareConfig$1 as bl, type MiddlewareContext as bm, type FarmServerComponentsMode as bn, type ResolvedFarmConfig as bo, type FarmAgentJsonLd as bp, type FarmMCPServerRegistration as bq, type FarmMarkdownResolvedConfig as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type ResolvedFarmRouteRuntimeConfig as bv, type ApplicationMetadataRouteKind as bw, type ResolvedFarmAPIConfig as bx, type FarmDocsResolvedConfig as by, type ResolvedFarmDevIndicatorsConfig as bz, type FarmDesktopContext as c, type FarmIntegrationRoute as c$, FARM_DEVTOOLS_LAUNCH_PARAM as c0, FARM_DEVTOOLS_PATH as c1, FARM_INTEGRATION_API_BASE_PATH_KEY as c2, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as c3, FARM_INTEGRATION_SET_COOKIES_KEY as c4, FARM_MARKDOWN_PAGE_CHECK_HEADER as c5, type FarmAPIConfig as c6, type FarmAPIConfigResolverContext as c7, type FarmAPIConfigValue as c8, type FarmAgentCrawlers as c9, type FarmIntegrationConfigContext as cA, type FarmIntegrationConfigDefinition as cB, type FarmIntegrationConfigInput as cC, type FarmIntegrationContributedPlugin as cD, type FarmIntegrationData as cE, type FarmIntegrationDocumentNavigation as cF, type FarmIntegrationEndpointValue as cG, type FarmIntegrationEndpoints as cH, type FarmIntegrationEndpointsFactory as cI, type FarmIntegrationEndpointsFactoryContext as cJ, type FarmIntegrationHandlerContext as cK, type FarmIntegrationInputSchema as cL, type FarmIntegrationLifecycleContext as cM, type FarmIntegrationLifecycleHook as cN, type FarmIntegrationLifecycleLogLevel as cO, type FarmIntegrationLifecycleLogger as cP, type FarmIntegrationLogEvent as cQ, type FarmIntegrationLogPhase as cR, type FarmIntegrationLogger as cS, type FarmIntegrationMiddleware as cT, type FarmIntegrationOrmClient as cU, type FarmIntegrationOrmSchema as cV, type FarmIntegrationPluginOwner as cW, type FarmIntegrationProvider as cX, type FarmIntegrationProviderComponentReference as cY, type FarmIntegrationProviderProps as cZ, type FarmIntegrationRequestContextStore as c_, type FarmAgentUserConfig as ca, type FarmAppManifestConfig as cb, type FarmAuthConfig as cc, type FarmAuthDatabaseConfig as cd, type FarmAuthEmailAndPasswordConfig as ce, type FarmAuthSessionConfig as cf, type FarmAuthUserConfig as cg, type FarmBuildActivityPosition as ch, type FarmCrawlerPolicy as ci, type FarmCspConfig as cj, type FarmCspDirectiveValue as ck, type FarmCspDirectives as cl, type FarmCspOptions as cm, type FarmDeployConfig as cn, type FarmDeployTarget as co, type FarmDevIndicatorsConfig as cp, type FarmDevtoolsConfig as cq, type FarmDocsConfigInput as cr, type FarmDocsNavigationConfig as cs, type FarmDocsResolvedRoot as ct, type FarmDocsRootInput as cu, type FarmDocsSidebarItem as cv, type FarmDocsSocialImageConfig as cw, type FarmDocsSocialImageFonts as cx, type FarmDocsUserConfig as cy, type FarmIntegrationCategory as cz, type FarmDesktopUserConfig as d, type FarmPluginOptionsSchema as d$, type FarmIntegrationRouteArgs as d0, type FarmIntegrationRouteDb as d1, type FarmIntegrationRouteFactory as d2, type FarmIntegrationRouteHook as d3, type FarmIntegrationRouteHookContext as d4, type FarmIntegrationRouteInput as d5, type FarmIntegrationRouteInputSchemas as d6, type FarmIntegrationRouteInputSource as d7, type FarmIntegrationRouteMethod as d8, type FarmIntegrationRouteMiddleware as d9, type FarmMCPEndpoint as dA, type FarmMCPEndpointTool as dB, type FarmMCPExecuteContext as dC, type FarmMCPOAuthConfig as dD, type FarmMCPPrompt as dE, type FarmMCPPromptMessage as dF, type FarmMCPResource as dG, type FarmMCPResourceContent as dH, type FarmMCPResourceContext as dI, type FarmMCPResourceListing as dJ, type FarmMCPServer as dK, type FarmMCPServerFunction as dL, type FarmMCPStandaloneTool as dM, type FarmMCPTool as dN, type FarmMCPToolDefinition as dO, type FarmMarkdownMirrorTarget as dP, type FarmMarkdownResolvedRoute as dQ, type FarmMarkdownRouteInput as dR, type FarmMarkdownUserConfig as dS, type FarmPageFormAction as dT, type FarmPageFormField as dU, type FarmPageFormOption as dV, type FarmPageFormSubmit as dW, type FarmPerformanceConfig as dX, type FarmPluginFactory as dY, FarmPluginOptionsError as dZ, type FarmPluginOptionsIssue as d_, type FarmIntegrationRouteParamValue as da, type FarmIntegrationRouteParams as db, type FarmIntegrationRouteStorageArgs as dc, type FarmIntegrationRoutesFactory as dd, type FarmIntegrationRoutesFactoryContext as de, type FarmIntegrationSchema as df, type FarmIntegrationSchemaConstraint as dg, type FarmIntegrationSchemaField as dh, type FarmIntegrationSchemaFieldType as di, type FarmIntegrationSchemaModel as dj, type FarmIntegrationSchemaModelExtension as dk, type FarmIntegrationSchemaModelOverride as dl, type FarmIntegrationSchemaReference as dm, type FarmIntegrationSession as dn, type FarmIntegrationSlot as dp, type FarmIntegrationStandardValidationResult as dq, type FarmIntegrationValidationErrorLike as dr, type FarmIntegrationValidationIssue as ds, type FarmIntegrationValidationPathSegment as dt, type FarmIntegrationValidationResult as du, type FarmIntegrationsUserConfig as dv, type FarmLayerConfig as dw, type FarmMCPAuthorization as dx, type FarmMCPAuthorizeContext as dy, type FarmMCPConfig as dz, type FarmDesktopWindowConfig as e, describeSchemaReference as e$, type FarmPreloadMode as e0, type FarmPreloadUserConfig as e1, type FarmRouteRenderingMode as e2, type FarmRouteRule as e3, type FarmRouteRuleCors as e4, type FarmRouteRuleRedirect as e5, type FarmRouteRuleRenderMode as e6, type FarmRouteRules as e7, type FarmRouteRuntimeEntryKind as e8, type FarmRouteRuntimeManifest as e9, type NextFunction as eA, type RateLimitConfig as eB, type RateLimitIncrementResult as eC, type RateLimitStatus as eD, type RateLimitStorage as eE, type RedirectConfig as eF, type RequestMiddleware as eG, type RequestMiddlewareContext as eH, type ResolveMarkdownMirrorTargetOptions as eI, type ResolvedFarmCspConfig as eJ, type ResolvedFarmDeployConfig as eK, type ResolvedFarmMCPConfig as eL, type ResolvedFarmPreloadConfig as eM, type ResolvedSchemaModel as eN, type RewriteConfig as eO, _getFarmMarkdownPageCheckToken as eP, _isFarmMarkdownPageCheck as eQ, _readFarmRenderedHtml as eR, applyMarkdownNegotiationHeaders as eS, collectSchemaModels as eT, createFarmRouteRuntimeKey as eU, createIntegrationOrm as eV, createIntegrationRoute as eW, createMarkdownMirrorResponse as eX, defineIntegration as eY, defineIntegrationSchema as eZ, describeIntegrationOriginRejection as e_, type FarmRouteRuntimeManifestEntry as ea, type FarmSecurityConfig as eb, type FarmServerComponentsConfig as ec, type FarmServerComponentsOptions as ed, type FarmTypedIntegrationRoute as ee, type HeaderConfig as ef, type I18nConfig as eg, type ImageConfig as eh, type InferFarmIntegrationOrmClient as ei, type InferFarmIntegrationOrmField as ej, type InferFarmIntegrationOrmFields as ek, type InferFarmIntegrationOrmSchema as el, type InferPluginOptionsInput as em, type InferPluginOptionsOutput as en, type IntegrationOriginPolicy as eo, type IntegrationOriginRejection as ep, type IntegrationOriginResult as eq, type IntegrationOrmModelNames as er, type MemoryRateLimitStorageOptions as es, MetadataRoute as et, type MetadataRouteContext as eu, type MiddlewareChain as ev, type MiddlewareConfig as ew, type MiddlewareFunction as ex, type MiddlewareResult as ey, type MiddlewareStore as ez, type FarmRouteRuntimeConfig as f, toCamelCase as f$, dispatchIntegrationRequest as f0, dispatchIntegrationRequests as f1, escapeSqlString as f2, extractFarmPageActions as f3, farmAcceptQuality as f4, farmIntegrationSchemaToOrmSchema as f5, farmRouteRuleMatches as f6, forwardIntegrationSetCookies as f7, generateFarmDevIndicatorsClientRuntime as f8, generateSqlStatements as f9, matchRegisteredIntegrationRoute as fA, matchesFarmMarkdownRoutePattern as fB, mergeFarmRouteRuntimeConfigs as fC, normalizeDeployTarget as fD, normalizeFarmAPIBasePath as fE, normalizeFarmAPIConfig as fF, normalizeFarmRouteRuntimeConfig as fG, normalizeRouteRules as fH, quoteSqlIdentifier as fI, renderSqlSchemaFile as fJ, requestAcceptsMarkdown as fK, resolveDeployOutputPath as fL, resolveFarmAPIConfig as fM, resolveFarmAPIRequestURL as fN, resolveFarmDevIndicatorsConfig as fO, resolveFarmRouteRuleRuntimeConfig as fP, resolveFarmRouteRuntimeConfig as fQ, resolveIntegrationAllowedOrigins as fR, resolveIntegrationOrmRuntimeClient as fS, resolveIntegrationPlugins as fT, resolveMarkdownConfig as fU, resolveMarkdownMirrorTarget as fV, resolveMigrationsConfig as fW, resolveSchemaModels as fX, routeRulesToHeaders as fY, routeRulesToNitroRouteRules as fZ, routeRulesToRedirects as f_, getDeployTargetForPreset as fa, getFarmAPIBaseURL as fb, getFarmIntegrationPluginOwner as fc, getFarmIntegrationPluginServerRuntime as fd, getFarmMarkdownAlternatePath as fe, getFarmMarkdownMirrorPath as ff, getFarmRouteRuntimeConfig as fg, getIntegrationDocumentNavigationMatchers as fh, getIntegrationProviders as fi, getIntegrationSchemas as fj, getPresetForDeployTarget as fk, getRegisteredIntegrationAPIManifest as fl, getRegisteredIntegrationRuntime as fm, getRegisteredIntegrationSchemas as fn, getRegisteredIntegrations as fo, getSqlColumnType as fp, getSqlDefaultExpression as fq, hasFarmRouteRuntimeControls as fr, htmlToMarkdown as fs, integrationMiddlewareMayHandlePath as ft, integrationRoute as fu, isFarmIntegration as fv, isFarmIntegrationProviderComponentReference as fw, isFarmMarkdownMirrorExposed as fx, isNullableField as fy, matchIntegrationRoute as fz, type FarmMdxComponents as g, toPascalCase as g0, toSnakeCase as g1, validateIntegrationRequestOrigin as g2, type MiddlewareMatcher as g3, type FarmLlmsTxtLink as g4, type FarmLlmsTxtUserConfig as g5, type ResolvedFarmLlmsTxtConfig as g6, applyFarmCspNonceToResponse as g7, collectFarmLlmsTxtPages as g8, createFarmAgentRobots as g9, createFarmCspNonce as ga, createFarmDefaultLlmsTxt as gb, createFarmDefaultSitemap as gc, createFarmLlmsFullRenderer as gd, createFarmLlmsMarkdownReader as ge, createFarmMetadataRouteResponse as gf, manageFarmDocumentPreloads as gg, manageFarmHtmlPreloads as gh, manageFarmLinkHeaderPreloads as gi, renderFarmLlmsFullTxt as gj, reportFarmPreloadWarnings as gk, resolveFarmLlmsTxtConfig as gl, resolveFarmSecurityConfig as gm, stampFarmCspNonce as gn, type FarmMdxResolvedConfig as h, type RouteModule as i, FARM_MARKDOWN_CONTENT_TYPE as j, createFarmMarkdownErrorBody as k, farmRequestWantsMarkdown as l, type FarmMdxComponent as m, type FarmMdxUserConfig as n, resolveMdxConfig as o, type FarmUserConfig as p, type RouteSegment as q, resolveFarmMdxComponentsModulePath as r, type FarmRequest as s, type FarmResponse as t, type FarmPluginContext as u, type FarmAppContext as v, type PageProps as w, type FarmSearchParams as x, type PluginContextProps as y, type FarmRouteRuntime as z };
|
|
3768
|
+
export { type FarmPluginClientConfig as $, type FarmRouteRuntime as A, type BundleResultPayload as B, type FarmRouteRegions as C, type FarmRouteMaxDuration as D, type FarmRedirectSignal as E, type FarmPlugin as F, type FarmRedirectStatus as G, getFarmRedirectError as H, isFarmNotFoundError as I, isFarmRedirectError as J, notFound as K, type LayoutProps as L, type Metadata as M, permanentRedirect as N, redirect as O, type ParsedRoute as P, loadConfig as Q, type ResolvedFarmDesktopConfig as R, resolveConfig as S, resolveDeployConfig as T, type APIHandlerLifecyclePayload as U, type APIRouteDiscoveredPayload as V, type BundleLifecyclePayload as W, type ErrorLifecyclePayload as X, FARM_NODE_RESPONSE_END_PENDING as Y, type FarmDevtoolsUserConfig as Z, type FarmPluginBuildHooks as _, type FarmIntegration as a, type MetadataProps as a$, type FarmPluginDatabase as a0, type FarmPluginDefinition as a1, type FarmPluginDevHooks as a2, type FarmPluginDiscoveredRoute as a3, type FarmPluginIntegrationContext as a4, type FarmPluginLifecycle as a5, type FarmPluginRenderHooks as a6, type FarmPluginRouteRuntimePayload as a7, type FarmPluginRouterHooks as a8, type FarmPluginRuntimeAfterEvent as a9, type RouteDiscoveredPayload as aA, type RouteMatchPayload as aB, type RouteMatchResultPayload as aC, type RoutesGeneratedPayload as aD, type ShutdownPayload as aE, definePlugin as aF, resolveFarmDevtoolsConfig as aG, type FarmConfig as aH, type AppRoutePattern as aI, type BuildOptions as aJ, type ErrorBoundary as aK, type ErrorProps as aL, type FarmComponentType as aM, type FarmContextFactory as aN, type FarmContextFactoryInput as aO, type FarmIsolatedClientHydrationMode as aP, type FarmMCPUserConfig as aQ, type FarmMigrationCommand as aR, type FarmMigrationsConfig as aS, type FarmMigrationsUserConfig as aT, type GenerateStaticParams as aU, type Layout as aV, type LayoutMetadataProps as aW, type LayoutModule as aX, type Loading as aY, type LoadingProps as aZ, type MetadataJsonLd as a_, type FarmPluginRuntimeBaseEvent as aa, type FarmPluginRuntimeBeforeEvent as ab, type FarmPluginRuntimeCloseEvent as ac, type FarmPluginRuntimeContextEvent as ad, type FarmPluginRuntimeEndpoint as ae, type FarmPluginRuntimeEndpointEvent as af, type FarmPluginRuntimeErrorEvent as ag, type FarmPluginRuntimeHooks as ah, type FarmPluginRuntimeKind as ai, type FarmPluginRuntimeRequestHandler as aj, type FarmPluginRuntimeRequestOptions as ak, type FarmPluginRuntimeRequestScope as al, type FarmPluginRuntimeSession as am, type FarmPluginRuntimeStartEvent as an, type FarmPluginSetupContext as ao, type FarmPluginStateContext as ap, type FarmRequestPluginContext as aq, type FarmRequestStore as ar, FarmRuntimeShutdownError as as, type HMRUpdatePayload as at, type MiddlewareDiscoveredPayload as au, type NitroBuildLifecyclePayload as av, PluginManager as aw, type PluginRequestContext as ax, type RenderLifecyclePayload as ay, type ResolvedFarmDevtoolsConfig as az, type FarmDesktopConfigInput as b, type FarmAgentCrawlers as b$, type MetadataRobots as b0, type MetadataRobotsDirectives as b1, type MiddlewareProps as b2, type NitroPreset as b3, type Page as b4, type PagePropsWithMiddleware as b5, type PageRouteParams as b6, type ResolvedFarmMigrationsConfig as b7, type SSGCollectionResult as b8, type SSGPage as b9, type FarmDesktopDevSession as bA, type FarmDesktopSetupOptions as bB, createFarmDesktopContext as bC, getFarmDesktopOutputDirs as bD, installFarmDesktopSetup as bE, resolveFarmDesktopBlock as bF, resolveFarmDesktopConfig as bG, setFarmDesktopDevSession as bH, validateFarmDesktopConfig as bI, createFarmSearchParams as bJ, searchParamsToObject as bK, type OpenAPIConfig as bL, type ApplyMarkdownNegotiationHeadersOptions as bM, type CreateIntegrationOrmOptions as bN, type CreateMarkdownMirrorResponseOptions as bO, DEFAULT_FARM_API_BASE_PATH as bP, DEFAULT_FARM_DEVTOOLS_SHORTCUT as bQ, type DefinedIntegration as bR, FARM_DEVTOOLS_LAUNCH_PARAM as bS, FARM_DEVTOOLS_PATH as bT, FARM_INTEGRATION_API_BASE_PATH_KEY as bU, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as bV, FARM_INTEGRATION_SET_COOKIES_KEY as bW, FARM_MARKDOWN_PAGE_CHECK_HEADER as bX, type FarmAPIConfig as bY, type FarmAPIConfigResolverContext as bZ, type FarmAPIConfigValue as b_, type ServerAction as ba, type StaticPathParams as bb, type StaticPathPrimitive as bc, type StaticRouteParams as bd, type ThemeColorDescriptor as be, type Viewport as bf, resolveFarmMCPConfig as bg, resolveFarmMCPPlugin as bh, type FarmMCPCatalogDetails as bi, type ResolvedFarmAppManifestConfig as bj, type FarmServerComponentsMode as bk, type ResolvedFarmConfig as bl, type FarmAgentJsonLd as bm, type FarmMCPServerRegistration as bn, type FarmMarkdownResolvedConfig as bo, _findFarmMCPEndpointTool as bp, _publishFarmMCPCatalog as bq, registerFarmMCPServer as br, type ResolvedFarmRouteRuntimeConfig as bs, type ApplicationMetadataRouteKind as bt, type ResolvedFarmAPIConfig as bu, type FarmDocsResolvedConfig as bv, type ResolvedFarmDevIndicatorsConfig as bw, type ResolvedFarmAuthConfig as bx, type ResolvedFarmPerformanceConfig as by, type ResolvedFarmSecurityConfig as bz, type FarmDesktopContext as c, type FarmIntegrationRouteMiddleware as c$, type FarmAgentUserConfig as c0, type FarmAppManifestConfig as c1, type FarmAuthConfig as c2, type FarmAuthDatabaseConfig as c3, type FarmAuthEmailAndPasswordConfig as c4, type FarmAuthSessionConfig as c5, type FarmAuthUserConfig as c6, type FarmBuildActivityPosition as c7, type FarmCrawlerPolicy as c8, type FarmCspConfig as c9, type FarmIntegrationHandlerContext as cA, type FarmIntegrationInputSchema as cB, type FarmIntegrationLifecycleContext as cC, type FarmIntegrationLifecycleHook as cD, type FarmIntegrationLifecycleLogLevel as cE, type FarmIntegrationLifecycleLogger as cF, type FarmIntegrationLogEvent as cG, type FarmIntegrationLogPhase as cH, type FarmIntegrationLogger as cI, type FarmIntegrationMiddleware as cJ, type FarmIntegrationOrmClient as cK, type FarmIntegrationOrmSchema as cL, type FarmIntegrationPluginOwner as cM, type FarmIntegrationProvider as cN, type FarmIntegrationProviderComponentReference as cO, type FarmIntegrationProviderProps as cP, type FarmIntegrationRequestContextStore as cQ, type FarmIntegrationRoute as cR, type FarmIntegrationRouteArgs as cS, type FarmIntegrationRouteDb as cT, type FarmIntegrationRouteFactory as cU, type FarmIntegrationRouteHook as cV, type FarmIntegrationRouteHookContext as cW, type FarmIntegrationRouteInput as cX, type FarmIntegrationRouteInputSchemas as cY, type FarmIntegrationRouteInputSource as cZ, type FarmIntegrationRouteMethod as c_, type FarmCspDirectiveValue as ca, type FarmCspDirectives as cb, type FarmCspOptions as cc, type FarmDeployConfig as cd, type FarmDeployTarget as ce, type FarmDevIndicatorsConfig as cf, type FarmDevtoolsConfig as cg, type FarmDocsConfigInput as ch, type FarmDocsNavigationConfig as ci, type FarmDocsResolvedRoot as cj, type FarmDocsRootInput as ck, type FarmDocsSidebarItem as cl, type FarmDocsSocialImageConfig as cm, type FarmDocsSocialImageFonts as cn, type FarmDocsUserConfig as co, type FarmIntegrationCategory as cp, type FarmIntegrationConfigContext as cq, type FarmIntegrationConfigDefinition as cr, type FarmIntegrationConfigInput as cs, type FarmIntegrationContributedPlugin as ct, type FarmIntegrationData as cu, type FarmIntegrationDocumentNavigation as cv, type FarmIntegrationEndpointValue as cw, type FarmIntegrationEndpoints as cx, type FarmIntegrationEndpointsFactory as cy, type FarmIntegrationEndpointsFactoryContext as cz, type FarmDesktopUserConfig as d, type FarmRouteRuntimeManifest as d$, type FarmIntegrationRouteParamValue as d0, type FarmIntegrationRouteParams as d1, type FarmIntegrationRouteStorageArgs as d2, type FarmIntegrationRoutesFactory as d3, type FarmIntegrationRoutesFactoryContext as d4, type FarmIntegrationSchema as d5, type FarmIntegrationSchemaConstraint as d6, type FarmIntegrationSchemaField as d7, type FarmIntegrationSchemaFieldType as d8, type FarmIntegrationSchemaModel as d9, type FarmMCPServer as dA, type FarmMCPServerFunction as dB, type FarmMCPStandaloneTool as dC, type FarmMCPTool as dD, type FarmMCPToolDefinition as dE, type FarmMarkdownMirrorTarget as dF, type FarmMarkdownResolvedRoute as dG, type FarmMarkdownRouteInput as dH, type FarmMarkdownUserConfig as dI, type FarmPageFormAction as dJ, type FarmPageFormField as dK, type FarmPageFormOption as dL, type FarmPageFormSubmit as dM, type FarmPerformanceConfig as dN, type FarmPluginFactory as dO, FarmPluginOptionsError as dP, type FarmPluginOptionsIssue as dQ, type FarmPluginOptionsSchema as dR, type FarmPreloadMode as dS, type FarmPreloadUserConfig as dT, type FarmRouteRenderingMode as dU, type FarmRouteRule as dV, type FarmRouteRuleCors as dW, type FarmRouteRuleRedirect as dX, type FarmRouteRuleRenderMode as dY, type FarmRouteRules as dZ, type FarmRouteRuntimeEntryKind as d_, type FarmIntegrationSchemaModelExtension as da, type FarmIntegrationSchemaModelOverride as db, type FarmIntegrationSchemaReference as dc, type FarmIntegrationSession as dd, type FarmIntegrationSlot as de, type FarmIntegrationStandardValidationResult as df, type FarmIntegrationValidationErrorLike as dg, type FarmIntegrationValidationIssue as dh, type FarmIntegrationValidationPathSegment as di, type FarmIntegrationValidationResult as dj, type FarmIntegrationsUserConfig as dk, type FarmLayerConfig as dl, type FarmMCPAuthorization as dm, type FarmMCPAuthorizeContext as dn, type FarmMCPConfig as dp, type FarmMCPEndpoint as dq, type FarmMCPEndpointTool as dr, type FarmMCPExecuteContext as ds, type FarmMCPOAuthConfig as dt, type FarmMCPPrompt as du, type FarmMCPPromptMessage as dv, type FarmMCPResource as dw, type FarmMCPResourceContent as dx, type FarmMCPResourceContext as dy, type FarmMCPResourceListing as dz, type FarmDesktopWindowConfig as e, getRegisteredIntegrationSchemas as e$, type FarmRouteRuntimeManifestEntry as e0, type FarmSecurityConfig as e1, type FarmServerComponentsConfig as e2, type FarmServerComponentsOptions as e3, type FarmTypedIntegrationRoute as e4, type HeaderConfig as e5, type I18nConfig as e6, type ImageConfig as e7, type InferFarmIntegrationOrmClient as e8, type InferFarmIntegrationOrmField as e9, createIntegrationOrm as eA, createIntegrationRoute as eB, createMarkdownMirrorResponse as eC, defineIntegration as eD, defineIntegrationSchema as eE, describeIntegrationOriginRejection as eF, dispatchIntegrationRequest as eG, dispatchIntegrationRequests as eH, extractFarmPageActions as eI, farmAcceptQuality as eJ, farmIntegrationSchemaToOrmSchema as eK, farmRouteRuleMatches as eL, forwardIntegrationSetCookies as eM, generateFarmDevIndicatorsClientRuntime as eN, getDeployTargetForPreset as eO, getFarmAPIBaseURL as eP, getFarmIntegrationPluginOwner as eQ, getFarmIntegrationPluginServerRuntime as eR, getFarmMarkdownAlternatePath as eS, getFarmMarkdownMirrorPath as eT, getFarmRouteRuntimeConfig as eU, getIntegrationDocumentNavigationMatchers as eV, getIntegrationProviders as eW, getIntegrationSchemas as eX, getPresetForDeployTarget as eY, getRegisteredIntegrationAPIManifest as eZ, getRegisteredIntegrationRuntime as e_, type InferFarmIntegrationOrmFields as ea, type InferFarmIntegrationOrmSchema as eb, type InferPluginOptionsInput as ec, type InferPluginOptionsOutput as ed, type IntegrationOriginPolicy as ee, type IntegrationOriginRejection as ef, type IntegrationOriginResult as eg, type IntegrationOrmModelNames as eh, MetadataRoute as ei, type MetadataRouteContext as ej, type MiddlewareConfig as ek, type RedirectConfig as el, type ResolveMarkdownMirrorTargetOptions as em, type ResolvedFarmCspConfig as en, type ResolvedFarmDeployConfig as eo, type ResolvedFarmMCPConfig as ep, type ResolvedFarmPreloadConfig as eq, type RewriteConfig as er, _getFarmMarkdownPageCheckToken as es, _getFarmMarkdownPath as et, _isFarmMarkdownPageCheck as eu, _readFarmRenderedHtml as ev, _resolveFarmMarkdownIndexAlias as ew, applyMarkdownNegotiationHeaders as ex, compareFarmRouteRuleSpecificity as ey, createFarmRouteRuntimeKey as ez, type FarmRouteRuntimeConfig as f, getRegisteredIntegrations as f0, hasFarmRouteRuntimeControls as f1, htmlToMarkdown as f2, integrationMiddlewareMayHandlePath as f3, integrationRoute as f4, isFarmIntegration as f5, isFarmIntegrationProviderComponentReference as f6, isFarmMarkdownMirrorExposed as f7, matchIntegrationRoute as f8, matchRegisteredIntegrationRoute as f9, type FarmLlmsTxtLink as fA, type FarmLlmsTxtUserConfig as fB, type ResolvedFarmLlmsTxtConfig as fC, applyFarmCspNonceToResponse as fD, collectFarmLlmsTxtPages as fE, createFarmAgentRobots as fF, createFarmCspNonce as fG, createFarmDefaultLlmsTxt as fH, createFarmDefaultSitemap as fI, createFarmLlmsFullRenderer as fJ, createFarmLlmsMarkdownReader as fK, createFarmMetadataRouteResponse as fL, isFarmPageNoIndex as fM, manageFarmDocumentPreloads as fN, manageFarmHtmlPreloads as fO, manageFarmLinkHeaderPreloads as fP, readFarmLlmsMarkdownFrom as fQ, renderFarmLlmsFullTxt as fR, reportFarmPreloadWarnings as fS, resolveFarmAgentOrigin as fT, resolveFarmLlmsTxtConfig as fU, resolveFarmSecurityConfig as fV, stampFarmCspNonce as fW, matchesFarmMarkdownRoutePattern as fa, mergeFarmRouteRuntimeConfigs as fb, nitroRouteRulesBelowBasePath as fc, normalizeDeployTarget as fd, normalizeFarmAPIBasePath as fe, normalizeFarmAPIConfig as ff, normalizeFarmRouteRuntimeConfig as fg, normalizeRouteRules as fh, requestAcceptsMarkdown as fi, resolveDeployOutputPath as fj, resolveFarmAPIConfig as fk, resolveFarmAPIRequestURL as fl, resolveFarmDevIndicatorsConfig as fm, resolveFarmRouteRuleRuntimeConfig as fn, resolveFarmRouteRuntimeConfig as fo, resolveIntegrationAllowedOrigins as fp, resolveIntegrationOrmRuntimeClient as fq, resolveIntegrationPlugins as fr, resolveMarkdownConfig as fs, resolveMarkdownMirrorTarget as ft, resolveMigrationsConfig as fu, resolveRouteRuleCorsPreflightHeaders as fv, routeRulesToHeaders as fw, routeRulesToNitroRouteRules as fx, routeRulesToRedirects as fy, validateIntegrationRequestOrigin as fz, type FarmMdxComponents as g, type FarmMdxResolvedConfig as h, type RouteModule as i, type FarmMarkdownRoutePathname as j, FARM_MARKDOWN_CONTENT_TYPE as k, createFarmMarkdownErrorBody as l, farmRequestWantsMarkdown as m, type FarmMdxComponent as n, type FarmMdxUserConfig as o, resolveMdxConfig as p, type FarmUserConfig as q, resolveFarmMdxComponentsModulePath as r, type RouteSegment as s, type FarmRequest as t, type FarmResponse as u, type FarmPluginContext as v, type FarmAppContext as w, type PageProps as x, type FarmSearchParams as y, type PluginContextProps as z };
|