@farm.js/core 0.1.27 → 0.1.28
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-runtime.d.mts +2 -1
- package/dist/agent-runtime.d.ts +2 -1
- package/dist/api/client.cjs +4 -6
- package/dist/api/client.d.mts +1 -0
- package/dist/api/client.d.ts +1 -0
- package/dist/api/client.mjs +3 -5
- package/dist/api/route-manager.cjs +9 -8
- package/dist/api/route-manager.d.mts +2 -1
- package/dist/api/route-manager.d.ts +2 -1
- package/dist/api/route-manager.mjs +8 -7
- package/dist/api/runtime.cjs +7 -6
- package/dist/api/runtime.d.mts +2 -1
- package/dist/api/runtime.d.ts +2 -1
- package/dist/api/runtime.mjs +6 -5
- package/dist/api.cjs +12 -11
- package/dist/api.d.mts +3 -2
- package/dist/api.d.ts +3 -2
- package/dist/api.mjs +11 -10
- package/dist/{app-BfzZdjgX.d.mts → app-DSSq6wiN.d.mts} +3 -3
- package/dist/{app-CXK7Prrt.d.ts → app-M8nVWvNU.d.ts} +3 -3
- package/dist/app-markdown.cjs +5 -5
- package/dist/app-markdown.d.mts +3 -2
- package/dist/app-markdown.d.ts +3 -2
- package/dist/app-markdown.mjs +4 -4
- package/dist/cache-invalidation-BD0z_lfu.d.mts +4 -0
- package/dist/cache-invalidation-BD0z_lfu.d.ts +4 -0
- package/dist/cache.cjs +6 -4
- package/dist/cache.d.mts +11 -6
- package/dist/cache.d.ts +11 -6
- package/dist/cache.mjs +7 -5
- package/dist/{chunk-4FHDV7VM.mjs → chunk-2CNBR3EB.mjs} +2 -2
- package/dist/{chunk-MBFURXAC.mjs → chunk-2DLN6HG4.mjs} +1 -1
- package/dist/{chunk-UUYF3CHN.mjs → chunk-2N5PX3LS.mjs} +2 -2
- package/dist/{chunk-H6G5INWM.cjs → chunk-2SDO73HK.cjs} +14 -156
- package/dist/{chunk-3TQWUUNP.cjs → chunk-3LUF2PE2.cjs} +10 -5
- package/dist/{chunk-SYGGPS4A.mjs → chunk-4IEPYMHF.mjs} +3 -3
- package/dist/{chunk-WD5PNSOB.mjs → chunk-4V7GIE2U.mjs} +6 -4
- package/dist/{chunk-DQMTHWPI.cjs → chunk-55ZY4ZA7.cjs} +4 -4
- package/dist/{chunk-I7PUUDGY.cjs → chunk-63H6BKXG.cjs} +2 -2
- package/dist/{chunk-FG5H2VCJ.mjs → chunk-6ZCMSZ5U.mjs} +2 -2
- package/dist/{chunk-ZMN3H73H.cjs → chunk-75DYEVXI.cjs} +13 -11
- package/dist/{chunk-WJKVTJJR.cjs → chunk-A672WZEG.cjs} +2 -2
- package/dist/{chunk-NL3ZSMZB.cjs → chunk-BJPBQNIE.cjs} +12 -12
- package/dist/{chunk-Q4BHBO6V.mjs → chunk-BXFWA23T.mjs} +2 -2
- package/dist/chunk-CNOQY6Z7.mjs +156 -0
- package/dist/{chunk-DW34V5SM.cjs → chunk-CTV2TTNP.cjs} +4 -4
- package/dist/{chunk-YXM74XOW.cjs → chunk-D4JE5NNV.cjs} +12 -12
- package/dist/{chunk-4UNKCNSL.mjs → chunk-E76XC6ZG.mjs} +2 -2
- package/dist/{chunk-G3HRIVEY.cjs → chunk-ES4B2IXW.cjs} +2 -2
- package/dist/{chunk-TDWFCC2T.cjs → chunk-EWZ3XHKQ.cjs} +2 -2
- package/dist/{chunk-JQGDQO2I.cjs → chunk-EXLKRR4U.cjs} +10 -10
- package/dist/{chunk-YZBV7733.cjs → chunk-F52CDFJM.cjs} +81 -81
- package/dist/{chunk-HG237IEY.mjs → chunk-FB3H4INL.mjs} +1 -1
- package/dist/{chunk-UWTQTZFN.mjs → chunk-FVCSLZWT.mjs} +11 -11
- package/dist/{chunk-WD4YXVLV.mjs → chunk-GZYH4OER.mjs} +1 -1
- package/dist/{chunk-DX4VKYAJ.cjs → chunk-I26CZYPV.cjs} +6 -4
- package/dist/{chunk-UNSKL6BI.cjs → chunk-ID6OVSLH.cjs} +163 -129
- package/dist/{chunk-F6SJAKFJ.mjs → chunk-IV6CQY7O.mjs} +12 -154
- package/dist/{chunk-6D242YGO.mjs → chunk-JATSG2ZO.mjs} +1 -1
- package/dist/{chunk-U74A3P2P.cjs → chunk-JLRDISQL.cjs} +7 -7
- package/dist/{chunk-LAHZ7LZA.cjs → chunk-JUFRXDTK.cjs} +18 -18
- package/dist/{chunk-POXI72VV.mjs → chunk-K3YEZLSY.mjs} +53 -8
- package/dist/{chunk-Y4YWHNKU.cjs → chunk-KH7BN726.cjs} +9 -9
- package/dist/{chunk-KAERLFD3.cjs → chunk-KOQ555NR.cjs} +16 -13
- package/dist/{chunk-O2LV5XDG.mjs → chunk-KXGDXYUC.mjs} +3 -3
- package/dist/{chunk-3IL5UC5I.cjs → chunk-KZLND3D2.cjs} +2 -2
- package/dist/{chunk-NPFGGBM5.cjs → chunk-MH24QDVJ.cjs} +13 -13
- package/dist/{chunk-TKDY6AJP.mjs → chunk-MKMBQSNQ.mjs} +1 -1
- package/dist/{chunk-OCE65DDM.mjs → chunk-MNUGPHLN.mjs} +1 -1
- package/dist/{chunk-3PTVHMLD.mjs → chunk-NVBS5WSZ.mjs} +1 -1
- package/dist/chunk-NYJMY3JA.cjs +156 -0
- package/dist/{chunk-VVJCWBIE.mjs → chunk-O3DTUAX2.mjs} +2 -2
- package/dist/{chunk-C7OUJ6JI.cjs → chunk-PZNCMPJF.cjs} +3 -3
- package/dist/{chunk-WIVTGKLY.mjs → chunk-PZPDGOU5.mjs} +9 -6
- package/dist/{chunk-52SH7TKB.mjs → chunk-QG5HNS7P.mjs} +2 -2
- package/dist/{chunk-CEYUWDWA.mjs → chunk-QZCT2CQ4.mjs} +10 -5
- package/dist/{chunk-JT25KHDI.mjs → chunk-REGFZJEJ.mjs} +1 -1
- package/dist/{chunk-QMV4QELL.mjs → chunk-S5GDHOE4.mjs} +4 -2
- package/dist/{chunk-CRQPYWLK.cjs → chunk-SORB3MAR.cjs} +14 -14
- package/dist/{chunk-FPW4W3VW.mjs → chunk-T7HQ3I4C.mjs} +1 -1
- package/dist/{chunk-HF5SIACK.cjs → chunk-TII23GJC.cjs} +3 -3
- package/dist/{chunk-QQQNJS2E.mjs → chunk-UX2DD2VK.mjs} +1 -1
- package/dist/{chunk-I4J452B7.cjs → chunk-VHJGDMCG.cjs} +3 -3
- package/dist/{chunk-QI7WQSMI.cjs → chunk-VQXDC5UV.cjs} +4 -4
- package/dist/{chunk-B6ZCT36X.cjs → chunk-WNLBF77X.cjs} +4 -4
- package/dist/{chunk-6EG7U4NF.mjs → chunk-X7WVQMIB.mjs} +1 -1
- package/dist/{chunk-5SPPCN5J.mjs → chunk-XNPDONUH.mjs} +1 -1
- package/dist/{chunk-ZSO5GWGD.cjs → chunk-XSPGWQWA.cjs} +75 -30
- package/dist/{chunk-FOT7LZEO.cjs → chunk-Y7GW7J46.cjs} +1 -1
- package/dist/{chunk-UOXGA6TO.mjs → chunk-YDQZGSDS.mjs} +1 -1
- package/dist/{chunk-C3VRMB6H.cjs → chunk-ZCU4NZ3M.cjs} +6 -6
- package/dist/{chunk-OGHTEYXS.mjs → chunk-ZRIE4KMG.mjs} +62 -28
- package/dist/{client-plugins-1GS4zubE.d.mts → client-plugins-CgYNY7jF.d.mts} +35 -32
- package/dist/{client-plugins-B1Za6F5x.d.ts → client-plugins-Fl9Og3yB.d.ts} +35 -32
- package/dist/client-plugins.d.mts +2 -1
- package/dist/client-plugins.d.ts +2 -1
- package/dist/client.cjs +11 -12
- package/dist/client.d.mts +6 -5
- package/dist/client.d.ts +6 -5
- package/dist/client.mjs +10 -11
- package/dist/config.d.mts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/{devtools-6RN6KHTW.mjs → devtools-3E7ZANMZ.mjs} +4 -4
- package/dist/{devtools-CQJ3H6MX.cjs → devtools-5AREISIA.cjs} +5 -5
- package/dist/docs.cjs +7 -7
- package/dist/docs.mjs +6 -6
- package/dist/index.cjs +56 -54
- package/dist/index.d.mts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.mjs +64 -62
- package/dist/integrations.d.mts +2 -1
- package/dist/integrations.d.ts +2 -1
- package/dist/internal/app-markdown-runtime.cjs +4 -4
- package/dist/internal/app-markdown-runtime.d.mts +3 -2
- package/dist/internal/app-markdown-runtime.d.ts +3 -2
- package/dist/internal/app-markdown-runtime.mjs +3 -3
- package/dist/internal/build-runtime.cjs +23 -22
- package/dist/internal/build-runtime.d.mts +4 -3
- package/dist/internal/build-runtime.d.ts +4 -3
- package/dist/internal/build-runtime.mjs +22 -21
- package/dist/internal/cli-runtime.cjs +13 -12
- package/dist/internal/cli-runtime.mjs +12 -11
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +5 -1
- package/dist/internal/client-runtime.d.mts +1 -0
- package/dist/internal/client-runtime.d.ts +1 -0
- package/dist/internal/client-runtime.mjs +4 -0
- package/dist/internal/compression-runtime.d.mts +2 -1
- package/dist/internal/compression-runtime.d.ts +2 -1
- package/dist/internal/config-runtime.cjs +5 -5
- package/dist/internal/config-runtime.d.mts +3 -2
- package/dist/internal/config-runtime.d.ts +3 -2
- package/dist/internal/config-runtime.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +17 -15
- package/dist/internal/production-runtime.d.mts +8 -7
- package/dist/internal/production-runtime.d.ts +8 -7
- package/dist/internal/production-runtime.mjs +17 -15
- package/dist/markdown.cjs +3 -3
- package/dist/markdown.d.mts +2 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/markdown.mjs +2 -2
- package/dist/{metadata-B9mCxKgp.d.mts → metadata-B0X-qtcQ.d.mts} +1 -1
- package/dist/{metadata-7LKgQEWF.d.ts → metadata-BdDKgd7K.d.ts} +1 -1
- package/dist/middleware.cjs +4 -4
- package/dist/middleware.d.mts +4 -3
- package/dist/middleware.d.ts +4 -3
- package/dist/middleware.mjs +3 -3
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +5 -4
- package/dist/navigation.d.ts +5 -4
- package/dist/navigation.mjs +4 -4
- package/dist/plugin.cjs +23 -19
- package/dist/plugin.d.mts +2 -1
- package/dist/plugin.d.ts +2 -1
- package/dist/plugin.mjs +23 -19
- package/dist/{production-runtime-DramhI0c.d.mts → production-runtime-BjgFgDIg.d.mts} +1 -1
- package/dist/{production-runtime-B3xnY6fI.d.ts → production-runtime-Dx_qMA3t.d.ts} +1 -1
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan-CpW32tOL.d.ts → render-plan-B41EWmBb.d.ts} +1 -1
- package/dist/{render-plan-CtQB-zHS.d.mts → render-plan-_1TAWODt.d.mts} +1 -1
- package/dist/renderer-client.cjs +13 -14
- package/dist/renderer-client.d.mts +4 -3
- package/dist/renderer-client.d.ts +4 -3
- package/dist/renderer-client.mjs +6 -7
- package/dist/{request-DlLVBKe3.d.mts → request-BhE4luLv.d.mts} +1 -1
- package/dist/{request-BVGGeQv4.d.ts → request-Dbf3G0zM.d.ts} +1 -1
- package/dist/request.d.mts +3 -2
- package/dist/request.d.ts +3 -2
- package/dist/{route-rendering-BdEldajn.d.ts → route-rendering-Z7PveTZE.d.ts} +1 -1
- package/dist/{route-rendering-DChYLNdh.d.mts → route-rendering-zzfx_GHf.d.mts} +1 -1
- package/dist/{router-D5htHn_M.d.mts → router-BatNMsa1.d.mts} +1 -1
- package/dist/{router-D0Az-1Nu.d.ts → router-DtNRhQl3.d.ts} +1 -1
- package/dist/routes.cjs +6 -5
- package/dist/routes.d.mts +2 -1
- package/dist/routes.d.ts +2 -1
- package/dist/routes.mjs +5 -4
- package/dist/server-fn-client.d.mts +1 -0
- package/dist/server-fn-client.d.ts +1 -0
- package/dist/server-fn.cjs +6 -5
- package/dist/server-fn.d.mts +1 -0
- package/dist/server-fn.d.ts +1 -0
- package/dist/server-fn.mjs +5 -4
- package/dist/server-plugins.d.mts +3 -2
- package/dist/server-plugins.d.ts +3 -2
- package/dist/server-query-client.cjs +5 -7
- package/dist/server-query-client.d.mts +1 -0
- package/dist/server-query-client.d.ts +1 -0
- package/dist/server-query-client.mjs +4 -6
- package/dist/server-query.cjs +7 -6
- package/dist/server-query.d.mts +1 -0
- package/dist/server-query.d.ts +1 -0
- package/dist/server-query.mjs +6 -5
- package/dist/server.cjs +64 -54
- package/dist/server.d.mts +9 -8
- package/dist/server.d.ts +9 -8
- package/dist/server.mjs +48 -38
- package/dist/{spa-router-DmwP_7QL.d.ts → spa-router-BE3bwU-J.d.ts} +2 -2
- package/dist/{spa-router-DVfSJZ5o.d.mts → spa-router-DQOnHZVj.d.mts} +2 -2
- package/dist/testing.cjs +14 -13
- package/dist/testing.d.mts +2 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.mjs +11 -10
- package/dist/{utils-B_Rmr0-n.d.mts → utils-DLK1ERNl.d.mts} +1 -1
- package/dist/{utils-Dv0OuLtF.d.ts → utils-u7ZBSWAK.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +19 -18
- package/dist/vite.d.mts +2 -1
- package/dist/vite.d.ts +2 -1
- package/dist/vite.mjs +18 -17
- package/package.json +1 -1
- package/dist/{chunk-YOYF2E4U.mjs → chunk-LNZ7JZUS.mjs} +0 -0
- package/dist/{chunk-N4RLRSWW.cjs → chunk-SUIBNSNO.cjs} +0 -0
- package/dist/{chunk-TIKNUAU7.mjs → chunk-VUMAE7NC.mjs} +3 -3
- package/dist/{chunk-WM6HL7E7.cjs → chunk-ZHVYQL3H.cjs} +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseRouteSlotFile,
|
|
7
7
|
resolveRouteRenderingConfig,
|
|
8
8
|
resolveRouteRenderingConfigFromFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O3DTUAX2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
collectSchemaExtensions,
|
|
12
12
|
declareSchemaTables,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
renderFarmLocaleAlternateLinks,
|
|
28
28
|
resolveDefaultErrorStatus,
|
|
29
29
|
resolveFarmApiCatalogInput
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FB3H4INL.mjs";
|
|
31
31
|
import {
|
|
32
32
|
isFarmPreviewDeploymentEnvironment
|
|
33
33
|
} from "./chunk-BOYNDCZL.mjs";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
resolveFarmLlmsTxtConfig,
|
|
108
108
|
resolveFarmPerformanceConfig,
|
|
109
109
|
resolveFarmSecurityConfig
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-REGFZJEJ.mjs";
|
|
111
111
|
import {
|
|
112
112
|
getPublicFarmImageConfig,
|
|
113
113
|
resolveFarmImageConfig
|
|
@@ -125,12 +125,12 @@ import {
|
|
|
125
125
|
import {
|
|
126
126
|
createFarmMarkdownRouteModuleFromFile,
|
|
127
127
|
loadFarmMdxComponents
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-NVBS5WSZ.mjs";
|
|
129
129
|
import {
|
|
130
130
|
createFarmMarkdownSourceResponse,
|
|
131
131
|
isFarmMarkdownPageFile,
|
|
132
132
|
normalizeFarmMarkdownRoutePath
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-2DLN6HG4.mjs";
|
|
134
134
|
import {
|
|
135
135
|
resolveFarmMdxComponentsModulePath,
|
|
136
136
|
resolveMdxConfig
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
getFarmMarkdownMirrorPath,
|
|
145
145
|
resolveMarkdownConfig,
|
|
146
146
|
resolveMarkdownMirrorTarget
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-K3YEZLSY.mjs";
|
|
148
148
|
import {
|
|
149
149
|
resolveWorkflowsConfig
|
|
150
150
|
} from "./chunk-3ATMYLLJ.mjs";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
} from "./chunk-JLCQGPXE.mjs";
|
|
171
171
|
import {
|
|
172
172
|
MiddlewareManager
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-VUMAE7NC.mjs";
|
|
174
174
|
import {
|
|
175
175
|
_clearCurrentMiddlewareContext,
|
|
176
176
|
_clearCurrentMiddlewareData,
|
|
@@ -185,11 +185,11 @@ import {
|
|
|
185
185
|
} from "./chunk-IOEH4VWN.mjs";
|
|
186
186
|
import {
|
|
187
187
|
APIRouteManager
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-BXFWA23T.mjs";
|
|
189
189
|
import {
|
|
190
190
|
findProgrammaticRouteFiles,
|
|
191
191
|
loadProgrammaticRouteManifests
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-LNZ7JZUS.mjs";
|
|
193
193
|
import {
|
|
194
194
|
_runWithFarmI18nRequest,
|
|
195
195
|
_setDefaultFarmI18nRuntime,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
} from "./chunk-YOZYCI6Z.mjs";
|
|
205
205
|
import {
|
|
206
206
|
isFarmAPIPathname
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-X7WVQMIB.mjs";
|
|
208
208
|
import {
|
|
209
209
|
resolveFarmAPIServerBasePath
|
|
210
210
|
} from "./chunk-I6XDAKWQ.mjs";
|
|
@@ -223,6 +223,11 @@ import {
|
|
|
223
223
|
resolveFarmRouteRuleRuntimeConfig,
|
|
224
224
|
resolveFarmRouteRuntimeConfig
|
|
225
225
|
} from "./chunk-2J7W2WND.mjs";
|
|
226
|
+
import {
|
|
227
|
+
configureFarmCache,
|
|
228
|
+
getFarmDataCache,
|
|
229
|
+
normalizeRevalidatePath
|
|
230
|
+
} from "./chunk-IV6CQY7O.mjs";
|
|
226
231
|
import {
|
|
227
232
|
clearRequestContext,
|
|
228
233
|
copyRequestContext,
|
|
@@ -268,13 +273,18 @@ import {
|
|
|
268
273
|
import {
|
|
269
274
|
searchParamsToObject
|
|
270
275
|
} from "./chunk-QVKYGNVM.mjs";
|
|
276
|
+
import {
|
|
277
|
+
configureFarmObservability,
|
|
278
|
+
emitFarmEvent,
|
|
279
|
+
runWithFarmRequestSpan
|
|
280
|
+
} from "./chunk-FUZEBRP3.mjs";
|
|
271
281
|
import {
|
|
272
282
|
applyWebResponseHeaders,
|
|
273
283
|
sendWebResponse
|
|
274
284
|
} from "./chunk-Z2RZJZIZ.mjs";
|
|
275
285
|
import {
|
|
276
286
|
FARM_VERSION
|
|
277
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-UX2DD2VK.mjs";
|
|
278
288
|
import {
|
|
279
289
|
resolveFarmTrailingSlashRedirect,
|
|
280
290
|
setFarmTrailingSlashPreference
|
|
@@ -293,7 +303,7 @@ import {
|
|
|
293
303
|
mergeMetadata,
|
|
294
304
|
renderMetadataHead,
|
|
295
305
|
resolveFarmNotFoundMetadata
|
|
296
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-QZCT2CQ4.mjs";
|
|
297
307
|
import {
|
|
298
308
|
FARM_DEPLOYMENT_ID_HEADER,
|
|
299
309
|
createFarmDeploymentCookie,
|
|
@@ -306,16 +316,8 @@ import {
|
|
|
306
316
|
snapshotDeferredData
|
|
307
317
|
} from "./chunk-JNZ4TDWM.mjs";
|
|
308
318
|
import {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
getFarmDataCache,
|
|
312
|
-
normalizeRevalidatePath
|
|
313
|
-
} from "./chunk-F6SJAKFJ.mjs";
|
|
314
|
-
import {
|
|
315
|
-
configureFarmObservability,
|
|
316
|
-
emitFarmEvent,
|
|
317
|
-
runWithFarmRequestSpan
|
|
318
|
-
} from "./chunk-FUZEBRP3.mjs";
|
|
319
|
+
createFarmCacheKey
|
|
320
|
+
} from "./chunk-CNOQY6Z7.mjs";
|
|
319
321
|
import {
|
|
320
322
|
FARM_CONFIG_REWRITES_PLUGIN_NAME
|
|
321
323
|
} from "./chunk-2AKFKCHA.mjs";
|
|
@@ -8409,6 +8411,27 @@ var _PluginManager = class _PluginManager {
|
|
|
8409
8411
|
return false;
|
|
8410
8412
|
}
|
|
8411
8413
|
const plugins = this.getSortedPlugins().filter(include);
|
|
8414
|
+
if (hookName === "onError") {
|
|
8415
|
+
const failures = [];
|
|
8416
|
+
const reports = [];
|
|
8417
|
+
for (const plugin of plugins) {
|
|
8418
|
+
for (const hook of this.getPluginHooks(plugin, hookName)) {
|
|
8419
|
+
reports.push(
|
|
8420
|
+
(async () => {
|
|
8421
|
+
try {
|
|
8422
|
+
const hookContext = this.getHookContext(plugin, hookName, args);
|
|
8423
|
+
await hook.apply(plugin, [...args, hookContext]);
|
|
8424
|
+
} catch (error) {
|
|
8425
|
+
failures.push(error);
|
|
8426
|
+
}
|
|
8427
|
+
})()
|
|
8428
|
+
);
|
|
8429
|
+
}
|
|
8430
|
+
}
|
|
8431
|
+
await Promise.all(reports);
|
|
8432
|
+
if (failures.length > 0) throw failures[0];
|
|
8433
|
+
return false;
|
|
8434
|
+
}
|
|
8412
8435
|
const sequentialHooks = /* @__PURE__ */ new Set([
|
|
8413
8436
|
"ready",
|
|
8414
8437
|
"shutdown",
|
|
@@ -8451,11 +8474,17 @@ var _PluginManager = class _PluginManager {
|
|
|
8451
8474
|
}
|
|
8452
8475
|
} else {
|
|
8453
8476
|
const promises3 = [];
|
|
8454
|
-
|
|
8455
|
-
for (const
|
|
8456
|
-
const
|
|
8457
|
-
|
|
8477
|
+
try {
|
|
8478
|
+
for (const plugin of plugins) {
|
|
8479
|
+
for (const hook of this.getPluginHooks(plugin, hookName)) {
|
|
8480
|
+
const hookContext = this.getHookContext(plugin, hookName, args);
|
|
8481
|
+
promises3.push(hook.apply(plugin, [...args, hookContext]));
|
|
8482
|
+
}
|
|
8458
8483
|
}
|
|
8484
|
+
} catch (error) {
|
|
8485
|
+
void Promise.all(promises3).catch(() => {
|
|
8486
|
+
});
|
|
8487
|
+
throw error;
|
|
8459
8488
|
}
|
|
8460
8489
|
await Promise.all(promises3);
|
|
8461
8490
|
}
|
|
@@ -9518,7 +9547,7 @@ function loadFarmWorkflowsDevRuntime() {
|
|
|
9518
9547
|
}
|
|
9519
9548
|
__name(loadFarmWorkflowsDevRuntime, "loadFarmWorkflowsDevRuntime");
|
|
9520
9549
|
function loadFarmDevtoolsSnapshotRuntime() {
|
|
9521
|
-
return import("./devtools-
|
|
9550
|
+
return import("./devtools-3E7ZANMZ.mjs");
|
|
9522
9551
|
}
|
|
9523
9552
|
__name(loadFarmDevtoolsSnapshotRuntime, "loadFarmDevtoolsSnapshotRuntime");
|
|
9524
9553
|
function loadFarmDevtoolsUIRuntime() {
|
|
@@ -10886,7 +10915,12 @@ window.__FARM_MANIFEST__ = ${inlineValue({
|
|
|
10886
10915
|
routeExists: /* @__PURE__ */ __name((pathname2) => Boolean(farmApp.getRouteManager().matchRoute(pathname2).route), "routeExists"),
|
|
10887
10916
|
// Keep the page's own redirect (a sign-in gate, say) so the mirror
|
|
10888
10917
|
// answers with it, as production does, instead of the target page.
|
|
10889
|
-
renderPage: /* @__PURE__ */ __name(async (request2) => fetch(request2, {
|
|
10918
|
+
renderPage: /* @__PURE__ */ __name(async (request2) => fetch(request2, {
|
|
10919
|
+
redirect: "manual",
|
|
10920
|
+
// Only accepted mirrors need disconnect listeners. An earlier
|
|
10921
|
+
// close (for example while the docs handler ran) must also abort.
|
|
10922
|
+
signal: res.destroyed ? AbortSignal.abort() : createFarmNodeRequestAbortSignal(req, res)
|
|
10923
|
+
}), "renderPage"),
|
|
10890
10924
|
apiServerBasePath
|
|
10891
10925
|
});
|
|
10892
10926
|
if (markdownResponse) {
|
|
@@ -37,6 +37,27 @@ declare class FarmDevEnvironmentError extends Error {
|
|
|
37
37
|
/** @internal Load in the selected environment without sharing SSR/RSC module state. */
|
|
38
38
|
declare function loadFarmDevModule<T = Record<string, any>>(server: FarmDevModuleServer, id: string, environmentName?: "ssr" | "rsc"): Promise<T>;
|
|
39
39
|
|
|
40
|
+
declare const DEFAULT_FARM_DEVTOOLS_SHORTCUT = "mod+shift+.";
|
|
41
|
+
declare const FARM_DEVTOOLS_PATH = "/__farm/devtools";
|
|
42
|
+
declare const FARM_DEVTOOLS_LAUNCH_PARAM = "__farm_devtools";
|
|
43
|
+
/**
|
|
44
|
+
* Configuration for the built-in DevTools dashboard. The dashboard is deprecated in favor
|
|
45
|
+
* of the `@farm.js/devtools` plugin, which reuses this configuration for enablement and
|
|
46
|
+
* the keyboard shortcut. Both options keep working while the built-in UI remains available.
|
|
47
|
+
*/
|
|
48
|
+
interface FarmDevtoolsConfig {
|
|
49
|
+
/** Enable the development-only DevTools UI and runtime endpoints. */
|
|
50
|
+
enabled?: boolean;
|
|
51
|
+
/** Keyboard shortcut used to toggle DevTools, or false to disable the shortcut. */
|
|
52
|
+
shortcut?: string | false;
|
|
53
|
+
}
|
|
54
|
+
type FarmDevtoolsUserConfig = boolean | FarmDevtoolsConfig;
|
|
55
|
+
interface ResolvedFarmDevtoolsConfig {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
shortcut: string | false;
|
|
58
|
+
}
|
|
59
|
+
declare function resolveFarmDevtoolsConfig(config: FarmDevtoolsUserConfig | ResolvedFarmDevtoolsConfig | undefined, mode?: "development" | "production"): ResolvedFarmDevtoolsConfig;
|
|
60
|
+
|
|
40
61
|
type ResolvedSchemaField = FarmSchemaField & {
|
|
41
62
|
name: string;
|
|
42
63
|
};
|
|
@@ -1172,27 +1193,6 @@ declare function loadFarmConfigFile<TConfig = Record<string, any>>(configPath: s
|
|
|
1172
1193
|
cacheRoot?: string;
|
|
1173
1194
|
}): Promise<TConfig>;
|
|
1174
1195
|
|
|
1175
|
-
declare const DEFAULT_FARM_DEVTOOLS_SHORTCUT = "mod+shift+.";
|
|
1176
|
-
declare const FARM_DEVTOOLS_PATH = "/__farm/devtools";
|
|
1177
|
-
declare const FARM_DEVTOOLS_LAUNCH_PARAM = "__farm_devtools";
|
|
1178
|
-
/**
|
|
1179
|
-
* Configuration for the built-in DevTools dashboard. The dashboard is deprecated in favor
|
|
1180
|
-
* of the `@farm.js/devtools` plugin, which reuses this configuration for enablement and
|
|
1181
|
-
* the keyboard shortcut. Both options keep working while the built-in UI remains available.
|
|
1182
|
-
*/
|
|
1183
|
-
interface FarmDevtoolsConfig {
|
|
1184
|
-
/** Enable the development-only DevTools UI and runtime endpoints. */
|
|
1185
|
-
enabled?: boolean;
|
|
1186
|
-
/** Keyboard shortcut used to toggle DevTools, or false to disable the shortcut. */
|
|
1187
|
-
shortcut?: string | false;
|
|
1188
|
-
}
|
|
1189
|
-
type FarmDevtoolsUserConfig = boolean | FarmDevtoolsConfig;
|
|
1190
|
-
interface ResolvedFarmDevtoolsConfig {
|
|
1191
|
-
enabled: boolean;
|
|
1192
|
-
shortcut: string | false;
|
|
1193
|
-
}
|
|
1194
|
-
declare function resolveFarmDevtoolsConfig(config: FarmDevtoolsUserConfig | ResolvedFarmDevtoolsConfig | undefined, mode?: "development" | "production"): ResolvedFarmDevtoolsConfig;
|
|
1195
|
-
|
|
1196
1196
|
type FarmBuildActivityPosition = "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
1197
1197
|
interface FarmDevIndicatorsConfig {
|
|
1198
1198
|
/** Show build and HMR activity in the browser during development. */
|
|
@@ -2699,10 +2699,10 @@ interface FarmAgentRobotsOptions {
|
|
|
2699
2699
|
declare function createFarmAgentRobots(options: FarmAgentRobotsOptions): MetadataRoute.Robots;
|
|
2700
2700
|
|
|
2701
2701
|
/**
|
|
2702
|
-
* Agent-readiness configuration:
|
|
2703
|
-
*
|
|
2704
|
-
*
|
|
2705
|
-
*
|
|
2702
|
+
* Agent-readiness configuration: primitives that make a Farm site easier for AI agents and
|
|
2703
|
+
* crawlers to discover, resolve, and use. The ones that only describe the site agents can
|
|
2704
|
+
* already read (JSON-LD, llms.txt) are on by default; the ones that expose more
|
|
2705
|
+
* (crawler rules, an API catalog) are opt-in. Each one turns off with `false`.
|
|
2706
2706
|
*/
|
|
2707
2707
|
|
|
2708
2708
|
/** schema.org JSON-LD emitted in the document head to identify the site. */
|
|
@@ -2730,10 +2730,11 @@ interface FarmAgentJsonLd {
|
|
|
2730
2730
|
interface FarmAgentUserConfig {
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Emit schema.org JSON-LD in the document head so agents and crawlers can
|
|
2733
|
-
* resolve the site's identity.
|
|
2734
|
-
* site's metadata; an object customizes the type
|
|
2733
|
+
* resolve the site's identity. Left unset, it emits a `WebSite` built from the
|
|
2734
|
+
* site's metadata; `true` emits an `Organization`; an object customizes the type
|
|
2735
|
+
* and fields; `false` turns it off.
|
|
2735
2736
|
*
|
|
2736
|
-
* @default
|
|
2737
|
+
* @default { type: "WebSite" }
|
|
2737
2738
|
*/
|
|
2738
2739
|
jsonLd?: boolean | FarmAgentJsonLd;
|
|
2739
2740
|
/**
|
|
@@ -2747,11 +2748,13 @@ interface FarmAgentUserConfig {
|
|
|
2747
2748
|
noindexPreviews?: boolean;
|
|
2748
2749
|
/**
|
|
2749
2750
|
* Serve `/llms.txt` (https://llmstxt.org): a Markdown index of the app's static
|
|
2750
|
-
* pages, linking to their Markdown mirrors. `true` builds it from page metadata
|
|
2751
|
-
* an object sets the title, summary, details,
|
|
2752
|
-
* `src/app/llms.ts` metadata route
|
|
2751
|
+
* pages, linking to their Markdown mirrors. `true` builds it from page metadata
|
|
2752
|
+
* and also serves `/llms-full.txt`; an object sets the title, summary, details,
|
|
2753
|
+
* and which routes to list. A `src/app/llms.ts` metadata route or a
|
|
2754
|
+
* `public/llms.txt` replaces the generated file. Left unset, `/llms.txt` is served
|
|
2755
|
+
* (without `/llms-full.txt`) unless the docs engine is enabled, which serves its own.
|
|
2753
2756
|
*
|
|
2754
|
-
* @default false
|
|
2757
|
+
* @default { full: false } without docs, false with docs
|
|
2755
2758
|
*/
|
|
2756
2759
|
llmsTxt?: boolean | FarmLlmsTxtUserConfig;
|
|
2757
2760
|
/**
|
|
@@ -37,6 +37,27 @@ declare class FarmDevEnvironmentError extends Error {
|
|
|
37
37
|
/** @internal Load in the selected environment without sharing SSR/RSC module state. */
|
|
38
38
|
declare function loadFarmDevModule<T = Record<string, any>>(server: FarmDevModuleServer, id: string, environmentName?: "ssr" | "rsc"): Promise<T>;
|
|
39
39
|
|
|
40
|
+
declare const DEFAULT_FARM_DEVTOOLS_SHORTCUT = "mod+shift+.";
|
|
41
|
+
declare const FARM_DEVTOOLS_PATH = "/__farm/devtools";
|
|
42
|
+
declare const FARM_DEVTOOLS_LAUNCH_PARAM = "__farm_devtools";
|
|
43
|
+
/**
|
|
44
|
+
* Configuration for the built-in DevTools dashboard. The dashboard is deprecated in favor
|
|
45
|
+
* of the `@farm.js/devtools` plugin, which reuses this configuration for enablement and
|
|
46
|
+
* the keyboard shortcut. Both options keep working while the built-in UI remains available.
|
|
47
|
+
*/
|
|
48
|
+
interface FarmDevtoolsConfig {
|
|
49
|
+
/** Enable the development-only DevTools UI and runtime endpoints. */
|
|
50
|
+
enabled?: boolean;
|
|
51
|
+
/** Keyboard shortcut used to toggle DevTools, or false to disable the shortcut. */
|
|
52
|
+
shortcut?: string | false;
|
|
53
|
+
}
|
|
54
|
+
type FarmDevtoolsUserConfig = boolean | FarmDevtoolsConfig;
|
|
55
|
+
interface ResolvedFarmDevtoolsConfig {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
shortcut: string | false;
|
|
58
|
+
}
|
|
59
|
+
declare function resolveFarmDevtoolsConfig(config: FarmDevtoolsUserConfig | ResolvedFarmDevtoolsConfig | undefined, mode?: "development" | "production"): ResolvedFarmDevtoolsConfig;
|
|
60
|
+
|
|
40
61
|
type ResolvedSchemaField = FarmSchemaField & {
|
|
41
62
|
name: string;
|
|
42
63
|
};
|
|
@@ -1172,27 +1193,6 @@ declare function loadFarmConfigFile<TConfig = Record<string, any>>(configPath: s
|
|
|
1172
1193
|
cacheRoot?: string;
|
|
1173
1194
|
}): Promise<TConfig>;
|
|
1174
1195
|
|
|
1175
|
-
declare const DEFAULT_FARM_DEVTOOLS_SHORTCUT = "mod+shift+.";
|
|
1176
|
-
declare const FARM_DEVTOOLS_PATH = "/__farm/devtools";
|
|
1177
|
-
declare const FARM_DEVTOOLS_LAUNCH_PARAM = "__farm_devtools";
|
|
1178
|
-
/**
|
|
1179
|
-
* Configuration for the built-in DevTools dashboard. The dashboard is deprecated in favor
|
|
1180
|
-
* of the `@farm.js/devtools` plugin, which reuses this configuration for enablement and
|
|
1181
|
-
* the keyboard shortcut. Both options keep working while the built-in UI remains available.
|
|
1182
|
-
*/
|
|
1183
|
-
interface FarmDevtoolsConfig {
|
|
1184
|
-
/** Enable the development-only DevTools UI and runtime endpoints. */
|
|
1185
|
-
enabled?: boolean;
|
|
1186
|
-
/** Keyboard shortcut used to toggle DevTools, or false to disable the shortcut. */
|
|
1187
|
-
shortcut?: string | false;
|
|
1188
|
-
}
|
|
1189
|
-
type FarmDevtoolsUserConfig = boolean | FarmDevtoolsConfig;
|
|
1190
|
-
interface ResolvedFarmDevtoolsConfig {
|
|
1191
|
-
enabled: boolean;
|
|
1192
|
-
shortcut: string | false;
|
|
1193
|
-
}
|
|
1194
|
-
declare function resolveFarmDevtoolsConfig(config: FarmDevtoolsUserConfig | ResolvedFarmDevtoolsConfig | undefined, mode?: "development" | "production"): ResolvedFarmDevtoolsConfig;
|
|
1195
|
-
|
|
1196
1196
|
type FarmBuildActivityPosition = "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
1197
1197
|
interface FarmDevIndicatorsConfig {
|
|
1198
1198
|
/** Show build and HMR activity in the browser during development. */
|
|
@@ -2699,10 +2699,10 @@ interface FarmAgentRobotsOptions {
|
|
|
2699
2699
|
declare function createFarmAgentRobots(options: FarmAgentRobotsOptions): MetadataRoute.Robots;
|
|
2700
2700
|
|
|
2701
2701
|
/**
|
|
2702
|
-
* Agent-readiness configuration:
|
|
2703
|
-
*
|
|
2704
|
-
*
|
|
2705
|
-
*
|
|
2702
|
+
* Agent-readiness configuration: primitives that make a Farm site easier for AI agents and
|
|
2703
|
+
* crawlers to discover, resolve, and use. The ones that only describe the site agents can
|
|
2704
|
+
* already read (JSON-LD, llms.txt) are on by default; the ones that expose more
|
|
2705
|
+
* (crawler rules, an API catalog) are opt-in. Each one turns off with `false`.
|
|
2706
2706
|
*/
|
|
2707
2707
|
|
|
2708
2708
|
/** schema.org JSON-LD emitted in the document head to identify the site. */
|
|
@@ -2730,10 +2730,11 @@ interface FarmAgentJsonLd {
|
|
|
2730
2730
|
interface FarmAgentUserConfig {
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Emit schema.org JSON-LD in the document head so agents and crawlers can
|
|
2733
|
-
* resolve the site's identity.
|
|
2734
|
-
* site's metadata; an object customizes the type
|
|
2733
|
+
* resolve the site's identity. Left unset, it emits a `WebSite` built from the
|
|
2734
|
+
* site's metadata; `true` emits an `Organization`; an object customizes the type
|
|
2735
|
+
* and fields; `false` turns it off.
|
|
2735
2736
|
*
|
|
2736
|
-
* @default
|
|
2737
|
+
* @default { type: "WebSite" }
|
|
2737
2738
|
*/
|
|
2738
2739
|
jsonLd?: boolean | FarmAgentJsonLd;
|
|
2739
2740
|
/**
|
|
@@ -2747,11 +2748,13 @@ interface FarmAgentUserConfig {
|
|
|
2747
2748
|
noindexPreviews?: boolean;
|
|
2748
2749
|
/**
|
|
2749
2750
|
* Serve `/llms.txt` (https://llmstxt.org): a Markdown index of the app's static
|
|
2750
|
-
* pages, linking to their Markdown mirrors. `true` builds it from page metadata
|
|
2751
|
-
* an object sets the title, summary, details,
|
|
2752
|
-
* `src/app/llms.ts` metadata route
|
|
2751
|
+
* pages, linking to their Markdown mirrors. `true` builds it from page metadata
|
|
2752
|
+
* and also serves `/llms-full.txt`; an object sets the title, summary, details,
|
|
2753
|
+
* and which routes to list. A `src/app/llms.ts` metadata route or a
|
|
2754
|
+
* `public/llms.txt` replaces the generated file. Left unset, `/llms.txt` is served
|
|
2755
|
+
* (without `/llms-full.txt`) unless the docs engine is enabled, which serves its own.
|
|
2753
2756
|
*
|
|
2754
|
-
* @default false
|
|
2757
|
+
* @default { full: false } without docs, false with docs
|
|
2755
2758
|
*/
|
|
2756
2759
|
llmsTxt?: boolean | FarmLlmsTxtUserConfig;
|
|
2757
2760
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
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, c1 as FarmRequestPluginContext, c2 as FarmRequestStore } from './client-plugins-
|
|
2
|
+
export { a as FarmPlugin, h as FarmPluginContext, c1 as FarmRequestPluginContext, c2 as FarmRequestStore } from './client-plugins-CgYNY7jF.mjs';
|
|
3
3
|
import './integration-api-0y4FXJpC.mjs';
|
|
4
4
|
import './endpoint-CCHFqyTE.mjs';
|
|
5
5
|
import './cache.mjs';
|
|
6
|
+
import './cache-invalidation-BD0z_lfu.mjs';
|
|
6
7
|
import './renderer.mjs';
|
|
7
8
|
import './deployment.mjs';
|
|
8
9
|
import 'http';
|
package/dist/client-plugins.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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, c1 as FarmRequestPluginContext, c2 as FarmRequestStore } from './client-plugins-
|
|
2
|
+
export { a as FarmPlugin, h as FarmPluginContext, c1 as FarmRequestPluginContext, c2 as FarmRequestStore } from './client-plugins-Fl9Og3yB.js';
|
|
3
3
|
import './integration-api-BPJo5oXb.js';
|
|
4
4
|
import './endpoint-CA-TNX60.js';
|
|
5
5
|
import './cache.js';
|
|
6
|
+
import './cache-invalidation-BD0z_lfu.js';
|
|
6
7
|
import './renderer.js';
|
|
7
8
|
import './deployment.js';
|
|
8
9
|
import 'http';
|
package/dist/client.cjs
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkD4JE5NNVcjs = require('./chunk-D4JE5NNV.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -23,14 +23,14 @@ var _chunkKROWKCUHcjs = require('./chunk-KROWKCUH.cjs');
|
|
|
23
23
|
var _chunkD7JTOLFKcjs = require('./chunk-D7JTOLFK.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkZCU4NZ3Mcjs = require('./chunk-ZCU4NZ3M.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkSORB3MARcjs = require('./chunk-SORB3MAR.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunkPZYCPSCCcjs = require('./chunk-PZYCPSCC.cjs');
|
|
@@ -49,12 +49,12 @@ var _chunkPZYCPSCCcjs = require('./chunk-PZYCPSCC.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkBJPBQNIEcjs = require('./chunk-BJPBQNIE.cjs');
|
|
53
53
|
require('./chunk-LTNGXMQ6.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkKH7BN726cjs = require('./chunk-KH7BN726.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
@@ -70,14 +70,14 @@ require('./chunk-PCOTGFSM.cjs');
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
var
|
|
73
|
+
var _chunkWNLBF77Xcjs = require('./chunk-WNLBF77X.cjs');
|
|
74
74
|
require('./chunk-5OVTOKGH.cjs');
|
|
75
75
|
require('./chunk-R5A5KNVX.cjs');
|
|
76
76
|
require('./chunk-SWN467MP.cjs');
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunk63H6BKXGcjs = require('./chunk-63H6BKXG.cjs');
|
|
81
81
|
require('./chunk-J7FSKED3.cjs');
|
|
82
82
|
require('./chunk-SK35NQKK.cjs');
|
|
83
83
|
|
|
@@ -96,14 +96,13 @@ 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-3LUF2PE2.cjs');
|
|
100
100
|
require('./chunk-R5JIFR6B.cjs');
|
|
101
101
|
require('./chunk-C5GUTBZK.cjs');
|
|
102
102
|
require('./chunk-QBK2AA4U.cjs');
|
|
103
|
-
require('./chunk-H6G5INWM.cjs');
|
|
104
|
-
require('./chunk-ZEG3OPIB.cjs');
|
|
105
103
|
require('./chunk-LIUGYUX3.cjs');
|
|
106
|
-
require('./chunk-
|
|
104
|
+
require('./chunk-NYJMY3JA.cjs');
|
|
105
|
+
require('./chunk-ZEG3OPIB.cjs');
|
|
107
106
|
require('./chunk-U4KT7QP3.cjs');
|
|
108
107
|
require('./chunk-BIDYX3SL.cjs');
|
|
109
108
|
require('./chunk-I57LW5VZ.cjs');
|
|
@@ -168,4 +167,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
168
167
|
|
|
169
168
|
|
|
170
169
|
|
|
171
|
-
exports.APIClientError =
|
|
170
|
+
exports.APIClientError = _chunkBJPBQNIEcjs.APIClientError; exports.FARM_CACHE_INVALIDATION_CHANNEL = _chunkD4JE5NNVcjs.FARM_CACHE_INVALIDATION_CHANNEL; exports.FARM_CLIENT_CACHE_PERSIST_VERSION = _chunkD4JE5NNVcjs.FARM_CLIENT_CACHE_PERSIST_VERSION; exports.FarmClientPluginManager = _chunkVB6UCX3Vcjs.FarmClientPluginManager; exports.FetcherInputError = _chunkD4JE5NNVcjs.FetcherInputError; exports.IntegrationClientError = _chunkBJPBQNIEcjs.IntegrationClientError; exports.Link = _chunkD4JE5NNVcjs.Link; exports.SPARouter = _chunkWNLBF77Xcjs.SPARouter; exports.api = _chunkNZKJGRB3cjs.api; exports.clearPersistedCache = _chunkD4JE5NNVcjs.clearPersistedCache; exports.createAPIClient = _chunkBJPBQNIEcjs.createAPIClient; exports.createApiClients = _chunkBJPBQNIEcjs.createApiClients; exports.createClientPluginManager = _chunkVB6UCX3Vcjs.createClientPluginManager; exports.createIntegrationApi = _chunkBJPBQNIEcjs.createIntegrationApi; exports.createIntegrationClient = _chunkBJPBQNIEcjs.createIntegrationClient; exports.createIntegrationClients = _chunkBJPBQNIEcjs.createIntegrationClients; exports.createIntegrationServerClient = _chunkBJPBQNIEcjs.createIntegrationServerClient; exports.createIntegrations = _chunkBJPBQNIEcjs.createIntegrations; exports.createServerAPIClient = _chunkBJPBQNIEcjs.createServerAPIClient; exports.createStore = _chunkD4JE5NNVcjs.createStore; exports.defineClientCacheAdapter = _chunkD4JE5NNVcjs.defineClientCacheAdapter; exports.defineIntegrationAPI = _chunkNZKJGRB3cjs.defineIntegrationAPI; exports.defineIntegrationAPIOperation = _chunkNZKJGRB3cjs.defineIntegrationAPIOperation; exports.enableCrossTabCacheInvalidation = _chunkD4JE5NNVcjs.enableCrossTabCacheInvalidation; exports.enableLiveCacheInvalidation = _chunkD4JE5NNVcjs.enableLiveCacheInvalidation; exports.endpoint = _chunkNZKJGRB3cjs.endpoint; exports.fetchServerQuery = _chunkKH7BN726cjs.fetchServerQuery; exports.getFarmClientDataCache = _chunk63H6BKXGcjs.getFarmClientDataCache; exports.getIntegrationAPIManifest = _chunkBJPBQNIEcjs.getIntegrationAPIManifest; exports.getRouter = _chunkWNLBF77Xcjs.getRouter; exports.getTheme = _chunkFK6GO24Vcjs.getTheme; exports.initConfiguredClientCachePersistence = _chunkD4JE5NNVcjs.initConfiguredClientCachePersistence; exports.initPersistedClientCache = _chunkD4JE5NNVcjs.initPersistedClientCache; exports.installChunkErrorRecovery = _chunkKROWKCUHcjs.installChunkErrorRecovery; exports.integrationClients = _chunkBJPBQNIEcjs.integrationClients; exports.integrationsClient = _chunkBJPBQNIEcjs.integrationsClient; exports.integrationsServer = _chunkBJPBQNIEcjs.integrationsServer; exports.isChunkLoadError = _chunkKROWKCUHcjs.isChunkLoadError; exports.navigateTo = _chunkWNLBF77Xcjs.navigateTo; exports.normalizeFarmClientCacheKey = _chunk63H6BKXGcjs.normalizeFarmClientCacheKey; exports.prefetch = _chunkWNLBF77Xcjs.prefetch; exports.prefetchServerQuery = _chunkKH7BN726cjs.prefetchServerQuery; exports.pushState = _chunkWNLBF77Xcjs.pushState; exports.readPageState = _chunkWNLBF77Xcjs.readPageState; exports.replaceState = _chunkWNLBF77Xcjs.replaceState; exports.setTheme = _chunkFK6GO24Vcjs.setTheme; exports.storageClientCacheAdapter = _chunkD4JE5NNVcjs.storageClientCacheAdapter; exports.toggleTheme = _chunkFK6GO24Vcjs.toggleTheme; exports.useAction = _chunkD7JTOLFKcjs.useAction; exports.useBlocker = _chunkSORB3MARcjs.useBlocker; exports.useFetcher = _chunkD4JE5NNVcjs.useFetcher; exports.useMutation = _chunkD4JE5NNVcjs.useMutation; exports.useNavigation = _chunkSORB3MARcjs.useNavigation; exports.usePageState = _chunkSORB3MARcjs.usePageState; exports.useRouter = _chunkSORB3MARcjs.useRouter; exports.useScrollRestoration = _chunkSORB3MARcjs.useScrollRestoration; exports.useServerQuery = _chunkZCU4NZ3Mcjs.useServerQuery; exports.useTheme = _chunkPZYCPSCCcjs.useTheme;
|
package/dist/client.d.mts
CHANGED
|
@@ -8,20 +8,21 @@ 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-DQOnHZVj.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-DQOnHZVj.mjs';
|
|
13
13
|
import { b as FarmI18nLocale } from './types-Z0aotQ8w.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-BatNMsa1.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';
|
|
18
18
|
export { getTheme, setTheme, toggleTheme } from './theme/runtime.mjs';
|
|
19
19
|
import './cache.mjs';
|
|
20
|
+
import './cache-invalidation-BD0z_lfu.mjs';
|
|
20
21
|
import './server-fn.mjs';
|
|
21
22
|
import './server-fn-error-DDh14a0V.mjs';
|
|
22
23
|
import './server-query.mjs';
|
|
23
24
|
import './types-DQnyD3VD.mjs';
|
|
24
|
-
import './client-plugins-
|
|
25
|
+
import './client-plugins-CgYNY7jF.mjs';
|
|
25
26
|
import './renderer.mjs';
|
|
26
27
|
import './deployment.mjs';
|
|
27
28
|
import 'http';
|
|
@@ -46,7 +47,7 @@ import './font.mjs';
|
|
|
46
47
|
import './after.mjs';
|
|
47
48
|
import 'node:http';
|
|
48
49
|
import './island-CfGru1MO.mjs';
|
|
49
|
-
import './render-plan-
|
|
50
|
+
import './render-plan-_1TAWODt.mjs';
|
|
50
51
|
|
|
51
52
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
52
53
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|
package/dist/client.d.ts
CHANGED
|
@@ -8,20 +8,21 @@ 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-BE3bwU-J.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-BE3bwU-J.js';
|
|
13
13
|
import { b as FarmI18nLocale } from './types-Z0aotQ8w.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-DtNRhQl3.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';
|
|
18
18
|
export { getTheme, setTheme, toggleTheme } from './theme/runtime.js';
|
|
19
19
|
import './cache.js';
|
|
20
|
+
import './cache-invalidation-BD0z_lfu.js';
|
|
20
21
|
import './server-fn.js';
|
|
21
22
|
import './server-fn-error-DDh14a0V.js';
|
|
22
23
|
import './server-query.js';
|
|
23
24
|
import './types-DQnyD3VD.js';
|
|
24
|
-
import './client-plugins-
|
|
25
|
+
import './client-plugins-Fl9Og3yB.js';
|
|
25
26
|
import './renderer.js';
|
|
26
27
|
import './deployment.js';
|
|
27
28
|
import 'http';
|
|
@@ -46,7 +47,7 @@ import './font.js';
|
|
|
46
47
|
import './after.js';
|
|
47
48
|
import 'node:http';
|
|
48
49
|
import './island-CfGru1MO.js';
|
|
49
|
-
import './render-plan-
|
|
50
|
+
import './render-plan-B41EWmBb.js';
|
|
50
51
|
|
|
51
52
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
52
53
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|