@farm.js/core 0.1.27 → 0.1.29
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 +3 -2
- package/dist/agent-runtime.d.ts +3 -2
- 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 +3 -2
- package/dist/api/runtime.d.ts +3 -2
- package/dist/api/runtime.mjs +6 -5
- package/dist/api.cjs +12 -11
- package/dist/api.d.mts +19 -4
- package/dist/api.d.ts +19 -4
- package/dist/api.mjs +11 -10
- package/dist/{app-BfzZdjgX.d.mts → app-DAuUTIZf.d.mts} +3 -3
- package/dist/app-markdown.cjs +6 -5
- package/dist/app-markdown.d.mts +4 -3
- package/dist/app-markdown.d.ts +4 -3
- package/dist/app-markdown.mjs +5 -4
- package/dist/{app-CXK7Prrt.d.ts → app-sUJ3jnTZ.d.ts} +3 -3
- 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-N6UROPT7.mjs → chunk-2FQHH5SC.mjs} +12 -13
- package/dist/{chunk-UUYF3CHN.mjs → chunk-2N5PX3LS.mjs} +2 -2
- package/dist/{chunk-H6G5INWM.cjs → chunk-2SDO73HK.cjs} +14 -156
- package/dist/{chunk-4FHDV7VM.mjs → chunk-2UABTL3Y.mjs} +2 -2
- package/dist/{chunk-LAHZ7LZA.cjs → chunk-3FCFQP5V.cjs} +32 -20
- 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-UWTQTZFN.mjs → chunk-5KDPVSS3.mjs} +271 -155
- package/dist/{chunk-I7PUUDGY.cjs → chunk-63H6BKXG.cjs} +2 -2
- package/dist/{chunk-ZSO5GWGD.cjs → chunk-6CNX6Q3K.cjs} +168 -51
- package/dist/{chunk-3PTVHMLD.mjs → chunk-6G3ZZ2IE.mjs} +1 -1
- package/dist/{chunk-QBPXNZGV.cjs → chunk-6MVFL3R5.cjs} +25 -6
- package/dist/{chunk-FG5H2VCJ.mjs → chunk-6ZCMSZ5U.mjs} +2 -2
- package/dist/{chunk-YZBV7733.cjs → chunk-74T3CEA7.cjs} +397 -281
- package/dist/{chunk-ZMN3H73H.cjs → chunk-75DYEVXI.cjs} +13 -11
- package/dist/{chunk-WIVTGKLY.mjs → chunk-7CXKSRKL.mjs} +18 -11
- package/dist/{chunk-POXI72VV.mjs → chunk-ATXI6LGT.mjs} +148 -31
- package/dist/{chunk-NL3ZSMZB.cjs → chunk-BJPBQNIE.cjs} +12 -12
- package/dist/{chunk-Q4BHBO6V.mjs → chunk-BXFWA23T.mjs} +2 -2
- package/dist/{chunk-MBFURXAC.mjs → chunk-BZ3CHOFX.mjs} +1 -1
- package/dist/{chunk-TDWFCC2T.cjs → chunk-BZAGKCKB.cjs} +2 -2
- package/dist/chunk-CNOQY6Z7.mjs +156 -0
- package/dist/{chunk-DW34V5SM.cjs → chunk-CTV2TTNP.cjs} +4 -4
- package/dist/{chunk-HG237IEY.mjs → chunk-D234YWNA.mjs} +1 -1
- package/dist/{chunk-YXM74XOW.cjs → chunk-D4JE5NNV.cjs} +12 -12
- package/dist/{chunk-O2LV5XDG.mjs → chunk-DGXN3L4D.mjs} +20 -8
- package/dist/{chunk-4UNKCNSL.mjs → chunk-E76XC6ZG.mjs} +2 -2
- package/dist/{chunk-QQQNJS2E.mjs → chunk-E7UN576T.mjs} +1 -1
- package/dist/{chunk-G3HRIVEY.cjs → chunk-ES4B2IXW.cjs} +2 -2
- package/dist/{chunk-JQGDQO2I.cjs → chunk-EXLKRR4U.cjs} +10 -10
- package/dist/chunk-FJ3M4CUX.cjs +46 -0
- package/dist/chunk-FXEF4PPL.mjs +47 -0
- package/dist/{chunk-WD4YXVLV.mjs → chunk-GZYH4OER.mjs} +1 -1
- package/dist/{chunk-DX4VKYAJ.cjs → chunk-I26CZYPV.cjs} +6 -4
- package/dist/{chunk-F6SJAKFJ.mjs → chunk-IV6CQY7O.mjs} +12 -154
- package/dist/{chunk-6D242YGO.mjs → chunk-JATSG2ZO.mjs} +1 -1
- package/dist/{chunk-KAERLFD3.cjs → chunk-JFHKNFEO.cjs} +30 -23
- package/dist/{chunk-U74A3P2P.cjs → chunk-JLRDISQL.cjs} +7 -7
- package/dist/{chunk-BYODCJD6.cjs → chunk-K7CELQLK.cjs} +12 -13
- package/dist/{chunk-Y4YWHNKU.cjs → chunk-KH7BN726.cjs} +9 -9
- package/dist/{chunk-3IL5UC5I.cjs → chunk-KZLND3D2.cjs} +2 -2
- package/dist/{chunk-TKDY6AJP.mjs → chunk-MKMBQSNQ.mjs} +1 -1
- package/dist/{chunk-OCE65DDM.mjs → chunk-MNUGPHLN.mjs} +1 -1
- package/dist/{chunk-WJKVTJJR.cjs → chunk-NPPL5YDT.cjs} +2 -2
- package/dist/{chunk-HF5SIACK.cjs → chunk-NXG66MR7.cjs} +3 -3
- package/dist/chunk-NYJMY3JA.cjs +156 -0
- package/dist/{chunk-VVJCWBIE.mjs → chunk-O3DTUAX2.mjs} +2 -2
- package/dist/{chunk-R6AIILII.cjs → chunk-OZVEHHMA.cjs} +15 -14
- package/dist/{chunk-FPW4W3VW.mjs → chunk-PQD2AI3B.mjs} +1 -1
- package/dist/{chunk-C7OUJ6JI.cjs → chunk-PZNCMPJF.cjs} +3 -3
- package/dist/{chunk-QI7WQSMI.cjs → chunk-Q5JFU33Q.cjs} +4 -4
- package/dist/{chunk-52SH7TKB.mjs → chunk-QG5HNS7P.mjs} +2 -2
- package/dist/{chunk-CEYUWDWA.mjs → chunk-QZCT2CQ4.mjs} +10 -5
- package/dist/{chunk-FZC7EEPM.mjs → chunk-RSOJ7DRT.mjs} +26 -7
- package/dist/{chunk-QMV4QELL.mjs → chunk-S5GDHOE4.mjs} +4 -2
- package/dist/{chunk-CRQPYWLK.cjs → chunk-SORB3MAR.cjs} +14 -14
- package/dist/{chunk-I4J452B7.cjs → chunk-VHJGDMCG.cjs} +3 -3
- package/dist/{chunk-B6ZCT36X.cjs → chunk-WNLBF77X.cjs} +4 -4
- package/dist/{chunk-FOT7LZEO.cjs → chunk-WPPX4G7Q.cjs} +1 -1
- package/dist/{chunk-UNSKL6BI.cjs → chunk-X4ZV4QC5.cjs} +266 -228
- package/dist/{chunk-6EG7U4NF.mjs → chunk-X7WVQMIB.mjs} +1 -1
- package/dist/chunk-XD32KALF.cjs +47 -0
- package/dist/{chunk-RDV44SED.mjs → chunk-XJJVLDM6.mjs} +15 -14
- package/dist/{chunk-DQMTHWPI.cjs → chunk-XLTV4VOG.cjs} +21 -16
- package/dist/{chunk-5SPPCN5J.mjs → chunk-XNPDONUH.mjs} +1 -1
- package/dist/{chunk-UOXGA6TO.mjs → chunk-YDQZGSDS.mjs} +1 -1
- package/dist/{chunk-JT25KHDI.mjs → chunk-YMUE7L3D.mjs} +18 -13
- package/dist/chunk-Z3HATSKO.mjs +46 -0
- package/dist/{chunk-C3VRMB6H.cjs → chunk-ZCU4NZ3M.cjs} +6 -6
- package/dist/{chunk-NPFGGBM5.cjs → chunk-ZDILFMWN.cjs} +13 -13
- package/dist/{chunk-OGHTEYXS.mjs → chunk-ZYVFAOBT.mjs} +72 -34
- package/dist/{client-plugins-1GS4zubE.d.mts → client-plugins-BX2ptm4H.d.mts} +42 -34
- package/dist/{client-plugins-B1Za6F5x.d.ts → client-plugins-BmxM5KW_.d.ts} +42 -34
- package/dist/client-plugins.d.mts +3 -2
- package/dist/client-plugins.d.ts +3 -2
- 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 +3 -2
- package/dist/config.d.ts +3 -2
- package/dist/{devtools-CQJ3H6MX.cjs → devtools-GGVPZHJX.cjs} +96 -21
- package/dist/{devtools-6RN6KHTW.mjs → devtools-THVNPI2M.mjs} +80 -5
- package/dist/{devtools-client-4WAPJY5L.cjs → devtools-client-CXQ6PXI6.cjs} +1 -1
- package/dist/{devtools-client-LEUIHHAS.mjs → devtools-client-HJS2T34Y.mjs} +1 -1
- package/dist/docs.cjs +9 -8
- package/dist/docs.mjs +8 -7
- package/dist/index.cjs +61 -57
- package/dist/index.d.mts +26 -15
- package/dist/index.d.ts +26 -15
- package/dist/index.mjs +69 -65
- package/dist/integrations.d.mts +3 -2
- package/dist/integrations.d.ts +3 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -4
- package/dist/internal/app-markdown-runtime.d.mts +4 -3
- package/dist/internal/app-markdown-runtime.d.ts +4 -3
- package/dist/internal/app-markdown-runtime.mjs +4 -3
- package/dist/internal/build-runtime.cjs +26 -23
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +25 -22
- package/dist/internal/cli-runtime.cjs +15 -13
- package/dist/internal/cli-runtime.mjs +14 -12
- 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.cjs +3 -2
- package/dist/internal/compression-runtime.d.mts +6 -3
- package/dist/internal/compression-runtime.d.ts +6 -3
- package/dist/internal/compression-runtime.mjs +2 -1
- package/dist/internal/config-runtime.cjs +7 -6
- package/dist/internal/config-runtime.d.mts +4 -3
- package/dist/internal/config-runtime.d.ts +4 -3
- package/dist/internal/config-runtime.mjs +6 -5
- package/dist/internal/product-telemetry-runtime.cjs +10 -6
- package/dist/internal/product-telemetry-runtime.mjs +9 -5
- package/dist/internal/production-runtime.cjs +29 -13
- package/dist/internal/production-runtime.d.mts +36 -8
- package/dist/internal/production-runtime.d.ts +36 -8
- package/dist/internal/production-runtime.mjs +32 -16
- package/dist/markdown.cjs +4 -3
- package/dist/markdown.d.mts +3 -2
- package/dist/markdown.d.ts +3 -2
- package/dist/markdown.mjs +3 -2
- package/dist/{metadata-B9mCxKgp.d.mts → metadata-DsEaK7mQ.d.mts} +1 -1
- package/dist/{metadata-7LKgQEWF.d.ts → metadata-fwZ3gfG6.d.ts} +1 -1
- package/dist/middleware.cjs +6 -5
- package/dist/middleware.d.mts +4 -3
- package/dist/middleware.d.ts +4 -3
- package/dist/middleware.mjs +5 -4
- 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 +25 -20
- package/dist/plugin.d.mts +3 -2
- package/dist/plugin.d.ts +3 -2
- package/dist/plugin.mjs +25 -20
- package/dist/{production-runtime-DramhI0c.d.mts → production-runtime-Baqgwtvc.d.mts} +1 -1
- package/dist/{production-runtime-B3xnY6fI.d.ts → production-runtime-DNkpFnmg.d.ts} +1 -1
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan-CtQB-zHS.d.mts → render-plan-DhwQnmmX.d.mts} +1 -1
- package/dist/{render-plan-CpW32tOL.d.ts → render-plan-rkIK9wd9.d.ts} +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-BVGGeQv4.d.ts → request-BcY4RYPC.d.ts} +1 -1
- package/dist/{request-DlLVBKe3.d.mts → request-CFy1BltJ.d.mts} +1 -1
- package/dist/request.d.mts +4 -3
- package/dist/request.d.ts +4 -3
- package/dist/{route-rendering-DChYLNdh.d.mts → route-rendering-BkS0TBlB.d.mts} +1 -1
- package/dist/{route-rendering-BdEldajn.d.ts → route-rendering-D4XpMjam.d.ts} +1 -1
- package/dist/{router-D5htHn_M.d.mts → router-C4zPlC3V.d.mts} +1 -1
- package/dist/{router-D0Az-1Nu.d.ts → router-Cq7BcZxg.d.ts} +1 -1
- package/dist/routes.cjs +6 -5
- package/dist/routes.d.mts +3 -2
- package/dist/routes.d.ts +3 -2
- 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.cjs +3 -2
- package/dist/server-plugins.d.mts +3 -2
- package/dist/server-plugins.d.ts +3 -2
- package/dist/server-plugins.mjs +2 -1
- 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 +72 -57
- package/dist/server.d.mts +10 -9
- package/dist/server.d.ts +10 -9
- package/dist/server.mjs +56 -41
- package/dist/{spa-router-DmwP_7QL.d.ts → spa-router-B1HI3X9k.d.ts} +2 -2
- package/dist/{spa-router-DVfSJZ5o.d.mts → spa-router-DzPZH-AO.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-CEBktlBG.d.mts} +1 -1
- package/dist/{utils-Dv0OuLtF.d.ts → utils-DMD1Hzta.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +21 -19
- package/dist/vite.d.mts +3 -2
- package/dist/vite.d.ts +3 -2
- package/dist/vite.mjs +20 -18
- 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
package/dist/server.cjs
CHANGED
|
@@ -11,8 +11,8 @@ var _chunkW4E7WMXEcjs = require('./chunk-W4E7WMXE.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunk75DYEVXIcjs = require('./chunk-75DYEVXI.cjs');
|
|
15
|
+
require('./chunk-ES4B2IXW.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
@@ -20,7 +20,9 @@ var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _chunkJFHKNFEOcjs = require('./chunk-JFHKNFEO.cjs');
|
|
24
26
|
require('./chunk-KR6CKSXT.cjs');
|
|
25
27
|
|
|
26
28
|
|
|
@@ -47,14 +49,14 @@ require('./chunk-SK35NQKK.cjs');
|
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
|
|
50
|
-
var
|
|
51
|
-
require('./chunk-
|
|
52
|
+
var _chunkX4ZV4QC5cjs = require('./chunk-X4ZV4QC5.cjs');
|
|
53
|
+
require('./chunk-CTV2TTNP.cjs');
|
|
52
54
|
|
|
53
55
|
|
|
54
56
|
var _chunkE2ROOWQCcjs = require('./chunk-E2ROOWQC.cjs');
|
|
55
57
|
require('./chunk-JSROZYYO.cjs');
|
|
56
58
|
require('./chunk-XSIRSMAS.cjs');
|
|
57
|
-
require('./chunk-
|
|
59
|
+
require('./chunk-NPPL5YDT.cjs');
|
|
58
60
|
require('./chunk-SYQ3MOWW.cjs');
|
|
59
61
|
require('./chunk-CXP5U3RW.cjs');
|
|
60
62
|
require('./chunk-K3F2E6GS.cjs');
|
|
@@ -73,7 +75,7 @@ var _chunk22GUSVNJcjs = require('./chunk-22GUSVNJ.cjs');
|
|
|
73
75
|
var _chunkXWAWFQFScjs = require('./chunk-XWAWFQFS.cjs');
|
|
74
76
|
require('./chunk-75WGQVQA.cjs');
|
|
75
77
|
require('./chunk-HREOKQWT.cjs');
|
|
76
|
-
require('./chunk-
|
|
78
|
+
require('./chunk-6MVFL3R5.cjs');
|
|
77
79
|
require('./chunk-YJRZR7VU.cjs');
|
|
78
80
|
require('./chunk-Q5B3KJBP.cjs');
|
|
79
81
|
|
|
@@ -88,7 +90,7 @@ var _chunkVPTDD5XFcjs = require('./chunk-VPTDD5XF.cjs');
|
|
|
88
90
|
|
|
89
91
|
|
|
90
92
|
var _chunkPSV6XKPOcjs = require('./chunk-PSV6XKPO.cjs');
|
|
91
|
-
require('./chunk-
|
|
93
|
+
require('./chunk-XLTV4VOG.cjs');
|
|
92
94
|
require('./chunk-YFPGHF5F.cjs');
|
|
93
95
|
require('./chunk-6EXBPJ24.cjs');
|
|
94
96
|
|
|
@@ -107,10 +109,10 @@ var _chunkT5CERMEHcjs = require('./chunk-T5CERMEH.cjs');
|
|
|
107
109
|
|
|
108
110
|
|
|
109
111
|
var _chunkVEKFLAQMcjs = require('./chunk-VEKFLAQM.cjs');
|
|
110
|
-
require('./chunk-
|
|
111
|
-
require('./chunk-
|
|
112
|
+
require('./chunk-BZAGKCKB.cjs');
|
|
113
|
+
require('./chunk-NXG66MR7.cjs');
|
|
112
114
|
require('./chunk-OHY2ZWUG.cjs');
|
|
113
|
-
require('./chunk-
|
|
115
|
+
require('./chunk-6CNX6Q3K.cjs');
|
|
114
116
|
require('./chunk-J63ZH5OQ.cjs');
|
|
115
117
|
require('./chunk-UYIHRDE4.cjs');
|
|
116
118
|
require('./chunk-MPEYMSCF.cjs');
|
|
@@ -149,7 +151,7 @@ require('./chunk-6QQDAAAZ.cjs');
|
|
|
149
151
|
require('./chunk-Z5HIWVDP.cjs');
|
|
150
152
|
require('./chunk-SVRTJOUF.cjs');
|
|
151
153
|
require('./chunk-G643DQCH.cjs');
|
|
152
|
-
require('./chunk-
|
|
154
|
+
require('./chunk-ZHVYQL3H.cjs');
|
|
153
155
|
require('./chunk-XGC343EY.cjs');
|
|
154
156
|
require('./chunk-RG3ZOTG5.cjs');
|
|
155
157
|
require('./chunk-4PPEPOZZ.cjs');
|
|
@@ -159,20 +161,38 @@ require('./chunk-4PPEPOZZ.cjs');
|
|
|
159
161
|
|
|
160
162
|
|
|
161
163
|
var _chunkMQ3H6LT5cjs = require('./chunk-MQ3H6LT5.cjs');
|
|
162
|
-
require('./chunk-
|
|
163
|
-
require('./chunk-
|
|
164
|
+
require('./chunk-EXLKRR4U.cjs');
|
|
165
|
+
require('./chunk-SUIBNSNO.cjs');
|
|
164
166
|
require('./chunk-2CQ74SP6.cjs');
|
|
165
167
|
require('./chunk-UJ2C4ICS.cjs');
|
|
166
168
|
require('./chunk-IQXFRNY2.cjs');
|
|
167
169
|
require('./chunk-LYLEZIG3.cjs');
|
|
168
|
-
require('./chunk-
|
|
169
|
-
require('./chunk-
|
|
170
|
+
require('./chunk-PZNCMPJF.cjs');
|
|
171
|
+
require('./chunk-VHJGDMCG.cjs');
|
|
170
172
|
require('./chunk-WMAPPDMM.cjs');
|
|
171
173
|
require('./chunk-TKJZFIML.cjs');
|
|
172
174
|
require('./chunk-5MKEDGLD.cjs');
|
|
173
175
|
require('./chunk-WPYFSQKK.cjs');
|
|
174
176
|
require('./chunk-6V4TDWEC.cjs');
|
|
175
177
|
require('./chunk-SOR334EB.cjs');
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
var _chunk2SDO73HKcjs = require('./chunk-2SDO73HK.cjs');
|
|
176
196
|
require('./chunk-EM6SBQKM.cjs');
|
|
177
197
|
|
|
178
198
|
|
|
@@ -197,12 +217,13 @@ require('./chunk-HBTUGXHS.cjs');
|
|
|
197
217
|
|
|
198
218
|
var _chunk5QIKR7RRcjs = require('./chunk-5QIKR7RR.cjs');
|
|
199
219
|
require('./chunk-QNPEUFHQ.cjs');
|
|
220
|
+
require('./chunk-E3UK5IIB.cjs');
|
|
200
221
|
|
|
201
222
|
|
|
202
223
|
var _chunkUQZ4AYTHcjs = require('./chunk-UQZ4AYTH.cjs');
|
|
203
224
|
|
|
204
225
|
|
|
205
|
-
var
|
|
226
|
+
var _chunkWPPX4G7Qcjs = require('./chunk-WPPX4G7Q.cjs');
|
|
206
227
|
require('./chunk-OYEUREB6.cjs');
|
|
207
228
|
require('./chunk-7W3CPVXS.cjs');
|
|
208
229
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -211,35 +232,18 @@ require('./chunk-ARJWXNQL.cjs');
|
|
|
211
232
|
require('./chunk-G7HXGLEC.cjs');
|
|
212
233
|
require('./chunk-S3A45T7F.cjs');
|
|
213
234
|
require('./chunk-75BRBIFP.cjs');
|
|
214
|
-
require('./chunk-
|
|
235
|
+
require('./chunk-3LUF2PE2.cjs');
|
|
215
236
|
require('./chunk-R5JIFR6B.cjs');
|
|
216
237
|
require('./chunk-C5GUTBZK.cjs');
|
|
217
238
|
require('./chunk-QBK2AA4U.cjs');
|
|
239
|
+
require('./chunk-LIUGYUX3.cjs');
|
|
218
240
|
|
|
219
241
|
|
|
220
242
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
var _chunkH6G5INWMcjs = require('./chunk-H6G5INWM.cjs');
|
|
243
|
+
var _chunkNYJMY3JAcjs = require('./chunk-NYJMY3JA.cjs');
|
|
238
244
|
|
|
239
245
|
|
|
240
246
|
var _chunkZEG3OPIBcjs = require('./chunk-ZEG3OPIB.cjs');
|
|
241
|
-
require('./chunk-LIUGYUX3.cjs');
|
|
242
|
-
require('./chunk-E3UK5IIB.cjs');
|
|
243
247
|
|
|
244
248
|
|
|
245
249
|
|
|
@@ -247,12 +251,13 @@ require('./chunk-E3UK5IIB.cjs');
|
|
|
247
251
|
var _chunkQZRVZSPNcjs = require('./chunk-QZRVZSPN.cjs');
|
|
248
252
|
|
|
249
253
|
|
|
250
|
-
var
|
|
254
|
+
var _chunkOZVEHHMAcjs = require('./chunk-OZVEHHMA.cjs');
|
|
251
255
|
|
|
252
256
|
|
|
253
257
|
var _chunkYZTASLPQcjs = require('./chunk-YZTASLPQ.cjs');
|
|
254
258
|
require('./chunk-YX3DBN4M.cjs');
|
|
255
259
|
require('./chunk-DVM4FKZL.cjs');
|
|
260
|
+
require('./chunk-FJ3M4CUX.cjs');
|
|
256
261
|
require('./chunk-OX6O6WVA.cjs');
|
|
257
262
|
|
|
258
263
|
|
|
@@ -369,7 +374,7 @@ function createFarmDevLifecyclePlugin(pluginManager, instrumentation) {
|
|
|
369
374
|
await step("Instrumentation shutdown", () => instrumentation.shutdown());
|
|
370
375
|
if (failures.length === 1) throw failures[0].error;
|
|
371
376
|
if (failures.length > 1) {
|
|
372
|
-
throw new (0,
|
|
377
|
+
throw new (0, _chunkX4ZV4QC5cjs.FarmRuntimeShutdownError)(
|
|
373
378
|
`Dev server shutdown failed during ${failures.map(({ label }) => label).join(", ")}`,
|
|
374
379
|
failures.map(({ error }) => error)
|
|
375
380
|
);
|
|
@@ -444,7 +449,7 @@ function createBrandingPlugin() {
|
|
|
444
449
|
const pc = _chunkM2L4MYDQcjs.createCliColors.call(void 0, );
|
|
445
450
|
console.log("");
|
|
446
451
|
console.log(
|
|
447
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
452
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkWPPX4G7Qcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
448
453
|
);
|
|
449
454
|
console.log("");
|
|
450
455
|
console.log(
|
|
@@ -513,7 +518,7 @@ function inlineEnvScope(scope) {
|
|
|
513
518
|
}
|
|
514
519
|
_chunkS3JO3N4Hcjs.__name.call(void 0, inlineEnvScope, "inlineEnvScope");
|
|
515
520
|
async function resolveInlineConfig(config, mode) {
|
|
516
|
-
if (
|
|
521
|
+
if (_chunkJFHKNFEOcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
517
522
|
_chunkVEKFLAQMcjs.setEnv.call(void 0, config.env);
|
|
518
523
|
return { ...config };
|
|
519
524
|
}
|
|
@@ -523,7 +528,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
523
528
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
524
529
|
const auth = config.auth;
|
|
525
530
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
526
|
-
const resolved = await
|
|
531
|
+
const resolved = await _chunkJFHKNFEOcjs.resolveConfig.call(void 0,
|
|
527
532
|
{
|
|
528
533
|
...config,
|
|
529
534
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -557,8 +562,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
557
562
|
try {
|
|
558
563
|
const root = config.root || process.cwd();
|
|
559
564
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
560
|
-
const userConfig = await
|
|
561
|
-
const resolvedConfig = userConfig ? await
|
|
565
|
+
const userConfig = await _chunkJFHKNFEOcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
566
|
+
const resolvedConfig = userConfig ? await _chunkJFHKNFEOcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
562
567
|
const instrumentationRoot = resolvedConfig.root;
|
|
563
568
|
const instrumentationFile = _chunkKCMTCM6Icjs.resolveFarmInstrumentationFile.call(void 0,
|
|
564
569
|
instrumentationRoot,
|
|
@@ -574,7 +579,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
574
579
|
runtime: "nodejs"
|
|
575
580
|
});
|
|
576
581
|
await instrumentation.start();
|
|
577
|
-
pluginManager = new (0,
|
|
582
|
+
pluginManager = new (0, _chunkX4ZV4QC5cjs.PluginManager)({
|
|
578
583
|
config: resolvedConfig,
|
|
579
584
|
isDev: mode === "development",
|
|
580
585
|
isProd: mode === "production"
|
|
@@ -592,7 +597,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
592
597
|
pluginManager.addPlugin(_chunkYZTASLPQcjs.createRewritesPlugin.call(void 0, rewrites, { i18n: resolvedConfig.i18n }));
|
|
593
598
|
}
|
|
594
599
|
if (resolvedConfig.compress && mode === "production") {
|
|
595
|
-
pluginManager.addPlugin(
|
|
600
|
+
pluginManager.addPlugin(_chunkOZVEHHMAcjs.createCompressionPlugin.call(void 0, ));
|
|
596
601
|
}
|
|
597
602
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
598
603
|
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkND224OE2cjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
@@ -608,7 +613,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
608
613
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
609
614
|
finalConfig.renderer = _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
610
615
|
const projectRoot = finalConfig.root || process.cwd();
|
|
611
|
-
finalConfig.images =
|
|
616
|
+
finalConfig.images = _chunkX4ZV4QC5cjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
612
617
|
root: projectRoot,
|
|
613
618
|
dev: true
|
|
614
619
|
});
|
|
@@ -625,21 +630,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
625
630
|
if (shouldUseProjectPostcss) {
|
|
626
631
|
_chunk5QIKR7RRcjs.logger.info("\u{1F4E6} Using project PostCSS/Tailwind configuration");
|
|
627
632
|
} else {
|
|
628
|
-
tailwindVitePlugin = await
|
|
633
|
+
tailwindVitePlugin = await _chunkX4ZV4QC5cjs.loadTailwindVitePlugin.call(void 0, );
|
|
629
634
|
}
|
|
630
635
|
server = await createViteDevServer(
|
|
631
|
-
|
|
636
|
+
_chunkX4ZV4QC5cjs.mergeFarmViteConfig.call(void 0,
|
|
632
637
|
{
|
|
633
638
|
root: projectRoot,
|
|
634
639
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
635
640
|
plugins: [
|
|
636
|
-
|
|
641
|
+
_chunkX4ZV4QC5cjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
637
642
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
638
643
|
...rendererVitePlugins,
|
|
639
644
|
createDevDependencyStubsPlugin(),
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
645
|
+
_chunkX4ZV4QC5cjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
646
|
+
_chunkX4ZV4QC5cjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
647
|
+
_chunkX4ZV4QC5cjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
643
648
|
_chunk22GUSVNJcjs.farmEnvironmentFunctionsPlugin.call(void 0, ),
|
|
644
649
|
createBrandingPlugin(),
|
|
645
650
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -654,8 +659,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
654
659
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
655
660
|
},
|
|
656
661
|
optimizeDeps: {
|
|
657
|
-
...
|
|
658
|
-
|
|
662
|
+
..._chunkX4ZV4QC5cjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
663
|
+
_chunkX4ZV4QC5cjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunkVPTDD5XFcjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
659
664
|
finalConfig.renderer
|
|
660
665
|
),
|
|
661
666
|
exclude: [
|
|
@@ -764,12 +769,20 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
764
769
|
_chunkS3JO3N4Hcjs.__name.call(void 0, noticeSchemaChangesInBackground, "noticeSchemaChangesInBackground");
|
|
765
770
|
async function startDevServer(config = {}, port) {
|
|
766
771
|
const server = await createServer2(config, { port });
|
|
772
|
+
const pluginManager = server.__farmPluginManager;
|
|
767
773
|
try {
|
|
768
774
|
await server.listen(port);
|
|
769
|
-
const pluginManager = server.__farmPluginManager;
|
|
770
775
|
await _optionalChain([pluginManager, 'optionalAccess', _22 => _22.startRuntime, 'call', _23 => _23()]);
|
|
771
776
|
noticeSchemaChangesInBackground(server.__farmResolvedConfig);
|
|
772
777
|
} catch (error) {
|
|
778
|
+
try {
|
|
779
|
+
await _optionalChain([pluginManager, 'optionalAccess', _24 => _24.runHookParallel, 'call', _25 => _25("onError", { phase: "startDevServer", error })]);
|
|
780
|
+
} catch (reportError) {
|
|
781
|
+
console.error(
|
|
782
|
+
"Failed to run plugin error hooks after a dev server start failure:",
|
|
783
|
+
reportError
|
|
784
|
+
);
|
|
785
|
+
}
|
|
773
786
|
try {
|
|
774
787
|
await server.close();
|
|
775
788
|
} catch (closeError) {
|
|
@@ -881,4 +894,6 @@ _chunkS3JO3N4Hcjs.__name.call(void 0, startDevServer, "startDevServer");
|
|
|
881
894
|
|
|
882
895
|
|
|
883
896
|
|
|
884
|
-
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkT5CERMEHcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunk75DYEVXIcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkX4ZV4QC5cjs.FarmApp; exports.FarmDataCache = _chunk2SDO73HKcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkW4E7WMXEcjs.FarmEnvironmentError; exports.RouteManager = _chunkX4ZV4QC5cjs.RouteManager; exports.ServerActionRequestError = _chunkT5CERMEHcjs.ServerActionRequestError; exports.ServerRenderer = _chunkX4ZV4QC5cjs.ServerRenderer; exports._runWithAfterNodeResponse = _chunkMQ3H6LT5cjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkMQ3H6LT5cjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkMQ3H6LT5cjs._withAfterNodeMiddleware; exports.after = _chunkMQ3H6LT5cjs.after; exports.applyFarmCacheInvalidationTargets = _chunk2SDO73HKcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkZEG3OPIBcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunk2SDO73HKcjs.configureFarmCache; exports.createClientOnlyFn = _chunkW4E7WMXEcjs.createClientOnlyFn; exports.createFarmApp = _chunkX4ZV4QC5cjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunk2SDO73HKcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkNYJMY3JAcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunkVPTDD5XFcjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunk4ZFL5GFNcjs.createFarmStorage; exports.createIsomorphicFn = _chunkW4E7WMXEcjs.createIsomorphicFn; exports.createPathCacheTag = _chunk2SDO73HKcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkNYJMY3JAcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunk2SDO73HKcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkT5CERMEHcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkW4E7WMXEcjs.createServerOnlyFn; exports.createServerQuery = _chunk75DYEVXIcjs.createServerQuery; exports.createStorageClient = _chunk4ZFL5GFNcjs.createStorageClient; exports.databaseStorage = _chunk4ZFL5GFNcjs.databaseStorage; exports.defineCacheKey = _chunk2SDO73HKcjs.defineCacheKey; exports.defineConfig = _chunkX4ZV4QC5cjs.defineConfig; exports.defineStorageClient = _chunk4ZFL5GFNcjs.defineStorageClient; exports.disposeStorage = _chunk4ZFL5GFNcjs.disposeStorage; exports.driverStorage = _chunk4ZFL5GFNcjs.driverStorage; exports.farmPlugin = _chunkX4ZV4QC5cjs.farmPlugin; exports.fileExists = _chunk5QIKR7RRcjs.fileExists; exports.getCurrentRequest = _chunk5ZSWG4UXcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunkVPTDD5XFcjs.getFarmAppDirectories; exports.getFarmDataCache = _chunk2SDO73HKcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunkVPTDD5XFcjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunkVPTDD5XFcjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkT5CERMEHcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkT5CERMEHcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkT5CERMEHcjs.getServerActionSignal; exports.getStorage = _chunk4ZFL5GFNcjs.getStorage; exports.getTheme = _chunkXWAWFQFScjs.getTheme; exports.getThemeSnapshot = _chunkXWAWFQFScjs.getThemeSnapshot; exports.globFiles = _chunk5QIKR7RRcjs.globFiles; exports.initStorage = _chunk4ZFL5GFNcjs.initStorage; exports.invalidate = _chunk2SDO73HKcjs.invalidate; exports.invalidateRouteData = _chunk2SDO73HKcjs.invalidateRouteData; exports.libsqlStorage = _chunk4ZFL5GFNcjs.libsqlStorage; exports.loadFarmConfigFile = _chunkVPTDD5XFcjs.loadFarmConfigFile; exports.localStorage = _chunk4ZFL5GFNcjs.localStorage; exports.logger = _chunk5QIKR7RRcjs.logger; exports.matchRoute = _chunk5QIKR7RRcjs.matchRoute; exports.matchRouteParts = _chunk5QIKR7RRcjs.matchRouteParts; exports.matchRoutePrefix = _chunk5QIKR7RRcjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunk5QIKR7RRcjs.matchRoutePrefixParts; exports.memoryStorage = _chunk4ZFL5GFNcjs.memoryStorage; exports.mongodbStorage = _chunk4ZFL5GFNcjs.mongodbStorage; exports.mysql2Storage = _chunk4ZFL5GFNcjs.mysql2Storage; exports.mysqlStorage = _chunk4ZFL5GFNcjs.mysqlStorage; exports.netlifyBlobsStorage = _chunk4ZFL5GFNcjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunk2SDO73HKcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunk5QIKR7RRcjs.parseRoutePath; exports.parseSearchParams = _chunk5QIKR7RRcjs.parseSearchParams; exports.pgStorage = _chunk4ZFL5GFNcjs.pgStorage; exports.pgliteStorage = _chunk4ZFL5GFNcjs.pgliteStorage; exports.planetscaleStorage = _chunk4ZFL5GFNcjs.planetscaleStorage; exports.postgresStorage = _chunk4ZFL5GFNcjs.postgresStorage; exports.prepareServerActionRequest = _chunkT5CERMEHcjs.prepareServerActionRequest; exports.redisStorage = _chunk4ZFL5GFNcjs.redisStorage; exports.resolveAppPath = _chunk5QIKR7RRcjs.resolveAppPath; exports.resolveFarmLayers = _chunkVPTDD5XFcjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkJFHKNFEOcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkJFHKNFEOcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunkT5CERMEHcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunk4ZFL5GFNcjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunk2SDO73HKcjs.revalidatePath; exports.revalidateTag = _chunk2SDO73HKcjs.revalidateTag; exports.runWithServerActionRequest = _chunkT5CERMEHcjs.runWithServerActionRequest; exports.s3Storage = _chunk4ZFL5GFNcjs.s3Storage; exports.sanitizeServerActionError = _chunkT5CERMEHcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunk5QIKR7RRcjs.segmentsToPattern; exports.sendWebResponse = _chunkUQZ4AYTHcjs.sendWebResponse; exports.splitRoutePath = _chunk5QIKR7RRcjs.splitRoutePath; exports.sqliteStorage = _chunk4ZFL5GFNcjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunk2SDO73HKcjs.storageCacheAdapter; exports.toPosixPath = _chunk5QIKR7RRcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunk5QIKR7RRcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunk5QIKR7RRcjs.toViteModuleId; exports.unstable_cache = _chunk2SDO73HKcjs.unstable_cache; exports.updateTag = _chunk2SDO73HKcjs.updateTag; exports.upstashStorage = _chunk4ZFL5GFNcjs.upstashStorage; exports.validateServerActionRequest = _chunkT5CERMEHcjs.validateServerActionRequest; exports.vercelBlobStorage = _chunk4ZFL5GFNcjs.vercelBlobStorage; exports.vercelKVStorage = _chunk4ZFL5GFNcjs.vercelKVStorage;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
2
|
-
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export {
|
|
4
|
-
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-DAuUTIZf.mjs';
|
|
2
|
+
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-BX2ptm4H.mjs';
|
|
3
|
+
export { U as AppRoutePattern, ah as BuildOptions, a9 as ErrorBoundary, a2 as ErrorProps, m as FarmAppContext, T as FarmComponentType, E as FarmContextFactory, $ as FarmContextFactoryInput, a0 as FarmIsolatedClientHydrationMode, am as FarmLayerEntry, aq as FarmLayerResolution, S as FarmMCPUserConfig, X as FarmMigrationCommand, Y as FarmMigrationsConfig, Z as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ao as FarmSourceRoot, ad as GenerateStaticParams, a7 as Layout, a5 as LayoutMetadataProps, ae as LayoutModule, L as LayoutProps, a8 as Loading, a1 as LoadingProps, M as Metadata, af as MetadataJsonLd, a4 as MetadataProps, al as MetadataRobots, ak as MetadataRobotsDirectives, G as MiddlewareProps, W as NitroPreset, a6 as Page, o as PageProps, a3 as PagePropsWithMiddleware, V as PageRouteParams, P as ParsedRoute, q as PluginContextProps, ap as ResolveFarmLayersOptions, an as ResolvedFarmLayer, _ as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, aj as SSGCollectionResult, ai as SSGPage, ag as ServerAction, ab as StaticPathParams, aa as StaticPathPrimitive, ac as StaticRouteParams, av as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, at as getFarmAppDirectories, au as getFarmLayerAliases, as as getFarmSourceRoots, aw as loadFarmConfigFile, ar as resolveFarmLayers, O as resolveFarmMCPConfig, Q as resolveFarmMCPPlugin } from './client-plugins-BX2ptm4H.mjs';
|
|
4
|
+
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-CEBktlBG.mjs';
|
|
5
5
|
export { createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
|
|
6
|
-
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets,
|
|
6
|
+
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.mjs';
|
|
7
7
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.mjs';
|
|
8
8
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.mjs';
|
|
9
9
|
import { ViteDevServer } from 'vite';
|
|
10
|
-
export { g as getCurrentRequest } from './request-
|
|
10
|
+
export { g as getCurrentRequest } from './request-CFy1BltJ.mjs';
|
|
11
11
|
import { ServerResponse } from 'node:http';
|
|
12
12
|
export { getTheme, getThemeSnapshot } from './theme/server.mjs';
|
|
13
13
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.mjs';
|
|
@@ -15,6 +15,7 @@ export { FarmEnvironment, FarmEnvironmentError, FarmIsomorphicFnOptions, createC
|
|
|
15
15
|
export { e as FarmStorageBuiltinDriverConfig, F as FarmStorageClient, a as FarmStorageClientConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, c as FarmStorageDatabaseConfig, h as FarmStorageDatabaseDriverName, b as FarmStorageLocalDriverConfig, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient, d as FarmStorageUserConfig } from './types-Cc8l9IqS.mjs';
|
|
16
16
|
export { BuiltinDriverName, BuiltinDriverOptions, Driver, Storage, StorageMeta, StorageValue, TransactionOptions } from 'unstorage';
|
|
17
17
|
export { ConnectorName, ConnectorOptions, Database } from 'db0';
|
|
18
|
+
export { a as applyFarmCacheInvalidations } from './cache-invalidation-BD0z_lfu.mjs';
|
|
18
19
|
import './types-DFbjpjXX.mjs';
|
|
19
20
|
import '@farming-labs/docs';
|
|
20
21
|
import './workflows-CR9ex-gz.mjs';
|
|
@@ -30,7 +31,6 @@ import './deployment.mjs';
|
|
|
30
31
|
import './lifecycle-DK06VuKP.mjs';
|
|
31
32
|
import './integration-api-0y4FXJpC.mjs';
|
|
32
33
|
import 'http';
|
|
33
|
-
import './types-Z0aotQ8w.mjs';
|
|
34
34
|
import './schema.mjs';
|
|
35
35
|
import '@farming-labs/orm';
|
|
36
36
|
import './observability-BupkiN0m.mjs';
|
|
@@ -38,11 +38,12 @@ import '@opentelemetry/api';
|
|
|
38
38
|
import './env.mjs';
|
|
39
39
|
import 'rolldown/utils';
|
|
40
40
|
import 'rolldown';
|
|
41
|
+
import './types-Z0aotQ8w.mjs';
|
|
41
42
|
import './types-DQnyD3VD.mjs';
|
|
42
43
|
import './font.mjs';
|
|
43
44
|
import './island-CfGru1MO.mjs';
|
|
44
|
-
import './metadata-
|
|
45
|
-
import './render-plan-
|
|
45
|
+
import './metadata-DsEaK7mQ.mjs';
|
|
46
|
+
import './render-plan-DhwQnmmX.mjs';
|
|
46
47
|
import './runtime-AOJge4vQ.mjs';
|
|
47
48
|
import './resolver-DhW0CqZN.mjs';
|
|
48
49
|
|
package/dist/server.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
2
|
-
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export {
|
|
4
|
-
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-sUJ3jnTZ.js';
|
|
2
|
+
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-BmxM5KW_.js';
|
|
3
|
+
export { U as AppRoutePattern, ah as BuildOptions, a9 as ErrorBoundary, a2 as ErrorProps, m as FarmAppContext, T as FarmComponentType, E as FarmContextFactory, $ as FarmContextFactoryInput, a0 as FarmIsolatedClientHydrationMode, am as FarmLayerEntry, aq as FarmLayerResolution, S as FarmMCPUserConfig, X as FarmMigrationCommand, Y as FarmMigrationsConfig, Z as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ao as FarmSourceRoot, ad as GenerateStaticParams, a7 as Layout, a5 as LayoutMetadataProps, ae as LayoutModule, L as LayoutProps, a8 as Loading, a1 as LoadingProps, M as Metadata, af as MetadataJsonLd, a4 as MetadataProps, al as MetadataRobots, ak as MetadataRobotsDirectives, G as MiddlewareProps, W as NitroPreset, a6 as Page, o as PageProps, a3 as PagePropsWithMiddleware, V as PageRouteParams, P as ParsedRoute, q as PluginContextProps, ap as ResolveFarmLayersOptions, an as ResolvedFarmLayer, _ as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, aj as SSGCollectionResult, ai as SSGPage, ag as ServerAction, ab as StaticPathParams, aa as StaticPathPrimitive, ac as StaticRouteParams, av as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, at as getFarmAppDirectories, au as getFarmLayerAliases, as as getFarmSourceRoots, aw as loadFarmConfigFile, ar as resolveFarmLayers, O as resolveFarmMCPConfig, Q as resolveFarmMCPPlugin } from './client-plugins-BmxM5KW_.js';
|
|
4
|
+
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-DMD1Hzta.js';
|
|
5
5
|
export { createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
|
|
6
|
-
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets,
|
|
6
|
+
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
7
7
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
8
8
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
9
9
|
import { ViteDevServer } from 'vite';
|
|
10
|
-
export { g as getCurrentRequest } from './request-
|
|
10
|
+
export { g as getCurrentRequest } from './request-BcY4RYPC.js';
|
|
11
11
|
import { ServerResponse } from 'node:http';
|
|
12
12
|
export { getTheme, getThemeSnapshot } from './theme/server.js';
|
|
13
13
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
|
|
@@ -15,6 +15,7 @@ export { FarmEnvironment, FarmEnvironmentError, FarmIsomorphicFnOptions, createC
|
|
|
15
15
|
export { e as FarmStorageBuiltinDriverConfig, F as FarmStorageClient, a as FarmStorageClientConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, c as FarmStorageDatabaseConfig, h as FarmStorageDatabaseDriverName, b as FarmStorageLocalDriverConfig, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient, d as FarmStorageUserConfig } from './types-Cc8l9IqS.js';
|
|
16
16
|
export { BuiltinDriverName, BuiltinDriverOptions, Driver, Storage, StorageMeta, StorageValue, TransactionOptions } from 'unstorage';
|
|
17
17
|
export { ConnectorName, ConnectorOptions, Database } from 'db0';
|
|
18
|
+
export { a as applyFarmCacheInvalidations } from './cache-invalidation-BD0z_lfu.js';
|
|
18
19
|
import './types-DFbjpjXX.js';
|
|
19
20
|
import '@farming-labs/docs';
|
|
20
21
|
import './workflows-CR9ex-gz.js';
|
|
@@ -30,7 +31,6 @@ import './deployment.js';
|
|
|
30
31
|
import './lifecycle-DK06VuKP.js';
|
|
31
32
|
import './integration-api-BPJo5oXb.js';
|
|
32
33
|
import 'http';
|
|
33
|
-
import './types-Z0aotQ8w.js';
|
|
34
34
|
import './schema.js';
|
|
35
35
|
import '@farming-labs/orm';
|
|
36
36
|
import './observability-BupkiN0m.js';
|
|
@@ -38,11 +38,12 @@ import '@opentelemetry/api';
|
|
|
38
38
|
import './env.js';
|
|
39
39
|
import 'rolldown/utils';
|
|
40
40
|
import 'rolldown';
|
|
41
|
+
import './types-Z0aotQ8w.js';
|
|
41
42
|
import './types-DQnyD3VD.js';
|
|
42
43
|
import './font.js';
|
|
43
44
|
import './island-CfGru1MO.js';
|
|
44
|
-
import './metadata-
|
|
45
|
-
import './render-plan-
|
|
45
|
+
import './metadata-fwZ3gfG6.js';
|
|
46
|
+
import './render-plan-rkIK9wd9.js';
|
|
46
47
|
import './runtime-BirxPwbZ.js';
|
|
47
48
|
import './resolver-PPEeiJ6M.js';
|
|
48
49
|
|