@farm.js/core 0.1.81 → 0.1.83
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.d-Cxi3214_.d.ts → agent-mcp.d-7uKdOttc.d.ts} +1 -1
- package/dist/{agent-mcp.d-DMqOqnOA.d.mts → agent-mcp.d-LChlR2au.d.mts} +1 -1
- package/dist/agent-runtime.cjs +4 -3
- package/dist/agent-runtime.d.mts +2 -1
- package/dist/agent-runtime.d.ts +2 -1
- package/dist/agent-runtime.mjs +3 -2
- package/dist/analyzer-WGH6J2HN.cjs +17 -0
- package/dist/{analyzer-IC66UJCU.mjs → analyzer-Y6IY26HI.mjs} +2 -2
- package/dist/api/node.cjs +5 -4
- package/dist/api/node.d.mts +4 -3
- package/dist/api/node.d.ts +4 -3
- package/dist/api/node.mjs +4 -3
- package/dist/api/route-manager.cjs +5 -4
- package/dist/api/route-manager.d.mts +4 -3
- package/dist/api/route-manager.d.ts +4 -3
- package/dist/api/route-manager.mjs +4 -3
- package/dist/api/runtime.cjs +4 -3
- package/dist/api/runtime.d.mts +3 -2
- package/dist/api/runtime.d.ts +3 -2
- package/dist/api/runtime.mjs +3 -2
- package/dist/api.cjs +7 -6
- package/dist/api.d.mts +5 -4
- package/dist/api.d.ts +5 -4
- package/dist/api.mjs +6 -5
- package/dist/{app-manifest.d-C8Cswd31.d.ts → app-manifest.d-CRp21oAz.d.ts} +1 -1
- package/dist/{app-manifest.d-Bbxp5kes.d.mts → app-manifest.d-QMdmqqCr.d.mts} +1 -1
- package/dist/app-markdown.d.mts +3 -2
- package/dist/app-markdown.d.ts +3 -2
- package/dist/{app.d-DGIoFt5D.d.ts → app.d-CVPu_hoD.d.ts} +51 -4
- package/dist/{app.d-BJuSurgy.d.mts → app.d-eSm7jgoc.d.mts} +51 -4
- package/dist/{chunk-NSLRK5DK.cjs → chunk-3CZ4MJHW.cjs} +1 -1
- package/dist/{chunk-CPZZBCPO.cjs → chunk-3DAJXBSL.cjs} +2 -2
- package/dist/chunk-3DE6RK7K.cjs +36 -0
- package/dist/{chunk-XMHERKSE.mjs → chunk-42IBGQTN.mjs} +5 -12
- package/dist/{chunk-GY63XD6K.mjs → chunk-43N3X6OO.mjs} +1 -1
- package/dist/{chunk-MOGRRZMW.cjs → chunk-55UJGUBP.cjs} +35 -30
- package/dist/{chunk-BPWTSPK6.mjs → chunk-5AL2GXAU.mjs} +1 -1
- package/dist/{chunk-GAWSWJJ2.cjs → chunk-5GFTMTX3.cjs} +2 -2
- package/dist/{chunk-LKIG5SM6.cjs → chunk-5P65LXGU.cjs} +9 -9
- package/dist/{chunk-TPA2PV5J.mjs → chunk-5V6HSJFG.mjs} +24 -1
- package/dist/chunk-5X5GJU5A.cjs +426 -0
- package/dist/{chunk-UF4BNKKJ.mjs → chunk-6QYPP5KC.mjs} +2 -2
- package/dist/{chunk-ATISIC6G.mjs → chunk-7VJXYB6S.mjs} +7 -1
- package/dist/{chunk-OIWDEDUO.cjs → chunk-7X2CYE66.cjs} +419 -357
- package/dist/{chunk-XOGCNKB7.cjs → chunk-A5BHJHDF.cjs} +3 -3
- package/dist/{chunk-WGWWRV2M.cjs → chunk-B3HQTGXS.cjs} +6 -4
- package/dist/{chunk-HTNJ7A4D.mjs → chunk-B5SJYXJK.mjs} +177 -67
- package/dist/chunk-BUQR7KKO.mjs +17 -0
- package/dist/{chunk-OO4GVGM3.mjs → chunk-CA2HBLXP.mjs} +11 -1
- package/dist/{chunk-724WT3NI.mjs → chunk-CRE642TW.mjs} +1 -1
- package/dist/{chunk-Z5BANEQD.cjs → chunk-DMSXZNQR.cjs} +2 -2
- package/dist/{chunk-IPG6B25T.mjs → chunk-DPUZVGXH.mjs} +203 -54
- package/dist/{chunk-ZIYJWJV2.cjs → chunk-DZTWUEBB.cjs} +8 -8
- package/dist/{chunk-4OFWG4IK.cjs → chunk-EACD6ND7.cjs} +8 -2
- package/dist/{chunk-46UV2E7I.cjs → chunk-EFI6QWBQ.cjs} +200 -90
- package/dist/chunk-ELNRKD4V.mjs +426 -0
- package/dist/{chunk-XOXCQGAF.mjs → chunk-FFWSER54.mjs} +1 -1
- package/dist/chunk-FZ7OUN5M.cjs +30 -0
- package/dist/{chunk-5MMKNW7Q.cjs → chunk-H7REG7OX.cjs} +15 -8
- package/dist/{chunk-5ZHC6QGD.cjs → chunk-HQKCSJEH.cjs} +8 -2
- package/dist/{chunk-OUDNUFVR.cjs → chunk-HRH7OKBQ.cjs} +6 -4
- package/dist/{chunk-RHI67C2V.cjs → chunk-HUGPJFOC.cjs} +1 -35
- package/dist/{chunk-ADQ2LATR.cjs → chunk-IABI62FH.cjs} +2 -2
- package/dist/{chunk-TLSGRK7E.mjs → chunk-IAIRQAHA.mjs} +3 -1
- package/dist/{chunk-C2OLXVUC.mjs → chunk-IVP5Q4BX.mjs} +10 -3
- package/dist/{chunk-EX6ZSN5P.cjs → chunk-IZYFP7IN.cjs} +17 -24
- package/dist/chunk-J6RFB324.cjs +17 -0
- package/dist/{chunk-CL7BUGVB.cjs → chunk-JHRJ5V2F.cjs} +509 -360
- package/dist/{chunk-WIZRYFB2.cjs → chunk-JYQ6DGPW.cjs} +8 -6
- package/dist/{chunk-POL5RCVU.mjs → chunk-K3GHY7GY.mjs} +14 -9
- package/dist/{chunk-TYHWZOA2.mjs → chunk-KWI3SQFX.mjs} +4 -2
- package/dist/{chunk-UVV3I5QA.cjs → chunk-L2GUEYHR.cjs} +29 -6
- package/dist/{chunk-POVHO46S.mjs → chunk-L3RDECA5.mjs} +1 -1
- package/dist/{chunk-E3HBD2K3.cjs → chunk-LN6FAYNB.cjs} +36 -31
- package/dist/chunk-M6AJZ4XR.mjs +30 -0
- package/dist/{chunk-RPA45OQS.mjs → chunk-MO4UTDQ6.mjs} +1 -1
- package/dist/{chunk-6WVRVGKC.mjs → chunk-NAHDG6UX.mjs} +1 -1
- package/dist/{chunk-NOYKBGUK.mjs → chunk-NDWI6FDH.mjs} +558 -212
- package/dist/{chunk-OFVCWV2D.cjs → chunk-NEKO3HM2.cjs} +11 -1
- package/dist/{chunk-M6DAIE4T.cjs → chunk-NGTZHWBG.cjs} +78 -9
- package/dist/{chunk-D77OGI6X.mjs → chunk-NKVBWPXR.mjs} +1 -1
- package/dist/{chunk-SLEHAGGV.mjs → chunk-NQ3Y6E2T.mjs} +7 -1
- package/dist/{chunk-W6C3LEXX.cjs → chunk-OM6JIIJU.cjs} +155 -20
- package/dist/{chunk-S3IWDDQ3.mjs → chunk-ORBBAA7B.mjs} +1 -1
- package/dist/{chunk-7VCLTNED.mjs → chunk-PNMAD3OS.mjs} +1 -35
- package/dist/{chunk-BJWJP5A4.mjs → chunk-R3VLM2MW.mjs} +3 -3
- package/dist/{chunk-I4WZRG73.mjs → chunk-RB5IGN3N.mjs} +13 -6
- package/dist/{chunk-2HMSSPCZ.mjs → chunk-RGTZAM6Y.mjs} +71 -2
- package/dist/{chunk-IM3UINTZ.mjs → chunk-RNJX3MD6.mjs} +151 -16
- package/dist/{chunk-EJCVG25Z.mjs → chunk-S3R4JDRO.mjs} +17 -9
- package/dist/{chunk-2Y2HRZQY.cjs → chunk-SLIXHUMS.cjs} +931 -585
- package/dist/{chunk-WFVSAT7Y.cjs → chunk-T7HGXF7D.cjs} +3 -3
- package/dist/{chunk-ZKNXCRUQ.cjs → chunk-U54REWMJ.cjs} +23 -23
- package/dist/{chunk-YH7ENV3K.mjs → chunk-U56Z3755.mjs} +13 -8
- package/dist/chunk-U6XYBTUT.mjs +36 -0
- package/dist/{chunk-TCMRLW3K.cjs → chunk-VACYUMXW.cjs} +10 -3
- package/dist/{chunk-RZ6XUEQS.mjs → chunk-VQ6IXALL.mjs} +2 -2
- package/dist/{chunk-UGLTOLTJ.cjs → chunk-W76C7TCW.cjs} +2 -2
- package/dist/{chunk-FYZD7DUS.cjs → chunk-WCSBYQOT.cjs} +4 -4
- package/dist/{chunk-5N526T7Q.mjs → chunk-WZV2G2A6.mjs} +95 -33
- package/dist/{chunk-SM2SYWAR.cjs → chunk-XJDB564A.cjs} +18 -10
- package/dist/{chunk-6JWXHPVR.mjs → chunk-XRSNW4IU.mjs} +4 -2
- package/dist/{cli-runtime.d-D8O1v2_X.d.mts → cli-runtime.d-C7aMfoTq.d.mts} +8 -6
- package/dist/{cli-runtime.d-hf4L1MNP.d.ts → cli-runtime.d-DaElKjaL.d.ts} +8 -6
- package/dist/{client-component.d-DFwUHlOz.d.mts → client-component.d-DLMCzmUx.d.mts} +1 -1
- package/dist/{client-component.d-CX8UCQh-.d.ts → client-component.d-DLknFP8l.d.ts} +1 -1
- package/dist/{client-plugins.d-qWp8hNwd.d.ts → client-plugins.d-BVXjyIkY.d.ts} +20 -1
- package/dist/{client-plugins.d-BflSNO-b.d.mts → client-plugins.d-BwKwuO_0.d.mts} +20 -1
- package/dist/client-plugins.d.mts +2 -1
- package/dist/client-plugins.d.ts +2 -1
- package/dist/client.cjs +4 -3
- package/dist/client.d.mts +10 -9
- package/dist/client.d.ts +10 -9
- package/dist/client.mjs +3 -2
- package/dist/config.d.mts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/cron.cjs +2 -2
- package/dist/cron.mjs +1 -1
- package/dist/desktop.d.mts +3 -2
- package/dist/desktop.d.ts +3 -2
- package/dist/{devtools-XJHODO5H.mjs → devtools-OI52TCSD.mjs} +8 -7
- package/dist/{devtools-EI5N366Z.cjs → devtools-ZM2AR36W.cjs} +11 -10
- package/dist/docs.cjs +13 -11
- package/dist/docs.d.mts +15 -6
- package/dist/docs.d.ts +15 -6
- package/dist/docs.mjs +12 -10
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +3 -3
- package/dist/{generate-route-types.d-CaGMIaNI.d.mts → generate-route-types.d-BFOMM8Ef.d.mts} +3 -0
- package/dist/{generate-route-types.d-B76M5R11.d.ts → generate-route-types.d-C2m8myHb.d.ts} +3 -0
- package/dist/{handler.d-DoH5Krkq.d.mts → handler.d-BKTWzzNA.d.mts} +1 -1
- package/dist/{handler.d-C2oRihfa.d.ts → handler.d-Dzpyg3-N.d.ts} +1 -1
- package/dist/{headers.d-BrX53wFQ.d.mts → headers.d-5opjyhXw.d.mts} +1 -1
- package/dist/{headers.d-Dj0mfYpb.d.ts → headers.d-PZyXcDAH.d.ts} +1 -1
- package/dist/index.cjs +38 -35
- package/dist/{index.d-DzDHOttz.d.mts → index.d-C0Mie66f.d.mts} +1 -1
- package/dist/{index.d-Dhc2scRl.d.ts → index.d-DV2q-0mE.d.ts} +1 -1
- package/dist/index.d.mts +26 -25
- package/dist/index.d.ts +26 -25
- package/dist/index.mjs +38 -35
- package/dist/integrations/orm.d.mts +2 -1
- package/dist/integrations/orm.d.ts +2 -1
- package/dist/integrations.cjs +4 -3
- package/dist/integrations.d.mts +2 -1
- package/dist/integrations.d.ts +2 -1
- package/dist/integrations.mjs +3 -2
- package/dist/internal/app-markdown-runtime.d.mts +3 -2
- package/dist/internal/app-markdown-runtime.d.ts +3 -2
- package/dist/internal/build-runtime.cjs +31 -30
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +30 -29
- package/dist/internal/cli-runtime.cjs +12 -11
- package/dist/internal/cli-runtime.d.mts +8 -7
- package/dist/internal/cli-runtime.d.ts +8 -7
- package/dist/internal/cli-runtime.mjs +11 -10
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/compression-runtime.d.mts +2 -1
- package/dist/internal/compression-runtime.d.ts +2 -1
- package/dist/internal/config-runtime.cjs +10 -9
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +9 -8
- package/dist/internal/infra-analytics-runtime.cjs +8 -6
- package/dist/internal/infra-analytics-runtime.d.mts +8 -2
- package/dist/internal/infra-analytics-runtime.d.ts +8 -2
- package/dist/internal/infra-analytics-runtime.mjs +8 -6
- package/dist/internal/islands-action-client.cjs +18 -0
- package/dist/internal/islands-action-client.d.mts +18 -0
- package/dist/internal/islands-action-client.d.ts +18 -0
- package/dist/internal/islands-action-client.mjs +18 -0
- package/dist/internal/islands-boot.cjs +54 -20
- package/dist/internal/islands-boot.d.mts +5 -3
- package/dist/internal/islands-boot.d.ts +5 -3
- package/dist/internal/islands-boot.mjs +49 -15
- package/dist/internal/islands-runtime.cjs +3 -8
- package/dist/internal/islands-runtime.mjs +4 -9
- package/dist/internal/islx-actions-client.cjs +4 -3
- package/dist/internal/islx-actions-client.mjs +3 -2
- package/dist/internal/islx-actions-server.d.mts +0 -2
- package/dist/internal/islx-actions-server.d.ts +0 -2
- package/dist/internal/islx-client.cjs +13 -1
- package/dist/internal/islx-client.d.mts +11 -0
- package/dist/internal/islx-client.d.ts +11 -0
- package/dist/internal/islx-client.mjs +14 -0
- package/dist/internal/metadata-image-runtime.d.mts +1 -0
- package/dist/internal/metadata-image-runtime.d.ts +1 -0
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +12 -7
- package/dist/internal/production-runtime.d.mts +14 -12
- package/dist/internal/production-runtime.d.ts +14 -12
- package/dist/internal/production-runtime.mjs +11 -6
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +2 -1
- package/dist/internal/start-manifest.d.ts +2 -1
- package/dist/markdown.d.mts +2 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/middleware.d.mts +2 -1
- package/dist/middleware.d.ts +2 -1
- package/dist/mobile.d.mts +6 -3
- package/dist/mobile.d.ts +6 -3
- package/dist/{mount.d-DOaeUoWq.d.mts → mount.d-CZ_qL1iS.d.mts} +1 -1
- package/dist/{mount.d-DwXjaOHY.d.ts → mount.d-gWul1GA1.d.ts} +1 -1
- package/dist/{navigation-delegate.d-BElGUMgt.d.mts → navigation-delegate.d-BBTzhJLj.d.mts} +1 -1
- package/dist/{navigation-delegate.d-o3pPd9VI.d.ts → navigation-delegate.d-BZsYEAet.d.ts} +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/{nitro-YLTGVGK4.mjs → nitro-FK3SZM4H.mjs} +1 -1
- package/dist/{nitro-XGIO6EQN.cjs → nitro-YDFMH5PY.cjs} +4 -4
- package/dist/{plugin-LN3JBZRR.cjs → plugin-3PT7I26P.cjs} +2 -2
- package/dist/{plugin-33I3V42N.mjs → plugin-QOTAPTVV.mjs} +1 -1
- package/dist/plugin.cjs +25 -23
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +24 -22
- package/dist/{render-plan.d-BD06tqFA.d.ts → render-plan.d-AaJsYPX-.d.ts} +1 -1
- package/dist/{render-plan.d-xWCRAJeR.d.mts → render-plan.d-bnWxS12w.d.mts} +1 -1
- package/dist/renderer-client.cjs +54 -10
- package/dist/renderer-client.d.mts +8 -7
- package/dist/renderer-client.d.ts +8 -7
- package/dist/renderer-client.mjs +50 -6
- package/dist/renderer.cjs +6 -2
- package/dist/renderer.d.mts +97 -4
- package/dist/renderer.d.ts +97 -4
- package/dist/renderer.mjs +5 -1
- package/dist/{request.d-Dx82V8bz.d.mts → request.d-C2HOn3Hi.d.mts} +1 -1
- package/dist/{request.d-DUMuWxSN.d.ts → request.d-CAeitOG1.d.ts} +1 -1
- package/dist/request.d.mts +3 -2
- package/dist/request.d.ts +3 -2
- package/dist/{route-rendering.d-BwBVpLtD.d.ts → route-rendering.d-A1dIkUK5.d.ts} +1 -1
- package/dist/{route-rendering.d-DJh6GauM.d.mts → route-rendering.d-CYA-ulnX.d.mts} +1 -1
- package/dist/{router.d-BtkKDxUB.d.mts → router.d-8lxnzlkr.d.mts} +1 -1
- package/dist/{router.d-CJBSG5jr.d.ts → router.d-A_Yt6jYz.d.ts} +1 -1
- package/dist/{routes.d-CCccJRrp.d.mts → routes.d-BWvpUoYu.d.mts} +1 -1
- package/dist/{routes.d-b7khoRoU.d.ts → routes.d-D7RWvfqL.d.ts} +1 -1
- package/dist/routes.d.mts +2 -1
- package/dist/routes.d.ts +2 -1
- package/dist/{rsc-pipeline-H5AXQA7A.cjs → rsc-pipeline-MFJZGDPE.cjs} +11 -10
- package/dist/{rsc-pipeline-GD6KLOIG.mjs → rsc-pipeline-TRZVFCBX.mjs} +10 -9
- package/dist/{runtime-YWQVBC3V.cjs → runtime-MJUG2HGR.cjs} +15 -13
- package/dist/{runtime-OJ7FXFUI.mjs → runtime-O4Y3Z6V3.mjs} +11 -9
- package/dist/{runtime.d-BQnD0cfC.d.ts → runtime.d-BPyvWrgQ.d.ts} +1 -1
- package/dist/{runtime.d-C4SuZXf6.d.mts → runtime.d-C_rZ9_DD.d.mts} +1 -1
- package/dist/{server-components-status.d-9rH7ZoEq.d.mts → server-components-status.d-BpxiEMQE.d.mts} +1 -1
- package/dist/{server-components-status.d-rfKOcE0N.d.ts → server-components-status.d-C2UEKJn7.d.ts} +1 -1
- package/dist/server-plugins.d.mts +4 -3
- package/dist/server-plugins.d.ts +4 -3
- package/dist/server-query-call.d-rVM_lsYk.d.mts +15 -0
- package/dist/server-query-call.d-rVM_lsYk.d.ts +15 -0
- package/dist/server-query-client.cjs +5 -3
- package/dist/server-query-client.d.mts +3 -2
- package/dist/server-query-client.d.ts +3 -2
- package/dist/server-query-client.mjs +5 -3
- package/dist/{server-query-runtime.d-DXRNhX_3.d.ts → server-query-runtime.d-BlHd90D0.d.ts} +2 -8
- package/dist/{server-query-runtime.d-aP52iuL5.d.mts → server-query-runtime.d-CCLGkQtE.d.mts} +2 -8
- package/dist/server.cjs +58 -52
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +34 -28
- package/dist/{spa-router.d-V6XLSTCy.d.mts → spa-router.d-BD-6WX1R.d.mts} +2 -2
- package/dist/{spa-router.d-DMKiBsHH.d.ts → spa-router.d-Cw5i_15e.d.ts} +2 -2
- package/dist/{ssg.d-MNedvvMB.d.ts → ssg.d-Bifiq0EL.d.ts} +2 -2
- package/dist/{ssg.d-BnCKPQL0.d.mts → ssg.d-CCE9aob5.d.mts} +2 -2
- package/dist/{store-core.d-Ad5biajo.d.ts → store-core.d-5tVn5vi1.d.ts} +12 -4
- package/dist/{store-core.d-BqJI1-ix.d.mts → store-core.d-BN2MxSG9.d.mts} +12 -4
- package/dist/testing.cjs +5 -4
- package/dist/testing.d.mts +2 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.mjs +4 -3
- package/dist/{utils.d-BdjHKDuT.d.ts → utils.d-BUjpSNIO.d.ts} +1 -1
- package/dist/{utils.d-BEKLWa0Z.d.mts → utils.d-wGPLeVbq.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +25 -23
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +24 -22
- package/package.json +7 -2
- package/dist/analyzer-435DCIQ6.cjs +0 -17
- package/dist/chunk-AHVF5GI2.cjs +0 -229
- package/dist/chunk-ONSZP5JK.mjs +0 -229
package/dist/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, a as StaticMetadataImageInfo, c as createFarmApp, i as inspectStaticMetadataImage } from './app.d-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, a as StaticMetadataImageInfo, c as createFarmApp, i as inspectStaticMetadataImage } from './app.d-CVPu_hoD.js';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.js';
|
|
3
|
-
import { aK as FarmConfig, x as FarmUserConfig } from './client-plugins.d-
|
|
4
|
-
export { aL as AppRoutePattern, aM as BuildOptions, aN as ErrorBoundary, aO as ErrorProps, o as FarmAppContext, aP as FarmComponentType, aG as FarmContextFactory, aQ as FarmContextFactoryInput, aR as FarmIsolatedClientHydrationMode, aS as FarmMCPUserConfig, aT as FarmMigrationCommand, aU as FarmMigrationsConfig, aV as FarmMigrationsUserConfig, E as FarmRequest, G as FarmResponse, aW as GenerateStaticParams, aX as Layout, aY as LayoutMetadataProps, aZ as LayoutModule, L as LayoutProps, a_ as Loading, a$ as LoadingProps, M as Metadata, b0 as MetadataJsonLd, b1 as MetadataProps, b2 as MetadataRobots, b3 as MetadataRobotsDirectives, aF as MiddlewareProps, b4 as NitroPreset, b5 as Page, p as PageProps, b6 as PagePropsWithMiddleware, b7 as PageRouteParams, P as ParsedRoute, s as PluginContextProps, b8 as ResolvedFarmMigrationsConfig, e as RouteModule, m as RouteSegment, S as SSGCollectionResult, n as SSGPage, b9 as ServerAction, ba as StaticPathParams, bb as StaticPathPrimitive, bc as StaticRouteParams, bd as ThemeColorDescriptor, be as Viewport, bf as resolveFarmMCPConfig, bg as resolveFarmMCPPlugin } from './client-plugins.d-
|
|
5
|
-
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-
|
|
3
|
+
import { aK as FarmConfig, x as FarmUserConfig } from './client-plugins.d-BVXjyIkY.js';
|
|
4
|
+
export { aL as AppRoutePattern, aM as BuildOptions, aN as ErrorBoundary, aO as ErrorProps, o as FarmAppContext, aP as FarmComponentType, aG as FarmContextFactory, aQ as FarmContextFactoryInput, aR as FarmIsolatedClientHydrationMode, aS as FarmMCPUserConfig, aT as FarmMigrationCommand, aU as FarmMigrationsConfig, aV as FarmMigrationsUserConfig, E as FarmRequest, G as FarmResponse, aW as GenerateStaticParams, aX as Layout, aY as LayoutMetadataProps, aZ as LayoutModule, L as LayoutProps, a_ as Loading, a$ as LoadingProps, M as Metadata, b0 as MetadataJsonLd, b1 as MetadataProps, b2 as MetadataRobots, b3 as MetadataRobotsDirectives, aF as MiddlewareProps, b4 as NitroPreset, b5 as Page, p as PageProps, b6 as PagePropsWithMiddleware, b7 as PageRouteParams, P as ParsedRoute, s as PluginContextProps, b8 as ResolvedFarmMigrationsConfig, e as RouteModule, m as RouteSegment, S as SSGCollectionResult, n as SSGPage, b9 as ServerAction, ba as StaticPathParams, bb as StaticPathPrimitive, bc as StaticRouteParams, bd as ThemeColorDescriptor, be as Viewport, bf as resolveFarmMCPConfig, bg as resolveFarmMCPPlugin } from './client-plugins.d-BVXjyIkY.js';
|
|
5
|
+
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-BUjpSNIO.js';
|
|
6
6
|
export { FarmKvMount, FarmSqlMount, FarmStorageOptions, _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, farmStorage, getDatabase, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveManagedStorageMount, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmCacheWrite, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
8
8
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
9
9
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
10
10
|
import { ViteDevServer } from 'vite';
|
|
11
|
-
export { g as getCurrentRequest } from './request.d-
|
|
11
|
+
export { g as getCurrentRequest } from './request.d-CAeitOG1.js';
|
|
12
12
|
export { s as sendWebResponse } from './response.d-B_MtBCnF.js';
|
|
13
13
|
export { getTheme, getThemeSnapshot } from './theme/server.js';
|
|
14
14
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, ServerActionRequestOptions, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
|
|
@@ -22,7 +22,7 @@ import './server-http.d-rAe7lAQc.js';
|
|
|
22
22
|
import './cron.js';
|
|
23
23
|
import './endpoint.d-Dx_1k6Du.js';
|
|
24
24
|
import './image-config.d-ByhQ0TT7.js';
|
|
25
|
-
import './agent-mcp.d-
|
|
25
|
+
import './agent-mcp.d-7uKdOttc.js';
|
|
26
26
|
import './routing.d-BhPgtN_S.js';
|
|
27
27
|
import './types.d-euATAbE4.js';
|
|
28
28
|
import './routes.js';
|
|
@@ -31,6 +31,7 @@ import './server-fn.js';
|
|
|
31
31
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
32
32
|
import './renderer.js';
|
|
33
33
|
import './deployment.js';
|
|
34
|
+
import './island.d-CfGru1MO.js';
|
|
34
35
|
import './lifecycle.d-OtGWAvJT.js';
|
|
35
36
|
import './route.d-Cd4Fi6BA.js';
|
|
36
37
|
import 'http';
|
|
@@ -49,16 +50,15 @@ import 'rolldown';
|
|
|
49
50
|
import './config.d-BKIhJtmr.js';
|
|
50
51
|
import './types.d-DQnyD3VD.js';
|
|
51
52
|
import './font.js';
|
|
52
|
-
import './client-component.d-
|
|
53
|
-
import './
|
|
54
|
-
import './render-plan.d-BD06tqFA.js';
|
|
53
|
+
import './client-component.d-DLknFP8l.js';
|
|
54
|
+
import './render-plan.d-AaJsYPX-.js';
|
|
55
55
|
import './runtime.d-PUA5qBnd.js';
|
|
56
56
|
import './resolver.d-yaHcGCCG.js';
|
|
57
57
|
import './platform.js';
|
|
58
58
|
import './server-client-bridge.d-DKWDl5NB.js';
|
|
59
|
-
import './ssg.d-
|
|
60
|
-
import './route-rendering.d-
|
|
61
|
-
import './headers.d-
|
|
59
|
+
import './ssg.d-Bifiq0EL.js';
|
|
60
|
+
import './route-rendering.d-A1dIkUK5.js';
|
|
61
|
+
import './headers.d-PZyXcDAH.js';
|
|
62
62
|
import 'node:http';
|
|
63
63
|
|
|
64
64
|
declare const DEFAULT_FARM_DEV_SERVER_PORT = 3000;
|
package/dist/server.mjs
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmDevLoopbackPlugin
|
|
3
3
|
} from "./chunk-RLEAVG6G.mjs";
|
|
4
|
-
import {
|
|
5
|
-
createFarmInfraAnalyticsPlugin
|
|
6
|
-
} from "./chunk-IM3UINTZ.mjs";
|
|
7
4
|
import {
|
|
8
5
|
FarmEnvironmentError,
|
|
9
6
|
createClientOnlyFn,
|
|
@@ -24,7 +21,7 @@ import {
|
|
|
24
21
|
resolveConfig,
|
|
25
22
|
resolveFarmMCPConfig,
|
|
26
23
|
resolveFarmMCPPlugin
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-U56Z3755.mjs";
|
|
28
25
|
import "./chunk-VISQDC6W.mjs";
|
|
29
26
|
import {
|
|
30
27
|
loadFarmInstrumentation,
|
|
@@ -41,7 +38,7 @@ import {
|
|
|
41
38
|
farmNavigationPlugin,
|
|
42
39
|
farmPlugin,
|
|
43
40
|
farmServerOnlyEntriesPlugin
|
|
44
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WZV2G2A6.mjs";
|
|
45
42
|
import {
|
|
46
43
|
createFarmReactRefreshPlugins,
|
|
47
44
|
farmDesktopDevGuardPlugin
|
|
@@ -61,59 +58,63 @@ import {
|
|
|
61
58
|
inspectStaticMetadataImage,
|
|
62
59
|
mergeFarmViteConfig,
|
|
63
60
|
resolveFarmImageProviderForRuntime
|
|
64
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-DPUZVGXH.mjs";
|
|
65
62
|
import {
|
|
66
63
|
loadTailwindVitePlugin
|
|
67
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-MO4UTDQ6.mjs";
|
|
68
65
|
import {
|
|
69
66
|
FarmRuntimeShutdownError,
|
|
70
67
|
PluginManager
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-IVP5Q4BX.mjs";
|
|
69
|
+
import "./chunk-IAIRQAHA.mjs";
|
|
73
70
|
import "./chunk-YSU3WCW6.mjs";
|
|
74
71
|
import "./chunk-YHHOTKUT.mjs";
|
|
75
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-ELNRKD4V.mjs";
|
|
76
73
|
import "./chunk-HQ2VAJLW.mjs";
|
|
77
74
|
import "./chunk-UTUS6JUH.mjs";
|
|
75
|
+
import "./chunk-EZYKV24V.mjs";
|
|
78
76
|
import {
|
|
79
77
|
resolveFarmPlatform,
|
|
80
78
|
validateFarmDesktopConfig
|
|
81
79
|
} from "./chunk-SMUW7UST.mjs";
|
|
82
80
|
import "./chunk-UB7RVEMX.mjs";
|
|
83
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-CA2HBLXP.mjs";
|
|
84
82
|
import "./chunk-LLZSYFOM.mjs";
|
|
85
83
|
import "./chunk-UUMKLGUU.mjs";
|
|
86
84
|
import "./chunk-ZXDX7VYZ.mjs";
|
|
87
85
|
import "./chunk-V7HNYR76.mjs";
|
|
88
|
-
import
|
|
86
|
+
import {
|
|
87
|
+
_farmWebMCPReportsEnabled,
|
|
88
|
+
createFarmInfraAnalyticsPlugin
|
|
89
|
+
} from "./chunk-RNJX3MD6.mjs";
|
|
90
|
+
import "./chunk-VQ6IXALL.mjs";
|
|
89
91
|
import "./chunk-HR4N2K4V.mjs";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-EZYKV24V.mjs";
|
|
92
|
+
import "./chunk-43N3X6OO.mjs";
|
|
92
93
|
import "./chunk-2PFGA6PB.mjs";
|
|
93
94
|
import "./chunk-L4RTTTVE.mjs";
|
|
94
95
|
import "./chunk-GNZIAJGB.mjs";
|
|
96
|
+
import "./chunk-X3EFRVXY.mjs";
|
|
95
97
|
import "./chunk-XAXTTBUT.mjs";
|
|
96
98
|
import "./chunk-INKVDO42.mjs";
|
|
97
|
-
import "./chunk-X3EFRVXY.mjs";
|
|
98
99
|
import "./chunk-K6HIIWUB.mjs";
|
|
99
100
|
import "./chunk-YFTGIHNC.mjs";
|
|
100
101
|
import "./chunk-HZOMT5DY.mjs";
|
|
101
102
|
import {
|
|
102
103
|
farmEnvironmentFunctionsPlugin
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-B5SJYXJK.mjs";
|
|
104
105
|
import "./chunk-D2VAANBS.mjs";
|
|
105
106
|
import "./chunk-S32PDOLO.mjs";
|
|
106
107
|
import {
|
|
107
108
|
getTheme,
|
|
108
109
|
getThemeSnapshot
|
|
109
110
|
} from "./chunk-ZEWWZJPZ.mjs";
|
|
110
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-S3R4JDRO.mjs";
|
|
111
112
|
import "./chunk-NRNAHZ57.mjs";
|
|
112
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-5V6HSJFG.mjs";
|
|
113
114
|
import "./chunk-YVVY276M.mjs";
|
|
114
115
|
import "./chunk-XR2ZIBQK.mjs";
|
|
115
116
|
import "./chunk-CU5SYTJG.mjs";
|
|
116
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-NQ3Y6E2T.mjs";
|
|
117
118
|
import "./chunk-22W4FNTG.mjs";
|
|
118
119
|
import "./chunk-SQ5O7I3L.mjs";
|
|
119
120
|
import "./chunk-XGL42MQ7.mjs";
|
|
@@ -133,9 +134,9 @@ import {
|
|
|
133
134
|
isReactRenderer,
|
|
134
135
|
loadFarmRendererVitePlugins,
|
|
135
136
|
resolveFarmRenderer
|
|
136
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-RGTZAM6Y.mjs";
|
|
137
138
|
import "./chunk-AOIUYHPH.mjs";
|
|
138
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-7VJXYB6S.mjs";
|
|
139
140
|
import {
|
|
140
141
|
DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT,
|
|
141
142
|
ServerActionRequestError,
|
|
@@ -162,7 +163,7 @@ import "./chunk-LTOT5KVJ.mjs";
|
|
|
162
163
|
import "./chunk-WXFY5JIY.mjs";
|
|
163
164
|
import "./chunk-YP7YO3S3.mjs";
|
|
164
165
|
import "./chunk-YWPNIYUP.mjs";
|
|
165
|
-
import "./chunk-
|
|
166
|
+
import "./chunk-XRSNW4IU.mjs";
|
|
166
167
|
import "./chunk-H4WUWLQR.mjs";
|
|
167
168
|
import "./chunk-CZOXZ6WQ.mjs";
|
|
168
169
|
import "./chunk-WNLPQW7W.mjs";
|
|
@@ -220,7 +221,7 @@ import {
|
|
|
220
221
|
_withAfterNodeMiddleware,
|
|
221
222
|
after
|
|
222
223
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
223
|
-
import "./chunk-
|
|
224
|
+
import "./chunk-NAHDG6UX.mjs";
|
|
224
225
|
import "./chunk-NRWEY2CM.mjs";
|
|
225
226
|
import "./chunk-URBP6DLH.mjs";
|
|
226
227
|
import "./chunk-YX6AFPXC.mjs";
|
|
@@ -230,13 +231,14 @@ import {
|
|
|
230
231
|
VERCEL_OG_INSTALL_HINT,
|
|
231
232
|
isOptionalPeerInstalled
|
|
232
233
|
} from "./chunk-NR63PD3P.mjs";
|
|
233
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-KWI3SQFX.mjs";
|
|
234
235
|
import "./chunk-HD5FLXP2.mjs";
|
|
235
236
|
import "./chunk-2LKUR5QJ.mjs";
|
|
236
237
|
import "./chunk-D7Y63SOY.mjs";
|
|
237
238
|
import "./chunk-ZIAWO6BC.mjs";
|
|
238
239
|
import "./chunk-F7MJWW6A.mjs";
|
|
239
|
-
import "./chunk-
|
|
240
|
+
import "./chunk-U6XYBTUT.mjs";
|
|
241
|
+
import "./chunk-PNMAD3OS.mjs";
|
|
240
242
|
import "./chunk-UJWRXBVP.mjs";
|
|
241
243
|
import "./chunk-DZXD6CYJ.mjs";
|
|
242
244
|
import "./chunk-PKMUQ7LM.mjs";
|
|
@@ -292,7 +294,7 @@ import "./chunk-H3ASZDT7.mjs";
|
|
|
292
294
|
import "./chunk-EILUVBKS.mjs";
|
|
293
295
|
import {
|
|
294
296
|
FARM_VERSION
|
|
295
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-NKVBWPXR.mjs";
|
|
296
298
|
import "./chunk-QPNVDSFZ.mjs";
|
|
297
299
|
import "./chunk-GYMGK467.mjs";
|
|
298
300
|
import "./chunk-5Y4GYKKH.mjs";
|
|
@@ -664,7 +666,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
664
666
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
665
667
|
const rscConfig = userConfig ?? config;
|
|
666
668
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
667
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
669
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-TRZVFCBX.mjs");
|
|
668
670
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
669
671
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
670
672
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -712,7 +714,11 @@ async function createServer2(config = {}, options = {}) {
|
|
|
712
714
|
pluginManager.addPlugin(createCompressionPlugin());
|
|
713
715
|
}
|
|
714
716
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
715
|
-
const infraAnalytics = resolvedConfig.analytics !== false ? createFarmInfraAnalyticsPlugin(
|
|
717
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? createFarmInfraAnalyticsPlugin(
|
|
718
|
+
void 0,
|
|
719
|
+
void 0,
|
|
720
|
+
_farmWebMCPReportsEnabled(resolvedConfig.plugins) ? { webmcp: {} } : void 0
|
|
721
|
+
) : null;
|
|
716
722
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
717
723
|
await pluginManager.runHookParallel("init");
|
|
718
724
|
let finalConfig = resolvedConfig;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-BwKwuO_0.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-OtGWAvJT.mjs';
|
|
3
3
|
import { b as FarmI18nClientSnapshot } from './types.d-euATAbE4.mjs';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-bnWxS12w.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-BVXjyIkY.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-OtGWAvJT.js';
|
|
3
3
|
import { b as FarmI18nClientSnapshot } from './types.d-euATAbE4.js';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-AaJsYPX-.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering.d-
|
|
2
|
-
import { e as RouteModule, S as SSGCollectionResult, n as SSGPage } from './client-plugins.d-
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering.d-A1dIkUK5.js';
|
|
2
|
+
import { e as RouteModule, S as SSGCollectionResult, n as SSGPage } from './client-plugins.d-BVXjyIkY.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Farm.js SSG (Static Site Generation) Module
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering.d-
|
|
2
|
-
import { e as RouteModule, S as SSGCollectionResult, n as SSGPage } from './client-plugins.d-
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering.d-CYA-ulnX.mjs';
|
|
2
|
+
import { e as RouteModule, S as SSGCollectionResult, n as SSGPage } from './client-plugins.d-BwKwuO_0.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Farm.js SSG (Static Site Generation) Module
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions, FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { b as FarmViewTransitionMode, a as FarmNavigationState, c as FarmNavigateOptions } from './spa-router.d-
|
|
2
|
+
import { b as FarmViewTransitionMode, a as FarmNavigationState, c as FarmNavigateOptions } from './spa-router.d-Cw5i_15e.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache.d-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
|
-
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-
|
|
6
|
+
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-BlHd90D0.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types.d-DQnyD3VD.js';
|
|
8
8
|
import { f as FarmI18nLocale, b as FarmI18nClientSnapshot, o as FarmTranslator } from './types.d-euATAbE4.js';
|
|
9
|
-
import './navigation-delegate.d-
|
|
9
|
+
import './navigation-delegate.d-BZsYEAet.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Prefetch strategy (TanStack Router–style):
|
|
@@ -227,6 +227,14 @@ type FarmRouteActionTarget<TServerFn extends ServerFn<any, any, any>> = {
|
|
|
227
227
|
readonly action: TServerFn;
|
|
228
228
|
};
|
|
229
229
|
declare function createRendererAction<TInput, TResult, TError extends Error = Error>(target: ServerFn<TInput, TResult, TError> | FarmRouteActionTarget<ServerFn<TInput, TResult, TError>>, options?: FarmActionOptions<TInput, TResult, TError>): FarmAction<TInput, TResult, TError>;
|
|
230
|
+
/**
|
|
231
|
+
* Submits a form through an action, as React's `useAction().Form` does: the browser's own
|
|
232
|
+
* submission is cancelled, the form's fields and the button that submitted it become the action's
|
|
233
|
+
* `FormData`, a failure stays in the action's `error`, and a successful submission resets the
|
|
234
|
+
* form. Solid's and Vue's `Form` components and Svelte's `enhance` action call it from their
|
|
235
|
+
* `submit` listener. A listener that already cancelled the submission keeps it cancelled.
|
|
236
|
+
*/
|
|
237
|
+
declare function submitRendererActionForm(action: Pick<FarmAction<any, any, any>, "submit">, event: Event): Promise<void>;
|
|
230
238
|
interface FarmRendererQueryOptions extends ServerQueryFetchOptions {
|
|
231
239
|
enabled?: boolean;
|
|
232
240
|
refetchOnWindowFocus?: boolean;
|
|
@@ -298,4 +306,4 @@ type Store<T extends StoreState, TMethods extends Record<string, any> = {}> = St
|
|
|
298
306
|
*/
|
|
299
307
|
declare function createStore<T extends StoreState, TMethods extends Record<string, any> = {}>(initialState: T, extend?: (store: Store<T>) => TMethods): Store<T, TMethods>;
|
|
300
308
|
|
|
301
|
-
export { type FarmRendererRouterSnapshot as A, type FarmRendererTheme as B, type FarmRouteActionTarget as C, type DefaultRouteHref as D, type ExternalHref as E, type FarmLinkOptions as F, type Store as G, type StoreFields as H, createRendererAction as I, createRendererI18n as J, createRendererQuery as K, type LinkDefaultRoute as L, createRendererRouter as M, createRendererTheme as N, createStore as O, type PrefetchBehavior as P, resolveLinkAttributes as Q, type RouteHref as R, type StoreKeyListener as S, type DefaultRoutePath as a, type DefaultRoutePattern as b, type LinkExternalUriSchemes as c, type RouteOptionalParamValue as d, type RouteParamValue as e, type RouteParams as f, type StoreKeysListener as g, type StoreListener as h, type StorePatch as i, type StoreState as j, type StoreValueUpdater as k, type StoreApi as l, FARM_LINK_OPTION_KEYS as m, type FarmAction as n, type FarmActionOptions as o, type FarmActionSnapshot as p, type FarmActionStatus as q, type FarmActionSubmit as r, type FarmClientStore as s, type FarmLinkAttributes as t, type FarmRendererI18n as u, type FarmRendererQuery as v, type FarmRendererQueryOptions as w, type FarmRendererQuerySnapshot as x, type FarmRendererRouter as y, type FarmRendererRouterOptions as z };
|
|
309
|
+
export { type FarmRendererRouterSnapshot as A, type FarmRendererTheme as B, type FarmRouteActionTarget as C, type DefaultRouteHref as D, type ExternalHref as E, type FarmLinkOptions as F, type Store as G, type StoreFields as H, createRendererAction as I, createRendererI18n as J, createRendererQuery as K, type LinkDefaultRoute as L, createRendererRouter as M, createRendererTheme as N, createStore as O, type PrefetchBehavior as P, resolveLinkAttributes as Q, type RouteHref as R, type StoreKeyListener as S, submitRendererActionForm as T, type DefaultRoutePath as a, type DefaultRoutePattern as b, type LinkExternalUriSchemes as c, type RouteOptionalParamValue as d, type RouteParamValue as e, type RouteParams as f, type StoreKeysListener as g, type StoreListener as h, type StorePatch as i, type StoreState as j, type StoreValueUpdater as k, type StoreApi as l, FARM_LINK_OPTION_KEYS as m, type FarmAction as n, type FarmActionOptions as o, type FarmActionSnapshot as p, type FarmActionStatus as q, type FarmActionSubmit as r, type FarmClientStore as s, type FarmLinkAttributes as t, type FarmRendererI18n as u, type FarmRendererQuery as v, type FarmRendererQueryOptions as w, type FarmRendererQuerySnapshot as x, type FarmRendererRouter as y, type FarmRendererRouterOptions as z };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions, FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { b as FarmViewTransitionMode, a as FarmNavigationState, c as FarmNavigateOptions } from './spa-router.d-
|
|
2
|
+
import { b as FarmViewTransitionMode, a as FarmNavigationState, c as FarmNavigateOptions } from './spa-router.d-BD-6WX1R.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache.d-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
|
-
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-
|
|
6
|
+
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-CCLGkQtE.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types.d-DQnyD3VD.mjs';
|
|
8
8
|
import { f as FarmI18nLocale, b as FarmI18nClientSnapshot, o as FarmTranslator } from './types.d-euATAbE4.mjs';
|
|
9
|
-
import './navigation-delegate.d-
|
|
9
|
+
import './navigation-delegate.d-BBTzhJLj.mjs';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Prefetch strategy (TanStack Router–style):
|
|
@@ -227,6 +227,14 @@ type FarmRouteActionTarget<TServerFn extends ServerFn<any, any, any>> = {
|
|
|
227
227
|
readonly action: TServerFn;
|
|
228
228
|
};
|
|
229
229
|
declare function createRendererAction<TInput, TResult, TError extends Error = Error>(target: ServerFn<TInput, TResult, TError> | FarmRouteActionTarget<ServerFn<TInput, TResult, TError>>, options?: FarmActionOptions<TInput, TResult, TError>): FarmAction<TInput, TResult, TError>;
|
|
230
|
+
/**
|
|
231
|
+
* Submits a form through an action, as React's `useAction().Form` does: the browser's own
|
|
232
|
+
* submission is cancelled, the form's fields and the button that submitted it become the action's
|
|
233
|
+
* `FormData`, a failure stays in the action's `error`, and a successful submission resets the
|
|
234
|
+
* form. Solid's and Vue's `Form` components and Svelte's `enhance` action call it from their
|
|
235
|
+
* `submit` listener. A listener that already cancelled the submission keeps it cancelled.
|
|
236
|
+
*/
|
|
237
|
+
declare function submitRendererActionForm(action: Pick<FarmAction<any, any, any>, "submit">, event: Event): Promise<void>;
|
|
230
238
|
interface FarmRendererQueryOptions extends ServerQueryFetchOptions {
|
|
231
239
|
enabled?: boolean;
|
|
232
240
|
refetchOnWindowFocus?: boolean;
|
|
@@ -298,4 +306,4 @@ type Store<T extends StoreState, TMethods extends Record<string, any> = {}> = St
|
|
|
298
306
|
*/
|
|
299
307
|
declare function createStore<T extends StoreState, TMethods extends Record<string, any> = {}>(initialState: T, extend?: (store: Store<T>) => TMethods): Store<T, TMethods>;
|
|
300
308
|
|
|
301
|
-
export { type FarmRendererRouterSnapshot as A, type FarmRendererTheme as B, type FarmRouteActionTarget as C, type DefaultRouteHref as D, type ExternalHref as E, type FarmLinkOptions as F, type Store as G, type StoreFields as H, createRendererAction as I, createRendererI18n as J, createRendererQuery as K, type LinkDefaultRoute as L, createRendererRouter as M, createRendererTheme as N, createStore as O, type PrefetchBehavior as P, resolveLinkAttributes as Q, type RouteHref as R, type StoreKeyListener as S, type DefaultRoutePath as a, type DefaultRoutePattern as b, type LinkExternalUriSchemes as c, type RouteOptionalParamValue as d, type RouteParamValue as e, type RouteParams as f, type StoreKeysListener as g, type StoreListener as h, type StorePatch as i, type StoreState as j, type StoreValueUpdater as k, type StoreApi as l, FARM_LINK_OPTION_KEYS as m, type FarmAction as n, type FarmActionOptions as o, type FarmActionSnapshot as p, type FarmActionStatus as q, type FarmActionSubmit as r, type FarmClientStore as s, type FarmLinkAttributes as t, type FarmRendererI18n as u, type FarmRendererQuery as v, type FarmRendererQueryOptions as w, type FarmRendererQuerySnapshot as x, type FarmRendererRouter as y, type FarmRendererRouterOptions as z };
|
|
309
|
+
export { type FarmRendererRouterSnapshot as A, type FarmRendererTheme as B, type FarmRouteActionTarget as C, type DefaultRouteHref as D, type ExternalHref as E, type FarmLinkOptions as F, type Store as G, type StoreFields as H, createRendererAction as I, createRendererI18n as J, createRendererQuery as K, type LinkDefaultRoute as L, createRendererRouter as M, createRendererTheme as N, createStore as O, type PrefetchBehavior as P, resolveLinkAttributes as Q, type RouteHref as R, type StoreKeyListener as S, submitRendererActionForm as T, type DefaultRoutePath as a, type DefaultRoutePattern as b, type LinkExternalUriSchemes as c, type RouteOptionalParamValue as d, type RouteParamValue as e, type RouteParams as f, type StoreKeysListener as g, type StoreListener as h, type StorePatch as i, type StoreState as j, type StoreValueUpdater as k, type StoreApi as l, FARM_LINK_OPTION_KEYS as m, type FarmAction as n, type FarmActionOptions as o, type FarmActionSnapshot as p, type FarmActionStatus as q, type FarmActionSubmit as r, type FarmClientStore as s, type FarmLinkAttributes as t, type FarmRendererI18n as u, type FarmRendererQuery as v, type FarmRendererQueryOptions as w, type FarmRendererQuerySnapshot as x, type FarmRendererRouter as y, type FarmRendererRouterOptions as z };
|
package/dist/testing.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var _chunkXRFGOYXGcjs = require('./chunk-XRFGOYXG.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkX333W5KVcjs = require('./chunk-X333W5KV.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-5P65LXGU.cjs');
|
|
16
16
|
require('./chunk-VWIW47FW.cjs');
|
|
17
17
|
require('./chunk-HS4JPIGR.cjs');
|
|
18
18
|
require('./chunk-SBDWCDS6.cjs');
|
|
@@ -21,13 +21,14 @@ require('./chunk-CYOTNHDF.cjs');
|
|
|
21
21
|
require('./chunk-KORZ6PRE.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkJYQ6DGPWcjs = require('./chunk-JYQ6DGPW.cjs');
|
|
25
25
|
require('./chunk-VGVRGGP4.cjs');
|
|
26
26
|
require('./chunk-GCJ4GNMC.cjs');
|
|
27
27
|
require('./chunk-4DCWVSL2.cjs');
|
|
28
28
|
require('./chunk-LQWIIBI2.cjs');
|
|
29
29
|
require('./chunk-RKQOMG2X.cjs');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-3DE6RK7K.cjs');
|
|
31
|
+
require('./chunk-HUGPJFOC.cjs');
|
|
31
32
|
require('./chunk-CEVXKJKF.cjs');
|
|
32
33
|
require('./chunk-YUCU6XB4.cjs');
|
|
33
34
|
require('./chunk-IUKBPBM7.cjs');
|
|
@@ -317,7 +318,7 @@ function omitEndpointControlOptions(options) {
|
|
|
317
318
|
}
|
|
318
319
|
async function invokeTestEndpoint(endpoint, request, params = {}, throwOnError = false) {
|
|
319
320
|
try {
|
|
320
|
-
return await
|
|
321
|
+
return await _chunkJYQ6DGPWcjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
|
|
321
322
|
} catch (error) {
|
|
322
323
|
if (throwOnError) throw error;
|
|
323
324
|
return jsonErrorResponse(error instanceof Error ? error.message : "Internal Server Error", 500);
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { aF as MiddlewareProps, s as PluginContextProps, e as RouteModule, aG as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { aF as MiddlewareProps, s as PluginContextProps, e as RouteModule, aG as FarmContextFactory } from './client-plugins.d-BwKwuO_0.mjs';
|
|
3
3
|
import './types.d-euATAbE4.mjs';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.mjs';
|
|
5
5
|
import { ServerFn } from './server-fn.mjs';
|
|
@@ -11,6 +11,7 @@ import './endpoint.d-BXbBpKoh.mjs';
|
|
|
11
11
|
import './cache.mjs';
|
|
12
12
|
import './renderer.mjs';
|
|
13
13
|
import './deployment.mjs';
|
|
14
|
+
import './island.d-CfGru1MO.mjs';
|
|
14
15
|
import 'http';
|
|
15
16
|
import './routing.d-D67HQmnv.mjs';
|
|
16
17
|
import './server-query.mjs';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { aF as MiddlewareProps, s as PluginContextProps, e as RouteModule, aG as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { aF as MiddlewareProps, s as PluginContextProps, e as RouteModule, aG as FarmContextFactory } from './client-plugins.d-BVXjyIkY.js';
|
|
3
3
|
import './types.d-euATAbE4.js';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.js';
|
|
5
5
|
import { ServerFn } from './server-fn.js';
|
|
@@ -11,6 +11,7 @@ import './endpoint.d-Dx_1k6Du.js';
|
|
|
11
11
|
import './cache.js';
|
|
12
12
|
import './renderer.js';
|
|
13
13
|
import './deployment.js';
|
|
14
|
+
import './island.d-CfGru1MO.js';
|
|
14
15
|
import 'http';
|
|
15
16
|
import './routing.d-BhPgtN_S.js';
|
|
16
17
|
import './server-query.js';
|
package/dist/testing.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveFarmRouteContext,
|
|
13
13
|
withFarmRouteContext
|
|
14
14
|
} from "./chunk-BMQAPZXD.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NAHDG6UX.mjs";
|
|
16
16
|
import "./chunk-NRWEY2CM.mjs";
|
|
17
17
|
import "./chunk-URBP6DLH.mjs";
|
|
18
18
|
import "./chunk-YX6AFPXC.mjs";
|
|
@@ -21,13 +21,14 @@ import "./chunk-VO55MMBX.mjs";
|
|
|
21
21
|
import "./chunk-NR63PD3P.mjs";
|
|
22
22
|
import {
|
|
23
23
|
invokeAPIRouteEndpoint
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KWI3SQFX.mjs";
|
|
25
25
|
import "./chunk-HD5FLXP2.mjs";
|
|
26
26
|
import "./chunk-2LKUR5QJ.mjs";
|
|
27
27
|
import "./chunk-D7Y63SOY.mjs";
|
|
28
28
|
import "./chunk-ZIAWO6BC.mjs";
|
|
29
29
|
import "./chunk-F7MJWW6A.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-U6XYBTUT.mjs";
|
|
31
|
+
import "./chunk-PNMAD3OS.mjs";
|
|
31
32
|
import "./chunk-UJWRXBVP.mjs";
|
|
32
33
|
import "./chunk-DZXD6CYJ.mjs";
|
|
33
34
|
import "./chunk-PKMUQ7LM.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { m as RouteSegment, P as ParsedRoute } from './client-plugins.d-BVXjyIkY.js';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { m as RouteSegment, P as ParsedRoute } from './client-plugins.d-BwKwuO_0.mjs';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3CZ4MJHWcjs = require('./chunk-3CZ4MJHW.cjs');
|
|
4
4
|
require('./chunk-UZM3PDKK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunk3CZ4MJHWcjs.FARM_VERSION;
|