@farm.js/core 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp-BVExL8rZ.d.mts → agent-mcp-BwKlpnc7.d.mts} +1 -1
- package/dist/{agent-mcp-luzfXK-P.d.ts → agent-mcp-De1imoMS.d.ts} +1 -1
- package/dist/{agent-mcp-handler-SJAHFSPI.cjs → agent-mcp-handler-MRGP3WJ3.cjs} +5 -5
- package/dist/{agent-mcp-handler-LPJ2CADR.mjs → agent-mcp-handler-OLRMZONF.mjs} +4 -4
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +6 -6
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +5 -5
- package/dist/api/runtime.cjs +4 -4
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +3 -3
- package/dist/api.cjs +9 -8
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.mjs +8 -7
- package/dist/{app-BukwkFIu.d.mts → app-CFZt-srr.d.mts} +21 -3
- package/dist/{app-Yfa2dsFy.d.ts → app-kT_QXTdx.d.ts} +21 -3
- package/dist/app-markdown.cjs +6 -4
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +5 -3
- package/dist/{chunk-ADEA7PN3.cjs → chunk-2DD4JMQC.cjs} +113 -22
- package/dist/chunk-2ZYGC6SS.cjs +576 -0
- package/dist/{chunk-JZVADIOD.cjs → chunk-34UCJRQO.cjs} +2 -2
- package/dist/{chunk-D2BB47NB.cjs → chunk-3LOLJTFV.cjs} +6 -6
- package/dist/{chunk-KXWRO25S.cjs → chunk-472NCAZ7.cjs} +3 -3
- package/dist/chunk-4E5QXOCL.cjs +109 -0
- package/dist/{chunk-Z2HLU4IX.cjs → chunk-4GWRFP22.cjs} +23 -2
- package/dist/{chunk-VQLJWDVW.cjs → chunk-4IE345DM.cjs} +37 -19
- package/dist/{chunk-O6WAEAX3.mjs → chunk-5BWWFHR2.mjs} +70 -15
- package/dist/{chunk-JNUWCDTF.cjs → chunk-5D2JIPLH.cjs} +2 -2
- package/dist/{chunk-BO36SELV.cjs → chunk-5OKBARDN.cjs} +2 -2
- package/dist/{chunk-AO6RYU5N.cjs → chunk-5PWXMJOH.cjs} +30 -22
- package/dist/{chunk-AHGECQEW.mjs → chunk-666CKENS.mjs} +1 -1
- package/dist/chunk-6BK3K2GB.mjs +318 -0
- package/dist/{chunk-O6I6VWKK.mjs → chunk-6HB6V3R7.mjs} +1 -1
- package/dist/{chunk-UXFQ3UDA.cjs → chunk-6XWDE2P2.cjs} +61 -4
- package/dist/{chunk-VILIPRS6.mjs → chunk-7FPTZLKH.mjs} +1 -1
- package/dist/{chunk-SC2WYWPF.mjs → chunk-7PEP3BUT.mjs} +3 -3
- package/dist/{chunk-4E5AEDKY.mjs → chunk-A3EAIURZ.mjs} +25 -7
- package/dist/{chunk-YDQZGSDS.mjs → chunk-ARC7I3O2.mjs} +1 -1
- package/dist/{chunk-LSZAVSGY.mjs → chunk-B6G5CKMC.mjs} +101 -10
- package/dist/{chunk-3KZS4SUS.mjs → chunk-BZHXGVMA.mjs} +1 -1
- package/dist/{chunk-KN7K4VQN.mjs → chunk-CNNOLE4O.mjs} +1 -1
- package/dist/{chunk-4GLOOWKE.mjs → chunk-CQMVIOYP.mjs} +1 -1
- package/dist/{chunk-2ELDTQRN.mjs → chunk-CUM5NYL5.mjs} +1 -1
- package/dist/{chunk-HITLGIAO.cjs → chunk-CY2ZQ5C6.cjs} +7 -6
- package/dist/{chunk-PZNL3WEG.mjs → chunk-DMEPTZTI.mjs} +22 -11
- package/dist/{chunk-QORUJDIV.mjs → chunk-DRLKAXDM.mjs} +2 -2
- package/dist/{chunk-DQQOKWYA.cjs → chunk-EIPC3FDA.cjs} +12 -4
- package/dist/{chunk-HOXTWRGB.mjs → chunk-EKF7KDFD.mjs} +5 -2
- package/dist/{chunk-42NHY7HW.cjs → chunk-EKN7NSZO.cjs} +62 -14
- package/dist/{chunk-YKX5BK66.cjs → chunk-EMO6K4YY.cjs} +7 -7
- package/dist/{chunk-6SJ2KJTA.mjs → chunk-EPYU2EBL.mjs} +1 -1
- package/dist/{chunk-D227TIEN.cjs → chunk-FWE7LEQC.cjs} +13 -13
- package/dist/{chunk-PTZ2TVNE.cjs → chunk-H5CLOUZS.cjs} +5 -5
- package/dist/{chunk-DTSROJ5J.mjs → chunk-HD5CF3OE.mjs} +1 -1
- package/dist/{chunk-35GKZR22.mjs → chunk-HXRYZWTA.mjs} +1 -1
- package/dist/{chunk-JG6DJF5A.mjs → chunk-HZFM2LWQ.mjs} +22 -1
- package/dist/{chunk-MKYBIIAQ.mjs → chunk-IBUQWVYA.mjs} +17 -1
- package/dist/{chunk-F2SE2VDO.mjs → chunk-IHQIOZLC.mjs} +1 -1
- package/dist/{chunk-W7LF2J2S.mjs → chunk-INL3THCU.mjs} +1 -1
- package/dist/{chunk-WZ77PUAM.mjs → chunk-IVLZZZEI.mjs} +1 -1
- package/dist/{chunk-ENLZ4R3Y.mjs → chunk-J7K2NZD6.mjs} +7 -6
- package/dist/{chunk-BPOF5U4N.mjs → chunk-JCKYH4LG.mjs} +10 -7
- package/dist/{chunk-77GNHH2Z.cjs → chunk-JCYYXBAJ.cjs} +3 -3
- package/dist/{chunk-C4SPBWFM.cjs → chunk-JEZO6VUR.cjs} +10 -1
- package/dist/{chunk-ZWM5KGAA.cjs → chunk-KCQBAKIY.cjs} +23 -20
- package/dist/{chunk-OTC5BDGO.mjs → chunk-KHKLMNI5.mjs} +12 -7
- package/dist/{chunk-DZ5ZVB2K.cjs → chunk-KKSTAEMY.cjs} +1 -1
- package/dist/{chunk-N2NAS2AM.cjs → chunk-L4DD7ODZ.cjs} +2 -2
- package/dist/{chunk-YSCV4SJF.cjs → chunk-L5H2GSUC.cjs} +4 -4
- package/dist/{chunk-OO7GXVSR.mjs → chunk-LI2F57NI.mjs} +1 -1
- package/dist/{chunk-NRSN7G7E.mjs → chunk-MLY2RP5R.mjs} +10 -2
- package/dist/{chunk-BPMATOP2.cjs → chunk-N32CC42M.cjs} +25 -20
- package/dist/{chunk-FNO7A7CM.cjs → chunk-NBBEQLOK.cjs} +34 -16
- package/dist/{chunk-XCMCS4DA.mjs → chunk-ND2CWPOD.mjs} +2 -2
- package/dist/{chunk-GQRWBCWK.mjs → chunk-OAHTRMIC.mjs} +13 -5
- package/dist/{chunk-35WV46VL.mjs → chunk-OCIEZME4.mjs} +876 -685
- package/dist/{chunk-UH6QN5NL.mjs → chunk-P664ZVTV.mjs} +2 -2
- package/dist/{chunk-TE2G5ION.cjs → chunk-PGZDEPTM.cjs} +88 -33
- package/dist/{chunk-FDR64H6B.mjs → chunk-POSPE3IO.mjs} +59 -2
- package/dist/{chunk-UVW64BCB.cjs → chunk-Q3NXS4MU.cjs} +16 -14
- package/dist/{chunk-4WCZJQUO.mjs → chunk-QFW2IH5E.mjs} +57 -9
- package/dist/{chunk-5SJWVY6R.mjs → chunk-QHSH7IH4.mjs} +9 -0
- package/dist/chunk-QRKIMN7T.mjs +48 -0
- package/dist/chunk-QTXBII4Z.cjs +632 -0
- package/dist/{chunk-CI6E3UOH.cjs → chunk-RG4A6LB2.cjs} +7 -7
- package/dist/{chunk-BJPBQNIE.cjs → chunk-RW63BOV7.cjs} +2 -2
- package/dist/{chunk-FO427P6I.cjs → chunk-RWFLWR5J.cjs} +10 -10
- package/dist/{chunk-FFFW3OQ7.cjs → chunk-S6FJO323.cjs} +2 -2
- package/dist/{chunk-EUV4YR3V.cjs → chunk-SGBJ247Q.cjs} +18 -2
- package/dist/chunk-SGBZPZUW.mjs +75 -0
- package/dist/{chunk-2NNMOPDN.mjs → chunk-SKVTP5PR.mjs} +4 -1
- package/dist/{chunk-2YTDKNH3.cjs → chunk-TGFQVLLF.cjs} +956 -765
- package/dist/{chunk-IHNIDL6H.cjs → chunk-TO4GJ56K.cjs} +22 -11
- package/dist/{chunk-276VJSM6.mjs → chunk-TUBTR2OP.mjs} +250 -118
- package/dist/{chunk-GQ3Z3IZI.cjs → chunk-TYJALEHQ.cjs} +18 -18
- package/dist/chunk-TYMMBFN2.mjs +109 -0
- package/dist/chunk-U6QLDL3G.mjs +576 -0
- package/dist/{chunk-U4KT7QP3.cjs → chunk-ULASELLA.cjs} +26 -1
- package/dist/chunk-UXHS27O6.cjs +75 -0
- package/dist/{chunk-WWIKMBRN.mjs → chunk-VNGH5MLF.mjs} +17 -1
- package/dist/{chunk-EZDQRNQ7.mjs → chunk-VT4WFRHA.mjs} +23 -5
- package/dist/{chunk-CBJJH36A.cjs → chunk-VU6AAZVY.cjs} +20 -4
- package/dist/{chunk-27ZWSI3W.cjs → chunk-VXEEATVD.cjs} +2 -2
- package/dist/{chunk-EWET4D2Y.mjs → chunk-W36M2BQ4.mjs} +3 -3
- package/dist/{chunk-4WQ6PGSJ.cjs → chunk-WEW2JVA4.cjs} +4 -4
- package/dist/{chunk-4E5WBPEG.mjs → chunk-WFRT7JPX.mjs} +8 -533
- package/dist/{chunk-T4OGRVNS.mjs → chunk-WLL43JMO.mjs} +2 -2
- package/dist/chunk-WW46B6HA.cjs +318 -0
- package/dist/{chunk-TKSCR644.cjs → chunk-WXJLNP33.cjs} +2 -2
- package/dist/{chunk-S6VYG6XU.cjs → chunk-XKG2BLFN.cjs} +2 -2
- package/dist/{chunk-4NU4GGTC.cjs → chunk-XKVVMZP5.cjs} +6 -3
- package/dist/{chunk-NMHWYWDR.cjs → chunk-YR2VBEMO.cjs} +658 -526
- package/dist/{chunk-OHLSEQ57.mjs → chunk-ZJD2PN6Z.mjs} +10 -8
- package/dist/{chunk-3BU22U3M.cjs → chunk-ZXH4TS3F.cjs} +5 -2
- package/dist/{client-plugins-r1mOtSC1.d.ts → client-plugins-BvlNhGEB.d.ts} +54 -7
- package/dist/{client-plugins-C3mK9Pol.d.mts → client-plugins-DUrIYX9B.d.mts} +54 -7
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +8 -8
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/client.mjs +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-ERIKFEXX.mjs → devtools-JYJNOLPQ.mjs} +8 -6
- package/dist/{devtools-JZJJY5CK.cjs → devtools-VQWJANJV.cjs} +9 -7
- package/dist/docs.cjs +12 -10
- package/dist/docs.d.mts +20 -2
- package/dist/docs.d.ts +20 -2
- package/dist/docs.mjs +11 -9
- package/dist/headers.cjs +6 -4
- package/dist/headers.d.mts +11 -1
- package/dist/headers.d.ts +11 -1
- package/dist/headers.mjs +5 -3
- package/dist/i18n/client.cjs +11 -11
- package/dist/i18n/client.mjs +3 -3
- package/dist/index.cjs +62 -46
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.mjs +62 -46
- package/dist/integrations.cjs +5 -3
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +4 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -3
- package/dist/internal/app-markdown-runtime.d.mts +19 -5
- package/dist/internal/app-markdown-runtime.d.ts +19 -5
- package/dist/internal/app-markdown-runtime.mjs +4 -2
- package/dist/internal/build-runtime.cjs +33 -30
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +32 -29
- package/dist/internal/cli-runtime.cjs +14 -12
- package/dist/internal/cli-runtime.mjs +13 -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 +2 -2
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +9 -7
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +8 -6
- package/dist/internal/docs-precompiled-runtime.cjs +19 -13
- package/dist/internal/docs-precompiled-runtime.d.mts +5 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +5 -0
- package/dist/internal/docs-precompiled-runtime.mjs +14 -8
- package/dist/internal/infra-analytics-runtime.cjs +5 -5
- package/dist/internal/infra-analytics-runtime.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-node-env.cjs +6 -2
- package/dist/internal/production-node-env.d.mts +10 -1
- package/dist/internal/production-node-env.d.ts +10 -1
- package/dist/internal/production-node-env.mjs +5 -1
- package/dist/internal/production-runtime.cjs +39 -54
- package/dist/internal/production-runtime.d.mts +51 -11
- package/dist/internal/production-runtime.d.ts +51 -11
- package/dist/internal/production-runtime.mjs +39 -54
- package/dist/markdown.cjs +8 -2
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +7 -1
- package/dist/middleware.cjs +10 -8
- package/dist/middleware.d.mts +27 -5
- package/dist/middleware.d.ts +27 -5
- package/dist/middleware.mjs +10 -8
- package/dist/navigation.cjs +7 -7
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +6 -6
- package/dist/plugin.cjs +25 -23
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.mjs +24 -22
- package/dist/{production-runtime-CCeVZXst.d.mts → production-runtime-BQ4_WLwQ.d.mts} +1 -1
- package/dist/{production-runtime-DPnsggY3.d.ts → production-runtime-D2aMyzjr.d.ts} +1 -1
- package/dist/query/client.cjs +9 -9
- package/dist/query/client.mjs +4 -4
- package/dist/{render-plan-Cw4f5E_R.d.ts → render-plan-25p4hrj4.d.ts} +1 -1
- package/dist/{render-plan-BuGaPFe6.d.mts → render-plan-DtkXMN8D.d.mts} +1 -1
- package/dist/renderer-client.cjs +12 -12
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer-client.mjs +4 -4
- package/dist/renderer.d.mts +13 -4
- package/dist/renderer.d.ts +13 -4
- package/dist/{request-CsGARcAw.d.mts → request-DgCkIdcn.d.mts} +4 -2
- package/dist/{request-Bkg-hERy.d.ts → request-jF4jwx8f.d.ts} +4 -2
- package/dist/request.cjs +3 -3
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +2 -2
- package/dist/{route-rendering-BUZMH_64.d.ts → route-rendering-Bji6S6a_.d.ts} +1 -1
- package/dist/{route-rendering-f11yh5dp.d.mts → route-rendering-CSBF78Ya.d.mts} +1 -1
- package/dist/{router-Cp6yRE8A.d.mts → router-B09Ui3Qm.d.mts} +1 -1
- package/dist/{router-B8CR9GbD.d.ts → router-CPB9cXtG.d.ts} +1 -1
- package/dist/routes.cjs +2 -2
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +1 -1
- package/dist/{runtime-CAEv36S_.d.mts → runtime-CM6E6yuI.d.mts} +1 -1
- package/dist/{runtime-CQVsT330.d.ts → runtime-EDMwLdjv.d.ts} +1 -1
- package/dist/server-fn.cjs +3 -3
- package/dist/server-fn.mjs +2 -2
- package/dist/server-plugins.cjs +5 -5
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server-plugins.mjs +4 -4
- package/dist/server-query.cjs +4 -4
- package/dist/server-query.mjs +3 -3
- package/dist/server.cjs +51 -49
- package/dist/server.d.mts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.mjs +29 -27
- package/dist/{spa-router-BuciWGCZ.d.ts → spa-router-B_N8XgVu.d.ts} +2 -2
- package/dist/{spa-router-DwbqGkGj.d.mts → spa-router-Cgimzfbi.d.mts} +2 -2
- package/dist/testing.cjs +8 -8
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +6 -6
- package/dist/theme/server.cjs +4 -4
- package/dist/theme/server.mjs +3 -3
- package/dist/{utils-CaoWKtYM.d.ts → utils-BNxAKAuT.d.ts} +1 -1
- package/dist/{utils-B9V0S_yL.d.mts → utils-DZciYXYl.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +25 -23
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +24 -22
- package/package.json +1 -1
- package/types/middleware.d.ts +5 -1
- package/dist/chunk-655RLQQL.mjs +0 -43
- package/dist/chunk-FXEF4PPL.mjs +0 -47
- package/dist/chunk-IZY3V5XW.mjs +0 -23
- package/dist/chunk-MRMI32SN.cjs +0 -1157
- package/dist/chunk-MT763TDW.cjs +0 -43
- package/dist/chunk-XD32KALF.cjs +0 -47
- /package/dist/{chunk-SJNMVDDF.cjs → chunk-FUCSUGDM.cjs} +0 -0
- /package/dist/{chunk-UDNPLXW7.mjs → chunk-MYIZXDZA.mjs} +0 -0
package/dist/server.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-3376ZTRC.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWXJLNP33cjs = require('./chunk-WXJLNP33.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -11,8 +11,8 @@ var _chunkW4E7WMXEcjs = require('./chunk-W4E7WMXE.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunk3LOLJTFVcjs = require('./chunk-3LOLJTFV.cjs');
|
|
15
|
+
require('./chunk-5OKBARDN.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
@@ -22,7 +22,7 @@ var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQ3NXS4MUcjs = require('./chunk-Q3NXS4MU.cjs');
|
|
26
26
|
require('./chunk-KR6CKSXT.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
@@ -49,15 +49,15 @@ require('./chunk-SK35NQKK.cjs');
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
53
|
-
require('./chunk-
|
|
52
|
+
var _chunkYR2VBEMOcjs = require('./chunk-YR2VBEMO.cjs');
|
|
53
|
+
require('./chunk-5D2JIPLH.cjs');
|
|
54
54
|
require('./chunk-XSIRSMAS.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
var _chunkE2ROOWQCcjs = require('./chunk-E2ROOWQC.cjs');
|
|
58
58
|
require('./chunk-JSROZYYO.cjs');
|
|
59
|
-
require('./chunk-
|
|
60
|
-
require('./chunk-
|
|
59
|
+
require('./chunk-2DD4JMQC.cjs');
|
|
60
|
+
require('./chunk-H5CLOUZS.cjs');
|
|
61
61
|
require('./chunk-SYQ3MOWW.cjs');
|
|
62
62
|
require('./chunk-CXP5U3RW.cjs');
|
|
63
63
|
require('./chunk-WC5UV2HQ.cjs');
|
|
@@ -73,8 +73,8 @@ var _chunk3SDFA7UFcjs = require('./chunk-3SDFA7UF.cjs');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var
|
|
77
|
-
require('./chunk-
|
|
76
|
+
var _chunk472NCAZ7cjs = require('./chunk-472NCAZ7.cjs');
|
|
77
|
+
require('./chunk-CY2ZQ5C6.cjs');
|
|
78
78
|
require('./chunk-HREOKQWT.cjs');
|
|
79
79
|
require('./chunk-6MVFL3R5.cjs');
|
|
80
80
|
require('./chunk-YJRZR7VU.cjs');
|
|
@@ -91,8 +91,9 @@ var _chunkWBKEZXWEcjs = require('./chunk-WBKEZXWE.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
var _chunkPSV6XKPOcjs = require('./chunk-PSV6XKPO.cjs');
|
|
94
|
-
require('./chunk-
|
|
95
|
-
require('./chunk-
|
|
94
|
+
require('./chunk-QTXBII4Z.cjs');
|
|
95
|
+
require('./chunk-WEW2JVA4.cjs');
|
|
96
|
+
require('./chunk-2ZYGC6SS.cjs');
|
|
96
97
|
require('./chunk-YFPGHF5F.cjs');
|
|
97
98
|
require('./chunk-6EXBPJ24.cjs');
|
|
98
99
|
|
|
@@ -111,10 +112,10 @@ var _chunkT5OJPTVNcjs = require('./chunk-T5OJPTVN.cjs');
|
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
var _chunkVEKFLAQMcjs = require('./chunk-VEKFLAQM.cjs');
|
|
114
|
-
require('./chunk-
|
|
115
|
-
require('./chunk-
|
|
115
|
+
require('./chunk-34UCJRQO.cjs');
|
|
116
|
+
require('./chunk-EKN7NSZO.cjs');
|
|
116
117
|
require('./chunk-OHY2ZWUG.cjs');
|
|
117
|
-
require('./chunk-
|
|
118
|
+
require('./chunk-SGBJ247Q.cjs');
|
|
118
119
|
require('./chunk-J63ZH5OQ.cjs');
|
|
119
120
|
require('./chunk-UYIHRDE4.cjs');
|
|
120
121
|
require('./chunk-SDOTRX3V.cjs');
|
|
@@ -150,12 +151,13 @@ require('./chunk-CMGMGHUZ.cjs');
|
|
|
150
151
|
var _chunk4ZFL5GFNcjs = require('./chunk-4ZFL5GFN.cjs');
|
|
151
152
|
require('./chunk-OI6CMLWX.cjs');
|
|
152
153
|
require('./chunk-6QQDAAAZ.cjs');
|
|
153
|
-
require('./chunk-
|
|
154
|
+
require('./chunk-VU6AAZVY.cjs');
|
|
154
155
|
require('./chunk-G643DQCH.cjs');
|
|
155
|
-
require('./chunk-
|
|
156
|
+
require('./chunk-KCQBAKIY.cjs');
|
|
156
157
|
require('./chunk-M7MKQXAF.cjs');
|
|
157
|
-
require('./chunk-
|
|
158
|
-
require('./chunk-
|
|
158
|
+
require('./chunk-ZXH4TS3F.cjs');
|
|
159
|
+
require('./chunk-4GWRFP22.cjs');
|
|
160
|
+
require('./chunk-UXHS27O6.cjs');
|
|
159
161
|
require('./chunk-4PPEPOZZ.cjs');
|
|
160
162
|
|
|
161
163
|
|
|
@@ -163,13 +165,13 @@ require('./chunk-4PPEPOZZ.cjs');
|
|
|
163
165
|
|
|
164
166
|
|
|
165
167
|
var _chunkMQ3H6LT5cjs = require('./chunk-MQ3H6LT5.cjs');
|
|
166
|
-
require('./chunk-
|
|
167
|
-
require('./chunk-
|
|
168
|
+
require('./chunk-RWFLWR5J.cjs');
|
|
169
|
+
require('./chunk-FUCSUGDM.cjs');
|
|
168
170
|
require('./chunk-2CQ74SP6.cjs');
|
|
169
171
|
require('./chunk-XJXBIP67.cjs');
|
|
170
172
|
require('./chunk-UFDAAQFX.cjs');
|
|
171
173
|
require('./chunk-LYLEZIG3.cjs');
|
|
172
|
-
require('./chunk-
|
|
174
|
+
require('./chunk-XKG2BLFN.cjs');
|
|
173
175
|
require('./chunk-IWZKTWHZ.cjs');
|
|
174
176
|
require('./chunk-WMAPPDMM.cjs');
|
|
175
177
|
require('./chunk-TKJZFIML.cjs');
|
|
@@ -227,7 +229,7 @@ var _chunkUQZ4AYTHcjs = require('./chunk-UQZ4AYTH.cjs');
|
|
|
227
229
|
require('./chunk-KNBBQHO2.cjs');
|
|
228
230
|
|
|
229
231
|
|
|
230
|
-
var
|
|
232
|
+
var _chunkKKSTAEMYcjs = require('./chunk-KKSTAEMY.cjs');
|
|
231
233
|
require('./chunk-OYEUREB6.cjs');
|
|
232
234
|
require('./chunk-7W3CPVXS.cjs');
|
|
233
235
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -253,22 +255,22 @@ var _chunkZEG3OPIBcjs = require('./chunk-ZEG3OPIB.cjs');
|
|
|
253
255
|
|
|
254
256
|
|
|
255
257
|
|
|
256
|
-
var
|
|
258
|
+
var _chunkJCYYXBAJcjs = require('./chunk-JCYYXBAJ.cjs');
|
|
257
259
|
|
|
258
260
|
|
|
259
261
|
var _chunkOZVEHHMAcjs = require('./chunk-OZVEHHMA.cjs');
|
|
260
262
|
|
|
261
263
|
|
|
262
|
-
var
|
|
264
|
+
var _chunkVXEEATVDcjs = require('./chunk-VXEEATVD.cjs');
|
|
263
265
|
require('./chunk-YX3DBN4M.cjs');
|
|
264
266
|
require('./chunk-DVM4FKZL.cjs');
|
|
265
267
|
require('./chunk-FJ3M4CUX.cjs');
|
|
266
268
|
require('./chunk-OX6O6WVA.cjs');
|
|
267
269
|
|
|
268
270
|
|
|
269
|
-
var
|
|
271
|
+
var _chunk6XWDE2P2cjs = require('./chunk-6XWDE2P2.cjs');
|
|
270
272
|
require('./chunk-US2QVW3E.cjs');
|
|
271
|
-
require('./chunk-
|
|
273
|
+
require('./chunk-ULASELLA.cjs');
|
|
272
274
|
require('./chunk-BIDYX3SL.cjs');
|
|
273
275
|
require('./chunk-I57LW5VZ.cjs');
|
|
274
276
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -379,7 +381,7 @@ function createFarmDevLifecyclePlugin(pluginManager, instrumentation) {
|
|
|
379
381
|
await step("Instrumentation shutdown", () => instrumentation.shutdown());
|
|
380
382
|
if (failures.length === 1) throw failures[0].error;
|
|
381
383
|
if (failures.length > 1) {
|
|
382
|
-
throw new (0,
|
|
384
|
+
throw new (0, _chunkYR2VBEMOcjs.FarmRuntimeShutdownError)(
|
|
383
385
|
`Dev server shutdown failed during ${failures.map(({ label }) => label).join(", ")}`,
|
|
384
386
|
failures.map(({ error }) => error)
|
|
385
387
|
);
|
|
@@ -454,7 +456,7 @@ function createBrandingPlugin() {
|
|
|
454
456
|
const pc = _chunkM2L4MYDQcjs.createCliColors.call(void 0, );
|
|
455
457
|
console.log("");
|
|
456
458
|
console.log(
|
|
457
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
459
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkKKSTAEMYcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
458
460
|
);
|
|
459
461
|
console.log("");
|
|
460
462
|
console.log(
|
|
@@ -523,7 +525,7 @@ function inlineEnvScope(scope) {
|
|
|
523
525
|
}
|
|
524
526
|
_chunkS3JO3N4Hcjs.__name.call(void 0, inlineEnvScope, "inlineEnvScope");
|
|
525
527
|
async function resolveInlineConfig(config, mode) {
|
|
526
|
-
if (
|
|
528
|
+
if (_chunkQ3NXS4MUcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
527
529
|
_chunkVEKFLAQMcjs.setEnv.call(void 0, config.env);
|
|
528
530
|
return { ...config };
|
|
529
531
|
}
|
|
@@ -533,7 +535,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
533
535
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
534
536
|
const auth = config.auth;
|
|
535
537
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
536
|
-
const resolved = await
|
|
538
|
+
const resolved = await _chunkQ3NXS4MUcjs.resolveConfig.call(void 0,
|
|
537
539
|
{
|
|
538
540
|
...config,
|
|
539
541
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -567,8 +569,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
567
569
|
try {
|
|
568
570
|
const root = config.root || process.cwd();
|
|
569
571
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
570
|
-
const userConfig = await
|
|
571
|
-
const resolvedConfig = userConfig ? await
|
|
572
|
+
const userConfig = await _chunkQ3NXS4MUcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
573
|
+
const resolvedConfig = userConfig ? await _chunkQ3NXS4MUcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
572
574
|
const instrumentationRoot = resolvedConfig.root;
|
|
573
575
|
const instrumentationFile = _chunkKCMTCM6Icjs.resolveFarmInstrumentationFile.call(void 0,
|
|
574
576
|
instrumentationRoot,
|
|
@@ -584,7 +586,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
584
586
|
runtime: "nodejs"
|
|
585
587
|
});
|
|
586
588
|
await instrumentation.start();
|
|
587
|
-
pluginManager = new (0,
|
|
589
|
+
pluginManager = new (0, _chunkYR2VBEMOcjs.PluginManager)({
|
|
588
590
|
config: resolvedConfig,
|
|
589
591
|
isDev: mode === "development",
|
|
590
592
|
isProd: mode === "production"
|
|
@@ -593,24 +595,24 @@ async function createServer2(config = {}, options = {}) {
|
|
|
593
595
|
const headers = await resolvedConfig.headers();
|
|
594
596
|
const rewrites = await resolvedConfig.rewrites();
|
|
595
597
|
if (redirects.length > 0) {
|
|
596
|
-
pluginManager.addPlugin(
|
|
598
|
+
pluginManager.addPlugin(_chunkJCYYXBAJcjs.createRedirectsPlugin.call(void 0, redirects, { i18n: resolvedConfig.i18n }));
|
|
597
599
|
}
|
|
598
600
|
if (headers.length > 0) {
|
|
599
|
-
pluginManager.addPlugin(
|
|
601
|
+
pluginManager.addPlugin(_chunkJCYYXBAJcjs.createHeadersPlugin.call(void 0, headers, { i18n: resolvedConfig.i18n }));
|
|
600
602
|
}
|
|
601
603
|
if (rewrites.length > 0) {
|
|
602
|
-
pluginManager.addPlugin(
|
|
604
|
+
pluginManager.addPlugin(_chunkVXEEATVDcjs.createRewritesPlugin.call(void 0, rewrites, { i18n: resolvedConfig.i18n }));
|
|
603
605
|
}
|
|
604
606
|
if (resolvedConfig.compress && mode === "production") {
|
|
605
607
|
pluginManager.addPlugin(_chunkOZVEHHMAcjs.createCompressionPlugin.call(void 0, ));
|
|
606
608
|
}
|
|
607
609
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
608
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
610
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkWXJLNP33cjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
609
611
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
610
612
|
if (mode === "development") {
|
|
611
613
|
const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
|
|
612
614
|
if (!hasLogger) {
|
|
613
|
-
pluginManager.addPlugin(
|
|
615
|
+
pluginManager.addPlugin(_chunkJCYYXBAJcjs.createLoggerPlugin.call(void 0, ));
|
|
614
616
|
}
|
|
615
617
|
}
|
|
616
618
|
await pluginManager.runHookParallel("init");
|
|
@@ -618,7 +620,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
618
620
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
619
621
|
finalConfig.renderer = _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
620
622
|
const projectRoot = finalConfig.root || process.cwd();
|
|
621
|
-
finalConfig.images =
|
|
623
|
+
finalConfig.images = _chunkYR2VBEMOcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
622
624
|
root: projectRoot,
|
|
623
625
|
dev: true
|
|
624
626
|
});
|
|
@@ -635,21 +637,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
635
637
|
if (shouldUseProjectPostcss) {
|
|
636
638
|
_chunk5QIKR7RRcjs.logger.info("\u{1F4E6} Using project PostCSS/Tailwind configuration");
|
|
637
639
|
} else {
|
|
638
|
-
tailwindVitePlugin = await
|
|
640
|
+
tailwindVitePlugin = await _chunkYR2VBEMOcjs.loadTailwindVitePlugin.call(void 0, );
|
|
639
641
|
}
|
|
640
642
|
server = await createViteDevServer(
|
|
641
|
-
|
|
643
|
+
_chunkYR2VBEMOcjs.mergeFarmViteConfig.call(void 0,
|
|
642
644
|
{
|
|
643
645
|
root: projectRoot,
|
|
644
646
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
645
647
|
plugins: [
|
|
646
|
-
|
|
648
|
+
_chunkYR2VBEMOcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
647
649
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
648
650
|
...rendererVitePlugins,
|
|
649
651
|
createDevDependencyStubsPlugin(),
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
652
|
+
_chunkYR2VBEMOcjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
653
|
+
_chunkYR2VBEMOcjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
654
|
+
_chunkYR2VBEMOcjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
653
655
|
_chunk3SDFA7UFcjs.farmEnvironmentFunctionsPlugin.call(void 0, ),
|
|
654
656
|
createBrandingPlugin(),
|
|
655
657
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -664,8 +666,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
664
666
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
665
667
|
},
|
|
666
668
|
optimizeDeps: {
|
|
667
|
-
...
|
|
668
|
-
|
|
669
|
+
..._chunkYR2VBEMOcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
670
|
+
_chunkYR2VBEMOcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunkWBKEZXWEcjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
669
671
|
finalConfig.renderer
|
|
670
672
|
),
|
|
671
673
|
exclude: [
|
|
@@ -901,4 +903,4 @@ _chunkS3JO3N4Hcjs.__name.call(void 0, startDevServer, "startDevServer");
|
|
|
901
903
|
|
|
902
904
|
|
|
903
905
|
|
|
904
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkT5OJPTVNcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL =
|
|
906
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkT5OJPTVNcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunk3LOLJTFVcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkYR2VBEMOcjs.FarmApp; exports.FarmDataCache = _chunkYWN746UScjs.FarmDataCache; exports.FarmEnvironmentError = _chunkW4E7WMXEcjs.FarmEnvironmentError; exports.RouteManager = _chunkYR2VBEMOcjs.RouteManager; exports.ServerActionRequestError = _chunkT5OJPTVNcjs.ServerActionRequestError; exports.ServerRenderer = _chunkYR2VBEMOcjs.ServerRenderer; exports._runWithAfterNodeResponse = _chunkMQ3H6LT5cjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkMQ3H6LT5cjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkMQ3H6LT5cjs._withAfterNodeMiddleware; exports.after = _chunkMQ3H6LT5cjs.after; exports.applyFarmCacheInvalidationTargets = _chunkYWN746UScjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkZEG3OPIBcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkYWN746UScjs.configureFarmCache; exports.createClientOnlyFn = _chunkW4E7WMXEcjs.createClientOnlyFn; exports.createFarmApp = _chunkYR2VBEMOcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkYWN746UScjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkNYJMY3JAcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunkWBKEZXWEcjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunk4ZFL5GFNcjs.createFarmStorage; exports.createIsomorphicFn = _chunkW4E7WMXEcjs.createIsomorphicFn; exports.createPathCacheTag = _chunkYWN746UScjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkNYJMY3JAcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkYWN746UScjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkT5OJPTVNcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkW4E7WMXEcjs.createServerOnlyFn; exports.createServerQuery = _chunk3LOLJTFVcjs.createServerQuery; exports.createStorageClient = _chunk4ZFL5GFNcjs.createStorageClient; exports.databaseStorage = _chunk4ZFL5GFNcjs.databaseStorage; exports.defineCacheKey = _chunkYWN746UScjs.defineCacheKey; exports.defineConfig = _chunkYR2VBEMOcjs.defineConfig; exports.defineStorageClient = _chunk4ZFL5GFNcjs.defineStorageClient; exports.disposeStorage = _chunk4ZFL5GFNcjs.disposeStorage; exports.driverStorage = _chunk4ZFL5GFNcjs.driverStorage; exports.farmPlugin = _chunkYR2VBEMOcjs.farmPlugin; exports.fileExists = _chunk5QIKR7RRcjs.fileExists; exports.getCurrentRequest = _chunk6XWDE2P2cjs.getCurrentRequest; exports.getFarmAppDirectories = _chunkWBKEZXWEcjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkYWN746UScjs.getFarmDataCache; exports.getFarmLayerAliases = _chunkWBKEZXWEcjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunkWBKEZXWEcjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkT5OJPTVNcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkT5OJPTVNcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkT5OJPTVNcjs.getServerActionSignal; exports.getStorage = _chunk4ZFL5GFNcjs.getStorage; exports.getTheme = _chunk472NCAZ7cjs.getTheme; exports.getThemeSnapshot = _chunk472NCAZ7cjs.getThemeSnapshot; exports.globFiles = _chunk5QIKR7RRcjs.globFiles; exports.initStorage = _chunk4ZFL5GFNcjs.initStorage; exports.invalidate = _chunkYWN746UScjs.invalidate; exports.invalidateRouteData = _chunkYWN746UScjs.invalidateRouteData; exports.libsqlStorage = _chunk4ZFL5GFNcjs.libsqlStorage; exports.loadFarmConfigFile = _chunkWBKEZXWEcjs.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 = _chunkYWN746UScjs.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 = _chunkT5OJPTVNcjs.prepareServerActionRequest; exports.redisStorage = _chunk4ZFL5GFNcjs.redisStorage; exports.resolveAppPath = _chunk5QIKR7RRcjs.resolveAppPath; exports.resolveFarmLayers = _chunkWBKEZXWEcjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkQ3NXS4MUcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkQ3NXS4MUcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunkT5OJPTVNcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunk4ZFL5GFNcjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkYWN746UScjs.revalidatePath; exports.revalidateTag = _chunkYWN746UScjs.revalidateTag; exports.runWithServerActionRequest = _chunkT5OJPTVNcjs.runWithServerActionRequest; exports.s3Storage = _chunk4ZFL5GFNcjs.s3Storage; exports.sanitizeServerActionError = _chunkT5OJPTVNcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunk5QIKR7RRcjs.segmentsToPattern; exports.sendWebResponse = _chunkUQZ4AYTHcjs.sendWebResponse; exports.splitRoutePath = _chunk5QIKR7RRcjs.splitRoutePath; exports.sqliteStorage = _chunk4ZFL5GFNcjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkYWN746UScjs.storageCacheAdapter; exports.toPosixPath = _chunk5QIKR7RRcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunk5QIKR7RRcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunk5QIKR7RRcjs.toViteModuleId; exports.unstable_cache = _chunkYWN746UScjs.unstable_cache; exports.updateTag = _chunkYWN746UScjs.updateTag; exports.upstashStorage = _chunk4ZFL5GFNcjs.upstashStorage; exports.validateServerActionRequest = _chunkT5OJPTVNcjs.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 { I as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export { T as AppRoutePattern, ai as BuildOptions, a8 as ErrorBoundary, a1 as ErrorProps, m as FarmAppContext, S as FarmComponentType, D as FarmContextFactory, _ as FarmContextFactoryInput, $ as FarmIsolatedClientHydrationMode, an as FarmLayerEntry, ar as FarmLayerResolution, Q as FarmMCPUserConfig, W as FarmMigrationCommand, X as FarmMigrationsConfig, Y as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ap as FarmSourceRoot, ac as GenerateStaticParams, a6 as Layout, a4 as LayoutMetadataProps, ad as LayoutModule, L as LayoutProps, a7 as Loading, a0 as LoadingProps, M as Metadata, ae as MetadataJsonLd, a3 as MetadataProps, am as MetadataRobots, al as MetadataRobotsDirectives, E as MiddlewareProps, V as NitroPreset, a5 as Page, o as PageProps, a2 as PagePropsWithMiddleware, U as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aq as ResolveFarmLayersOptions, ao as ResolvedFarmLayer, Z as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ak as SSGCollectionResult, aj as SSGPage, ah as ServerAction, aa as StaticPathParams, a9 as StaticPathPrimitive, ab as StaticRouteParams, af as ThemeColorDescriptor, ag as Viewport, aw as createFarmConfigResolutionPlugin, K as defineConfig, J as farmPlugin, au as getFarmAppDirectories, av as getFarmLayerAliases, at as getFarmSourceRoots, ax as loadFarmConfigFile, as as resolveFarmLayers, N as resolveFarmMCPConfig, O as resolveFarmMCPPlugin } from './client-plugins-
|
|
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-CFZt-srr.mjs';
|
|
2
|
+
import { I as FarmConfig, C as FarmUserConfig } from './client-plugins-DUrIYX9B.mjs';
|
|
3
|
+
export { T as AppRoutePattern, ai as BuildOptions, a8 as ErrorBoundary, a1 as ErrorProps, m as FarmAppContext, S as FarmComponentType, D as FarmContextFactory, _ as FarmContextFactoryInput, $ as FarmIsolatedClientHydrationMode, an as FarmLayerEntry, ar as FarmLayerResolution, Q as FarmMCPUserConfig, W as FarmMigrationCommand, X as FarmMigrationsConfig, Y as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ap as FarmSourceRoot, ac as GenerateStaticParams, a6 as Layout, a4 as LayoutMetadataProps, ad as LayoutModule, L as LayoutProps, a7 as Loading, a0 as LoadingProps, M as Metadata, ae as MetadataJsonLd, a3 as MetadataProps, am as MetadataRobots, al as MetadataRobotsDirectives, E as MiddlewareProps, V as NitroPreset, a5 as Page, o as PageProps, a2 as PagePropsWithMiddleware, U as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aq as ResolveFarmLayersOptions, ao as ResolvedFarmLayer, Z as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ak as SSGCollectionResult, aj as SSGPage, ah as ServerAction, aa as StaticPathParams, a9 as StaticPathPrimitive, ab as StaticRouteParams, af as ThemeColorDescriptor, ag as Viewport, aw as createFarmConfigResolutionPlugin, K as defineConfig, J as farmPlugin, au as getFarmAppDirectories, av as getFarmLayerAliases, at as getFarmSourceRoots, ax as loadFarmConfigFile, as as resolveFarmLayers, N as resolveFarmMCPConfig, O as resolveFarmMCPPlugin } from './client-plugins-DUrIYX9B.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-DZciYXYl.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
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-DgCkIdcn.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';
|
|
@@ -41,8 +41,8 @@ import './types-CnH8DOqo.mjs';
|
|
|
41
41
|
import './types-DQnyD3VD.mjs';
|
|
42
42
|
import './font.mjs';
|
|
43
43
|
import './island-CfGru1MO.mjs';
|
|
44
|
-
import './agent-mcp-
|
|
45
|
-
import './render-plan-
|
|
44
|
+
import './agent-mcp-BwKlpnc7.mjs';
|
|
45
|
+
import './render-plan-DtkXMN8D.mjs';
|
|
46
46
|
import './runtime-CV2UCV-5.mjs';
|
|
47
47
|
import './resolver-khasx3fU.mjs';
|
|
48
48
|
|
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 { I as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export { T as AppRoutePattern, ai as BuildOptions, a8 as ErrorBoundary, a1 as ErrorProps, m as FarmAppContext, S as FarmComponentType, D as FarmContextFactory, _ as FarmContextFactoryInput, $ as FarmIsolatedClientHydrationMode, an as FarmLayerEntry, ar as FarmLayerResolution, Q as FarmMCPUserConfig, W as FarmMigrationCommand, X as FarmMigrationsConfig, Y as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ap as FarmSourceRoot, ac as GenerateStaticParams, a6 as Layout, a4 as LayoutMetadataProps, ad as LayoutModule, L as LayoutProps, a7 as Loading, a0 as LoadingProps, M as Metadata, ae as MetadataJsonLd, a3 as MetadataProps, am as MetadataRobots, al as MetadataRobotsDirectives, E as MiddlewareProps, V as NitroPreset, a5 as Page, o as PageProps, a2 as PagePropsWithMiddleware, U as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aq as ResolveFarmLayersOptions, ao as ResolvedFarmLayer, Z as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ak as SSGCollectionResult, aj as SSGPage, ah as ServerAction, aa as StaticPathParams, a9 as StaticPathPrimitive, ab as StaticRouteParams, af as ThemeColorDescriptor, ag as Viewport, aw as createFarmConfigResolutionPlugin, K as defineConfig, J as farmPlugin, au as getFarmAppDirectories, av as getFarmLayerAliases, at as getFarmSourceRoots, ax as loadFarmConfigFile, as as resolveFarmLayers, N as resolveFarmMCPConfig, O as resolveFarmMCPPlugin } from './client-plugins-
|
|
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-kT_QXTdx.js';
|
|
2
|
+
import { I as FarmConfig, C as FarmUserConfig } from './client-plugins-BvlNhGEB.js';
|
|
3
|
+
export { T as AppRoutePattern, ai as BuildOptions, a8 as ErrorBoundary, a1 as ErrorProps, m as FarmAppContext, S as FarmComponentType, D as FarmContextFactory, _ as FarmContextFactoryInput, $ as FarmIsolatedClientHydrationMode, an as FarmLayerEntry, ar as FarmLayerResolution, Q as FarmMCPUserConfig, W as FarmMigrationCommand, X as FarmMigrationsConfig, Y as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ap as FarmSourceRoot, ac as GenerateStaticParams, a6 as Layout, a4 as LayoutMetadataProps, ad as LayoutModule, L as LayoutProps, a7 as Loading, a0 as LoadingProps, M as Metadata, ae as MetadataJsonLd, a3 as MetadataProps, am as MetadataRobots, al as MetadataRobotsDirectives, E as MiddlewareProps, V as NitroPreset, a5 as Page, o as PageProps, a2 as PagePropsWithMiddleware, U as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aq as ResolveFarmLayersOptions, ao as ResolvedFarmLayer, Z as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ak as SSGCollectionResult, aj as SSGPage, ah as ServerAction, aa as StaticPathParams, a9 as StaticPathPrimitive, ab as StaticRouteParams, af as ThemeColorDescriptor, ag as Viewport, aw as createFarmConfigResolutionPlugin, K as defineConfig, J as farmPlugin, au as getFarmAppDirectories, av as getFarmLayerAliases, at as getFarmSourceRoots, ax as loadFarmConfigFile, as as resolveFarmLayers, N as resolveFarmMCPConfig, O as resolveFarmMCPPlugin } from './client-plugins-BvlNhGEB.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-BNxAKAuT.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
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-jF4jwx8f.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';
|
|
@@ -41,8 +41,8 @@ import './types-CnH8DOqo.js';
|
|
|
41
41
|
import './types-DQnyD3VD.js';
|
|
42
42
|
import './font.js';
|
|
43
43
|
import './island-CfGru1MO.js';
|
|
44
|
-
import './agent-mcp-
|
|
45
|
-
import './render-plan-
|
|
44
|
+
import './agent-mcp-De1imoMS.js';
|
|
45
|
+
import './render-plan-25p4hrj4.js';
|
|
46
46
|
import './runtime-BgDQzBiu.js';
|
|
47
47
|
import './resolver-DadfRL6F.js';
|
|
48
48
|
|
package/dist/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmInfraAnalyticsPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BZHXGVMA.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-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-HXRYZWTA.mjs";
|
|
14
|
+
import "./chunk-W36M2BQ4.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-
|
|
24
|
+
} from "./chunk-ZJD2PN6Z.mjs";
|
|
25
25
|
import "./chunk-XZNTNMHT.mjs";
|
|
26
26
|
import {
|
|
27
27
|
loadFarmInstrumentation,
|
|
@@ -48,15 +48,15 @@ import {
|
|
|
48
48
|
loadTailwindVitePlugin,
|
|
49
49
|
mergeFarmViteConfig,
|
|
50
50
|
resolveFarmImageProviderForRuntime
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-TUBTR2OP.mjs";
|
|
52
|
+
import "./chunk-CQMVIOYP.mjs";
|
|
53
53
|
import "./chunk-F3VB7ONA.mjs";
|
|
54
54
|
import {
|
|
55
55
|
readSchemaTables
|
|
56
56
|
} from "./chunk-HALDNTIV.mjs";
|
|
57
57
|
import "./chunk-ZMSZZXOR.mjs";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-B6G5CKMC.mjs";
|
|
59
|
+
import "./chunk-P664ZVTV.mjs";
|
|
60
60
|
import "./chunk-DAO7JGTS.mjs";
|
|
61
61
|
import "./chunk-BOYNDCZL.mjs";
|
|
62
62
|
import "./chunk-AJQTP4OO.mjs";
|
|
@@ -72,8 +72,8 @@ import {
|
|
|
72
72
|
import {
|
|
73
73
|
getTheme,
|
|
74
74
|
getThemeSnapshot
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-CUM5NYL5.mjs";
|
|
76
|
+
import "./chunk-J7K2NZD6.mjs";
|
|
77
77
|
import "./chunk-TVGP4BBZ.mjs";
|
|
78
78
|
import "./chunk-RSOJ7DRT.mjs";
|
|
79
79
|
import "./chunk-JBSVKMC5.mjs";
|
|
@@ -90,8 +90,9 @@ import {
|
|
|
90
90
|
loadFarmRendererVitePlugins,
|
|
91
91
|
resolveFarmRenderer
|
|
92
92
|
} from "./chunk-DAATZTKJ.mjs";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-WFRT7JPX.mjs";
|
|
94
|
+
import "./chunk-HD5CF3OE.mjs";
|
|
95
|
+
import "./chunk-U6QLDL3G.mjs";
|
|
95
96
|
import "./chunk-G2KY33I6.mjs";
|
|
96
97
|
import "./chunk-YHOCRI4H.mjs";
|
|
97
98
|
import {
|
|
@@ -110,10 +111,10 @@ import {
|
|
|
110
111
|
import {
|
|
111
112
|
setEnv
|
|
112
113
|
} from "./chunk-4OOBRCJX.mjs";
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-IVLZZZEI.mjs";
|
|
115
|
+
import "./chunk-QFW2IH5E.mjs";
|
|
115
116
|
import "./chunk-FA2W42OV.mjs";
|
|
116
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-VNGH5MLF.mjs";
|
|
117
118
|
import "./chunk-MVL2RAJW.mjs";
|
|
118
119
|
import "./chunk-SFGWNC43.mjs";
|
|
119
120
|
import "./chunk-Q2KB32T4.mjs";
|
|
@@ -149,12 +150,13 @@ import {
|
|
|
149
150
|
} from "./chunk-UWPLULNK.mjs";
|
|
150
151
|
import "./chunk-AELACLOB.mjs";
|
|
151
152
|
import "./chunk-SEJ5N6SL.mjs";
|
|
152
|
-
import "./chunk-
|
|
153
|
+
import "./chunk-IBUQWVYA.mjs";
|
|
153
154
|
import "./chunk-44SYJEG3.mjs";
|
|
154
|
-
import "./chunk-
|
|
155
|
+
import "./chunk-JCKYH4LG.mjs";
|
|
155
156
|
import "./chunk-RHAZ22ZN.mjs";
|
|
156
|
-
import "./chunk-
|
|
157
|
-
import "./chunk-
|
|
157
|
+
import "./chunk-SKVTP5PR.mjs";
|
|
158
|
+
import "./chunk-HZFM2LWQ.mjs";
|
|
159
|
+
import "./chunk-SGBZPZUW.mjs";
|
|
158
160
|
import "./chunk-R3DS7A2T.mjs";
|
|
159
161
|
import {
|
|
160
162
|
_runWithAfterNodeResponse,
|
|
@@ -162,13 +164,13 @@ import {
|
|
|
162
164
|
_withAfterNodeMiddleware,
|
|
163
165
|
after
|
|
164
166
|
} from "./chunk-IOEH4VWN.mjs";
|
|
165
|
-
import "./chunk-
|
|
166
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-WLL43JMO.mjs";
|
|
168
|
+
import "./chunk-MYIZXDZA.mjs";
|
|
167
169
|
import "./chunk-CU625VAY.mjs";
|
|
168
170
|
import "./chunk-NPC7VWJE.mjs";
|
|
169
171
|
import "./chunk-QCFBDFRS.mjs";
|
|
170
172
|
import "./chunk-YOZYCI6Z.mjs";
|
|
171
|
-
import "./chunk-
|
|
173
|
+
import "./chunk-6HB6V3R7.mjs";
|
|
172
174
|
import "./chunk-3UEVPCGW.mjs";
|
|
173
175
|
import "./chunk-W3B4PKAW.mjs";
|
|
174
176
|
import "./chunk-5WI2S4CO.mjs";
|
|
@@ -226,7 +228,7 @@ import {
|
|
|
226
228
|
import "./chunk-BTHHUD7Q.mjs";
|
|
227
229
|
import {
|
|
228
230
|
FARM_VERSION
|
|
229
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-LI2F57NI.mjs";
|
|
230
232
|
import "./chunk-54UPOYFS.mjs";
|
|
231
233
|
import "./chunk-WNSDDRNU.mjs";
|
|
232
234
|
import "./chunk-JPLUGGRV.mjs";
|
|
@@ -252,22 +254,22 @@ import {
|
|
|
252
254
|
createHeadersPlugin,
|
|
253
255
|
createLoggerPlugin,
|
|
254
256
|
createRedirectsPlugin
|
|
255
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-CNNOLE4O.mjs";
|
|
256
258
|
import {
|
|
257
259
|
createCompressionPlugin
|
|
258
260
|
} from "./chunk-XJJVLDM6.mjs";
|
|
259
261
|
import {
|
|
260
262
|
createRewritesPlugin
|
|
261
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-INL3THCU.mjs";
|
|
262
264
|
import "./chunk-BRYHOB4X.mjs";
|
|
263
265
|
import "./chunk-SAXPH6G5.mjs";
|
|
264
266
|
import "./chunk-Z3HATSKO.mjs";
|
|
265
267
|
import "./chunk-CBBLJMR5.mjs";
|
|
266
268
|
import {
|
|
267
269
|
getCurrentRequest
|
|
268
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-POSPE3IO.mjs";
|
|
269
271
|
import "./chunk-CQ6OSQ3K.mjs";
|
|
270
|
-
import "./chunk-
|
|
272
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
271
273
|
import "./chunk-L3KT7IXV.mjs";
|
|
272
274
|
import "./chunk-4RB44K6Z.mjs";
|
|
273
275
|
import "./chunk-55YI3RRB.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-BvlNhGEB.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-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-25p4hrj4.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-DUrIYX9B.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-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-DtkXMN8D.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
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
|
|
3
|
+
var _chunkTO4GJ56Kcjs = require('./chunk-TO4GJ56K.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -13,15 +13,15 @@ var _chunkT5OJPTVNcjs = require('./chunk-T5OJPTVN.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk6QQDAAAZcjs = require('./chunk-6QQDAAAZ.cjs');
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-RWFLWR5J.cjs');
|
|
17
|
+
require('./chunk-FUCSUGDM.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
|
|
24
|
+
var _chunkXKG2BLFNcjs = require('./chunk-XKG2BLFN.cjs');
|
|
25
25
|
require('./chunk-IWZKTWHZ.cjs');
|
|
26
26
|
require('./chunk-WMAPPDMM.cjs');
|
|
27
27
|
require('./chunk-TKJZFIML.cjs');
|
|
@@ -52,9 +52,9 @@ require('./chunk-AI7QMY7O.cjs');
|
|
|
52
52
|
require('./chunk-LIUGYUX3.cjs');
|
|
53
53
|
require('./chunk-NYJMY3JA.cjs');
|
|
54
54
|
require('./chunk-ZEG3OPIB.cjs');
|
|
55
|
-
require('./chunk-
|
|
55
|
+
require('./chunk-6XWDE2P2.cjs');
|
|
56
56
|
require('./chunk-US2QVW3E.cjs');
|
|
57
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-ULASELLA.cjs');
|
|
58
58
|
require('./chunk-BIDYX3SL.cjs');
|
|
59
59
|
require('./chunk-I57LW5VZ.cjs');
|
|
60
60
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -128,7 +128,7 @@ function createFarmTestHarness(options = {}) {
|
|
|
128
128
|
},
|
|
129
129
|
routeContext
|
|
130
130
|
);
|
|
131
|
-
const routeModule =
|
|
131
|
+
const routeModule = _chunkTO4GJ56Kcjs.createRouteModuleFromProgrammaticPage.call(void 0, route);
|
|
132
132
|
const resolveProps = routeModule.__farmResolveRouteProps;
|
|
133
133
|
const resolvedProps = resolveProps ? await resolveProps(rawProps) : { ...rawProps, search, searchParams: Promise.resolve(search) };
|
|
134
134
|
const canonicalPath = readCanonicalPath(resolvedProps);
|
|
@@ -329,7 +329,7 @@ function omitEndpointControlOptions(options) {
|
|
|
329
329
|
_chunkS3JO3N4Hcjs.__name.call(void 0, omitEndpointControlOptions, "omitEndpointControlOptions");
|
|
330
330
|
async function invokeTestEndpoint(endpoint, request, params = {}, throwOnError = false) {
|
|
331
331
|
try {
|
|
332
|
-
return await
|
|
332
|
+
return await _chunkXKG2BLFNcjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
|
|
333
333
|
} catch (error) {
|
|
334
334
|
if (throwOnError) throw error;
|
|
335
335
|
return jsonErrorResponse(error instanceof Error ? error.message : "Internal Server Error", 500);
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { D as FarmContextFactory, E as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-
|
|
2
|
+
import { D as FarmContextFactory, E as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import { ServerFn } from './server-fn.mjs';
|
|
4
4
|
import './types-CnH8DOqo.mjs';
|
|
5
5
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.mjs';
|