@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,6 +1,6 @@
|
|
|
1
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5KISFWD2cjs = require('./chunk-5KISFWD2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -329,7 +329,7 @@ function requestEvent(metadata, method, status, durationMs) {
|
|
|
329
329
|
id: uuid(),
|
|
330
330
|
requestId: metadata.id,
|
|
331
331
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
332
|
-
route: routeTemplate(
|
|
332
|
+
route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
|
|
333
333
|
...metadata.path ? { path: metadata.path } : {},
|
|
334
334
|
agent: metadata.agent,
|
|
335
335
|
kind: "request",
|
|
@@ -343,7 +343,7 @@ function toolEvent(metadata, event) {
|
|
|
343
343
|
id: uuid(),
|
|
344
344
|
requestId: metadata.id,
|
|
345
345
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
346
|
-
route: routeTemplate(
|
|
346
|
+
route: routeTemplate(_chunk5KISFWD2cjs.getFarmRouteLabel.call(void 0, metadata.route)),
|
|
347
347
|
...metadata.path ? { path: metadata.path } : {},
|
|
348
348
|
agent: metadata.agent,
|
|
349
349
|
kind: "mcp.tool",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA4WWKG2Bcjs = require('./chunk-A4WWKG2B.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkVWIW47FWcjs = require('./chunk-VWIW47FW.cjs');
|
|
@@ -18,7 +18,7 @@ var _chunkSNP33A33cjs = require('./chunk-SNP33A33.cjs');
|
|
|
18
18
|
var _chunkHLYRXN2Icjs = require('./chunk-HLYRXN2I.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkUZM3PDKKcjs = require('./chunk-UZM3PDKK.cjs');
|
|
22
22
|
|
|
23
23
|
// src/openapi/generator.ts
|
|
24
24
|
var allowedType = /* @__PURE__ */ new Set(["string", "number", "boolean", "array", "object"]);
|
|
@@ -620,8 +620,8 @@ var OpenAPIGenerator = class {
|
|
|
620
620
|
*/
|
|
621
621
|
async generateSpecFile(routes, outputPath) {
|
|
622
622
|
const spec = await this.generateSpec(routes);
|
|
623
|
-
const fs =
|
|
624
|
-
const path =
|
|
623
|
+
const fs = _chunkUZM3PDKKcjs.__require.call(void 0, "fs");
|
|
624
|
+
const path = _chunkUZM3PDKKcjs.__require.call(void 0, "path");
|
|
625
625
|
const dir = path.dirname(outputPath);
|
|
626
626
|
if (!fs.existsSync(dir)) {
|
|
627
627
|
fs.mkdirSync(dir, { recursive: true });
|
|
@@ -678,7 +678,7 @@ var OpenAPIManager = class {
|
|
|
678
678
|
this.config = config;
|
|
679
679
|
this.mountedRoutes = context.routes;
|
|
680
680
|
this.generator = new OpenAPIGenerator(this.appDir, config, context);
|
|
681
|
-
this.apiTypeGenerator = new (0,
|
|
681
|
+
this.apiTypeGenerator = new (0, _chunkA4WWKG2Bcjs.APITypeGenerator)(appDirs);
|
|
682
682
|
}
|
|
683
683
|
getRoutes() {
|
|
684
684
|
if (!this.mountedRoutes) return this.apiTypeGenerator.scanAPIRoutes();
|
|
@@ -7,7 +7,7 @@ var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
|
|
|
7
7
|
var _chunkRE5E2G5Scjs = require('./chunk-RE5E2G5S.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkQMR2TUVZcjs = require('./chunk-QMR2TUVZ.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk67MZTLTFcjs = require('./chunk-67MZTLTF.cjs');
|
|
@@ -21,7 +21,7 @@ var _chunkYUCU6XB4cjs = require('./chunk-YUCU6XB4.cjs');
|
|
|
21
21
|
var _chunkGC5ROI3Acjs = require('./chunk-GC5ROI3A.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkLMXGCFAMcjs = require('./chunk-LMXGCFAM.cjs');
|
|
25
25
|
|
|
26
26
|
// src/environment-vite.ts
|
|
27
27
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
@@ -878,7 +878,7 @@ function usePackageScanCacheFile(file) {
|
|
|
878
878
|
const stored = /* @__PURE__ */ new Map();
|
|
879
879
|
try {
|
|
880
880
|
const value = JSON.parse(_fs2.default.readFileSync(file, "utf8"));
|
|
881
|
-
if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm ===
|
|
881
|
+
if (_optionalChain([value, 'optionalAccess', _68 => _68.schema]) === PACKAGE_SCAN_CACHE_SCHEMA && value.farm === _chunkLMXGCFAMcjs.FARM_VERSION && value.scans && typeof value.scans === "object") {
|
|
882
882
|
for (const [directory, scan] of Object.entries(value.scans)) {
|
|
883
883
|
if (isStoredPackageScan(scan)) stored.set(directory, scan);
|
|
884
884
|
}
|
|
@@ -907,7 +907,7 @@ function persistPackageScanCache() {
|
|
|
907
907
|
_fs2.default.mkdirSync(_path2.default.dirname(cache2.file), { recursive: true });
|
|
908
908
|
_fs2.default.writeFileSync(
|
|
909
909
|
temporary,
|
|
910
|
-
JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm:
|
|
910
|
+
JSON.stringify({ schema: PACKAGE_SCAN_CACHE_SCHEMA, farm: _chunkLMXGCFAMcjs.FARM_VERSION, scans })
|
|
911
911
|
);
|
|
912
912
|
_fs2.default.renameSync(temporary, cache2.file);
|
|
913
913
|
cache2.dirty = false;
|
|
@@ -2207,7 +2207,7 @@ var PackageClientBoundaryCache = class {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
const contents = JSON.stringify({
|
|
2209
2209
|
schema: SCHEMA_VERSION,
|
|
2210
|
-
farm:
|
|
2210
|
+
farm: _chunkLMXGCFAMcjs.FARM_VERSION,
|
|
2211
2211
|
paths,
|
|
2212
2212
|
entries
|
|
2213
2213
|
});
|
|
@@ -2247,7 +2247,7 @@ function readStoredCache(file) {
|
|
|
2247
2247
|
} catch (e37) {
|
|
2248
2248
|
return null;
|
|
2249
2249
|
}
|
|
2250
|
-
if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !==
|
|
2250
|
+
if (!isRecord(value) || value.schema !== SCHEMA_VERSION || value.farm !== _chunkLMXGCFAMcjs.FARM_VERSION) {
|
|
2251
2251
|
return null;
|
|
2252
2252
|
}
|
|
2253
2253
|
const { paths, entries } = value;
|
|
@@ -2258,7 +2258,7 @@ function readStoredCache(file) {
|
|
|
2258
2258
|
const usable = variants.filter((entry) => isStoredEntry(entry, paths.length));
|
|
2259
2259
|
if (usable.length > 0) valid[key] = usable;
|
|
2260
2260
|
}
|
|
2261
|
-
return { schema: SCHEMA_VERSION, farm:
|
|
2261
|
+
return { schema: SCHEMA_VERSION, farm: _chunkLMXGCFAMcjs.FARM_VERSION, paths, entries: valid };
|
|
2262
2262
|
}
|
|
2263
2263
|
function isRecord(value) {
|
|
2264
2264
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -4290,7 +4290,7 @@ function farmEnvironmentFunctionsPlugin(options = {}) {
|
|
|
4290
4290
|
farmApi = _optionalChain([config, 'access', _244 => _244.plugins, 'access', _245 => _245.find, 'call', _246 => _246((plugin) => plugin.name === "farm"), 'optionalAccess', _247 => _247.api]);
|
|
4291
4291
|
sources = void 0;
|
|
4292
4292
|
routesFiles = new Set(
|
|
4293
|
-
|
|
4293
|
+
_chunkQMR2TUVZcjs.getFarmSourceRoots.call(void 0, { ...options, root: _nullishCoalesce(options.root, () => ( config.root)) }).flatMap(
|
|
4294
4294
|
(source) => _chunkYUCU6XB4cjs.PROGRAMMATIC_ROUTE_FILE_NAMES.map(
|
|
4295
4295
|
(name) => resolvedFile(_path2.default.resolve(source.root, source.srcDir, name))
|
|
4296
4296
|
)
|
|
@@ -345,7 +345,7 @@ async function loadWorkflowModule(filePath, root) {
|
|
|
345
345
|
outDir,
|
|
346
346
|
`workflow-${Date.now()}-${Math.random().toString(36).slice(2)}.mjs`
|
|
347
347
|
);
|
|
348
|
-
const { bundleNodeModule } = await import("./node-module-bundle-
|
|
348
|
+
const { bundleNodeModule } = await import("./node-module-bundle-XPLBMXRD.mjs");
|
|
349
349
|
await bundleNodeModule({
|
|
350
350
|
root,
|
|
351
351
|
entry: filePath,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-JA6RML7C.mjs";
|
|
5
5
|
import {
|
|
6
6
|
normalizeFarmProductionSiteOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A37D6LOS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveFarmAppManifestConfig
|
|
10
10
|
} from "./chunk-SQ5O7I3L.mjs";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-YT2ZMLXK.mjs";
|
|
30
30
|
import {
|
|
31
31
|
FARM_VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VRJAMU34.mjs";
|
|
33
33
|
import {
|
|
34
34
|
applyFarmBasePath
|
|
35
35
|
} from "./chunk-SF3JB56B.mjs";
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
var _chunkASYOWPSRcjs = require('./chunk-ASYOWPSR.cjs');
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
var _chunkXRRHPBG2cjs = require('./chunk-XRRHPBG2.cjs');
|
|
9
|
+
|
|
7
10
|
// src/layers.ts
|
|
8
11
|
var _fs = require('fs');
|
|
9
12
|
var _promises = require('fs/promises');
|
|
@@ -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 && (_chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, previous) || _chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, mount))) {
|
|
384
|
+
merged.mounts[name] = mount;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
output[key] = merged;
|
|
377
389
|
continue;
|
|
378
390
|
}
|
|
379
391
|
output[key] = value;
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
formatFarmRscBlockingMessage,
|
|
5
5
|
inspectFarmServerComponents,
|
|
6
6
|
resolveFarmRscCheckConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZEWIWAS2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
createFarmDevLoopbackPlugin
|
|
10
10
|
} from "./chunk-IG2JE6WJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
resolveDeployOutputPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LIC6CMLB.mjs";
|
|
14
14
|
import {
|
|
15
15
|
farmDesktopDevGuardPlugin,
|
|
16
16
|
loadFarmReactPlugin
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7V5M43ND.mjs";
|
|
18
18
|
import {
|
|
19
19
|
generateFarmClientPluginEntryCode,
|
|
20
20
|
hasFarmServerRuntimePlugins,
|
|
21
21
|
loadTailwindVitePlugin
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VO5XDZHK.mjs";
|
|
23
23
|
import {
|
|
24
24
|
resolveFarmPlatform
|
|
25
25
|
} from "./chunk-SMUW7UST.mjs";
|
|
@@ -183,7 +183,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
|
183
183
|
const candidate = plugin;
|
|
184
184
|
return !!candidate && names.has(candidate.name) && hasFarmServerRuntimePlugins([candidate]);
|
|
185
185
|
};
|
|
186
|
-
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-
|
|
186
|
+
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-5ZD4764G.mjs");
|
|
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-TV6W7YNK.mjs");
|
|
214
214
|
const manager = new PluginManager({
|
|
215
215
|
config,
|
|
216
216
|
isDev: command === "serve",
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createFarmReactRefreshPlugins,
|
|
3
3
|
farmDesktopDevGuardPlugin,
|
|
4
4
|
isFarmReactRefreshActive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7V5M43ND.mjs";
|
|
6
6
|
import {
|
|
7
7
|
_listFarmRegisteredMCPServerTools,
|
|
8
8
|
_observeFarmRegisteredMCPResponse,
|
|
@@ -40,22 +40,22 @@ import {
|
|
|
40
40
|
resolveFarmImageProviderForRuntime,
|
|
41
41
|
resolveFarmRouteRootStrategy,
|
|
42
42
|
toBakedMarkdownSourcePath
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AHGOHPRN.mjs";
|
|
44
44
|
import {
|
|
45
45
|
generateFarmClientPluginEntryCode,
|
|
46
46
|
hasFarmServerRuntimePlugins,
|
|
47
47
|
loadTailwindVitePlugin
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VO5XDZHK.mjs";
|
|
49
49
|
import {
|
|
50
50
|
FARM_NODE_RESPONSE_END_PENDING
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-522K362I.mjs";
|
|
52
52
|
import {
|
|
53
53
|
resolveFarmPlatform
|
|
54
54
|
} from "./chunk-SMUW7UST.mjs";
|
|
55
55
|
import {
|
|
56
56
|
generateFarmTypeArtifacts,
|
|
57
57
|
resolveRouteRenderingConfig
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-A7EJATEW.mjs";
|
|
59
59
|
import {
|
|
60
60
|
createFarmRouteRenderPlan,
|
|
61
61
|
farmPathGuardCoversEndpoint,
|
|
@@ -82,13 +82,13 @@ import {
|
|
|
82
82
|
resolveFarmMCPRouteLabel,
|
|
83
83
|
resolveFarmMarkdownRouteLabel,
|
|
84
84
|
setFarmRouteLabel
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-PNWRH6TR.mjs";
|
|
86
86
|
import {
|
|
87
87
|
FARM_DEFAULT_MCP_PATH
|
|
88
88
|
} from "./chunk-JA6RML7C.mjs";
|
|
89
89
|
import {
|
|
90
90
|
isFarmPreviewDeploymentEnvironment
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-A37D6LOS.mjs";
|
|
92
92
|
import {
|
|
93
93
|
createFarmServerFnBoundaryModule,
|
|
94
94
|
isFarmServerFnBoundaryId,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
usePackageScanCacheFile,
|
|
140
140
|
withFarmSourceSnapshotOf,
|
|
141
141
|
wrapFarmIslandContainers
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-7RQ5KAK6.mjs";
|
|
143
143
|
import {
|
|
144
144
|
generateFarmDocsAdapterClientRuntime,
|
|
145
145
|
getFarmDocsAdapterConfigModule
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
getFarmAppDirectories,
|
|
175
175
|
getFarmLayerAliases,
|
|
176
176
|
getFarmSourceRoots
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-4STJ6LGR.mjs";
|
|
178
178
|
import {
|
|
179
179
|
REACT_RENDERER,
|
|
180
180
|
getFarmRendererCapabilities,
|
|
@@ -215,14 +215,14 @@ import {
|
|
|
215
215
|
getIntegrationDocumentNavigationMatchers,
|
|
216
216
|
getIntegrationProviders,
|
|
217
217
|
matchIntegrationRoute
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-JKFN3YVG.mjs";
|
|
219
219
|
import {
|
|
220
220
|
resolveFarmRouteContext,
|
|
221
221
|
withFarmRouteContext
|
|
222
222
|
} from "./chunk-BMQAPZXD.mjs";
|
|
223
223
|
import {
|
|
224
224
|
MiddlewareManager
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-XT2CHTDN.mjs";
|
|
226
226
|
import {
|
|
227
227
|
_runWithMiddlewareContext,
|
|
228
228
|
_runWithMiddlewareData
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
239
239
|
import {
|
|
240
240
|
APIRouteManager
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-5REIO5DT.mjs";
|
|
242
242
|
import {
|
|
243
243
|
getFarmI18nClientSnapshot
|
|
244
244
|
} from "./chunk-O7JEFGUV.mjs";
|
|
@@ -301,7 +301,7 @@ import {
|
|
|
301
301
|
} from "./chunk-2DA7CLY7.mjs";
|
|
302
302
|
import {
|
|
303
303
|
FARM_VERSION
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-VRJAMU34.mjs";
|
|
305
305
|
import {
|
|
306
306
|
DEFAULT_FARM_API_BASE_PATH
|
|
307
307
|
} from "./chunk-W6QLRQ3V.mjs";
|
|
@@ -348,7 +348,7 @@ import {
|
|
|
348
348
|
} from "./chunk-SF3JB56B.mjs";
|
|
349
349
|
import {
|
|
350
350
|
__require
|
|
351
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-TIZJYHB7.mjs";
|
|
352
352
|
|
|
353
353
|
// src/form-actions-transform.ts
|
|
354
354
|
import { createHash } from "crypto";
|
|
@@ -1264,22 +1264,22 @@ function loadFarmDocsDevRuntime() {
|
|
|
1264
1264
|
return import("./docs.mjs");
|
|
1265
1265
|
}
|
|
1266
1266
|
function loadFarmDocsSearchDevRuntime() {
|
|
1267
|
-
return import("./search-client-
|
|
1267
|
+
return import("./search-client-W4PEFAQB.mjs");
|
|
1268
1268
|
}
|
|
1269
1269
|
function loadFarmOpenAPIDevRuntime() {
|
|
1270
|
-
return import("./manager-
|
|
1270
|
+
return import("./manager-OMTC5FOJ.mjs");
|
|
1271
1271
|
}
|
|
1272
1272
|
function loadFarmWorkflowsDevRuntime() {
|
|
1273
1273
|
return import("./workflows.mjs");
|
|
1274
1274
|
}
|
|
1275
1275
|
function loadFarmDevtoolsSnapshotRuntime() {
|
|
1276
|
-
return import("./devtools-
|
|
1276
|
+
return import("./devtools-7P3OUNLV.mjs");
|
|
1277
1277
|
}
|
|
1278
1278
|
function loadFarmDevtoolsUIRuntime() {
|
|
1279
|
-
return import("./devtools-ui-
|
|
1279
|
+
return import("./devtools-ui-BOG33MT5.mjs");
|
|
1280
1280
|
}
|
|
1281
1281
|
function loadFarmDevtoolsClientRuntime() {
|
|
1282
|
-
return import("./devtools-client-
|
|
1282
|
+
return import("./devtools-client-L4MUWD6K.mjs");
|
|
1283
1283
|
}
|
|
1284
1284
|
function farmI18nClientBridgePlugin() {
|
|
1285
1285
|
return {
|
|
@@ -2516,6 +2516,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
|
|
|
2516
2516
|
root: farmConfig.root,
|
|
2517
2517
|
srcDir: farmConfig.srcDir,
|
|
2518
2518
|
layers: farmConfig.layers,
|
|
2519
|
+
storage: farmConfig.storage,
|
|
2519
2520
|
plugins: farmConfig.plugins,
|
|
2520
2521
|
extraRoutes: getExtraRouteTypes(),
|
|
2521
2522
|
suppressLintOnLink: farmConfig.suppressLintOnLink,
|
|
@@ -3532,7 +3533,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
|
|
|
3532
3533
|
}
|
|
3533
3534
|
}
|
|
3534
3535
|
if (options.mobileClient && !viteModuleRequest && (requestMethod === "GET" || requestMethod === "HEAD" || requestMethod === "POST") && req.headers.accept?.includes(FARM_NATIVE_TREE_CONTENT_TYPE)) {
|
|
3535
|
-
const { createFarmNativeTreeResponse } = await import("./native-tree-
|
|
3536
|
+
const { createFarmNativeTreeResponse } = await import("./native-tree-JDI3LJSH.mjs");
|
|
3536
3537
|
const treeBodyInit = requestMethod === "POST" ? { body: createFarmNodeRequestBodyStream(req), duplex: "half" } : {};
|
|
3537
3538
|
const treeResponse = await createFarmNativeTreeResponse({
|
|
3538
3539
|
request: new Request(fullUrl, {
|
|
@@ -5328,6 +5329,7 @@ if (import.meta.hot) {
|
|
|
5328
5329
|
let clientPlanCurrent = false;
|
|
5329
5330
|
if (isHydrationPlanSource && (isolatedHydrationMode === "enabled" || isolatedHydrationMode === "analyze" || tracksAsyncOwnerIslands)) {
|
|
5330
5331
|
const routeManager = planRouteManager;
|
|
5332
|
+
await ctx.read?.();
|
|
5331
5333
|
if (routeManager?.isEditPlanNeutral(file)) {
|
|
5332
5334
|
clientPlanCurrent = true;
|
|
5333
5335
|
} else if (routeManager) {
|
|
@@ -7846,6 +7848,27 @@ function farmIslandsOnlyDocument() {
|
|
|
7846
7848
|
}
|
|
7847
7849
|
},
|
|
7848
7850
|
});
|
|
7851
|
+
${islandValues ? `// A layout root that waits for a click renders again on a navigation, and a link under the
|
|
7852
|
+
// pointer is a navigation on its way: hydrate the root now, as the production entry does.
|
|
7853
|
+
if (layoutShouldHydrate && islandStrategy !== 'load') {
|
|
7854
|
+
const hydrateForLink = (target) => {
|
|
7855
|
+
const anchor = target instanceof Element ? target.closest('a[href]') : null;
|
|
7856
|
+
const href = anchor && anchor.getAttribute('href');
|
|
7857
|
+
if (!href || href.startsWith('#') || hasAbsoluteNavigationHref(href)) return false;
|
|
7858
|
+
if (!pageContainer.contains(anchor)) return false;
|
|
7859
|
+
document.dispatchEvent(
|
|
7860
|
+
new CustomEvent('farm:island-interaction', { detail: { target: anchor, kind: null } }),
|
|
7861
|
+
);
|
|
7862
|
+
return true;
|
|
7863
|
+
};
|
|
7864
|
+
const onLinkIntent = (event) => {
|
|
7865
|
+
if (hydrateForLink(event.target)) document.removeEventListener('mouseover', onLinkIntent, true);
|
|
7866
|
+
};
|
|
7867
|
+
if (!hydrateForLink(pageContainer.querySelector('a[href]:hover'))) {
|
|
7868
|
+
document.addEventListener('mouseover', onLinkIntent, true);
|
|
7869
|
+
void pageHydration.finally(() => document.removeEventListener('mouseover', onLinkIntent, true));
|
|
7870
|
+
}
|
|
7871
|
+
}` : ""}
|
|
7849
7872
|
${isolatedHydrationEnabled ? `const isolatedHydration =
|
|
7850
7873
|
hasIsolatedClientBoundaries &&
|
|
7851
7874
|
!layoutShouldHydrate
|
|
@@ -7957,7 +7980,7 @@ async function defineConfig(config = {}) {
|
|
|
7957
7980
|
const tailwindVitePlugin = await loadTailwindVitePlugin();
|
|
7958
7981
|
const appRoot = path6.resolve(config.root || process.cwd());
|
|
7959
7982
|
if (config.extends?.length) {
|
|
7960
|
-
const { config: layeredConfig } = await import("./layers-
|
|
7983
|
+
const { config: layeredConfig } = await import("./layers-5ZD4764G.mjs").then(
|
|
7961
7984
|
({ resolveFarmLayers }) => resolveFarmLayers(config, {
|
|
7962
7985
|
root: appRoot,
|
|
7963
7986
|
mode: process.env.NODE_ENV === "production" ? "production" : "development"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __typeError = (msg) => {
|
|
6
|
+
throw TypeError(msg);
|
|
7
|
+
};
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
10
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
11
|
+
}) : x)(function(x) {
|
|
12
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
|
+
});
|
|
15
|
+
var __export = (target, all) => {
|
|
16
|
+
for (var name in all)
|
|
17
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (let key of __getOwnPropNames(from))
|
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
29
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
30
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
31
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
32
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
__require,
|
|
36
|
+
__export,
|
|
37
|
+
__reExport,
|
|
38
|
+
__publicField,
|
|
39
|
+
__privateGet,
|
|
40
|
+
__privateAdd,
|
|
41
|
+
__privateSet
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __typeError = (msg) => {
|
|
6
|
+
throw TypeError(msg);
|
|
7
|
+
};
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
10
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
11
|
+
}) : x)(function(x) {
|
|
12
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
|
+
});
|
|
15
|
+
var __export = (target, all) => {
|
|
16
|
+
for (var name in all)
|
|
17
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (let key of __getOwnPropNames(from))
|
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
29
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
30
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
31
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
32
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
33
|
+
|
|
34
|
+
// <define:import.meta>
|
|
35
|
+
var define_import_meta_default = {};
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
exports.__require = __require; exports.__export = __export; exports.__reExport = __reExport; exports.__publicField = __publicField; exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.define_import_meta_default = define_import_meta_default;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
APIRouteConflictError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5REIO5DT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findProgrammaticRouteFilesInDir
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q3DO7MVK.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isFarmAPIRouteFileName
|
|
18
18
|
} from "./chunk-YX6AFPXC.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIntegrationOrmRuntimeClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VRI43FDN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
collectSchemaModels,
|
|
6
6
|
columnTypeFamily,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-UTUS6JUH.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getIntegrationSchemas
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JKFN3YVG.mjs";
|
|
29
29
|
import {
|
|
30
30
|
resolveSchemaModels
|
|
31
31
|
} from "./chunk-F3N52U7S.mjs";
|
|
@@ -18,7 +18,7 @@ var _chunk6D3CJFNUcjs = require('./chunk-6D3CJFNU.cjs');
|
|
|
18
18
|
var _chunkNDOE76QCcjs = require('./chunk-NDOE76QC.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkF7PKUP6Pcjs = require('./chunk-F7PKUP6P.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -593,7 +593,7 @@ async function resolveAPIContext(options) {
|
|
|
593
593
|
config: options.config,
|
|
594
594
|
configPath: options.configPath
|
|
595
595
|
}));
|
|
596
|
-
const docs = isResolvedDocsConfig(docsInput) ? docsInput : await
|
|
596
|
+
const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkF7PKUP6Pcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
|
|
597
597
|
const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _28 => _28.guardedPaths]), () => ( [])));
|
|
598
598
|
return {
|
|
599
599
|
root,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/storage/mount-schema.ts
|
|
2
|
+
function isMountSchema(value) {
|
|
3
|
+
return !!value && typeof value === "object" && "_tag" in value && value._tag === "schema" && "models" in value && !!value.models && typeof value.models === "object" && !Array.isArray(value.models);
|
|
4
|
+
}
|
|
5
|
+
function isManagedMount(value) {
|
|
6
|
+
return !!value && typeof value === "object" && "managed" in value && !!value.managed;
|
|
7
|
+
}
|
|
8
|
+
function hasManagedMountSchema(value) {
|
|
9
|
+
return isManagedMount(value) && "schema" in value && isMountSchema(value.schema);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.isMountSchema = isMountSchema; exports.isManagedMount = isManagedMount; exports.hasManagedMountSchema = hasManagedMountSchema;
|