@farm.js/core 0.1.76 → 0.1.78
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/after.cjs +1 -1
- package/dist/after.mjs +1 -1
- package/dist/{agent-mcp-handler-PJKZHYSA.mjs → agent-mcp-handler-EDJNU224.mjs} +1 -1
- package/dist/{agent-mcp-handler-73SGWVZT.cjs → agent-mcp-handler-LNBYLRTZ.cjs} +1 -1
- package/dist/{agent-mcp.d-Cftp2kFv.d.ts → agent-mcp.d-BErtnhV2.d.ts} +1 -1
- package/dist/{agent-mcp.d-D0FMmqi0.d.mts → agent-mcp.d-CYHfcjur.d.mts} +1 -1
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/agent-runtime.mjs +2 -2
- package/dist/analyzer-KVTUYGTT.cjs +16 -0
- package/dist/{analyzer-NLQKPN74.mjs → analyzer-M2BG6QYU.mjs} +3 -3
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.mjs +1 -1
- package/dist/api/client.native.cjs +1 -1
- package/dist/api/client.native.mjs +1 -1
- package/dist/api/node.cjs +1 -1
- package/dist/api/node.d.mts +4 -4
- package/dist/api/node.d.ts +4 -4
- package/dist/api/node.mjs +1 -1
- package/dist/api/route-manager.cjs +5 -5
- package/dist/api/route-manager.d.mts +4 -4
- package/dist/api/route-manager.d.ts +4 -4
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.cjs +1 -1
- package/dist/api/runtime.d.mts +3 -3
- package/dist/api/runtime.d.ts +3 -3
- package/dist/api/runtime.mjs +1 -1
- package/dist/api.cjs +6 -6
- package/dist/api.d.mts +5 -5
- package/dist/api.d.ts +5 -5
- package/dist/api.mjs +5 -5
- package/dist/{app-manifest.d-cpOw_sV5.d.mts → app-manifest.d-6NCkLQ1y.d.mts} +1 -1
- package/dist/{app-manifest.d-7PmA_9hm.d.ts → app-manifest.d-DuqLBcmi.d.ts} +1 -1
- package/dist/app-markdown.cjs +1 -1
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +1 -1
- package/dist/{app.d-wOkxXre8.d.ts → app.d-Bz6vYBFF.d.ts} +4 -4
- package/dist/{app.d-DUZvwnFF.d.mts → app.d-Dk2HkvPh.d.mts} +4 -4
- package/dist/cache.cjs +1 -1
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-DVW6SKHA.cjs → chunk-26CNCIFI.cjs} +2 -2
- package/dist/{chunk-CCQZDOQR.cjs → chunk-2G6JPLSL.cjs} +19 -19
- package/dist/{chunk-CL2ONP73.cjs → chunk-2PE5STAR.cjs} +36 -27
- package/dist/{chunk-E7VF3LQ5.mjs → chunk-4STJ6LGR.mjs} +13 -1
- package/dist/{chunk-HFJLMALC.cjs → chunk-5DREJN4G.cjs} +4 -4
- package/dist/{chunk-WILPJVQE.cjs → chunk-5KISFWD2.cjs} +4 -4
- package/dist/{chunk-5WFPZG7K.mjs → chunk-5REIO5DT.mjs} +4 -4
- package/dist/{chunk-SYPEMXW2.mjs → chunk-6MZSTPD2.mjs} +1 -1
- package/dist/{chunk-63EFR2WF.cjs → chunk-6XDDE7M6.cjs} +3 -3
- package/dist/{chunk-A2VFKOQL.mjs → chunk-7JTVN6IJ.mjs} +1 -1
- package/dist/{chunk-2GZZVIXY.mjs → chunk-7RQ5KAK6.mjs} +2 -2
- package/dist/{chunk-QVBXTSIZ.mjs → chunk-7V5M43ND.mjs} +1 -1
- package/dist/{chunk-SGQXJVFX.mjs → chunk-A37D6LOS.mjs} +1 -1
- package/dist/{chunk-7EOSFIPN.cjs → chunk-A4WWKG2B.cjs} +2 -2
- package/dist/{chunk-LQBV2Y37.mjs → chunk-A7EJATEW.mjs} +40 -4
- package/dist/{chunk-CKBBKRBO.mjs → chunk-AHGOHPRN.mjs} +14 -14
- package/dist/{chunk-JRBWBMP2.mjs → chunk-B3IRRANH.mjs} +1 -1
- package/dist/{chunk-7564NP5Z.cjs → chunk-BZJYPIFZ.cjs} +46 -10
- package/dist/{chunk-3OYFMOBY.mjs → chunk-CBP7AKZH.mjs} +1 -1
- package/dist/{chunk-QUEYL2WM.cjs → chunk-CKNZJFK5.cjs} +1 -1
- package/dist/{chunk-2WKGQCAV.cjs → chunk-DD2ANOEF.cjs} +265 -178
- package/dist/{chunk-XX6ZA2IO.cjs → chunk-DPBQRDWW.cjs} +1 -1
- package/dist/chunk-DS2KZ5BT.mjs +16 -0
- package/dist/{chunk-VDJ3CLBR.mjs → chunk-E7V2GYBP.mjs} +1 -1
- package/dist/{chunk-YHE7HH2I.mjs → chunk-EBFTAVGD.mjs} +134 -47
- package/dist/{chunk-UBXNTZCY.cjs → chunk-EVVV2XZ2.cjs} +115 -108
- package/dist/{chunk-PSNYVBWC.cjs → chunk-F7PKUP6P.cjs} +12 -12
- package/dist/{chunk-75XSZIRE.mjs → chunk-FD6BMUA3.mjs} +35 -26
- package/dist/{chunk-TMVVBK5S.cjs → chunk-FOULIN4S.cjs} +2 -2
- package/dist/{chunk-WJDMH3E7.cjs → chunk-H5OVJHXY.cjs} +4 -4
- package/dist/{chunk-DTNWLRRF.cjs → chunk-HVMQAVZK.cjs} +85 -85
- package/dist/{chunk-Q4X3MX4J.mjs → chunk-IGE5BAWK.mjs} +112 -105
- package/dist/{chunk-2JEXQAIR.cjs → chunk-IWGGRXD2.cjs} +2 -2
- package/dist/{chunk-SFSTZ7TB.cjs → chunk-K3ZELA6U.cjs} +2 -2
- package/dist/{chunk-DZ3AZ7UK.cjs → chunk-KZ5BOWJS.cjs} +9 -9
- package/dist/{chunk-GP5BWTO7.mjs → chunk-LIC6CMLB.mjs} +6 -6
- package/dist/{chunk-BYJPBJ4E.cjs → chunk-LJKTJNOF.cjs} +3 -3
- package/dist/{chunk-XLOORES5.cjs → chunk-LMXGCFAM.cjs} +1 -1
- package/dist/{chunk-QTDIOZV6.cjs → chunk-MBD34AS5.cjs} +2 -2
- package/dist/{chunk-BBRSPKFI.cjs → chunk-NB2ZEBIS.cjs} +196 -173
- package/dist/{chunk-PXXG5BID.cjs → chunk-NNGBTJCX.cjs} +3 -3
- package/dist/{chunk-QDHR54S6.cjs → chunk-OBVBII5K.cjs} +5 -5
- package/dist/{chunk-QP4GYVRR.cjs → chunk-ODYKCC6W.cjs} +8 -8
- package/dist/{chunk-3AJQFVWW.mjs → chunk-OGVOKAQU.mjs} +1 -1
- package/dist/{chunk-5EEQNZLU.mjs → chunk-PNWRH6TR.mjs} +2 -2
- package/dist/{chunk-3GMD2E4Q.mjs → chunk-QES76U42.mjs} +1 -1
- package/dist/{chunk-MTBDJ326.cjs → chunk-QMR2TUVZ.cjs} +13 -1
- package/dist/{chunk-JL6XHQZF.mjs → chunk-R77D7TCZ.mjs} +6 -6
- package/dist/{chunk-O225GNEU.mjs → chunk-RIMEFQYO.mjs} +44 -21
- package/dist/{chunk-MOS2N377.mjs → chunk-S6RUJRWI.mjs} +1 -1
- package/dist/chunk-TIZJYHB7.mjs +42 -0
- package/dist/chunk-UZM3PDKK.cjs +46 -0
- package/dist/{chunk-YQXJY7E7.mjs → chunk-VCW6BR6U.mjs} +1 -1
- package/dist/{chunk-E77ZKNPN.mjs → chunk-VO5XDZHK.mjs} +1 -1
- package/dist/{chunk-YONTMPZ6.mjs → chunk-VRI43FDN.mjs} +1 -1
- package/dist/{chunk-X3HUT4JU.mjs → chunk-VRJAMU34.mjs} +1 -1
- package/dist/{chunk-CF74ABRI.mjs → chunk-WJ4NUY2H.mjs} +2 -2
- package/dist/{chunk-Q7JMHO5U.mjs → chunk-X2SEYK7I.mjs} +2 -2
- package/dist/{chunk-WMJQNVKX.cjs → chunk-XGS76V7L.cjs} +2 -2
- package/dist/chunk-XRRHPBG2.cjs +16 -0
- package/dist/{chunk-3QM74STY.cjs → chunk-Y2FEFQAY.cjs} +3 -3
- package/dist/{chunk-HKGU2X4I.cjs → chunk-ZCYGYIC2.cjs} +2 -2
- package/dist/{chunk-OCLCA3X3.mjs → chunk-ZEWIWAS2.mjs} +1 -1
- package/dist/{cli-runtime.d-D84CwyPI.d.ts → cli-runtime.d-BG9q2_vC.d.ts} +8 -6
- package/dist/{cli-runtime.d-OQY2pgwK.d.mts → cli-runtime.d-CGMGs1Zz.d.mts} +8 -6
- package/dist/client/lifecycle.cjs +1 -1
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-Bf8jZqW7.d.ts → client-component.d-B84GPb_u.d.ts} +1 -1
- package/dist/{client-component.d-Bh6CfC5z.d.mts → client-component.d-CdsG1E7p.d.mts} +1 -1
- package/dist/client-plugins.cjs +1 -1
- package/dist/{client-plugins.d-r3K2oQ6w.d.mts → client-plugins.d-DX-iCJWE.d.mts} +1 -1
- package/dist/{client-plugins.d-DuujrC8d.d.ts → client-plugins.d-FptsHgls.d.ts} +1 -1
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/client.mjs +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/cron.cjs +1 -1
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +1 -1
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +1 -1
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.cjs +1 -1
- package/dist/desktop.d.mts +3 -3
- package/dist/desktop.d.ts +3 -3
- package/dist/desktop.mjs +1 -1
- package/dist/{dev-guard-ZDIELV6Q.mjs → dev-guard-K3GJDPEQ.mjs} +1 -1
- package/dist/{dev-guard-ZLLKVO5T.cjs → dev-guard-VIEEA4LS.cjs} +1 -1
- package/dist/{devtools-MBZPUH3U.mjs → devtools-7P3OUNLV.mjs} +6 -5
- package/dist/{devtools-3WZIZ7KK.cjs → devtools-TMATFNUY.cjs} +7 -6
- package/dist/{devtools-client-X5OQCXDF.cjs → devtools-client-BKBCCORT.cjs} +1 -1
- package/dist/{devtools-client-SU4XH46J.mjs → devtools-client-L4MUWD6K.mjs} +1 -1
- package/dist/{devtools-ui-CYBVFLPH.mjs → devtools-ui-BOG33MT5.mjs} +1 -1
- package/dist/{devtools-ui-SYRUXUA7.cjs → devtools-ui-C2EMF2SO.cjs} +1 -1
- package/dist/docs.cjs +8 -7
- package/dist/docs.d.mts +4 -4
- package/dist/docs.d.ts +4 -4
- package/dist/docs.mjs +7 -6
- package/dist/env-types.cjs +1 -1
- package/dist/env-types.mjs +1 -1
- package/dist/env.cjs +1 -1
- package/dist/env.mjs +1 -1
- package/dist/environment/vite.cjs +6 -5
- package/dist/environment/vite.mjs +5 -4
- package/dist/environment.cjs +1 -1
- package/dist/environment.mjs +1 -1
- package/dist/font.cjs +1 -1
- package/dist/font.mjs +1 -1
- package/dist/{handler.d-Bd5lRSvb.d.ts → handler.d-Cy3XbY_W.d.ts} +1 -1
- package/dist/{handler.d-SRH-AKzf.d.mts → handler.d-DSwLTpa5.d.mts} +1 -1
- package/dist/headers.cjs +1 -1
- package/dist/{headers.d-CHHvyaIG.d.mts → headers.d-DiL9YTH3.d.mts} +1 -1
- package/dist/{headers.d-D-OvGikv.d.ts → headers.d-Qbjo38a0.d.ts} +1 -1
- package/dist/headers.mjs +1 -1
- package/dist/i18n/client.cjs +1 -1
- package/dist/i18n/client.mjs +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/server.cjs +1 -1
- package/dist/i18n/server.mjs +1 -1
- package/dist/image/server.cjs +1 -1
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +1 -1
- package/dist/image/sharp.mjs +1 -1
- package/dist/image.cjs +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +44 -39
- package/dist/{index.d-BOPsgMlI.d.mts → index.d-CqQKX3s6.d.mts} +1 -1
- package/dist/{index.d-BiUtYJUG.d.ts → index.d-OccJoC6I.d.ts} +1 -1
- package/dist/index.d.mts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.mjs +40 -35
- package/dist/instrumentation.cjs +1 -1
- package/dist/instrumentation.mjs +1 -1
- package/dist/integrations/orm.cjs +5 -4
- package/dist/integrations/orm.d.mts +2 -2
- package/dist/integrations/orm.d.ts +2 -2
- package/dist/integrations/orm.mjs +4 -3
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.cjs +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +3 -3
- package/dist/internal/app-markdown-runtime.d.ts +3 -3
- package/dist/internal/app-markdown-runtime.mjs +1 -1
- package/dist/internal/build-runtime.cjs +30 -29
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +29 -28
- package/dist/internal/cli-runtime.cjs +17 -14
- package/dist/internal/cli-runtime.d.mts +9 -8
- package/dist/internal/cli-runtime.d.ts +9 -8
- package/dist/internal/cli-runtime.mjs +17 -14
- package/dist/internal/client-error-overlay.cjs +5 -5
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.cjs +3 -3
- package/dist/internal/compression-runtime.d.mts +6 -3
- package/dist/internal/compression-runtime.d.ts +6 -3
- package/dist/internal/compression-runtime.mjs +2 -2
- package/dist/internal/config-runtime.cjs +8 -7
- package/dist/internal/config-runtime.d.mts +4 -4
- package/dist/internal/config-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.mjs +7 -6
- package/dist/internal/desktop-guard.cjs +1 -1
- package/dist/internal/desktop-guard.mjs +1 -1
- package/dist/internal/docs-precompiled-runtime.cjs +1 -1
- package/dist/internal/docs-precompiled-runtime.mjs +1 -1
- package/dist/internal/form-actions-client.cjs +1 -1
- package/dist/internal/form-actions-client.mjs +1 -1
- package/dist/internal/form-actions.cjs +1 -1
- package/dist/internal/form-actions.mjs +1 -1
- package/dist/internal/infra-analytics-runtime.cjs +7 -7
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/island-codec.cjs +1 -1
- package/dist/internal/island-codec.mjs +1 -1
- package/dist/internal/island-value-store.cjs +1 -1
- package/dist/internal/island-value-store.mjs +1 -1
- package/dist/internal/islands-boot.cjs +27 -6
- package/dist/internal/islands-boot.mjs +24 -3
- package/dist/internal/islands-runtime.cjs +1 -1
- package/dist/internal/islands-runtime.mjs +1 -1
- package/dist/internal/islands-server.cjs +1 -1
- package/dist/internal/islands-server.mjs +1 -1
- package/dist/internal/islx-client.cjs +1 -1
- package/dist/internal/islx-react.cjs +1 -1
- package/dist/internal/islx-server.cjs +1 -1
- package/dist/internal/isolated-boundary.cjs +1 -1
- package/dist/internal/isolated-boundary.mjs +1 -1
- package/dist/internal/metadata-image-runtime.cjs +1 -1
- package/dist/internal/metadata-image-runtime.mjs +1 -1
- package/dist/internal/native-server-fns.cjs +5 -5
- package/dist/internal/native-server-fns.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +4 -4
- package/dist/internal/product-telemetry-runtime.mjs +3 -3
- package/dist/internal/production-node-env.cjs +1 -1
- package/dist/internal/production-node-env.mjs +1 -1
- package/dist/internal/production-runtime.cjs +8 -7
- package/dist/internal/production-runtime.d.mts +11 -11
- package/dist/internal/production-runtime.d.ts +11 -11
- package/dist/internal/production-runtime.mjs +7 -6
- package/dist/internal/react-cache.cjs +1 -1
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/request-cookies.cjs +1 -1
- package/dist/internal/request-cookies.mjs +1 -1
- package/dist/internal/server-fn-transform.cjs +1 -1
- package/dist/internal/server-fn-transform.mjs +1 -1
- package/dist/internal/server-tree.cjs +1 -1
- package/dist/internal/server-tree.mjs +1 -1
- package/dist/internal/start-manifest.cjs +1 -1
- package/dist/internal/start-manifest.d.mts +2 -2
- package/dist/internal/start-manifest.d.ts +2 -2
- package/dist/internal/start-manifest.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +1 -1
- package/dist/internal/vercel-edge-middleware.mjs +1 -1
- package/dist/json-ld.cjs +1 -1
- package/dist/json-ld.mjs +1 -1
- package/dist/{layers-XQ7VFMWO.mjs → layers-5ZD4764G.mjs} +3 -2
- package/dist/layers-HMEGUEXM.cjs +21 -0
- package/dist/libsql-http-2QD224YS.mjs +600 -0
- package/dist/libsql-http-M6LMNXCN.cjs +600 -0
- package/dist/{manager-YO2RHDYU.mjs → manager-OMTC5FOJ.mjs} +2 -2
- package/dist/{manager-R7FV4A56.cjs → manager-PX4QN4HK.cjs} +4 -4
- package/dist/markdown.cjs +1 -1
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +5 -5
- package/dist/middleware.d.mts +2 -2
- package/dist/middleware.d.ts +2 -2
- package/dist/middleware.mjs +4 -4
- package/dist/mobile.cjs +1 -1
- package/dist/mobile.mjs +1 -1
- package/dist/{modules-KOKD4XS6.mjs → modules-3Q2ZCY4Q.mjs} +1 -1
- package/dist/{modules-QTP7WJPD.cjs → modules-KDHFBQ6L.cjs} +1 -1
- package/dist/{mount.d-vq1HTq5u.d.mts → mount.d-AcJaUtHF.d.mts} +1 -1
- package/dist/{mount.d-C2yq0Zzz.d.ts → mount.d-CPzqOm-a.d.ts} +1 -1
- package/dist/{native-server-fn-handler-LII4MDRR.mjs → native-server-fn-handler-WYYY4YBN.mjs} +1 -1
- package/dist/{native-server-fn-handler-IWNKQEXK.cjs → native-server-fn-handler-XRTZR7SZ.cjs} +1 -1
- package/dist/{native-specs-LDV6IZ4N.mjs → native-specs-A7YOL463.mjs} +1 -1
- package/dist/{native-specs-5OLED4MM.cjs → native-specs-JDPH26AO.cjs} +1 -1
- package/dist/{native-tree-G6ZWS7IR.mjs → native-tree-JDI3LJSH.mjs} +1 -1
- package/dist/{native-tree-D3PW64ZL.cjs → native-tree-MNUFN5G6.cjs} +1 -1
- package/dist/native.cjs +1 -1
- package/dist/native.mjs +1 -1
- package/dist/{navigation-delegate.d-DS2Sqm7E.d.mts → navigation-delegate.d-C4i5Y39E.d.mts} +1 -1
- package/dist/{navigation-delegate.d-D7xIin3i.d.ts → navigation-delegate.d-_Df9DnPY.d.ts} +1 -1
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/navigation.mjs +1 -1
- package/dist/{nitro-HKMVYIXY.cjs → nitro-NUCTYEKJ.cjs} +3 -3
- package/dist/{nitro-RHLKLYXH.mjs → nitro-VCJ6QQSI.mjs} +2 -2
- package/dist/{node-module-bundle-LIZ2KMVW.cjs → node-module-bundle-M6BISE2P.cjs} +1 -1
- package/dist/{node-module-bundle-VR6NV6AI.mjs → node-module-bundle-XPLBMXRD.mjs} +1 -1
- package/dist/observability.cjs +1 -1
- package/dist/observability.mjs +1 -1
- package/dist/og.cjs +1 -1
- package/dist/og.mjs +1 -1
- package/dist/platform.cjs +1 -1
- package/dist/platform.mjs +1 -1
- package/dist/{plugin-YXPIS3XX.cjs → plugin-AGEFSU7K.cjs} +3 -3
- package/dist/{plugin-6CHZBFJD.mjs → plugin-TV6W7YNK.mjs} +2 -2
- package/dist/plugin.cjs +23 -22
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +22 -21
- package/dist/{port-CLL4BC4O.mjs → port-CEZTV776.mjs} +1 -1
- package/dist/{port-HASZTQGY.cjs → port-STMSGUVU.cjs} +1 -1
- package/dist/query/client.cjs +1 -1
- package/dist/query/client.mjs +1 -1
- package/dist/query/index.cjs +1 -1
- package/dist/query/index.mjs +1 -1
- package/dist/query/parsers.cjs +1 -1
- package/dist/query/parsers.mjs +1 -1
- package/dist/query/server.cjs +1 -1
- package/dist/query/server.mjs +1 -1
- package/dist/{render-plan.d-X6KqerAM.d.mts → render-plan.d-4V_NmaA6.d.mts} +1 -1
- package/dist/{render-plan.d-BCq0nfdw.d.ts → render-plan.d-CslZE7o7.d.ts} +1 -1
- package/dist/renderer/none/server.cjs +1 -1
- package/dist/renderer/none/server.mjs +1 -1
- package/dist/renderer/react/client.cjs +1 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +1 -1
- package/dist/renderer/react/server.mjs +1 -1
- package/dist/renderer/react/vite.cjs +1 -1
- package/dist/renderer/react/vite.mjs +1 -1
- package/dist/renderer-client.cjs +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer-client.mjs +1 -1
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.mjs +1 -1
- package/dist/request.cjs +1 -1
- package/dist/{request.d-CPdq2_kC.d.ts → request.d-CbV3y7j3.d.ts} +1 -1
- package/dist/{request.d-Be9rWboC.d.mts → request.d-CmLTxEgS.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-CKB5GhQr.d.ts → route-rendering.d-CETnXNez.d.ts} +1 -1
- package/dist/{route-rendering.d-CIPli7Ve.d.mts → route-rendering.d-CmoqfOmj.d.mts} +1 -1
- package/dist/router.cjs +1 -1
- package/dist/{router.d-CvrbOXzF.d.ts → router.d-Dga3N5YO.d.ts} +1 -1
- package/dist/{router.d-VxTgLGxN.d.mts → router.d-ktz7pwYm.d.mts} +1 -1
- package/dist/router.mjs +1 -1
- package/dist/routes.cjs +1 -1
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/routes.mjs +1 -1
- package/dist/{rsc-pipeline-TPHK74VE.cjs → rsc-pipeline-JLYD26AR.cjs} +11 -10
- package/dist/{rsc-pipeline-FPE4OL57.mjs → rsc-pipeline-N7CWJW7T.mjs} +10 -9
- package/dist/{runtime-UBG657UC.cjs → runtime-F5NSS4DD.cjs} +14 -13
- package/dist/{runtime-45BD33OJ.mjs → runtime-QXX2A4TS.mjs} +10 -9
- package/dist/{runtime.d-Ps54JWpo.d.ts → runtime.d-BWLZUOfA.d.ts} +1 -1
- package/dist/{runtime.d-Cn1jiDNI.d.mts → runtime.d-DuaXEM0p.d.mts} +1 -1
- package/dist/safe-fetch.cjs +1 -1
- package/dist/safe-fetch.mjs +1 -1
- package/dist/{schema-dev-notice-CA55V57L.mjs → schema-dev-notice-2GN5V7Y2.mjs} +1 -1
- package/dist/{schema-dev-notice-RWA2UTR6.cjs → schema-dev-notice-6VCOZGG2.cjs} +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.mjs +1 -1
- package/dist/{search-client-ZZLKVO5R.cjs → search-client-6NVC6HM2.cjs} +1 -1
- package/dist/{search-client-OXH6GBNO.mjs → search-client-W4PEFAQB.mjs} +1 -1
- package/dist/server-action-security.cjs +1 -1
- package/dist/server-action-security.mjs +1 -1
- package/dist/{server-components-status.d-Dhtbs5lC.d.ts → server-components-status.d-C5JpC7_Y.d.ts} +1 -1
- package/dist/{server-components-status.d-DnmipSb3.d.mts → server-components-status.d-CqxtJmqP.d.mts} +1 -1
- package/dist/server-fn-client.cjs +1 -1
- package/dist/server-fn-client.mjs +1 -1
- package/dist/server-fn.cjs +1 -1
- package/dist/server-fn.mjs +1 -1
- package/dist/server-plugins.cjs +3 -3
- package/dist/server-plugins.d.mts +4 -4
- package/dist/server-plugins.d.ts +4 -4
- package/dist/server-plugins.mjs +2 -2
- package/dist/server-query-client.cjs +1 -1
- package/dist/server-query-client.mjs +1 -1
- package/dist/server-query.cjs +1 -1
- package/dist/server-query.mjs +1 -1
- package/dist/server.cjs +99 -72
- package/dist/server.d.mts +13 -13
- package/dist/server.d.ts +13 -13
- package/dist/server.mjs +57 -30
- package/dist/{session-ASQTJNBK.mjs → session-AK2OA5UZ.mjs} +4 -3
- package/dist/session-H4TWP73H.cjs +24 -0
- package/dist/{spa-router.d-DXm5J9rM.d.mts → spa-router.d-BLE188EL.d.mts} +2 -2
- package/dist/{spa-router.d-cppVufl2.d.ts → spa-router.d-C3LzwTlY.d.ts} +2 -2
- package/dist/{ssg.d-CI5OFl8H.d.ts → ssg.d-DisOfj0I.d.ts} +2 -2
- package/dist/{ssg.d-Duzy1wQc.d.mts → ssg.d-QrFyU6T4.d.mts} +2 -2
- package/dist/storage.cjs +8 -3
- package/dist/storage.d.mts +260 -38
- package/dist/storage.d.ts +260 -38
- package/dist/storage.mjs +7 -2
- package/dist/testing.cjs +4 -4
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.mjs +4 -4
- package/dist/theme/client.cjs +1 -1
- package/dist/theme/client.mjs +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/theme/runtime.cjs +1 -1
- package/dist/theme/runtime.mjs +1 -1
- package/dist/theme/server.cjs +1 -1
- package/dist/theme/server.mjs +1 -1
- package/dist/{types.d-D5cY6XjK.d.mts → types.d-DW2vyaUq.d.mts} +26 -4
- package/dist/{types.d-D5cY6XjK.d.ts → types.d-DW2vyaUq.d.ts} +26 -4
- package/dist/{utils.d-D3dfy8zh.d.ts → utils.d-7YcgfTCK.d.ts} +1 -1
- package/dist/{utils.d-CNI-I8ZV.d.mts → utils.d-BlWZFgdL.d.mts} +1 -1
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +23 -22
- package/dist/vite.d.mts +7 -7
- package/dist/vite.d.ts +7 -7
- package/dist/vite.mjs +22 -21
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.mjs +2 -2
- package/package.json +4 -6
- package/dist/analyzer-KFJGYJS7.cjs +0 -16
- package/dist/chunk-BTZ5O6VM.cjs +0 -14
- package/dist/chunk-Y6FXYEAI.mjs +0 -10
- package/dist/layers-7P4RLKVX.cjs +0 -20
- package/dist/session-ACVUJ5XV.cjs +0 -23
- package/dist/{chunk-WW62HKA2.cjs → chunk-4SLHSODZ.cjs} +2 -2
- package/dist/{chunk-LSHUCNIF.mjs → chunk-522K362I.mjs} +0 -0
- package/dist/{chunk-OWO7KDZ3.cjs → chunk-AOTD2N5P.cjs} +0 -0
- package/dist/{chunk-22T75EML.cjs → chunk-CUZT7474.cjs} +0 -0
- package/dist/{chunk-6MNDFNZW.mjs → chunk-JKFN3YVG.mjs} +0 -0
- package/dist/{chunk-YTNE4KGC.cjs → chunk-MALGIHIC.cjs} +0 -0
- package/dist/{chunk-UOE6ZZZP.mjs → chunk-Q3DO7MVK.mjs} +0 -0
- package/dist/{chunk-GAAK3HDZ.mjs → chunk-XT2CHTDN.mjs} +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aQ as FarmMCPCatalogDetails, aR as ResolvedFarmAppManifestConfig } from './client-plugins.d-
|
|
1
|
+
import { aQ as FarmMCPCatalogDetails, aR as ResolvedFarmAppManifestConfig } from './client-plugins.d-FptsHgls.js';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
package/dist/app-markdown.cjs
CHANGED
package/dist/app-markdown.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as RouteModule, d as FarmMdxResolvedConfig, c as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { g as FARM_MARKDOWN_CONTENT_TYPE, j as FarmMdxComponent, k as FarmMdxUserConfig, h as createFarmMarkdownErrorBody, i as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, l as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { e as RouteModule, d as FarmMdxResolvedConfig, c as FarmMdxComponents } from './client-plugins.d-DX-iCJWE.mjs';
|
|
2
|
+
export { g as FARM_MARKDOWN_CONTENT_TYPE, j as FarmMdxComponent, k as FarmMdxUserConfig, h as createFarmMarkdownErrorBody, i as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, l as resolveMdxConfig } from './client-plugins.d-DX-iCJWE.mjs';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.mjs';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.mjs';
|
|
5
5
|
import './lifecycle.d-VzcXyEyn.mjs';
|
|
@@ -14,7 +14,7 @@ import './types.d-euATAbE4.mjs';
|
|
|
14
14
|
import './server-fn.mjs';
|
|
15
15
|
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
16
16
|
import './server-query.mjs';
|
|
17
|
-
import './types.d-
|
|
17
|
+
import './types.d-DW2vyaUq.mjs';
|
|
18
18
|
import '@farming-labs/orm';
|
|
19
19
|
import '@libsql/core/api';
|
|
20
20
|
import '@farming-labs/orm-sql';
|
package/dist/app-markdown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as RouteModule, d as FarmMdxResolvedConfig, c as FarmMdxComponents } from './client-plugins.d-
|
|
2
|
-
export { g as FARM_MARKDOWN_CONTENT_TYPE, j as FarmMdxComponent, k as FarmMdxUserConfig, h as createFarmMarkdownErrorBody, i as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, l as resolveMdxConfig } from './client-plugins.d-
|
|
1
|
+
import { e as RouteModule, d as FarmMdxResolvedConfig, c as FarmMdxComponents } from './client-plugins.d-FptsHgls.js';
|
|
2
|
+
export { g as FARM_MARKDOWN_CONTENT_TYPE, j as FarmMdxComponent, k as FarmMdxUserConfig, h as createFarmMarkdownErrorBody, i as farmRequestWantsMarkdown, r as resolveFarmMdxComponentsModulePath, l as resolveMdxConfig } from './client-plugins.d-FptsHgls.js';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.js';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.js';
|
|
5
5
|
import './lifecycle.d-VzcXyEyn.js';
|
|
@@ -14,7 +14,7 @@ import './types.d-euATAbE4.js';
|
|
|
14
14
|
import './server-fn.js';
|
|
15
15
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
16
16
|
import './server-query.js';
|
|
17
|
-
import './types.d-
|
|
17
|
+
import './types.d-DW2vyaUq.js';
|
|
18
18
|
import '@farming-labs/orm';
|
|
19
19
|
import '@libsql/core/api';
|
|
20
20
|
import '@farming-labs/orm-sql';
|
package/dist/app-markdown.mjs
CHANGED
|
@@ -35,7 +35,7 @@ import "./chunk-IWJONXPF.mjs";
|
|
|
35
35
|
import "./chunk-LM55GS4R.mjs";
|
|
36
36
|
import "./chunk-SF3JB56B.mjs";
|
|
37
37
|
import "./chunk-5KAEGBIL.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-TIZJYHB7.mjs";
|
|
39
39
|
export {
|
|
40
40
|
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
41
41
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aS as FarmConfig, P as ParsedRoute, bv as ResolvedFarmRouteRuntimeConfig, bw as ApplicationMetadataRouteKind, e as RouteModule, b5 as LayoutModule, S as SSGCollectionResult, N as FarmRedirectStatus, E as FarmRequest, G as FarmResponse, bx as ResolvedFarmAPIConfig, aP as FarmDocsResolvedConfig, bu as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, aF as ResolvedFarmDevtoolsConfig, by as ResolvedFarmDevIndicatorsConfig, bz as ResolvedFarmAuthConfig, bA as ResolvedFarmPerformanceConfig, bB as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aS as FarmConfig, P as ParsedRoute, bv as ResolvedFarmRouteRuntimeConfig, bw as ApplicationMetadataRouteKind, e as RouteModule, b5 as LayoutModule, S as SSGCollectionResult, N as FarmRedirectStatus, E as FarmRequest, G as FarmResponse, bx as ResolvedFarmAPIConfig, aP as FarmDocsResolvedConfig, bu as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, aF as ResolvedFarmDevtoolsConfig, by as ResolvedFarmDevIndicatorsConfig, bz as ResolvedFarmAuthConfig, bA as ResolvedFarmPerformanceConfig, bB as ResolvedFarmSecurityConfig } from './client-plugins.d-FptsHgls.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-BErtnhV2.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-B84GPb_u.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-CslZE7o7.js';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
13
13
|
import { F as FarmI18nRuntime } from './runtime.d-PUA5qBnd.js';
|
|
14
14
|
import { R as ResolvedFarmThemeConfig } from './types.d-DQnyD3VD.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aS as FarmConfig, P as ParsedRoute, bv as ResolvedFarmRouteRuntimeConfig, bw as ApplicationMetadataRouteKind, e as RouteModule, b5 as LayoutModule, S as SSGCollectionResult, N as FarmRedirectStatus, E as FarmRequest, G as FarmResponse, bx as ResolvedFarmAPIConfig, aP as FarmDocsResolvedConfig, bu as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, aF as ResolvedFarmDevtoolsConfig, by as ResolvedFarmDevIndicatorsConfig, bz as ResolvedFarmAuthConfig, bA as ResolvedFarmPerformanceConfig, bB as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aS as FarmConfig, P as ParsedRoute, bv as ResolvedFarmRouteRuntimeConfig, bw as ApplicationMetadataRouteKind, e as RouteModule, b5 as LayoutModule, S as SSGCollectionResult, N as FarmRedirectStatus, E as FarmRequest, G as FarmResponse, bx as ResolvedFarmAPIConfig, aP as FarmDocsResolvedConfig, bu as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, aF as ResolvedFarmDevtoolsConfig, by as ResolvedFarmDevIndicatorsConfig, bz as ResolvedFarmAuthConfig, bA as ResolvedFarmPerformanceConfig, bB as ResolvedFarmSecurityConfig } from './client-plugins.d-DX-iCJWE.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-CYHfcjur.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-CdsG1E7p.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-4V_NmaA6.mjs';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
13
13
|
import { F as FarmI18nRuntime } from './runtime.d-CTAXWZby.mjs';
|
|
14
14
|
import { R as ResolvedFarmThemeConfig } from './types.d-DQnyD3VD.mjs';
|
package/dist/cache.cjs
CHANGED
package/dist/cache.mjs
CHANGED
|
@@ -8,7 +8,7 @@ var _chunkSHD265HWcjs = require('./chunk-SHD265HW.cjs');
|
|
|
8
8
|
var _chunkGBMWLDCCcjs = require('./chunk-GBMWLDCC.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkEVVV2XZ2cjs = require('./chunk-EVVV2XZ2.cjs');
|
|
12
12
|
|
|
13
13
|
// src/integration-orm.ts
|
|
14
14
|
async function createIntegrationOrm(options) {
|
|
@@ -31,7 +31,7 @@ async function resolveIntegrationOrmRuntimeClient(options) {
|
|
|
31
31
|
if (options.client !== void 0) {
|
|
32
32
|
return typeof options.client === "function" ? await options.client() : options.client;
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return _chunkEVVV2XZ2cjs.resolveStorageRuntimeClient.call(void 0, _nullishCoalesce(options.storage, () => ( _optionalChain([options, 'access', _ => _.config, 'optionalAccess', _2 => _2.storage]))));
|
|
35
35
|
}
|
|
36
36
|
async function farmIntegrationSchemaToOrmSchema(schema) {
|
|
37
37
|
for (const [modelKey, modelSchema] of Object.entries(schema.models)) {
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDPBQRDWWcjs = require('./chunk-DPBQRDWW.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkX3Y6JWJGcjs = require('./chunk-X3Y6JWJG.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkF7PKUP6Pcjs = require('./chunk-F7PKUP6P.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkY2FEFQAYcjs = require('./chunk-Y2FEFQAY.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkMBD34AS5cjs = require('./chunk-MBD34AS5.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
@@ -60,7 +60,7 @@ function pickImportTarget(entry) {
|
|
|
60
60
|
return void 0;
|
|
61
61
|
}
|
|
62
62
|
async function importFromApp(root, packageName, subpath = ".") {
|
|
63
|
-
const packageDir =
|
|
63
|
+
const packageDir = _chunkDPBQRDWWcjs.findFarmAppPackageDir.call(void 0, root, packageName);
|
|
64
64
|
if (!packageDir) return void 0;
|
|
65
65
|
const manifest = JSON.parse(_fs.readFileSync.call(void 0, _path2.default.join(packageDir, "package.json"), "utf8"));
|
|
66
66
|
const exportsMap = manifest.exports;
|
|
@@ -87,12 +87,12 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
87
87
|
importFromApp(root, "@vitejs/plugin-rsc"),
|
|
88
88
|
importFromApp(root, "@vitejs/plugin-react")
|
|
89
89
|
]);
|
|
90
|
-
if (!pluginRsc || !viteRsc || !
|
|
90
|
+
if (!pluginRsc || !viteRsc || !_chunkDPBQRDWWcjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
|
|
91
91
|
throw new Error(
|
|
92
|
-
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${
|
|
92
|
+
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkDPBQRDWWcjs.FARM_RSC_INSTALL_HINT}`
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
const layered = await
|
|
95
|
+
const layered = await _chunkDPBQRDWWcjs.resolveFarmRscCheckConfig.call(void 0,
|
|
96
96
|
userConfig,
|
|
97
97
|
root,
|
|
98
98
|
options.command === "build" ? "production" : "development"
|
|
@@ -106,20 +106,20 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
106
106
|
},
|
|
107
107
|
options.command
|
|
108
108
|
);
|
|
109
|
-
const blockingKeys =
|
|
109
|
+
const blockingKeys = _chunkDPBQRDWWcjs.inspectFarmServerComponents.call(void 0, config, root).blockingKeys;
|
|
110
110
|
if (blockingKeys.length > 0) {
|
|
111
|
-
throw new Error(`[Farm.js] ${
|
|
111
|
+
throw new Error(`[Farm.js] ${_chunkDPBQRDWWcjs.formatFarmRscBlockingMessage.call(void 0, blockingKeys)}`);
|
|
112
112
|
}
|
|
113
113
|
const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(config.vite, () => ( {}));
|
|
114
114
|
const rscConfig = {};
|
|
115
115
|
for (const key of FARM_RSC_CONFIG_KEYS) {
|
|
116
116
|
if (config[key] !== void 0) rscConfig[key] = config[key];
|
|
117
117
|
}
|
|
118
|
-
const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _4 => _4.default]), async () => ( (options.command === "serve" ? (await
|
|
119
|
-
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await
|
|
118
|
+
const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _4 => _4.default]), async () => ( (options.command === "serve" ? (await _chunkY2FEFQAYcjs.loadFarmReactPlugin.call(void 0, )).default : void 0)));
|
|
119
|
+
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await _chunkMBD34AS5cjs.loadTailwindVitePlugin.call(void 0, );
|
|
120
120
|
const platform = _chunkAQLHD6HZcjs.resolveFarmPlatform.call(void 0, );
|
|
121
121
|
const mobileClient = config.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
|
|
122
|
-
const clientPluginEntry =
|
|
122
|
+
const clientPluginEntry = _chunkMBD34AS5cjs.generateFarmClientPluginEntryCode.call(void 0,
|
|
123
123
|
config.plugins,
|
|
124
124
|
root,
|
|
125
125
|
typeof config.srcDir === "string" ? config.srcDir : "src",
|
|
@@ -144,7 +144,7 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
144
144
|
port: _nullishCoalesce(options.port, () => ( _optionalChain([config, 'access', _5 => _5.server, 'optionalAccess', _6 => _6.port]))),
|
|
145
145
|
plugins: [
|
|
146
146
|
...options.command === "serve" && platform === "desktop" ? [
|
|
147
|
-
|
|
147
|
+
_chunkY2FEFQAYcjs.farmDesktopDevGuardPlugin.call(void 0,
|
|
148
148
|
typeof config.basePath === "string" ? config.basePath : void 0
|
|
149
149
|
)
|
|
150
150
|
] : [],
|
|
@@ -156,7 +156,7 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
156
156
|
server: { environmentName: "rsc" },
|
|
157
157
|
config: {
|
|
158
158
|
preset: options.preset,
|
|
159
|
-
outputDir: options.outputDir &&
|
|
159
|
+
outputDir: options.outputDir && _chunkF7PKUP6Pcjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
|
|
160
160
|
}
|
|
161
161
|
})
|
|
162
162
|
]
|
|
@@ -176,14 +176,14 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
176
176
|
async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
177
177
|
const kept = _nullishCoalesce(config.plugins, () => ( []));
|
|
178
178
|
const names = new Set(
|
|
179
|
-
kept.filter((plugin) =>
|
|
179
|
+
kept.filter((plugin) => _chunkMBD34AS5cjs.hasFarmServerRuntimePlugins.call(void 0, [plugin])).map((plugin) => plugin.name)
|
|
180
180
|
);
|
|
181
181
|
if (names.size === 0) return void 0;
|
|
182
182
|
const loads = (plugin) => {
|
|
183
183
|
const candidate = plugin;
|
|
184
|
-
return !!candidate && names.has(candidate.name) &&
|
|
184
|
+
return !!candidate && names.has(candidate.name) && _chunkMBD34AS5cjs.hasFarmServerRuntimePlugins.call(void 0, [candidate]);
|
|
185
185
|
};
|
|
186
|
-
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-
|
|
186
|
+
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-HMEGUEXM.cjs");
|
|
187
187
|
const files = [];
|
|
188
188
|
if (userConfig.extends) {
|
|
189
189
|
const { layers } = await resolveFarmLayers(userConfig, { root, mode: "production" });
|
|
@@ -210,7 +210,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
|
210
210
|
}
|
|
211
211
|
async function configureFarmRscPlugins(config, command) {
|
|
212
212
|
if (config.plugins.length === 0) return config;
|
|
213
|
-
const { PluginManager } = await import("./plugin-
|
|
213
|
+
const { PluginManager } = await import("./plugin-AGEFSU7K.cjs");
|
|
214
214
|
const manager = new PluginManager({
|
|
215
215
|
config,
|
|
216
216
|
isDev: command === "serve",
|
|
@@ -4,6 +4,7 @@ var _chunkA25FXJ7Dcjs = require('./chunk-A25FXJ7D.cjs');
|
|
|
4
4
|
|
|
5
5
|
// src/plugins/compression.ts
|
|
6
6
|
var _stream = require('stream');
|
|
7
|
+
var _util = require('util');
|
|
7
8
|
var _zlib = require('zlib');
|
|
8
9
|
var Q_VALUE = /^(?:0(?:\.\d{0,3})?|1(?:\.0{0,3})?)$/;
|
|
9
10
|
function parseEncodingQuality(header) {
|
|
@@ -28,10 +29,10 @@ function selectEncoding(header) {
|
|
|
28
29
|
const qualities = parseEncodingQuality(header);
|
|
29
30
|
const wildcard = _nullishCoalesce(qualities.get("*"), () => ( 0));
|
|
30
31
|
const quality = (encoding) => _nullishCoalesce(qualities.get(encoding), () => ( wildcard));
|
|
31
|
-
const
|
|
32
|
+
const brotli2 = quality("br");
|
|
32
33
|
const gzip2 = quality("gzip");
|
|
33
|
-
if (
|
|
34
|
-
return
|
|
34
|
+
if (brotli2 <= 0 && gzip2 <= 0) return void 0;
|
|
35
|
+
return brotli2 >= gzip2 ? "br" : "gzip";
|
|
35
36
|
}
|
|
36
37
|
var COMPRESSIBLE_MEDIA_TYPES = /* @__PURE__ */ new Set([
|
|
37
38
|
"application/javascript",
|
|
@@ -86,32 +87,40 @@ function compressedHeaders(response, encoding) {
|
|
|
86
87
|
}
|
|
87
88
|
return headers;
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
+
var compressedShells = /* @__PURE__ */ new WeakMap();
|
|
91
|
+
var brotli = _util.promisify.call(void 0, _zlib.brotliCompress);
|
|
92
|
+
var gzipBuffer = _util.promisify.call(void 0, _zlib.gzip);
|
|
93
|
+
function encodeText(text, encoding) {
|
|
94
|
+
const input = Buffer.from(text);
|
|
95
|
+
return encoding === "br" ? brotli(input, { params: { [_zlib.constants.BROTLI_PARAM_QUALITY]: BROTLI_QUALITY } }) : gzipBuffer(input);
|
|
96
|
+
}
|
|
97
|
+
function getEncodedShell(shell, encoding) {
|
|
98
|
+
let entry = compressedShells.get(shell);
|
|
99
|
+
if (_optionalChain([entry, 'optionalAccess', _28 => _28.html]) !== shell.html) {
|
|
100
|
+
entry = { html: shell.html };
|
|
101
|
+
compressedShells.set(shell, entry);
|
|
102
|
+
}
|
|
103
|
+
const variants = entry;
|
|
104
|
+
return _nullishCoalesce(variants[encoding], () => ( (variants[encoding] = encodeText(shell.html, encoding).catch((error) => {
|
|
105
|
+
delete variants[encoding];
|
|
106
|
+
throw error;
|
|
107
|
+
}))));
|
|
108
|
+
}
|
|
109
|
+
function compressBufferedResponse(response, text, encoding, lazyBody, shell) {
|
|
90
110
|
const headers = compressedHeaders(response, encoding);
|
|
91
|
-
if (!lazyBody) _optionalChain([response, 'access',
|
|
111
|
+
if (!lazyBody) _optionalChain([response, 'access', _29 => _29.body, 'optionalAccess', _30 => _30.cancel, 'call', _31 => _31(), 'access', _32 => _32.catch, 'call', _33 => _33(() => {
|
|
92
112
|
})]);
|
|
93
|
-
const
|
|
113
|
+
const reuse = shell && shell.html === text;
|
|
114
|
+
const bytes = reuse ? getEncodedShell(shell, encoding) : encodeText(text, encoding);
|
|
94
115
|
let cancelled = false;
|
|
95
116
|
const body = new ReadableStream({
|
|
96
|
-
start(controller) {
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
controller.enqueue(new Uint8Array(output.buffer, output.byteOffset, output.byteLength));
|
|
104
|
-
controller.close();
|
|
105
|
-
};
|
|
106
|
-
if (encoding === "br") {
|
|
107
|
-
_zlib.brotliCompress.call(void 0,
|
|
108
|
-
input,
|
|
109
|
-
{ params: { [_zlib.constants.BROTLI_PARAM_QUALITY]: BROTLI_QUALITY } },
|
|
110
|
-
done
|
|
111
|
-
);
|
|
112
|
-
} else {
|
|
113
|
-
_zlib.gzip.call(void 0, input, done);
|
|
114
|
-
}
|
|
117
|
+
async start(controller) {
|
|
118
|
+
const output = await bytes;
|
|
119
|
+
if (cancelled) return;
|
|
120
|
+
controller.enqueue(
|
|
121
|
+
reuse ? new Uint8Array(output) : new Uint8Array(output.buffer, output.byteOffset, output.byteLength)
|
|
122
|
+
);
|
|
123
|
+
controller.close();
|
|
115
124
|
},
|
|
116
125
|
cancel() {
|
|
117
126
|
cancelled = true;
|
|
@@ -141,12 +150,12 @@ function compressResponse(response, encoding) {
|
|
|
141
150
|
function varyIdentityResponse(response) {
|
|
142
151
|
return _chunkA25FXJ7Dcjs._withFarmResponseHeaders.call(void 0, response, (headers) => appendVary(headers, "Accept-Encoding"));
|
|
143
152
|
}
|
|
144
|
-
function compressFarmResponse(request, response, bufferedText, lazyBody = false) {
|
|
153
|
+
function compressFarmResponse(request, response, bufferedText, lazyBody = false, shell) {
|
|
145
154
|
if (!isCompressionEligible(request, response, bufferedText)) return response;
|
|
146
155
|
if (request.method === "HEAD") return varyIdentityResponse(response);
|
|
147
156
|
const encoding = selectEncoding(_nullishCoalesce(request.headers.get("accept-encoding"), () => ( "")));
|
|
148
157
|
if (!encoding) return varyIdentityResponse(response);
|
|
149
|
-
return bufferedText === void 0 ? compressResponse(response, encoding) : compressBufferedResponse(response, bufferedText, encoding, lazyBody);
|
|
158
|
+
return bufferedText === void 0 ? compressResponse(response, encoding) : compressBufferedResponse(response, bufferedText, encoding, lazyBody, shell);
|
|
150
159
|
}
|
|
151
160
|
function createCompressionPlugin({
|
|
152
161
|
beforeRequest: overrideBeforeRequest,
|
|
@@ -3,6 +3,9 @@ import {
|
|
|
3
3
|
isDeclarationFile,
|
|
4
4
|
resolvePackageWithoutTsconfig
|
|
5
5
|
} from "./chunk-MGKWYPE3.mjs";
|
|
6
|
+
import {
|
|
7
|
+
hasManagedMountSchema
|
|
8
|
+
} from "./chunk-DS2KZ5BT.mjs";
|
|
6
9
|
|
|
7
10
|
// src/layers.ts
|
|
8
11
|
import { existsSync, readFileSync, realpathSync, statSync } from "fs";
|
|
@@ -373,7 +376,16 @@ function mergeFarmLayerConfig(base, override) {
|
|
|
373
376
|
continue;
|
|
374
377
|
}
|
|
375
378
|
if (isPlainObject(output[key]) && isPlainObject(value)) {
|
|
376
|
-
|
|
379
|
+
const merged = mergePlainObjects(output[key], value);
|
|
380
|
+
if (key === "storage" && isPlainObject(value.mounts) && isPlainObject(output[key].mounts)) {
|
|
381
|
+
for (const [name, mount] of Object.entries(value.mounts)) {
|
|
382
|
+
const previous = output[key].mounts[name];
|
|
383
|
+
if (mount !== void 0 && (hasManagedMountSchema(previous) || hasManagedMountSchema(mount))) {
|
|
384
|
+
merged.mounts[name] = mount;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
output[key] = merged;
|
|
377
389
|
continue;
|
|
378
390
|
}
|
|
379
391
|
output[key] = value;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkVWIW47FWcjs = require('./chunk-VWIW47FW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMALGIHICcjs = require('./chunk-MALGIHIC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkSBDWCDS6cjs = require('./chunk-SBDWCDS6.cjs');
|
|
@@ -34,10 +34,10 @@ var _chunkYUCU6XB4cjs = require('./chunk-YUCU6XB4.cjs');
|
|
|
34
34
|
var _chunkIUKBPBM7cjs = require('./chunk-IUKBPBM7.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunk25JGHAGHcjs = require('./chunk-25JGHAGH.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkSNP33A33cjs = require('./chunk-SNP33A33.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkGC5ROI3Acjs = require('./chunk-GC5ROI3A.cjs');
|
|
@@ -242,7 +242,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
242
242
|
async loadProgrammaticApiRoutes(appDir) {
|
|
243
243
|
const candidateRoots = [path.dirname(appDir), appDir];
|
|
244
244
|
const routeFiles = Array.from(
|
|
245
|
-
new Set(candidateRoots.flatMap((srcRoot) =>
|
|
245
|
+
new Set(candidateRoots.flatMap((srcRoot) => _chunkMALGIHICcjs.findProgrammaticRouteFilesInDir.call(void 0, srcRoot)))
|
|
246
246
|
);
|
|
247
247
|
if (routeFiles.length === 0) return;
|
|
248
248
|
const { getProgrammaticRouteManifest } = await import("./routes.cjs");
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkYRXPDKMMcjs = require('./chunk-YRXPDKMM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFOULIN4Scjs = require('./chunk-FOULIN4S.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkBTVDYS4Bcjs = require('./chunk-BTVDYS4B.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunk2OF5RPVUcjs = require('./chunk-2OF5RPVU.cjs');
|
|
|
29
29
|
var _chunk7Q7UB4TLcjs = require('./chunk-7Q7UB4TL.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkLMXGCFAMcjs = require('./chunk-LMXGCFAM.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkD22BUQKWcjs = require('./chunk-D22BUQKW.cjs');
|
|
@@ -288,7 +288,7 @@ function createFarmAppManifest(input, registered = []) {
|
|
|
288
288
|
return {
|
|
289
289
|
schemaVersion: 1,
|
|
290
290
|
app: app ? {
|
|
291
|
-
...app.version ? { farm:
|
|
291
|
+
...app.version ? { farm: _chunkLMXGCFAMcjs.FARM_VERSION } : {},
|
|
292
292
|
...app.renderer ? { renderer: input.renderer } : {},
|
|
293
293
|
basePath: input.basePath,
|
|
294
294
|
...app.build ? { build: input.build } : {}
|
|
@@ -319,7 +319,7 @@ function resolveFarmSiteUrl() {
|
|
|
319
319
|
asUrl(read("RAILWAY_PUBLIC_DOMAIN"))
|
|
320
320
|
];
|
|
321
321
|
for (const candidate of candidates) {
|
|
322
|
-
const origin = candidate ?
|
|
322
|
+
const origin = candidate ? _chunkFOULIN4Scjs.normalizeFarmProductionSiteOrigin.call(void 0, candidate) : void 0;
|
|
323
323
|
if (origin) return origin;
|
|
324
324
|
}
|
|
325
325
|
return null;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NRWEY2CM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
findProgrammaticRouteFilesInDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q3DO7MVK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isFarmAPIRouteFileName
|
|
9
9
|
} from "./chunk-YX6AFPXC.mjs";
|
|
@@ -32,12 +32,12 @@ import {
|
|
|
32
32
|
getFarmRouteRuntimeConfig,
|
|
33
33
|
normalizeFarmRouteRuntimeConfig
|
|
34
34
|
} from "./chunk-PKMUQ7LM.mjs";
|
|
35
|
-
import {
|
|
36
|
-
toFileModuleUrl
|
|
37
|
-
} from "./chunk-VHIXGZYH.mjs";
|
|
38
35
|
import {
|
|
39
36
|
loadFarmDevModule
|
|
40
37
|
} from "./chunk-7H2TXT2K.mjs";
|
|
38
|
+
import {
|
|
39
|
+
toFileModuleUrl
|
|
40
|
+
} from "./chunk-VHIXGZYH.mjs";
|
|
41
41
|
import {
|
|
42
42
|
logger
|
|
43
43
|
} from "./chunk-Z3QXQN4U.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YT3SLLZK.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TIZJYHB7.mjs";
|
|
22
22
|
|
|
23
23
|
// src/openapi/generator.ts
|
|
24
24
|
var allowedType = /* @__PURE__ */ new Set(["string", "number", "boolean", "array", "object"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4SLHSODZcjs = require('./chunk-4SLHSODZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk5DX3O6TTcjs = require('./chunk-5DX3O6TT.cjs');
|
|
@@ -142,7 +142,7 @@ function getCountedRateLimitKeys(ctx) {
|
|
|
142
142
|
return counted;
|
|
143
143
|
}
|
|
144
144
|
function requireRateLimitClientAddress(ctx) {
|
|
145
|
-
const address =
|
|
145
|
+
const address = _chunk4SLHSODZcjs.getFarmMiddlewareClientAddress.call(void 0, ctx.request);
|
|
146
146
|
if (address) return address;
|
|
147
147
|
throw new Error(
|
|
148
148
|
"Rate limiting could not identify the caller: this runtime reports no client address. Set `server.trustProxy` so a proxy's x-forwarded-for is trusted, or pass a `keyGenerator` that derives the bucket from something you do have, such as a session or an API key."
|
|
@@ -413,7 +413,7 @@ function farmMiddlewarePlugin(options = {}) {
|
|
|
413
413
|
mode: server.config.mode === "production" ? "production" : "development",
|
|
414
414
|
basePath: _nullishCoalesce(options.basePath, () => ( "/"))
|
|
415
415
|
});
|
|
416
|
-
manager = new (0,
|
|
416
|
+
manager = new (0, _chunk4SLHSODZcjs.MiddlewareManager)(
|
|
417
417
|
getMiddlewareAppDirectory(server.config.root, srcDir),
|
|
418
418
|
server,
|
|
419
419
|
options.middleware,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-4QENVMG7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getFarmSourceRoots
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4STJ6LGR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
isReactRenderer
|
|
13
13
|
} from "./chunk-GCRT6GJG.mjs";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-Z3QXQN4U.mjs";
|
|
22
22
|
import {
|
|
23
23
|
FARM_VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VRJAMU34.mjs";
|
|
25
25
|
|
|
26
26
|
// src/environment-vite.ts
|
|
27
27
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -12,7 +12,7 @@ function farmDesktopDevGuardPlugin(basePath) {
|
|
|
12
12
|
order: "pre",
|
|
13
13
|
async handler(server) {
|
|
14
14
|
if (resolveFarmPlatform() !== "desktop") return;
|
|
15
|
-
const { createFarmDesktopDevGuard } = await import("./dev-guard-
|
|
15
|
+
const { createFarmDesktopDevGuard } = await import("./dev-guard-K3GJDPEQ.mjs");
|
|
16
16
|
server.middlewares.use(createFarmDesktopDevGuard(server, { basePath: basePath || "" }));
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -9,7 +9,7 @@ var _chunkSBDWCDS6cjs = require('./chunk-SBDWCDS6.cjs');
|
|
|
9
9
|
var _chunkGCJ4GNMCcjs = require('./chunk-GCJ4GNMC.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkUZM3PDKKcjs = require('./chunk-UZM3PDKK.cjs');
|
|
13
13
|
|
|
14
14
|
// src/type-generator.ts
|
|
15
15
|
var _fs = require('fs');
|
|
@@ -20,7 +20,7 @@ var moduleLexerInitialized = false;
|
|
|
20
20
|
var JSX_ROUTE_LANGS = { ".jsx": "jsx", ".tsx": "tsx" };
|
|
21
21
|
var oxcTransformSync;
|
|
22
22
|
function transformJSXRoute(content, lang, filePath) {
|
|
23
|
-
_nullishCoalesce(oxcTransformSync, () => ( (oxcTransformSync = _module.createRequire.call(void 0, typeof __filename === "string" ? __filename :
|
|
23
|
+
_nullishCoalesce(oxcTransformSync, () => ( (oxcTransformSync = _module.createRequire.call(void 0, typeof __filename === "string" ? __filename : _chunkUZM3PDKKcjs.define_import_meta_default.url)(
|
|
24
24
|
"rolldown/utils"
|
|
25
25
|
).transformSync)));
|
|
26
26
|
const result = oxcTransformSync(filePath, content, { lang, sourceType: "module" });
|