@farm.js/core 0.1.37 → 0.1.38
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-BwKlpnc7.d.mts} +1 -1
- package/dist/{agent-mcp-jyDHbQKe.d.ts → agent-mcp-De1imoMS.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 +2 -2
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +1 -1
- 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-Cbkj9ufe.d.mts → app-CFZt-srr.d.mts} +21 -3
- package/dist/{app-CKO3iN1c.d.ts → app-kT_QXTdx.d.ts} +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-LOFKRKO7.cjs → chunk-2DD4JMQC.cjs} +113 -22
- 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-WT4TGLXT.cjs → chunk-4E5QXOCL.cjs} +6 -6
- package/dist/{chunk-7DWNJI73.cjs → chunk-4IE345DM.cjs} +37 -19
- 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-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-Z7LA7MHQ.mjs → chunk-7FPTZLKH.mjs} +1 -1
- package/dist/{chunk-JPNFPAZ4.mjs → chunk-7PEP3BUT.mjs} +1 -1
- package/dist/{chunk-XOPOIFTJ.mjs → chunk-A3EAIURZ.mjs} +25 -7
- package/dist/{chunk-LBDP3YT3.mjs → chunk-ARC7I3O2.mjs} +1 -1
- package/dist/{chunk-LBGILORX.mjs → chunk-B6G5CKMC.mjs} +101 -10
- package/dist/{chunk-MCIZVNOQ.mjs → chunk-BZHXGVMA.mjs} +1 -1
- 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-DRLKAXDM.mjs} +1 -1
- package/dist/{chunk-VR4GD5I3.cjs → chunk-EIPC3FDA.cjs} +12 -4
- package/dist/{chunk-K3SAEIM3.mjs → chunk-EKF7KDFD.mjs} +1 -1
- package/dist/{chunk-B5PFZLKV.cjs → chunk-EKN7NSZO.cjs} +25 -8
- package/dist/{chunk-ATWHHSY2.cjs → chunk-EMO6K4YY.cjs} +4 -4
- package/dist/{chunk-6SJ2KJTA.mjs → chunk-EPYU2EBL.mjs} +1 -1
- package/dist/{chunk-PTZ2TVNE.cjs → chunk-H5CLOUZS.cjs} +5 -5
- package/dist/{chunk-DTSROJ5J.mjs → chunk-HD5CF3OE.mjs} +1 -1
- package/dist/{chunk-IAIYV4RZ.mjs → chunk-HXRYZWTA.mjs} +1 -1
- package/dist/{chunk-Z5BEWYVO.mjs → chunk-IBUQWVYA.mjs} +16 -0
- 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-NFMDCAOS.mjs → chunk-JCKYH4LG.mjs} +2 -2
- package/dist/{chunk-PMQHMWZU.cjs → chunk-JCYYXBAJ.cjs} +3 -3
- package/dist/{chunk-LPFV45AY.cjs → chunk-KCQBAKIY.cjs} +9 -9
- package/dist/{chunk-FGRYBX5X.mjs → chunk-KHKLMNI5.mjs} +1 -1
- package/dist/{chunk-NQ6QFZWD.cjs → chunk-KKSTAEMY.cjs} +1 -1
- package/dist/{chunk-7O5M4UKW.cjs → chunk-L4DD7ODZ.cjs} +2 -2
- package/dist/{chunk-YCKO6FRS.mjs → chunk-LI2F57NI.mjs} +1 -1
- package/dist/{chunk-TW4GYDBJ.mjs → chunk-MLY2RP5R.mjs} +10 -2
- package/dist/{chunk-5BXGGEC7.cjs → chunk-N32CC42M.cjs} +5 -5
- package/dist/{chunk-BHY547NB.cjs → chunk-NBBEQLOK.cjs} +9 -9
- package/dist/{chunk-WQ7T2263.mjs → chunk-OAHTRMIC.mjs} +3 -3
- package/dist/{chunk-K4I4O5TS.mjs → chunk-OCIEZME4.mjs} +790 -671
- 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-3A4KGQYI.cjs → chunk-Q3NXS4MU.cjs} +16 -14
- package/dist/{chunk-TPLJVC7E.mjs → chunk-QFW2IH5E.mjs} +23 -6
- package/dist/{chunk-S3VWVTVA.mjs → chunk-QRKIMN7T.mjs} +13 -1
- package/dist/chunk-QTXBII4Z.cjs +632 -0
- package/dist/{chunk-CI6E3UOH.cjs → chunk-RG4A6LB2.cjs} +7 -7
- 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-6TJITR2B.cjs → chunk-TGFQVLLF.cjs} +870 -751
- package/dist/{chunk-4P6ULFMD.mjs → chunk-TUBTR2OP.mjs} +221 -102
- package/dist/{chunk-EMMQ64QW.cjs → chunk-TYJALEHQ.cjs} +2 -2
- package/dist/{chunk-WRPHYQVY.mjs → chunk-TYMMBFN2.mjs} +1 -1
- package/dist/chunk-U6QLDL3G.mjs +576 -0
- package/dist/{chunk-OW67PDDS.cjs → chunk-ULASELLA.cjs} +13 -1
- package/dist/{chunk-WWIKMBRN.mjs → chunk-VNGH5MLF.mjs} +17 -1
- package/dist/{chunk-NNSAQX3U.mjs → chunk-VT4WFRHA.mjs} +1 -1
- package/dist/{chunk-UJZLSXUB.cjs → chunk-VU6AAZVY.cjs} +17 -1
- 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-W2YDNK66.cjs → chunk-XKVVMZP5.cjs} +2 -2
- package/dist/{chunk-Q5FYSK45.cjs → chunk-YR2VBEMO.cjs} +619 -500
- package/dist/{chunk-EXG5LD6B.mjs → chunk-ZJD2PN6Z.mjs} +10 -8
- package/dist/{chunk-G2TEB74S.cjs → chunk-ZXH4TS3F.cjs} +2 -2
- package/dist/{client-plugins-C8DjftDF.d.ts → client-plugins-BvlNhGEB.d.ts} +40 -7
- package/dist/{client-plugins-CV4eJ9De.d.mts → client-plugins-DUrIYX9B.d.mts} +40 -7
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +5 -5
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/client.mjs +4 -4
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-KVOY2TCZ.mjs → devtools-JYJNOLPQ.mjs} +7 -5
- package/dist/{devtools-JXFQNWSH.cjs → devtools-VQWJANJV.cjs} +8 -6
- package/dist/docs.cjs +11 -9
- package/dist/docs.d.mts +20 -2
- package/dist/docs.d.ts +20 -2
- package/dist/docs.mjs +10 -8
- 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 +52 -39
- package/dist/index.d.mts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.mjs +52 -39
- package/dist/integrations.cjs +4 -2
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +3 -1
- 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 +28 -27
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +27 -26
- package/dist/internal/cli-runtime.cjs +10 -8
- package/dist/internal/cli-runtime.mjs +9 -7
- 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 +8 -6
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +7 -5
- 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 +34 -14
- package/dist/internal/production-runtime.d.mts +51 -11
- package/dist/internal/production-runtime.d.ts +51 -11
- package/dist/internal/production-runtime.mjs +36 -16
- 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 +9 -7
- package/dist/middleware.d.mts +24 -4
- package/dist/middleware.d.ts +24 -4
- package/dist/middleware.mjs +9 -7
- package/dist/navigation.cjs +4 -4
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +3 -3
- package/dist/plugin.cjs +21 -20
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.mjs +20 -19
- package/dist/{production-runtime-Du_FHb2-.d.mts → production-runtime-BQ4_WLwQ.d.mts} +1 -1
- package/dist/{production-runtime-C2kkrPVZ.d.ts → production-runtime-D2aMyzjr.d.ts} +1 -1
- package/dist/query/client.cjs +2 -2
- package/dist/query/client.mjs +1 -1
- package/dist/{render-plan-BnnPTpus.d.ts → render-plan-25p4hrj4.d.ts} +1 -1
- package/dist/{render-plan-Cgx7v8tJ.d.mts → render-plan-DtkXMN8D.d.mts} +1 -1
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer.d.mts +13 -4
- package/dist/renderer.d.ts +13 -4
- package/dist/{request-sKayKcop.d.mts → request-DgCkIdcn.d.mts} +4 -2
- package/dist/{request-BNWr7r5e.d.ts → request-jF4jwx8f.d.ts} +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-Bx4Auw6Q.d.ts → route-rendering-Bji6S6a_.d.ts} +1 -1
- package/dist/{route-rendering-DWFp3Yq4.d.mts → route-rendering-CSBF78Ya.d.mts} +1 -1
- package/dist/{router-BK6K42Ij.d.mts → router-B09Ui3Qm.d.mts} +1 -1
- package/dist/{router-DnW_2tQi.d.ts → router-CPB9cXtG.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-CM6E6yuI.d.mts} +1 -1
- package/dist/{runtime-CA3Ei5k_.d.ts → runtime-EDMwLdjv.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 +47 -46
- package/dist/server.d.mts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.mjs +25 -24
- package/dist/{spa-router-Mwbd7g2L.d.ts → spa-router-B_N8XgVu.d.ts} +2 -2
- package/dist/{spa-router-D6fUA4Rn.d.mts → spa-router-Cgimzfbi.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-BwVcAfUR.d.ts → utils-BNxAKAuT.d.ts} +1 -1
- package/dist/{utils-p9Hs-jCc.d.mts → utils-DZciYXYl.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +21 -20
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +20 -19
- 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
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export { _runWithAfterRequest } from '../after.js';
|
|
2
|
-
import { aJ as FarmMCPCatalogDetails,
|
|
3
|
-
export {
|
|
4
|
-
export { m as mergeRouteRenderingDirectiveConfig } from '../route-rendering-
|
|
2
|
+
import { aJ as FarmMCPCatalogDetails, cx as ResolvedFarmConfig, dO as FarmIntegrationsUserConfig, fR as APIRequestRuntime, bT as ResolvedFarmMCPConfig, aE as FarmMCPServerRegistration, fS as FarmLlmsTxtLink, I as FarmConfig, _ as FarmContextFactoryInput } from '../client-plugins-BvlNhGEB.js';
|
|
3
|
+
export { g0 as FarmLlmsTxtUserConfig, g1 as ResolvedFarmLlmsTxtConfig, g6 as applyFarmCspNonceToResponse, fW as collectFarmLlmsTxtPages, fU as createFarmAgentRobots, g7 as createFarmCspNonce, fX as createFarmDefaultLlmsTxt, fV as createFarmDefaultSitemap, f_ as createFarmLlmsFullRenderer, fY as createFarmLlmsMarkdownReader, fT as createFarmMetadataRouteResponse, g as getFarmRedirectError, i as isFarmNotFoundError, b as isFarmRedirectError, g2 as manageFarmDocumentPreloads, g3 as manageFarmHtmlPreloads, g4 as manageFarmLinkHeaderPreloads, aI as registerFarmMCPServer, fZ as renderFarmLlmsFullTxt, g5 as reportFarmPreloadWarnings, f$ as resolveFarmLlmsTxtConfig, g8 as resolveFarmSecurityConfig, g9 as stampFarmCspNonce } from '../client-plugins-BvlNhGEB.js';
|
|
4
|
+
export { m as mergeRouteRenderingDirectiveConfig } from '../route-rendering-Bji6S6a_.js';
|
|
5
5
|
import { R as ResolvedFarmServerConfig } from '../workflows-jZ4BcdoZ.js';
|
|
6
6
|
export { a as FarmServerConfig, y as bufferFarmRequestBody, z as cloneFarmRequestWithContext, A as createFarmNodeRequestAbortSignal, B as createFarmRequestBodyErrorResponse, C as matchesFarmIfNoneMatch, E as readFarmRequestBody, G as readNodeRequestBody, H as resolveFarmServerConfig } from '../workflows-jZ4BcdoZ.js';
|
|
7
|
-
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request-
|
|
7
|
+
export { _ as _getRequestReadCount, a as _runWithCurrentRequest, b as _runWithFarmCspNonce, g as getCurrentRequest, r as resolveFarmWebRequestOrigin } from '../request-jF4jwx8f.js';
|
|
8
8
|
export { configureFarmCache, createFarmCacheKey, getFarmDataCache, normalizeRevalidatePath } from '../cache.js';
|
|
9
9
|
import { k as FarmI18nUserConfig, R as ResolvedFarmI18nConfig } from '../types-CnH8DOqo.js';
|
|
10
10
|
export { c as createFarmLocaleCookie, g as getFarmLocaleVaryHeaders } from '../resolver-DadfRL6F.js';
|
|
11
11
|
import { F as FarmLocalePathConfig } from '../index-CwoOP-MW.js';
|
|
12
12
|
export { l as localizeFarmHref, a as localizeFarmPathname, s as stripFarmLocaleFromPathname } from '../index-CwoOP-MW.js';
|
|
13
|
-
import { F as FarmDefaultMCPPage } from '../agent-mcp-
|
|
14
|
-
export { a as addMetadataImageReference, b as addMetadataMarkdownAlternate, g as collectFarmDefaultMCPPages, m as mergeMetadata, d as mergeModuleViewport, r as renderMetadataHead, e as renderViewportHead, h as resolveFarmDefaultMCPServer, f as resolveFarmNotFoundMetadata } from '../agent-mcp-
|
|
15
|
-
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner } from '../production-runtime-
|
|
13
|
+
import { F as FarmDefaultMCPPage } from '../agent-mcp-De1imoMS.js';
|
|
14
|
+
export { a as addMetadataImageReference, b as addMetadataMarkdownAlternate, g as collectFarmDefaultMCPPages, m as mergeMetadata, d as mergeModuleViewport, r as renderMetadataHead, e as renderViewportHead, h as resolveFarmDefaultMCPServer, f as resolveFarmNotFoundMetadata } from '../agent-mcp-De1imoMS.js';
|
|
15
|
+
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner } from '../production-runtime-D2aMyzjr.js';
|
|
16
16
|
export { L as configureFarmObservability, P as emitFarmEvent, Q as runWithFarmRequestSpan } from '../observability-CoXunYhS.js';
|
|
17
17
|
export { f as createFarmInstrumentationLifecycle, r as resolveFarmInstrumentationRuntime } from '../instrumentation-runtime-CE06JLHZ.js';
|
|
18
18
|
export { _setDefaultFarmThemeConfig, getTheme } from '../theme/server.js';
|
|
19
19
|
import { c as FarmThemeRuntime, d as FarmThemeConfig, R as ResolvedFarmThemeConfig, a as FarmThemePreference } from '../types-DQnyD3VD.js';
|
|
20
20
|
export { d as applyFarmBasePath, r as resolveFarmTrailingSlashRedirect, s as searchParamsToObject, b as setFarmBasePath, a as setFarmTrailingSlashPreference, c as stripFarmBasePath } from '../base-path-BU16ETmo.js';
|
|
21
|
-
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils-
|
|
21
|
+
export { m as matchFarmPageRoute, p as parseRoutePath } from '../utils-BNxAKAuT.js';
|
|
22
22
|
import 'node:http';
|
|
23
23
|
import '../lifecycle-DK06VuKP.js';
|
|
24
24
|
import '../integration-api-BPJo5oXb.js';
|
|
@@ -149,6 +149,12 @@ interface FarmAppManifestInput {
|
|
|
149
149
|
version: string;
|
|
150
150
|
path: string;
|
|
151
151
|
} | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Whether a guard written for a path (middleware, an integration's `protectedRoutes`)
|
|
154
|
+
* covers an MCP server's endpoint. Set by the server at runtime: such a server is listed
|
|
155
|
+
* as requiring authorization, without its tools, resources or prompts, in the public view.
|
|
156
|
+
*/
|
|
157
|
+
guardCoversPath?: (path: string) => boolean;
|
|
152
158
|
}
|
|
153
159
|
type Env = Record<string, string | undefined>;
|
|
154
160
|
/**
|
|
@@ -160,6 +166,37 @@ declare function createFarmAppManifestResponse(request: Request, input: FarmAppM
|
|
|
160
166
|
env?: Env;
|
|
161
167
|
}): Promise<Response>;
|
|
162
168
|
|
|
169
|
+
/**
|
|
170
|
+
* Whether a guard written for this page's path covers it: middleware.ts in the page's
|
|
171
|
+
* folder or a parent below the root, a config middleware matcher, or an integration's
|
|
172
|
+
* middleware matcher (`protectedRoutes`). Public listings (sitemap.xml, llms.txt, the
|
|
173
|
+
* default MCP server) leave such a page out, so its path and title stay unpublished.
|
|
174
|
+
*
|
|
175
|
+
* Guards that cover every path (a root middleware.ts, middleware without a matcher or
|
|
176
|
+
* with a catch-all or function matcher, a plugin's `runtime.before`) name no page, so
|
|
177
|
+
* they hide nothing: the listings would otherwise be empty. Their pages are still read
|
|
178
|
+
* as an anonymous visitor, so a guard there keeps the content itself private.
|
|
179
|
+
*
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
declare function farmPathGuardCoversPage(options: {
|
|
183
|
+
config: {
|
|
184
|
+
middleware?: ResolvedFarmConfig["middleware"];
|
|
185
|
+
integrations?: FarmIntegrationsUserConfig;
|
|
186
|
+
};
|
|
187
|
+
middlewareRoutes: readonly {
|
|
188
|
+
path: string;
|
|
189
|
+
}[];
|
|
190
|
+
}, pathname: string): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* {@link farmPathGuardCoversPage} for an endpoint served under `/api`, such as an
|
|
193
|
+
* `apiMcp()` server: a guard written for either the `/api` route or its public
|
|
194
|
+
* `api.basePath` form covers it.
|
|
195
|
+
*
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
declare function farmPathGuardCoversEndpoint(options: Parameters<typeof farmPathGuardCoversPage>[0], path: string, apiServerBasePath?: string): boolean;
|
|
199
|
+
|
|
163
200
|
/**
|
|
164
201
|
* Compare a caller-supplied secret against the configured one without leaking
|
|
165
202
|
* how much of it matched.
|
|
@@ -244,9 +281,12 @@ declare function resolveFarmPreviewDeployment(env: FarmDeploymentEnv | undefined
|
|
|
244
281
|
declare function applyFarmPreviewRobotsTag(response: Response): Response;
|
|
245
282
|
|
|
246
283
|
/** Empty when the target is not an http(s) URL; the page then stays as rendered. */
|
|
247
|
-
declare function createLateRedirectRecovery(url: string): string;
|
|
284
|
+
declare function createLateRedirectRecovery(url: string, nonce?: string): string;
|
|
248
285
|
/** `content` is the rendered not-found markup (the app's not-found page or the built-in one). */
|
|
249
|
-
declare function createLateNotFoundRecovery(content: string): string;
|
|
286
|
+
declare function createLateNotFoundRecovery(content: string, nonce?: string): string;
|
|
287
|
+
|
|
288
|
+
/** The CSP nonce of the response being rendered, when `security.csp.nonce` is on. */
|
|
289
|
+
declare function _resolveCurrentCspNonce(): string | undefined;
|
|
250
290
|
|
|
251
291
|
/** Bind the owning app's live route dispatcher, never a process-wide route table. */
|
|
252
292
|
declare function _runWithAPIRequestRuntime<T>(runtime: APIRequestRuntime, run: () => T): T;
|
|
@@ -464,4 +504,4 @@ declare function appendFarmRedirectQuery(destination: string, search: string): s
|
|
|
464
504
|
|
|
465
505
|
declare function appendFarmLinkHeader(headers: Headers, value: string): void;
|
|
466
506
|
|
|
467
|
-
export { _isFarmOwnedResponse, _markFarmOwnedResponse, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appendFarmLinkHeader, appendFarmRedirectQuery, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmAppManifestResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmI18nConfig, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, withFarmRouteContext };
|
|
507
|
+
export { _isFarmOwnedResponse, _markFarmOwnedResponse, _resolveCurrentCspNonce, _runWithAPIRequestRuntime, _withFarmResponseHeaders, appendFarmLinkHeader, appendFarmRedirectQuery, applyFarmPreviewRobotsTag, applyFarmThemeDocument, compareRouteSpecificity, createDefaultErrorMarkup, createFarmAiCatalogResponse, createFarmApiCatalogResponse, createFarmAppManifestResponse, createFarmLayoutSelector, createFarmLegacyRequest, createFarmProductionLifecycle, createFarmThemeDocumentParts, createLateNotFoundRecovery, createLateRedirectRecovery, ensureFarmDocumentMeta, farmPathGuardCoversEndpoint, farmSecretsMatch, generateNativeMCPPluginSource, getDefaultErrorStatusText, getRoutePatternSpecificity, handleFarmDefaultMCPRequest, isInRouteGroupScope as isInFarmRouteGroupScope, listFarmMCPLlmsTxtLinks, renderFarmLegacyErrorHtml, renderFarmLegacyHtml, renderFarmLocaleAlternateLinks, resolveDefaultErrorStatus, resolveFarmI18nConfig, resolveFarmPreviewDeployment, resolveFarmRouteContext, serializeFarmInlineValue, withFarmRouteContext };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleFarmDefaultMCPRequest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-EPYU2EBL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createFarmLayoutSelector,
|
|
6
6
|
generateNativeMCPPluginSource
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TYMMBFN2.mjs";
|
|
8
8
|
import {
|
|
9
9
|
applyProductionMiddlewareHeaders,
|
|
10
10
|
createProductionMiddlewareRunner
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-KHKLMNI5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
createFarmInstrumentationLifecycle,
|
|
14
14
|
resolveFarmInstrumentationRuntime
|
|
@@ -25,16 +25,17 @@ import {
|
|
|
25
25
|
createLateNotFoundRecovery,
|
|
26
26
|
createLateRedirectRecovery,
|
|
27
27
|
ensureFarmDocumentMeta,
|
|
28
|
+
farmPathGuardCoversEndpoint,
|
|
28
29
|
getDefaultErrorStatusText,
|
|
29
30
|
isInRouteGroupScope,
|
|
30
31
|
listFarmMCPLlmsTxtLinks,
|
|
31
32
|
renderFarmLocaleAlternateLinks,
|
|
32
33
|
resolveDefaultErrorStatus
|
|
33
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-B6G5CKMC.mjs";
|
|
34
35
|
import {
|
|
35
36
|
collectFarmDefaultMCPPages,
|
|
36
37
|
resolveFarmDefaultMCPServer
|
|
37
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-P664ZVTV.mjs";
|
|
38
39
|
import {
|
|
39
40
|
mergeRouteRenderingDirectiveConfig
|
|
40
41
|
} from "../chunk-DAO7JGTS.mjs";
|
|
@@ -45,18 +46,16 @@ import "../chunk-XAXTTBUT.mjs";
|
|
|
45
46
|
import {
|
|
46
47
|
_setDefaultFarmThemeConfig,
|
|
47
48
|
getTheme
|
|
48
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-CUM5NYL5.mjs";
|
|
49
50
|
import {
|
|
50
|
-
applyFarmCspNonceToResponse,
|
|
51
51
|
applyFarmPreviewRobotsTag,
|
|
52
52
|
createFarmAgentRobots,
|
|
53
53
|
createFarmDefaultSitemap,
|
|
54
54
|
manageFarmDocumentPreloads,
|
|
55
55
|
manageFarmHtmlPreloads,
|
|
56
56
|
manageFarmLinkHeaderPreloads,
|
|
57
|
-
reportFarmPreloadWarnings
|
|
58
|
-
|
|
59
|
-
} from "../chunk-4E5WBPEG.mjs";
|
|
57
|
+
reportFarmPreloadWarnings
|
|
58
|
+
} from "../chunk-WFRT7JPX.mjs";
|
|
60
59
|
import {
|
|
61
60
|
collectFarmLlmsTxtPages,
|
|
62
61
|
createFarmDefaultLlmsTxt,
|
|
@@ -64,8 +63,14 @@ import {
|
|
|
64
63
|
createFarmLlmsMarkdownReader,
|
|
65
64
|
renderFarmLlmsFullTxt,
|
|
66
65
|
resolveFarmLlmsTxtConfig
|
|
67
|
-
} from "../chunk-
|
|
68
|
-
import
|
|
66
|
+
} from "../chunk-HD5CF3OE.mjs";
|
|
67
|
+
import {
|
|
68
|
+
applyFarmCspNonceToResponse,
|
|
69
|
+
createFarmCspNonce,
|
|
70
|
+
resolveFarmSecurityConfig,
|
|
71
|
+
stampFarmCspNonce
|
|
72
|
+
} from "../chunk-U6QLDL3G.mjs";
|
|
73
|
+
import "../chunk-VNGH5MLF.mjs";
|
|
69
74
|
import "../chunk-MVL2RAJW.mjs";
|
|
70
75
|
import {
|
|
71
76
|
farmSecretsMatch
|
|
@@ -75,10 +80,12 @@ import {
|
|
|
75
80
|
resolveFarmRouteContext,
|
|
76
81
|
withFarmRouteContext
|
|
77
82
|
} from "../chunk-SEJ5N6SL.mjs";
|
|
83
|
+
import "../chunk-IBUQWVYA.mjs";
|
|
84
|
+
import "../chunk-44SYJEG3.mjs";
|
|
78
85
|
import {
|
|
79
86
|
_runWithMiddlewareContext,
|
|
80
87
|
_runWithMiddlewareData
|
|
81
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-SKVTP5PR.mjs";
|
|
82
89
|
import "../chunk-HZFM2LWQ.mjs";
|
|
83
90
|
import {
|
|
84
91
|
_runWithAPIRequestRuntime
|
|
@@ -95,6 +102,8 @@ import {
|
|
|
95
102
|
getFarmDataCache,
|
|
96
103
|
normalizeRevalidatePath
|
|
97
104
|
} from "../chunk-MSSFIQGM.mjs";
|
|
105
|
+
import "../chunk-FZ6YYU2W.mjs";
|
|
106
|
+
import "../chunk-FP2INE7H.mjs";
|
|
98
107
|
import {
|
|
99
108
|
bufferFarmRequestBody,
|
|
100
109
|
cloneFarmRequestWithContext,
|
|
@@ -120,13 +129,15 @@ import {
|
|
|
120
129
|
emitFarmEvent,
|
|
121
130
|
runWithFarmRequestSpan
|
|
122
131
|
} from "../chunk-FUZEBRP3.mjs";
|
|
132
|
+
import "../chunk-Z2RZJZIZ.mjs";
|
|
123
133
|
import "../chunk-BTHHUD7Q.mjs";
|
|
124
|
-
import "../chunk-
|
|
134
|
+
import "../chunk-LI2F57NI.mjs";
|
|
125
135
|
import {
|
|
126
136
|
resolveFarmTrailingSlashRedirect,
|
|
127
137
|
setFarmTrailingSlashPreference
|
|
128
138
|
} from "../chunk-54UPOYFS.mjs";
|
|
129
139
|
import "../chunk-WNSDDRNU.mjs";
|
|
140
|
+
import "../chunk-JPLUGGRV.mjs";
|
|
130
141
|
import "../chunk-G4MWPDSE.mjs";
|
|
131
142
|
import "../chunk-O7BH5O46.mjs";
|
|
132
143
|
import "../chunk-7LTCDQRS.mjs";
|
|
@@ -153,6 +164,7 @@ import "../chunk-4SIYUGRY.mjs";
|
|
|
153
164
|
import {
|
|
154
165
|
appendFarmRedirectQuery
|
|
155
166
|
} from "../chunk-BRYHOB4X.mjs";
|
|
167
|
+
import "../chunk-SAXPH6G5.mjs";
|
|
156
168
|
import {
|
|
157
169
|
_isFarmOwnedResponse,
|
|
158
170
|
_markFarmOwnedResponse,
|
|
@@ -166,11 +178,14 @@ import {
|
|
|
166
178
|
import {
|
|
167
179
|
_getRequestReadCount,
|
|
168
180
|
_runWithCurrentRequest,
|
|
181
|
+
_runWithFarmCspNonce,
|
|
169
182
|
getCurrentRequest,
|
|
170
183
|
resolveFarmWebRequestOrigin
|
|
171
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-POSPE3IO.mjs";
|
|
172
185
|
import "../chunk-CQ6OSQ3K.mjs";
|
|
173
|
-
import
|
|
186
|
+
import {
|
|
187
|
+
_resolveCurrentCspNonce
|
|
188
|
+
} from "../chunk-QRKIMN7T.mjs";
|
|
174
189
|
import {
|
|
175
190
|
localizeFarmHref,
|
|
176
191
|
localizeFarmPathname,
|
|
@@ -491,9 +506,11 @@ export {
|
|
|
491
506
|
_getRequestReadCount,
|
|
492
507
|
_isFarmOwnedResponse,
|
|
493
508
|
_markFarmOwnedResponse,
|
|
509
|
+
_resolveCurrentCspNonce,
|
|
494
510
|
_runWithAPIRequestRuntime,
|
|
495
511
|
_runWithAfterRequest,
|
|
496
512
|
_runWithCurrentRequest,
|
|
513
|
+
_runWithFarmCspNonce,
|
|
497
514
|
_runWithMiddlewareContext,
|
|
498
515
|
_runWithMiddlewareData,
|
|
499
516
|
_setDefaultFarmThemeConfig,
|
|
@@ -520,6 +537,7 @@ export {
|
|
|
520
537
|
createFarmApiCatalogResponse,
|
|
521
538
|
createFarmAppManifestResponse,
|
|
522
539
|
createFarmCacheKey,
|
|
540
|
+
createFarmCspNonce,
|
|
523
541
|
createFarmDefaultLlmsTxt,
|
|
524
542
|
createFarmDefaultSitemap,
|
|
525
543
|
createFarmInstrumentationLifecycle,
|
|
@@ -538,6 +556,7 @@ export {
|
|
|
538
556
|
createProductionMiddlewareRunner,
|
|
539
557
|
emitFarmEvent,
|
|
540
558
|
ensureFarmDocumentMeta,
|
|
559
|
+
farmPathGuardCoversEndpoint,
|
|
541
560
|
farmSecretsMatch,
|
|
542
561
|
generateNativeMCPPluginSource,
|
|
543
562
|
getCurrentRequest,
|
|
@@ -591,6 +610,7 @@ export {
|
|
|
591
610
|
serializeFarmInlineValue,
|
|
592
611
|
setFarmBasePath,
|
|
593
612
|
setFarmTrailingSlashPreference,
|
|
613
|
+
stampFarmCspNonce,
|
|
594
614
|
stripFarmBasePath,
|
|
595
615
|
stripFarmLocaleFromPathname,
|
|
596
616
|
withFarmRouteContext
|
package/dist/markdown.cjs
CHANGED
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkSGBJ247Qcjs = require('./chunk-SGBJ247Q.cjs');
|
|
18
21
|
require('./chunk-J63ZH5OQ.cjs');
|
|
19
22
|
require('./chunk-75RZHGLS.cjs');
|
|
20
23
|
require('./chunk-E3UK5IIB.cjs');
|
|
@@ -41,4 +44,7 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
41
44
|
|
|
42
45
|
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
exports.FARM_MARKDOWN_CONTENT_TYPE = _chunkSGBJ247Qcjs.FARM_MARKDOWN_CONTENT_TYPE; exports.FARM_MARKDOWN_PAGE_CHECK_HEADER = _chunkSGBJ247Qcjs.FARM_MARKDOWN_PAGE_CHECK_HEADER; exports._getFarmMarkdownPageCheckToken = _chunkSGBJ247Qcjs._getFarmMarkdownPageCheckToken; exports._isFarmMarkdownPageCheck = _chunkSGBJ247Qcjs._isFarmMarkdownPageCheck; exports.applyMarkdownNegotiationHeaders = _chunkSGBJ247Qcjs.applyMarkdownNegotiationHeaders; exports.createFarmMarkdownErrorBody = _chunkSGBJ247Qcjs.createFarmMarkdownErrorBody; exports.createMarkdownMirrorResponse = _chunkSGBJ247Qcjs.createMarkdownMirrorResponse; exports.extractFarmPageActions = _chunkSGBJ247Qcjs.extractFarmPageActions; exports.farmAcceptQuality = _chunkSGBJ247Qcjs.farmAcceptQuality; exports.farmRequestWantsMarkdown = _chunkSGBJ247Qcjs.farmRequestWantsMarkdown; exports.getFarmMarkdownAlternatePath = _chunkSGBJ247Qcjs.getFarmMarkdownAlternatePath; exports.getFarmMarkdownMirrorPath = _chunkSGBJ247Qcjs.getFarmMarkdownMirrorPath; exports.htmlToMarkdown = _chunkSGBJ247Qcjs.htmlToMarkdown; exports.isFarmMarkdownMirrorExposed = _chunkSGBJ247Qcjs.isFarmMarkdownMirrorExposed; exports.matchesFarmMarkdownRoutePattern = _chunkSGBJ247Qcjs.matchesFarmMarkdownRoutePattern; exports.requestAcceptsMarkdown = _chunkSGBJ247Qcjs.requestAcceptsMarkdown; exports.resolveMarkdownConfig = _chunkSGBJ247Qcjs.resolveMarkdownConfig; exports.resolveMarkdownMirrorTarget = _chunkSGBJ247Qcjs.resolveMarkdownMirrorTarget;
|
package/dist/markdown.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { fq as ApplyMarkdownNegotiationHeadersOptions, fp as CreateMarkdownMirrorResponseOptions, z as FARM_MARKDOWN_CONTENT_TYPE, fi as FARM_MARKDOWN_PAGE_CHECK_HEADER, fn as FarmMarkdownMirrorTarget, aF as FarmMarkdownResolvedConfig, fm as FarmMarkdownResolvedRoute, fl as FarmMarkdownRouteInput, cI as FarmMarkdownUserConfig, fF as FarmPageFormAction, fD as FarmPageFormField, fC as FarmPageFormOption, fE as FarmPageFormSubmit, fo as ResolveMarkdownMirrorTargetOptions, fj as _getFarmMarkdownPageCheckToken, fk as _isFarmMarkdownPageCheck, fu as applyMarkdownNegotiationHeaders, A as createFarmMarkdownErrorBody, ft as createMarkdownMirrorResponse, fG as extractFarmPageActions, fw as farmAcceptQuality, B as farmRequestWantsMarkdown, fz as getFarmMarkdownAlternatePath, fy as getFarmMarkdownMirrorPath, fv as htmlToMarkdown, fA as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fx as requestAcceptsMarkdown, fr as resolveMarkdownConfig, fs as resolveMarkdownMirrorTarget } from './client-plugins-DUrIYX9B.mjs';
|
|
2
2
|
import './lifecycle-DK06VuKP.mjs';
|
|
3
3
|
import './integration-api-0y4FXJpC.mjs';
|
|
4
4
|
import './endpoint-CCHFqyTE.mjs';
|
package/dist/markdown.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { fq as ApplyMarkdownNegotiationHeadersOptions, fp as CreateMarkdownMirrorResponseOptions, z as FARM_MARKDOWN_CONTENT_TYPE, fi as FARM_MARKDOWN_PAGE_CHECK_HEADER, fn as FarmMarkdownMirrorTarget, aF as FarmMarkdownResolvedConfig, fm as FarmMarkdownResolvedRoute, fl as FarmMarkdownRouteInput, cI as FarmMarkdownUserConfig, fF as FarmPageFormAction, fD as FarmPageFormField, fC as FarmPageFormOption, fE as FarmPageFormSubmit, fo as ResolveMarkdownMirrorTargetOptions, fj as _getFarmMarkdownPageCheckToken, fk as _isFarmMarkdownPageCheck, fu as applyMarkdownNegotiationHeaders, A as createFarmMarkdownErrorBody, ft as createMarkdownMirrorResponse, fG as extractFarmPageActions, fw as farmAcceptQuality, B as farmRequestWantsMarkdown, fz as getFarmMarkdownAlternatePath, fy as getFarmMarkdownMirrorPath, fv as htmlToMarkdown, fA as isFarmMarkdownMirrorExposed, fB as matchesFarmMarkdownRoutePattern, fx as requestAcceptsMarkdown, fr as resolveMarkdownConfig, fs as resolveMarkdownMirrorTarget } from './client-plugins-BvlNhGEB.js';
|
|
2
2
|
import './lifecycle-DK06VuKP.js';
|
|
3
3
|
import './integration-api-BPJo5oXb.js';
|
|
4
4
|
import './endpoint-CA-TNX60.js';
|
package/dist/markdown.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
3
|
+
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
4
|
+
_getFarmMarkdownPageCheckToken,
|
|
5
|
+
_isFarmMarkdownPageCheck,
|
|
3
6
|
applyMarkdownNegotiationHeaders,
|
|
4
7
|
createFarmMarkdownErrorBody,
|
|
5
8
|
createMarkdownMirrorResponse,
|
|
@@ -14,7 +17,7 @@ import {
|
|
|
14
17
|
requestAcceptsMarkdown,
|
|
15
18
|
resolveMarkdownConfig,
|
|
16
19
|
resolveMarkdownMirrorTarget
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VNGH5MLF.mjs";
|
|
18
21
|
import "./chunk-MVL2RAJW.mjs";
|
|
19
22
|
import "./chunk-ZLAT2CWY.mjs";
|
|
20
23
|
import "./chunk-FUZEBRP3.mjs";
|
|
@@ -27,6 +30,9 @@ import "./chunk-55YI3RRB.mjs";
|
|
|
27
30
|
import "./chunk-LPEX4YW6.mjs";
|
|
28
31
|
export {
|
|
29
32
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
33
|
+
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
34
|
+
_getFarmMarkdownPageCheckToken,
|
|
35
|
+
_isFarmMarkdownPageCheck,
|
|
30
36
|
applyMarkdownNegotiationHeaders,
|
|
31
37
|
createFarmMarkdownErrorBody,
|
|
32
38
|
createMarkdownMirrorResponse,
|
package/dist/middleware.cjs
CHANGED
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkXKVVMZP5cjs = require('./chunk-XKVVMZP5.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkN32CC42Mcjs = require('./chunk-N32CC42M.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkKCQBAKIYcjs = require('./chunk-KCQBAKIY.cjs');
|
|
20
20
|
require('./chunk-M7MKQXAF.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@ require('./chunk-M7MKQXAF.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkZXH4TS3Fcjs = require('./chunk-ZXH4TS3F.cjs');
|
|
31
31
|
require('./chunk-4GWRFP22.cjs');
|
|
32
32
|
require('./chunk-M2L4MYDQ.cjs');
|
|
33
33
|
require('./chunk-SHLXACIO.cjs');
|
|
@@ -41,11 +41,12 @@ require('./chunk-S3A45T7F.cjs');
|
|
|
41
41
|
require('./chunk-AI7QMY7O.cjs');
|
|
42
42
|
require('./chunk-FJ3M4CUX.cjs');
|
|
43
43
|
require('./chunk-OX6O6WVA.cjs');
|
|
44
|
-
require('./chunk-
|
|
44
|
+
require('./chunk-6XWDE2P2.cjs');
|
|
45
|
+
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
var _chunkUS2QVW3Ecjs = require('./chunk-US2QVW3E.cjs');
|
|
48
|
-
require('./chunk-
|
|
49
|
+
require('./chunk-ULASELLA.cjs');
|
|
49
50
|
require('./chunk-BIDYX3SL.cjs');
|
|
50
51
|
require('./chunk-I57LW5VZ.cjs');
|
|
51
52
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -73,4 +74,5 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
73
74
|
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
|
|
77
|
+
|
|
78
|
+
exports.MiddlewareManager = _chunkKCQBAKIYcjs.MiddlewareManager; exports.UnsupportedRateLimitStorageError = _chunkXKVVMZP5cjs.UnsupportedRateLimitStorageError; exports._runWithMiddlewareContext = _chunkZXH4TS3Fcjs._runWithMiddlewareContext; exports._runWithMiddlewareData = _chunkZXH4TS3Fcjs._runWithMiddlewareData; exports.applyProductionMiddlewareHeaders = _chunkN32CC42Mcjs.applyProductionMiddlewareHeaders; exports.canonicalizeRequestPathSegments = _chunkUS2QVW3Ecjs.canonicalizeRequestPathSegments; exports.canonicalizeRequestPathname = _chunkUS2QVW3Ecjs.canonicalizeRequestPathname; exports.createContext = _chunkKCQBAKIYcjs.createContext; exports.createProductionMiddlewareRunner = _chunkN32CC42Mcjs.createProductionMiddlewareRunner; exports.farmMiddlewarePlugin = _chunkXKVVMZP5cjs.farmMiddlewarePlugin; exports.getFromMiddleware = _chunkXKVVMZP5cjs.getFromMiddleware; exports.getMiddlewareContext = _chunkZXH4TS3Fcjs.getMiddlewareContext; exports.getMiddlewareData = _chunkZXH4TS3Fcjs.getMiddlewareData; exports.getMiddlewareValue = _chunkZXH4TS3Fcjs.getMiddlewareValue; exports.getRateLimitStatus = _chunkXKVVMZP5cjs.getRateLimitStatus; exports.hasMiddlewareData = _chunkXKVVMZP5cjs.hasMiddlewareData; exports.matchesMiddlewareConfig = _chunkN32CC42Mcjs.matchesMiddlewareConfig; exports.memoryRateLimitStorage = _chunkXKVVMZP5cjs.memoryRateLimitStorage; exports.middleware = _chunkXKVVMZP5cjs.middleware; exports.parseMiddlewareCookieHeader = _chunkZXH4TS3Fcjs.parseMiddlewareCookieHeader; exports.serializeMiddlewareCookie = _chunkZXH4TS3Fcjs.serializeMiddlewareCookie; exports.serializeMiddlewareCookieDeletion = _chunkZXH4TS3Fcjs.serializeMiddlewareCookieDeletion; exports.unwrapMiddleware = _chunkXKVVMZP5cjs.unwrapMiddleware;
|
package/dist/middleware.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { eK as MiddlewareChain, eP as RateLimitStorage, eQ as RateLimitStatus, eR as MemoryRateLimitStorageOptions, aC as MiddlewareContext, az as FarmMiddlewareConfig, eG as MiddlewareFunction, aB as MiddlewareConfig, E as MiddlewareProps, eM as CookieOptions } from './client-plugins-DUrIYX9B.mjs';
|
|
2
|
+
export { eL as CookieJar, eT as MiddlewareResult, eJ as MiddlewareStore, eS as NextFunction, eN as RateLimitConfig, eO as RateLimitIncrementResult, ay as ReadonlyMiddlewareStore, eH as RequestMiddleware, eI as RequestMiddlewareContext } from './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import { IncomingMessage, ServerResponse } from 'http';
|
|
4
4
|
import { ViteDevServer, Plugin } from 'vite';
|
|
5
5
|
import { a as FarmServerConfig, R as ResolvedFarmServerConfig } from './workflows-jZ4BcdoZ.mjs';
|
|
6
6
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
|
|
7
|
-
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner, g as getMiddlewareContext, a as getMiddlewareData, b as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime-
|
|
7
|
+
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner, g as getMiddlewareContext, a as getMiddlewareData, b as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime-BQ4_WLwQ.mjs';
|
|
8
8
|
import './lifecycle-DK06VuKP.mjs';
|
|
9
9
|
import './integration-api-0y4FXJpC.mjs';
|
|
10
10
|
import './endpoint-CCHFqyTE.mjs';
|
|
@@ -173,6 +173,26 @@ declare function hasMiddlewareData(middleware: MiddlewareProps | undefined): boo
|
|
|
173
173
|
* slash grows a path segment that was not in the request.
|
|
174
174
|
*/
|
|
175
175
|
declare function canonicalizeRequestPathSegments(pathname: string): string[];
|
|
176
|
+
/**
|
|
177
|
+
* The string form of {@link canonicalizeRequestPathSegments}, for matchers that
|
|
178
|
+
* run a regex or a prefix check over the whole pathname instead of walking
|
|
179
|
+
* segments.
|
|
180
|
+
*
|
|
181
|
+
* A decoded `/` is re-encoded as `%2F` so it stays inside its segment for a
|
|
182
|
+
* matcher that treats `/` as a separator, and so a capture that a redirect or
|
|
183
|
+
* rewrite reuses keeps the encoding it arrived with.
|
|
184
|
+
*
|
|
185
|
+
* A run of slashes collapses to one, because every route matcher drops empty
|
|
186
|
+
* segments: `//dashboard` renders `/dashboard`, so a guard comparing `//dashboard`
|
|
187
|
+
* against `/dashboard` let the protected page through. A trailing slash and case
|
|
188
|
+
* are otherwise left exactly as they arrived: this changes which pathname a
|
|
189
|
+
* pattern is compared against, never what the pattern means.
|
|
190
|
+
*
|
|
191
|
+
* Decoding happens once. A path that still contains `%` after decoding, such as
|
|
192
|
+
* `%2541BC` decoding to `%41BC`, keeps it; decoding a second time would resolve
|
|
193
|
+
* a different route than the request asked for.
|
|
194
|
+
*/
|
|
195
|
+
declare function canonicalizeRequestPathname(pathname: string): string;
|
|
176
196
|
|
|
177
197
|
declare function parseMiddlewareCookieHeader(cookieHeader?: string | null): Record<string, string>;
|
|
178
198
|
declare function serializeMiddlewareCookie(name: string, value: string, options?: CookieOptions): string;
|
|
@@ -204,4 +224,4 @@ interface FarmMiddlewarePluginOptions {
|
|
|
204
224
|
}
|
|
205
225
|
declare function farmMiddlewarePlugin(options?: FarmMiddlewarePluginOptions): Plugin;
|
|
206
226
|
|
|
207
|
-
export { CookieOptions, FarmMiddlewareConfig, type FarmMiddlewarePluginOptions, MemoryRateLimitStorageOptions, MiddlewareChain, MiddlewareConfig, MiddlewareContext, MiddlewareFunction, MiddlewareManager, RateLimitStatus, RateLimitStorage, UnsupportedRateLimitStorageError, canonicalizeRequestPathSegments, createContext, farmMiddlewarePlugin, getFromMiddleware, getRateLimitStatus, hasMiddlewareData, memoryRateLimitStorage, middleware, parseMiddlewareCookieHeader, serializeMiddlewareCookie, serializeMiddlewareCookieDeletion, unwrapMiddleware };
|
|
227
|
+
export { CookieOptions, FarmMiddlewareConfig, type FarmMiddlewarePluginOptions, MemoryRateLimitStorageOptions, MiddlewareChain, MiddlewareConfig, MiddlewareContext, MiddlewareFunction, MiddlewareManager, RateLimitStatus, RateLimitStorage, UnsupportedRateLimitStorageError, canonicalizeRequestPathSegments, canonicalizeRequestPathname, createContext, farmMiddlewarePlugin, getFromMiddleware, getRateLimitStatus, hasMiddlewareData, memoryRateLimitStorage, middleware, parseMiddlewareCookieHeader, serializeMiddlewareCookie, serializeMiddlewareCookieDeletion, unwrapMiddleware };
|
package/dist/middleware.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { eK as MiddlewareChain, eP as RateLimitStorage, eQ as RateLimitStatus, eR as MemoryRateLimitStorageOptions, aC as MiddlewareContext, az as FarmMiddlewareConfig, eG as MiddlewareFunction, aB as MiddlewareConfig, E as MiddlewareProps, eM as CookieOptions } from './client-plugins-BvlNhGEB.js';
|
|
2
|
+
export { eL as CookieJar, eT as MiddlewareResult, eJ as MiddlewareStore, eS as NextFunction, eN as RateLimitConfig, eO as RateLimitIncrementResult, ay as ReadonlyMiddlewareStore, eH as RequestMiddleware, eI as RequestMiddlewareContext } from './client-plugins-BvlNhGEB.js';
|
|
3
3
|
import { IncomingMessage, ServerResponse } from 'http';
|
|
4
4
|
import { ViteDevServer, Plugin } from 'vite';
|
|
5
5
|
import { a as FarmServerConfig, R as ResolvedFarmServerConfig } from './workflows-jZ4BcdoZ.js';
|
|
6
6
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.js';
|
|
7
|
-
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner, g as getMiddlewareContext, a as getMiddlewareData, b as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime-
|
|
7
|
+
export { _ as _runWithMiddlewareContext, c as _runWithMiddlewareData, e as applyProductionMiddlewareHeaders, d as createProductionMiddlewareRunner, g as getMiddlewareContext, a as getMiddlewareData, b as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime-D2aMyzjr.js';
|
|
8
8
|
import './lifecycle-DK06VuKP.js';
|
|
9
9
|
import './integration-api-BPJo5oXb.js';
|
|
10
10
|
import './endpoint-CA-TNX60.js';
|
|
@@ -173,6 +173,26 @@ declare function hasMiddlewareData(middleware: MiddlewareProps | undefined): boo
|
|
|
173
173
|
* slash grows a path segment that was not in the request.
|
|
174
174
|
*/
|
|
175
175
|
declare function canonicalizeRequestPathSegments(pathname: string): string[];
|
|
176
|
+
/**
|
|
177
|
+
* The string form of {@link canonicalizeRequestPathSegments}, for matchers that
|
|
178
|
+
* run a regex or a prefix check over the whole pathname instead of walking
|
|
179
|
+
* segments.
|
|
180
|
+
*
|
|
181
|
+
* A decoded `/` is re-encoded as `%2F` so it stays inside its segment for a
|
|
182
|
+
* matcher that treats `/` as a separator, and so a capture that a redirect or
|
|
183
|
+
* rewrite reuses keeps the encoding it arrived with.
|
|
184
|
+
*
|
|
185
|
+
* A run of slashes collapses to one, because every route matcher drops empty
|
|
186
|
+
* segments: `//dashboard` renders `/dashboard`, so a guard comparing `//dashboard`
|
|
187
|
+
* against `/dashboard` let the protected page through. A trailing slash and case
|
|
188
|
+
* are otherwise left exactly as they arrived: this changes which pathname a
|
|
189
|
+
* pattern is compared against, never what the pattern means.
|
|
190
|
+
*
|
|
191
|
+
* Decoding happens once. A path that still contains `%` after decoding, such as
|
|
192
|
+
* `%2541BC` decoding to `%41BC`, keeps it; decoding a second time would resolve
|
|
193
|
+
* a different route than the request asked for.
|
|
194
|
+
*/
|
|
195
|
+
declare function canonicalizeRequestPathname(pathname: string): string;
|
|
176
196
|
|
|
177
197
|
declare function parseMiddlewareCookieHeader(cookieHeader?: string | null): Record<string, string>;
|
|
178
198
|
declare function serializeMiddlewareCookie(name: string, value: string, options?: CookieOptions): string;
|
|
@@ -204,4 +224,4 @@ interface FarmMiddlewarePluginOptions {
|
|
|
204
224
|
}
|
|
205
225
|
declare function farmMiddlewarePlugin(options?: FarmMiddlewarePluginOptions): Plugin;
|
|
206
226
|
|
|
207
|
-
export { CookieOptions, FarmMiddlewareConfig, type FarmMiddlewarePluginOptions, MemoryRateLimitStorageOptions, MiddlewareChain, MiddlewareConfig, MiddlewareContext, MiddlewareFunction, MiddlewareManager, RateLimitStatus, RateLimitStorage, UnsupportedRateLimitStorageError, canonicalizeRequestPathSegments, createContext, farmMiddlewarePlugin, getFromMiddleware, getRateLimitStatus, hasMiddlewareData, memoryRateLimitStorage, middleware, parseMiddlewareCookieHeader, serializeMiddlewareCookie, serializeMiddlewareCookieDeletion, unwrapMiddleware };
|
|
227
|
+
export { CookieOptions, FarmMiddlewareConfig, type FarmMiddlewarePluginOptions, MemoryRateLimitStorageOptions, MiddlewareChain, MiddlewareConfig, MiddlewareContext, MiddlewareFunction, MiddlewareManager, RateLimitStatus, RateLimitStorage, UnsupportedRateLimitStorageError, canonicalizeRequestPathSegments, canonicalizeRequestPathname, createContext, farmMiddlewarePlugin, getFromMiddleware, getRateLimitStatus, hasMiddlewareData, memoryRateLimitStorage, middleware, parseMiddlewareCookieHeader, serializeMiddlewareCookie, serializeMiddlewareCookieDeletion, unwrapMiddleware };
|
package/dist/middleware.mjs
CHANGED
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
memoryRateLimitStorage,
|
|
8
8
|
middleware,
|
|
9
9
|
unwrapMiddleware
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EKF7KDFD.mjs";
|
|
11
11
|
import {
|
|
12
12
|
applyProductionMiddlewareHeaders,
|
|
13
13
|
createProductionMiddlewareRunner,
|
|
14
14
|
matchesMiddlewareConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KHKLMNI5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
MiddlewareManager,
|
|
18
18
|
createContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JCKYH4LG.mjs";
|
|
20
20
|
import "./chunk-RHAZ22ZN.mjs";
|
|
21
21
|
import {
|
|
22
22
|
_runWithMiddlewareContext,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
parseMiddlewareCookieHeader,
|
|
28
28
|
serializeMiddlewareCookie,
|
|
29
29
|
serializeMiddlewareCookieDeletion
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SKVTP5PR.mjs";
|
|
31
31
|
import "./chunk-HZFM2LWQ.mjs";
|
|
32
32
|
import "./chunk-I2BHUNBU.mjs";
|
|
33
33
|
import "./chunk-KMTGADN3.mjs";
|
|
@@ -41,11 +41,12 @@ import "./chunk-7LTCDQRS.mjs";
|
|
|
41
41
|
import "./chunk-JM5XPKWH.mjs";
|
|
42
42
|
import "./chunk-Z3HATSKO.mjs";
|
|
43
43
|
import "./chunk-CBBLJMR5.mjs";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-POSPE3IO.mjs";
|
|
45
45
|
import {
|
|
46
|
-
canonicalizeRequestPathSegments
|
|
46
|
+
canonicalizeRequestPathSegments,
|
|
47
|
+
canonicalizeRequestPathname
|
|
47
48
|
} from "./chunk-CQ6OSQ3K.mjs";
|
|
48
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
49
50
|
import "./chunk-L3KT7IXV.mjs";
|
|
50
51
|
import "./chunk-4RB44K6Z.mjs";
|
|
51
52
|
import "./chunk-55YI3RRB.mjs";
|
|
@@ -57,6 +58,7 @@ export {
|
|
|
57
58
|
_runWithMiddlewareData,
|
|
58
59
|
applyProductionMiddlewareHeaders,
|
|
59
60
|
canonicalizeRequestPathSegments,
|
|
61
|
+
canonicalizeRequestPathname,
|
|
60
62
|
createContext,
|
|
61
63
|
createProductionMiddlewareRunner,
|
|
62
64
|
farmMiddlewarePlugin,
|
package/dist/navigation.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkEMO6K4YYcjs = require('./chunk-EMO6K4YY.cjs');
|
|
6
|
+
require('./chunk-TYJALEHQ.cjs');
|
|
7
7
|
require('./chunk-SU7MH53P.cjs');
|
|
8
8
|
require('./chunk-PCOTGFSM.cjs');
|
|
9
9
|
require('./chunk-FWE7LEQC.cjs');
|
|
@@ -24,7 +24,7 @@ require('./chunk-LIUGYUX3.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkOX6O6WVAcjs = require('./chunk-OX6O6WVA.cjs');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-ULASELLA.cjs');
|
|
28
28
|
require('./chunk-BIDYX3SL.cjs');
|
|
29
29
|
require('./chunk-I57LW5VZ.cjs');
|
|
30
30
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -39,4 +39,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.getFarmRedirectError = _chunkOX6O6WVAcjs.getFarmRedirectError; exports.isFarmNotFoundError = _chunkOX6O6WVAcjs.isFarmNotFoundError; exports.isFarmRedirectError = _chunkOX6O6WVAcjs.isFarmRedirectError; exports.notFound = _chunkOX6O6WVAcjs.notFound; exports.permanentRedirect = _chunkOX6O6WVAcjs.permanentRedirect; exports.redirect = _chunkOX6O6WVAcjs.redirect; exports.usePathname =
|
|
42
|
+
exports.getFarmRedirectError = _chunkOX6O6WVAcjs.getFarmRedirectError; exports.isFarmNotFoundError = _chunkOX6O6WVAcjs.isFarmNotFoundError; exports.isFarmRedirectError = _chunkOX6O6WVAcjs.isFarmRedirectError; exports.notFound = _chunkOX6O6WVAcjs.notFound; exports.permanentRedirect = _chunkOX6O6WVAcjs.permanentRedirect; exports.redirect = _chunkOX6O6WVAcjs.redirect; exports.usePathname = _chunkEMO6K4YYcjs.usePathname; exports.useRouter = _chunkEMO6K4YYcjs.useRouter; exports.useSearchParams = _chunkEMO6K4YYcjs.useSearchParams;
|
package/dist/navigation.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as FarmRouterNavigateOptions } from './router-
|
|
2
|
-
export { c as FarmRedirectSignal, d as FarmRedirectStatus, g as getFarmRedirectError, i as isFarmNotFoundError, b as isFarmRedirectError, n as notFound, p as permanentRedirect, r as redirect } from './client-plugins-
|
|
1
|
+
import { F as FarmRouterNavigateOptions } from './router-B09Ui3Qm.mjs';
|
|
2
|
+
export { c as FarmRedirectSignal, d as FarmRedirectStatus, g as getFarmRedirectError, i as isFarmNotFoundError, b as isFarmRedirectError, n as notFound, p as permanentRedirect, r as redirect } from './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './router.mjs';
|
|
5
|
-
import './spa-router-
|
|
5
|
+
import './spa-router-Cgimzfbi.mjs';
|
|
6
6
|
import './lifecycle-DK06VuKP.mjs';
|
|
7
7
|
import './types-CnH8DOqo.mjs';
|
|
8
8
|
import './island-CfGru1MO.mjs';
|
|
9
|
-
import './render-plan-
|
|
9
|
+
import './render-plan-DtkXMN8D.mjs';
|
|
10
10
|
import './integration-api-0y4FXJpC.mjs';
|
|
11
11
|
import './endpoint-CCHFqyTE.mjs';
|
|
12
12
|
import './cache.mjs';
|
package/dist/navigation.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as FarmRouterNavigateOptions } from './router-
|
|
2
|
-
export { c as FarmRedirectSignal, d as FarmRedirectStatus, g as getFarmRedirectError, i as isFarmNotFoundError, b as isFarmRedirectError, n as notFound, p as permanentRedirect, r as redirect } from './client-plugins-
|
|
1
|
+
import { F as FarmRouterNavigateOptions } from './router-CPB9cXtG.js';
|
|
2
|
+
export { c as FarmRedirectSignal, d as FarmRedirectStatus, g as getFarmRedirectError, i as isFarmNotFoundError, b as isFarmRedirectError, n as notFound, p as permanentRedirect, r as redirect } from './client-plugins-BvlNhGEB.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './router.js';
|
|
5
|
-
import './spa-router-
|
|
5
|
+
import './spa-router-B_N8XgVu.js';
|
|
6
6
|
import './lifecycle-DK06VuKP.js';
|
|
7
7
|
import './types-CnH8DOqo.js';
|
|
8
8
|
import './island-CfGru1MO.js';
|
|
9
|
-
import './render-plan-
|
|
9
|
+
import './render-plan-25p4hrj4.js';
|
|
10
10
|
import './integration-api-BPJo5oXb.js';
|
|
11
11
|
import './endpoint-CA-TNX60.js';
|
|
12
12
|
import './cache.js';
|