@farm.js/core 0.1.86 → 0.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp.d-7uKdOttc.d.ts → agent-mcp.d-BdM0pIrD.d.ts} +1 -1
- package/dist/{agent-mcp.d-LChlR2au.d.mts → agent-mcp.d-CMGqpUbk.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-B2TRJT3B.cjs +17 -0
- package/dist/{analyzer-I5S5YKHM.mjs → analyzer-PWHYGER6.mjs} +2 -2
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/route-manager.cjs +4 -4
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +5 -5
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +4 -4
- package/dist/{app-manifest.d-QMdmqqCr.d.mts → app-manifest.d-BeDB2OVm.d.mts} +1 -1
- package/dist/{app-manifest.d-CRp21oAz.d.ts → app-manifest.d-COhjPgHn.d.ts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-Bvpc2eJq.d.mts → app.d-AVZXCfcO.d.mts} +5 -4
- package/dist/{app.d-DEKpJEp4.d.ts → app.d-b3A4cca5.d.ts} +5 -4
- package/dist/{chunk-B7L24VPX.cjs → chunk-22KXTL3I.cjs} +6 -4
- package/dist/chunk-2HTNASSB.cjs +134 -0
- package/dist/{chunk-FULX5RYX.cjs → chunk-2OR5WAD5.cjs} +19 -13
- package/dist/{chunk-5P65LXGU.cjs → chunk-3MY6TNNE.cjs} +15 -14
- package/dist/{chunk-A4WWKG2B.cjs → chunk-5ZWXTIGE.cjs} +2 -2
- package/dist/{chunk-2NKNP4AH.cjs → chunk-6266WH6X.cjs} +1 -1
- package/dist/chunk-65LZRVCZ.mjs +18 -0
- package/dist/{chunk-L2IULWKV.cjs → chunk-7LBNWL3L.cjs} +3 -3
- package/dist/{chunk-KHIEGVG7.mjs → chunk-BGEA4K7C.mjs} +10 -4
- package/dist/{chunk-CVKTYG4L.mjs → chunk-BJHXFEAF.mjs} +2 -2
- package/dist/chunk-BQHIJOZM.cjs +13 -0
- package/dist/{chunk-IAERD73G.cjs → chunk-CFLRUCN7.cjs} +384 -339
- package/dist/{chunk-NXOZRI3B.cjs → chunk-CNGGEHXY.cjs} +2 -2
- package/dist/{chunk-3RVLJTFZ.mjs → chunk-D7LXBLUW.mjs} +1 -1
- package/dist/{chunk-B5QRNCIE.mjs → chunk-DATICPTO.mjs} +1 -1
- package/dist/{chunk-XMVZXZ32.cjs → chunk-ERV422FO.cjs} +2 -2
- package/dist/{chunk-BAD6T5NU.cjs → chunk-FEWCWBOF.cjs} +4 -4
- package/dist/{chunk-FLMALEY2.mjs → chunk-GGD57DJA.mjs} +3 -25
- package/dist/{chunk-HQ2VAJLW.mjs → chunk-GV5D5EM6.mjs} +1 -1
- package/dist/{chunk-6MZSTPD2.mjs → chunk-H47EH24T.mjs} +1 -1
- package/dist/{chunk-OBVBII5K.cjs → chunk-HU4R2PPW.cjs} +2 -2
- package/dist/{chunk-7H2TXT2K.mjs → chunk-HX5HLFBZ.mjs} +7 -0
- package/dist/{chunk-N3VMHPIY.mjs → chunk-HZY63K5C.mjs} +2 -2
- package/dist/{chunk-25JGHAGH.cjs → chunk-I2RBHZF7.cjs} +15 -8
- package/dist/{chunk-FDU4Q4QP.cjs → chunk-IRPXOTEN.cjs} +10 -4
- package/dist/{chunk-NAHDG6UX.mjs → chunk-JDO3X7RB.mjs} +6 -5
- package/dist/{chunk-TQJ35BBW.cjs → chunk-JGUMFTZT.cjs} +4 -4
- package/dist/chunk-JIGWHFA5.mjs +32 -0
- package/dist/{chunk-YBXIVQCE.cjs → chunk-JP5TWUK2.cjs} +4 -4
- package/dist/chunk-K6RMOB25.mjs +134 -0
- package/dist/{chunk-UGD53SNO.cjs → chunk-KQ6TYQU7.cjs} +16 -12
- package/dist/{chunk-6QYPP5KC.mjs → chunk-L6ZL35ZJ.mjs} +7 -5
- package/dist/{chunk-7UTRNV6R.mjs → chunk-LUGQUU4S.mjs} +1 -1
- package/dist/{chunk-QYWP5KDY.mjs → chunk-M4CNAZMS.mjs} +74 -29
- package/dist/{chunk-3TKGMIPX.mjs → chunk-MM4U2NNI.mjs} +91 -12
- package/dist/{chunk-CFKAYV7B.mjs → chunk-MRULVIH3.mjs} +1 -1
- package/dist/{chunk-UAQQUQWE.mjs → chunk-MZPPT5NA.mjs} +1 -1
- package/dist/{chunk-2UYYXSUS.mjs → chunk-N5NRXLCX.mjs} +4 -2
- package/dist/chunk-NDMPGFKL.cjs +47 -0
- package/dist/{chunk-YHM4PXJY.mjs → chunk-O5YM6GU3.mjs} +1 -1
- package/dist/{chunk-QYDGIXQ5.cjs → chunk-PA3VZNWU.cjs} +9 -9
- package/dist/{chunk-2PJVEL56.cjs → chunk-PCAEJNQF.cjs} +5 -27
- package/dist/{chunk-P253SZJF.cjs → chunk-PQ6DBVJ2.cjs} +360 -281
- package/dist/chunk-PTAGDZ7I.mjs +13 -0
- package/dist/{chunk-3AV4DCXY.mjs → chunk-PWTBXYJY.mjs} +12 -6
- package/dist/{chunk-PO5MZIWK.mjs → chunk-QBXS4TNG.mjs} +6 -2
- package/dist/chunk-QZUCVJZJ.cjs +18 -0
- package/dist/{chunk-45ANSCTO.mjs → chunk-SCOKBXHS.mjs} +98 -56
- package/dist/{chunk-BLZCAFGJ.cjs → chunk-SG5RFGV6.cjs} +2 -2
- package/dist/{chunk-U54REWMJ.cjs → chunk-SUACCCZG.cjs} +18 -16
- package/dist/chunk-TCGPBSVY.mjs +47 -0
- package/dist/{chunk-CN2JOTRO.cjs → chunk-THGSPDFD.cjs} +7 -7
- package/dist/{chunk-FWLXYNWA.cjs → chunk-TQFIZRON.cjs} +387 -345
- package/dist/{chunk-VGHDPEPQ.cjs → chunk-UA77C2ZA.cjs} +2 -2
- package/dist/{chunk-Q3YWQEUS.cjs → chunk-VMGQOP7X.cjs} +2 -2
- package/dist/{chunk-4SJ22WTT.mjs → chunk-W3ZBLFLU.mjs} +1 -1
- package/dist/{chunk-SB74WCKC.mjs → chunk-WOTAU3BN.mjs} +4 -4
- package/dist/{chunk-JB4BHRFK.cjs → chunk-WP77JDKI.cjs} +16 -16
- package/dist/{chunk-YMAE32O7.mjs → chunk-WPB6HJC7.mjs} +1 -1
- package/dist/{chunk-VPGEYX5Y.mjs → chunk-WX752VMN.mjs} +2 -2
- package/dist/{chunk-VTEAUQMT.mjs → chunk-X2SMVPLH.mjs} +19 -3
- package/dist/{chunk-DJ3PVHTW.cjs → chunk-XGPRM7OK.cjs} +3 -3
- package/dist/{chunk-GWPANDW3.mjs → chunk-XJJQAFZX.mjs} +1 -1
- package/dist/{chunk-UDWBTABT.cjs → chunk-XRYLMTYF.cjs} +3 -3
- package/dist/{chunk-PAENAKTC.mjs → chunk-YCHIR3X6.mjs} +1 -1
- package/dist/chunk-YIGUFJMR.cjs +32 -0
- package/dist/{chunk-CPSFDQKJ.cjs → chunk-Z43CIBUR.cjs} +20 -4
- package/dist/{chunk-RA5OUXOJ.mjs → chunk-ZOD6EYWE.mjs} +2 -2
- package/dist/{cli-runtime.d-DaElKjaL.d.ts → cli-runtime.d-jqZ7YCsm.d.ts} +5 -5
- package/dist/{cli-runtime.d-C7aMfoTq.d.mts → cli-runtime.d-qL44rqYO.d.mts} +5 -5
- package/dist/{client-component.d-miqIXyQv.d.mts → client-component.d-B2L2LyAr.d.mts} +1 -1
- package/dist/{client-component.d-CZG02pIh.d.ts → client-component.d-BDD5aiUb.d.ts} +1 -1
- package/dist/{client-plugins.d-BVXjyIkY.d.ts → client-plugins.d-Crct3m_r.d.ts} +14 -5
- package/dist/{client-plugins.d-BwKwuO_0.d.mts → client-plugins.d-Dzc3vOw_.d.mts} +14 -5
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +8 -6
- package/dist/client.d.mts +8 -7
- package/dist/client.d.ts +8 -7
- package/dist/client.mjs +7 -5
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/{devtools-DGC2247E.mjs → devtools-2CRVXV7E.mjs} +4 -2
- package/dist/{devtools-A3L7WNTB.cjs → devtools-RL4AU5KD.cjs} +5 -3
- package/dist/docs.cjs +6 -4
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +5 -3
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.mjs +3 -3
- package/dist/font.cjs +4 -2
- package/dist/font.d.mts +13 -1
- package/dist/font.d.ts +13 -1
- package/dist/font.mjs +3 -1
- package/dist/{handler.d-BKTWzzNA.d.mts → handler.d-B1S1ZBqS.d.mts} +1 -1
- package/dist/{handler.d-Dzpyg3-N.d.ts → handler.d-ZweCBJD4.d.ts} +1 -1
- package/dist/{headers.d-PZyXcDAH.d.ts → headers.d-BgBdQN8x.d.ts} +1 -1
- package/dist/{headers.d-5opjyhXw.d.mts → headers.d-C-yGl_f6.d.mts} +1 -1
- package/dist/i18n/client.cjs +11 -10
- package/dist/i18n/client.mjs +3 -2
- package/dist/image-attributes.d-BMPDQO1q.d.mts +55 -0
- package/dist/image-attributes.d-BMPDQO1q.d.ts +55 -0
- package/dist/image.cjs +5 -127
- package/dist/image.d.mts +3 -13
- package/dist/image.d.ts +3 -13
- package/dist/image.mjs +5 -127
- package/dist/index.cjs +40 -36
- package/dist/{index.d-C0Mie66f.d.mts → index.d-13h3oDu7.d.mts} +1 -1
- package/dist/{index.d-DV2q-0mE.d.ts → index.d-CtoniAXT.d.ts} +1 -1
- package/dist/index.d.mts +24 -23
- package/dist/index.d.ts +24 -23
- package/dist/index.mjs +35 -31
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +22 -22
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +21 -21
- package/dist/internal/cli-runtime.cjs +8 -6
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +7 -5
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +77 -52
- package/dist/internal/client-runtime.d.mts +9 -7
- package/dist/internal/client-runtime.d.ts +9 -7
- package/dist/internal/client-runtime.mjs +64 -39
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +6 -4
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +5 -3
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/islands-boot.cjs +51 -18
- package/dist/internal/islands-boot.d.mts +3 -1
- package/dist/internal/islands-boot.d.ts +3 -1
- package/dist/internal/islands-boot.mjs +34 -1
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +6 -6
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +5 -5
- package/dist/internal/renderer-islands.cjs +35 -8
- package/dist/internal/renderer-islands.d.mts +9 -1
- package/dist/internal/renderer-islands.d.ts +9 -1
- package/dist/internal/renderer-islands.mjs +35 -8
- package/dist/internal/spa-router.cjs +4 -3
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/spa-router.mjs +3 -2
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/{island-runtime.d-BA7EPo1v.d.ts → island-runtime.d-D2Mh5eTU.d.ts} +5 -1
- package/dist/{island-runtime.d-BBS_YUSX.d.mts → island-runtime.d-lrpEJlgg.d.mts} +5 -1
- package/dist/{manager-PX4QN4HK.cjs → manager-D4DZRBRS.cjs} +4 -4
- package/dist/{manager-OMTC5FOJ.mjs → manager-PKPQGBAE.mjs} +3 -3
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.cjs +4 -4
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.mjs +3 -3
- package/dist/{mount.d-gWul1GA1.d.ts → mount.d-DyKlRR6z.d.ts} +1 -1
- package/dist/{mount.d-CZ_qL1iS.d.mts → mount.d-_6Un9wdK.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BBTzhJLj.d.mts → navigation-delegate.d-B9GjWbov.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BZsYEAet.d.ts → navigation-delegate.d-BbW1_pf_.d.ts} +1 -1
- package/dist/navigation.cjs +6 -5
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +5 -4
- package/dist/{plugin-QOTAPTVV.mjs → plugin-EVKQZBNW.mjs} +1 -1
- package/dist/{plugin-3PT7I26P.cjs → plugin-MWO3G2XM.cjs} +2 -2
- package/dist/plugin.cjs +19 -19
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +18 -18
- package/dist/query/client.cjs +8 -7
- package/dist/query/client.mjs +3 -2
- package/dist/{render-plan.d-AaJsYPX-.d.ts → render-plan.d-D0FV9lDT.d.ts} +1 -1
- package/dist/{render-plan.d-bnWxS12w.d.mts → render-plan.d-DaM1NPnm.d.mts} +1 -1
- package/dist/renderer-client.cjs +19 -13
- package/dist/renderer-client.d.mts +6 -5
- package/dist/renderer-client.d.ts +6 -5
- package/dist/renderer-client.mjs +10 -4
- package/dist/renderer.cjs +3 -3
- package/dist/renderer.mjs +2 -2
- package/dist/{request.d-CAeitOG1.d.ts → request.d-CrXC7voZ.d.ts} +1 -1
- package/dist/{request.d-C2HOn3Hi.d.mts → request.d-DVSLilGx.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-CYA-ulnX.d.mts → route-rendering.d-CWi3UYtR.d.mts} +1 -1
- package/dist/{route-rendering.d-A1dIkUK5.d.ts → route-rendering.d-OfbM_rj8.d.ts} +1 -1
- package/dist/{router.d-A_Yt6jYz.d.ts → router.d-Bm9FNSu3.d.ts} +1 -1
- package/dist/{router.d-8lxnzlkr.d.mts → router.d-YKVirmj4.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{rsc-pipeline-SNGPAXGW.cjs → rsc-pipeline-3DYC5ZXW.cjs} +6 -4
- package/dist/{rsc-pipeline-BROS3NEB.mjs → rsc-pipeline-LRB4ZG6I.mjs} +5 -3
- package/dist/{runtime-SLJLW37A.mjs → runtime-3WJNNAAR.mjs} +5 -3
- package/dist/{runtime-7T5TRAWL.cjs → runtime-CRFF32H6.cjs} +7 -5
- package/dist/{runtime.d-C_rZ9_DD.d.mts → runtime.d-BVj6apd0.d.mts} +1 -1
- package/dist/{runtime.d-BPyvWrgQ.d.ts → runtime.d-D7QYVJGO.d.ts} +1 -1
- package/dist/{server-components-status.d-BpxiEMQE.d.mts → server-components-status.d-BDVcxi0z.d.mts} +1 -1
- package/dist/{server-components-status.d-C2UEKJn7.d.ts → server-components-status.d-CfKDpmCH.d.ts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +54 -40
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +34 -20
- package/dist/{spa-router.d-BD-6WX1R.d.mts → spa-router.d-DGmropfK.d.mts} +5 -3
- package/dist/{spa-router.d-Cw5i_15e.d.ts → spa-router.d-nE1jHNGt.d.ts} +5 -3
- package/dist/{ssg.d-CCE9aob5.d.mts → ssg.d-DS-gXUbf.d.mts} +2 -2
- package/dist/{ssg.d-Bifiq0EL.d.ts → ssg.d-jXlUAKzg.d.ts} +2 -2
- package/dist/{store-core.d-5tVn5vi1.d.ts → store-core.d-B5cwOd8g.d.ts} +3 -2
- package/dist/{store-core.d-BN2MxSG9.d.mts → store-core.d-C-gATBwd.d.mts} +3 -2
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +3 -3
- package/dist/{utils.d-BUjpSNIO.d.ts → utils.d-BODwBtkz.d.ts} +1 -1
- package/dist/{utils.d-wGPLeVbq.d.mts → utils.d-Cmj-fzds.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +24 -22
- package/dist/vite.d.mts +21 -7
- package/dist/vite.d.ts +21 -7
- package/dist/vite.mjs +23 -21
- package/package.json +3 -3
- package/dist/analyzer-OEMQSLYT.cjs +0 -17
- package/dist/chunk-7EPYN7GW.cjs +0 -30
- package/dist/chunk-HZOMT5DY.mjs +0 -30
- package/dist/chunk-SBDWCDS6.cjs +0 -8
- package/dist/chunk-YX6AFPXC.mjs +0 -8
- package/dist/{chunk-4B6YJ5DS.cjs → chunk-4ZVKDHS6.cjs} +3 -3
- package/dist/{chunk-4EEAPBNV.mjs → chunk-PEQJ4UUT.mjs} +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata, bl as FarmAgentJsonLd, bh as FarmMCPServerRegistration, bm as FarmMarkdownResolvedConfig } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata, bl as FarmAgentJsonLd, bh as FarmMCPServerRegistration, bm as FarmMarkdownResolvedConfig } from './client-plugins.d-Crct3m_r.js';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-BhPgtN_S.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as Metadata, bl as FarmAgentJsonLd, bh as FarmMCPServerRegistration, bm as FarmMarkdownResolvedConfig } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata, bl as FarmAgentJsonLd, bh as FarmMCPServerRegistration, bm as FarmMarkdownResolvedConfig } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
2
2
|
import { F as FarmLocalePathConfig } from './routing.d-D67HQmnv.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/agent-runtime.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChildProcess } from 'node:child_process';
|
|
2
|
-
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-
|
|
2
|
+
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.mjs';
|
|
4
4
|
import './route.d-ShmtqqVQ.mjs';
|
|
5
5
|
import './endpoint.d-BXbBpKoh.mjs';
|
package/dist/agent-runtime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChildProcess } from 'node:child_process';
|
|
2
|
-
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-
|
|
2
|
+
import { B as BundleResultPayload, F as FarmPlugin, a as FarmIntegration } from './client-plugins.d-Crct3m_r.js';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.js';
|
|
4
4
|
import './route.d-Cd4Fi6BA.js';
|
|
5
5
|
import './endpoint.d-Dx_1k6Du.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkVMGQOP7Xcjs = require('./chunk-VMGQOP7X.cjs');
|
|
7
|
+
require('./chunk-WBTHHTBO.cjs');
|
|
8
|
+
require('./chunk-CCAUIBIS.cjs');
|
|
9
|
+
require('./chunk-WMRGIQTA.cjs');
|
|
10
|
+
require('./chunk-6266WH6X.cjs');
|
|
11
|
+
require('./chunk-UZM3PDKK.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.CORE_PORTABLE = _chunkVMGQOP7Xcjs.CORE_PORTABLE; exports.analyzeFarmMobileRoutes = _chunkVMGQOP7Xcjs.analyzeFarmMobileRoutes; exports.readAliases = _chunkVMGQOP7Xcjs.readAliases; exports.resolveFile = _chunkVMGQOP7Xcjs.resolveFile;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
analyzeFarmMobileRoutes,
|
|
4
4
|
readAliases,
|
|
5
5
|
resolveFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MZPPT5NA.mjs";
|
|
7
7
|
import "./chunk-IOEXXZK3.mjs";
|
|
8
8
|
import "./chunk-423SSBYQ.mjs";
|
|
9
9
|
import "./chunk-D2VAANBS.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XJJQAFZX.mjs";
|
|
11
11
|
import "./chunk-TIZJYHB7.mjs";
|
|
12
12
|
export {
|
|
13
13
|
CORE_PORTABLE,
|
package/dist/api/node.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
-
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-
|
|
2
|
+
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-_6Un9wdK.mjs';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-BVj6apd0.mjs';
|
|
5
5
|
import '../endpoint.d-BXbBpKoh.mjs';
|
|
6
6
|
import '../cache.mjs';
|
|
7
7
|
import '../route.d-ShmtqqVQ.mjs';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-Dzc3vOw_.mjs';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.mjs';
|
|
10
10
|
import '../renderer.mjs';
|
|
11
11
|
import '../deployment.mjs';
|
package/dist/api/node.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
-
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-
|
|
2
|
+
import { M as MountFetchHandlerOptions, a as MountedFetchRouteHandlers } from '../mount.d-DyKlRR6z.js';
|
|
3
3
|
import '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
import '../runtime.d-
|
|
4
|
+
import '../runtime.d-D7QYVJGO.js';
|
|
5
5
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
6
6
|
import '../cache.js';
|
|
7
7
|
import '../route.d-Cd4Fi6BA.js';
|
|
8
|
-
import '../client-plugins.d-
|
|
8
|
+
import '../client-plugins.d-Crct3m_r.js';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.js';
|
|
10
10
|
import '../renderer.js';
|
|
11
11
|
import '../deployment.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3MY6TNNEcjs = require('../chunk-3MY6TNNE.cjs');
|
|
5
5
|
require('../chunk-VWIW47FW.cjs');
|
|
6
6
|
require('../chunk-HS4JPIGR.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-BQHIJOZM.cjs');
|
|
8
8
|
require('../chunk-SXXSQVKK.cjs');
|
|
9
9
|
require('../chunk-CYOTNHDF.cjs');
|
|
10
10
|
require('../chunk-KORZ6PRE.cjs');
|
|
@@ -28,7 +28,7 @@ require('../chunk-YUCU6XB4.cjs');
|
|
|
28
28
|
require('../chunk-IUKBPBM7.cjs');
|
|
29
29
|
require('../chunk-BIAGSYIZ.cjs');
|
|
30
30
|
require('../chunk-SNP33A33.cjs');
|
|
31
|
-
require('../chunk-
|
|
31
|
+
require('../chunk-I2RBHZF7.cjs');
|
|
32
32
|
require('../chunk-ZMSVKVI3.cjs');
|
|
33
33
|
require('../chunk-7U4XF76R.cjs');
|
|
34
34
|
require('../chunk-2OF5RPVU.cjs');
|
|
@@ -64,4 +64,4 @@ require('../chunk-UZM3PDKK.cjs');
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
exports.APIRouteConflictError =
|
|
67
|
+
exports.APIRouteConflictError = _chunk3MY6TNNEcjs.APIRouteConflictError; exports.APIRouteManager = _chunk3MY6TNNEcjs.APIRouteManager; exports.API_ROUTE_METHODS = _chunkJYQ6DGPWcjs.API_ROUTE_METHODS; exports.getAllowedAPIRouteMethods = _chunkJYQ6DGPWcjs.getAllowedAPIRouteMethods; exports.invokeAPIRouteEndpoint = _chunkJYQ6DGPWcjs.invokeAPIRouteEndpoint; exports.isWebResponse = _chunkJYQ6DGPWcjs.isWebResponse; exports.matchAPIRoute = _chunkL6E5BSNUcjs.matchAPIRoute; exports.normalizeRouteResponse = _chunkJYQ6DGPWcjs.normalizeRouteResponse; exports.resolveAPIRouteEndpoint = _chunkJYQ6DGPWcjs.resolveAPIRouteEndpoint;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PluginAPIDispatch } from '../runtime.d-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
3
|
-
import { b as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-BVj6apd0.mjs';
|
|
2
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-BVj6apd0.mjs';
|
|
3
|
+
import { b as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-Dzc3vOw_.mjs';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-euATAbE4.mjs';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-CTAXWZby.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PluginAPIDispatch } from '../runtime.d-
|
|
2
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
3
|
-
import { b as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { P as PluginAPIDispatch } from '../runtime.d-D7QYVJGO.js';
|
|
2
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from '../runtime.d-D7QYVJGO.js';
|
|
3
|
+
import { b as FarmRouteRuntimeConfig, F as FarmPlugin } from '../client-plugins.d-Crct3m_r.js';
|
|
4
4
|
import { ViteDevServer } from 'vite';
|
|
5
5
|
import '../types.d-euATAbE4.js';
|
|
6
6
|
import { F as FarmI18nRuntime } from '../runtime.d-PUA5qBnd.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APIRouteConflictError,
|
|
3
3
|
APIRouteManager
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JDO3X7RB.mjs";
|
|
5
5
|
import "../chunk-NRWEY2CM.mjs";
|
|
6
6
|
import "../chunk-URBP6DLH.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PTAGDZ7I.mjs";
|
|
8
8
|
import "../chunk-O7JEFGUV.mjs";
|
|
9
9
|
import "../chunk-VO55MMBX.mjs";
|
|
10
10
|
import "../chunk-NR63PD3P.mjs";
|
|
@@ -28,7 +28,7 @@ import "../chunk-DZXD6CYJ.mjs";
|
|
|
28
28
|
import "../chunk-PKMUQ7LM.mjs";
|
|
29
29
|
import "../chunk-FS55CNTC.mjs";
|
|
30
30
|
import "../chunk-VHIXGZYH.mjs";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-HX5HLFBZ.mjs";
|
|
32
32
|
import "../chunk-VJSXPN3W.mjs";
|
|
33
33
|
import "../chunk-U6GMCDRS.mjs";
|
|
34
34
|
import "../chunk-2I6PUKWJ.mjs";
|
package/dist/api/runtime.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-BXbBpKoh.mjs';
|
|
2
|
-
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
2
|
+
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-BVj6apd0.mjs';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
export { aI as FarmMCPCatalogDetails, bh as FarmMCPServerRegistration, bi as _findFarmMCPEndpointTool, bj as _publishFarmMCPCatalog, bk as registerFarmMCPServer } from '../client-plugins.d-
|
|
4
|
+
export { aI as FarmMCPCatalogDetails, bh as FarmMCPServerRegistration, bi as _findFarmMCPEndpointTool, bj as _publishFarmMCPCatalog, bk as registerFarmMCPServer } from '../client-plugins.d-Dzc3vOw_.mjs';
|
|
5
5
|
import '../cache.mjs';
|
|
6
6
|
import '../route.d-ShmtqqVQ.mjs';
|
|
7
7
|
import '../lifecycle.d-OtGWAvJT.mjs';
|
package/dist/api/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as isEndpointFailure, p as parseRouteSchema } from '../endpoint.d-Dx_1k6Du.js';
|
|
2
|
-
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-
|
|
2
|
+
export { b as APIRouteShapeSource, A as API_ROUTE_METHODS, F as FARM_INTERNAL_SERVER_ERROR_BODY, c as createEndpointFailureResponse, d as createFarmInternalServerErrorResponse, e as createStaticAPIRouteMatcherAtBasePath, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, f as isFarmAPIPathname, a as isWebResponse, m as matchAPIRouteAtBasePath, h as mergePluginAPIRoutes, n as normalizeRouteResponse, j as registerAPIRouteShape, r as resolveAPIRouteEndpoint } from '../runtime.d-D7QYVJGO.js';
|
|
3
3
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from '../route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
export { aI as FarmMCPCatalogDetails, bh as FarmMCPServerRegistration, bi as _findFarmMCPEndpointTool, bj as _publishFarmMCPCatalog, bk as registerFarmMCPServer } from '../client-plugins.d-
|
|
4
|
+
export { aI as FarmMCPCatalogDetails, bh as FarmMCPServerRegistration, bi as _findFarmMCPEndpointTool, bj as _publishFarmMCPCatalog, bk as registerFarmMCPServer } from '../client-plugins.d-Crct3m_r.js';
|
|
5
5
|
import '../cache.js';
|
|
6
6
|
import '../route.d-Cd4Fi6BA.js';
|
|
7
7
|
import '../lifecycle.d-OtGWAvJT.js';
|
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSUACCCZGcjs = require('./chunk-SUACCCZG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkW76C7TCWcjs = require('./chunk-W76C7TCW.cjs');
|
|
@@ -26,10 +26,10 @@ require('./chunk-P2355C6E.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk3MY6TNNEcjs = require('./chunk-3MY6TNNE.cjs');
|
|
30
30
|
require('./chunk-VWIW47FW.cjs');
|
|
31
31
|
require('./chunk-HS4JPIGR.cjs');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-BQHIJOZM.cjs');
|
|
33
33
|
require('./chunk-SXXSQVKK.cjs');
|
|
34
34
|
require('./chunk-CYOTNHDF.cjs');
|
|
35
35
|
require('./chunk-KORZ6PRE.cjs');
|
|
@@ -69,7 +69,7 @@ require('./chunk-BIAGSYIZ.cjs');
|
|
|
69
69
|
require('./chunk-Y3WG64CP.cjs');
|
|
70
70
|
require('./chunk-JRGR5Z4K.cjs');
|
|
71
71
|
require('./chunk-SNP33A33.cjs');
|
|
72
|
-
require('./chunk-
|
|
72
|
+
require('./chunk-I2RBHZF7.cjs');
|
|
73
73
|
require('./chunk-ZMSVKVI3.cjs');
|
|
74
74
|
require('./chunk-7U4XF76R.cjs');
|
|
75
75
|
|
|
@@ -163,4 +163,4 @@ require('./chunk-UZM3PDKK.cjs');
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
exports.APIClientError = _chunkZNXU4E6Acjs.APIClientError; exports.APIRouteConflictError =
|
|
166
|
+
exports.APIClientError = _chunkZNXU4E6Acjs.APIClientError; exports.APIRouteConflictError = _chunk3MY6TNNEcjs.APIRouteConflictError; exports.APIRouteManager = _chunk3MY6TNNEcjs.APIRouteManager; exports.API_ROUTE_METHODS = _chunkJYQ6DGPWcjs.API_ROUTE_METHODS; exports.DEFAULT_FARM_API_BASE_PATH = _chunkPMJSG4JScjs.DEFAULT_FARM_API_BASE_PATH; exports.DELETE = _chunkVGVRGGP4cjs.DELETE; exports.EndpointFailure = _chunkVGVRGGP4cjs.EndpointFailure; exports.FARM_API_ROUTE_META_SYMBOL = _chunkZNXU4E6Acjs.FARM_API_ROUTE_META_SYMBOL; exports.FARM_API_ROUTE_REF_SYMBOL = _chunkZNXU4E6Acjs.FARM_API_ROUTE_REF_SYMBOL; exports.GET = _chunkVGVRGGP4cjs.GET; exports.HEAD = _chunkVGVRGGP4cjs.HEAD; exports.OPTIONS = _chunkVGVRGGP4cjs.OPTIONS; exports.PATCH = _chunkVGVRGGP4cjs.PATCH; exports.POST = _chunkVGVRGGP4cjs.POST; exports.PUT = _chunkVGVRGGP4cjs.PUT; exports.QUERY = _chunkVGVRGGP4cjs.QUERY; exports.applyServerFnOptimisticUpdates = _chunkZNXU4E6Acjs.applyServerFnOptimisticUpdates; exports.createAPIClient = _chunkZNXU4E6Acjs.createAPIClient; exports.createApiClients = _chunkZNXU4E6Acjs.createApiClients; exports.createEndpoint = _chunkVGVRGGP4cjs.createEndpoint; exports.createRouteFactory = _chunkVGVRGGP4cjs.createRouteFactory; exports.createServerAPIClient = _chunkZNXU4E6Acjs.createServerAPIClient; exports.farmApiPlugin = _chunkSUACCCZGcjs.farmApiPlugin; exports.getAPIRouteRefMetadata = _chunkZNXU4E6Acjs.getAPIRouteRefMetadata; exports.getAllowedAPIRouteMethods = _chunkJYQ6DGPWcjs.getAllowedAPIRouteMethods; exports.getFarmAPIBaseURL = _chunkPMJSG4JScjs.getFarmAPIBaseURL; exports.invokeAPIRouteEndpoint = _chunkJYQ6DGPWcjs.invokeAPIRouteEndpoint; exports.isAPIRouteRef = _chunkZNXU4E6Acjs.isAPIRouteRef; exports.isEndpointFailure = _chunkVGVRGGP4cjs.isEndpointFailure; exports.isFarmAPIStream = _chunkHLYRXN2Icjs.isFarmAPIStream; exports.isJSONStreamResponse = _chunkHLYRXN2Icjs.isJSONStreamResponse; exports.isMultipartSchema = _chunkHLYRXN2Icjs.isMultipartSchema; exports.isWebResponse = _chunkJYQ6DGPWcjs.isWebResponse; exports.jsonStream = _chunkHLYRXN2Icjs.jsonStream; exports.matchAPIRoute = _chunkL6E5BSNUcjs.matchAPIRoute; exports.mountFetchHandler = _chunkW76C7TCWcjs.mountFetchHandler; exports.multipart = _chunkHLYRXN2Icjs.multipart; exports.normalizeFarmAPIBasePath = _chunkPMJSG4JScjs.normalizeFarmAPIBasePath; exports.normalizeFarmAPIConfig = _chunkPMJSG4JScjs.normalizeFarmAPIConfig; exports.normalizeRouteResponse = _chunkJYQ6DGPWcjs.normalizeRouteResponse; exports.readJSONStream = _chunkHLYRXN2Icjs.readJSONStream; exports.resolveAPIRouteEndpoint = _chunkJYQ6DGPWcjs.resolveAPIRouteEndpoint; exports.resolveFarmAPIConfig = _chunkPMJSG4JScjs.resolveFarmAPIConfig; exports.resolveFarmAPIRequestURL = _chunkPMJSG4JScjs.resolveFarmAPIRequestURL; exports.resolveFarmAPIServerBasePath = _chunk2OF5RPVUcjs.resolveFarmAPIServerBasePath; exports.resolvePluginRoutes = _chunkVGVRGGP4cjs.resolvePluginRoutes; exports.resolveServerFnInvalidateTargets = _chunkZNXU4E6Acjs.resolveServerFnInvalidateTargets; exports.settleServerFnOptimisticUpdates = _chunkZNXU4E6Acjs.settleServerFnOptimisticUpdates; exports.toFormData = _chunkHLYRXN2Icjs.toFormData;
|
package/dist/api.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, h as EndpointErrorContracts, j as EndpointErrorDefinition, k as EndpointErrorDefinitions, l as EndpointErrorHandler, m as EndpointErrorSchema, n as EndpointFail, g as EndpointFailure, o as EndpointHandler, q as EndpointInvalidationContext, r as EndpointInvalidationTarget, s as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, t as EndpointMiddleware, u as EndpointMiddlewareContext, d as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, w as EndpointParamValue, x as EndpointParams, F as FarmAPIStream, y as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, z as MultipartSchema, B as MultipartValues, O as OPTIONS, P as PATCH, K as POST, L as PUT, Q as QUERY, R as RouteOpenAPIConfig, T as TypedEndpoint, N as TypedFormData, S as createEndpoint, i as isEndpointFailure, U as isFarmAPIStream, V as isJSONStreamResponse, W as isMultipartSchema, X as jsonStream, Y as multipart, Z as readJSONStream, _ as toFormData } from './endpoint.d-BXbBpKoh.mjs';
|
|
2
2
|
export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.mjs';
|
|
3
3
|
export { A as APIClient, b as APIClientError, d as APIClientOptions, e as APIClientSystemError, f as APIClientWithoutIntegrationsOptions, l as APIQueryPrimitive, m as APIQueryValue, n as APIResult, o as APIRouteManifest, p as APIRouteRefMetadata, g as ApiClients, C as CacheKey, q as CacheOptions, r as CachePolicy, s as CacheScope, v as ClientOptions, F as FARM_API_ROUTE_META_SYMBOL, y as FARM_API_ROUTE_REF_SYMBOL, X as InvalidateOptions, Y as InvalidateTarget, Z as OptimisticOptions, _ as OptimisticUpdate, $ as RequestEvent, a0 as ResponseEvent, a1 as RetryAttemptContext, k as RetryOptions, R as RouteAPIClient, S as ServerAPIClient, h as ServerAPIClientOptions, i as ServerAPIClientWithoutIntegrationsOptions, a2 as StatusEvent, a3 as StatusPhase, a4 as applyServerFnOptimisticUpdates, c as createAPIClient, a as createApiClients, j as createServerAPIClient, aa as getAPIRouteRefMetadata, af as isAPIRouteRef, ag as resolveServerFnInvalidateTargets, ah as settleServerFnOptimisticUpdates } from './api-client.d-CyVmI4Di.mjs';
|
|
4
|
-
import { bp as ResolvedFarmAPIConfig } from './client-plugins.d-
|
|
5
|
-
export { bJ as DEFAULT_FARM_API_BASE_PATH, bS as FarmAPIConfig, bT as FarmAPIConfigResolverContext, bU as FarmAPIConfigValue, eH as getFarmAPIBaseURL, f6 as normalizeFarmAPIBasePath, f7 as normalizeFarmAPIConfig, fc as resolveFarmAPIConfig, fd as resolveFarmAPIRequestURL } from './client-plugins.d-
|
|
4
|
+
import { bp as ResolvedFarmAPIConfig } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
5
|
+
export { bJ as DEFAULT_FARM_API_BASE_PATH, bS as FarmAPIConfig, bT as FarmAPIConfigResolverContext, bU as FarmAPIConfigValue, eH as getFarmAPIBaseURL, f6 as normalizeFarmAPIBasePath, f7 as normalizeFarmAPIConfig, fc as resolveFarmAPIConfig, fd as resolveFarmAPIRequestURL } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-ShmtqqVQ.mjs';
|
|
8
8
|
export { n as PluginAPIRouter, P as PluginLocalAPI, i as PluginLocalAPIEndpoint, j as PluginRoutes, R as RouteDefinition, o as RouteFactory, p as RouteInputSchemas, q as RouteJSON, l as RouteMethod, r as RouteOptions, s as RoutePathParams, t as createRouteFactory, u as resolvePluginRoutes } from './route.d-ShmtqqVQ.mjs';
|
|
9
|
-
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-
|
|
9
|
+
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-_6Un9wdK.mjs';
|
|
10
10
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from './route-pattern.d-CVsVbq5n.mjs';
|
|
11
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-
|
|
11
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-BVj6apd0.mjs';
|
|
12
12
|
import './cache.mjs';
|
|
13
13
|
import './types.d-euATAbE4.mjs';
|
|
14
14
|
import './runtime.d-CTAXWZby.mjs';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { A as AnyEndpointMiddleware, D as DELETE, h as EndpointErrorContracts, j as EndpointErrorDefinition, k as EndpointErrorDefinitions, l as EndpointErrorHandler, m as EndpointErrorSchema, n as EndpointFail, g as EndpointFailure, o as EndpointHandler, q as EndpointInvalidationContext, r as EndpointInvalidationTarget, s as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, t as EndpointMiddleware, u as EndpointMiddlewareContext, d as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, v as EndpointOptions, w as EndpointParamValue, x as EndpointParams, F as FarmAPIStream, y as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, z as MultipartSchema, B as MultipartValues, O as OPTIONS, P as PATCH, K as POST, L as PUT, Q as QUERY, R as RouteOpenAPIConfig, T as TypedEndpoint, N as TypedFormData, S as createEndpoint, i as isEndpointFailure, U as isFarmAPIStream, V as isJSONStreamResponse, W as isMultipartSchema, X as jsonStream, Y as multipart, Z as readJSONStream, _ as toFormData } from './endpoint.d-Dx_1k6Du.js';
|
|
2
2
|
export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.js';
|
|
3
3
|
export { A as APIClient, b as APIClientError, d as APIClientOptions, e as APIClientSystemError, f as APIClientWithoutIntegrationsOptions, l as APIQueryPrimitive, m as APIQueryValue, n as APIResult, o as APIRouteManifest, p as APIRouteRefMetadata, g as ApiClients, C as CacheKey, q as CacheOptions, r as CachePolicy, s as CacheScope, v as ClientOptions, F as FARM_API_ROUTE_META_SYMBOL, y as FARM_API_ROUTE_REF_SYMBOL, X as InvalidateOptions, Y as InvalidateTarget, Z as OptimisticOptions, _ as OptimisticUpdate, $ as RequestEvent, a0 as ResponseEvent, a1 as RetryAttemptContext, k as RetryOptions, R as RouteAPIClient, S as ServerAPIClient, h as ServerAPIClientOptions, i as ServerAPIClientWithoutIntegrationsOptions, a2 as StatusEvent, a3 as StatusPhase, a4 as applyServerFnOptimisticUpdates, c as createAPIClient, a as createApiClients, j as createServerAPIClient, aa as getAPIRouteRefMetadata, af as isAPIRouteRef, ag as resolveServerFnInvalidateTargets, ah as settleServerFnOptimisticUpdates } from './api-client.d-DrTM7BdH.js';
|
|
4
|
-
import { bp as ResolvedFarmAPIConfig } from './client-plugins.d-
|
|
5
|
-
export { bJ as DEFAULT_FARM_API_BASE_PATH, bS as FarmAPIConfig, bT as FarmAPIConfigResolverContext, bU as FarmAPIConfigValue, eH as getFarmAPIBaseURL, f6 as normalizeFarmAPIBasePath, f7 as normalizeFarmAPIConfig, fc as resolveFarmAPIConfig, fd as resolveFarmAPIRequestURL } from './client-plugins.d-
|
|
4
|
+
import { bp as ResolvedFarmAPIConfig } from './client-plugins.d-Crct3m_r.js';
|
|
5
|
+
export { bJ as DEFAULT_FARM_API_BASE_PATH, bS as FarmAPIConfig, bT as FarmAPIConfigResolverContext, bU as FarmAPIConfigValue, eH as getFarmAPIBaseURL, f6 as normalizeFarmAPIBasePath, f7 as normalizeFarmAPIConfig, fc as resolveFarmAPIConfig, fd as resolveFarmAPIRequestURL } from './client-plugins.d-Crct3m_r.js';
|
|
6
6
|
import { Plugin } from 'vite';
|
|
7
7
|
import { k as PluginRoutesFactory } from './route.d-Cd4Fi6BA.js';
|
|
8
8
|
export { n as PluginAPIRouter, P as PluginLocalAPI, i as PluginLocalAPIEndpoint, j as PluginRoutes, R as RouteDefinition, o as RouteFactory, p as RouteInputSchemas, q as RouteJSON, l as RouteMethod, r as RouteOptions, s as RoutePathParams, t as createRouteFactory, u as resolvePluginRoutes } from './route.d-Cd4Fi6BA.js';
|
|
9
|
-
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-
|
|
9
|
+
export { M as MountFetchHandlerOptions, b as MountableFetchHandler, c as MountedFetchRouteHandler, a as MountedFetchRouteHandlers, m as mountFetchHandler } from './mount.d-DyKlRR6z.js';
|
|
10
10
|
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from './route-pattern.d-CVsVbq5n.js';
|
|
11
|
-
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-
|
|
11
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-D7QYVJGO.js';
|
|
12
12
|
import './cache.js';
|
|
13
13
|
import './types.d-euATAbE4.js';
|
|
14
14
|
import './runtime.d-PUA5qBnd.js';
|
package/dist/api.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
farmApiPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6ZL35ZJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
mountFetchHandler
|
|
6
6
|
} from "./chunk-L3RDECA5.mjs";
|
|
@@ -26,10 +26,10 @@ import "./chunk-IYEY3JWJ.mjs";
|
|
|
26
26
|
import {
|
|
27
27
|
APIRouteConflictError,
|
|
28
28
|
APIRouteManager
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JDO3X7RB.mjs";
|
|
30
30
|
import "./chunk-NRWEY2CM.mjs";
|
|
31
31
|
import "./chunk-URBP6DLH.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-PTAGDZ7I.mjs";
|
|
33
33
|
import "./chunk-O7JEFGUV.mjs";
|
|
34
34
|
import "./chunk-VO55MMBX.mjs";
|
|
35
35
|
import "./chunk-NR63PD3P.mjs";
|
|
@@ -69,7 +69,7 @@ import "./chunk-FS55CNTC.mjs";
|
|
|
69
69
|
import "./chunk-IGL6CO6M.mjs";
|
|
70
70
|
import "./chunk-O5QUJEWT.mjs";
|
|
71
71
|
import "./chunk-VHIXGZYH.mjs";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-HX5HLFBZ.mjs";
|
|
73
73
|
import "./chunk-VJSXPN3W.mjs";
|
|
74
74
|
import "./chunk-U6GMCDRS.mjs";
|
|
75
75
|
import {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as FarmMCPCatalogDetails, aJ as ResolvedFarmAppManifestConfig } from './client-plugins.d-
|
|
1
|
+
import { aI as FarmMCPCatalogDetails, aJ as ResolvedFarmAppManifestConfig } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as FarmMCPCatalogDetails, aJ as ResolvedFarmAppManifestConfig } from './client-plugins.d-
|
|
1
|
+
import { aI as FarmMCPCatalogDetails, aJ as ResolvedFarmAppManifestConfig } from './client-plugins.d-Crct3m_r.js';
|
|
2
2
|
|
|
3
3
|
interface FarmAppManifestWebMCPTool {
|
|
4
4
|
name: string;
|
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-Dzc3vOw_.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-Dzc3vOw_.mjs';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.mjs';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageRenderer, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.mjs';
|
|
5
5
|
import './lifecycle.d-OtGWAvJT.mjs';
|
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-Crct3m_r.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-Crct3m_r.js';
|
|
3
3
|
import { FarmMarkdownPageModuleInput } from './internal/app-markdown-runtime.js';
|
|
4
4
|
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FARM_MARKDOWN_PRECOMPILED_PAGES, FarmMarkdownPageRenderer, FarmMarkdownPageSource, compileFarmMarkdownPage, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, readFarmMarkdownRouteConfig, titleFromMarkdown } from './internal/app-markdown-runtime.js';
|
|
5
5
|
import './lifecycle.d-OtGWAvJT.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-Dzc3vOw_.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-CMGqpUbk.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-B2L2LyAr.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-DaM1NPnm.mjs';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.mjs';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-CTAXWZby.mjs';
|
|
@@ -478,6 +478,7 @@ declare class ServerRenderer {
|
|
|
478
478
|
private i18nRuntime?;
|
|
479
479
|
private viteServer?;
|
|
480
480
|
private rendererRuntime;
|
|
481
|
+
private rendererServerModuleCurrent;
|
|
481
482
|
private reactRenderer?;
|
|
482
483
|
private appliedAppSetupModule;
|
|
483
484
|
private security;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-
|
|
1
|
+
import { aK as FarmConfig, P as ParsedRoute, bn as ResolvedFarmRouteRuntimeConfig, bo as ApplicationMetadataRouteKind, e as RouteModule, aZ as LayoutModule, S as SSGCollectionResult, E as FarmRequest, G as FarmResponse, bp as ResolvedFarmAPIConfig, aH as FarmDocsResolvedConfig, bm as FarmMarkdownResolvedConfig, d as FarmMdxResolvedConfig, ax as ResolvedFarmDevtoolsConfig, bq as ResolvedFarmDevIndicatorsConfig, br as ResolvedFarmAuthConfig, bs as ResolvedFarmPerformanceConfig, bt as ResolvedFarmSecurityConfig } from './client-plugins.d-Crct3m_r.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-BdM0pIrD.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-BDD5aiUb.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-D0FV9lDT.js';
|
|
12
12
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
13
13
|
import { a as FarmRedirectStatus } from './navigation-errors.d-DwHtoMyR.js';
|
|
14
14
|
import { F as FarmI18nRuntime } from './runtime.d-PUA5qBnd.js';
|
|
@@ -478,6 +478,7 @@ declare class ServerRenderer {
|
|
|
478
478
|
private i18nRuntime?;
|
|
479
479
|
private viteServer?;
|
|
480
480
|
private rendererRuntime;
|
|
481
|
+
private rendererServerModuleCurrent;
|
|
481
482
|
private reactRenderer?;
|
|
482
483
|
private appliedAppSetupModule;
|
|
483
484
|
private security;
|
|
@@ -6,9 +6,11 @@ var _chunkRK3YYUX6cjs = require('./chunk-RK3YYUX6.cjs');
|
|
|
6
6
|
var _chunkO4JYMU5Ncjs = require('./chunk-O4JYMU5N.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
var _chunkPCAEJNQFcjs = require('./chunk-PCAEJNQF.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
|
|
13
|
+
var _chunkYIGUFJMRcjs = require('./chunk-YIGUFJMR.cjs');
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
var _chunkWKVYF2B5cjs = require('./chunk-WKVYF2B5.cjs');
|
|
@@ -231,11 +233,11 @@ function resolveFarmLink({
|
|
|
231
233
|
trailingSlash: linkTrailingSlash
|
|
232
234
|
});
|
|
233
235
|
const localizedHref = withLinkTrailingSlash(
|
|
234
|
-
|
|
236
|
+
_chunkPCAEJNQFcjs.localizeActiveFarmHref.call(void 0, baseHref, locale),
|
|
235
237
|
linkTrailingSlash
|
|
236
238
|
);
|
|
237
239
|
const resolvedHref = isExternalUrl(localizedHref) ? localizedHref : _chunkD22BUQKWcjs.applyFarmBasePath.call(void 0, localizedHref, basePath);
|
|
238
|
-
const script =
|
|
240
|
+
const script = _chunkYIGUFJMRcjs.isFarmScriptURL.call(void 0, resolvedHref);
|
|
239
241
|
return {
|
|
240
242
|
href: resolvedHref,
|
|
241
243
|
localizedHref,
|
|
@@ -347,7 +349,7 @@ function applyPreservedSearchParams(href) {
|
|
|
347
349
|
if (routes.length === 0) return href;
|
|
348
350
|
const documentUrl = typeof window === "undefined" ? _optionalChain([_chunk3BIASUGRcjs._peekCurrentRequest.call(void 0, ), 'optionalAccess', _4 => _4.url]) : window.location.href;
|
|
349
351
|
if (!documentUrl) return href;
|
|
350
|
-
const url =
|
|
352
|
+
const url = _chunkYIGUFJMRcjs.resolveFarmNavigationURL.call(void 0, href, documentUrl);
|
|
351
353
|
const route = routes.find((candidate) => matchManifestRoute(url.pathname, candidate));
|
|
352
354
|
const preserve = Array.isArray(_optionalChain([route, 'optionalAccess', _5 => _5.search, 'optionalAccess', _6 => _6.preserve])) ? route.search.preserve : [];
|
|
353
355
|
if (preserve.length === 0) return href;
|
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkMCSRMEQVcjs = require('./chunk-MCSRMEQV.cjs');
|
|
8
|
+
|
|
9
|
+
// src/image-attributes.ts
|
|
10
|
+
var FALLBACK_CONFIG = {
|
|
11
|
+
provider: "auto",
|
|
12
|
+
path: _chunkMCSRMEQVcjs.DEFAULT_FARM_IMAGE_PATH,
|
|
13
|
+
deviceSizes: _chunkMCSRMEQVcjs.DEFAULT_FARM_IMAGE_DEVICE_SIZES,
|
|
14
|
+
imageSizes: _chunkMCSRMEQVcjs.DEFAULT_FARM_IMAGE_SIZES,
|
|
15
|
+
qualities: _chunkMCSRMEQVcjs.DEFAULT_FARM_IMAGE_QUALITIES,
|
|
16
|
+
formats: _chunkMCSRMEQVcjs.DEFAULT_FARM_IMAGE_FORMATS
|
|
17
|
+
};
|
|
18
|
+
function getImageConfig() {
|
|
19
|
+
return typeof __FARM_IMAGE_CONFIG__ !== "undefined" && __FARM_IMAGE_CONFIG__ ? __FARM_IMAGE_CONFIG__ : FALLBACK_CONFIG;
|
|
20
|
+
}
|
|
21
|
+
function defaultImageLoader(config) {
|
|
22
|
+
return ({ src, width, quality }) => {
|
|
23
|
+
const query = new URLSearchParams({
|
|
24
|
+
url: src,
|
|
25
|
+
w: String(width),
|
|
26
|
+
q: String(quality)
|
|
27
|
+
});
|
|
28
|
+
return `${config.path}?${query}`;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function getClosestQuality(quality, allowed) {
|
|
32
|
+
const requested = _nullishCoalesce(quality, () => ( 75));
|
|
33
|
+
return allowed.reduce(
|
|
34
|
+
(closest, candidate) => Math.abs(candidate - requested) < Math.abs(closest - requested) ? candidate : closest
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
function getCandidateWidths(config, width, sizes, fill) {
|
|
38
|
+
const allSizes = [.../* @__PURE__ */ new Set([...config.imageSizes, ...config.deviceSizes])].sort(
|
|
39
|
+
(left, right) => left - right
|
|
40
|
+
);
|
|
41
|
+
if (fill || sizes) {
|
|
42
|
+
const viewportPercentages = [..._nullishCoalesce(_optionalChain([sizes, 'optionalAccess', _ => _.matchAll, 'call', _2 => _2(/(^|\s)(\d{1,3})vw/g)]), () => ( []))].map(
|
|
43
|
+
(match) => Number(match[2])
|
|
44
|
+
);
|
|
45
|
+
if (viewportPercentages.length > 0) {
|
|
46
|
+
const smallestRatio = Math.min(...viewportPercentages) / 100;
|
|
47
|
+
const minimum = config.deviceSizes[0] * smallestRatio;
|
|
48
|
+
return { widths: allSizes.filter((candidate) => candidate >= minimum), descriptor: "w" };
|
|
49
|
+
}
|
|
50
|
+
return { widths: allSizes, descriptor: "w" };
|
|
51
|
+
}
|
|
52
|
+
if (!width) return { widths: config.deviceSizes.slice(), descriptor: "w" };
|
|
53
|
+
const requested = [width, width * 2];
|
|
54
|
+
const widths = requested.map(
|
|
55
|
+
(target) => _nullishCoalesce(allSizes.find((candidate) => candidate >= target), () => ( allSizes.at(-1)))
|
|
56
|
+
);
|
|
57
|
+
return { widths: [...new Set(widths)], descriptor: "x" };
|
|
58
|
+
}
|
|
59
|
+
function isStaticImageData(value) {
|
|
60
|
+
return typeof value === "object" && value !== null && typeof value.src === "string";
|
|
61
|
+
}
|
|
62
|
+
function shouldSkipOptimization(src, config) {
|
|
63
|
+
return config.provider === "none" || src.startsWith("data:") || src.startsWith("blob:") || /\.svg(?:$|[?#])/i.test(src);
|
|
64
|
+
}
|
|
65
|
+
function resolveImageAttributes(options) {
|
|
66
|
+
const {
|
|
67
|
+
src: srcInput,
|
|
68
|
+
alt,
|
|
69
|
+
width: widthInput,
|
|
70
|
+
height: heightInput,
|
|
71
|
+
fill = false,
|
|
72
|
+
quality: qualityInput,
|
|
73
|
+
sizes: sizesInput,
|
|
74
|
+
loading,
|
|
75
|
+
preload = false,
|
|
76
|
+
placeholder = "empty",
|
|
77
|
+
blurDataURL: blurDataURLInput,
|
|
78
|
+
unoptimized: unoptimizedInput = false,
|
|
79
|
+
loader: loaderInput,
|
|
80
|
+
style,
|
|
81
|
+
...rest
|
|
82
|
+
} = options;
|
|
83
|
+
const config = getImageConfig();
|
|
84
|
+
const staticImage = isStaticImageData(srcInput) ? srcInput : void 0;
|
|
85
|
+
const src = typeof srcInput === "string" ? srcInput : srcInput.src;
|
|
86
|
+
const width = Number(_nullishCoalesce(widthInput, () => ( _optionalChain([staticImage, 'optionalAccess', _3 => _3.width])))) || void 0;
|
|
87
|
+
const height = Number(_nullishCoalesce(heightInput, () => ( _optionalChain([staticImage, 'optionalAccess', _4 => _4.height])))) || void 0;
|
|
88
|
+
const blurDataURL = _nullishCoalesce(blurDataURLInput, () => ( _optionalChain([staticImage, 'optionalAccess', _5 => _5.blurDataURL])));
|
|
89
|
+
if (!fill && (!width || !height)) {
|
|
90
|
+
throw new TypeError(
|
|
91
|
+
"Farm Image requires width and height unless src is a static import or fill is enabled"
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
if (fill && (widthInput !== void 0 || heightInput !== void 0)) {
|
|
95
|
+
throw new TypeError("Farm Image cannot use width or height together with fill");
|
|
96
|
+
}
|
|
97
|
+
if (placeholder === "blur" && !blurDataURL) {
|
|
98
|
+
throw new TypeError("Farm Image placeholder=blur requires a static import or blurDataURL");
|
|
99
|
+
}
|
|
100
|
+
const unoptimized = unoptimizedInput || shouldSkipOptimization(src, config);
|
|
101
|
+
const quality = getClosestQuality(qualityInput, config.qualities);
|
|
102
|
+
const loader = _nullishCoalesce(loaderInput, () => ( defaultImageLoader(config)));
|
|
103
|
+
const sizes = _nullishCoalesce(sizesInput, () => ( (fill ? "100vw" : void 0)));
|
|
104
|
+
const candidates = getCandidateWidths(config, width, sizes, fill);
|
|
105
|
+
const srcSet = unoptimized ? void 0 : candidates.widths.map((candidate, index) => {
|
|
106
|
+
const descriptor = candidates.descriptor === "w" ? `${candidate}w` : `${index + 1}x`;
|
|
107
|
+
return `${loader({ src, width: candidate, quality })} ${descriptor}`;
|
|
108
|
+
}).join(", ");
|
|
109
|
+
const renderedSrc = unoptimized ? src : loader({ src, width: _nullishCoalesce(_nullishCoalesce(candidates.widths.at(-1), () => ( width)), () => ( config.deviceSizes[0])), quality });
|
|
110
|
+
const fillStyle = fill ? { position: "absolute", inset: 0, width: "100%", height: "100%" } : void 0;
|
|
111
|
+
const placeholderStyle = placeholder === "blur" ? {
|
|
112
|
+
backgroundImage: `url("${blurDataURL}")`,
|
|
113
|
+
backgroundPosition: "50% 50%",
|
|
114
|
+
backgroundRepeat: "no-repeat",
|
|
115
|
+
backgroundSize: "cover"
|
|
116
|
+
} : void 0;
|
|
117
|
+
return {
|
|
118
|
+
...rest,
|
|
119
|
+
alt,
|
|
120
|
+
src: renderedSrc,
|
|
121
|
+
srcSet,
|
|
122
|
+
sizes,
|
|
123
|
+
width: fill ? void 0 : width,
|
|
124
|
+
height: fill ? void 0 : height,
|
|
125
|
+
loading: preload ? "eager" : _nullishCoalesce(loading, () => ( "lazy")),
|
|
126
|
+
fetchPriority: preload ? "high" : rest.fetchPriority,
|
|
127
|
+
decoding: _nullishCoalesce(rest.decoding, () => ( "async")),
|
|
128
|
+
style: { ...fillStyle, ...placeholderStyle, ...style }
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
exports.resolveImageAttributes = resolveImageAttributes;
|