@farm.js/core 0.1.37 → 0.1.39
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-BC0bAGVF.d.mts → agent-mcp-BhneNPb4.d.mts} +1 -1
- package/dist/{agent-mcp-jyDHbQKe.d.ts → agent-mcp-HcTYQmNX.d.ts} +1 -1
- package/dist/{agent-mcp-handler-SJAHFSPI.cjs → agent-mcp-handler-MRGP3WJ3.cjs} +5 -5
- package/dist/{agent-mcp-handler-LPJ2CADR.mjs → agent-mcp-handler-OLRMZONF.mjs} +4 -4
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +5 -5
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.cjs +4 -4
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +3 -3
- package/dist/api.cjs +7 -7
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.mjs +6 -6
- package/dist/{app-CKO3iN1c.d.ts → app-CMkoghtp.d.ts} +21 -3
- package/dist/{app-Cbkj9ufe.d.mts → app-DVzmmbNO.d.mts} +21 -3
- package/dist/app-markdown.cjs +4 -4
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/app-markdown.mjs +3 -3
- package/dist/chunk-2ZYGC6SS.cjs +576 -0
- package/dist/{chunk-75X755YZ.cjs → chunk-34UCJRQO.cjs} +2 -2
- package/dist/{chunk-CVH2BXPY.cjs → chunk-3LOLJTFV.cjs} +6 -6
- package/dist/{chunk-4GPOC4LN.cjs → chunk-472NCAZ7.cjs} +3 -3
- package/dist/{chunk-O6WAEAX3.mjs → chunk-5BWWFHR2.mjs} +70 -15
- package/dist/{chunk-6LGFV2CQ.cjs → chunk-5OKBARDN.cjs} +2 -2
- package/dist/{chunk-3IP27TCG.cjs → chunk-5PWXMJOH.cjs} +19 -19
- package/dist/{chunk-WT4TGLXT.cjs → chunk-5ULKUBIA.cjs} +6 -6
- package/dist/{chunk-WRPHYQVY.mjs → chunk-677THUVP.mjs} +1 -1
- package/dist/chunk-6BK3K2GB.mjs +318 -0
- package/dist/{chunk-HEVMCTSR.mjs → chunk-6HB6V3R7.mjs} +1 -1
- package/dist/{chunk-NICDYKBS.cjs → chunk-6XWDE2P2.cjs} +22 -4
- package/dist/{chunk-CXEN47J3.mjs → chunk-73WX6PRY.mjs} +25 -0
- package/dist/{chunk-EXG5LD6B.mjs → chunk-75HN5IZ3.mjs} +21 -9
- package/dist/{chunk-7O5M4UKW.cjs → chunk-A657YSP4.cjs} +2 -2
- package/dist/{chunk-LBDP3YT3.mjs → chunk-ARC7I3O2.mjs} +1 -1
- package/dist/{chunk-Q5FYSK45.cjs → chunk-AS2VPMEE.cjs} +640 -521
- package/dist/{chunk-Z5BEWYVO.mjs → chunk-ATSDUUFK.mjs} +27 -1
- package/dist/{chunk-EMMQ64QW.cjs → chunk-B5J2YVG7.cjs} +16 -16
- package/dist/{chunk-FWE7LEQC.cjs → chunk-BD3D7EZV.cjs} +4 -4
- package/dist/{chunk-Z7LA7MHQ.mjs → chunk-BFJTHYTN.mjs} +1 -1
- package/dist/{chunk-UJZLSXUB.cjs → chunk-BWIQR4DH.cjs} +30 -4
- package/dist/{chunk-W2YDNK66.cjs → chunk-BXDJXFQG.cjs} +4 -4
- package/dist/{chunk-MCIZVNOQ.mjs → chunk-BZHXGVMA.mjs} +1 -1
- package/dist/{chunk-7DWNJI73.cjs → chunk-CIOT4HGT.cjs} +37 -19
- package/dist/{chunk-KDTBF3UU.mjs → chunk-CNNOLE4O.mjs} +1 -1
- package/dist/{chunk-TDNWPAVR.mjs → chunk-CUM5NYL5.mjs} +1 -1
- package/dist/{chunk-HITLGIAO.cjs → chunk-CY2ZQ5C6.cjs} +7 -6
- package/dist/{chunk-KPFKMDM7.mjs → chunk-EGCTIS5F.mjs} +2 -2
- package/dist/{chunk-VR4GD5I3.cjs → chunk-EIPC3FDA.cjs} +12 -4
- package/dist/{chunk-B5PFZLKV.cjs → chunk-EKN7NSZO.cjs} +25 -8
- package/dist/{chunk-6SJ2KJTA.mjs → chunk-EPYU2EBL.mjs} +1 -1
- package/dist/{chunk-LBGILORX.mjs → chunk-GKBWWRBG.mjs} +101 -10
- package/dist/{chunk-PTZ2TVNE.cjs → chunk-H5CLOUZS.cjs} +5 -5
- package/dist/{chunk-DTSROJ5J.mjs → chunk-HD5CF3OE.mjs} +1 -1
- package/dist/{chunk-3A4KGQYI.cjs → chunk-HRETEZ2Z.cjs} +27 -15
- package/dist/{chunk-ATWHHSY2.cjs → chunk-HRSAQ23K.cjs} +7 -7
- package/dist/{chunk-IAIYV4RZ.mjs → chunk-HXRYZWTA.mjs} +1 -1
- package/dist/{chunk-4P6ULFMD.mjs → chunk-HYTZYOW2.mjs} +222 -103
- package/dist/{chunk-HMRSWN47.mjs → chunk-INL3THCU.mjs} +1 -1
- package/dist/{chunk-FBOJ55OM.mjs → chunk-IVLZZZEI.mjs} +1 -1
- package/dist/{chunk-ENLZ4R3Y.mjs → chunk-J7K2NZD6.mjs} +7 -6
- package/dist/{chunk-PMQHMWZU.cjs → chunk-JCYYXBAJ.cjs} +3 -3
- package/dist/{chunk-K3SAEIM3.mjs → chunk-KTSUBU2E.mjs} +2 -2
- package/dist/{chunk-LPFV45AY.cjs → chunk-LMPAPBUA.cjs} +19 -19
- package/dist/{chunk-EK4QAEFZ.cjs → chunk-LZESP4IR.cjs} +25 -0
- package/dist/{chunk-TW4GYDBJ.mjs → chunk-MLY2RP5R.mjs} +10 -2
- package/dist/{chunk-BHY547NB.cjs → chunk-NBBEQLOK.cjs} +9 -9
- package/dist/{chunk-WQ7T2263.mjs → chunk-OAHTRMIC.mjs} +3 -3
- package/dist/{chunk-HZFM2LWQ.mjs → chunk-P3PLW4FR.mjs} +34 -2
- package/dist/{chunk-UH6QN5NL.mjs → chunk-P664ZVTV.mjs} +2 -2
- package/dist/{chunk-TE2G5ION.cjs → chunk-PGZDEPTM.cjs} +88 -33
- package/dist/{chunk-3KGDJLJK.mjs → chunk-POSPE3IO.mjs} +19 -1
- package/dist/{chunk-FGRYBX5X.mjs → chunk-PVZE2JGJ.mjs} +2 -2
- package/dist/{chunk-TPLJVC7E.mjs → chunk-QFW2IH5E.mjs} +23 -6
- package/dist/{chunk-5BXGGEC7.cjs → chunk-QG775BRV.cjs} +17 -17
- package/dist/{chunk-S3VWVTVA.mjs → chunk-QRKIMN7T.mjs} +13 -1
- package/dist/chunk-QTXBII4Z.cjs +632 -0
- package/dist/{chunk-NQ6QFZWD.cjs → chunk-QUCXCDE2.cjs} +1 -1
- package/dist/{chunk-NFMDCAOS.mjs → chunk-QYMZOOC5.mjs} +3 -3
- package/dist/{chunk-CI6E3UOH.cjs → chunk-RG4A6LB2.cjs} +7 -7
- package/dist/{chunk-LOFKRKO7.cjs → chunk-RVXFINNS.cjs} +113 -22
- package/dist/{chunk-7SQ5SGYZ.cjs → chunk-RW63BOV7.cjs} +2 -2
- package/dist/{chunk-U6MPZ35Q.cjs → chunk-RWFLWR5J.cjs} +8 -8
- package/dist/{chunk-EUV4YR3V.cjs → chunk-SGBJ247Q.cjs} +18 -2
- package/dist/{chunk-J3ANCZKA.mjs → chunk-SKVTP5PR.mjs} +1 -1
- package/dist/{chunk-YCKO6FRS.mjs → chunk-SOP2EAA6.mjs} +1 -1
- package/dist/{chunk-ND2CWPOD.mjs → chunk-TS4JHGUJ.mjs} +1 -1
- package/dist/chunk-U6QLDL3G.mjs +576 -0
- package/dist/{chunk-OW67PDDS.cjs → chunk-ULASELLA.cjs} +13 -1
- package/dist/{chunk-4GWRFP22.cjs → chunk-UPJLHLJU.cjs} +35 -3
- package/dist/{chunk-WWIKMBRN.mjs → chunk-VNGH5MLF.mjs} +17 -1
- package/dist/{chunk-NNSAQX3U.mjs → chunk-VT4WFRHA.mjs} +1 -1
- package/dist/{chunk-JPNFPAZ4.mjs → chunk-VWBHM3F6.mjs} +2 -2
- package/dist/{chunk-ADOAUDQ6.cjs → chunk-VXEEATVD.cjs} +2 -2
- package/dist/{chunk-RRMVL6CJ.mjs → chunk-W36M2BQ4.mjs} +1 -1
- package/dist/{chunk-4WQ6PGSJ.cjs → chunk-WEW2JVA4.cjs} +4 -4
- package/dist/{chunk-4E5WBPEG.mjs → chunk-WFRT7JPX.mjs} +8 -533
- package/dist/{chunk-VXAWRDK7.mjs → chunk-WLL43JMO.mjs} +1 -1
- package/dist/chunk-WW46B6HA.cjs +318 -0
- package/dist/{chunk-D3C5LBQY.cjs → chunk-WXJLNP33.cjs} +2 -2
- package/dist/{chunk-NDILNQ4L.cjs → chunk-XKG2BLFN.cjs} +2 -2
- package/dist/{chunk-6TJITR2B.cjs → chunk-YFYUYWL7.cjs} +870 -751
- package/dist/{chunk-XOPOIFTJ.mjs → chunk-YKZRDB5Z.mjs} +25 -7
- package/dist/{chunk-K4I4O5TS.mjs → chunk-ZUPXLIGB.mjs} +790 -671
- package/dist/{chunk-G2TEB74S.cjs → chunk-ZXH4TS3F.cjs} +2 -2
- package/dist/{client-plugins-CV4eJ9De.d.mts → client-plugins-CsCuCLBz.d.mts} +58 -7
- package/dist/{client-plugins-C8DjftDF.d.ts → client-plugins-D0ke-Hc8.d.ts} +58 -7
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +7 -7
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/client.mjs +6 -6
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-KVOY2TCZ.mjs → devtools-5AFIPVUJ.mjs} +8 -6
- package/dist/{devtools-JXFQNWSH.cjs → devtools-LW4QQ5J3.cjs} +9 -7
- package/dist/docs.cjs +12 -10
- package/dist/docs.d.mts +20 -2
- package/dist/docs.d.ts +20 -2
- package/dist/docs.mjs +11 -9
- package/dist/headers.cjs +6 -4
- package/dist/headers.d.mts +11 -1
- package/dist/headers.d.ts +11 -1
- package/dist/headers.mjs +5 -3
- package/dist/index.cjs +55 -42
- package/dist/index.d.mts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.mjs +55 -42
- package/dist/integrations.cjs +5 -3
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +4 -2
- package/dist/internal/app-markdown-runtime.cjs +3 -3
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +2 -2
- package/dist/internal/build-runtime.cjs +30 -29
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +29 -28
- package/dist/internal/cli-runtime.cjs +11 -9
- package/dist/internal/cli-runtime.mjs +10 -8
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +9 -7
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +8 -6
- package/dist/internal/docs-precompiled-runtime.cjs +19 -13
- package/dist/internal/docs-precompiled-runtime.d.mts +5 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +5 -0
- package/dist/internal/docs-precompiled-runtime.mjs +14 -8
- package/dist/internal/infra-analytics-runtime.cjs +5 -5
- package/dist/internal/infra-analytics-runtime.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-node-env.cjs +6 -2
- package/dist/internal/production-node-env.d.mts +10 -1
- package/dist/internal/production-node-env.d.ts +10 -1
- package/dist/internal/production-node-env.mjs +5 -1
- package/dist/internal/production-runtime.cjs +38 -16
- package/dist/internal/production-runtime.d.mts +51 -11
- package/dist/internal/production-runtime.d.ts +51 -11
- package/dist/internal/production-runtime.mjs +40 -18
- package/dist/markdown.cjs +8 -2
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +7 -1
- package/dist/middleware.cjs +10 -8
- package/dist/middleware.d.mts +24 -4
- package/dist/middleware.d.ts +24 -4
- package/dist/middleware.mjs +10 -8
- package/dist/navigation.cjs +6 -6
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +5 -5
- package/dist/plugin.cjs +23 -22
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.mjs +22 -21
- package/dist/{production-runtime-C2kkrPVZ.d.ts → production-runtime-BaI3WHnV.d.ts} +1 -1
- package/dist/{production-runtime-Du_FHb2-.d.mts → production-runtime-DfRP0cV0.d.mts} +1 -1
- package/dist/query/client.cjs +8 -8
- package/dist/query/client.mjs +3 -3
- package/dist/{render-plan-BnnPTpus.d.ts → render-plan-CfIdJKAf.d.ts} +1 -1
- package/dist/{render-plan-Cgx7v8tJ.d.mts → render-plan-Dg8RBYFa.d.mts} +1 -1
- package/dist/renderer-client.cjs +5 -5
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer-client.mjs +2 -2
- package/dist/renderer.d.mts +13 -4
- package/dist/renderer.d.ts +13 -4
- package/dist/{request-BNWr7r5e.d.ts → request-CEbHIIl4.d.ts} +4 -2
- package/dist/{request-sKayKcop.d.mts → request-DfE02G_A.d.mts} +4 -2
- package/dist/request.cjs +3 -3
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +2 -2
- package/dist/{route-rendering-DWFp3Yq4.d.mts → route-rendering-BHyOfXjD.d.mts} +1 -1
- package/dist/{route-rendering-Bx4Auw6Q.d.ts → route-rendering-C4oHbv6C.d.ts} +1 -1
- package/dist/{router-BK6K42Ij.d.mts → router-DwhA61SB.d.mts} +1 -1
- package/dist/{router-DnW_2tQi.d.ts → router-uRN_29Em.d.ts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{runtime-DJDaCMd_.d.mts → runtime-BEdHhN4C.d.mts} +1 -1
- package/dist/{runtime-CA3Ei5k_.d.ts → runtime-COk03hmx.d.ts} +1 -1
- package/dist/server-fn.cjs +3 -3
- package/dist/server-fn.mjs +2 -2
- package/dist/server-plugins.cjs +5 -5
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server-plugins.mjs +4 -4
- package/dist/server-query.cjs +4 -4
- package/dist/server-query.mjs +3 -3
- package/dist/server.cjs +49 -48
- package/dist/server.d.mts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.mjs +27 -26
- package/dist/{spa-router-Mwbd7g2L.d.ts → spa-router-DrVOBVGg.d.ts} +2 -2
- package/dist/{spa-router-D6fUA4Rn.d.mts → spa-router-w4aFOuyn.d.mts} +2 -2
- package/dist/testing.cjs +5 -5
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/theme/server.cjs +4 -4
- package/dist/theme/server.mjs +3 -3
- package/dist/{utils-p9Hs-jCc.d.mts → utils-BtYehqeU.d.mts} +1 -1
- package/dist/{utils-BwVcAfUR.d.ts → utils-Dhuqwmd2.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +23 -22
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +22 -21
- package/package.json +1 -1
- package/dist/chunk-655RLQQL.mjs +0 -43
- package/dist/chunk-MRMI32SN.cjs +0 -1157
- package/dist/chunk-MT763TDW.cjs +0 -43
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkAI7QMY7Ocjs = require('./chunk-AI7QMY7O.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6XWDE2P2cjs = require('./chunk-6XWDE2P2.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkS3JO3N4Hcjs = require('./chunk-S3JO3N4H.cjs');
|
|
@@ -112,7 +112,7 @@ function toWebRequest(ctx) {
|
|
|
112
112
|
if (isWebRequest(ctx.request)) {
|
|
113
113
|
return ctx.request;
|
|
114
114
|
}
|
|
115
|
-
return
|
|
115
|
+
return _chunk6XWDE2P2cjs.createWebRequestFromFarmRequest.call(void 0, ctx.request, { origin: ctx.url.origin });
|
|
116
116
|
}
|
|
117
117
|
_chunkS3JO3N4Hcjs.__name.call(void 0, toWebRequest, "toWebRequest");
|
|
118
118
|
function createRequestMiddlewareContext(ctx) {
|
|
@@ -945,6 +945,13 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
|
|
|
945
945
|
response: Response | null;
|
|
946
946
|
setCookies: string[];
|
|
947
947
|
}>;
|
|
948
|
+
/**
|
|
949
|
+
* @internal Whether an integration's middleware matcher (a `protectedRoutes` guard, say)
|
|
950
|
+
* covers `pathname`, a route path without the base path. With `catchAllProbe`, a path no
|
|
951
|
+
* route uses, only matchers naming particular paths count: middleware without a matcher,
|
|
952
|
+
* or one that also meets the probe, covers every path and is left out.
|
|
953
|
+
*/
|
|
954
|
+
declare function integrationMiddlewareMayHandlePath(integrations: FarmIntegrationsUserConfig | undefined, pathname: string, catchAllProbe?: string): boolean;
|
|
948
955
|
/**
|
|
949
956
|
* @internal Runtime config key holding the app's same-origin API path. The built server keeps the
|
|
950
957
|
* user's raw `api` config, whose values may be resolver functions, so the build records the
|
|
@@ -1453,8 +1460,9 @@ interface FarmCspOptions {
|
|
|
1453
1460
|
/**
|
|
1454
1461
|
* Generate a fresh nonce for every dynamic HTML response and per-page
|
|
1455
1462
|
* script hashes for prerendered HTML. Farm adds the matching sources to the
|
|
1456
|
-
* governing script directive
|
|
1457
|
-
*
|
|
1463
|
+
* governing script directive. Only Farm's own scripts, the renderer's
|
|
1464
|
+
* streaming scripts, and scripts the app gives `getCspNonce()` carry the
|
|
1465
|
+
* nonce (or get a hash); every other script element loses its nonce.
|
|
1458
1466
|
*/
|
|
1459
1467
|
nonce?: boolean;
|
|
1460
1468
|
}
|
|
@@ -1474,7 +1482,19 @@ interface ResolvedFarmSecurityConfig {
|
|
|
1474
1482
|
csp: ResolvedFarmCspConfig | false;
|
|
1475
1483
|
}
|
|
1476
1484
|
declare function resolveFarmSecurityConfig(input: FarmSecurityConfig | ResolvedFarmSecurityConfig | undefined): ResolvedFarmSecurityConfig;
|
|
1477
|
-
declare function
|
|
1485
|
+
declare function createFarmCspNonce(security: ResolvedFarmSecurityConfig): string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* Stamp the nonce of the response being rendered on Farm-generated `html`.
|
|
1488
|
+
* Returns `html` unchanged outside nonce mode.
|
|
1489
|
+
*/
|
|
1490
|
+
declare function stampFarmCspNonce(html: string, nonce?: string | undefined): string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Send `response` with the nonce policy. `nonce` is the one the response was
|
|
1493
|
+
* rendered with: script elements that carry it keep it, and every other
|
|
1494
|
+
* script element loses its nonce attribute, so markup injected into the page
|
|
1495
|
+
* can never run under the policy.
|
|
1496
|
+
*/
|
|
1497
|
+
declare function applyFarmCspNonceToResponse(response: Response, security: ResolvedFarmSecurityConfig, nonce?: string | undefined): Response;
|
|
1478
1498
|
|
|
1479
1499
|
declare const DEFAULT_FARM_API_BASE_PATH = "/api";
|
|
1480
1500
|
interface FarmAPIConfigResolverContext {
|
|
@@ -2512,6 +2532,17 @@ declare function _findFarmMCPEndpointTool(method: string, pathname: string, serv
|
|
|
2512
2532
|
|
|
2513
2533
|
/** Content type for Markdown responses, including agent-facing error bodies. */
|
|
2514
2534
|
declare const FARM_MARKDOWN_CONTENT_TYPE = "text/markdown; charset=utf-8";
|
|
2535
|
+
/**
|
|
2536
|
+
* @internal Header on the anonymous page render that decides whether a page's Markdown
|
|
2537
|
+
* source is public. Its value is a per-process secret, so a client cannot set it: the
|
|
2538
|
+
* render it selects is buffered to the end, where a late `redirect()` or `notFound()`
|
|
2539
|
+
* still sets the status instead of a script in an already-sent 200 document.
|
|
2540
|
+
*/
|
|
2541
|
+
declare const FARM_MARKDOWN_PAGE_CHECK_HEADER = "x-farm-markdown-page-check";
|
|
2542
|
+
/** @internal The value of {@link FARM_MARKDOWN_PAGE_CHECK_HEADER} for this process. */
|
|
2543
|
+
declare function _getFarmMarkdownPageCheckToken(): string;
|
|
2544
|
+
/** @internal Whether a request is Farm's own anonymous page check. */
|
|
2545
|
+
declare function _isFarmMarkdownPageCheck(value: string | readonly string[] | null | undefined): boolean;
|
|
2515
2546
|
declare function farmRequestWantsMarkdown(pathname: string, accept: string | null | undefined): boolean;
|
|
2516
2547
|
declare function createFarmMarkdownErrorBody(status: number, pathname: string, homeHref?: string): string;
|
|
2517
2548
|
type FarmMarkdownRouteInput = string | {
|
|
@@ -3021,7 +3052,9 @@ interface FarmAgentUserConfig {
|
|
|
3021
3052
|
/**
|
|
3022
3053
|
* Serve `/sitemap.xml` listing the app's static pages, the same pages the generated
|
|
3023
3054
|
* llms.txt lists, each with the time its page file last changed. Dynamic routes,
|
|
3024
|
-
* pages whose metadata says noindex,
|
|
3055
|
+
* pages whose metadata says noindex, pages behind a route `guard`, and pages a
|
|
3056
|
+
* path-specific guard covers (non-root middleware.ts, a config or integration
|
|
3057
|
+
* middleware matcher naming the path) are left out.
|
|
3025
3058
|
* URLs use the root layout's `metadataBase`, or the request's origin without one. An
|
|
3026
3059
|
* object sets which routes to list. A `src/app/sitemap.ts` or `public/sitemap.xml`
|
|
3027
3060
|
* replaces the generated file. Left unset, it is served unless the docs engine is
|
|
@@ -3071,8 +3104,8 @@ interface FarmAgentUserConfig {
|
|
|
3071
3104
|
/**
|
|
3072
3105
|
* Serve a read-only MCP server (Streamable HTTP) at `/mcp` with tools that list,
|
|
3073
3106
|
* search, and read the app's public pages as Markdown: the static pages llms.txt and
|
|
3074
|
-
* the sitemap list, without pages whose metadata says noindex or pages
|
|
3075
|
-
*
|
|
3107
|
+
* the sitemap list, without pages whose metadata says noindex or pages a route `guard`
|
|
3108
|
+
* or path-specific guard covers. Pages are read like an anonymous visitor, never with the caller's cookies.
|
|
3076
3109
|
* It steps aside when the app has an MCP server of its own: a route that answers
|
|
3077
3110
|
* `/mcp`, an API route at `/api/mcp`, the top-level `mcp` config or `apiMcp()`, or a
|
|
3078
3111
|
* server listed with `registerFarmMCPServer` (the docs engine's MCP). Left unset, it
|
|
@@ -3639,6 +3672,24 @@ interface Metadata {
|
|
|
3639
3672
|
type?: string;
|
|
3640
3673
|
}>;
|
|
3641
3674
|
image?: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* `og:video` entries. Point `url` at the media file itself (an MP4, for
|
|
3677
|
+
* example) rather than a player page; relative URLs resolve against
|
|
3678
|
+
* `metadataBase` like `images`.
|
|
3679
|
+
*/
|
|
3680
|
+
videos?: string | {
|
|
3681
|
+
url: string;
|
|
3682
|
+
secureUrl?: string;
|
|
3683
|
+
width?: number;
|
|
3684
|
+
height?: number;
|
|
3685
|
+
type?: string;
|
|
3686
|
+
} | Array<{
|
|
3687
|
+
url: string;
|
|
3688
|
+
secureUrl?: string;
|
|
3689
|
+
width?: number;
|
|
3690
|
+
height?: number;
|
|
3691
|
+
type?: string;
|
|
3692
|
+
}>;
|
|
3642
3693
|
type?: string;
|
|
3643
3694
|
locale?: string;
|
|
3644
3695
|
/** `article:published_time`, rendered when `type` is `"article"`. */
|
|
@@ -3775,4 +3826,4 @@ interface MetadataRobots extends MetadataRobotsDirectives {
|
|
|
3775
3826
|
googleBot?: string | MetadataRobotsDirectives;
|
|
3776
3827
|
}
|
|
3777
3828
|
|
|
3778
|
-
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 };
|
|
3829
|
+
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, routeRulesToHeaders 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, type FarmAPIConfig as eA, resolveFarmAPIConfig as eB, normalizeFarmAPIConfig as eC, normalizeFarmAPIBasePath as eD, getFarmAPIBaseURL as eE, resolveFarmAPIRequestURL as eF, type MiddlewareFunction as eG, type RequestMiddleware as eH, type RequestMiddlewareContext as eI, type MiddlewareStore as eJ, type MiddlewareChain as eK, type CookieJar as eL, type CookieOptions as eM, type RateLimitConfig as eN, type RateLimitIncrementResult as eO, type RateLimitStorage as eP, type RateLimitStatus as eQ, type MemoryRateLimitStorageOptions as eR, type NextFunction as eS, type MiddlewareResult as eT, type FarmRouteRuleRenderMode as eU, type FarmRouteRuleRedirect as eV, type FarmRouteRuleCors as eW, type FarmRouteRule as eX, type FarmRouteRules as eY, normalizeRouteRules as eZ, routeRulesToRedirects as e_, matchRegisteredIntegrationRoute as ea, getRegisteredIntegrationAPIManifest as eb, dispatchIntegrationRequest as ec, dispatchIntegrationRequests as ed, integrationMiddlewareMayHandlePath as ee, FARM_INTEGRATION_API_BASE_PATH_KEY as ef, describeIntegrationOriginRejection as eg, resolveIntegrationAllowedOrigins as eh, validateIntegrationRequestOrigin as ei, type IntegrationOriginPolicy as ej, type IntegrationOriginRejection as ek, type IntegrationOriginResult as el, type FarmIntegrationOrmSchema as em, type FarmIntegrationOrmClient as en, type InferFarmIntegrationOrmField as eo, type InferFarmIntegrationOrmFields as ep, type InferFarmIntegrationOrmSchema as eq, type InferFarmIntegrationOrmClient as er, type CreateIntegrationOrmOptions as es, createIntegrationOrm as et, resolveIntegrationOrmRuntimeClient as eu, farmIntegrationSchemaToOrmSchema as ev, type IntegrationOrmModelNames as ew, DEFAULT_FARM_API_BASE_PATH as ex, type FarmAPIConfigResolverContext as ey, type FarmAPIConfigValue as ez, type FarmResponse as f, resolveFarmLlmsTxtConfig as f$, routeRulesToNitroRouteRules as f0, type FarmRouteRuntimeEntryKind as f1, type FarmRouteRenderingMode as f2, type FarmRouteRuntimeManifestEntry as f3, type FarmRouteRuntimeManifest as f4, normalizeFarmRouteRuntimeConfig as f5, mergeFarmRouteRuntimeConfigs as f6, resolveFarmRouteRuntimeConfig as f7, hasFarmRouteRuntimeControls as f8, getFarmRouteRuntimeConfig as f9, isFarmMarkdownMirrorExposed as fA, matchesFarmMarkdownRoutePattern as fB, type FarmPageFormOption as fC, type FarmPageFormField as fD, type FarmPageFormSubmit as fE, type FarmPageFormAction as fF, extractFarmPageActions as fG, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fH, FARM_DEVTOOLS_PATH as fI, FARM_DEVTOOLS_LAUNCH_PARAM as fJ, type FarmDevtoolsConfig as fK, type FarmDevtoolsUserConfig as fL, resolveFarmDevtoolsConfig as fM, type FarmBuildActivityPosition as fN, type FarmDevIndicatorsConfig as fO, resolveFarmDevIndicatorsConfig as fP, generateFarmDevIndicatorsClientRuntime as fQ, type APIRequestRuntime as fR, type FarmLlmsTxtLink as fS, createFarmMetadataRouteResponse as fT, createFarmAgentRobots as fU, createFarmDefaultSitemap as fV, collectFarmLlmsTxtPages as fW, createFarmDefaultLlmsTxt as fX, createFarmLlmsMarkdownReader as fY, renderFarmLlmsFullTxt as fZ, createFarmLlmsFullRenderer as f_, createFarmRouteRuntimeKey as fa, resolveFarmRouteRuleRuntimeConfig as fb, farmRouteRuleMatches as fc, type FarmDocsConfigInput as fd, type FarmDocsNavigationConfig as fe, type FarmDocsSocialImageConfig as ff, type FarmDocsSocialImageFonts as fg, type FarmDocsSidebarItem as fh, FARM_MARKDOWN_PAGE_CHECK_HEADER as fi, _getFarmMarkdownPageCheckToken as fj, _isFarmMarkdownPageCheck as fk, type FarmMarkdownRouteInput as fl, type FarmMarkdownResolvedRoute as fm, type FarmMarkdownMirrorTarget as fn, type ResolveMarkdownMirrorTargetOptions as fo, type CreateMarkdownMirrorResponseOptions as fp, type ApplyMarkdownNegotiationHeadersOptions as fq, resolveMarkdownConfig as fr, resolveMarkdownMirrorTarget as fs, createMarkdownMirrorResponse as ft, applyMarkdownNegotiationHeaders as fu, htmlToMarkdown as fv, farmAcceptQuality as fw, requestAcceptsMarkdown as fx, getFarmMarkdownMirrorPath as fy, getFarmMarkdownAlternatePath as fz, getFarmRedirectError as g, type FarmLlmsTxtUserConfig as g0, type ResolvedFarmLlmsTxtConfig as g1, manageFarmDocumentPreloads as g2, manageFarmHtmlPreloads as g3, manageFarmLinkHeaderPreloads as g4, reportFarmPreloadWarnings as g5, applyFarmCspNonceToResponse as g6, createFarmCspNonce as g7, resolveFarmSecurityConfig as g8, stampFarmCspNonce as g9, farmI18nClientBridgePlugin as ga, farmServerOnlyEntriesPlugin as gb, withFarmRequestTracing as gc, rewriteEarlySsrRelativeImports as gd, transformIsolatedClientBoundaryModule as ge, shouldEmitFarmClientRootHmr as gf, generateClientCachePersistenceCode as gg, resolveFarmClientCacheAdapterEntry as gh, type ClientCachePersistenceEntryCode as gi, FARM_NODE_RESPONSE_END_PENDING as gj, loadFarmDevModule as gk, FarmDevEnvironmentError as gl, type FarmDevModuleServer as gm, 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 };
|
|
@@ -945,6 +945,13 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
|
|
|
945
945
|
response: Response | null;
|
|
946
946
|
setCookies: string[];
|
|
947
947
|
}>;
|
|
948
|
+
/**
|
|
949
|
+
* @internal Whether an integration's middleware matcher (a `protectedRoutes` guard, say)
|
|
950
|
+
* covers `pathname`, a route path without the base path. With `catchAllProbe`, a path no
|
|
951
|
+
* route uses, only matchers naming particular paths count: middleware without a matcher,
|
|
952
|
+
* or one that also meets the probe, covers every path and is left out.
|
|
953
|
+
*/
|
|
954
|
+
declare function integrationMiddlewareMayHandlePath(integrations: FarmIntegrationsUserConfig | undefined, pathname: string, catchAllProbe?: string): boolean;
|
|
948
955
|
/**
|
|
949
956
|
* @internal Runtime config key holding the app's same-origin API path. The built server keeps the
|
|
950
957
|
* user's raw `api` config, whose values may be resolver functions, so the build records the
|
|
@@ -1453,8 +1460,9 @@ interface FarmCspOptions {
|
|
|
1453
1460
|
/**
|
|
1454
1461
|
* Generate a fresh nonce for every dynamic HTML response and per-page
|
|
1455
1462
|
* script hashes for prerendered HTML. Farm adds the matching sources to the
|
|
1456
|
-
* governing script directive
|
|
1457
|
-
*
|
|
1463
|
+
* governing script directive. Only Farm's own scripts, the renderer's
|
|
1464
|
+
* streaming scripts, and scripts the app gives `getCspNonce()` carry the
|
|
1465
|
+
* nonce (or get a hash); every other script element loses its nonce.
|
|
1458
1466
|
*/
|
|
1459
1467
|
nonce?: boolean;
|
|
1460
1468
|
}
|
|
@@ -1474,7 +1482,19 @@ interface ResolvedFarmSecurityConfig {
|
|
|
1474
1482
|
csp: ResolvedFarmCspConfig | false;
|
|
1475
1483
|
}
|
|
1476
1484
|
declare function resolveFarmSecurityConfig(input: FarmSecurityConfig | ResolvedFarmSecurityConfig | undefined): ResolvedFarmSecurityConfig;
|
|
1477
|
-
declare function
|
|
1485
|
+
declare function createFarmCspNonce(security: ResolvedFarmSecurityConfig): string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* Stamp the nonce of the response being rendered on Farm-generated `html`.
|
|
1488
|
+
* Returns `html` unchanged outside nonce mode.
|
|
1489
|
+
*/
|
|
1490
|
+
declare function stampFarmCspNonce(html: string, nonce?: string | undefined): string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Send `response` with the nonce policy. `nonce` is the one the response was
|
|
1493
|
+
* rendered with: script elements that carry it keep it, and every other
|
|
1494
|
+
* script element loses its nonce attribute, so markup injected into the page
|
|
1495
|
+
* can never run under the policy.
|
|
1496
|
+
*/
|
|
1497
|
+
declare function applyFarmCspNonceToResponse(response: Response, security: ResolvedFarmSecurityConfig, nonce?: string | undefined): Response;
|
|
1478
1498
|
|
|
1479
1499
|
declare const DEFAULT_FARM_API_BASE_PATH = "/api";
|
|
1480
1500
|
interface FarmAPIConfigResolverContext {
|
|
@@ -2512,6 +2532,17 @@ declare function _findFarmMCPEndpointTool(method: string, pathname: string, serv
|
|
|
2512
2532
|
|
|
2513
2533
|
/** Content type for Markdown responses, including agent-facing error bodies. */
|
|
2514
2534
|
declare const FARM_MARKDOWN_CONTENT_TYPE = "text/markdown; charset=utf-8";
|
|
2535
|
+
/**
|
|
2536
|
+
* @internal Header on the anonymous page render that decides whether a page's Markdown
|
|
2537
|
+
* source is public. Its value is a per-process secret, so a client cannot set it: the
|
|
2538
|
+
* render it selects is buffered to the end, where a late `redirect()` or `notFound()`
|
|
2539
|
+
* still sets the status instead of a script in an already-sent 200 document.
|
|
2540
|
+
*/
|
|
2541
|
+
declare const FARM_MARKDOWN_PAGE_CHECK_HEADER = "x-farm-markdown-page-check";
|
|
2542
|
+
/** @internal The value of {@link FARM_MARKDOWN_PAGE_CHECK_HEADER} for this process. */
|
|
2543
|
+
declare function _getFarmMarkdownPageCheckToken(): string;
|
|
2544
|
+
/** @internal Whether a request is Farm's own anonymous page check. */
|
|
2545
|
+
declare function _isFarmMarkdownPageCheck(value: string | readonly string[] | null | undefined): boolean;
|
|
2515
2546
|
declare function farmRequestWantsMarkdown(pathname: string, accept: string | null | undefined): boolean;
|
|
2516
2547
|
declare function createFarmMarkdownErrorBody(status: number, pathname: string, homeHref?: string): string;
|
|
2517
2548
|
type FarmMarkdownRouteInput = string | {
|
|
@@ -3021,7 +3052,9 @@ interface FarmAgentUserConfig {
|
|
|
3021
3052
|
/**
|
|
3022
3053
|
* Serve `/sitemap.xml` listing the app's static pages, the same pages the generated
|
|
3023
3054
|
* llms.txt lists, each with the time its page file last changed. Dynamic routes,
|
|
3024
|
-
* pages whose metadata says noindex,
|
|
3055
|
+
* pages whose metadata says noindex, pages behind a route `guard`, and pages a
|
|
3056
|
+
* path-specific guard covers (non-root middleware.ts, a config or integration
|
|
3057
|
+
* middleware matcher naming the path) are left out.
|
|
3025
3058
|
* URLs use the root layout's `metadataBase`, or the request's origin without one. An
|
|
3026
3059
|
* object sets which routes to list. A `src/app/sitemap.ts` or `public/sitemap.xml`
|
|
3027
3060
|
* replaces the generated file. Left unset, it is served unless the docs engine is
|
|
@@ -3071,8 +3104,8 @@ interface FarmAgentUserConfig {
|
|
|
3071
3104
|
/**
|
|
3072
3105
|
* Serve a read-only MCP server (Streamable HTTP) at `/mcp` with tools that list,
|
|
3073
3106
|
* search, and read the app's public pages as Markdown: the static pages llms.txt and
|
|
3074
|
-
* the sitemap list, without pages whose metadata says noindex or pages
|
|
3075
|
-
*
|
|
3107
|
+
* the sitemap list, without pages whose metadata says noindex or pages a route `guard`
|
|
3108
|
+
* or path-specific guard covers. Pages are read like an anonymous visitor, never with the caller's cookies.
|
|
3076
3109
|
* It steps aside when the app has an MCP server of its own: a route that answers
|
|
3077
3110
|
* `/mcp`, an API route at `/api/mcp`, the top-level `mcp` config or `apiMcp()`, or a
|
|
3078
3111
|
* server listed with `registerFarmMCPServer` (the docs engine's MCP). Left unset, it
|
|
@@ -3639,6 +3672,24 @@ interface Metadata {
|
|
|
3639
3672
|
type?: string;
|
|
3640
3673
|
}>;
|
|
3641
3674
|
image?: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* `og:video` entries. Point `url` at the media file itself (an MP4, for
|
|
3677
|
+
* example) rather than a player page; relative URLs resolve against
|
|
3678
|
+
* `metadataBase` like `images`.
|
|
3679
|
+
*/
|
|
3680
|
+
videos?: string | {
|
|
3681
|
+
url: string;
|
|
3682
|
+
secureUrl?: string;
|
|
3683
|
+
width?: number;
|
|
3684
|
+
height?: number;
|
|
3685
|
+
type?: string;
|
|
3686
|
+
} | Array<{
|
|
3687
|
+
url: string;
|
|
3688
|
+
secureUrl?: string;
|
|
3689
|
+
width?: number;
|
|
3690
|
+
height?: number;
|
|
3691
|
+
type?: string;
|
|
3692
|
+
}>;
|
|
3642
3693
|
type?: string;
|
|
3643
3694
|
locale?: string;
|
|
3644
3695
|
/** `article:published_time`, rendered when `type` is `"article"`. */
|
|
@@ -3775,4 +3826,4 @@ interface MetadataRobots extends MetadataRobotsDirectives {
|
|
|
3775
3826
|
googleBot?: string | MetadataRobotsDirectives;
|
|
3776
3827
|
}
|
|
3777
3828
|
|
|
3778
|
-
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 };
|
|
3829
|
+
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, routeRulesToHeaders 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, type FarmAPIConfig as eA, resolveFarmAPIConfig as eB, normalizeFarmAPIConfig as eC, normalizeFarmAPIBasePath as eD, getFarmAPIBaseURL as eE, resolveFarmAPIRequestURL as eF, type MiddlewareFunction as eG, type RequestMiddleware as eH, type RequestMiddlewareContext as eI, type MiddlewareStore as eJ, type MiddlewareChain as eK, type CookieJar as eL, type CookieOptions as eM, type RateLimitConfig as eN, type RateLimitIncrementResult as eO, type RateLimitStorage as eP, type RateLimitStatus as eQ, type MemoryRateLimitStorageOptions as eR, type NextFunction as eS, type MiddlewareResult as eT, type FarmRouteRuleRenderMode as eU, type FarmRouteRuleRedirect as eV, type FarmRouteRuleCors as eW, type FarmRouteRule as eX, type FarmRouteRules as eY, normalizeRouteRules as eZ, routeRulesToRedirects as e_, matchRegisteredIntegrationRoute as ea, getRegisteredIntegrationAPIManifest as eb, dispatchIntegrationRequest as ec, dispatchIntegrationRequests as ed, integrationMiddlewareMayHandlePath as ee, FARM_INTEGRATION_API_BASE_PATH_KEY as ef, describeIntegrationOriginRejection as eg, resolveIntegrationAllowedOrigins as eh, validateIntegrationRequestOrigin as ei, type IntegrationOriginPolicy as ej, type IntegrationOriginRejection as ek, type IntegrationOriginResult as el, type FarmIntegrationOrmSchema as em, type FarmIntegrationOrmClient as en, type InferFarmIntegrationOrmField as eo, type InferFarmIntegrationOrmFields as ep, type InferFarmIntegrationOrmSchema as eq, type InferFarmIntegrationOrmClient as er, type CreateIntegrationOrmOptions as es, createIntegrationOrm as et, resolveIntegrationOrmRuntimeClient as eu, farmIntegrationSchemaToOrmSchema as ev, type IntegrationOrmModelNames as ew, DEFAULT_FARM_API_BASE_PATH as ex, type FarmAPIConfigResolverContext as ey, type FarmAPIConfigValue as ez, type FarmResponse as f, resolveFarmLlmsTxtConfig as f$, routeRulesToNitroRouteRules as f0, type FarmRouteRuntimeEntryKind as f1, type FarmRouteRenderingMode as f2, type FarmRouteRuntimeManifestEntry as f3, type FarmRouteRuntimeManifest as f4, normalizeFarmRouteRuntimeConfig as f5, mergeFarmRouteRuntimeConfigs as f6, resolveFarmRouteRuntimeConfig as f7, hasFarmRouteRuntimeControls as f8, getFarmRouteRuntimeConfig as f9, isFarmMarkdownMirrorExposed as fA, matchesFarmMarkdownRoutePattern as fB, type FarmPageFormOption as fC, type FarmPageFormField as fD, type FarmPageFormSubmit as fE, type FarmPageFormAction as fF, extractFarmPageActions as fG, DEFAULT_FARM_DEVTOOLS_SHORTCUT as fH, FARM_DEVTOOLS_PATH as fI, FARM_DEVTOOLS_LAUNCH_PARAM as fJ, type FarmDevtoolsConfig as fK, type FarmDevtoolsUserConfig as fL, resolveFarmDevtoolsConfig as fM, type FarmBuildActivityPosition as fN, type FarmDevIndicatorsConfig as fO, resolveFarmDevIndicatorsConfig as fP, generateFarmDevIndicatorsClientRuntime as fQ, type APIRequestRuntime as fR, type FarmLlmsTxtLink as fS, createFarmMetadataRouteResponse as fT, createFarmAgentRobots as fU, createFarmDefaultSitemap as fV, collectFarmLlmsTxtPages as fW, createFarmDefaultLlmsTxt as fX, createFarmLlmsMarkdownReader as fY, renderFarmLlmsFullTxt as fZ, createFarmLlmsFullRenderer as f_, createFarmRouteRuntimeKey as fa, resolveFarmRouteRuleRuntimeConfig as fb, farmRouteRuleMatches as fc, type FarmDocsConfigInput as fd, type FarmDocsNavigationConfig as fe, type FarmDocsSocialImageConfig as ff, type FarmDocsSocialImageFonts as fg, type FarmDocsSidebarItem as fh, FARM_MARKDOWN_PAGE_CHECK_HEADER as fi, _getFarmMarkdownPageCheckToken as fj, _isFarmMarkdownPageCheck as fk, type FarmMarkdownRouteInput as fl, type FarmMarkdownResolvedRoute as fm, type FarmMarkdownMirrorTarget as fn, type ResolveMarkdownMirrorTargetOptions as fo, type CreateMarkdownMirrorResponseOptions as fp, type ApplyMarkdownNegotiationHeadersOptions as fq, resolveMarkdownConfig as fr, resolveMarkdownMirrorTarget as fs, createMarkdownMirrorResponse as ft, applyMarkdownNegotiationHeaders as fu, htmlToMarkdown as fv, farmAcceptQuality as fw, requestAcceptsMarkdown as fx, getFarmMarkdownMirrorPath as fy, getFarmMarkdownAlternatePath as fz, getFarmRedirectError as g, type FarmLlmsTxtUserConfig as g0, type ResolvedFarmLlmsTxtConfig as g1, manageFarmDocumentPreloads as g2, manageFarmHtmlPreloads as g3, manageFarmLinkHeaderPreloads as g4, reportFarmPreloadWarnings as g5, applyFarmCspNonceToResponse as g6, createFarmCspNonce as g7, resolveFarmSecurityConfig as g8, stampFarmCspNonce as g9, farmI18nClientBridgePlugin as ga, farmServerOnlyEntriesPlugin as gb, withFarmRequestTracing as gc, rewriteEarlySsrRelativeImports as gd, transformIsolatedClientBoundaryModule as ge, shouldEmitFarmClientRootHmr as gf, generateClientCachePersistenceCode as gg, resolveFarmClientCacheAdapterEntry as gh, type ClientCachePersistenceEntryCode as gi, FARM_NODE_RESPONSE_END_PENDING as gj, loadFarmDevModule as gk, FarmDevEnvironmentError as gl, type FarmDevModuleServer as gm, 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a as FarmClientHydrationCompleteEvent, b as FarmClientHydrationEvent, d as FarmClientHydrationMode, e as FarmClientHydrationSession, f as FarmClientLocation, g as FarmClientNavigationAction, h as FarmClientNavigationErrorEvent, i as FarmClientNavigationEvent, j as FarmClientNavigationLoadedEvent, k as FarmClientNavigationResolvedEvent, l as FarmClientNavigationSession, m as FarmClientPerformanceEvent, n as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle-DK06VuKP.mjs';
|
|
2
|
-
export { a as FarmPlugin, h as FarmPluginContext, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-
|
|
2
|
+
export { a as FarmPlugin, h as FarmPluginContext, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-CsCuCLBz.mjs';
|
|
3
3
|
import './integration-api-0y4FXJpC.mjs';
|
|
4
4
|
import './endpoint-CCHFqyTE.mjs';
|
|
5
5
|
import './cache.mjs';
|
package/dist/client-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a as FarmClientHydrationCompleteEvent, b as FarmClientHydrationEvent, d as FarmClientHydrationMode, e as FarmClientHydrationSession, f as FarmClientLocation, g as FarmClientNavigationAction, h as FarmClientNavigationErrorEvent, i as FarmClientNavigationEvent, j as FarmClientNavigationLoadedEvent, k as FarmClientNavigationResolvedEvent, l as FarmClientNavigationSession, m as FarmClientPerformanceEvent, n as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle-DK06VuKP.js';
|
|
2
|
-
export { a as FarmPlugin, h as FarmPluginContext, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-
|
|
2
|
+
export { a as FarmPlugin, h as FarmPluginContext, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-D0ke-Hc8.js';
|
|
3
3
|
import './integration-api-BPJo5oXb.js';
|
|
4
4
|
import './endpoint-CA-TNX60.js';
|
|
5
5
|
import './cache.js';
|
package/dist/client.cjs
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkNBBEQLOKcjs = require('./chunk-NBBEQLOK.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -30,7 +30,7 @@ var _chunkIE7XCHH3cjs = require('./chunk-IE7XCHH3.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkB5J2YVG7cjs = require('./chunk-B5J2YVG7.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunkPZYCPSCCcjs = require('./chunk-PZYCPSCC.cjs');
|
|
@@ -49,7 +49,7 @@ var _chunkPZYCPSCCcjs = require('./chunk-PZYCPSCC.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkRW63BOV7cjs = require('./chunk-RW63BOV7.cjs');
|
|
53
53
|
require('./chunk-LTNGXMQ6.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
@@ -70,7 +70,7 @@ require('./chunk-PCOTGFSM.cjs');
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
var
|
|
73
|
+
var _chunkBD3D7EZVcjs = require('./chunk-BD3D7EZV.cjs');
|
|
74
74
|
require('./chunk-S6FJO323.cjs');
|
|
75
75
|
require('./chunk-R5A5KNVX.cjs');
|
|
76
76
|
require('./chunk-JEZO6VUR.cjs');
|
|
@@ -96,14 +96,14 @@ require('./chunk-72ADZ6GQ.cjs');
|
|
|
96
96
|
require('./chunk-ARJWXNQL.cjs');
|
|
97
97
|
require('./chunk-G7HXGLEC.cjs');
|
|
98
98
|
require('./chunk-S3A45T7F.cjs');
|
|
99
|
-
require('./chunk-
|
|
99
|
+
require('./chunk-LZESP4IR.cjs');
|
|
100
100
|
require('./chunk-R5JIFR6B.cjs');
|
|
101
101
|
require('./chunk-C5GUTBZK.cjs');
|
|
102
102
|
require('./chunk-QBK2AA4U.cjs');
|
|
103
103
|
require('./chunk-LIUGYUX3.cjs');
|
|
104
104
|
require('./chunk-NYJMY3JA.cjs');
|
|
105
105
|
require('./chunk-ZEG3OPIB.cjs');
|
|
106
|
-
require('./chunk-
|
|
106
|
+
require('./chunk-ULASELLA.cjs');
|
|
107
107
|
require('./chunk-BIDYX3SL.cjs');
|
|
108
108
|
require('./chunk-I57LW5VZ.cjs');
|
|
109
109
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -167,4 +167,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
exports.APIClientError =
|
|
170
|
+
exports.APIClientError = _chunkRW63BOV7cjs.APIClientError; exports.FARM_CACHE_INVALIDATION_CHANNEL = _chunkNBBEQLOKcjs.FARM_CACHE_INVALIDATION_CHANNEL; exports.FARM_CLIENT_CACHE_PERSIST_VERSION = _chunkNBBEQLOKcjs.FARM_CLIENT_CACHE_PERSIST_VERSION; exports.FarmClientPluginManager = _chunkVB6UCX3Vcjs.FarmClientPluginManager; exports.FetcherInputError = _chunkNBBEQLOKcjs.FetcherInputError; exports.IntegrationClientError = _chunkRW63BOV7cjs.IntegrationClientError; exports.Link = _chunkNBBEQLOKcjs.Link; exports.SPARouter = _chunkBD3D7EZVcjs.SPARouter; exports.api = _chunkNZKJGRB3cjs.api; exports.clearPersistedCache = _chunkNBBEQLOKcjs.clearPersistedCache; exports.createAPIClient = _chunkRW63BOV7cjs.createAPIClient; exports.createApiClients = _chunkRW63BOV7cjs.createApiClients; exports.createClientPluginManager = _chunkVB6UCX3Vcjs.createClientPluginManager; exports.createIntegrationApi = _chunkRW63BOV7cjs.createIntegrationApi; exports.createIntegrationClient = _chunkRW63BOV7cjs.createIntegrationClient; exports.createIntegrationClients = _chunkRW63BOV7cjs.createIntegrationClients; exports.createIntegrationServerClient = _chunkRW63BOV7cjs.createIntegrationServerClient; exports.createIntegrations = _chunkRW63BOV7cjs.createIntegrations; exports.createServerAPIClient = _chunkRW63BOV7cjs.createServerAPIClient; exports.createStore = _chunkNBBEQLOKcjs.createStore; exports.defineClientCacheAdapter = _chunkNBBEQLOKcjs.defineClientCacheAdapter; exports.defineIntegrationAPI = _chunkNZKJGRB3cjs.defineIntegrationAPI; exports.defineIntegrationAPIOperation = _chunkNZKJGRB3cjs.defineIntegrationAPIOperation; exports.enableCrossTabCacheInvalidation = _chunkNBBEQLOKcjs.enableCrossTabCacheInvalidation; exports.enableLiveCacheInvalidation = _chunkNBBEQLOKcjs.enableLiveCacheInvalidation; exports.endpoint = _chunkNZKJGRB3cjs.endpoint; exports.fetchServerQuery = _chunkN4UOK6ZIcjs.fetchServerQuery; exports.getFarmClientDataCache = _chunk63H6BKXGcjs.getFarmClientDataCache; exports.getIntegrationAPIManifest = _chunkRW63BOV7cjs.getIntegrationAPIManifest; exports.getRouter = _chunkBD3D7EZVcjs.getRouter; exports.getTheme = _chunkFK6GO24Vcjs.getTheme; exports.initConfiguredClientCachePersistence = _chunkNBBEQLOKcjs.initConfiguredClientCachePersistence; exports.initPersistedClientCache = _chunkNBBEQLOKcjs.initPersistedClientCache; exports.installChunkErrorRecovery = _chunkJGLC4TO3cjs.installChunkErrorRecovery; exports.integrationClients = _chunkRW63BOV7cjs.integrationClients; exports.integrationsClient = _chunkRW63BOV7cjs.integrationsClient; exports.integrationsServer = _chunkRW63BOV7cjs.integrationsServer; exports.isChunkLoadError = _chunkJGLC4TO3cjs.isChunkLoadError; exports.navigateTo = _chunkBD3D7EZVcjs.navigateTo; exports.normalizeFarmClientCacheKey = _chunk63H6BKXGcjs.normalizeFarmClientCacheKey; exports.prefetch = _chunkBD3D7EZVcjs.prefetch; exports.prefetchServerQuery = _chunkN4UOK6ZIcjs.prefetchServerQuery; exports.pushState = _chunkBD3D7EZVcjs.pushState; exports.readPageState = _chunkBD3D7EZVcjs.readPageState; exports.replaceState = _chunkBD3D7EZVcjs.replaceState; exports.setTheme = _chunkFK6GO24Vcjs.setTheme; exports.storageClientCacheAdapter = _chunkNBBEQLOKcjs.storageClientCacheAdapter; exports.toggleTheme = _chunkFK6GO24Vcjs.toggleTheme; exports.useAction = _chunkD7JTOLFKcjs.useAction; exports.useBlocker = _chunkB5J2YVG7cjs.useBlocker; exports.useFetcher = _chunkNBBEQLOKcjs.useFetcher; exports.useMutation = _chunkNBBEQLOKcjs.useMutation; exports.useNavigation = _chunkB5J2YVG7cjs.useNavigation; exports.usePageState = _chunkB5J2YVG7cjs.usePageState; exports.useRouter = _chunkB5J2YVG7cjs.useRouter; exports.useScrollRestoration = _chunkB5J2YVG7cjs.useScrollRestoration; exports.useServerQuery = _chunkIE7XCHH3cjs.useServerQuery; exports.useTheme = _chunkPZYCPSCCcjs.useTheme;
|
package/dist/client.d.mts
CHANGED
|
@@ -8,10 +8,10 @@ export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCach
|
|
|
8
8
|
export { F as FarmIntegrationAPI, c as FarmIntegrationAPIBodyFormat, e as FarmIntegrationAPIMethod, f as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, a as api, d as defineIntegrationAPI, b as defineIntegrationAPIOperation, i as endpoint } from './integration-api-0y4FXJpC.mjs';
|
|
9
9
|
export { UseThemeResult, useTheme } from './theme/client.mjs';
|
|
10
10
|
import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions } from './router.mjs';
|
|
11
|
-
import { i as FarmViewTransitionMode } from './spa-router-
|
|
12
|
-
export { a as FarmNavigateOptions, e as FarmNavigationBlocker, b as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, F as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, c as pushState, r as readPageState, d as replaceState } from './spa-router-
|
|
11
|
+
import { i as FarmViewTransitionMode } from './spa-router-w4aFOuyn.mjs';
|
|
12
|
+
export { a as FarmNavigateOptions, e as FarmNavigationBlocker, b as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, F as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, c as pushState, r as readPageState, d as replaceState } from './spa-router-w4aFOuyn.mjs';
|
|
13
13
|
import { b as FarmI18nLocale } from './types-CnH8DOqo.mjs';
|
|
14
|
-
export { U as UseBlockerOptions, e as UseBlockerReturn, f as UseRouterOptions, u as useBlocker, a as useNavigation, b as usePageState, c as useRouter, d as useScrollRestoration } from './router-
|
|
14
|
+
export { U as UseBlockerOptions, e as UseBlockerReturn, f as UseRouterOptions, u as useBlocker, a as useNavigation, b as usePageState, c as useRouter, d as useScrollRestoration } from './router-DwhA61SB.mjs';
|
|
15
15
|
export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery-lnQFzcQP.mjs';
|
|
16
16
|
export { a as FarmClientHydrationCompleteEvent, b as FarmClientHydrationEvent, d as FarmClientHydrationMode, e as FarmClientHydrationSession, f as FarmClientLocation, g as FarmClientNavigationAction, h as FarmClientNavigationErrorEvent, i as FarmClientNavigationEvent, j as FarmClientNavigationLoadedEvent, k as FarmClientNavigationResolvedEvent, l as FarmClientNavigationSession, m as FarmClientPerformanceEvent, n as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle-DK06VuKP.mjs';
|
|
17
17
|
export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime-aP52iuL5.mjs';
|
|
@@ -22,7 +22,7 @@ import './server-fn.mjs';
|
|
|
22
22
|
import './server-fn-error-DDh14a0V.mjs';
|
|
23
23
|
import './server-query.mjs';
|
|
24
24
|
import './types-DQnyD3VD.mjs';
|
|
25
|
-
import './client-plugins-
|
|
25
|
+
import './client-plugins-CsCuCLBz.mjs';
|
|
26
26
|
import './renderer.mjs';
|
|
27
27
|
import './deployment.mjs';
|
|
28
28
|
import 'http';
|
|
@@ -46,7 +46,7 @@ import './font.mjs';
|
|
|
46
46
|
import './after.mjs';
|
|
47
47
|
import 'node:http';
|
|
48
48
|
import './island-CfGru1MO.mjs';
|
|
49
|
-
import './render-plan-
|
|
49
|
+
import './render-plan-Dg8RBYFa.mjs';
|
|
50
50
|
|
|
51
51
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
52
52
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|
package/dist/client.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCach
|
|
|
8
8
|
export { F as FarmIntegrationAPI, c as FarmIntegrationAPIBodyFormat, e as FarmIntegrationAPIMethod, f as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, a as api, d as defineIntegrationAPI, b as defineIntegrationAPIOperation, i as endpoint } from './integration-api-BPJo5oXb.js';
|
|
9
9
|
export { UseThemeResult, useTheme } from './theme/client.js';
|
|
10
10
|
import { FarmRouterPathParams, FarmRouterPathParam, FarmRouterBuildOptions } from './router.js';
|
|
11
|
-
import { i as FarmViewTransitionMode } from './spa-router-
|
|
12
|
-
export { a as FarmNavigateOptions, e as FarmNavigationBlocker, b as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, F as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, c as pushState, r as readPageState, d as replaceState } from './spa-router-
|
|
11
|
+
import { i as FarmViewTransitionMode } from './spa-router-DrVOBVGg.js';
|
|
12
|
+
export { a as FarmNavigateOptions, e as FarmNavigationBlocker, b as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, F as FarmNavigationState, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, c as pushState, r as readPageState, d as replaceState } from './spa-router-DrVOBVGg.js';
|
|
13
13
|
import { b as FarmI18nLocale } from './types-CnH8DOqo.js';
|
|
14
|
-
export { U as UseBlockerOptions, e as UseBlockerReturn, f as UseRouterOptions, u as useBlocker, a as useNavigation, b as usePageState, c as useRouter, d as useScrollRestoration } from './router-
|
|
14
|
+
export { U as UseBlockerOptions, e as UseBlockerReturn, f as UseRouterOptions, u as useBlocker, a as useNavigation, b as usePageState, c as useRouter, d as useScrollRestoration } from './router-uRN_29Em.js';
|
|
15
15
|
export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery-lnQFzcQP.js';
|
|
16
16
|
export { a as FarmClientHydrationCompleteEvent, b as FarmClientHydrationEvent, d as FarmClientHydrationMode, e as FarmClientHydrationSession, f as FarmClientLocation, g as FarmClientNavigationAction, h as FarmClientNavigationErrorEvent, i as FarmClientNavigationEvent, j as FarmClientNavigationLoadedEvent, k as FarmClientNavigationResolvedEvent, l as FarmClientNavigationSession, m as FarmClientPerformanceEvent, n as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle-DK06VuKP.js';
|
|
17
17
|
export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime-DXRNhX_3.js';
|
|
@@ -22,7 +22,7 @@ import './server-fn.js';
|
|
|
22
22
|
import './server-fn-error-DDh14a0V.js';
|
|
23
23
|
import './server-query.js';
|
|
24
24
|
import './types-DQnyD3VD.js';
|
|
25
|
-
import './client-plugins-
|
|
25
|
+
import './client-plugins-D0ke-Hc8.js';
|
|
26
26
|
import './renderer.js';
|
|
27
27
|
import './deployment.js';
|
|
28
28
|
import 'http';
|
|
@@ -46,7 +46,7 @@ import './font.js';
|
|
|
46
46
|
import './after.js';
|
|
47
47
|
import 'node:http';
|
|
48
48
|
import './island-CfGru1MO.js';
|
|
49
|
-
import './render-plan-
|
|
49
|
+
import './render-plan-CfIdJKAf.js';
|
|
50
50
|
|
|
51
51
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
52
52
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|
package/dist/client.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
storageClientCacheAdapter,
|
|
14
14
|
useFetcher,
|
|
15
15
|
useMutation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VT4WFRHA.mjs";
|
|
17
17
|
import {
|
|
18
18
|
installChunkErrorRecovery,
|
|
19
19
|
isChunkLoadError
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
usePageState,
|
|
31
31
|
useRouter,
|
|
32
32
|
useScrollRestoration
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VWBHM3F6.mjs";
|
|
34
34
|
import {
|
|
35
35
|
useTheme
|
|
36
36
|
} from "./chunk-BJIYRUGQ.mjs";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
integrationClients,
|
|
50
50
|
integrationsClient,
|
|
51
51
|
integrationsServer
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ARC7I3O2.mjs";
|
|
53
53
|
import "./chunk-72AK62H5.mjs";
|
|
54
54
|
import {
|
|
55
55
|
fetchServerQuery,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
pushState,
|
|
71
71
|
readPageState,
|
|
72
72
|
replaceState
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TS4JHGUJ.mjs";
|
|
74
74
|
import "./chunk-IHQIOZLC.mjs";
|
|
75
75
|
import "./chunk-2PQNJXFM.mjs";
|
|
76
76
|
import "./chunk-QHSH7IH4.mjs";
|
|
@@ -96,14 +96,14 @@ import "./chunk-G4MWPDSE.mjs";
|
|
|
96
96
|
import "./chunk-EMLAPBEM.mjs";
|
|
97
97
|
import "./chunk-O7BH5O46.mjs";
|
|
98
98
|
import "./chunk-7LTCDQRS.mjs";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-73WX6PRY.mjs";
|
|
100
100
|
import "./chunk-SKNL7VA2.mjs";
|
|
101
101
|
import "./chunk-2A3EQHXX.mjs";
|
|
102
102
|
import "./chunk-JNZ4TDWM.mjs";
|
|
103
103
|
import "./chunk-C4NCTZLM.mjs";
|
|
104
104
|
import "./chunk-CNOQY6Z7.mjs";
|
|
105
105
|
import "./chunk-4SIYUGRY.mjs";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
107
107
|
import "./chunk-L3KT7IXV.mjs";
|
|
108
108
|
import "./chunk-4RB44K6Z.mjs";
|
|
109
109
|
import "./chunk-55YI3RRB.mjs";
|
package/dist/config.d.mts
CHANGED
package/dist/config.d.ts
CHANGED