@farm.js/core 0.1.40 → 0.1.42

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.
Files changed (238) hide show
  1. package/dist/{agent-mcp-DRlXq3lM.d.ts → agent-mcp-SSD6L3VZ.d.ts} +8 -2
  2. package/dist/{agent-mcp-XNF4JqHw.d.mts → agent-mcp-ssVy_tea.d.mts} +8 -2
  3. package/dist/agent-runtime.d.mts +2 -2
  4. package/dist/agent-runtime.d.ts +2 -2
  5. package/dist/api/client.cjs +3 -3
  6. package/dist/api/client.mjs +2 -2
  7. package/dist/api/route-manager.cjs +8 -8
  8. package/dist/api/route-manager.d.mts +4 -4
  9. package/dist/api/route-manager.d.ts +4 -4
  10. package/dist/api/route-manager.mjs +7 -7
  11. package/dist/api/runtime.cjs +6 -6
  12. package/dist/api/runtime.d.mts +3 -3
  13. package/dist/api/runtime.d.ts +3 -3
  14. package/dist/api/runtime.mjs +5 -5
  15. package/dist/api.cjs +10 -10
  16. package/dist/api.d.mts +4 -4
  17. package/dist/api.d.ts +4 -4
  18. package/dist/api.mjs +9 -9
  19. package/dist/{app-CWjCklhF.d.mts → app-1h3lVT4a.d.mts} +5 -5
  20. package/dist/{app-CDJHPqZn.d.ts → app-KjFzdCqy.d.ts} +5 -5
  21. package/dist/app-manifest-D3RkVNuS.d.mts +120 -0
  22. package/dist/app-manifest-DaW8-tvX.d.ts +120 -0
  23. package/dist/app-markdown.d.mts +3 -3
  24. package/dist/app-markdown.d.ts +3 -3
  25. package/dist/cache.cjs +3 -3
  26. package/dist/cache.mjs +2 -2
  27. package/dist/{chunk-UM3ZV5EP.mjs → chunk-24SP5TGU.mjs} +1 -1
  28. package/dist/{chunk-B6IMBBOS.cjs → chunk-25LPIZSX.cjs} +3 -3
  29. package/dist/{chunk-WW374SGU.mjs → chunk-26RUNDIR.mjs} +1 -1
  30. package/dist/{chunk-B77AUCBV.cjs → chunk-2FUIT2G2.cjs} +3 -3
  31. package/dist/{chunk-IMQO6ZUU.mjs → chunk-2JZHQDUY.mjs} +2 -2
  32. package/dist/{chunk-BPGO2IEP.mjs → chunk-35WS7P2V.mjs} +24 -126
  33. package/dist/{chunk-XKIUHXHW.mjs → chunk-375K2ZVU.mjs} +46 -52
  34. package/dist/{chunk-MNUSIXGS.mjs → chunk-4KQDHTWX.mjs} +1 -1
  35. package/dist/{chunk-DATEWH3W.cjs → chunk-6IZWX6ES.cjs} +22 -8
  36. package/dist/{chunk-Y6LRPO2K.mjs → chunk-6LVRDOAW.mjs} +19 -5
  37. package/dist/{chunk-UMQAK3KP.cjs → chunk-6MVFHNYZ.cjs} +2 -2
  38. package/dist/{chunk-OLQ73ZO5.mjs → chunk-6PKXK4TY.mjs} +3 -3
  39. package/dist/{chunk-PYQ3ZG4Z.mjs → chunk-724JLMS4.mjs} +4 -4
  40. package/dist/{chunk-PNCM5MFD.mjs → chunk-7UEEHAW7.mjs} +1 -1
  41. package/dist/{chunk-EW4MEVLE.cjs → chunk-7YHSD3Z6.cjs} +82 -118
  42. package/dist/{chunk-DKU6NXRK.cjs → chunk-AHFRQMRX.cjs} +1 -1
  43. package/dist/{chunk-7VAJSSPG.mjs → chunk-B2GSRB3P.mjs} +1 -1
  44. package/dist/{chunk-JXB6DVCO.mjs → chunk-BPNRQ5BA.mjs} +1 -1
  45. package/dist/{chunk-FLZ4H25A.cjs → chunk-BXJ5HJTJ.cjs} +13 -12
  46. package/dist/{chunk-GNVEJUT5.cjs → chunk-C5KVWHIH.cjs} +21 -21
  47. package/dist/chunk-COABSY3U.mjs +196 -0
  48. package/dist/{chunk-Y2GNNXGV.cjs → chunk-D64OPY6A.cjs} +5 -5
  49. package/dist/{chunk-BYQVROIP.mjs → chunk-DMRPN25V.mjs} +69 -0
  50. package/dist/{chunk-I64GEPOB.cjs → chunk-FEYQCYT7.cjs} +3 -3
  51. package/dist/{chunk-AXB5P7BK.mjs → chunk-FIAPD365.mjs} +1 -1
  52. package/dist/{chunk-7FHZ3E6D.cjs → chunk-GB7LDGY5.cjs} +2 -2
  53. package/dist/{chunk-45UZKX2J.mjs → chunk-HJ64F4GS.mjs} +2 -2
  54. package/dist/{chunk-IRYK4Z5M.cjs → chunk-I5MG3TKE.cjs} +2 -2
  55. package/dist/{chunk-YR2P74F7.cjs → chunk-IFWSR7YZ.cjs} +2 -2
  56. package/dist/{chunk-5E65AL7P.mjs → chunk-IN6RCKLL.mjs} +5 -4
  57. package/dist/{chunk-CKFK3Z2V.mjs → chunk-IVQY6UTY.mjs} +1 -1
  58. package/dist/{chunk-3TB5QGUW.cjs → chunk-JAXDRRRC.cjs} +70 -1
  59. package/dist/{chunk-EORXKFLR.cjs → chunk-JEIG3EWE.cjs} +1 -1
  60. package/dist/{chunk-54QWHSNR.cjs → chunk-JG3MEQUH.cjs} +150 -156
  61. package/dist/{chunk-TFX4RTH2.mjs → chunk-JOW4HDJO.mjs} +1 -1
  62. package/dist/{chunk-H44XGLFU.cjs → chunk-L6A26QT5.cjs} +9 -9
  63. package/dist/{chunk-OZN4XL6L.cjs → chunk-LIZTLA5F.cjs} +7 -6
  64. package/dist/{chunk-62DY5GKS.mjs → chunk-LLUA2LSC.mjs} +2 -2
  65. package/dist/{chunk-LDPKAYVS.cjs → chunk-LYIZHJTK.cjs} +2 -2
  66. package/dist/{chunk-2DMWQWNJ.mjs → chunk-MEASUNVY.mjs} +1 -1
  67. package/dist/{chunk-T4II4MMW.mjs → chunk-MHHCLYXU.mjs} +1 -1
  68. package/dist/{chunk-SHFXCE5A.cjs → chunk-MHN4UR5U.cjs} +4 -4
  69. package/dist/{chunk-5JEC43MQ.cjs → chunk-MN4TQJ3W.cjs} +9 -9
  70. package/dist/{chunk-5XS5NCVM.cjs → chunk-MY5PZYAD.cjs} +4 -4
  71. package/dist/{chunk-2JG2LJDI.cjs → chunk-NBPNUQYO.cjs} +2 -2
  72. package/dist/{chunk-4XO5GSD6.cjs → chunk-NFG4PUPI.cjs} +2 -2
  73. package/dist/{chunk-Y4QVEU67.mjs → chunk-NU25TRIO.mjs} +5 -4
  74. package/dist/{chunk-5LL6TKII.mjs → chunk-O7USYJ4U.mjs} +1 -1
  75. package/dist/{chunk-VBN3UAPQ.mjs → chunk-P2UJF4SS.mjs} +1 -1
  76. package/dist/{chunk-T6DLMX5V.mjs → chunk-PIZXONIS.mjs} +73 -109
  77. package/dist/{chunk-KK22JPQM.cjs → chunk-QEILRWVV.cjs} +30 -132
  78. package/dist/{chunk-UXMIFB44.cjs → chunk-QIBP5EFA.cjs} +5 -5
  79. package/dist/{chunk-TAKG7ZCD.cjs → chunk-QKZMB7LY.cjs} +14 -14
  80. package/dist/{chunk-FCOLU5P6.mjs → chunk-QTEJGB5A.mjs} +39 -16
  81. package/dist/{chunk-QJM7A4CR.cjs → chunk-S7MTDRYA.cjs} +10 -10
  82. package/dist/{chunk-ACLPN56I.mjs → chunk-SGB4IW7K.mjs} +1 -1
  83. package/dist/{chunk-GKQL726H.cjs → chunk-TCJ4A4A2.cjs} +78 -82
  84. package/dist/{chunk-ZKVJYQPO.mjs → chunk-TUL355PH.mjs} +13 -17
  85. package/dist/{chunk-H56MQYEG.mjs → chunk-U2UC7UGP.mjs} +1 -1
  86. package/dist/{chunk-I63UCMXW.mjs → chunk-ULQOP5UI.mjs} +2 -2
  87. package/dist/{chunk-HBEBV7OZ.mjs → chunk-UQUEANTY.mjs} +1 -1
  88. package/dist/chunk-VHRS3MCW.cjs +196 -0
  89. package/dist/{chunk-WCWV25PG.mjs → chunk-VTBXE6QG.mjs} +2 -2
  90. package/dist/{chunk-E55H6UKH.cjs → chunk-WLHA5USH.cjs} +9 -9
  91. package/dist/{chunk-YJBWB6GF.mjs → chunk-WMBRZI5V.mjs} +1 -1
  92. package/dist/{chunk-AGR7F3LA.cjs → chunk-WROEFVNO.cjs} +3 -3
  93. package/dist/{chunk-CA62IQY3.cjs → chunk-WU7ZS3EM.cjs} +2 -2
  94. package/dist/{chunk-ZOABCQGT.mjs → chunk-X3NGFVRF.mjs} +37 -22
  95. package/dist/{chunk-XJAEZCT6.mjs → chunk-XUC6CFLE.mjs} +1 -1
  96. package/dist/{chunk-6ILGLCXF.cjs → chunk-YWCYV7QC.cjs} +8 -8
  97. package/dist/{chunk-T36UJS3X.mjs → chunk-YYQVGKO5.mjs} +2 -2
  98. package/dist/{chunk-EGCT3AHF.cjs → chunk-ZATTDMBW.cjs} +127 -104
  99. package/dist/{chunk-PGW7HZE2.cjs → chunk-ZS6HDNOM.cjs} +6 -6
  100. package/dist/{chunk-XVIEGKTT.cjs → chunk-ZTP3BJG6.cjs} +41 -26
  101. package/dist/{client-plugins-B_5QbNrp.d.mts → client-plugins-C9Py_50W.d.mts} +79 -7
  102. package/dist/{client-plugins-DgSfIWIF.d.ts → client-plugins-DIem0I0W.d.ts} +79 -7
  103. package/dist/client-plugins.d.mts +2 -2
  104. package/dist/client-plugins.d.ts +2 -2
  105. package/dist/client.cjs +5 -5
  106. package/dist/client.d.mts +6 -6
  107. package/dist/client.d.ts +6 -6
  108. package/dist/client.mjs +4 -4
  109. package/dist/client.react-server.mjs +2 -0
  110. package/dist/config.d.mts +2 -2
  111. package/dist/config.d.ts +2 -2
  112. package/dist/{devtools-ANJ7JAPQ.cjs → devtools-2RY3EKHL.cjs} +6 -6
  113. package/dist/{devtools-VEQQDVHE.mjs → devtools-Q3LBNUJ7.mjs} +5 -5
  114. package/dist/docs.cjs +8 -8
  115. package/dist/docs.d.mts +3 -3
  116. package/dist/docs.d.ts +3 -3
  117. package/dist/docs.mjs +7 -7
  118. package/dist/headers.cjs +4 -4
  119. package/dist/headers.mjs +3 -3
  120. package/dist/image/server.d.mts +1 -1
  121. package/dist/image/server.d.ts +1 -1
  122. package/dist/image/sharp.d.mts +1 -1
  123. package/dist/image/sharp.d.ts +1 -1
  124. package/dist/{image-config-Duob7wER.d.ts → image-config-BpH1q5R8.d.mts} +4 -1
  125. package/dist/{image-config-Duob7wER.d.mts → image-config-BpH1q5R8.d.ts} +4 -1
  126. package/dist/image.d.mts +1 -1
  127. package/dist/image.d.ts +1 -1
  128. package/dist/index.cjs +40 -38
  129. package/dist/index.d.mts +16 -135
  130. package/dist/index.d.ts +16 -135
  131. package/dist/index.mjs +39 -37
  132. package/dist/integrations.d.mts +2 -2
  133. package/dist/integrations.d.ts +2 -2
  134. package/dist/internal/app-markdown-runtime.d.mts +3 -3
  135. package/dist/internal/app-markdown-runtime.d.ts +3 -3
  136. package/dist/internal/build-runtime.cjs +23 -23
  137. package/dist/internal/build-runtime.d.mts +4 -4
  138. package/dist/internal/build-runtime.d.ts +4 -4
  139. package/dist/internal/build-runtime.mjs +22 -22
  140. package/dist/internal/cli-runtime.cjs +13 -13
  141. package/dist/internal/cli-runtime.mjs +12 -12
  142. package/dist/internal/client-error-overlay.cjs +4 -4
  143. package/dist/internal/client-error-overlay.mjs +1 -1
  144. package/dist/internal/compression-runtime.d.mts +2 -2
  145. package/dist/internal/compression-runtime.d.ts +2 -2
  146. package/dist/internal/config-runtime.cjs +6 -6
  147. package/dist/internal/config-runtime.d.mts +3 -3
  148. package/dist/internal/config-runtime.d.ts +3 -3
  149. package/dist/internal/config-runtime.mjs +5 -5
  150. package/dist/internal/docs-precompiled-runtime.cjs +3 -3
  151. package/dist/internal/docs-precompiled-runtime.mjs +2 -2
  152. package/dist/internal/infra-analytics-runtime.cjs +5 -5
  153. package/dist/internal/infra-analytics-runtime.mjs +3 -3
  154. package/dist/internal/product-telemetry-runtime.cjs +2 -2
  155. package/dist/internal/product-telemetry-runtime.mjs +1 -1
  156. package/dist/internal/production-runtime.cjs +21 -13
  157. package/dist/internal/production-runtime.d.mts +29 -126
  158. package/dist/internal/production-runtime.d.ts +29 -126
  159. package/dist/internal/production-runtime.mjs +21 -13
  160. package/dist/markdown.d.mts +2 -2
  161. package/dist/markdown.d.ts +2 -2
  162. package/dist/middleware.cjs +7 -7
  163. package/dist/middleware.d.mts +4 -4
  164. package/dist/middleware.d.ts +4 -4
  165. package/dist/middleware.mjs +6 -6
  166. package/dist/navigation.cjs +4 -4
  167. package/dist/navigation.d.mts +5 -5
  168. package/dist/navigation.d.ts +5 -5
  169. package/dist/navigation.mjs +3 -3
  170. package/dist/{nitro-NFG2LBRC.mjs → nitro-KDACKNHU.mjs} +1 -1
  171. package/dist/{nitro-S2QABUFA.cjs → nitro-NPGU6VBT.cjs} +2 -2
  172. package/dist/plugin.cjs +21 -21
  173. package/dist/plugin.d.mts +4 -3
  174. package/dist/plugin.d.ts +4 -3
  175. package/dist/plugin.mjs +20 -20
  176. package/dist/{production-runtime-j_WCfuwB.d.mts → production-runtime-CHFKIgpW.d.mts} +1 -1
  177. package/dist/{production-runtime-DfknD3g_.d.ts → production-runtime-bjjWq-DA.d.ts} +1 -1
  178. package/dist/query/client.cjs +2 -2
  179. package/dist/query/client.mjs +3 -3
  180. package/dist/{render-plan-CFIhcYYS.d.ts → render-plan-B2UndB4x.d.ts} +1 -1
  181. package/dist/{render-plan-ChUtsymc.d.mts → render-plan-DOHg6wdO.d.mts} +1 -1
  182. package/dist/renderer-client.d.mts +4 -4
  183. package/dist/renderer-client.d.ts +4 -4
  184. package/dist/{request-F4HRwzSd.d.mts → request-DQcGfdgQ.d.mts} +1 -1
  185. package/dist/{request-RJvelT8L.d.ts → request-DVNXRQrI.d.ts} +1 -1
  186. package/dist/request.cjs +3 -3
  187. package/dist/request.d.mts +3 -3
  188. package/dist/request.d.ts +3 -3
  189. package/dist/request.mjs +2 -2
  190. package/dist/{route-rendering-D4coJ-kw.d.ts → route-rendering-B_6fj-GG.d.ts} +1 -1
  191. package/dist/{route-rendering-3a4fbNyC.d.mts → route-rendering-CEX4mFn-.d.mts} +1 -1
  192. package/dist/{router-WLEW3Te1.d.ts → router-CHEMHm1P.d.ts} +1 -1
  193. package/dist/{router-DqIssGRO.d.mts → router-CKHPBKXX.d.mts} +1 -1
  194. package/dist/routes.cjs +4 -4
  195. package/dist/routes.d.mts +2 -2
  196. package/dist/routes.d.ts +2 -2
  197. package/dist/routes.mjs +3 -3
  198. package/dist/{runtime-BrNdLOq9.d.ts → runtime-Br2ZDTAv.d.ts} +1 -1
  199. package/dist/{runtime-CmE_j-js.d.mts → runtime-jj8TKNsy.d.mts} +1 -1
  200. package/dist/server-fn.cjs +4 -4
  201. package/dist/server-fn.mjs +3 -3
  202. package/dist/server-plugins.cjs +5 -5
  203. package/dist/server-plugins.d.mts +3 -3
  204. package/dist/server-plugins.d.ts +3 -3
  205. package/dist/server-plugins.mjs +4 -4
  206. package/dist/server-query.cjs +5 -5
  207. package/dist/server-query.mjs +4 -4
  208. package/dist/server.cjs +46 -46
  209. package/dist/server.d.mts +10 -9
  210. package/dist/server.d.ts +10 -9
  211. package/dist/server.mjs +25 -25
  212. package/dist/{spa-router-C41zjnFl.d.mts → spa-router-BEvS9Erj.d.mts} +2 -2
  213. package/dist/{spa-router-D_0VXqPC.d.ts → spa-router-DmCuH5B7.d.ts} +2 -2
  214. package/dist/ssg-57v6cZcW.d.mts +184 -0
  215. package/dist/ssg-gT093ETk.d.ts +184 -0
  216. package/dist/testing.cjs +11 -11
  217. package/dist/testing.d.mts +2 -2
  218. package/dist/testing.d.ts +2 -2
  219. package/dist/testing.mjs +8 -8
  220. package/dist/theme/server.cjs +4 -4
  221. package/dist/theme/server.mjs +3 -3
  222. package/dist/{utils-YYcWsOJp.d.ts → utils-CCTKvR-P.d.ts} +1 -1
  223. package/dist/{utils-BKWSe3S7.d.mts → utils-raHHQVyL.d.mts} +1 -1
  224. package/dist/version.cjs +2 -2
  225. package/dist/version.mjs +1 -1
  226. package/dist/vite.cjs +38 -22
  227. package/dist/vite.d.mts +41 -4
  228. package/dist/vite.d.ts +41 -4
  229. package/dist/vite.mjs +38 -22
  230. package/dist/workflows.cjs +2 -2
  231. package/dist/workflows.mjs +1 -1
  232. package/package.json +2 -1
  233. package/dist/chunk-DAO7JGTS.mjs +0 -73
  234. package/dist/chunk-SYQ3MOWW.cjs +0 -73
  235. package/dist/programmatic-routes-client-DcoxEaLe.d.mts +0 -55
  236. package/dist/programmatic-routes-client-DcoxEaLe.d.ts +0 -55
  237. /package/dist/{chunk-MOSYH4CY.mjs → chunk-FWCGUVVL.mjs} +0 -0
  238. /package/dist/{chunk-4A3YUB4D.cjs → chunk-KF6VDJH7.cjs} +0 -0
package/dist/server.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createFarmInfraAnalyticsPlugin
3
- } from "./chunk-YJBWB6GF.mjs";
3
+ } from "./chunk-WMBRZI5V.mjs";
4
4
  import {
5
5
  FarmEnvironmentError,
6
6
  createClientOnlyFn,
@@ -10,8 +10,8 @@ import {
10
10
  import {
11
11
  FARM_SERVER_QUERY_SYMBOL,
12
12
  createServerQuery
13
- } from "./chunk-62DY5GKS.mjs";
14
- import "./chunk-5E65AL7P.mjs";
13
+ } from "./chunk-LLUA2LSC.mjs";
14
+ import "./chunk-IN6RCKLL.mjs";
15
15
  import {
16
16
  loadFarmDocsEngine
17
17
  } from "./chunk-2VQKKQ6D.mjs";
@@ -21,7 +21,7 @@ import {
21
21
  resolveConfig,
22
22
  resolveFarmMCPConfig,
23
23
  resolveFarmMCPPlugin
24
- } from "./chunk-Y4QVEU67.mjs";
24
+ } from "./chunk-NU25TRIO.mjs";
25
25
  import "./chunk-XZNTNMHT.mjs";
26
26
  import {
27
27
  loadFarmInstrumentation,
@@ -37,7 +37,7 @@ import {
37
37
  farmI18nClientBridgePlugin,
38
38
  farmPlugin,
39
39
  farmServerOnlyEntriesPlugin
40
- } from "./chunk-ZKVJYQPO.mjs";
40
+ } from "./chunk-TUL355PH.mjs";
41
41
  import "./chunk-INQ64HTJ.mjs";
42
42
  import {
43
43
  FarmApp,
@@ -50,12 +50,12 @@ import {
50
50
  loadTailwindVitePlugin,
51
51
  mergeFarmViteConfig,
52
52
  resolveFarmImageProviderForRuntime
53
- } from "./chunk-FCOLU5P6.mjs";
53
+ } from "./chunk-QTEJGB5A.mjs";
54
54
  import {
55
55
  FarmRuntimeShutdownError,
56
56
  PluginManager
57
57
  } from "./chunk-FGH3ZXTP.mjs";
58
- import "./chunk-BPGO2IEP.mjs";
58
+ import "./chunk-35WS7P2V.mjs";
59
59
  import "./chunk-F3VB7ONA.mjs";
60
60
  import "./chunk-BYR3RQPB.mjs";
61
61
  import "./chunk-VQGKD7RV.mjs";
@@ -63,10 +63,10 @@ import {
63
63
  readSchemaTables
64
64
  } from "./chunk-GC3EM6H4.mjs";
65
65
  import "./chunk-WDMIW6Q6.mjs";
66
- import "./chunk-T6DLMX5V.mjs";
66
+ import "./chunk-PIZXONIS.mjs";
67
67
  import "./chunk-4ZZNPK25.mjs";
68
68
  import "./chunk-Y5RG6B7S.mjs";
69
- import "./chunk-DAO7JGTS.mjs";
69
+ import "./chunk-COABSY3U.mjs";
70
70
  import "./chunk-BOYNDCZL.mjs";
71
71
  import "./chunk-OJ7JP7RJ.mjs";
72
72
  import "./chunk-SLQCDJSO.mjs";
@@ -80,7 +80,7 @@ import {
80
80
  import {
81
81
  getTheme,
82
82
  getThemeSnapshot
83
- } from "./chunk-AXB5P7BK.mjs";
83
+ } from "./chunk-FIAPD365.mjs";
84
84
  import "./chunk-J7K2NZD6.mjs";
85
85
  import "./chunk-TVGP4BBZ.mjs";
86
86
  import "./chunk-HCSVR4YZ.mjs";
@@ -92,9 +92,9 @@ import {
92
92
  loadFarmRendererVitePlugins,
93
93
  resolveFarmRenderer
94
94
  } from "./chunk-DAATZTKJ.mjs";
95
- import "./chunk-BYQVROIP.mjs";
95
+ import "./chunk-DMRPN25V.mjs";
96
96
  import "./chunk-ETPEZLS3.mjs";
97
- import "./chunk-PNCM5MFD.mjs";
97
+ import "./chunk-7UEEHAW7.mjs";
98
98
  import {
99
99
  createFarmConfigResolutionPlugin,
100
100
  getFarmAppDirectories,
@@ -128,7 +128,7 @@ import "./chunk-FA2W42OV.mjs";
128
128
  import "./chunk-I6UVKUYK.mjs";
129
129
  import "./chunk-KYN5ODF6.mjs";
130
130
  import "./chunk-SFGWNC43.mjs";
131
- import "./chunk-JXB6DVCO.mjs";
131
+ import "./chunk-BPNRQ5BA.mjs";
132
132
  import "./chunk-2UC36WAC.mjs";
133
133
  import "./chunk-ONUEYC6N.mjs";
134
134
  import {
@@ -166,10 +166,10 @@ import "./chunk-SEJ5N6SL.mjs";
166
166
  import "./chunk-AX7S67YV.mjs";
167
167
  import "./chunk-H3EGVQE5.mjs";
168
168
  import "./chunk-44SYJEG3.mjs";
169
- import "./chunk-45UZKX2J.mjs";
169
+ import "./chunk-HJ64F4GS.mjs";
170
170
  import "./chunk-LFHCG2DU.mjs";
171
171
  import "./chunk-RHAZ22ZN.mjs";
172
- import "./chunk-TFX4RTH2.mjs";
172
+ import "./chunk-JOW4HDJO.mjs";
173
173
  import "./chunk-HANGSYMB.mjs";
174
174
  import "./chunk-HKFBMHCD.mjs";
175
175
  import "./chunk-SGBZPZUW.mjs";
@@ -180,14 +180,14 @@ import {
180
180
  _withAfterNodeMiddleware,
181
181
  after
182
182
  } from "./chunk-IOEH4VWN.mjs";
183
- import "./chunk-T36UJS3X.mjs";
184
- import "./chunk-MOSYH4CY.mjs";
183
+ import "./chunk-YYQVGKO5.mjs";
184
+ import "./chunk-FWCGUVVL.mjs";
185
185
  import "./chunk-CU625VAY.mjs";
186
186
  import "./chunk-NPC7VWJE.mjs";
187
187
  import "./chunk-QCFBDFRS.mjs";
188
188
  import "./chunk-YOZYCI6Z.mjs";
189
- import "./chunk-WCWV25PG.mjs";
190
- import "./chunk-2DMWQWNJ.mjs";
189
+ import "./chunk-VTBXE6QG.mjs";
190
+ import "./chunk-MEASUNVY.mjs";
191
191
  import "./chunk-W3B4PKAW.mjs";
192
192
  import "./chunk-5WI2S4CO.mjs";
193
193
  import "./chunk-ZLAT2CWY.mjs";
@@ -211,7 +211,7 @@ import {
211
211
  storageCacheAdapter,
212
212
  unstable_cache,
213
213
  updateTag
214
- } from "./chunk-7VAJSSPG.mjs";
214
+ } from "./chunk-B2GSRB3P.mjs";
215
215
  import "./chunk-MGMF4VP7.mjs";
216
216
  import "./chunk-FP2INE7H.mjs";
217
217
  import {
@@ -247,7 +247,7 @@ import "./chunk-ZZGQD7A4.mjs";
247
247
  import "./chunk-P7XDC7UJ.mjs";
248
248
  import {
249
249
  FARM_VERSION
250
- } from "./chunk-H56MQYEG.mjs";
250
+ } from "./chunk-U2UC7UGP.mjs";
251
251
  import "./chunk-54UPOYFS.mjs";
252
252
  import "./chunk-WNSDDRNU.mjs";
253
253
  import "./chunk-JPLUGGRV.mjs";
@@ -273,22 +273,22 @@ import {
273
273
  createHeadersPlugin,
274
274
  createLoggerPlugin,
275
275
  createRedirectsPlugin
276
- } from "./chunk-T4II4MMW.mjs";
276
+ } from "./chunk-MHHCLYXU.mjs";
277
277
  import {
278
278
  createCompressionPlugin
279
279
  } from "./chunk-XJJVLDM6.mjs";
280
280
  import {
281
281
  createRewritesPlugin
282
- } from "./chunk-5LL6TKII.mjs";
282
+ } from "./chunk-O7USYJ4U.mjs";
283
283
  import "./chunk-BRYHOB4X.mjs";
284
284
  import "./chunk-SAXPH6G5.mjs";
285
285
  import "./chunk-Z3HATSKO.mjs";
286
286
  import "./chunk-CBBLJMR5.mjs";
287
287
  import {
288
288
  getCurrentRequest
289
- } from "./chunk-ZOABCQGT.mjs";
289
+ } from "./chunk-X3NGFVRF.mjs";
290
290
  import "./chunk-CQ6OSQ3K.mjs";
291
- import "./chunk-Y6LRPO2K.mjs";
291
+ import "./chunk-6LVRDOAW.mjs";
292
292
  import "./chunk-L3KT7IXV.mjs";
293
293
  import "./chunk-4RB44K6Z.mjs";
294
294
  import "./chunk-55YI3RRB.mjs";
@@ -1,8 +1,8 @@
1
- import { ad as Metadata } from './client-plugins-B_5QbNrp.mjs';
1
+ import { ad as Metadata } from './client-plugins-C9Py_50W.mjs';
2
2
  import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.mjs';
3
3
  import { F as FarmI18nClientSnapshot } from './types-CnH8DOqo.mjs';
4
4
  import { F as FarmIslandStrategy } from './island-CfGru1MO.mjs';
5
- import { F as FarmRouteRenderPlan } from './render-plan-ChUtsymc.mjs';
5
+ import { F as FarmRouteRenderPlan } from './render-plan-DOHg6wdO.mjs';
6
6
 
7
7
  type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
8
8
 
@@ -1,8 +1,8 @@
1
- import { ad as Metadata } from './client-plugins-DgSfIWIF.js';
1
+ import { ad as Metadata } from './client-plugins-DIem0I0W.js';
2
2
  import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.js';
3
3
  import { F as FarmI18nClientSnapshot } from './types-CnH8DOqo.js';
4
4
  import { F as FarmIslandStrategy } from './island-CfGru1MO.js';
5
- import { F as FarmRouteRenderPlan } from './render-plan-CFIhcYYS.js';
5
+ import { F as FarmRouteRenderPlan } from './render-plan-B2UndB4x.js';
6
6
 
7
7
  type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
8
8
 
@@ -0,0 +1,184 @@
1
+ import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-CEX4mFn-.mjs';
2
+ import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-C9Py_50W.mjs';
3
+
4
+ /**
5
+ * The browser copy of a programmatic page or layout imports only the module that defines its
6
+ * component, never the routes file. Guards, data hooks, static paths, generated metadata, API
7
+ * handlers, and whatever the routes file imports for them stay out of the client graph because
8
+ * the client graph never reaches the routes file.
9
+ *
10
+ * Farm already evaluates the routes file on the server to build its route table. That
11
+ * evaluation also tells it where each component lives: the server module graph holds every
12
+ * module the routes file reached, with its exports, so the module that exports the very
13
+ * function (or object) a route uses as its `component` is that component's own module. This
14
+ * works for any way the route list is built (helpers, re-exported lists, assignments, aliases)
15
+ * because it reads the evaluated value instead of the routes file's syntax. A component that no
16
+ * other module exports (declared in the routes file, or computed there) has no module to
17
+ * import, so a client build that needs it fails with an actionable error.
18
+ *
19
+ * A module that holds route definitions is never a component's client import, however it holds
20
+ * them: Farm finds definitions in every evaluated module's exports (inside objects, arrays,
21
+ * maps, and sets), and route factories record the module that called them while routes are
22
+ * evaluated, which also finds definitions kept behind a function. A definition written as an
23
+ * object literal and kept out of every export can't be traced, so then a component module is
24
+ * accepted only when neither it nor anything it imports holds route-defining code.
25
+ */
26
+ type ProgrammaticClientRouteKind = "page" | "layout";
27
+ interface ProgrammaticClientModuleExport {
28
+ /** Absolute path of the module that exports the value. */
29
+ file: string;
30
+ /** The export name that holds it. */
31
+ exportName: string;
32
+ }
33
+ interface ProgrammaticClientRoute {
34
+ kind: ProgrammaticClientRouteKind;
35
+ path: string;
36
+ /** Absolute path of the routes file that defines the route. */
37
+ routesFile: string;
38
+ component?: ProgrammaticClientModuleExport;
39
+ pending?: ProgrammaticClientModuleExport;
40
+ /**
41
+ * The route options the server resolves into the page's props (params, search, guard, data).
42
+ * The browser copy renders only from props the server resolved.
43
+ */
44
+ serverProps?: string[];
45
+ /** Why the browser copy can't be generated, when it can't. */
46
+ problem?: string;
47
+ }
48
+ interface ProgrammaticClientRoutes {
49
+ /** Keyed by {@link programmaticClientRouteKey}. */
50
+ routes: ReadonlyMap<string, ProgrammaticClientRoute>;
51
+ /**
52
+ * Routes files and the modules that export route definitions. None of them may enter the
53
+ * client graph.
54
+ */
55
+ routeSourceFiles: ReadonlySet<string>;
56
+ }
57
+
58
+ /**
59
+ * Farm.js SSG (Static Site Generation) Module
60
+ *
61
+ * Handles collection and pre-rendering of SSG pages at build time.
62
+ *
63
+ * SSR is the default - pages render on each request
64
+ * SSG is opt-in via `export const ssg = true`, Next-compatible route
65
+ * config exports, or a top-of-file rendering directive.
66
+ *
67
+ * @example
68
+ * ```tsx
69
+ * // SSG Page
70
+ * export const ssg = true;
71
+ * export default function AboutPage() {
72
+ * return <h1>About</h1>;
73
+ * }
74
+ *
75
+ * // SSG with ISR
76
+ * export const ssg = true;
77
+ * export const revalidate = 60;
78
+ * export default async function ProductsPage() {
79
+ * const products = await fetchProducts();
80
+ * return <ProductList products={products} />;
81
+ * }
82
+ *
83
+ * // Dynamic SSG
84
+ * export const ssg = true;
85
+ * export async function getStaticPaths() {
86
+ * const posts = await fetchPosts();
87
+ * return posts.map(post => ({ slug: post.slug }));
88
+ * }
89
+ * export default async function BlogPost({ params }) {
90
+ * return <article>{params.slug}</article>;
91
+ * }
92
+ *
93
+ * // Next-compatible route config
94
+ * export const dynamic = "force-static";
95
+ * export const revalidate = 60;
96
+ *
97
+ * // PPR/static-shell route
98
+ * export const experimental_ppr = true;
99
+ * export const revalidate = 60;
100
+ *
101
+ * // Directive config
102
+ * "use ssg; 60";
103
+ * export default function DocsPage() {
104
+ * return <h1>Docs</h1>;
105
+ * }
106
+ * ```
107
+ */
108
+
109
+ interface RouteEntry {
110
+ path: string;
111
+ filePath: string;
112
+ isDynamic: boolean;
113
+ pattern: string;
114
+ }
115
+
116
+ interface StaticRouteCandidateAnalysis {
117
+ candidate: boolean;
118
+ blockers: string[];
119
+ }
120
+ /**
121
+ * Resolve the effective rendering mode. Direct request reads make an explicitly
122
+ * static route dynamic so request-specific HTML cannot enter a shared artifact.
123
+ */
124
+ declare function resolveRouteRenderingConfig(mod: RouteModule | null | undefined, source?: string, options?: RouteRenderingOptions): RouteRenderingConfig;
125
+ declare function resolveRouteRenderingConfigFromFile(mod: RouteModule | null | undefined, filePath: string, options?: RouteRenderingOptions): Promise<RouteRenderingConfig>;
126
+ /**
127
+ * Conservatively identify a route that may be safe to pre-render.
128
+ *
129
+ * This intentionally produces a suggestion rather than changing rendering:
130
+ * request-bound work can live in a transitive import, which source inspection
131
+ * of the route module cannot prove safe. Explicit route config always wins.
132
+ */
133
+ declare function analyzeStaticRouteCandidate(mod: RouteModule | null | undefined, source: string | undefined, options?: {
134
+ isDynamic?: boolean;
135
+ }): StaticRouteCandidateAnalysis;
136
+ declare function findRequestBoundSourceBlockers(source: string): string[];
137
+ declare function parseRouteRenderingDirective(source: string | undefined): DirectiveRenderingConfig | undefined;
138
+ /**
139
+ * A route's rendering directive as the production runtime needs it: the parsed directive plus
140
+ * whether its source reads request state. The runtime only sees module exports, so the build
141
+ * decides `requestBound` here and bakes it into the generated server entry, where
142
+ * `mergeRouteRenderingDirectiveConfig` combines it with the module's exports.
143
+ */
144
+ declare function readRouteRenderingDirectiveFromFile(modulePath: string): DirectiveRenderingConfig | undefined;
145
+ /**
146
+ * Collect SSG pages from route modules
147
+ *
148
+ * Scans all routes and categorizes them into:
149
+ * - SSG pages: Pre-rendered at build time
150
+ * - SSR routes: Rendered on each request
151
+ *
152
+ * @param routes - Array of route entries
153
+ * @param loadModule - Function to load a route module
154
+ * @returns SSG pages and SSR routes
155
+ */
156
+ declare function collectSSGPages(routes: RouteEntry[], loadModule: (filePath: string) => Promise<RouteModule>, options?: {
157
+ suggestStaticRendering?: boolean;
158
+ }): Promise<SSGCollectionResult>;
159
+ /**
160
+ * Check if a route module is SSG
161
+ */
162
+ declare function isSSGModule(mod: RouteModule | null | undefined): boolean;
163
+ /**
164
+ * Check if a route module has ISR (Incremental Static Regeneration)
165
+ */
166
+ declare function hasISR(mod: RouteModule | null | undefined): boolean;
167
+ /**
168
+ * Get revalidation interval for a module
169
+ */
170
+ declare function getRevalidateInterval(mod: RouteModule | null | undefined): number | undefined;
171
+ /**
172
+ * Check if a route module has PPR/static-shell caching enabled.
173
+ */
174
+ declare function hasPPR(mod: RouteModule | null | undefined, options?: RouteRenderingOptions): boolean;
175
+ /**
176
+ * Generate SSG manifest for production builds
177
+ */
178
+ declare function generateSSGManifest(pages: SSGPage[]): string;
179
+ /**
180
+ * Check if a URL path matches an SSG page
181
+ */
182
+ declare function matchSSGPage(urlPath: string, ssgPages: SSGPage[]): SSGPage | undefined;
183
+
184
+ export { type ProgrammaticClientRoutes as P, type StaticRouteCandidateAnalysis as S, resolveRouteRenderingConfig as a, resolveRouteRenderingConfigFromFile as b, analyzeStaticRouteCandidate as c, collectSSGPages as d, hasPPR as e, findRequestBoundSourceBlockers as f, getRevalidateInterval as g, hasISR as h, isSSGModule as i, generateSSGManifest as j, matchSSGPage as m, parseRouteRenderingDirective as p, readRouteRenderingDirectiveFromFile as r };
@@ -0,0 +1,184 @@
1
+ import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-B_6fj-GG.js';
2
+ import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-DIem0I0W.js';
3
+
4
+ /**
5
+ * The browser copy of a programmatic page or layout imports only the module that defines its
6
+ * component, never the routes file. Guards, data hooks, static paths, generated metadata, API
7
+ * handlers, and whatever the routes file imports for them stay out of the client graph because
8
+ * the client graph never reaches the routes file.
9
+ *
10
+ * Farm already evaluates the routes file on the server to build its route table. That
11
+ * evaluation also tells it where each component lives: the server module graph holds every
12
+ * module the routes file reached, with its exports, so the module that exports the very
13
+ * function (or object) a route uses as its `component` is that component's own module. This
14
+ * works for any way the route list is built (helpers, re-exported lists, assignments, aliases)
15
+ * because it reads the evaluated value instead of the routes file's syntax. A component that no
16
+ * other module exports (declared in the routes file, or computed there) has no module to
17
+ * import, so a client build that needs it fails with an actionable error.
18
+ *
19
+ * A module that holds route definitions is never a component's client import, however it holds
20
+ * them: Farm finds definitions in every evaluated module's exports (inside objects, arrays,
21
+ * maps, and sets), and route factories record the module that called them while routes are
22
+ * evaluated, which also finds definitions kept behind a function. A definition written as an
23
+ * object literal and kept out of every export can't be traced, so then a component module is
24
+ * accepted only when neither it nor anything it imports holds route-defining code.
25
+ */
26
+ type ProgrammaticClientRouteKind = "page" | "layout";
27
+ interface ProgrammaticClientModuleExport {
28
+ /** Absolute path of the module that exports the value. */
29
+ file: string;
30
+ /** The export name that holds it. */
31
+ exportName: string;
32
+ }
33
+ interface ProgrammaticClientRoute {
34
+ kind: ProgrammaticClientRouteKind;
35
+ path: string;
36
+ /** Absolute path of the routes file that defines the route. */
37
+ routesFile: string;
38
+ component?: ProgrammaticClientModuleExport;
39
+ pending?: ProgrammaticClientModuleExport;
40
+ /**
41
+ * The route options the server resolves into the page's props (params, search, guard, data).
42
+ * The browser copy renders only from props the server resolved.
43
+ */
44
+ serverProps?: string[];
45
+ /** Why the browser copy can't be generated, when it can't. */
46
+ problem?: string;
47
+ }
48
+ interface ProgrammaticClientRoutes {
49
+ /** Keyed by {@link programmaticClientRouteKey}. */
50
+ routes: ReadonlyMap<string, ProgrammaticClientRoute>;
51
+ /**
52
+ * Routes files and the modules that export route definitions. None of them may enter the
53
+ * client graph.
54
+ */
55
+ routeSourceFiles: ReadonlySet<string>;
56
+ }
57
+
58
+ /**
59
+ * Farm.js SSG (Static Site Generation) Module
60
+ *
61
+ * Handles collection and pre-rendering of SSG pages at build time.
62
+ *
63
+ * SSR is the default - pages render on each request
64
+ * SSG is opt-in via `export const ssg = true`, Next-compatible route
65
+ * config exports, or a top-of-file rendering directive.
66
+ *
67
+ * @example
68
+ * ```tsx
69
+ * // SSG Page
70
+ * export const ssg = true;
71
+ * export default function AboutPage() {
72
+ * return <h1>About</h1>;
73
+ * }
74
+ *
75
+ * // SSG with ISR
76
+ * export const ssg = true;
77
+ * export const revalidate = 60;
78
+ * export default async function ProductsPage() {
79
+ * const products = await fetchProducts();
80
+ * return <ProductList products={products} />;
81
+ * }
82
+ *
83
+ * // Dynamic SSG
84
+ * export const ssg = true;
85
+ * export async function getStaticPaths() {
86
+ * const posts = await fetchPosts();
87
+ * return posts.map(post => ({ slug: post.slug }));
88
+ * }
89
+ * export default async function BlogPost({ params }) {
90
+ * return <article>{params.slug}</article>;
91
+ * }
92
+ *
93
+ * // Next-compatible route config
94
+ * export const dynamic = "force-static";
95
+ * export const revalidate = 60;
96
+ *
97
+ * // PPR/static-shell route
98
+ * export const experimental_ppr = true;
99
+ * export const revalidate = 60;
100
+ *
101
+ * // Directive config
102
+ * "use ssg; 60";
103
+ * export default function DocsPage() {
104
+ * return <h1>Docs</h1>;
105
+ * }
106
+ * ```
107
+ */
108
+
109
+ interface RouteEntry {
110
+ path: string;
111
+ filePath: string;
112
+ isDynamic: boolean;
113
+ pattern: string;
114
+ }
115
+
116
+ interface StaticRouteCandidateAnalysis {
117
+ candidate: boolean;
118
+ blockers: string[];
119
+ }
120
+ /**
121
+ * Resolve the effective rendering mode. Direct request reads make an explicitly
122
+ * static route dynamic so request-specific HTML cannot enter a shared artifact.
123
+ */
124
+ declare function resolveRouteRenderingConfig(mod: RouteModule | null | undefined, source?: string, options?: RouteRenderingOptions): RouteRenderingConfig;
125
+ declare function resolveRouteRenderingConfigFromFile(mod: RouteModule | null | undefined, filePath: string, options?: RouteRenderingOptions): Promise<RouteRenderingConfig>;
126
+ /**
127
+ * Conservatively identify a route that may be safe to pre-render.
128
+ *
129
+ * This intentionally produces a suggestion rather than changing rendering:
130
+ * request-bound work can live in a transitive import, which source inspection
131
+ * of the route module cannot prove safe. Explicit route config always wins.
132
+ */
133
+ declare function analyzeStaticRouteCandidate(mod: RouteModule | null | undefined, source: string | undefined, options?: {
134
+ isDynamic?: boolean;
135
+ }): StaticRouteCandidateAnalysis;
136
+ declare function findRequestBoundSourceBlockers(source: string): string[];
137
+ declare function parseRouteRenderingDirective(source: string | undefined): DirectiveRenderingConfig | undefined;
138
+ /**
139
+ * A route's rendering directive as the production runtime needs it: the parsed directive plus
140
+ * whether its source reads request state. The runtime only sees module exports, so the build
141
+ * decides `requestBound` here and bakes it into the generated server entry, where
142
+ * `mergeRouteRenderingDirectiveConfig` combines it with the module's exports.
143
+ */
144
+ declare function readRouteRenderingDirectiveFromFile(modulePath: string): DirectiveRenderingConfig | undefined;
145
+ /**
146
+ * Collect SSG pages from route modules
147
+ *
148
+ * Scans all routes and categorizes them into:
149
+ * - SSG pages: Pre-rendered at build time
150
+ * - SSR routes: Rendered on each request
151
+ *
152
+ * @param routes - Array of route entries
153
+ * @param loadModule - Function to load a route module
154
+ * @returns SSG pages and SSR routes
155
+ */
156
+ declare function collectSSGPages(routes: RouteEntry[], loadModule: (filePath: string) => Promise<RouteModule>, options?: {
157
+ suggestStaticRendering?: boolean;
158
+ }): Promise<SSGCollectionResult>;
159
+ /**
160
+ * Check if a route module is SSG
161
+ */
162
+ declare function isSSGModule(mod: RouteModule | null | undefined): boolean;
163
+ /**
164
+ * Check if a route module has ISR (Incremental Static Regeneration)
165
+ */
166
+ declare function hasISR(mod: RouteModule | null | undefined): boolean;
167
+ /**
168
+ * Get revalidation interval for a module
169
+ */
170
+ declare function getRevalidateInterval(mod: RouteModule | null | undefined): number | undefined;
171
+ /**
172
+ * Check if a route module has PPR/static-shell caching enabled.
173
+ */
174
+ declare function hasPPR(mod: RouteModule | null | undefined, options?: RouteRenderingOptions): boolean;
175
+ /**
176
+ * Generate SSG manifest for production builds
177
+ */
178
+ declare function generateSSGManifest(pages: SSGPage[]): string;
179
+ /**
180
+ * Check if a URL path matches an SSG page
181
+ */
182
+ declare function matchSSGPage(urlPath: string, ssgPages: SSGPage[]): SSGPage | undefined;
183
+
184
+ export { type ProgrammaticClientRoutes as P, type StaticRouteCandidateAnalysis as S, resolveRouteRenderingConfig as a, resolveRouteRenderingConfigFromFile as b, analyzeStaticRouteCandidate as c, collectSSGPages as d, hasPPR as e, findRequestBoundSourceBlockers as f, getRevalidateInterval as g, hasISR as h, isSSGModule as i, generateSSGManifest as j, matchSSGPage as m, parseRouteRenderingDirective as p, readRouteRenderingDirectiveFromFile as r };
package/dist/testing.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkI64GEPOBcjs = require('./chunk-I64GEPOB.cjs');
3
+ var _chunkFEYQCYT7cjs = require('./chunk-FEYQCYT7.cjs');
4
4
 
5
5
 
6
6
 
@@ -13,16 +13,16 @@ var _chunkP4TYB4SFcjs = require('./chunk-P4TYB4SF.cjs');
13
13
 
14
14
 
15
15
  var _chunk6QQDAAAZcjs = require('./chunk-6QQDAAAZ.cjs');
16
- require('./chunk-QJM7A4CR.cjs');
17
- require('./chunk-4A3YUB4D.cjs');
16
+ require('./chunk-S7MTDRYA.cjs');
17
+ require('./chunk-KF6VDJH7.cjs');
18
18
  require('./chunk-2CQ74SP6.cjs');
19
19
  require('./chunk-XJXBIP67.cjs');
20
20
  require('./chunk-UFDAAQFX.cjs');
21
21
  require('./chunk-LYLEZIG3.cjs');
22
22
 
23
23
 
24
- var _chunkUXMIFB44cjs = require('./chunk-UXMIFB44.cjs');
25
- require('./chunk-CA62IQY3.cjs');
24
+ var _chunkQIBP5EFAcjs = require('./chunk-QIBP5EFA.cjs');
25
+ require('./chunk-WU7ZS3EM.cjs');
26
26
  require('./chunk-WMAPPDMM.cjs');
27
27
  require('./chunk-TKJZFIML.cjs');
28
28
  require('./chunk-75RZHGLS.cjs');
@@ -30,7 +30,7 @@ require('./chunk-CGVPXIRN.cjs');
30
30
  require('./chunk-SOR334EB.cjs');
31
31
 
32
32
 
33
- var _chunkUMQAK3KPcjs = require('./chunk-UMQAK3KP.cjs');
33
+ var _chunk6MVFHNYZcjs = require('./chunk-6MVFHNYZ.cjs');
34
34
  require('./chunk-64SBBZDU.cjs');
35
35
  require('./chunk-SVRTJOUF.cjs');
36
36
  require('./chunk-VQDBNVOO.cjs');
@@ -54,9 +54,9 @@ require('./chunk-AI7QMY7O.cjs');
54
54
  require('./chunk-LIUGYUX3.cjs');
55
55
  require('./chunk-NYJMY3JA.cjs');
56
56
  require('./chunk-ZEG3OPIB.cjs');
57
- require('./chunk-XVIEGKTT.cjs');
57
+ require('./chunk-ZTP3BJG6.cjs');
58
58
  require('./chunk-US2QVW3E.cjs');
59
- require('./chunk-DATEWH3W.cjs');
59
+ require('./chunk-6IZWX6ES.cjs');
60
60
  require('./chunk-BIDYX3SL.cjs');
61
61
  require('./chunk-I57LW5VZ.cjs');
62
62
  require('./chunk-NO3WWW3N.cjs');
@@ -130,7 +130,7 @@ function createFarmTestHarness(options = {}) {
130
130
  },
131
131
  routeContext
132
132
  );
133
- const routeModule = _chunkI64GEPOBcjs.createRouteModuleFromProgrammaticPage.call(void 0, route);
133
+ const routeModule = _chunkFEYQCYT7cjs.createRouteModuleFromProgrammaticPage.call(void 0, route);
134
134
  const resolveProps = routeModule.__farmResolveRouteProps;
135
135
  const resolvedProps = resolveProps ? await resolveProps(rawProps) : { ...rawProps, search, searchParams: Promise.resolve(search) };
136
136
  const canonicalPath = readCanonicalPath(resolvedProps);
@@ -184,7 +184,7 @@ function createFarmTestHarness(options = {}) {
184
184
  return await _chunkP4TYB4SFcjs.runWithServerActionRequest.call(void 0, actionRequest, () => serverFn(input));
185
185
  },
186
186
  clearCache() {
187
- _chunkUMQAK3KPcjs.getFarmDataCache.call(void 0, ).clear();
187
+ _chunk6MVFHNYZcjs.getFarmDataCache.call(void 0, ).clear();
188
188
  }
189
189
  };
190
190
  }
@@ -331,7 +331,7 @@ function omitEndpointControlOptions(options) {
331
331
  _chunkS3JO3N4Hcjs.__name.call(void 0, omitEndpointControlOptions, "omitEndpointControlOptions");
332
332
  async function invokeTestEndpoint(endpoint, request, params = {}, throwOnError = false) {
333
333
  try {
334
- return await _chunkUXMIFB44cjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
334
+ return await _chunkQIBP5EFAcjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
335
335
  } catch (error) {
336
336
  if (throwOnError) throw error;
337
337
  return jsonErrorResponse(error instanceof Error ? error.message : "Internal Server Error", 500);
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-B_5QbNrp.mjs';
2
+ import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-C9Py_50W.mjs';
3
3
  import './types-CnH8DOqo.mjs';
4
4
  import { a as APIRouteParams } from './route-pattern-W-SsJGSp.mjs';
5
5
  import { ServerFn } from './server-fn.mjs';
@@ -31,7 +31,7 @@ import './server-action-security.mjs';
31
31
  import './layers-CM5i6T7z.mjs';
32
32
  import 'rolldown/utils';
33
33
  import 'rolldown';
34
- import './image-config-Duob7wER.mjs';
34
+ import './image-config-BpH1q5R8.mjs';
35
35
  import './types-DQnyD3VD.mjs';
36
36
  import './font.mjs';
37
37
 
package/dist/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-DgSfIWIF.js';
2
+ import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-DIem0I0W.js';
3
3
  import './types-CnH8DOqo.js';
4
4
  import { a as APIRouteParams } from './route-pattern-W-SsJGSp.js';
5
5
  import { ServerFn } from './server-fn.js';
@@ -31,7 +31,7 @@ import './server-action-security.js';
31
31
  import './layers-CM5i6T7z.js';
32
32
  import 'rolldown/utils';
33
33
  import 'rolldown';
34
- import './image-config-Duob7wER.js';
34
+ import './image-config-BpH1q5R8.js';
35
35
  import './types-DQnyD3VD.js';
36
36
  import './font.js';
37
37