@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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-BVXjyIkY.js';
|
|
2
2
|
import { FarmWorkflowsResolvedConfig } from './workflows.js';
|
|
3
3
|
import { FarmCronResolvedConfig } from './cron.js';
|
|
4
4
|
import { R as ResolvedFarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
5
|
-
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-
|
|
5
|
+
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-7uKdOttc.js';
|
|
6
6
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.js';
|
|
7
|
-
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
7
|
+
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-DLknFP8l.js';
|
|
8
8
|
import { ViteDevServer } from 'vite';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
10
10
|
import { FarmRenderer, FarmServerRendererRuntime } from './renderer.js';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-AaJsYPX-.js';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.js';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-PUA5qBnd.js';
|
|
@@ -154,6 +154,11 @@ declare class RouteManager {
|
|
|
154
154
|
private programmaticPages;
|
|
155
155
|
private programmaticLayouts;
|
|
156
156
|
private programmaticClientRoutes;
|
|
157
|
+
private rendererNotFoundPath;
|
|
158
|
+
private rendererRouteHydration;
|
|
159
|
+
private disposeRendererHydration;
|
|
160
|
+
private rendererRouteDirs;
|
|
161
|
+
private rendererRouteModules;
|
|
157
162
|
private discovery;
|
|
158
163
|
private rendererRuntime?;
|
|
159
164
|
private viteServer?;
|
|
@@ -178,6 +183,26 @@ declare class RouteManager {
|
|
|
178
183
|
* a time, so an older scan never replaces a newer one.
|
|
179
184
|
*/
|
|
180
185
|
discoverRoutes(): Promise<void>;
|
|
186
|
+
/**
|
|
187
|
+
* Hands the client-module reader the renderer's hydration levels for this scan's pages and
|
|
188
|
+
* layouts (`hydration` and route rules on the renderer descriptor).
|
|
189
|
+
*/
|
|
190
|
+
private recordRendererHydration;
|
|
191
|
+
/**
|
|
192
|
+
* The not-found page a renderer's `routes()` mapped, null when it mapped none, or undefined when
|
|
193
|
+
* the renderer has no route rules and Farm looks for `src/app/not-found.*` itself.
|
|
194
|
+
*/
|
|
195
|
+
getRendererNotFoundPath(): string | null | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Whether `file` is under a directory a renderer's route rules scan, where adding or removing a
|
|
198
|
+
* file can change the routes.
|
|
199
|
+
*/
|
|
200
|
+
isRendererRouteFile(file: string): boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Whether `file` is a page, layout, loading, error or not-found file a renderer's route rules
|
|
203
|
+
* mapped, where an edit can change what the route renders or whether it hydrates.
|
|
204
|
+
*/
|
|
205
|
+
isRendererRouteModule(file: string): boolean;
|
|
181
206
|
/** Fill this manager's empty route tables. Only a fresh manager made by discoverRoutes runs it. */
|
|
182
207
|
private discoverInto;
|
|
183
208
|
/**
|
|
@@ -468,6 +493,13 @@ declare class ServerRenderer {
|
|
|
468
493
|
*/
|
|
469
494
|
private applyRendererAppSetup;
|
|
470
495
|
private createPageBoundary;
|
|
496
|
+
/**
|
|
497
|
+
* The browser hydrates a page island or a route slot as its own root, inside the integration
|
|
498
|
+
* providers, so the server renders the providers inside it too, or a provider that renders
|
|
499
|
+
* markup (a Vue `<slot />` renders fragment markers) puts the root's HTML out of step. React
|
|
500
|
+
* lines an island up with its tree position instead, and its providers render no markup.
|
|
501
|
+
*/
|
|
502
|
+
private wrapIslandIntegrationProviders;
|
|
471
503
|
private devGlobalStylesheetHref;
|
|
472
504
|
private devGlobalStylesheetLink;
|
|
473
505
|
private devGlobalStylesheetAssets;
|
|
@@ -629,6 +661,16 @@ declare class ServerRenderer {
|
|
|
629
661
|
private getMetadataImageRenderer;
|
|
630
662
|
private writeStaticMetadataImageResponse;
|
|
631
663
|
private renderRouteErrorBoundary;
|
|
664
|
+
/**
|
|
665
|
+
* Islands mode: a page whose route hydrates nothing as a root hydrates only islands, which hold
|
|
666
|
+
* their own clicks, so nothing else on it is held, as in production.
|
|
667
|
+
*/
|
|
668
|
+
private isIslandsOnlyPage;
|
|
669
|
+
/**
|
|
670
|
+
* The head script that holds a page's clicks and submits until it hydrates, which the client
|
|
671
|
+
* replays once it has. Production writes it into the same pages, streamed or buffered.
|
|
672
|
+
*/
|
|
673
|
+
private renderPreHydrationHold;
|
|
632
674
|
private renderBufferedSSR;
|
|
633
675
|
/**
|
|
634
676
|
* Whether the root layout returns its own `<html>` document, checked as the client's layout
|
|
@@ -650,6 +692,11 @@ declare class ServerRenderer {
|
|
|
650
692
|
*/
|
|
651
693
|
resolvePageDataRedirect(request: Request, error: unknown): Promise<FarmPageDataRedirect | null>;
|
|
652
694
|
private localizeRedirectUrl;
|
|
695
|
+
/**
|
|
696
|
+
* The not-found page the renderer's `routes()` mapped, or undefined when the renderer has no route
|
|
697
|
+
* rules and the not-found lookup scans `src/app` as before.
|
|
698
|
+
*/
|
|
699
|
+
private getRendererNotFoundPath;
|
|
653
700
|
/** The app's not-found component, or null when it relies on the built-in page. */
|
|
654
701
|
private loadNotFoundModule;
|
|
655
702
|
private loadNotFoundComponent;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-BwKwuO_0.mjs';
|
|
2
2
|
import { FarmWorkflowsResolvedConfig } from './workflows.mjs';
|
|
3
3
|
import { FarmCronResolvedConfig } from './cron.mjs';
|
|
4
4
|
import { R as ResolvedFarmImageConfig } from './image-config.d-ByhQ0TT7.mjs';
|
|
5
|
-
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-
|
|
5
|
+
import { F as FarmSearchPreserveRoute, M as MetadataImageKind, c as createFarmDefaultMCPServer } from './agent-mcp.d-LChlR2au.mjs';
|
|
6
6
|
import { ProgrammaticRedirectRoute, ProgrammaticRouteSearchClientOptions } from './routes.mjs';
|
|
7
|
-
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-
|
|
7
|
+
import { I as IsolatedClientBoundaryReference, F as FarmSourceSnapshotStore, C as ClientModuleHydrationPlan, P as ProgrammaticClientRoutes } from './client-component.d-DLMCzmUx.mjs';
|
|
8
8
|
import { ViteDevServer } from 'vite';
|
|
9
9
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
10
10
|
import { FarmRenderer, FarmServerRendererRuntime } from './renderer.mjs';
|
|
11
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
11
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-bnWxS12w.mjs';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.mjs';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-CTAXWZby.mjs';
|
|
@@ -154,6 +154,11 @@ declare class RouteManager {
|
|
|
154
154
|
private programmaticPages;
|
|
155
155
|
private programmaticLayouts;
|
|
156
156
|
private programmaticClientRoutes;
|
|
157
|
+
private rendererNotFoundPath;
|
|
158
|
+
private rendererRouteHydration;
|
|
159
|
+
private disposeRendererHydration;
|
|
160
|
+
private rendererRouteDirs;
|
|
161
|
+
private rendererRouteModules;
|
|
157
162
|
private discovery;
|
|
158
163
|
private rendererRuntime?;
|
|
159
164
|
private viteServer?;
|
|
@@ -178,6 +183,26 @@ declare class RouteManager {
|
|
|
178
183
|
* a time, so an older scan never replaces a newer one.
|
|
179
184
|
*/
|
|
180
185
|
discoverRoutes(): Promise<void>;
|
|
186
|
+
/**
|
|
187
|
+
* Hands the client-module reader the renderer's hydration levels for this scan's pages and
|
|
188
|
+
* layouts (`hydration` and route rules on the renderer descriptor).
|
|
189
|
+
*/
|
|
190
|
+
private recordRendererHydration;
|
|
191
|
+
/**
|
|
192
|
+
* The not-found page a renderer's `routes()` mapped, null when it mapped none, or undefined when
|
|
193
|
+
* the renderer has no route rules and Farm looks for `src/app/not-found.*` itself.
|
|
194
|
+
*/
|
|
195
|
+
getRendererNotFoundPath(): string | null | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Whether `file` is under a directory a renderer's route rules scan, where adding or removing a
|
|
198
|
+
* file can change the routes.
|
|
199
|
+
*/
|
|
200
|
+
isRendererRouteFile(file: string): boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Whether `file` is a page, layout, loading, error or not-found file a renderer's route rules
|
|
203
|
+
* mapped, where an edit can change what the route renders or whether it hydrates.
|
|
204
|
+
*/
|
|
205
|
+
isRendererRouteModule(file: string): boolean;
|
|
181
206
|
/** Fill this manager's empty route tables. Only a fresh manager made by discoverRoutes runs it. */
|
|
182
207
|
private discoverInto;
|
|
183
208
|
/**
|
|
@@ -468,6 +493,13 @@ declare class ServerRenderer {
|
|
|
468
493
|
*/
|
|
469
494
|
private applyRendererAppSetup;
|
|
470
495
|
private createPageBoundary;
|
|
496
|
+
/**
|
|
497
|
+
* The browser hydrates a page island or a route slot as its own root, inside the integration
|
|
498
|
+
* providers, so the server renders the providers inside it too, or a provider that renders
|
|
499
|
+
* markup (a Vue `<slot />` renders fragment markers) puts the root's HTML out of step. React
|
|
500
|
+
* lines an island up with its tree position instead, and its providers render no markup.
|
|
501
|
+
*/
|
|
502
|
+
private wrapIslandIntegrationProviders;
|
|
471
503
|
private devGlobalStylesheetHref;
|
|
472
504
|
private devGlobalStylesheetLink;
|
|
473
505
|
private devGlobalStylesheetAssets;
|
|
@@ -629,6 +661,16 @@ declare class ServerRenderer {
|
|
|
629
661
|
private getMetadataImageRenderer;
|
|
630
662
|
private writeStaticMetadataImageResponse;
|
|
631
663
|
private renderRouteErrorBoundary;
|
|
664
|
+
/**
|
|
665
|
+
* Islands mode: a page whose route hydrates nothing as a root hydrates only islands, which hold
|
|
666
|
+
* their own clicks, so nothing else on it is held, as in production.
|
|
667
|
+
*/
|
|
668
|
+
private isIslandsOnlyPage;
|
|
669
|
+
/**
|
|
670
|
+
* The head script that holds a page's clicks and submits until it hydrates, which the client
|
|
671
|
+
* replays once it has. Production writes it into the same pages, streamed or buffered.
|
|
672
|
+
*/
|
|
673
|
+
private renderPreHydrationHold;
|
|
632
674
|
private renderBufferedSSR;
|
|
633
675
|
/**
|
|
634
676
|
* Whether the root layout returns its own `<html>` document, checked as the client's layout
|
|
@@ -650,6 +692,11 @@ declare class ServerRenderer {
|
|
|
650
692
|
*/
|
|
651
693
|
resolvePageDataRedirect(request: Request, error: unknown): Promise<FarmPageDataRedirect | null>;
|
|
652
694
|
private localizeRedirectUrl;
|
|
695
|
+
/**
|
|
696
|
+
* The not-found page the renderer's `routes()` mapped, or undefined when the renderer has no route
|
|
697
|
+
* rules and the not-found lookup scans `src/app` as before.
|
|
698
|
+
*/
|
|
699
|
+
private getRendererNotFoundPath;
|
|
653
700
|
/** The app's not-found component, or null when it relies on the built-in page. */
|
|
654
701
|
private loadNotFoundModule;
|
|
655
702
|
private loadNotFoundComponent;
|
|
@@ -18,14 +18,14 @@ var _chunkCCAUIBIScjs = require('./chunk-CCAUIBIS.cjs');
|
|
|
18
18
|
var _chunkWMRGIQTAcjs = require('./chunk-WMRGIQTA.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk3CZ4MJHWcjs = require('./chunk-3CZ4MJHW.cjs');
|
|
22
22
|
|
|
23
23
|
// src/mobile/analyzer.ts
|
|
24
24
|
var _crypto = require('crypto');
|
|
25
25
|
var _fs = require('fs');
|
|
26
26
|
var _promises = require('fs/promises');
|
|
27
27
|
var _path = require('path'); var path = _interopRequireWildcard(_path);
|
|
28
|
-
var ANALYZER_VERSION = `8:${
|
|
28
|
+
var ANALYZER_VERSION = `8:${_chunk3CZ4MJHWcjs.FARM_VERSION}`;
|
|
29
29
|
var INTRINSIC_KINDS = {};
|
|
30
30
|
for (const tag of "div section main article header footer nav aside figure hr li".split(" ")) {
|
|
31
31
|
INTRINSIC_KINDS[tag] = "View";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/api/route-schema.ts
|
|
2
|
+
async function parseRouteSchema(schema, value) {
|
|
3
|
+
if (schema.parseAsync) return schema.parseAsync(value);
|
|
4
|
+
if (schema["~standard"]) {
|
|
5
|
+
const result = await schema["~standard"].validate(value);
|
|
6
|
+
if (result.issues)
|
|
7
|
+
throw Object.assign(new Error("Validation failed"), { issues: result.issues });
|
|
8
|
+
return result.value;
|
|
9
|
+
}
|
|
10
|
+
if (schema.parse) return schema.parse(value);
|
|
11
|
+
throw new TypeError("Route validators must implement Standard Schema or parse().");
|
|
12
|
+
}
|
|
13
|
+
var PUBLIC_MESSAGE_CODES = /* @__PURE__ */ new Set(["custom", "invalid_type"]);
|
|
14
|
+
function toPublicValidationIssues(error) {
|
|
15
|
+
const issues = _optionalChain([error, 'optionalAccess', _ => _.issues]);
|
|
16
|
+
const list = Array.isArray(issues) ? issues : Array.isArray(_optionalChain([error, 'optionalAccess', _2 => _2.errors])) ? error.errors : [];
|
|
17
|
+
return list.map((issue) => {
|
|
18
|
+
const { path, code, message } = _nullishCoalesce(issue, () => ( {}));
|
|
19
|
+
return {
|
|
20
|
+
path: Array.isArray(path) ? path.map(toPublicPathSegment) : [],
|
|
21
|
+
...typeof code === "string" ? { code } : {},
|
|
22
|
+
message: PUBLIC_MESSAGE_CODES.has(code) && typeof message === "string" && message ? message : "Invalid value"
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function toPublicPathSegment(segment) {
|
|
27
|
+
const key = segment && typeof segment === "object" && "key" in segment ? segment.key : segment;
|
|
28
|
+
if (typeof key === "number") return key;
|
|
29
|
+
if (typeof key === "symbol") return key.description || key.toString();
|
|
30
|
+
return String(key);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
exports.parseRouteSchema = parseRouteSchema; exports.toPublicValidationIssues = toPublicValidationIssues;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FARM_SERVER_QUERY_CLIENT_STATE
|
|
3
|
+
} from "./chunk-BUQR7KKO.mjs";
|
|
1
4
|
import {
|
|
2
5
|
getFarmClientDataCache,
|
|
3
6
|
trackFarmClientCacheInvalidations
|
|
@@ -10,9 +13,9 @@ import {
|
|
|
10
13
|
} from "./chunk-GLOICKDO.mjs";
|
|
11
14
|
|
|
12
15
|
// src/server-query-runtime.ts
|
|
13
|
-
var FARM_SERVER_QUERY_CLIENT_STATE = /* @__PURE__ */ Symbol.for("farm.serverQueryClientState");
|
|
14
16
|
var serverQueryClientGlobal = globalThis;
|
|
15
|
-
var
|
|
17
|
+
var _a;
|
|
18
|
+
var serverQueryClientState = serverQueryClientGlobal[_a = FARM_SERVER_QUERY_CLIENT_STATE] ?? (serverQueryClientGlobal[_a] = {
|
|
16
19
|
functionIds: /* @__PURE__ */ new WeakMap(),
|
|
17
20
|
nextFunctionId: 0,
|
|
18
21
|
active: [],
|
|
@@ -53,15 +56,6 @@ function assertNotRawServerQueryInBrowser(query) {
|
|
|
53
56
|
].join("\n")
|
|
54
57
|
);
|
|
55
58
|
}
|
|
56
|
-
function beginFarmServerQueryAction(actionId, args) {
|
|
57
|
-
const active = serverQueryClientState.active.at(-1);
|
|
58
|
-
return {
|
|
59
|
-
actionId,
|
|
60
|
-
args,
|
|
61
|
-
provisionalKey: active?.provisionalKey,
|
|
62
|
-
owner: active?.owner
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
59
|
function completeFarmServerQueryAction(invocation, value) {
|
|
66
60
|
if (!isFarmServerQueryResult(value)) return value;
|
|
67
61
|
const cache = getFarmClientDataCache();
|
|
@@ -215,7 +209,6 @@ function normalizeServerQueryError(cause) {
|
|
|
215
209
|
|
|
216
210
|
export {
|
|
217
211
|
isFarmServerQueryBrowserRuntime,
|
|
218
|
-
beginFarmServerQueryAction,
|
|
219
212
|
completeFarmServerQueryAction,
|
|
220
213
|
shouldApplyFarmServerQueryActionResult,
|
|
221
214
|
createServerQueryCallKey,
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkL2GUEYHRcjs = require('./chunk-L2GUEYHR.cjs');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
|
@@ -19,7 +21,7 @@ var _chunkSTF6VDYQcjs = require('./chunk-STF6VDYQ.cjs');
|
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
|
|
22
|
-
var
|
|
24
|
+
var _chunkEACD6ND7cjs = require('./chunk-EACD6ND7.cjs');
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
|
|
@@ -43,7 +45,7 @@ var _chunk52Q4OB4Acjs = require('./chunk-52Q4OB4A.cjs');
|
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
|
|
46
|
-
var
|
|
48
|
+
var _chunkNGTZHWBGcjs = require('./chunk-NGTZHWBG.cjs');
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
var _chunkMCSRMEQVcjs = require('./chunk-MCSRMEQV.cjs');
|
|
@@ -51,7 +53,7 @@ var _chunkMCSRMEQVcjs = require('./chunk-MCSRMEQV.cjs');
|
|
|
51
53
|
|
|
52
54
|
|
|
53
55
|
|
|
54
|
-
var
|
|
56
|
+
var _chunkHQKCSJEHcjs = require('./chunk-HQKCSJEH.cjs');
|
|
55
57
|
|
|
56
58
|
|
|
57
59
|
var _chunkXRFGOYXGcjs = require('./chunk-XRFGOYXG.cjs');
|
|
@@ -76,7 +78,7 @@ var _chunkBSX5OGSDcjs = require('./chunk-BSX5OGSD.cjs');
|
|
|
76
78
|
var _chunkWT6RAN2Icjs = require('./chunk-WT6RAN2I.cjs');
|
|
77
79
|
|
|
78
80
|
|
|
79
|
-
var
|
|
81
|
+
var _chunkB3HQTGXScjs = require('./chunk-B3HQTGXS.cjs');
|
|
80
82
|
|
|
81
83
|
|
|
82
84
|
var _chunk5DX3O6TTcjs = require('./chunk-5DX3O6TT.cjs');
|
|
@@ -305,7 +307,7 @@ function readScannedName(value, file, routePath) {
|
|
|
305
307
|
`The \`name\` option of cronRoute() in ${file} must be a non-empty string literal.`
|
|
306
308
|
);
|
|
307
309
|
}
|
|
308
|
-
if (!value.split("/").every((segment) =>
|
|
310
|
+
if (!value.split("/").every((segment) => _chunkHQKCSJEHcjs.FARM_CRON_NAME_SEGMENT_PATTERN.test(segment))) {
|
|
309
311
|
throw new TypeError(
|
|
310
312
|
`The \`name\` option ${JSON.stringify(value)} of cronRoute() in ${file} is invalid. Each "/"-separated segment must start with a letter or number and contain only letters, numbers, dots, underscores, or hyphens.`
|
|
311
313
|
);
|
|
@@ -320,7 +322,7 @@ function readScannedSchedule(value, file, name) {
|
|
|
320
322
|
);
|
|
321
323
|
}
|
|
322
324
|
try {
|
|
323
|
-
return [...new Set(raw.map((entry) =>
|
|
325
|
+
return [...new Set(raw.map((entry) => _chunkHQKCSJEHcjs.normalizeCronExpression.call(void 0, name, entry)))];
|
|
324
326
|
} catch (error) {
|
|
325
327
|
throw new TypeError(`${error.message} (from the cronRoute() options in ${file})`);
|
|
326
328
|
}
|
|
@@ -402,7 +404,7 @@ function mergeFarmCronJobs(config, scanned) {
|
|
|
402
404
|
return { ...config, enabled: jobs.length > 0, jobs };
|
|
403
405
|
}
|
|
404
406
|
async function resolveProjectCronJobs(options) {
|
|
405
|
-
const resolved =
|
|
407
|
+
const resolved = _chunkHQKCSJEHcjs.resolveCronConfig.call(void 0, options.cron);
|
|
406
408
|
if (resolved === options.cron || options.cron === false) return resolved;
|
|
407
409
|
const scanned = await scanFarmCronRouteJobs({
|
|
408
410
|
root: options.root || process.cwd(),
|
|
@@ -422,13 +424,13 @@ function resolveFarmAgentConfig(input, context = {}) {
|
|
|
422
424
|
const jsonLd = _optionalChain([input, 'optionalAccess', _17 => _17.jsonLd]);
|
|
423
425
|
return {
|
|
424
426
|
jsonLd: jsonLd === void 0 ? servesPages ? { ...DEFAULT_JSON_LD } : false : !jsonLd ? false : jsonLd === true ? {} : jsonLd,
|
|
425
|
-
noindexPreviews:
|
|
427
|
+
noindexPreviews: _chunkEACD6ND7cjs.resolveFarmNoindexPreviews.call(void 0, _optionalChain([input, 'optionalAccess', _18 => _18.noindexPreviews])),
|
|
426
428
|
// The docs engine answers /llms.txt with its own pages; a default here would replace it.
|
|
427
429
|
// llms-full.txt renders every listed page, so it stays opt-in.
|
|
428
430
|
llmsTxt: _chunkOLKYHTLNcjs.resolveFarmLlmsTxtConfig.call(void 0, _nullishCoalesce(_optionalChain([input, 'optionalAccess', _19 => _19.llmsTxt]), () => ( (pageDefaults ? { full: false } : false)))),
|
|
429
431
|
// Same rule as llms.txt: the docs engine answers /sitemap.xml with its own pages.
|
|
430
|
-
sitemap:
|
|
431
|
-
crawlers:
|
|
432
|
+
sitemap: _chunkEACD6ND7cjs.resolveFarmAgentSitemap.call(void 0, _nullishCoalesce(_optionalChain([input, 'optionalAccess', _20 => _20.sitemap]), () => ( pageDefaults))),
|
|
433
|
+
crawlers: _chunkEACD6ND7cjs.resolveFarmAgentCrawlers.call(void 0, _optionalChain([input, 'optionalAccess', _21 => _21.crawlers])),
|
|
432
434
|
apiCatalog: resolveFarmAgentBoolean(_optionalChain([input, 'optionalAccess', _22 => _22.apiCatalog]), "apiCatalog", false),
|
|
433
435
|
aiCatalog: resolveFarmAgentBoolean(_optionalChain([input, 'optionalAccess', _23 => _23.aiCatalog]), "aiCatalog", true),
|
|
434
436
|
manifest: _chunkBTVDYS4Bcjs.resolveFarmAppManifestConfig.call(void 0, _optionalChain([input, 'optionalAccess', _24 => _24.manifest])),
|
|
@@ -480,7 +482,7 @@ function docsWantsFrameworkDetection(docs) {
|
|
|
480
482
|
function isSupportedAdapterDescriptor(value) {
|
|
481
483
|
if (!value || typeof value !== "object") return false;
|
|
482
484
|
const descriptor = value;
|
|
483
|
-
return descriptor.protocol === SUPPORTED_ADAPTER_PROTOCOL && typeof descriptor.server === "string" && descriptor.server.length > 0 && typeof
|
|
485
|
+
return descriptor.protocol === SUPPORTED_ADAPTER_PROTOCOL && typeof descriptor.server === "string" && descriptor.server.length > 0 && typeof _chunkL2GUEYHRcjs.getFarmDocsAdapterUIModule.call(void 0, descriptor) === "string";
|
|
484
486
|
}
|
|
485
487
|
async function applyFarmDocsFrameworkAutoDetection(userConfig, options) {
|
|
486
488
|
if (!docsWantsFrameworkDetection(userConfig.docs)) return userConfig;
|
|
@@ -915,7 +917,8 @@ async function resolveDocsConfig(userDocs, options = {}) {
|
|
|
915
917
|
configOverrides
|
|
916
918
|
}
|
|
917
919
|
);
|
|
918
|
-
|
|
920
|
+
const adapter = docsOptions.adapter || void 0;
|
|
921
|
+
if (roots.length > 0 && !(_optionalChain([adapter, 'optionalAccess', _42 => _42.server]) && _chunkL2GUEYHRcjs.getFarmDocsAdapterUIModule.call(void 0, adapter))) {
|
|
919
922
|
throw new Error(
|
|
920
923
|
`Docs roots require a docs adapter such as @farming-labs/farmjs; Farm's built-in docs renderer serves a single docs root. Install the adapter, or remove the roots from ${configFileName} and docs.roots.`
|
|
921
924
|
);
|
|
@@ -926,7 +929,7 @@ async function resolveDocsConfig(userDocs, options = {}) {
|
|
|
926
929
|
...docsOptions.adapter ? { adapter: docsOptions.adapter } : {},
|
|
927
930
|
...docsOptions.prerender === true ? { prerender: true } : {},
|
|
928
931
|
contentDir,
|
|
929
|
-
configPath: _optionalChain([loadedConfig, 'optionalAccess',
|
|
932
|
+
configPath: _optionalChain([loadedConfig, 'optionalAccess', _43 => _43.configPath]),
|
|
930
933
|
config: {
|
|
931
934
|
...mergedDocsConfig,
|
|
932
935
|
entry: docsEntry,
|
|
@@ -1047,7 +1050,7 @@ function validateConfigRouteSources(routes, field) {
|
|
|
1047
1050
|
return routes;
|
|
1048
1051
|
}
|
|
1049
1052
|
async function resolveConfig(userConfig, mode) {
|
|
1050
|
-
_chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([userConfig, 'access',
|
|
1053
|
+
_chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([userConfig, 'access', _44 => _44.experimental, 'optionalAccess', _45 => _45.serverComponents]));
|
|
1051
1054
|
const projectRoot = userConfig.root || process.cwd();
|
|
1052
1055
|
const layerResolution = await _chunk52Q4OB4Acjs.resolveFarmLayers.call(void 0, userConfig, {
|
|
1053
1056
|
root: projectRoot,
|
|
@@ -1064,7 +1067,7 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1064
1067
|
'The top-level "output" option is not supported and has no effect. Configure `deploy.target`, `deploy.preset`, or `deploy.outputDir` for deployment output, and use route rendering configuration for static pages.'
|
|
1065
1068
|
);
|
|
1066
1069
|
}
|
|
1067
|
-
if (
|
|
1070
|
+
if (_chunkNGTZHWBGcjs.isReactRenderer.call(void 0, _chunkNGTZHWBGcjs.resolveFarmRenderer.call(void 0, userConfig.renderer))) {
|
|
1068
1071
|
userConfig = await applyFarmDocsFrameworkAutoDetection(userConfig, {
|
|
1069
1072
|
root: userConfig.root || projectRoot
|
|
1070
1073
|
});
|
|
@@ -1088,31 +1091,33 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1088
1091
|
);
|
|
1089
1092
|
}
|
|
1090
1093
|
const root = userConfig.root || process.cwd();
|
|
1091
|
-
const desktopSetup = await _optionalChain([globalThis, 'access',
|
|
1094
|
+
const desktopSetup = await _optionalChain([globalThis, 'access', _46 => _46[/* @__PURE__ */ Symbol.for("@farm.js/core/desktop-setup")], 'optionalCall', _47 => _47(userConfig, root, mode)]);
|
|
1092
1095
|
if (desktopSetup) userConfig = desktopSetup.userConfig;
|
|
1093
|
-
const deploy = resolveDeployConfig(userConfig, _optionalChain([desktopSetup, 'optionalAccess',
|
|
1096
|
+
const deploy = resolveDeployConfig(userConfig, _optionalChain([desktopSetup, 'optionalAccess', _48 => _48.deploy]));
|
|
1094
1097
|
const srcDir = userConfig.srcDir || "src";
|
|
1095
1098
|
_chunkRE5E2G5Scjs.setFarmProjectSourceDir.call(void 0, root, srcDir);
|
|
1096
1099
|
const docs = await resolveDocsConfig(userConfig.docs, { root, srcDir });
|
|
1100
|
+
const renderer = _chunkNGTZHWBGcjs.resolveFarmRenderer.call(void 0, userConfig.renderer);
|
|
1101
|
+
_chunkL2GUEYHRcjs.assertFarmDocsAdapterRenderer.call(void 0, docs, renderer.name);
|
|
1097
1102
|
const md = _chunk2NOHVIJ3cjs.resolveMarkdownConfig.call(void 0, userConfig.md);
|
|
1098
1103
|
const mdx = _chunk2HW5LWAHcjs.resolveMdxConfig.call(void 0, userConfig.mdx);
|
|
1099
1104
|
const env = _chunk3EIPOTZVcjs.resolveEnv.call(void 0, userConfig.env, process.env);
|
|
1100
1105
|
_chunk3EIPOTZVcjs.setEnv.call(void 0, env);
|
|
1101
1106
|
const api = await _chunkPMJSG4JScjs.resolveFarmAPIConfig.call(void 0, userConfig.api, { root, mode, env });
|
|
1102
1107
|
const cron = await resolveProjectCronJobs({ root, srcDir, cron: userConfig.cron });
|
|
1103
|
-
const auth =
|
|
1108
|
+
const auth = _chunkL2GUEYHRcjs.resolveFarmAuthConfig.call(void 0, userConfig.auth);
|
|
1104
1109
|
const mcp = resolveFarmMCPConfig(userConfig.mcp);
|
|
1105
|
-
if (auth.enabled && _optionalChain([userConfig, 'access',
|
|
1110
|
+
if (auth.enabled && _optionalChain([userConfig, 'access', _49 => _49.integrations, 'optionalAccess', _50 => _50.auth])) {
|
|
1106
1111
|
throw new Error(
|
|
1107
1112
|
"Choose either the top-level `auth` config or `integrations.auth`; they cannot both own the auth route."
|
|
1108
1113
|
);
|
|
1109
1114
|
}
|
|
1110
|
-
const nativeAuthIntegration = await
|
|
1115
|
+
const nativeAuthIntegration = await _chunkL2GUEYHRcjs.resolveFarmAuthIntegration.call(void 0, auth, {
|
|
1111
1116
|
root,
|
|
1112
1117
|
mode
|
|
1113
1118
|
});
|
|
1114
1119
|
const nativeMCPPlugin = await resolveFarmMCPPlugin(mcp, { root });
|
|
1115
|
-
if (nativeMCPPlugin && _optionalChain([userConfig, 'access',
|
|
1120
|
+
if (nativeMCPPlugin && _optionalChain([userConfig, 'access', _51 => _51.plugins, 'optionalAccess', _52 => _52.some, 'call', _53 => _53((plugin) => _optionalChain([plugin, 'optionalAccess', _54 => _54.name]) === "farm:api-mcp")])) {
|
|
1116
1121
|
throw new Error(
|
|
1117
1122
|
"Choose either the top-level `mcp` config or `apiMcp()` in `plugins`; they configure the same MCP transport."
|
|
1118
1123
|
);
|
|
@@ -1152,7 +1157,7 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1152
1157
|
layers: layerResolution.layers,
|
|
1153
1158
|
outDir: userConfig.outDir || "dist",
|
|
1154
1159
|
basePath,
|
|
1155
|
-
renderer
|
|
1160
|
+
renderer,
|
|
1156
1161
|
preset: deploy.preset || "node-server",
|
|
1157
1162
|
deploy,
|
|
1158
1163
|
docs,
|
|
@@ -1177,20 +1182,20 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1177
1182
|
serverActions: false,
|
|
1178
1183
|
// Islands mode hydrates client components as islands (RFC 0003); an app can still pick
|
|
1179
1184
|
// isolatedClientHydration itself.
|
|
1180
|
-
isolatedClientHydration: _chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([userConfig, 'access',
|
|
1185
|
+
isolatedClientHydration: _chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([userConfig, 'access', _55 => _55.experimental, 'optionalAccess', _56 => _56.serverComponents])) === "islands" ? "enabled" : "off",
|
|
1181
1186
|
ppr: false,
|
|
1182
1187
|
...userConfig.experimental
|
|
1183
1188
|
},
|
|
1184
1189
|
agent: resolveFarmAgentConfig(userConfig.agent, {
|
|
1185
1190
|
docs: docs.enabled,
|
|
1186
|
-
pages: !
|
|
1191
|
+
pages: !_chunkNGTZHWBGcjs.isFarmRendererDisabled.call(void 0, userConfig.renderer)
|
|
1187
1192
|
}),
|
|
1188
|
-
desktop: _nullishCoalesce(_optionalChain([desktopSetup, 'optionalAccess',
|
|
1193
|
+
desktop: _nullishCoalesce(_optionalChain([desktopSetup, 'optionalAccess', _57 => _57.desktop]), () => ( null)),
|
|
1189
1194
|
...userConfig.mobile !== void 0 ? { mobileClient: true } : {},
|
|
1190
1195
|
plugins: [
|
|
1191
1196
|
...mobileSessionPlugin ? [mobileSessionPlugin] : [],
|
|
1192
1197
|
...nativeServerFnPlugin ? [nativeServerFnPlugin] : [],
|
|
1193
|
-
...
|
|
1198
|
+
..._chunkB3HQTGXScjs.resolveIntegrationPlugins.call(void 0, integrations),
|
|
1194
1199
|
...nativeMCPPlugin ? [nativeMCPPlugin] : [],
|
|
1195
1200
|
...userConfig.plugins || []
|
|
1196
1201
|
],
|
|
@@ -1206,9 +1211,9 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1206
1211
|
routeRules,
|
|
1207
1212
|
images: _chunkMCSRMEQVcjs.resolveFarmImageConfig.call(void 0,
|
|
1208
1213
|
userConfig.images,
|
|
1209
|
-
|
|
1214
|
+
_chunkNGTZHWBGcjs.isFarmRendererDisabled.call(void 0, userConfig.renderer) ? "none" : void 0
|
|
1210
1215
|
),
|
|
1211
|
-
performance:
|
|
1216
|
+
performance: _chunkEACD6ND7cjs.resolveFarmPerformanceConfig.call(void 0, userConfig.performance),
|
|
1212
1217
|
theme: _chunkWT6RAN2Icjs.resolveFarmThemeConfig.call(void 0, userConfig.theme, basePath),
|
|
1213
1218
|
publicDir: userConfig.publicDir || "public",
|
|
1214
1219
|
i18n: _chunkZMSVKVI3cjs.resolveFarmI18nConfig.call(void 0, userConfig.i18n, {
|
|
@@ -1228,7 +1233,7 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1228
1233
|
distDir: userConfig.distDir || ".farm",
|
|
1229
1234
|
generateBuildId,
|
|
1230
1235
|
compress: _nullishCoalesce(userConfig.compress, () => ( true)),
|
|
1231
|
-
devIndicators:
|
|
1236
|
+
devIndicators: _chunkL2GUEYHRcjs.resolveFarmDevIndicatorsConfig.call(void 0, userConfig.devIndicators, mode),
|
|
1232
1237
|
serverRuntimeConfig: userConfig.serverRuntimeConfig || {},
|
|
1233
1238
|
publicRuntimeConfig: userConfig.publicRuntimeConfig || {},
|
|
1234
1239
|
env,
|
|
@@ -25,7 +25,7 @@ var _chunk2OFP3IVAcjs = require('./chunk-2OFP3IVA.cjs');
|
|
|
25
25
|
var _chunk2LHZD3OPcjs = require('./chunk-2LHZD3OP.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkB3HQTGXScjs = require('./chunk-B3HQTGXS.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunkGBMWLDCCcjs = require('./chunk-GBMWLDCC.cjs');
|
|
@@ -117,7 +117,7 @@ async function withTimeout(work, timeoutMs) {
|
|
|
117
117
|
var formatSeconds = (ms) => ms < 1e3 ? `${ms}ms` : `${Number((ms / 1e3).toFixed(1))}s`;
|
|
118
118
|
function collectSchemaOwners(config) {
|
|
119
119
|
const owners = [];
|
|
120
|
-
const integrationSchemas =
|
|
120
|
+
const integrationSchemas = _chunkB3HQTGXScjs.getIntegrationSchemas.call(void 0, config.integrations);
|
|
121
121
|
let integrationClient;
|
|
122
122
|
for (const [name, schema] of Object.entries(integrationSchemas)) {
|
|
123
123
|
owners.push({
|
|
@@ -21,7 +21,7 @@ var _chunkKORZ6PREcjs = require('./chunk-KORZ6PRE.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkJYQ6DGPWcjs = require('./chunk-JYQ6DGPW.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkGCJ4GNMCcjs = require('./chunk-GCJ4GNMC.cjs');
|
|
@@ -122,7 +122,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
122
122
|
await this.loadProgrammaticApiRoutes(appDir);
|
|
123
123
|
}
|
|
124
124
|
this.routes = new Map(
|
|
125
|
-
|
|
125
|
+
_chunkJYQ6DGPWcjs.mergePluginAPIRoutes.call(void 0, [...this.routes.values()], this.plugins, void 0, {
|
|
126
126
|
bodySizeLimit: this.bodySizeLimit,
|
|
127
127
|
dispatch: this.dispatch
|
|
128
128
|
}).map((route) => [route.path, route])
|
|
@@ -164,7 +164,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
164
164
|
const routeModule = await this.loadModule(filePath);
|
|
165
165
|
const endpoints = {};
|
|
166
166
|
const availableMethods = [];
|
|
167
|
-
for (const method of
|
|
167
|
+
for (const method of _chunkJYQ6DGPWcjs.API_ROUTE_METHODS) {
|
|
168
168
|
if (routeModule[method]) {
|
|
169
169
|
endpoints[method] = routeModule[method];
|
|
170
170
|
availableMethods.push(method);
|
|
@@ -356,7 +356,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
356
356
|
const url = new URL(request.url);
|
|
357
357
|
const pathname = url.pathname;
|
|
358
358
|
const method = request.method.toUpperCase();
|
|
359
|
-
const match =
|
|
359
|
+
const match = _chunkJYQ6DGPWcjs.matchAPIRouteAtBasePath.call(void 0, this.routes, pathname, this.basePath);
|
|
360
360
|
if (!match) {
|
|
361
361
|
return new Response(JSON.stringify({ error: "Not Found" }), {
|
|
362
362
|
status: 404,
|
|
@@ -364,23 +364,23 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
366
|
const { route, params } = match;
|
|
367
|
-
const endpoint =
|
|
367
|
+
const endpoint = _chunkJYQ6DGPWcjs.resolveAPIRouteEndpoint.call(void 0, route, method);
|
|
368
368
|
if (!endpoint) {
|
|
369
369
|
return new Response(JSON.stringify({ error: "Method Not Allowed" }), {
|
|
370
370
|
status: 405,
|
|
371
371
|
headers: {
|
|
372
|
-
Allow:
|
|
372
|
+
Allow: _chunkJYQ6DGPWcjs.getAllowedAPIRouteMethods.call(void 0, route).join(", "),
|
|
373
373
|
"Content-Type": "application/json"
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
const invoke = async () => {
|
|
378
378
|
try {
|
|
379
|
-
return await
|
|
379
|
+
return await _chunkJYQ6DGPWcjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params, this.bodySizeLimit);
|
|
380
380
|
} catch (error) {
|
|
381
381
|
if (options.throwOnError) throw error;
|
|
382
382
|
console.error(`[API Error] ${pathname}:`, error);
|
|
383
|
-
return
|
|
383
|
+
return _chunkJYQ6DGPWcjs.createFarmInternalServerErrorResponse.call(void 0, );
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
386
|
return _optionalChain([this, 'access', _13 => _13.i18n, 'optionalAccess', _14 => _14.config, 'access', _15 => _15.enabled]) ? _chunkSXXSQVKKcjs._runWithFarmI18nRequest.call(void 0, this.i18n, request, invoke, {
|
|
@@ -395,7 +395,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
395
395
|
return Boolean(this.matchRoute(pathname));
|
|
396
396
|
}
|
|
397
397
|
matchRoute(pathname) {
|
|
398
|
-
return
|
|
398
|
+
return _chunkJYQ6DGPWcjs.matchAPIRouteAtBasePath.call(void 0, this.routes, pathname, this.basePath);
|
|
399
399
|
}
|
|
400
400
|
/**
|
|
401
401
|
* Get all routes for client type generation
|