@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/renderer-client.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL5H2GSUCcjs = require('./chunk-L5H2GSUC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -22,13 +22,13 @@ require('./chunk-PCOTGFSM.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkFWE7LEQCcjs = require('./chunk-FWE7LEQC.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkS6FJO323cjs = require('./chunk-S6FJO323.cjs');
|
|
30
30
|
require('./chunk-R5A5KNVX.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-JEZO6VUR.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk63H6BKXGcjs = require('./chunk-63H6BKXG.cjs');
|
|
@@ -64,7 +64,7 @@ var _chunkS3JO3N4Hcjs = require('./chunk-S3JO3N4H.cjs');
|
|
|
64
64
|
function createRendererRouter(options = {}) {
|
|
65
65
|
const basePath = options.basePath === void 0 ? _chunkI57LW5VZcjs.getFarmBasePath.call(void 0, ) : _chunkI57LW5VZcjs.normalizeFarmBasePath.call(void 0, options.basePath);
|
|
66
66
|
const matcher = _optionalChain([options, 'access', _ => _.routes, 'optionalAccess', _2 => _2.length]) ? _chunkSU7MH53Pcjs.createFarmRouter.call(void 0, [...options.routes]) : null;
|
|
67
|
-
const router =
|
|
67
|
+
const router = _chunkFWE7LEQCcjs.getRouter.call(void 0, );
|
|
68
68
|
let snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
69
69
|
const read = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => {
|
|
70
70
|
snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
@@ -80,7 +80,7 @@ function createRendererRouter(options = {}) {
|
|
|
80
80
|
listener();
|
|
81
81
|
}, "notify");
|
|
82
82
|
const unsubscribeNavigation = router.subscribeNavigation(notify);
|
|
83
|
-
const unsubscribeHistory =
|
|
83
|
+
const unsubscribeHistory = _chunkFWE7LEQCcjs.subscribeHistoryChange.call(void 0, notify);
|
|
84
84
|
read();
|
|
85
85
|
return () => {
|
|
86
86
|
unsubscribeNavigation();
|
|
@@ -281,11 +281,11 @@ function createRendererTheme() {
|
|
|
281
281
|
_chunkS3JO3N4Hcjs.__name.call(void 0, createRendererTheme, "createRendererTheme");
|
|
282
282
|
function createRendererI18n() {
|
|
283
283
|
return {
|
|
284
|
-
getSnapshot:
|
|
285
|
-
subscribe:
|
|
286
|
-
t:
|
|
284
|
+
getSnapshot: _chunkS6FJO323cjs.getFarmI18nClientState,
|
|
285
|
+
subscribe: _chunkS6FJO323cjs.subscribeFarmI18n,
|
|
286
|
+
t: _chunkL5H2GSUCcjs.createFarmClientTranslator.call(void 0, ),
|
|
287
287
|
setLocale(locale) {
|
|
288
|
-
const snapshot =
|
|
288
|
+
const snapshot = _chunkS6FJO323cjs.getFarmI18nClientState.call(void 0, );
|
|
289
289
|
if (!snapshot) throw new Error("Farm i18n is not configured or has not been hydrated.");
|
|
290
290
|
if (!snapshot.locales.includes(locale)) {
|
|
291
291
|
throw new Error(`Unsupported Farm i18n locale "${locale}".`);
|
|
@@ -310,13 +310,13 @@ function readRendererRouterSnapshot(basePath, matcher, navigation) {
|
|
|
310
310
|
}
|
|
311
311
|
const url = new URL(window.location.href);
|
|
312
312
|
const pathname = _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, url.pathname, basePath);
|
|
313
|
-
const i18n =
|
|
313
|
+
const i18n = _chunkS6FJO323cjs.getFarmI18nClientState.call(void 0, );
|
|
314
314
|
const routePathname = i18n ? _chunkBIDYX3SLcjs.stripFarmLocaleFromPathname.call(void 0, pathname, { ...i18n, basePath: "/" }) : pathname;
|
|
315
315
|
return {
|
|
316
316
|
pathname,
|
|
317
317
|
searchParams: url.searchParams,
|
|
318
318
|
params: _optionalChain([matcher, 'optionalAccess', _20 => _20.match, 'call', _21 => _21(routePathname), 'optionalAccess', _22 => _22.params]) || {},
|
|
319
|
-
pageState:
|
|
319
|
+
pageState: _chunkFWE7LEQCcjs.readPageState.call(void 0, ),
|
|
320
320
|
navigation
|
|
321
321
|
};
|
|
322
322
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-Cgimzfbi.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-aP52iuL5.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.mjs';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.mjs';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-DUrIYX9B.mjs';
|
|
10
10
|
import './lifecycle-DK06VuKP.mjs';
|
|
11
11
|
import './integration-api-0y4FXJpC.mjs';
|
|
12
12
|
import './endpoint-CCHFqyTE.mjs';
|
|
@@ -37,7 +37,7 @@ import './font.mjs';
|
|
|
37
37
|
import './after.mjs';
|
|
38
38
|
import 'node:http';
|
|
39
39
|
import './island-CfGru1MO.mjs';
|
|
40
|
-
import './render-plan-
|
|
40
|
+
import './render-plan-DtkXMN8D.mjs';
|
|
41
41
|
|
|
42
42
|
interface FarmClientStore<TSnapshot> {
|
|
43
43
|
getSnapshot(): TSnapshot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-B_N8XgVu.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-DXRNhX_3.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.js';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.js';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-BvlNhGEB.js';
|
|
10
10
|
import './lifecycle-DK06VuKP.js';
|
|
11
11
|
import './integration-api-BPJo5oXb.js';
|
|
12
12
|
import './endpoint-CA-TNX60.js';
|
|
@@ -37,7 +37,7 @@ import './font.js';
|
|
|
37
37
|
import './after.js';
|
|
38
38
|
import 'node:http';
|
|
39
39
|
import './island-CfGru1MO.js';
|
|
40
|
-
import './render-plan-
|
|
40
|
+
import './render-plan-25p4hrj4.js';
|
|
41
41
|
|
|
42
42
|
interface FarmClientStore<TSnapshot> {
|
|
43
43
|
getSnapshot(): TSnapshot;
|
package/dist/renderer-client.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createFarmClientTranslator
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-666CKENS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
attachRevalidationListeners,
|
|
7
7
|
createServerQueryCallKey,
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
getRouter,
|
|
23
23
|
readPageState,
|
|
24
24
|
subscribeHistoryChange
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ND2CWPOD.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getFarmI18nClientState,
|
|
28
28
|
subscribeFarmI18n
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IHQIOZLC.mjs";
|
|
30
30
|
import "./chunk-2PQNJXFM.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-QHSH7IH4.mjs";
|
|
32
32
|
import {
|
|
33
33
|
getFarmClientDataCache
|
|
34
34
|
} from "./chunk-XNPDONUH.mjs";
|
package/dist/renderer.d.mts
CHANGED
|
@@ -164,6 +164,15 @@ interface FarmRendererViteModule {
|
|
|
164
164
|
rendererOptions?: Readonly<Record<string, unknown>>;
|
|
165
165
|
}): unknown | readonly unknown[] | Promise<unknown | readonly unknown[]>;
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Per-render options Farm passes to a server renderer. A renderer that emits
|
|
169
|
+
* its own inline scripts (hydration data, streaming reveals) puts `nonce` on
|
|
170
|
+
* them; under `security.csp.nonce` any script without it is blocked.
|
|
171
|
+
*/
|
|
172
|
+
interface FarmRendererRenderOptions {
|
|
173
|
+
/** CSP nonce of the response being rendered. */
|
|
174
|
+
nonce?: string;
|
|
175
|
+
}
|
|
167
176
|
interface FarmServerRendererRuntime {
|
|
168
177
|
readonly name: string;
|
|
169
178
|
readonly Fragment: unknown;
|
|
@@ -197,14 +206,14 @@ interface FarmServerRendererRuntime {
|
|
|
197
206
|
* guessing would mean caching a per-request response as if it were shared.
|
|
198
207
|
*/
|
|
199
208
|
findStaticShellBoundary?(chunk: string): number;
|
|
200
|
-
renderToString(element: unknown): string | Promise<string>;
|
|
209
|
+
renderToString(element: unknown, options?: FarmRendererRenderOptions): string | Promise<string>;
|
|
201
210
|
/**
|
|
202
211
|
* Optional variant for renderers whose components emit document-head markup
|
|
203
212
|
* during render (e.g. <svelte:head>). `html` is the body markup exactly as
|
|
204
213
|
* renderToString would produce it; `head` is injected into the assembled
|
|
205
214
|
* document's <head>.
|
|
206
215
|
*/
|
|
207
|
-
renderToStringWithHead?(element: unknown): {
|
|
216
|
+
renderToStringWithHead?(element: unknown, options?: FarmRendererRenderOptions): {
|
|
208
217
|
html: string;
|
|
209
218
|
head: string;
|
|
210
219
|
} | Promise<{
|
|
@@ -230,7 +239,7 @@ interface FarmServerRendererRuntime {
|
|
|
230
239
|
abort?(reason?: unknown): void;
|
|
231
240
|
};
|
|
232
241
|
/** WHATWG streaming primitive used by Web-stream-capable renderers. */
|
|
233
|
-
renderToReadableStream?: (element: unknown) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
|
|
242
|
+
renderToReadableStream?: (element: unknown, options?: FarmRendererRenderOptions) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
|
|
234
243
|
}
|
|
235
244
|
declare const REACT_RENDERER: Readonly<FarmRenderer>;
|
|
236
245
|
declare function defineRenderer<const TRenderer extends FarmRenderer>(renderer: TRenderer): TRenderer;
|
|
@@ -246,4 +255,4 @@ declare function loadFarmRendererVitePlugins(renderer: FarmRenderer, root: strin
|
|
|
246
255
|
buildLifetime?: AbortSignal;
|
|
247
256
|
}): Promise<unknown[]>;
|
|
248
257
|
|
|
249
|
-
export { FARM_COMPONENT_EXTENSIONS, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmServerRendererRuntime, REACT_RENDERER, assertFarmRendererStreamingRuntime, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
|
|
258
|
+
export { FARM_COMPONENT_EXTENSIONS, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererRenderOptions, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmServerRendererRuntime, REACT_RENDERER, assertFarmRendererStreamingRuntime, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
|
package/dist/renderer.d.ts
CHANGED
|
@@ -164,6 +164,15 @@ interface FarmRendererViteModule {
|
|
|
164
164
|
rendererOptions?: Readonly<Record<string, unknown>>;
|
|
165
165
|
}): unknown | readonly unknown[] | Promise<unknown | readonly unknown[]>;
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Per-render options Farm passes to a server renderer. A renderer that emits
|
|
169
|
+
* its own inline scripts (hydration data, streaming reveals) puts `nonce` on
|
|
170
|
+
* them; under `security.csp.nonce` any script without it is blocked.
|
|
171
|
+
*/
|
|
172
|
+
interface FarmRendererRenderOptions {
|
|
173
|
+
/** CSP nonce of the response being rendered. */
|
|
174
|
+
nonce?: string;
|
|
175
|
+
}
|
|
167
176
|
interface FarmServerRendererRuntime {
|
|
168
177
|
readonly name: string;
|
|
169
178
|
readonly Fragment: unknown;
|
|
@@ -197,14 +206,14 @@ interface FarmServerRendererRuntime {
|
|
|
197
206
|
* guessing would mean caching a per-request response as if it were shared.
|
|
198
207
|
*/
|
|
199
208
|
findStaticShellBoundary?(chunk: string): number;
|
|
200
|
-
renderToString(element: unknown): string | Promise<string>;
|
|
209
|
+
renderToString(element: unknown, options?: FarmRendererRenderOptions): string | Promise<string>;
|
|
201
210
|
/**
|
|
202
211
|
* Optional variant for renderers whose components emit document-head markup
|
|
203
212
|
* during render (e.g. <svelte:head>). `html` is the body markup exactly as
|
|
204
213
|
* renderToString would produce it; `head` is injected into the assembled
|
|
205
214
|
* document's <head>.
|
|
206
215
|
*/
|
|
207
|
-
renderToStringWithHead?(element: unknown): {
|
|
216
|
+
renderToStringWithHead?(element: unknown, options?: FarmRendererRenderOptions): {
|
|
208
217
|
html: string;
|
|
209
218
|
head: string;
|
|
210
219
|
} | Promise<{
|
|
@@ -230,7 +239,7 @@ interface FarmServerRendererRuntime {
|
|
|
230
239
|
abort?(reason?: unknown): void;
|
|
231
240
|
};
|
|
232
241
|
/** WHATWG streaming primitive used by Web-stream-capable renderers. */
|
|
233
|
-
renderToReadableStream?: (element: unknown) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
|
|
242
|
+
renderToReadableStream?: (element: unknown, options?: FarmRendererRenderOptions) => ReadableStream<Uint8Array | string> | Promise<ReadableStream<Uint8Array | string>>;
|
|
234
243
|
}
|
|
235
244
|
declare const REACT_RENDERER: Readonly<FarmRenderer>;
|
|
236
245
|
declare function defineRenderer<const TRenderer extends FarmRenderer>(renderer: TRenderer): TRenderer;
|
|
@@ -246,4 +255,4 @@ declare function loadFarmRendererVitePlugins(renderer: FarmRenderer, root: strin
|
|
|
246
255
|
buildLifetime?: AbortSignal;
|
|
247
256
|
}): Promise<unknown[]>;
|
|
248
257
|
|
|
249
|
-
export { FARM_COMPONENT_EXTENSIONS, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmServerRendererRuntime, REACT_RENDERER, assertFarmRendererStreamingRuntime, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
|
|
258
|
+
export { FARM_COMPONENT_EXTENSIONS, type FarmRenderer, type FarmRendererCapabilities, type FarmRendererCapabilitiesInput, type FarmRendererClientRoot, type FarmRendererClientRuntime, type FarmRendererRenderOptions, type FarmRendererRouteLayout, type FarmRendererRouteState, type FarmRendererRuntime, type FarmRendererStreamingCapabilities, type FarmRendererStreamingPrimitives, type FarmRendererViteModule, type FarmServerRendererRuntime, REACT_RENDERER, assertFarmRendererStreamingRuntime, defineRenderer, getFarmRendererCapabilities, getFarmRendererComponentExtensions, getFarmRendererStreamingCapabilitiesForRuntime, isReactRenderer, loadFarmRendererVitePlugins, readFarmRendererWebStream, resolveFarmComponentExtensions, resolveFarmRenderer, resolveFarmRendererAppSetup, resolveFarmRendererModule };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import './client-plugins-
|
|
1
|
+
import './client-plugins-DUrIYX9B.mjs';
|
|
2
2
|
|
|
3
|
+
/** @internal Run `fn` while rendering a response that carries `nonce`. */
|
|
4
|
+
declare function _runWithFarmCspNonce<T>(nonce: string | undefined, fn: () => T): T;
|
|
3
5
|
interface FarmRequestURLOptions {
|
|
4
6
|
origin?: string | URL;
|
|
5
7
|
trustProxy?: boolean;
|
|
@@ -19,4 +21,4 @@ declare function getCurrentRequest(): Request;
|
|
|
19
21
|
*/
|
|
20
22
|
declare function _getRequestReadCount(request?: Request | undefined): number;
|
|
21
23
|
|
|
22
|
-
export { _getRequestReadCount as _, _runWithCurrentRequest as a, getCurrentRequest as g, resolveFarmWebRequestOrigin as r };
|
|
24
|
+
export { _getRequestReadCount as _, _runWithCurrentRequest as a, _runWithFarmCspNonce as b, getCurrentRequest as g, resolveFarmWebRequestOrigin as r };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import './client-plugins-
|
|
1
|
+
import './client-plugins-BvlNhGEB.js';
|
|
2
2
|
|
|
3
|
+
/** @internal Run `fn` while rendering a response that carries `nonce`. */
|
|
4
|
+
declare function _runWithFarmCspNonce<T>(nonce: string | undefined, fn: () => T): T;
|
|
3
5
|
interface FarmRequestURLOptions {
|
|
4
6
|
origin?: string | URL;
|
|
5
7
|
trustProxy?: boolean;
|
|
@@ -19,4 +21,4 @@ declare function getCurrentRequest(): Request;
|
|
|
19
21
|
*/
|
|
20
22
|
declare function _getRequestReadCount(request?: Request | undefined): number;
|
|
21
23
|
|
|
22
|
-
export { _getRequestReadCount as _, _runWithCurrentRequest as a, getCurrentRequest as g, resolveFarmWebRequestOrigin as r };
|
|
24
|
+
export { _getRequestReadCount as _, _runWithCurrentRequest as a, _runWithFarmCspNonce as b, getCurrentRequest as g, resolveFarmWebRequestOrigin as r };
|
package/dist/request.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunk6XWDE2P2cjs = require('./chunk-6XWDE2P2.cjs');
|
|
4
|
+
require('./chunk-ULASELLA.cjs');
|
|
5
5
|
require('./chunk-S3JO3N4H.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.getCurrentRequest =
|
|
8
|
+
exports.getCurrentRequest = _chunk6XWDE2P2cjs.getCurrentRequest;
|
package/dist/request.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-DgCkIdcn.mjs';
|
|
2
|
+
import './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import './lifecycle-DK06VuKP.mjs';
|
|
4
4
|
import './integration-api-0y4FXJpC.mjs';
|
|
5
5
|
import './endpoint-CCHFqyTE.mjs';
|
package/dist/request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-jF4jwx8f.js';
|
|
2
|
+
import './client-plugins-BvlNhGEB.js';
|
|
3
3
|
import './lifecycle-DK06VuKP.js';
|
|
4
4
|
import './integration-api-BPJo5oXb.js';
|
|
5
5
|
import './endpoint-CA-TNX60.js';
|
package/dist/request.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-Cgimzfbi.mjs';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.js';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-B_N8XgVu.js';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
package/dist/routes.cjs
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkTO4GJ56Kcjs = require('./chunk-TO4GJ56K.cjs');
|
|
23
23
|
require('./chunk-6QQDAAAZ.cjs');
|
|
24
24
|
require('./chunk-6V4TDWEC.cjs');
|
|
25
25
|
require('./chunk-SOR334EB.cjs');
|
|
@@ -51,4 +51,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
exports.PROGRAMMATIC_ROUTE_FILE_NAMES =
|
|
54
|
+
exports.PROGRAMMATIC_ROUTE_FILE_NAMES = _chunkTO4GJ56Kcjs.PROGRAMMATIC_ROUTE_FILE_NAMES; exports.api = _chunkTO4GJ56Kcjs.api; exports.createLayoutModuleFromProgrammaticLayout = _chunkTO4GJ56Kcjs.createLayoutModuleFromProgrammaticLayout; exports.createProgrammaticRouteModuleId = _chunkTO4GJ56Kcjs.createProgrammaticRouteModuleId; exports.createRoute = _chunkTO4GJ56Kcjs.createRoute; exports.createRouteModuleFromProgrammaticPage = _chunkTO4GJ56Kcjs.createRouteModuleFromProgrammaticPage; exports.defineRoutes = _chunkTO4GJ56Kcjs.defineRoutes; exports.getProgrammaticRouteManifest = _chunkTO4GJ56Kcjs.getProgrammaticRouteManifest; exports.getProgrammaticRouteSearchClientOptions = _chunkTO4GJ56Kcjs.getProgrammaticRouteSearchClientOptions; exports.getProgrammaticRouteSearchSchema = _chunkTO4GJ56Kcjs.getProgrammaticRouteSearchSchema; exports.isProgrammaticRouteDefinition = _chunkTO4GJ56Kcjs.isProgrammaticRouteDefinition; exports.isProgrammaticRouteManifest = _chunkTO4GJ56Kcjs.isProgrammaticRouteManifest; exports.isProgrammaticRoutesFileName = _chunkTO4GJ56Kcjs.isProgrammaticRoutesFileName; exports.layout = _chunkTO4GJ56Kcjs.layout; exports.page = _chunkTO4GJ56Kcjs.page; exports.parseProgrammaticRouteModuleId = _chunkTO4GJ56Kcjs.parseProgrammaticRouteModuleId; exports.parseProgrammaticRoutePath = _chunkTO4GJ56Kcjs.parseProgrammaticRoutePath; exports.redirect = _chunkTO4GJ56Kcjs.redirect; exports.routesBuilder = _chunkTO4GJ56Kcjs.routesBuilder; exports.scanProgrammaticPagePaths = _chunkTO4GJ56Kcjs.scanProgrammaticPagePaths;
|
package/dist/routes.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, L as LayoutProps, M as Metadata, j as FarmRouteRuntime, k as FarmRouteRegions, l as FarmRouteMaxDuration, m as FarmAppContext, o as PageProps, q as PluginContextProps, s as RouteModule, P as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, L as LayoutProps, M as Metadata, j as FarmRouteRuntime, k as FarmRouteRegions, l as FarmRouteMaxDuration, m as FarmAppContext, o as PageProps, q as PluginContextProps, s as RouteModule, P as ParsedRoute } from './client-plugins-DUrIYX9B.mjs';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
package/dist/routes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, L as LayoutProps, M as Metadata, j as FarmRouteRuntime, k as FarmRouteRegions, l as FarmRouteMaxDuration, m as FarmAppContext, o as PageProps, q as PluginContextProps, s as RouteModule, P as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, L as LayoutProps, M as Metadata, j as FarmRouteRuntime, k as FarmRouteRegions, l as FarmRouteMaxDuration, m as FarmAppContext, o as PageProps, q as PluginContextProps, s as RouteModule, P as ParsedRoute } from './client-plugins-BvlNhGEB.js';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
package/dist/routes.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as EndpointFailure } from './endpoint-CCHFqyTE.mjs';
|
|
2
2
|
import { P as PluginRoutesFactory } from './integration-api-0y4FXJpC.mjs';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.mjs';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-DUrIYX9B.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as EndpointFailure } from './endpoint-CA-TNX60.js';
|
|
2
2
|
import { P as PluginRoutesFactory } from './integration-api-BPJo5oXb.js';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.js';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-BvlNhGEB.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
package/dist/server-fn.cjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk5OKBARDNcjs = require('./chunk-5OKBARDN.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ require('./chunk-LIUGYUX3.cjs');
|
|
|
24
24
|
require('./chunk-NYJMY3JA.cjs');
|
|
25
25
|
require('./chunk-ZEG3OPIB.cjs');
|
|
26
26
|
require('./chunk-OX6O6WVA.cjs');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-ULASELLA.cjs');
|
|
28
28
|
require('./chunk-NO3WWW3N.cjs');
|
|
29
29
|
require('./chunk-S3JO3N4H.cjs');
|
|
30
30
|
|
|
@@ -42,4 +42,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
exports.FARM_SERVER_FN_FAILURE_SYMBOL = _chunkT5OJPTVNcjs.FARM_SERVER_FN_FAILURE_SYMBOL; exports.FARM_SERVER_FN_SYMBOL =
|
|
45
|
+
exports.FARM_SERVER_FN_FAILURE_SYMBOL = _chunkT5OJPTVNcjs.FARM_SERVER_FN_FAILURE_SYMBOL; exports.FARM_SERVER_FN_SYMBOL = _chunk5OKBARDNcjs.FARM_SERVER_FN_SYMBOL; exports.ServerActionError = _chunkT5OJPTVNcjs.ServerActionError; exports.ServerFnFailure = _chunkT5OJPTVNcjs.ServerFnFailure; exports._attachServerFunctionDescriptor = _chunk5OKBARDNcjs._attachServerFunctionDescriptor; exports._describeServerFunction = _chunk5OKBARDNcjs._describeServerFunction; exports._invokeServerFunction = _chunk5OKBARDNcjs._invokeServerFunction; exports._parseServerFnSchema = _chunk5OKBARDNcjs._parseServerFnSchema; exports._runServerFunctionForCaller = _chunk5OKBARDNcjs._runServerFunctionForCaller; exports.createServerFn = _chunk5OKBARDNcjs.createServerFn; exports.createServerFnTransportError = _chunkT5OJPTVNcjs.createServerFnTransportError; exports.createServerFunctionDescriptor = _chunk5OKBARDNcjs.createServerFunctionDescriptor; exports.createServerMiddleware = _chunk5OKBARDNcjs.createServerMiddleware; exports.isServerFnFailure = _chunkT5OJPTVNcjs.isServerFnFailure;
|
package/dist/server-fn.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
createServerFn,
|
|
9
9
|
createServerFunctionDescriptor,
|
|
10
10
|
createServerMiddleware
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-W36M2BQ4.mjs";
|
|
12
12
|
import {
|
|
13
13
|
FARM_SERVER_FN_FAILURE_SYMBOL,
|
|
14
14
|
ServerActionError,
|
|
@@ -24,7 +24,7 @@ import "./chunk-C4NCTZLM.mjs";
|
|
|
24
24
|
import "./chunk-CNOQY6Z7.mjs";
|
|
25
25
|
import "./chunk-4SIYUGRY.mjs";
|
|
26
26
|
import "./chunk-CBBLJMR5.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
28
28
|
import "./chunk-55YI3RRB.mjs";
|
|
29
29
|
import "./chunk-LPEX4YW6.mjs";
|
|
30
30
|
export {
|
package/dist/server-plugins.cjs
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJCYYXBAJcjs = require('./chunk-JCYYXBAJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkOZVEHHMAcjs = require('./chunk-OZVEHHMA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkVXEEATVDcjs = require('./chunk-VXEEATVD.cjs');
|
|
13
13
|
require('./chunk-YX3DBN4M.cjs');
|
|
14
14
|
require('./chunk-DVM4FKZL.cjs');
|
|
15
15
|
require('./chunk-FJ3M4CUX.cjs');
|
|
16
16
|
require('./chunk-OX6O6WVA.cjs');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-6XWDE2P2.cjs');
|
|
18
18
|
require('./chunk-US2QVW3E.cjs');
|
|
19
|
-
require('./chunk-
|
|
19
|
+
require('./chunk-ULASELLA.cjs');
|
|
20
20
|
require('./chunk-BIDYX3SL.cjs');
|
|
21
21
|
require('./chunk-I57LW5VZ.cjs');
|
|
22
22
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -28,4 +28,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.createCompressionPlugin = _chunkOZVEHHMAcjs.createCompressionPlugin; exports.createEnvPlugin =
|
|
31
|
+
exports.createCompressionPlugin = _chunkOZVEHHMAcjs.createCompressionPlugin; exports.createEnvPlugin = _chunkJCYYXBAJcjs.createEnvPlugin; exports.createHeadersPlugin = _chunkJCYYXBAJcjs.createHeadersPlugin; exports.createLoggerPlugin = _chunkJCYYXBAJcjs.createLoggerPlugin; exports.createRedirectsPlugin = _chunkJCYYXBAJcjs.createRedirectsPlugin; exports.createRewritesPlugin = _chunkVXEEATVDcjs.createRewritesPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cy as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cz as HeaderConfig, cA as RewriteConfig } from './client-plugins-
|
|
2
|
-
export { bW as FarmPluginLifecycle, c3 as FarmPluginRuntimeEndpoint, c4 as FarmPluginRuntimeEndpointEvent, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { cy as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cz as HeaderConfig, cA as RewriteConfig } from './client-plugins-DUrIYX9B.mjs';
|
|
2
|
+
export { bW as FarmPluginLifecycle, c3 as FarmPluginRuntimeEndpoint, c4 as FarmPluginRuntimeEndpointEvent, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
5
5
|
import './lifecycle-DK06VuKP.mjs';
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cy as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cz as HeaderConfig, cA as RewriteConfig } from './client-plugins-
|
|
2
|
-
export { bW as FarmPluginLifecycle, c3 as FarmPluginRuntimeEndpoint, c4 as FarmPluginRuntimeEndpointEvent, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { cy as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cz as HeaderConfig, cA as RewriteConfig } from './client-plugins-BvlNhGEB.js';
|
|
2
|
+
export { bW as FarmPluginLifecycle, c3 as FarmPluginRuntimeEndpoint, c4 as FarmPluginRuntimeEndpointEvent, bX as FarmRequestPluginContext, bY as FarmRequestStore } from './client-plugins-BvlNhGEB.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|
package/dist/server-plugins.mjs
CHANGED
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
createHeadersPlugin,
|
|
4
4
|
createLoggerPlugin,
|
|
5
5
|
createRedirectsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CNNOLE4O.mjs";
|
|
7
7
|
import {
|
|
8
8
|
createCompressionPlugin
|
|
9
9
|
} from "./chunk-XJJVLDM6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
createRewritesPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-INL3THCU.mjs";
|
|
13
13
|
import "./chunk-BRYHOB4X.mjs";
|
|
14
14
|
import "./chunk-SAXPH6G5.mjs";
|
|
15
15
|
import "./chunk-Z3HATSKO.mjs";
|
|
16
16
|
import "./chunk-CBBLJMR5.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-POSPE3IO.mjs";
|
|
18
18
|
import "./chunk-CQ6OSQ3K.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
20
20
|
import "./chunk-L3KT7IXV.mjs";
|
|
21
21
|
import "./chunk-4RB44K6Z.mjs";
|
|
22
22
|
import "./chunk-55YI3RRB.mjs";
|
package/dist/server-query.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk3LOLJTFVcjs = require('./chunk-3LOLJTFV.cjs');
|
|
5
|
+
require('./chunk-5OKBARDN.cjs');
|
|
6
6
|
require('./chunk-SK35NQKK.cjs');
|
|
7
7
|
require('./chunk-T5OJPTVN.cjs');
|
|
8
8
|
require('./chunk-YWN746US.cjs');
|
|
@@ -13,10 +13,10 @@ require('./chunk-LIUGYUX3.cjs');
|
|
|
13
13
|
require('./chunk-NYJMY3JA.cjs');
|
|
14
14
|
require('./chunk-ZEG3OPIB.cjs');
|
|
15
15
|
require('./chunk-OX6O6WVA.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-ULASELLA.cjs');
|
|
17
17
|
require('./chunk-NO3WWW3N.cjs');
|
|
18
18
|
require('./chunk-S3JO3N4H.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.FARM_SERVER_QUERY_SYMBOL =
|
|
22
|
+
exports.FARM_SERVER_QUERY_SYMBOL = _chunk3LOLJTFVcjs.FARM_SERVER_QUERY_SYMBOL; exports.createServerQuery = _chunk3LOLJTFVcjs.createServerQuery;
|
package/dist/server-query.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FARM_SERVER_QUERY_SYMBOL,
|
|
3
3
|
createServerQuery
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HXRYZWTA.mjs";
|
|
5
|
+
import "./chunk-W36M2BQ4.mjs";
|
|
6
6
|
import "./chunk-KGB5UXJJ.mjs";
|
|
7
7
|
import "./chunk-4WVJLURN.mjs";
|
|
8
8
|
import "./chunk-MSSFIQGM.mjs";
|
|
@@ -13,7 +13,7 @@ import "./chunk-C4NCTZLM.mjs";
|
|
|
13
13
|
import "./chunk-CNOQY6Z7.mjs";
|
|
14
14
|
import "./chunk-4SIYUGRY.mjs";
|
|
15
15
|
import "./chunk-CBBLJMR5.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
17
17
|
import "./chunk-55YI3RRB.mjs";
|
|
18
18
|
import "./chunk-LPEX4YW6.mjs";
|
|
19
19
|
export {
|