@farm.js/core 0.1.34 → 0.1.36
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-BVExL8rZ.d.mts +109 -0
- package/dist/agent-mcp-handler-LPJ2CADR.mjs +19 -0
- package/dist/agent-mcp-handler-SJAHFSPI.cjs +19 -0
- package/dist/agent-mcp-luzfXK-P.d.ts +109 -0
- package/dist/agent-runtime.cjs +5 -3
- package/dist/agent-runtime.d.mts +4 -5
- package/dist/agent-runtime.d.ts +4 -5
- package/dist/agent-runtime.mjs +4 -2
- package/dist/api/route-manager.cjs +7 -7
- package/dist/api/route-manager.d.mts +15 -10
- package/dist/api/route-manager.d.ts +15 -10
- package/dist/api/route-manager.mjs +6 -6
- package/dist/api/runtime.cjs +7 -5
- package/dist/api/runtime.d.mts +7 -66
- package/dist/api/runtime.d.ts +7 -66
- package/dist/api/runtime.mjs +7 -5
- package/dist/api.cjs +9 -9
- package/dist/api.d.mts +8 -9
- package/dist/api.d.ts +8 -9
- package/dist/api.mjs +8 -8
- package/dist/{app-q4rmZlXK.d.mts → app-BukwkFIu.d.mts} +52 -12
- package/dist/{app-DgotYGbq.d.ts → app-Yfa2dsFy.d.ts} +52 -12
- package/dist/app-markdown.cjs +6 -6
- package/dist/app-markdown.d.mts +5 -6
- package/dist/app-markdown.d.ts +5 -6
- package/dist/app-markdown.mjs +5 -5
- package/dist/{chunk-XV5DJTBX.mjs → chunk-276VJSM6.mjs} +627 -260
- package/dist/{chunk-36MK5YCW.cjs → chunk-2YTDKNH3.cjs} +547 -240
- package/dist/{chunk-VHANUNEG.mjs → chunk-35GKZR22.mjs} +2 -2
- package/dist/{chunk-LR5QSC2P.mjs → chunk-35WV46VL.mjs} +399 -92
- package/dist/{chunk-UX5S4JEO.cjs → chunk-42NHY7HW.cjs} +57 -7
- package/dist/{chunk-U4PTAHW3.mjs → chunk-4E5AEDKY.mjs} +7 -11
- package/dist/{chunk-NGVORZVZ.mjs → chunk-4E5WBPEG.mjs} +73 -351
- package/dist/{chunk-AQZFOP7S.mjs → chunk-4GLOOWKE.mjs} +5 -5
- package/dist/{chunk-7BT4H4P7.cjs → chunk-4NU4GGTC.cjs} +2 -2
- package/dist/{chunk-AGC75XAE.mjs → chunk-4WCZJQUO.mjs} +55 -5
- package/dist/chunk-4WQ6PGSJ.cjs +367 -0
- package/dist/{chunk-QCFFHV5H.mjs → chunk-4WVJLURN.mjs} +1 -1
- package/dist/chunk-6SJ2KJTA.mjs +314 -0
- package/dist/chunk-75RZHGLS.cjs +135 -0
- package/dist/{chunk-P64MIF5B.cjs → chunk-ADEA7PN3.cjs} +483 -60
- package/dist/{chunk-YQVSHTMR.mjs → chunk-AJQTP4OO.mjs} +1 -1
- package/dist/{chunk-TA5G2HWD.cjs → chunk-AO6RYU5N.cjs} +31 -28
- package/dist/{chunk-MOKLYNHV.cjs → chunk-BO36SELV.cjs} +6 -6
- package/dist/{chunk-7Y6ZNFPX.mjs → chunk-BPOF5U4N.mjs} +17 -7
- package/dist/{chunk-JHWOVJ3M.mjs → chunk-BUGNQIHC.mjs} +5 -0
- package/dist/{chunk-TDFPACVX.cjs → chunk-CBJJH36A.cjs} +50 -25
- package/dist/{chunk-VKNHTSAP.cjs → chunk-CGBDNNSM.cjs} +2 -2
- package/dist/chunk-CI6E3UOH.cjs +314 -0
- package/dist/{chunk-QZCT2CQ4.mjs → chunk-CXEN47J3.mjs} +64 -2
- package/dist/{chunk-ATK2R4CH.cjs → chunk-D227TIEN.cjs} +14 -4
- package/dist/{chunk-QGYRXFU2.cjs → chunk-D2BB47NB.cjs} +8 -8
- package/dist/chunk-DTSROJ5J.mjs +367 -0
- package/dist/{chunk-ODBZYBAB.cjs → chunk-DZ5ZVB2K.cjs} +1 -1
- package/dist/{chunk-ROUTX2E5.cjs → chunk-ECKF2BAM.cjs} +18 -5
- package/dist/{chunk-3LUF2PE2.cjs → chunk-EK4QAEFZ.cjs} +67 -5
- package/dist/{chunk-VVBO3QH7.mjs → chunk-ENLZ4R3Y.mjs} +10 -1
- package/dist/{chunk-XXJU7FCC.cjs → chunk-EUV4YR3V.cjs} +2 -2
- package/dist/{chunk-HR5KPHC2.mjs → chunk-EWET4D2Y.mjs} +1 -1
- package/dist/{chunk-PXKIEXZD.mjs → chunk-F5QO4FNE.mjs} +1 -1
- package/dist/{chunk-MIDIZJZC.cjs → chunk-FO427P6I.cjs} +22 -12
- package/dist/{chunk-AWC4VUZL.cjs → chunk-GQ3Z3IZI.cjs} +14 -14
- package/dist/{chunk-JDPAKVS4.mjs → chunk-GQRWBCWK.mjs} +8 -5
- package/dist/{chunk-75WGQVQA.cjs → chunk-HITLGIAO.cjs} +10 -1
- package/dist/{chunk-WNNYOOIB.mjs → chunk-HOXTWRGB.mjs} +1 -1
- package/dist/{chunk-KROWKCUH.cjs → chunk-JGLC4TO3.cjs} +8 -1
- package/dist/{chunk-QJ3J6MZT.cjs → chunk-JNUWCDTF.cjs} +8 -8
- package/dist/{chunk-BTAG7LI7.cjs → chunk-JZVADIOD.cjs} +2 -2
- package/dist/{chunk-EM6SBQKM.cjs → chunk-KIIMAWOJ.cjs} +37 -2
- package/dist/{chunk-43FMW62B.mjs → chunk-KMTGADN3.mjs} +28 -0
- package/dist/{chunk-GOABMOX3.mjs → chunk-LSZAVSGY.mjs} +468 -45
- package/dist/{chunk-2NQQ5H5G.cjs → chunk-M7MKQXAF.cjs} +2 -1
- package/dist/{chunk-GNSDTTWZ.mjs → chunk-MKYBIIAQ.mjs} +30 -5
- package/dist/{chunk-ZHPHJPQP.cjs → chunk-MRMI32SN.cjs} +88 -366
- package/dist/{chunk-7M52YUMY.cjs → chunk-N2NAS2AM.cjs} +2 -2
- package/dist/{chunk-SJVKK4JE.cjs → chunk-NMHWYWDR.cjs} +1144 -777
- package/dist/chunk-NRDBW4MP.mjs +45 -0
- package/dist/{chunk-657WJNRY.mjs → chunk-O6I6VWKK.mjs} +20 -5
- package/dist/{chunk-O27L4YAA.mjs → chunk-O6WAEAX3.mjs} +2 -2
- package/dist/chunk-OFZUJMCU.mjs +601 -0
- package/dist/{chunk-ZKP7C2B6.mjs → chunk-OHLSEQ57.mjs} +22 -13
- package/dist/{chunk-X242HVD5.mjs → chunk-OO7GXVSR.mjs} +1 -1
- package/dist/chunk-PTZ2TVNE.cjs +178 -0
- package/dist/{chunk-3ATMYLLJ.mjs → chunk-Q2KB32T4.mjs} +1 -1
- package/dist/{chunk-LHODW25H.mjs → chunk-QORUJDIV.mjs} +2 -2
- package/dist/{chunk-UBO4SGH4.mjs → chunk-RHAZ22ZN.mjs} +2 -1
- package/dist/{chunk-G26MUMKL.cjs → chunk-S6VYG6XU.cjs} +23 -8
- package/dist/{chunk-6VVL3MHY.mjs → chunk-SC2WYWPF.mjs} +1 -1
- package/dist/{chunk-MPEYMSCF.cjs → chunk-SDOTRX3V.cjs} +5 -5
- package/dist/{chunk-BMWDEBXO.cjs → chunk-SHLXACIO.cjs} +31 -3
- package/dist/{chunk-LMJ7VRHZ.mjs → chunk-T4OGRVNS.mjs} +13 -3
- package/dist/{chunk-T5CERMEH.cjs → chunk-T5OJPTVN.cjs} +2 -2
- package/dist/{chunk-Z2YLTERK.cjs → chunk-TE2G5ION.cjs} +6 -6
- package/dist/chunk-UH6QN5NL.mjs +178 -0
- package/dist/{chunk-PQDFUSXD.cjs → chunk-UVW64BCB.cjs} +44 -35
- package/dist/{chunk-VCCUOMQN.mjs → chunk-VILIPRS6.mjs} +1 -1
- package/dist/{chunk-A5FGU2WU.cjs → chunk-VQLJWDVW.cjs} +19 -23
- package/dist/{chunk-VPTDD5XF.cjs → chunk-WBKEZXWE.cjs} +5 -0
- package/dist/{chunk-K3F2E6GS.cjs → chunk-WC5UV2HQ.cjs} +2 -2
- package/dist/chunk-WWFTAUFG.cjs +45 -0
- package/dist/{chunk-ZUSJDQ2Q.mjs → chunk-WWIKMBRN.mjs} +1 -1
- package/dist/{chunk-3VSKDFAT.mjs → chunk-WZ77PUAM.mjs} +1 -1
- package/dist/{chunk-CLJYVZAD.mjs → chunk-XCMCS4DA.mjs} +11 -1
- package/dist/{chunk-F6OHXPWR.mjs → chunk-YFILVET3.mjs} +8 -1
- package/dist/{chunk-DZ4DTRJ5.cjs → chunk-YKX5BK66.cjs} +7 -7
- package/dist/chunk-YSLWRWWP.cjs +601 -0
- package/dist/{chunk-LI2LMOLR.mjs → chunk-YWMZUGIS.mjs} +18 -5
- package/dist/chunk-ZLAT2CWY.mjs +135 -0
- package/dist/{chunk-XF7Q24PF.mjs → chunk-ZMMBIVQM.mjs} +35 -0
- package/dist/{chunk-U74I55WB.cjs → chunk-ZWM5KGAA.cjs} +19 -9
- package/dist/{client-plugins-CLObcuCq.d.mts → client-plugins-C3mK9Pol.d.mts} +300 -7
- package/dist/{client-plugins-DZjHC4Mi.d.ts → client-plugins-r1mOtSC1.d.ts} +300 -7
- package/dist/client-plugins.d.mts +4 -5
- package/dist/client-plugins.d.ts +4 -5
- package/dist/client.cjs +5 -5
- package/dist/client.d.mts +8 -9
- package/dist/client.d.ts +8 -9
- package/dist/client.mjs +4 -4
- package/dist/config.d.mts +4 -5
- package/dist/config.d.ts +4 -5
- package/dist/{devtools-RNXCTS4R.mjs → devtools-ERIKFEXX.mjs} +11 -10
- package/dist/{devtools-HU6Y2MNV.cjs → devtools-JZJJY5CK.cjs} +12 -11
- package/dist/docs.cjs +15 -14
- package/dist/docs.d.mts +41 -4
- package/dist/docs.d.ts +41 -4
- package/dist/docs.mjs +14 -13
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/image/server.cjs +3 -3
- package/dist/image/server.mjs +2 -2
- package/dist/image/sharp.cjs +10 -10
- package/dist/image/sharp.mjs +2 -2
- package/dist/{index-a-8Z5kZU.d.mts → index-BJJfLxJo.d.mts} +2 -2
- package/dist/{index-BWVfxIsO.d.ts → index-CwoOP-MW.d.ts} +2 -2
- package/dist/index.cjs +51 -44
- package/dist/index.d.mts +20 -21
- package/dist/index.d.ts +20 -21
- package/dist/index.mjs +50 -43
- package/dist/integrations.cjs +7 -3
- package/dist/integrations.d.mts +4 -5
- package/dist/integrations.d.ts +4 -5
- package/dist/integrations.mjs +6 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -5
- package/dist/internal/app-markdown-runtime.d.mts +5 -6
- package/dist/internal/app-markdown-runtime.d.ts +5 -6
- package/dist/internal/app-markdown-runtime.mjs +4 -4
- package/dist/internal/build-runtime.cjs +32 -30
- package/dist/internal/build-runtime.d.mts +6 -7
- package/dist/internal/build-runtime.d.ts +6 -7
- package/dist/internal/build-runtime.mjs +31 -29
- package/dist/internal/cli-runtime.cjs +17 -16
- package/dist/internal/cli-runtime.mjs +16 -15
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +2 -2
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +4 -5
- package/dist/internal/compression-runtime.d.ts +4 -5
- package/dist/internal/config-runtime.cjs +12 -11
- package/dist/internal/config-runtime.d.mts +5 -6
- package/dist/internal/config-runtime.d.ts +5 -6
- package/dist/internal/config-runtime.mjs +11 -10
- package/dist/internal/isolated-boundary.cjs +3 -2
- package/dist/internal/isolated-boundary.d.mts +1 -1
- package/dist/internal/isolated-boundary.d.ts +1 -1
- package/dist/internal/isolated-boundary.mjs +2 -1
- package/dist/internal/metadata-image-runtime.cjs +3 -3
- package/dist/internal/metadata-image-runtime.mjs +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +63 -25
- package/dist/internal/production-runtime.d.mts +117 -37
- package/dist/internal/production-runtime.d.ts +117 -37
- package/dist/internal/production-runtime.mjs +65 -27
- package/dist/internal/server-tree.cjs +12 -0
- package/dist/internal/server-tree.d.mts +27 -0
- package/dist/internal/server-tree.d.ts +27 -0
- package/dist/internal/server-tree.mjs +12 -0
- package/dist/{layers-BRQF5ETU.mjs → layers-UTB43B7A.mjs} +1 -1
- package/dist/layers-VUWIOFEO.cjs +18 -0
- package/dist/markdown.cjs +4 -4
- package/dist/markdown.d.mts +4 -5
- package/dist/markdown.d.ts +4 -5
- package/dist/markdown.mjs +3 -3
- package/dist/middleware.cjs +7 -7
- package/dist/middleware.d.mts +6 -7
- package/dist/middleware.d.ts +6 -7
- package/dist/middleware.mjs +6 -6
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +7 -8
- package/dist/navigation.d.ts +7 -8
- package/dist/navigation.mjs +4 -4
- package/dist/{nitro-HSAQFXSS.cjs → nitro-7F65EZZS.cjs} +3 -3
- package/dist/{nitro-4XGPNIK4.mjs → nitro-MPZJGPXK.mjs} +2 -2
- package/dist/{observability-BupkiN0m.d.mts → observability-CoXunYhS.d.mts} +4 -3
- package/dist/{observability-BupkiN0m.d.ts → observability-CoXunYhS.d.ts} +4 -3
- package/dist/observability.d.mts +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/plugin.cjs +28 -26
- package/dist/plugin.d.mts +4 -5
- package/dist/plugin.d.ts +4 -5
- package/dist/plugin.mjs +27 -25
- package/dist/{production-runtime-CysZl3EV.d.mts → production-runtime-CCeVZXst.d.mts} +4 -4
- package/dist/{production-runtime-BU5ETAK9.d.ts → production-runtime-DPnsggY3.d.ts} +4 -4
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan-CKr4ltOd.d.mts → render-plan-BuGaPFe6.d.mts} +1 -1
- package/dist/{render-plan-D72O1qm4.d.ts → render-plan-Cw4f5E_R.d.ts} +1 -1
- package/dist/renderer/react/server.cjs +10 -4
- package/dist/renderer/react/server.d.mts +2 -1
- package/dist/renderer/react/server.d.ts +2 -1
- package/dist/renderer/react/server.mjs +7 -1
- package/dist/renderer-client.cjs +5 -5
- package/dist/renderer-client.d.mts +6 -7
- package/dist/renderer-client.d.ts +6 -7
- package/dist/renderer-client.mjs +2 -2
- package/dist/renderer.d.mts +2 -0
- package/dist/renderer.d.ts +2 -0
- package/dist/{request-DbyOYI2j.d.ts → request-Bkg-hERy.d.ts} +1 -1
- package/dist/{request-Be83WafN.d.mts → request-CsGARcAw.d.mts} +1 -1
- package/dist/request.d.mts +5 -6
- package/dist/request.d.ts +5 -6
- package/dist/{resolver-PPEeiJ6M.d.ts → resolver-DadfRL6F.d.ts} +1 -1
- package/dist/{resolver-DhW0CqZN.d.mts → resolver-khasx3fU.d.mts} +1 -1
- package/dist/{route-rendering-CtVMpV-k.d.ts → route-rendering-BUZMH_64.d.ts} +1 -1
- package/dist/{route-rendering-BG56SzvJ.d.mts → route-rendering-f11yh5dp.d.mts} +1 -1
- package/dist/{router-D94-SDlW.d.ts → router-B8CR9GbD.d.ts} +1 -1
- package/dist/{router-ALUvm8gC.d.mts → router-Cp6yRE8A.d.mts} +1 -1
- package/dist/routes.d.mts +4 -5
- package/dist/routes.d.ts +4 -5
- package/dist/{runtime-BirxPwbZ.d.ts → runtime-BgDQzBiu.d.ts} +2 -2
- package/dist/runtime-CAEv36S_.d.mts +69 -0
- package/dist/runtime-CQVsT330.d.ts +69 -0
- package/dist/{runtime-AOJge4vQ.d.mts → runtime-CV2UCV-5.d.mts} +2 -2
- package/dist/server-action-security.cjs +3 -3
- package/dist/server-action-security.mjs +2 -2
- package/dist/server-fn.cjs +4 -4
- package/dist/server-fn.mjs +3 -3
- package/dist/server-plugins.d.mts +5 -6
- package/dist/server-plugins.d.ts +5 -6
- package/dist/server-query.cjs +5 -5
- package/dist/server-query.mjs +4 -4
- package/dist/server.cjs +47 -45
- package/dist/server.d.mts +13 -14
- package/dist/server.d.ts +13 -14
- package/dist/server.mjs +30 -28
- package/dist/{spa-router-CxK3USIz.d.ts → spa-router-BuciWGCZ.d.ts} +3 -3
- package/dist/{spa-router-DbxNRKOB.d.mts → spa-router-DwbqGkGj.d.mts} +3 -3
- package/dist/testing.cjs +9 -9
- package/dist/testing.d.mts +4 -5
- package/dist/testing.d.ts +4 -5
- package/dist/testing.mjs +7 -7
- package/dist/{types-Z0aotQ8w.d.mts → types-CnH8DOqo.d.mts} +1 -1
- package/dist/{types-Z0aotQ8w.d.ts → types-CnH8DOqo.d.ts} +1 -1
- package/dist/{utils-4wVRcpOw.d.mts → utils-B9V0S_yL.d.mts} +1 -1
- package/dist/{utils-311Y8eoK.d.ts → utils-CaoWKtYM.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +28 -26
- package/dist/vite.d.mts +4 -5
- package/dist/vite.d.ts +4 -5
- package/dist/vite.mjs +27 -25
- package/dist/{workflows-CR9ex-gz.d.ts → workflows-jZ4BcdoZ.d.mts} +1 -1
- package/dist/{workflows-CR9ex-gz.d.mts → workflows-jZ4BcdoZ.d.ts} +1 -1
- package/dist/workflows.cjs +3 -3
- package/dist/workflows.d.mts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.mjs +2 -2
- package/package.json +9 -1
- package/dist/chunk-M64YUMA4.cjs +0 -58
- package/dist/chunk-QLQ32WC4.mjs +0 -58
- package/dist/layers-4PNE2HOY.cjs +0 -18
- package/dist/metadata-2HSU2i_w.d.mts +0 -52
- package/dist/metadata-Cjs8JMRM.d.ts +0 -52
- package/dist/types-DFbjpjXX.d.mts +0 -105
- package/dist/types-DFbjpjXX.d.ts +0 -105
- package/dist/{chunk-2F2ER724.cjs → chunk-BPMATOP2.cjs} +2 -2
- package/dist/{chunk-IHNMMXHV.mjs → chunk-OTC5BDGO.mjs} +3 -3
|
@@ -9,18 +9,18 @@ import { d as FarmStorageUserConfig } from './types-Cc8l9IqS.mjs';
|
|
|
9
9
|
import { FarmSchemaField, FarmSchema, FarmSchemaModel, FarmSchemaReference, FarmSchemaFieldType, FarmSchemaConstraint, FarmSchemaModelExtension, FarmSchemaModelOverride, defineSchema, FarmSchemaConfig } from './schema.mjs';
|
|
10
10
|
import React__default, { ComponentType, ReactNode } from 'react';
|
|
11
11
|
import { OrmClient, SchemaDefinition, ModelDefinition, FieldBuilder, JsonValue, AnyModelDefinition, SchemaModels } from '@farming-labs/orm';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { DocsConfig } from '@farming-labs/docs';
|
|
13
|
+
import { I as FarmObservabilityUserConfig } from './observability-CoXunYhS.mjs';
|
|
14
14
|
import * as vite from 'vite';
|
|
15
15
|
import { ViteDevServer, UserConfig, Plugin as Plugin$1, Connect } from 'vite';
|
|
16
|
-
import {
|
|
16
|
+
import { e as FarmWorkflowsUserConfig, a as FarmServerConfig, F as FarmWorkflowsResolvedConfig, R as ResolvedFarmServerConfig } from './workflows-jZ4BcdoZ.mjs';
|
|
17
17
|
import { FarmCronUserConfig, FarmCronResolvedConfig } from './cron.mjs';
|
|
18
18
|
import { ResolvedFarmEnv, FarmEnvConfig } from './env.mjs';
|
|
19
19
|
import { FarmServerActionsConfig, ResolvedFarmServerActionsConfig } from './server-action-security.mjs';
|
|
20
20
|
import * as rolldown_utils from 'rolldown/utils';
|
|
21
21
|
import { Plugin } from 'rolldown';
|
|
22
22
|
import { F as FarmImageConfig, R as ResolvedFarmImageConfig } from './image-config-Duob7wER.mjs';
|
|
23
|
-
import {
|
|
23
|
+
import { k as FarmI18nUserConfig, R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
|
|
24
24
|
import { FarmCacheUserConfig } from './cache.mjs';
|
|
25
25
|
import { R as ResolvedFarmThemeConfig, d as FarmThemeConfig } from './types-DQnyD3VD.mjs';
|
|
26
26
|
import { FarmLayoutFonts } from './font.mjs';
|
|
@@ -269,6 +269,108 @@ declare function isFarmRedirectError(error: unknown): boolean;
|
|
|
269
269
|
declare function getFarmRedirectError(error: unknown): FarmRedirectSignal | null;
|
|
270
270
|
declare function isFarmNotFoundError(error: unknown): boolean;
|
|
271
271
|
|
|
272
|
+
interface FarmDocsAdapterDescriptor {
|
|
273
|
+
id: string;
|
|
274
|
+
protocol: number;
|
|
275
|
+
server: string;
|
|
276
|
+
react?: string;
|
|
277
|
+
vite?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Build-time entry that compiles the adapter's docs runtime into Farm's
|
|
280
|
+
* serializable edge manifest. Older Farm releases safely ignore it.
|
|
281
|
+
*/
|
|
282
|
+
edgeCompiler?: string;
|
|
283
|
+
}
|
|
284
|
+
interface FarmDocsSidebarItem {
|
|
285
|
+
label?: string;
|
|
286
|
+
title?: string;
|
|
287
|
+
slug?: string;
|
|
288
|
+
href?: string;
|
|
289
|
+
icon?: string;
|
|
290
|
+
children?: FarmDocsSidebarItem[];
|
|
291
|
+
items?: FarmDocsSidebarItem[];
|
|
292
|
+
}
|
|
293
|
+
interface FarmDocsNavigationConfig {
|
|
294
|
+
sidebar?: FarmDocsSidebarItem[];
|
|
295
|
+
}
|
|
296
|
+
interface FarmDocsSocialImageConfig {
|
|
297
|
+
/** Generate a page-specific 1200×630 social image. Defaults to true. */
|
|
298
|
+
enabled?: boolean;
|
|
299
|
+
/** Absolute public origin used in social metadata, e.g. https://example.com. */
|
|
300
|
+
baseUrl?: string;
|
|
301
|
+
/** Site name shown in Open Graph metadata. Defaults to the docs navigation title. */
|
|
302
|
+
siteName?: string;
|
|
303
|
+
/** Short brand label drawn in the image header. Defaults to siteName. */
|
|
304
|
+
brand?: string;
|
|
305
|
+
/** Optional WOFF2 URLs or data URLs embedded into the generated SVG. */
|
|
306
|
+
fonts?: FarmDocsSocialImageFonts;
|
|
307
|
+
}
|
|
308
|
+
interface FarmDocsSocialImageFonts {
|
|
309
|
+
/** Display face used for page titles. */
|
|
310
|
+
display?: string;
|
|
311
|
+
/** Sans-serif face used for descriptions. */
|
|
312
|
+
sans?: string;
|
|
313
|
+
/** Monospace face used for labels, routes, and diagrams. */
|
|
314
|
+
mono?: string;
|
|
315
|
+
}
|
|
316
|
+
type FarmDocsRuntimeConfig = Partial<DocsConfig> & {
|
|
317
|
+
/**
|
|
318
|
+
* Public favicon URL used by the standalone docs renderer.
|
|
319
|
+
* Set this explicitly when docs should share the host application's icon.
|
|
320
|
+
*/
|
|
321
|
+
favicon?: string;
|
|
322
|
+
/**
|
|
323
|
+
* Optional serializable navigation tree used by Farm's docs runtime.
|
|
324
|
+
* Icon values reference keys from `icons`.
|
|
325
|
+
*/
|
|
326
|
+
navigation?: FarmDocsNavigationConfig;
|
|
327
|
+
/**
|
|
328
|
+
* Automatic page-specific Open Graph and X images for Markdown docs.
|
|
329
|
+
* Enabled by default. Set false to opt out for the complete docs tree.
|
|
330
|
+
*/
|
|
331
|
+
socialImage?: boolean | FarmDocsSocialImageConfig;
|
|
332
|
+
};
|
|
333
|
+
type FarmDocsConfigInput = FarmDocsRuntimeConfig & {
|
|
334
|
+
/**
|
|
335
|
+
* Versioned runtime descriptor supplied by an external docs adapter.
|
|
336
|
+
* Set false to pin the embedded renderer and disable framework
|
|
337
|
+
* auto-detection.
|
|
338
|
+
*/
|
|
339
|
+
adapter?: FarmDocsAdapterDescriptor | false;
|
|
340
|
+
/**
|
|
341
|
+
* Farm public route for docs, e.g. "/docs". When passed through
|
|
342
|
+
* `config`, this is converted to the docs package's folder-style `entry`.
|
|
343
|
+
*/
|
|
344
|
+
entry?: string;
|
|
345
|
+
/** Explicit public route prefix. Defaults to `entry`. */
|
|
346
|
+
docsPath?: string;
|
|
347
|
+
/** Source content directory, relative to the project root. */
|
|
348
|
+
contentDir?: string;
|
|
349
|
+
/** Set to false to opt out even when a docs config file exists. */
|
|
350
|
+
enabled?: boolean;
|
|
351
|
+
/** Inline @farming-labs/docs config object. */
|
|
352
|
+
config?: FarmDocsRuntimeConfig;
|
|
353
|
+
/** Path to docs.config.* or docs.json. */
|
|
354
|
+
configPath?: string;
|
|
355
|
+
};
|
|
356
|
+
type FarmDocsUserConfig = boolean | FarmDocsConfigInput;
|
|
357
|
+
interface FarmDocsResolvedConfig {
|
|
358
|
+
enabled: boolean;
|
|
359
|
+
entry: string;
|
|
360
|
+
adapter?: FarmDocsAdapterDescriptor;
|
|
361
|
+
contentDir?: string;
|
|
362
|
+
configPath?: string;
|
|
363
|
+
config: FarmDocsRuntimeConfig & Pick<DocsConfig, "entry">;
|
|
364
|
+
/**
|
|
365
|
+
* `config` before it was made serializable: icons and other React elements, MDX
|
|
366
|
+
* components, and callbacks intact. Only the in-process adapter runtime reads it;
|
|
367
|
+
* whatever Farm serializes uses `config`.
|
|
368
|
+
*/
|
|
369
|
+
runtimeConfig?: FarmDocsRuntimeConfig & Pick<DocsConfig, "entry">;
|
|
370
|
+
/** The serializable docs settings from `farm.config.ts`, applied over the config file. */
|
|
371
|
+
configOverrides?: Partial<DocsConfig>;
|
|
372
|
+
}
|
|
373
|
+
|
|
272
374
|
/**
|
|
273
375
|
* Integration auth routes accept ordinary form posts, which browsers send
|
|
274
376
|
* cross-site without a CORS preflight. Without an origin check, a third-party
|
|
@@ -814,6 +916,12 @@ declare function dispatchIntegrationRequest(runtime: RegisteredIntegrationRuntim
|
|
|
814
916
|
* already had the forwarded cookies appended.
|
|
815
917
|
*/
|
|
816
918
|
onForwardedCookies?: (cookies: string[]) => void;
|
|
919
|
+
/**
|
|
920
|
+
* Middleware entries that already ran for this request, shared across dispatches. A
|
|
921
|
+
* `ctx.rewrite()` target is guarded by a second dispatch, which skips these so each guard runs
|
|
922
|
+
* at most once per request, as app middleware does.
|
|
923
|
+
*/
|
|
924
|
+
ranMiddleware?: Set<object>;
|
|
817
925
|
}): Promise<Response | null>;
|
|
818
926
|
/**
|
|
819
927
|
* Run every configured integration's middleware and routes for one request.
|
|
@@ -832,10 +940,17 @@ declare function dispatchIntegrationRequest(runtime: RegisteredIntegrationRuntim
|
|
|
832
940
|
*/
|
|
833
941
|
declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserConfig | undefined, runtime: Omit<RegisteredIntegrationRuntime, "integration">, request: Request, options?: {
|
|
834
942
|
currentRequest?: Request;
|
|
943
|
+
ranMiddleware?: Set<object>;
|
|
835
944
|
}): Promise<{
|
|
836
945
|
response: Response | null;
|
|
837
946
|
setCookies: string[];
|
|
838
947
|
}>;
|
|
948
|
+
/**
|
|
949
|
+
* @internal Runtime config key holding the app's same-origin API path. The built server keeps the
|
|
950
|
+
* user's raw `api` config, whose values may be resolver functions, so the build records the
|
|
951
|
+
* resolved path here; development configs carry the resolved `api` itself.
|
|
952
|
+
*/
|
|
953
|
+
declare const FARM_INTEGRATION_API_BASE_PATH_KEY = "__farmAPIServerBasePath";
|
|
839
954
|
|
|
840
955
|
/**
|
|
841
956
|
* Farm.js Middleware System
|
|
@@ -2203,6 +2318,8 @@ interface FarmMCPServer {
|
|
|
2203
2318
|
readonly name: string;
|
|
2204
2319
|
readonly version: string;
|
|
2205
2320
|
readonly path: `/api/${string}`;
|
|
2321
|
+
readonly title?: string;
|
|
2322
|
+
readonly description?: string;
|
|
2206
2323
|
}
|
|
2207
2324
|
interface FarmMCPAuthorization extends Record<string, unknown> {
|
|
2208
2325
|
/** Stable application principal identifier. Never written to a response or log by Farm. */
|
|
@@ -2237,6 +2354,13 @@ interface FarmMCPConfig {
|
|
|
2237
2354
|
name?: string;
|
|
2238
2355
|
/** MCP server version. @default "1.0.0" */
|
|
2239
2356
|
version?: string;
|
|
2357
|
+
/** Display name, sent in `serverInfo` and the server card. */
|
|
2358
|
+
title?: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* What the server does, sent in `serverInfo` and the server card that
|
|
2361
|
+
* `/.well-known/ai-catalog.json` lists. The card keeps the first 100 characters.
|
|
2362
|
+
*/
|
|
2363
|
+
description?: string;
|
|
2240
2364
|
/** Explicit endpoint/standalone tool allowlist. Omit to discover route-owned MCP metadata. */
|
|
2241
2365
|
tools?: readonly FarmMCPToolDefinition[];
|
|
2242
2366
|
/** Read-only context for agents, from `defineResource()`. */
|
|
@@ -2247,6 +2371,11 @@ interface FarmMCPConfig {
|
|
|
2247
2371
|
authorize?: (context: FarmMCPAuthorizeContext) => FarmMCPAuthorization | false | Promise<FarmMCPAuthorization | false>;
|
|
2248
2372
|
/** Deliberate escape hatch for public servers. Authentication is required by default. */
|
|
2249
2373
|
allowUnauthenticated?: boolean;
|
|
2374
|
+
/**
|
|
2375
|
+
* Most JSON-RPC messages one batched POST may carry. `authorize` runs once per message, so a
|
|
2376
|
+
* larger batch is refused before any of them is authorized. @default 25
|
|
2377
|
+
*/
|
|
2378
|
+
maxBatchSize?: number;
|
|
2250
2379
|
/**
|
|
2251
2380
|
* OAuth discovery for MCP clients. When set, a rejected request's 401 points at
|
|
2252
2381
|
* RFC 9728 Protected Resource Metadata naming these authorization servers, which
|
|
@@ -2275,6 +2404,13 @@ declare function resolveFarmMCPPlugin(config: ResolvedFarmMCPConfig, options: {
|
|
|
2275
2404
|
type JSONSchema = Readonly<Record<string, unknown>>;
|
|
2276
2405
|
/** What a server can say beyond its tool list, for the app manifest. All optional. */
|
|
2277
2406
|
interface FarmMCPCatalogDetails {
|
|
2407
|
+
/**
|
|
2408
|
+
* True when the endpoint answers anonymous clients: it has no `authorize`. The public
|
|
2409
|
+
* `/.well-known/farmjs.json` lists tools, resources and prompts only for such a server.
|
|
2410
|
+
*/
|
|
2411
|
+
public?: boolean;
|
|
2412
|
+
/** MCP protocol versions the endpoint accepts, for its server card. */
|
|
2413
|
+
protocolVersions?: readonly string[];
|
|
2278
2414
|
/** Each tool's input and output JSON Schemas, by tool name. */
|
|
2279
2415
|
schemas?: Readonly<Record<string, {
|
|
2280
2416
|
input: JSONSchema;
|
|
@@ -2301,6 +2437,52 @@ interface FarmMCPCatalogDetails {
|
|
|
2301
2437
|
* the same endpoint. Returns a function that removes it.
|
|
2302
2438
|
*/
|
|
2303
2439
|
declare function _publishFarmMCPCatalog(server: FarmMCPServer, tools: readonly FarmMCPTool[], details?: FarmMCPCatalogDetails): () => void;
|
|
2440
|
+
interface FarmMCPServerRegistrationBase {
|
|
2441
|
+
/** Server name; a reverse-DNS name (`dev.farmjs/docs`) is kept as the card's name. */
|
|
2442
|
+
name: string;
|
|
2443
|
+
version: string;
|
|
2444
|
+
/** Display name for the card and the catalog entry. */
|
|
2445
|
+
title?: string;
|
|
2446
|
+
/** What the server does. The card keeps the first 100 characters. */
|
|
2447
|
+
description?: string;
|
|
2448
|
+
/** MCP protocol versions the endpoint accepts, for its server card. */
|
|
2449
|
+
protocolVersions?: readonly string[];
|
|
2450
|
+
}
|
|
2451
|
+
/**
|
|
2452
|
+
* An MCP server that Farm lists in `/.well-known/ai-catalog.json`, `/.well-known/ard.json`,
|
|
2453
|
+
* and the generated `/llms.txt`, but does not serve: a docs runtime's endpoint, an agent
|
|
2454
|
+
* runtime, or a server on another host. It is not part of the `/.well-known/farmjs.json`
|
|
2455
|
+
* manifest, which lists the tools Farm itself serves.
|
|
2456
|
+
*/
|
|
2457
|
+
type FarmMCPServerRegistration = FarmMCPServerRegistrationBase & ({
|
|
2458
|
+
/**
|
|
2459
|
+
* The Streamable HTTP endpoint's path in this app, below the app's `basePath`.
|
|
2460
|
+
* Taken literally: it is not rewritten through `api.basePath`. Farm serves the
|
|
2461
|
+
* server card at `<path>/server-card`.
|
|
2462
|
+
*/
|
|
2463
|
+
path: `/${string}`;
|
|
2464
|
+
url?: never;
|
|
2465
|
+
} | {
|
|
2466
|
+
/**
|
|
2467
|
+
* An absolute `http(s)` URL of an endpoint on another origin, which serves its
|
|
2468
|
+
* own card at `<url>/server-card`.
|
|
2469
|
+
*/
|
|
2470
|
+
url: string;
|
|
2471
|
+
path?: never;
|
|
2472
|
+
});
|
|
2473
|
+
/**
|
|
2474
|
+
* List an MCP server Farm does not serve itself in the app's AI catalog. Registering
|
|
2475
|
+
* the same endpoint again replaces the earlier entry. Returns a function that removes it.
|
|
2476
|
+
*
|
|
2477
|
+
* ```ts
|
|
2478
|
+
* const unregister = registerFarmMCPServer({
|
|
2479
|
+
* name: "dev.farmjs/agent",
|
|
2480
|
+
* version: "1.0.0",
|
|
2481
|
+
* path: "/agent/mcp",
|
|
2482
|
+
* });
|
|
2483
|
+
* ```
|
|
2484
|
+
*/
|
|
2485
|
+
declare function registerFarmMCPServer(server: FarmMCPServerRegistration): () => void;
|
|
2304
2486
|
interface FarmMCPEndpointTool {
|
|
2305
2487
|
/** The MCP tool name. */
|
|
2306
2488
|
name: string;
|
|
@@ -2554,6 +2736,8 @@ declare function createFarmDefaultLlmsTxt(options: {
|
|
|
2554
2736
|
pages: FarmLlmsTxtPage[];
|
|
2555
2737
|
config: ResolvedFarmLlmsTxtConfig;
|
|
2556
2738
|
rootMetadata?: unknown;
|
|
2739
|
+
/** The app's MCP endpoints and AI catalog, listed in an "MCP" section. */
|
|
2740
|
+
mcp?: FarmLlmsTxtLink[];
|
|
2557
2741
|
}): FarmLlmsTxt;
|
|
2558
2742
|
/**
|
|
2559
2743
|
* Reads a page's Markdown the way an agent would: a fresh `.md` request with no
|
|
@@ -2727,11 +2911,45 @@ interface FarmAgentRobotsOptions {
|
|
|
2727
2911
|
/** The robots.txt `agent.crawlers` serves. */
|
|
2728
2912
|
declare function createFarmAgentRobots(options: FarmAgentRobotsOptions): MetadataRoute.Robots;
|
|
2729
2913
|
|
|
2914
|
+
interface FarmAgentSitemapUserConfig {
|
|
2915
|
+
/** Set to `false` to turn the sitemap off while keeping these options. */
|
|
2916
|
+
enabled?: boolean;
|
|
2917
|
+
/** Route patterns to list, such as `/blog/[...slug]`. Defaults to every static page. */
|
|
2918
|
+
include?: string[];
|
|
2919
|
+
/** Route patterns to leave out, such as `/admin/[...path]`. */
|
|
2920
|
+
exclude?: string[];
|
|
2921
|
+
}
|
|
2922
|
+
interface ResolvedFarmAgentSitemap {
|
|
2923
|
+
enabled: boolean;
|
|
2924
|
+
include: string[];
|
|
2925
|
+
exclude: string[];
|
|
2926
|
+
}
|
|
2927
|
+
interface FarmSitemapPageSource {
|
|
2928
|
+
pattern: string;
|
|
2929
|
+
/** The page module, for its `metadata` and whether a route `guard` gates it. */
|
|
2930
|
+
module?: unknown;
|
|
2931
|
+
/** When the page's file last changed, as an ISO date. */
|
|
2932
|
+
lastModified?: string;
|
|
2933
|
+
}
|
|
2934
|
+
/**
|
|
2935
|
+
* The generated sitemap's entries. Dynamic routes have no single URL and are left out,
|
|
2936
|
+
* as are pages whose metadata says noindex and pages behind a route `guard`. URLs are
|
|
2937
|
+
* absolute, on the root layout's `metadataBase` when it has one and the request's
|
|
2938
|
+
* origin otherwise, the same origin the generated llms.txt links to.
|
|
2939
|
+
*/
|
|
2940
|
+
declare function createFarmDefaultSitemap(sources: Iterable<FarmSitemapPageSource>, options: {
|
|
2941
|
+
origin: string;
|
|
2942
|
+
config: ResolvedFarmAgentSitemap;
|
|
2943
|
+
metadataBase?: unknown;
|
|
2944
|
+
basePath?: string;
|
|
2945
|
+
}): MetadataRoute.Sitemap;
|
|
2946
|
+
|
|
2730
2947
|
/**
|
|
2731
2948
|
* Agent-readiness configuration: primitives that make a Farm site easier for AI agents and
|
|
2732
2949
|
* crawlers to discover, resolve, and use. The ones that only describe the site agents can
|
|
2733
|
-
* already read (JSON-LD, llms.txt
|
|
2734
|
-
*
|
|
2950
|
+
* already read (JSON-LD, llms.txt, the sitemap, and the AI catalog of MCP servers the app
|
|
2951
|
+
* already serves, plus a read-only MCP server over the same public pages) are on by default; the
|
|
2952
|
+
* ones that expose more (crawler rules, an API catalog) are opt-in. Each one turns off with `false`.
|
|
2735
2953
|
*/
|
|
2736
2954
|
|
|
2737
2955
|
/** schema.org JSON-LD emitted in the document head to identify the site. */
|
|
@@ -2786,6 +3004,18 @@ interface FarmAgentUserConfig {
|
|
|
2786
3004
|
* @default { full: false } without docs, false with docs
|
|
2787
3005
|
*/
|
|
2788
3006
|
llmsTxt?: boolean | FarmLlmsTxtUserConfig;
|
|
3007
|
+
/**
|
|
3008
|
+
* Serve `/sitemap.xml` listing the app's static pages, the same pages the generated
|
|
3009
|
+
* llms.txt lists, each with the time its page file last changed. Dynamic routes,
|
|
3010
|
+
* pages whose metadata says noindex, and pages behind a route `guard` are left out.
|
|
3011
|
+
* URLs use the root layout's `metadataBase`, or the request's origin without one. An
|
|
3012
|
+
* object sets which routes to list. A `src/app/sitemap.ts` or `public/sitemap.xml`
|
|
3013
|
+
* replaces the generated file. Left unset, it is served unless the docs engine is
|
|
3014
|
+
* enabled, which serves its own.
|
|
3015
|
+
*
|
|
3016
|
+
* @default true without docs, false with docs
|
|
3017
|
+
*/
|
|
3018
|
+
sitemap?: boolean | FarmAgentSitemapUserConfig;
|
|
2789
3019
|
/**
|
|
2790
3020
|
* Serve a generated `/robots.txt` that allows or blocks AI search agents
|
|
2791
3021
|
* (`search`) and AI training crawlers (`training`), plus your own `rules`.
|
|
@@ -2804,13 +3034,50 @@ interface FarmAgentUserConfig {
|
|
|
2804
3034
|
* @default false
|
|
2805
3035
|
*/
|
|
2806
3036
|
apiCatalog?: boolean;
|
|
3037
|
+
/**
|
|
3038
|
+
* Advertise the app's MCP servers (the top-level `mcp` config, `apiMcp()`, and
|
|
3039
|
+
* endpoints listed with `registerFarmMCPServer`, such as the docs engine's):
|
|
3040
|
+
* `/.well-known/ai-catalog.json` (and `/.well-known/ard.json`) lists a server
|
|
3041
|
+
* card for each, served at `<endpoint>/server-card`, and the generated
|
|
3042
|
+
* `/llms.txt` names each endpoint. Nothing is served when the app has no MCP
|
|
3043
|
+
* server. `false` turns all of it off.
|
|
3044
|
+
*
|
|
3045
|
+
* @default true
|
|
3046
|
+
*/
|
|
3047
|
+
aiCatalog?: boolean;
|
|
3048
|
+
/**
|
|
3049
|
+
* Serve `/.well-known/farmjs.json`: Farm's version and packages, the app's MCP tools and
|
|
3050
|
+
* their schemas, WebMCP browser tools, integration providers and plugin names, to any
|
|
3051
|
+
* client. An MCP server that requires `authorize` is listed without its tools. `false`
|
|
3052
|
+
* turns it off; Farm Infra then can't discover the app's tools either.
|
|
3053
|
+
*
|
|
3054
|
+
* @default true
|
|
3055
|
+
*/
|
|
3056
|
+
manifest?: boolean;
|
|
3057
|
+
/**
|
|
3058
|
+
* Serve a read-only MCP server (Streamable HTTP) at `/mcp` with tools that list,
|
|
3059
|
+
* search, and read the app's public pages as Markdown: the static pages llms.txt and
|
|
3060
|
+
* the sitemap list, without pages whose metadata says noindex or pages behind a route
|
|
3061
|
+
* `guard`. Pages are read like an anonymous visitor, never with the caller's cookies.
|
|
3062
|
+
* It steps aside when the app has an MCP server of its own: a route that answers
|
|
3063
|
+
* `/mcp`, an API route at `/api/mcp`, the top-level `mcp` config or `apiMcp()`, or a
|
|
3064
|
+
* server listed with `registerFarmMCPServer` (the docs engine's MCP). Left unset, it
|
|
3065
|
+
* is served unless the docs engine is enabled, which serves its own.
|
|
3066
|
+
*
|
|
3067
|
+
* @default true without docs, false with docs
|
|
3068
|
+
*/
|
|
3069
|
+
mcp?: boolean;
|
|
2807
3070
|
}
|
|
2808
3071
|
interface ResolvedFarmAgentConfig {
|
|
2809
3072
|
jsonLd: FarmAgentJsonLd | false;
|
|
2810
3073
|
noindexPreviews: boolean;
|
|
2811
3074
|
llmsTxt: ResolvedFarmLlmsTxtConfig;
|
|
3075
|
+
sitemap: ResolvedFarmAgentSitemap;
|
|
2812
3076
|
crawlers: ResolvedFarmAgentCrawlers;
|
|
2813
3077
|
apiCatalog: boolean;
|
|
3078
|
+
aiCatalog: boolean;
|
|
3079
|
+
manifest: boolean;
|
|
3080
|
+
mcp: boolean;
|
|
2814
3081
|
}
|
|
2815
3082
|
|
|
2816
3083
|
declare global {
|
|
@@ -3245,6 +3512,8 @@ interface RouteModule<TRoute extends FarmRoutePropsTarget = FarmRoutePropsDefaul
|
|
|
3245
3512
|
generateStaticParams?: GenerateStaticParams<TRoute>;
|
|
3246
3513
|
metadata?: Metadata & Record<string, any>;
|
|
3247
3514
|
generateMetadata?: (props: MetadataProps<TRoute>) => Promise<Metadata> | Metadata;
|
|
3515
|
+
viewport?: Viewport;
|
|
3516
|
+
generateViewport?: (props: MetadataProps<TRoute>) => Promise<Viewport> | Viewport;
|
|
3248
3517
|
}
|
|
3249
3518
|
/** A value accepted for one static route parameter. */
|
|
3250
3519
|
type StaticPathPrimitive = string | number | boolean;
|
|
@@ -3275,9 +3544,33 @@ interface LayoutModule<TRoute extends FarmRoutePropsTarget = FarmRoutePropsDefau
|
|
|
3275
3544
|
maxDuration?: FarmRouteMaxDuration;
|
|
3276
3545
|
metadata?: Metadata & Record<string, any>;
|
|
3277
3546
|
generateMetadata?: (props: LayoutMetadataProps<TRoute>) => Promise<Metadata> | Metadata;
|
|
3547
|
+
viewport?: Viewport;
|
|
3548
|
+
generateViewport?: (props: LayoutMetadataProps<TRoute>) => Promise<Viewport> | Viewport;
|
|
3278
3549
|
}
|
|
3279
3550
|
/** A schema.org JSON-LD object, such as `{ "@context": "https://schema.org", "@type": "Article" }`. */
|
|
3280
3551
|
type MetadataJsonLd = object;
|
|
3552
|
+
/** A `theme-color` entry, optionally for one `prefers-color-scheme` media query. */
|
|
3553
|
+
interface ThemeColorDescriptor {
|
|
3554
|
+
color: string;
|
|
3555
|
+
media?: string;
|
|
3556
|
+
}
|
|
3557
|
+
/**
|
|
3558
|
+
* The `viewport` export of a layout or page, and the return value of `generateViewport()`, as in
|
|
3559
|
+
* Next.js. Layouts and the page merge from root to page over the default
|
|
3560
|
+
* `width=device-width, initial-scale=1`.
|
|
3561
|
+
*/
|
|
3562
|
+
interface Viewport {
|
|
3563
|
+
width?: string | number;
|
|
3564
|
+
height?: string | number;
|
|
3565
|
+
initialScale?: number;
|
|
3566
|
+
minimumScale?: number;
|
|
3567
|
+
maximumScale?: number;
|
|
3568
|
+
userScalable?: boolean;
|
|
3569
|
+
viewportFit?: "auto" | "cover" | "contain";
|
|
3570
|
+
interactiveWidget?: "resizes-visual" | "resizes-content" | "overlays-content";
|
|
3571
|
+
themeColor?: string | ThemeColorDescriptor | ThemeColorDescriptor[];
|
|
3572
|
+
colorScheme?: string;
|
|
3573
|
+
}
|
|
3281
3574
|
interface Metadata {
|
|
3282
3575
|
metadataBase?: string | URL;
|
|
3283
3576
|
/** `absolute` names a page exactly, past any parent `template` (as in Next.js). */
|
|
@@ -3468,4 +3761,4 @@ interface MetadataRobots extends MetadataRobotsDirectives {
|
|
|
3468
3761
|
googleBot?: string | MetadataRobotsDirectives;
|
|
3469
3762
|
}
|
|
3470
3763
|
|
|
3471
|
-
export { type FarmContextFactoryInput as $, createFarmMarkdownErrorBody as A, farmRequestWantsMarkdown as B, type FarmUserConfig as C, type FarmAgentJsonLd as D, type FarmContextFactory as E, type FarmRouteRuntimeConfig as F, type MiddlewareProps as G, type BundleResultPayload as H, type FarmIntegration as I, type FarmConfig as J, farmPlugin as K, type LayoutProps as L, type Metadata as M, defineConfig as N, resolveFarmMCPConfig as O, type ParsedRoute as P, resolveFarmMCPPlugin as Q, type RouteSegment as R, type FarmMCPUserConfig as S, type FarmComponentType as T, type AppRoutePattern as U, type PageRouteParams as V, type NitroPreset as W, type FarmMigrationCommand as X, type FarmMigrationsConfig as Y, type FarmMigrationsUserConfig as Z, type ResolvedFarmMigrationsConfig as _, type FarmPlugin as a, manageFarmHtmlPreloads as a$, type FarmIsolatedClientHydrationMode as a0, type LoadingProps as a1, type ErrorProps as a2, type PagePropsWithMiddleware as a3, type MetadataProps as a4, type LayoutMetadataProps as a5, type Page as a6, type Layout as a7, type Loading as a8, type ErrorBoundary as a9, type MiddlewareConfig$1 as aA, type MiddlewareContext as aB, _findFarmMCPEndpointTool as aC, _publishFarmMCPCatalog as aD, type FarmMCPCatalogDetails as aE, type ResolvedFarmRouteRuntimeConfig as aF, type ApplicationMetadataRouteKind as aG, type ResolvedFarmAPIConfig as aH, type FarmMarkdownResolvedConfig as aI, type ResolvedFarmDevtoolsConfig as aJ, type ResolvedFarmDevIndicatorsConfig as aK, type ResolvedFarmAuthConfig as aL, type ResolvedFarmPerformanceConfig as aM, type ResolvedFarmSecurityConfig as aN, type APIRequestRuntime as aO, type ResolvedFarmMCPConfig as aP, createFarmMetadataRouteResponse as aQ, createFarmAgentRobots as aR, collectFarmLlmsTxtPages as aS, createFarmDefaultLlmsTxt as aT, createFarmLlmsMarkdownReader as aU, renderFarmLlmsFullTxt as aV, createFarmLlmsFullRenderer as aW, resolveFarmLlmsTxtConfig as aX, type FarmLlmsTxtUserConfig as aY, type ResolvedFarmLlmsTxtConfig as aZ, manageFarmDocumentPreloads as a_, type StaticPathPrimitive as aa, type StaticPathParams as ab, type StaticRouteParams as ac, type GenerateStaticParams as ad, type LayoutModule as ae, type MetadataJsonLd as af, type ServerAction as ag, type BuildOptions as ah, type SSGPage as ai, type SSGCollectionResult as aj, type MetadataRobotsDirectives as ak, type MetadataRobots as al, type FarmLayerEntry as am, type ResolvedFarmLayer as an, type FarmSourceRoot as ao, type ResolveFarmLayersOptions as ap, type FarmLayerResolution as aq, resolveFarmLayers as ar, getFarmSourceRoots as as, getFarmAppDirectories as at, getFarmLayerAliases as au, createFarmConfigResolutionPlugin as av, loadFarmConfigFile as aw, type ReadonlyMiddlewareStore as ax, type FarmMiddlewareConfig as ay, type MiddlewareModule as az, isFarmRedirectError as b, type FarmMCPPromptMessage as b$, manageFarmLinkHeaderPreloads as b0, reportFarmPreloadWarnings as b1, applyFarmCspNonceToResponse as b2, resolveFarmSecurityConfig as b3, type ResolvedSchemaField as b4, type FarmSqlDialect as b5, type FarmSqlStatement as b6, type CollectedSchemaModel as b7, type FarmSchemaMigrationStep as b8, type OpenAPIConfig as b9, type ResolvedFarmPreloadConfig as bA, type FarmCspConfig as bB, type FarmCspDirectives as bC, type FarmCspDirectiveValue as bD, type FarmCspOptions as bE, type FarmSecurityConfig as bF, type ResolvedFarmCspConfig as bG, MetadataRoute as bH, type MetadataRouteContext as bI, type FarmMCPEndpointTool as bJ, type FarmAuthConfig as bK, type FarmAuthDatabaseConfig as bL, type FarmAuthEmailAndPasswordConfig as bM, type FarmAuthSessionConfig as bN, type FarmAuthUserConfig as bO, type FarmMCPAuthorization as bP, type FarmMCPEndpoint as bQ, type FarmMCPServerFunction as bR, type FarmMCPToolDefinition as bS, type FarmMCPStandaloneTool as bT, type FarmMCPExecuteContext as bU, type FarmMCPTool as bV, type FarmMCPServer as bW, type FarmMCPAuthorizeContext as bX, type FarmMCPConfig as bY, type FarmMCPOAuthConfig as bZ, type FarmMCPPrompt as b_, type FarmAgentUserConfig as ba, type FarmAgentCrawlers as bb, type FarmCrawlerPolicy as bc, definePlugin as bd, FarmRuntimeShutdownError as be, PluginManager as bf, type FarmPluginDatabase as bg, type FarmPluginDefinition as bh, FarmPluginOptionsError as bi, type FarmPluginFactory as bj, type FarmPluginOptionsIssue as bk, type FarmPluginOptionsSchema as bl, type InferPluginOptionsInput as bm, type InferPluginOptionsOutput as bn, resolveConfig as bo, loadConfig as bp, resolveDeployConfig as bq, resolveMigrationsConfig as br, resolveDeployOutputPath as bs, normalizeDeployTarget as bt, getDeployTargetForPreset as bu, getPresetForDeployTarget as bv, type FarmLayerConfig as bw, type FarmPerformanceConfig as bx, type FarmPreloadMode as by, type FarmPreloadUserConfig as bz, type FarmRedirectSignal as c, quoteSqlIdentifier as c$, type FarmMCPResource as c0, type FarmMCPResourceContent as c1, type FarmMCPResourceContext as c2, type FarmMCPResourceListing as c3, type PluginRequestContext as c4, type FarmPluginIntegrationContext as c5, type FarmPluginLifecycle as c6, type FarmRequestPluginContext as c7, type FarmRequestStore as c8, type FarmPluginRuntimeKind as c9, type RouteMatchPayload as cA, type RouteMatchResultPayload as cB, type RenderLifecyclePayload as cC, type APIHandlerLifecyclePayload as cD, type ErrorLifecyclePayload as cE, type HMRUpdatePayload as cF, type BundleLifecyclePayload as cG, type NitroBuildLifecyclePayload as cH, type ShutdownPayload as cI, type ResolvedFarmConfig as cJ, type RedirectConfig as cK, type HeaderConfig as cL, type RewriteConfig as cM, type ImageConfig as cN, type I18nConfig as cO, type MiddlewareConfig as cP, type FarmDeployConfig as cQ, type ResolvedFarmDeployConfig as cR, type FarmDeployTarget as cS, type FarmMarkdownUserConfig as cT, describeSchemaReference as cU, collectSchemaModels as cV, generateSqlStatements as cW, renderSqlSchemaFile as cX, getSqlColumnType as cY, getSqlDefaultExpression as cZ, isNullableField as c_, type FarmPluginRouteRuntimePayload as ca, type FarmPluginSetupContext as cb, type FarmPluginStateContext as cc, type FarmPluginRuntimeBaseEvent as cd, type FarmPluginRuntimeContextEvent as ce, type FarmPluginRuntimeEndpoint as cf, type FarmPluginRuntimeEndpointEvent as cg, type FarmPluginRuntimeBeforeEvent as ch, type FarmPluginRuntimeAfterEvent as ci, type FarmPluginRuntimeErrorEvent as cj, type FarmPluginRuntimeStartEvent as ck, type FarmPluginRuntimeCloseEvent as cl, type FarmPluginRuntimeHooks as cm, type FarmPluginRuntimeRequestOptions as cn, type FarmPluginRuntimeRequestHandler as co, type FarmPluginRuntimeSession as cp, type FarmPluginDiscoveredRoute as cq, type FarmPluginRouterHooks as cr, type FarmPluginRenderHooks as cs, type FarmPluginBuildHooks as ct, type FarmPluginDevHooks as cu, type FarmPluginClientConfig as cv, type RouteDiscoveredPayload as cw, type RoutesGeneratedPayload as cx, type MiddlewareDiscoveredPayload as cy, type APIRouteDiscoveredPayload as cz, type FarmRedirectStatus as d, getFarmIntegrationPluginOwner as d$, toSnakeCase as d0, toPascalCase as d1, toCamelCase as d2, escapeSqlString as d3, resolveSchemaModels as d4, type ResolvedSchemaModel as d5, type FarmIntegrationCategory as d6, type FarmIntegrationSlot as d7, type FarmIntegrationRouteParamValue as d8, type FarmIntegrationRouteParams as d9, type FarmIntegrationHandlerContext as dA, type FarmIntegrationRouteHookContext as dB, type FarmIntegrationRouteHook as dC, type FarmIntegrationRoute as dD, type FarmTypedIntegrationRoute as dE, type FarmIntegrationRouteMiddleware as dF, type FarmIntegrationMiddleware as dG, type FarmIntegrationProviderProps as dH, type FarmIntegrationProviderComponentReference as dI, type FarmIntegrationProvider as dJ, type FarmIntegrationDocumentNavigation as dK, type FarmIntegrationSchemaFieldType as dL, type FarmIntegrationSchemaReference as dM, type FarmIntegrationSchemaField as dN, type FarmIntegrationSchemaConstraint as dO, type FarmIntegrationSchemaModel as dP, type FarmIntegrationSchemaModelExtension as dQ, type FarmIntegrationSchemaModelOverride as dR, type FarmIntegrationSchema as dS, defineIntegrationSchema as dT, type FarmIntegrationLogPhase as dU, type FarmIntegrationLogEvent as dV, type FarmIntegrationLogger as dW, type FarmIntegrationPluginOwner as dX, type FarmIntegrationContributedPlugin as dY, type FarmIntegrationsUserConfig as dZ, getFarmIntegrationPluginServerRuntime as d_, type FarmIntegrationRouteMethod as da, type FarmIntegrationRouteInputSource as db, type FarmIntegrationValidationPathSegment as dc, type FarmIntegrationRouteInput as dd, type FarmIntegrationValidationIssue as de, type FarmIntegrationValidationErrorLike as df, type FarmIntegrationValidationResult as dg, type FarmIntegrationStandardValidationResult as dh, type FarmIntegrationInputSchema as di, type FarmIntegrationRouteInputSchemas as dj, type FarmIntegrationRequestContextStore as dk, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as dl, FARM_INTEGRATION_SET_COOKIES_KEY as dm, forwardIntegrationSetCookies as dn, type FarmIntegrationRouteDb as dp, type FarmIntegrationRouteStorageArgs as dq, type FarmIntegrationRouteArgs as dr, type FarmIntegrationConfigContext as ds, type FarmIntegrationConfigDefinition as dt, type FarmIntegrationConfigInput as du, type FarmIntegrationLifecycleLogLevel as dv, type FarmIntegrationLifecycleLogger as dw, type FarmIntegrationLifecycleContext as dx, type FarmIntegrationLifecycleHook as dy, type FarmIntegrationData as dz, type FarmRequest as e, type NextFunction as e$, type FarmIntegrationRouteFactory as e0, type FarmIntegrationRoutesFactoryContext as e1, type FarmIntegrationRoutesFactory as e2, type FarmIntegrationEndpointValue as e3, type FarmIntegrationEndpoints as e4, type FarmIntegrationEndpointsFactoryContext as e5, type FarmIntegrationEndpointsFactory as e6, createIntegrationRoute as e7, integrationRoute as e8, type DefinedIntegration as e9, type InferFarmIntegrationOrmClient as eA, type CreateIntegrationOrmOptions as eB, createIntegrationOrm as eC, resolveIntegrationOrmRuntimeClient as eD, farmIntegrationSchemaToOrmSchema as eE, type IntegrationOrmModelNames as eF, DEFAULT_FARM_API_BASE_PATH as eG, type FarmAPIConfigResolverContext as eH, type FarmAPIConfigValue as eI, type FarmAPIConfig as eJ, resolveFarmAPIConfig as eK, normalizeFarmAPIConfig as eL, normalizeFarmAPIBasePath as eM, getFarmAPIBaseURL as eN, resolveFarmAPIRequestURL as eO, type MiddlewareFunction as eP, type RequestMiddleware as eQ, type RequestMiddlewareContext as eR, type MiddlewareStore as eS, type MiddlewareChain as eT, type CookieJar as eU, type CookieOptions as eV, type RateLimitConfig as eW, type RateLimitIncrementResult as eX, type RateLimitStorage as eY, type RateLimitStatus as eZ, type MemoryRateLimitStorageOptions as e_, defineIntegration as ea, isFarmIntegration as eb, resolveIntegrationPlugins as ec, getIntegrationProviders as ed, isFarmIntegrationProviderComponentReference as ee, getIntegrationDocumentNavigationMatchers as ef, getIntegrationSchemas as eg, getRegisteredIntegrationRuntime as eh, getRegisteredIntegrations as ei, getRegisteredIntegrationSchemas as ej, matchIntegrationRoute as ek, matchRegisteredIntegrationRoute as el, getRegisteredIntegrationAPIManifest as em, dispatchIntegrationRequest as en, dispatchIntegrationRequests as eo, describeIntegrationOriginRejection as ep, resolveIntegrationAllowedOrigins as eq, validateIntegrationRequestOrigin as er, type IntegrationOriginPolicy as es, type IntegrationOriginRejection as et, type IntegrationOriginResult as eu, type FarmIntegrationOrmSchema as ev, type FarmIntegrationOrmClient as ew, type InferFarmIntegrationOrmField as ex, type InferFarmIntegrationOrmFields as ey, type InferFarmIntegrationOrmSchema as ez, type FarmResponse as f, FARM_NODE_RESPONSE_END_PENDING as f$, type MiddlewareResult as f0, type FarmRouteRuleRenderMode as f1, type FarmRouteRuleRedirect as f2, type FarmRouteRuleCors as f3, type FarmRouteRule as f4, type FarmRouteRules as f5, normalizeRouteRules as f6, routeRulesToRedirects as f7, routeRulesToHeaders as f8, routeRulesToNitroRouteRules as f9, getFarmMarkdownAlternatePath as fA, isFarmMarkdownMirrorExposed as fB, matchesFarmMarkdownRoutePattern as fC, type FarmPageFormOption as fD, type FarmPageFormField as fE, type FarmPageFormSubmit as fF, type FarmPageFormAction as fG, extractFarmPageActions as fH, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fI, FARM_DEVTOOLS_PATH as fJ, FARM_DEVTOOLS_LAUNCH_PARAM as fK, type FarmDevtoolsConfig as fL, type FarmDevtoolsUserConfig as fM, resolveFarmDevtoolsConfig as fN, type FarmBuildActivityPosition as fO, type FarmDevIndicatorsConfig as fP, resolveFarmDevIndicatorsConfig as fQ, generateFarmDevIndicatorsClientRuntime as fR, farmI18nClientBridgePlugin as fS, farmServerOnlyEntriesPlugin as fT, withFarmRequestTracing as fU, rewriteEarlySsrRelativeImports as fV, transformIsolatedClientBoundaryModule as fW, shouldEmitFarmClientRootHmr as fX, generateClientCachePersistenceCode as fY, resolveFarmClientCacheAdapterEntry as fZ, type ClientCachePersistenceEntryCode as f_, type FarmRouteRuntimeEntryKind as fa, type FarmRouteRenderingMode as fb, type FarmRouteRuntimeManifestEntry as fc, type FarmRouteRuntimeManifest as fd, normalizeFarmRouteRuntimeConfig as fe, mergeFarmRouteRuntimeConfigs as ff, resolveFarmRouteRuntimeConfig as fg, hasFarmRouteRuntimeControls as fh, getFarmRouteRuntimeConfig as fi, createFarmRouteRuntimeKey as fj, resolveFarmRouteRuleRuntimeConfig as fk, farmRouteRuleMatches as fl, type FarmMarkdownRouteInput as fm, type FarmMarkdownResolvedRoute as fn, type FarmMarkdownMirrorTarget as fo, type ResolveMarkdownMirrorTargetOptions as fp, type CreateMarkdownMirrorResponseOptions as fq, type ApplyMarkdownNegotiationHeadersOptions as fr, resolveMarkdownConfig as fs, resolveMarkdownMirrorTarget as ft, createMarkdownMirrorResponse as fu, applyMarkdownNegotiationHeaders as fv, htmlToMarkdown as fw, farmAcceptQuality as fx, requestAcceptsMarkdown as fy, getFarmMarkdownMirrorPath as fz, getFarmRedirectError as g, loadFarmDevModule as g0, FarmDevEnvironmentError as g1, type FarmDevModuleServer as g2, type FarmPluginContext as h, isFarmNotFoundError as i, type FarmRouteRuntime as j, type FarmRouteRegions as k, type FarmRouteMaxDuration as l, type FarmAppContext as m, notFound as n, type PageProps as o, permanentRedirect as p, type PluginContextProps as q, redirect as r, type RouteModule as s, type FarmMdxComponents as t, type FarmMdxResolvedConfig as u, resolveFarmMdxComponentsModulePath as v, resolveMdxConfig as w, type FarmMdxComponent as x, type FarmMdxUserConfig as y, FARM_MARKDOWN_CONTENT_TYPE as z };
|
|
3764
|
+
export { type FarmIsolatedClientHydrationMode as $, createFarmMarkdownErrorBody as A, farmRequestWantsMarkdown as B, type FarmUserConfig as C, type FarmContextFactory as D, type MiddlewareProps as E, type FarmRouteRuntimeConfig as F, type BundleResultPayload as G, type FarmIntegration as H, type FarmConfig as I, farmPlugin as J, defineConfig as K, type LayoutProps as L, type Metadata as M, resolveFarmMCPConfig as N, resolveFarmMCPPlugin as O, type ParsedRoute as P, type FarmMCPUserConfig as Q, type RouteSegment as R, type FarmComponentType as S, type AppRoutePattern as T, type PageRouteParams as U, type NitroPreset as V, type FarmMigrationCommand as W, type FarmMigrationsConfig as X, type FarmMigrationsUserConfig as Y, type ResolvedFarmMigrationsConfig as Z, type FarmContextFactoryInput as _, type FarmPlugin as a, type FarmCrawlerPolicy as a$, type LoadingProps as a0, type ErrorProps as a1, type PagePropsWithMiddleware as a2, type MetadataProps as a3, type LayoutMetadataProps as a4, type Page as a5, type Layout as a6, type Loading as a7, type ErrorBoundary as a8, type StaticPathPrimitive as a9, type MiddlewareModule as aA, type MiddlewareConfig$1 as aB, type MiddlewareContext as aC, type FarmAgentJsonLd as aD, type FarmMCPServerRegistration as aE, type FarmMarkdownResolvedConfig as aF, _findFarmMCPEndpointTool as aG, _publishFarmMCPCatalog as aH, registerFarmMCPServer as aI, type FarmMCPCatalogDetails as aJ, type ResolvedFarmRouteRuntimeConfig as aK, type ApplicationMetadataRouteKind as aL, type ResolvedFarmAPIConfig as aM, type FarmDocsResolvedConfig as aN, type ResolvedFarmDevtoolsConfig as aO, type ResolvedFarmDevIndicatorsConfig as aP, type ResolvedFarmAuthConfig as aQ, type ResolvedFarmPerformanceConfig as aR, type ResolvedFarmSecurityConfig as aS, type ResolvedSchemaField as aT, type FarmSqlDialect as aU, type FarmSqlStatement as aV, type CollectedSchemaModel as aW, type FarmSchemaMigrationStep as aX, type OpenAPIConfig as aY, type FarmAgentUserConfig as aZ, type FarmAgentCrawlers as a_, type StaticPathParams as aa, type StaticRouteParams as ab, type GenerateStaticParams as ac, type LayoutModule as ad, type MetadataJsonLd as ae, type ThemeColorDescriptor as af, type Viewport as ag, type ServerAction as ah, type BuildOptions as ai, type SSGPage as aj, type SSGCollectionResult as ak, type MetadataRobotsDirectives as al, type MetadataRobots as am, type FarmLayerEntry as an, type ResolvedFarmLayer as ao, type FarmSourceRoot as ap, type ResolveFarmLayersOptions as aq, type FarmLayerResolution as ar, resolveFarmLayers as as, getFarmSourceRoots as at, getFarmAppDirectories as au, getFarmLayerAliases as av, createFarmConfigResolutionPlugin as aw, loadFarmConfigFile as ax, type ReadonlyMiddlewareStore as ay, type FarmMiddlewareConfig as az, isFarmRedirectError as b, type FarmPluginSetupContext as b$, definePlugin as b0, FarmRuntimeShutdownError as b1, PluginManager as b2, type FarmPluginDatabase as b3, type FarmPluginDefinition as b4, FarmPluginOptionsError as b5, type FarmPluginFactory as b6, type FarmPluginOptionsIssue as b7, type FarmPluginOptionsSchema as b8, type InferPluginOptionsInput as b9, type FarmAuthSessionConfig as bA, type FarmAuthUserConfig as bB, type FarmMCPAuthorization as bC, type FarmMCPEndpoint as bD, type FarmMCPServerFunction as bE, type FarmMCPToolDefinition as bF, type FarmMCPStandaloneTool as bG, type FarmMCPExecuteContext as bH, type FarmMCPTool as bI, type FarmMCPServer as bJ, type FarmMCPAuthorizeContext as bK, type FarmMCPConfig as bL, type FarmMCPOAuthConfig as bM, type FarmMCPPrompt as bN, type FarmMCPPromptMessage as bO, type FarmMCPResource as bP, type FarmMCPResourceContent as bQ, type FarmMCPResourceContext as bR, type FarmMCPResourceListing as bS, type ResolvedFarmMCPConfig as bT, type PluginRequestContext as bU, type FarmPluginIntegrationContext as bV, type FarmPluginLifecycle as bW, type FarmRequestPluginContext as bX, type FarmRequestStore as bY, type FarmPluginRuntimeKind as bZ, type FarmPluginRouteRuntimePayload as b_, type InferPluginOptionsOutput as ba, resolveConfig as bb, loadConfig as bc, resolveDeployConfig as bd, resolveMigrationsConfig as be, resolveDeployOutputPath as bf, normalizeDeployTarget as bg, getDeployTargetForPreset as bh, getPresetForDeployTarget as bi, type FarmLayerConfig as bj, type FarmPerformanceConfig as bk, type FarmPreloadMode as bl, type FarmPreloadUserConfig as bm, type ResolvedFarmPreloadConfig as bn, type FarmCspConfig as bo, type FarmCspDirectives as bp, type FarmCspDirectiveValue as bq, type FarmCspOptions as br, type FarmSecurityConfig as bs, type ResolvedFarmCspConfig as bt, MetadataRoute as bu, type MetadataRouteContext as bv, type FarmMCPEndpointTool as bw, type FarmAuthConfig as bx, type FarmAuthDatabaseConfig as by, type FarmAuthEmailAndPasswordConfig as bz, type FarmRedirectSignal as c, type FarmIntegrationRouteMethod as c$, type FarmPluginStateContext as c0, type FarmPluginRuntimeBaseEvent as c1, type FarmPluginRuntimeContextEvent as c2, type FarmPluginRuntimeEndpoint as c3, type FarmPluginRuntimeEndpointEvent as c4, type FarmPluginRuntimeBeforeEvent as c5, type FarmPluginRuntimeAfterEvent as c6, type FarmPluginRuntimeErrorEvent as c7, type FarmPluginRuntimeStartEvent as c8, type FarmPluginRuntimeCloseEvent as c9, type RewriteConfig as cA, type ImageConfig as cB, type I18nConfig as cC, type MiddlewareConfig as cD, type FarmDeployConfig as cE, type ResolvedFarmDeployConfig as cF, type FarmDeployTarget as cG, type FarmDocsUserConfig as cH, type FarmMarkdownUserConfig as cI, describeSchemaReference as cJ, collectSchemaModels as cK, generateSqlStatements as cL, renderSqlSchemaFile as cM, getSqlColumnType as cN, getSqlDefaultExpression as cO, isNullableField as cP, quoteSqlIdentifier as cQ, toSnakeCase as cR, toPascalCase as cS, toCamelCase as cT, escapeSqlString as cU, resolveSchemaModels as cV, type ResolvedSchemaModel as cW, type FarmIntegrationCategory as cX, type FarmIntegrationSlot as cY, type FarmIntegrationRouteParamValue as cZ, type FarmIntegrationRouteParams as c_, type FarmPluginRuntimeHooks as ca, type FarmPluginRuntimeRequestOptions as cb, type FarmPluginRuntimeRequestHandler as cc, type FarmPluginRuntimeSession as cd, type FarmPluginDiscoveredRoute as ce, type FarmPluginRouterHooks as cf, type FarmPluginRenderHooks as cg, type FarmPluginBuildHooks as ch, type FarmPluginDevHooks as ci, type FarmPluginClientConfig as cj, type RouteDiscoveredPayload as ck, type RoutesGeneratedPayload as cl, type MiddlewareDiscoveredPayload as cm, type APIRouteDiscoveredPayload as cn, type RouteMatchPayload as co, type RouteMatchResultPayload as cp, type RenderLifecyclePayload as cq, type APIHandlerLifecyclePayload as cr, type ErrorLifecyclePayload as cs, type HMRUpdatePayload as ct, type BundleLifecyclePayload as cu, type NitroBuildLifecyclePayload as cv, type ShutdownPayload as cw, type ResolvedFarmConfig as cx, type RedirectConfig as cy, type HeaderConfig as cz, type FarmRedirectStatus as d, defineIntegration as d$, type FarmIntegrationRouteInputSource as d0, type FarmIntegrationValidationPathSegment as d1, type FarmIntegrationRouteInput as d2, type FarmIntegrationValidationIssue as d3, type FarmIntegrationValidationErrorLike as d4, type FarmIntegrationValidationResult as d5, type FarmIntegrationStandardValidationResult as d6, type FarmIntegrationInputSchema as d7, type FarmIntegrationRouteInputSchemas as d8, type FarmIntegrationRequestContextStore as d9, type FarmIntegrationSchemaFieldType as dA, type FarmIntegrationSchemaReference as dB, type FarmIntegrationSchemaField as dC, type FarmIntegrationSchemaConstraint as dD, type FarmIntegrationSchemaModel as dE, type FarmIntegrationSchemaModelExtension as dF, type FarmIntegrationSchemaModelOverride as dG, type FarmIntegrationSchema as dH, defineIntegrationSchema as dI, type FarmIntegrationLogPhase as dJ, type FarmIntegrationLogEvent as dK, type FarmIntegrationLogger as dL, type FarmIntegrationPluginOwner as dM, type FarmIntegrationContributedPlugin as dN, type FarmIntegrationsUserConfig as dO, getFarmIntegrationPluginServerRuntime as dP, getFarmIntegrationPluginOwner as dQ, type FarmIntegrationRouteFactory as dR, type FarmIntegrationRoutesFactoryContext as dS, type FarmIntegrationRoutesFactory as dT, type FarmIntegrationEndpointValue as dU, type FarmIntegrationEndpoints as dV, type FarmIntegrationEndpointsFactoryContext as dW, type FarmIntegrationEndpointsFactory as dX, createIntegrationRoute as dY, integrationRoute as dZ, type DefinedIntegration as d_, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as da, FARM_INTEGRATION_SET_COOKIES_KEY as db, forwardIntegrationSetCookies as dc, type FarmIntegrationRouteDb as dd, type FarmIntegrationRouteStorageArgs as de, type FarmIntegrationRouteArgs as df, type FarmIntegrationConfigContext as dg, type FarmIntegrationConfigDefinition as dh, type FarmIntegrationConfigInput as di, type FarmIntegrationLifecycleLogLevel as dj, type FarmIntegrationLifecycleLogger as dk, type FarmIntegrationLifecycleContext as dl, type FarmIntegrationLifecycleHook as dm, type FarmIntegrationData as dn, type FarmIntegrationHandlerContext as dp, type FarmIntegrationRouteHookContext as dq, type FarmIntegrationRouteHook as dr, type FarmIntegrationRoute as ds, type FarmTypedIntegrationRoute as dt, type FarmIntegrationRouteMiddleware as du, type FarmIntegrationMiddleware as dv, type FarmIntegrationProviderProps as dw, type FarmIntegrationProviderComponentReference as dx, type FarmIntegrationProvider as dy, type FarmIntegrationDocumentNavigation as dz, type FarmRequest as e, routeRulesToNitroRouteRules as e$, isFarmIntegration as e0, resolveIntegrationPlugins as e1, getIntegrationProviders as e2, isFarmIntegrationProviderComponentReference as e3, getIntegrationDocumentNavigationMatchers as e4, getIntegrationSchemas as e5, getRegisteredIntegrationRuntime as e6, getRegisteredIntegrations as e7, getRegisteredIntegrationSchemas as e8, matchIntegrationRoute as e9, resolveFarmAPIConfig as eA, normalizeFarmAPIConfig as eB, normalizeFarmAPIBasePath as eC, getFarmAPIBaseURL as eD, resolveFarmAPIRequestURL as eE, type MiddlewareFunction as eF, type RequestMiddleware as eG, type RequestMiddlewareContext as eH, type MiddlewareStore as eI, type MiddlewareChain as eJ, type CookieJar as eK, type CookieOptions as eL, type RateLimitConfig as eM, type RateLimitIncrementResult as eN, type RateLimitStorage as eO, type RateLimitStatus as eP, type MemoryRateLimitStorageOptions as eQ, type NextFunction as eR, type MiddlewareResult as eS, type FarmRouteRuleRenderMode as eT, type FarmRouteRuleRedirect as eU, type FarmRouteRuleCors as eV, type FarmRouteRule as eW, type FarmRouteRules as eX, normalizeRouteRules as eY, routeRulesToRedirects as eZ, routeRulesToHeaders as e_, matchRegisteredIntegrationRoute as ea, getRegisteredIntegrationAPIManifest as eb, dispatchIntegrationRequest as ec, dispatchIntegrationRequests as ed, FARM_INTEGRATION_API_BASE_PATH_KEY as ee, describeIntegrationOriginRejection as ef, resolveIntegrationAllowedOrigins as eg, validateIntegrationRequestOrigin as eh, type IntegrationOriginPolicy as ei, type IntegrationOriginRejection as ej, type IntegrationOriginResult as ek, type FarmIntegrationOrmSchema as el, type FarmIntegrationOrmClient as em, type InferFarmIntegrationOrmField as en, type InferFarmIntegrationOrmFields as eo, type InferFarmIntegrationOrmSchema as ep, type InferFarmIntegrationOrmClient as eq, type CreateIntegrationOrmOptions as er, createIntegrationOrm as es, resolveIntegrationOrmRuntimeClient as et, farmIntegrationSchemaToOrmSchema as eu, type IntegrationOrmModelNames as ev, DEFAULT_FARM_API_BASE_PATH as ew, type FarmAPIConfigResolverContext as ex, type FarmAPIConfigValue as ey, type FarmAPIConfig as ez, type FarmResponse as f, manageFarmHtmlPreloads as f$, type FarmRouteRuntimeEntryKind as f0, type FarmRouteRenderingMode as f1, type FarmRouteRuntimeManifestEntry as f2, type FarmRouteRuntimeManifest as f3, normalizeFarmRouteRuntimeConfig as f4, mergeFarmRouteRuntimeConfigs as f5, resolveFarmRouteRuntimeConfig as f6, hasFarmRouteRuntimeControls as f7, getFarmRouteRuntimeConfig as f8, createFarmRouteRuntimeKey as f9, type FarmPageFormSubmit as fA, type FarmPageFormAction as fB, extractFarmPageActions as fC, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fD, FARM_DEVTOOLS_PATH as fE, FARM_DEVTOOLS_LAUNCH_PARAM as fF, type FarmDevtoolsConfig as fG, type FarmDevtoolsUserConfig as fH, resolveFarmDevtoolsConfig as fI, type FarmBuildActivityPosition as fJ, type FarmDevIndicatorsConfig as fK, resolveFarmDevIndicatorsConfig as fL, generateFarmDevIndicatorsClientRuntime as fM, type APIRequestRuntime as fN, type FarmLlmsTxtLink as fO, createFarmMetadataRouteResponse as fP, createFarmAgentRobots as fQ, createFarmDefaultSitemap as fR, collectFarmLlmsTxtPages as fS, createFarmDefaultLlmsTxt as fT, createFarmLlmsMarkdownReader as fU, renderFarmLlmsFullTxt as fV, createFarmLlmsFullRenderer as fW, resolveFarmLlmsTxtConfig as fX, type FarmLlmsTxtUserConfig as fY, type ResolvedFarmLlmsTxtConfig as fZ, manageFarmDocumentPreloads as f_, resolveFarmRouteRuleRuntimeConfig as fa, farmRouteRuleMatches as fb, type FarmDocsConfigInput as fc, type FarmDocsNavigationConfig as fd, type FarmDocsSocialImageConfig as fe, type FarmDocsSocialImageFonts as ff, type FarmDocsSidebarItem as fg, type FarmMarkdownRouteInput as fh, type FarmMarkdownResolvedRoute as fi, type FarmMarkdownMirrorTarget as fj, type ResolveMarkdownMirrorTargetOptions as fk, type CreateMarkdownMirrorResponseOptions as fl, type ApplyMarkdownNegotiationHeadersOptions as fm, resolveMarkdownConfig as fn, resolveMarkdownMirrorTarget as fo, createMarkdownMirrorResponse as fp, applyMarkdownNegotiationHeaders as fq, htmlToMarkdown as fr, farmAcceptQuality as fs, requestAcceptsMarkdown as ft, getFarmMarkdownMirrorPath as fu, getFarmMarkdownAlternatePath as fv, isFarmMarkdownMirrorExposed as fw, matchesFarmMarkdownRoutePattern as fx, type FarmPageFormOption as fy, type FarmPageFormField as fz, getFarmRedirectError as g, manageFarmLinkHeaderPreloads as g0, reportFarmPreloadWarnings as g1, applyFarmCspNonceToResponse as g2, resolveFarmSecurityConfig as g3, farmI18nClientBridgePlugin as g4, farmServerOnlyEntriesPlugin as g5, withFarmRequestTracing as g6, rewriteEarlySsrRelativeImports as g7, transformIsolatedClientBoundaryModule as g8, shouldEmitFarmClientRootHmr as g9, generateClientCachePersistenceCode as ga, resolveFarmClientCacheAdapterEntry as gb, type ClientCachePersistenceEntryCode as gc, FARM_NODE_RESPONSE_END_PENDING as gd, loadFarmDevModule as ge, FarmDevEnvironmentError as gf, type FarmDevModuleServer as gg, type FarmPluginContext as h, isFarmNotFoundError as i, type FarmRouteRuntime as j, type FarmRouteRegions as k, type FarmRouteMaxDuration as l, type FarmAppContext as m, notFound as n, type PageProps as o, permanentRedirect as p, type PluginContextProps as q, redirect as r, type RouteModule as s, type FarmMdxComponents as t, type FarmMdxResolvedConfig as u, resolveFarmMdxComponentsModulePath as v, resolveMdxConfig as w, type FarmMdxComponent as x, type FarmMdxUserConfig as y, FARM_MARKDOWN_CONTENT_TYPE as z };
|