@farm.js/core 0.1.31 → 0.1.34
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/README.md +1 -1
- package/dist/agent-runtime.cjs +69 -14
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +58 -3
- package/dist/api/route-manager.cjs +16 -13
- package/dist/api/route-manager.d.mts +1 -1
- package/dist/api/route-manager.d.ts +1 -1
- package/dist/api/route-manager.mjs +15 -12
- package/dist/api/runtime.cjs +9 -7
- package/dist/api/runtime.d.mts +1 -1
- package/dist/api/runtime.d.ts +1 -1
- package/dist/api/runtime.mjs +8 -6
- package/dist/api.cjs +19 -16
- package/dist/api.d.mts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.mjs +18 -15
- package/dist/{app-sUJ3jnTZ.d.ts → app-DgotYGbq.d.ts} +3 -3
- package/dist/app-markdown.cjs +8 -6
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +7 -5
- package/dist/{app-DAuUTIZf.d.mts → app-q4rmZlXK.d.mts} +3 -3
- package/dist/cache.cjs +2 -2
- package/dist/cache.d.mts +10 -1
- package/dist/cache.d.ts +10 -1
- package/dist/cache.mjs +1 -1
- package/dist/{chunk-YZTASLPQ.cjs → chunk-27ZWSI3W.cjs} +2 -2
- package/dist/{chunk-WBIH66JK.mjs → chunk-2ELDTQRN.mjs} +5 -2
- package/dist/{chunk-K7CELQLK.cjs → chunk-2F2ER724.cjs} +54 -29
- package/dist/{chunk-NRVGEI5I.mjs → chunk-2NNMOPDN.mjs} +4 -210
- package/dist/chunk-2NQQ5H5G.cjs +86 -0
- package/dist/{chunk-IFI5FXEZ.cjs → chunk-36MK5YCW.cjs} +334 -163
- package/dist/chunk-3BU22U3M.cjs +237 -0
- package/dist/{chunk-MM5D6VLP.mjs → chunk-3KZS4SUS.mjs} +33 -14
- package/dist/chunk-3SDFA7UF.cjs +701 -0
- package/dist/{chunk-4IEPYMHF.mjs → chunk-3UEVPCGW.mjs} +1 -1
- package/dist/{chunk-5LJCOSKT.mjs → chunk-3VSKDFAT.mjs} +1 -1
- package/dist/{chunk-5HGR3W6O.mjs → chunk-5SJWVY6R.mjs} +8 -0
- package/dist/{chunk-X7WVQMIB.mjs → chunk-657WJNRY.mjs} +10 -4
- package/dist/{chunk-MKMBQSNQ.mjs → chunk-6VVL3MHY.mjs} +3 -3
- package/dist/{chunk-QZRVZSPN.cjs → chunk-77GNHH2Z.cjs} +3 -3
- package/dist/{chunk-KZLND3D2.cjs → chunk-7BT4H4P7.cjs} +7 -5
- package/dist/{chunk-A777V5WU.cjs → chunk-7M52YUMY.cjs} +2 -2
- package/dist/{chunk-VUMAE7NC.mjs → chunk-7Y6ZNFPX.mjs} +81 -30
- package/dist/{chunk-MXDTKXO6.cjs → chunk-A5FGU2WU.cjs} +74 -23
- package/dist/{chunk-7QOCTYBS.mjs → chunk-AGC75XAE.mjs} +37 -1
- package/dist/{chunk-4ZQQL4IU.mjs → chunk-AHGECQEW.mjs} +1 -1
- package/dist/{chunk-RG3ZOTG5.cjs → chunk-AI7QMY7O.cjs} +10 -3
- package/dist/{chunk-O3DTUAX2.mjs → chunk-AQZFOP7S.mjs} +6 -77
- package/dist/{chunk-WNLBF77X.cjs → chunk-ATK2R4CH.cjs} +14 -12
- package/dist/{chunk-SORB3MAR.cjs → chunk-AWC4VUZL.cjs} +17 -17
- package/dist/{chunk-YMCXWPWK.mjs → chunk-BCMSYSN2.mjs} +4 -1
- package/dist/{chunk-FYRBX5IY.cjs → chunk-BTAG7LI7.cjs} +2 -2
- package/dist/{chunk-I6XDAKWQ.mjs → chunk-BTHHUD7Q.mjs} +14 -0
- package/dist/chunk-C4SPBWFM.cjs +26 -0
- package/dist/{chunk-JATSG2ZO.mjs → chunk-CLJYVZAD.mjs} +4 -2
- package/dist/{chunk-J3LOGE4T.cjs → chunk-DQQOKWYA.cjs} +5 -5
- package/dist/{chunk-JLRDISQL.cjs → chunk-DZ4DTRJ5.cjs} +7 -7
- package/dist/chunk-E5GNDG5F.mjs +701 -0
- package/dist/{chunk-E76XC6ZG.mjs → chunk-EZDQRNQ7.mjs} +2 -2
- package/dist/{chunk-TOVMYGYW.mjs → chunk-F2SE2VDO.mjs} +1 -1
- package/dist/{chunk-BSPQVJ4A.mjs → chunk-FDR64H6B.mjs} +13 -0
- package/dist/{chunk-5OVTOKGH.cjs → chunk-FFFW3OQ7.cjs} +2 -2
- package/dist/{chunk-D4JE5NNV.cjs → chunk-FNO7A7CM.cjs} +5 -5
- package/dist/chunk-FZ6YYU2W.mjs +65 -0
- package/dist/{chunk-PZNCMPJF.cjs → chunk-G26MUMKL.cjs} +14 -8
- package/dist/{chunk-IXUY2F5U.mjs → chunk-GCXWJJKH.mjs} +4 -7
- package/dist/{chunk-JLCQGPXE.mjs → chunk-GNSDTTWZ.mjs} +50 -61
- package/dist/{chunk-TEN4FIZU.mjs → chunk-GOABMOX3.mjs} +151 -3
- package/dist/{chunk-HBTUGXHS.cjs → chunk-HLJ6MBUZ.cjs} +7 -4
- package/dist/{chunk-GZYH4OER.mjs → chunk-HR5KPHC2.mjs} +1 -1
- package/dist/{chunk-ZCU4NZ3M.cjs → chunk-IE7XCHH3.cjs} +4 -4
- package/dist/{chunk-I26CZYPV.cjs → chunk-IHNIDL6H.cjs} +50 -7
- package/dist/{chunk-2FQHH5SC.mjs → chunk-IHNMMXHV.mjs} +49 -24
- package/dist/{chunk-VHJGDMCG.cjs → chunk-IWZKTWHZ.cjs} +2 -2
- package/dist/{chunk-DGXN3L4D.mjs → chunk-JDPAKVS4.mjs} +4 -4
- package/dist/chunk-JG6DJF5A.mjs +238 -0
- package/dist/{chunk-5TISYEQF.mjs → chunk-JM5XPKWH.mjs} +10 -3
- package/dist/{chunk-BJJATPEC.mjs → chunk-KN7K4VQN.mjs} +1 -1
- package/dist/{chunk-WPYFSQKK.cjs → chunk-KNBBQHO2.cjs} +15 -1
- package/dist/{chunk-XWAWFQFS.cjs → chunk-KXWRO25S.cjs} +7 -4
- package/dist/{chunk-QG5HNS7P.mjs → chunk-LHODW25H.mjs} +2 -2
- package/dist/{chunk-BXFWA23T.mjs → chunk-LMJ7VRHZ.mjs} +3 -3
- package/dist/{chunk-WG2KHOMN.mjs → chunk-LR5QSC2P.mjs} +380 -209
- package/dist/chunk-LSKZMJMP.cjs +65 -0
- package/dist/{chunk-2N5PX3LS.mjs → chunk-LYV44OIR.mjs} +7 -1
- package/dist/{chunk-5MKEDGLD.cjs → chunk-M64YUMA4.cjs} +11 -6
- package/dist/{chunk-EXLKRR4U.cjs → chunk-MIDIZJZC.cjs} +12 -12
- package/dist/{chunk-ES4B2IXW.cjs → chunk-MOKLYNHV.cjs} +2 -2
- package/dist/{chunk-IV6CQY7O.mjs → chunk-MSSFIQGM.mjs} +63 -13
- package/dist/{chunk-KH7BN726.cjs → chunk-N4UOK6ZI.cjs} +8 -2
- package/dist/{chunk-6VYZOPOT.mjs → chunk-NGVORZVZ.mjs} +1 -1
- package/dist/{chunk-JNGIWIY6.mjs → chunk-NPC7VWJE.mjs} +2 -2
- package/dist/{chunk-ILWLPEVO.mjs → chunk-NRSN7G7E.mjs} +2 -2
- package/dist/{chunk-AHAJGAYD.mjs → chunk-O27L4YAA.mjs} +1 -1
- package/dist/{chunk-VYZSOYR4.cjs → chunk-ODBZYBAB.cjs} +1 -1
- package/dist/{chunk-YVGAEAA5.cjs → chunk-P64MIF5B.cjs} +154 -6
- package/dist/{chunk-DFLLARUK.cjs → chunk-PQDFUSXD.cjs} +14 -14
- package/dist/{chunk-F6XEGFHO.mjs → chunk-PXKIEXZD.mjs} +10 -0
- package/dist/{chunk-S5GDHOE4.mjs → chunk-PZNL3WEG.mjs} +48 -5
- package/dist/{chunk-FV45CKBC.mjs → chunk-QCFBDFRS.mjs} +1 -1
- package/dist/{chunk-75BRBIFP.cjs → chunk-QCVE2OCI.cjs} +5 -8
- package/dist/{chunk-6ZCMSZ5U.mjs → chunk-QE6VAKLT.mjs} +1 -1
- package/dist/{chunk-75DYEVXI.cjs → chunk-QGYRXFU2.cjs} +9 -9
- package/dist/{chunk-CTV2TTNP.cjs → chunk-QJ3J6MZT.cjs} +16 -87
- package/dist/{chunk-O6XNAMBV.mjs → chunk-QLQ32WC4.mjs} +8 -3
- package/dist/{chunk-IMB4PIAR.cjs → chunk-SJVKK4JE.cjs} +839 -420
- package/dist/{chunk-3FCFQP5V.cjs → chunk-TA5G2HWD.cjs} +21 -21
- package/dist/{chunk-Z5HIWVDP.cjs → chunk-TDFPACVX.cjs} +62 -73
- package/dist/{chunk-ND224OE2.cjs → chunk-TKSCR644.cjs} +34 -15
- package/dist/{chunk-UAFSBWNT.mjs → chunk-U4PTAHW3.mjs} +64 -13
- package/dist/{chunk-ZHVYQL3H.cjs → chunk-U74I55WB.cjs} +86 -35
- package/dist/chunk-UBO4SGH4.mjs +86 -0
- package/dist/{chunk-IQXFRNY2.cjs → chunk-UFDAAQFX.cjs} +2 -2
- package/dist/{chunk-X7KZBF63.cjs → chunk-UX5S4JEO.cjs} +40 -4
- package/dist/{chunk-5ZSWG4UX.cjs → chunk-UXFQ3UDA.cjs} +14 -1
- package/dist/{chunk-L4DVIHOC.mjs → chunk-VCCUOMQN.mjs} +1 -1
- package/dist/{chunk-4V7GIE2U.mjs → chunk-VHANUNEG.mjs} +2 -2
- package/dist/{chunk-FXUUWYAX.cjs → chunk-VKNHTSAP.cjs} +10 -0
- package/dist/{chunk-2AKFKCHA.mjs → chunk-W7LF2J2S.mjs} +1 -1
- package/dist/{chunk-MNUGPHLN.mjs → chunk-WNNYOOIB.mjs} +5 -3
- package/dist/{chunk-VA62MHFV.mjs → chunk-X242HVD5.mjs} +1 -1
- package/dist/{chunk-UJ2C4ICS.cjs → chunk-XJXBIP67.cjs} +4 -4
- package/dist/{chunk-6L6DQR5W.mjs → chunk-XV5DJTBX.mjs} +539 -121
- package/dist/{chunk-KJ2TIHZZ.cjs → chunk-XXJU7FCC.cjs} +3 -2
- package/dist/{chunk-DYEJQTDN.cjs → chunk-YSCV4SJF.cjs} +4 -4
- package/dist/{chunk-2SDO73HK.cjs → chunk-YWN746US.cjs} +64 -14
- package/dist/chunk-Z2HLU4IX.cjs +238 -0
- package/dist/{chunk-2FXWWUE5.cjs → chunk-Z2YLTERK.cjs} +4 -4
- package/dist/{chunk-CUMINO7Z.cjs → chunk-ZHPHJPQP.cjs} +4 -4
- package/dist/{chunk-FJZ3DQLK.mjs → chunk-ZKP7C2B6.mjs} +4 -4
- package/dist/{chunk-JBC2FKRW.mjs → chunk-ZUSJDQ2Q.mjs} +2 -1
- package/dist/{client-plugins-BX2ptm4H.d.mts → client-plugins-CLObcuCq.d.mts} +26 -2
- package/dist/{client-plugins-BmxM5KW_.d.ts → client-plugins-DZjHC4Mi.d.ts} +26 -2
- 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-EWRDHCD5.cjs → devtools-HU6Y2MNV.cjs} +11 -9
- package/dist/{devtools-BPBCYOU6.mjs → devtools-RNXCTS4R.mjs} +10 -8
- package/dist/docs.cjs +13 -11
- package/dist/docs.d.mts +5 -0
- package/dist/docs.d.ts +5 -0
- package/dist/docs.mjs +12 -10
- package/dist/environment/vite.cjs +2 -2
- package/dist/environment/vite.mjs +1 -1
- package/dist/headers.cjs +4 -4
- package/dist/headers.mjs +3 -3
- package/dist/i18n/client.cjs +14 -13
- package/dist/i18n/client.mjs +5 -4
- package/dist/i18n/index.cjs +3 -2
- package/dist/i18n/index.mjs +2 -1
- package/dist/i18n/server.cjs +6 -5
- package/dist/i18n/server.mjs +5 -4
- package/dist/image/server.cjs +2 -2
- package/dist/image/server.mjs +1 -1
- package/dist/image/sharp.cjs +9 -9
- package/dist/image/sharp.mjs +1 -1
- package/dist/index.cjs +67 -55
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.mjs +70 -58
- package/dist/integrations.cjs +6 -3
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +7 -4
- package/dist/internal/app-markdown-runtime.cjs +7 -5
- package/dist/internal/app-markdown-runtime.d.mts +14 -3
- package/dist/internal/app-markdown-runtime.d.ts +14 -3
- package/dist/internal/app-markdown-runtime.mjs +6 -4
- package/dist/internal/build-runtime.cjs +38 -35
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +37 -34
- package/dist/internal/cli-runtime.cjs +20 -17
- package/dist/internal/cli-runtime.mjs +19 -16
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +4 -2
- package/dist/internal/client-runtime.d.mts +9 -1
- package/dist/internal/client-runtime.d.ts +9 -1
- package/dist/internal/client-runtime.mjs +3 -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 +11 -9
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +10 -8
- package/dist/internal/infra-analytics-runtime.cjs +4 -4
- package/dist/internal/infra-analytics-runtime.mjs +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +20 -14
- package/dist/internal/production-runtime.d.mts +115 -8
- package/dist/internal/production-runtime.d.ts +115 -8
- package/dist/internal/production-runtime.mjs +19 -13
- package/dist/internal/request-cookies.cjs +4 -2
- package/dist/internal/request-cookies.d.mts +9 -1
- package/dist/internal/request-cookies.d.ts +9 -1
- package/dist/internal/request-cookies.mjs +3 -1
- package/dist/markdown.cjs +4 -4
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +3 -3
- package/dist/{metadata-DsEaK7mQ.d.mts → metadata-2HSU2i_w.d.mts} +1 -1
- package/dist/{metadata-fwZ3gfG6.d.ts → metadata-Cjs8JMRM.d.ts} +1 -1
- package/dist/middleware.cjs +18 -8
- package/dist/middleware.d.mts +24 -5
- package/dist/middleware.d.ts +24 -5
- package/dist/middleware.mjs +18 -8
- package/dist/navigation.cjs +6 -6
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +5 -5
- package/dist/{nitro-NAKCRVHX.mjs → nitro-4XGPNIK4.mjs} +3 -3
- package/dist/{nitro-VYDZGYFY.cjs → nitro-HSAQFXSS.cjs} +4 -4
- package/dist/plugin.cjs +33 -30
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.mjs +32 -29
- package/dist/{production-runtime-DNkpFnmg.d.ts → production-runtime-BU5ETAK9.d.ts} +8 -1
- package/dist/{production-runtime-Baqgwtvc.d.mts → production-runtime-CysZl3EV.d.mts} +8 -1
- package/dist/query/client.cjs +7 -7
- package/dist/query/client.mjs +3 -3
- package/dist/{render-plan-DhwQnmmX.d.mts → render-plan-CKr4ltOd.d.mts} +1 -1
- package/dist/{render-plan-rkIK9wd9.d.ts → render-plan-D72O1qm4.d.ts} +1 -1
- package/dist/renderer-client.cjs +39 -19
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer-client.mjs +28 -8
- package/dist/{request-CFy1BltJ.d.mts → request-Be83WafN.d.mts} +7 -2
- package/dist/{request-BcY4RYPC.d.ts → request-DbyOYI2j.d.ts} +7 -2
- package/dist/request.cjs +2 -2
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering-BkS0TBlB.d.mts → route-rendering-BG56SzvJ.d.mts} +1 -1
- package/dist/{route-rendering-D4XpMjam.d.ts → route-rendering-CtVMpV-k.d.ts} +1 -1
- package/dist/{router-C4zPlC3V.d.mts → router-ALUvm8gC.d.mts} +1 -1
- package/dist/{router-Cq7BcZxg.d.ts → router-D94-SDlW.d.ts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +2 -2
- package/dist/server-fn.cjs +3 -3
- package/dist/server-fn.mjs +2 -2
- package/dist/server-plugins.cjs +4 -4
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server-plugins.mjs +3 -3
- package/dist/server-query-client.cjs +3 -3
- package/dist/server-query-client.mjs +2 -2
- package/dist/server-query.cjs +4 -4
- package/dist/server-query.mjs +3 -3
- package/dist/server.cjs +60 -57
- package/dist/server.d.mts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.mjs +37 -34
- package/dist/{spa-router-B1HI3X9k.d.ts → spa-router-CxK3USIz.d.ts} +2 -2
- package/dist/{spa-router-DzPZH-AO.d.mts → spa-router-DbxNRKOB.d.mts} +2 -2
- package/dist/testing.cjs +19 -17
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +16 -14
- package/dist/theme/server.cjs +4 -3
- package/dist/theme/server.mjs +3 -2
- package/dist/{utils-DMD1Hzta.d.ts → utils-311Y8eoK.d.ts} +1 -1
- package/dist/{utils-CEBktlBG.d.mts → utils-4wVRcpOw.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +33 -30
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +32 -29
- package/package.json +2 -2
- package/dist/chunk-22GUSVNJ.cjs +0 -351
- package/dist/chunk-SWN467MP.cjs +0 -18
- package/dist/chunk-XGC343EY.cjs +0 -443
- package/dist/chunk-ZSH2Y4LN.mjs +0 -351
- /package/dist/{chunk-SUIBNSNO.cjs → chunk-SJNMVDDF.cjs} +0 -0
- /package/dist/{chunk-LNZ7JZUS.mjs → chunk-UDNPLXW7.mjs} +0 -0
package/dist/renderer-client.cjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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 _chunkYSCV4SJFcjs = require('./chunk-YSCV4SJF.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
var _chunkN4UOK6ZIcjs = require('./chunk-N4UOK6ZI.cjs');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
@@ -21,13 +22,13 @@ require('./chunk-PCOTGFSM.cjs');
|
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
|
|
24
|
-
var
|
|
25
|
+
var _chunkATK2R4CHcjs = require('./chunk-ATK2R4CH.cjs');
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
var
|
|
29
|
+
var _chunkFFFW3OQ7cjs = require('./chunk-FFFW3OQ7.cjs');
|
|
29
30
|
require('./chunk-R5A5KNVX.cjs');
|
|
30
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-C4SPBWFM.cjs');
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
var _chunk63H6BKXGcjs = require('./chunk-63H6BKXG.cjs');
|
|
@@ -35,7 +36,8 @@ require('./chunk-J7FSKED3.cjs');
|
|
|
35
36
|
require('./chunk-SK35NQKK.cjs');
|
|
36
37
|
|
|
37
38
|
|
|
38
|
-
var
|
|
39
|
+
var _chunkQCVE2OCIcjs = require('./chunk-QCVE2OCI.cjs');
|
|
40
|
+
require('./chunk-AI7QMY7O.cjs');
|
|
39
41
|
require('./chunk-3LUF2PE2.cjs');
|
|
40
42
|
require('./chunk-R5JIFR6B.cjs');
|
|
41
43
|
require('./chunk-C5GUTBZK.cjs');
|
|
@@ -62,7 +64,7 @@ var _chunkS3JO3N4Hcjs = require('./chunk-S3JO3N4H.cjs');
|
|
|
62
64
|
function createRendererRouter(options = {}) {
|
|
63
65
|
const basePath = options.basePath === void 0 ? _chunkI57LW5VZcjs.getFarmBasePath.call(void 0, ) : _chunkI57LW5VZcjs.normalizeFarmBasePath.call(void 0, options.basePath);
|
|
64
66
|
const matcher = _optionalChain([options, 'access', _ => _.routes, 'optionalAccess', _2 => _2.length]) ? _chunkSU7MH53Pcjs.createFarmRouter.call(void 0, [...options.routes]) : null;
|
|
65
|
-
const router =
|
|
67
|
+
const router = _chunkATK2R4CHcjs.getRouter.call(void 0, );
|
|
66
68
|
let snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
67
69
|
const read = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => {
|
|
68
70
|
snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
@@ -78,7 +80,7 @@ function createRendererRouter(options = {}) {
|
|
|
78
80
|
listener();
|
|
79
81
|
}, "notify");
|
|
80
82
|
const unsubscribeNavigation = router.subscribeNavigation(notify);
|
|
81
|
-
const unsubscribeHistory =
|
|
83
|
+
const unsubscribeHistory = _chunkATK2R4CHcjs.subscribeHistoryChange.call(void 0, notify);
|
|
82
84
|
read();
|
|
83
85
|
return () => {
|
|
84
86
|
unsubscribeNavigation();
|
|
@@ -199,19 +201,37 @@ function createRendererAction(target, options = {}) {
|
|
|
199
201
|
}
|
|
200
202
|
_chunkS3JO3N4Hcjs.__name.call(void 0, createRendererAction, "createRendererAction");
|
|
201
203
|
function createRendererQuery(query, input, options = {}) {
|
|
204
|
+
if (!_chunkN4UOK6ZIcjs.isFarmServerQueryBrowserRuntime.call(void 0, )) {
|
|
205
|
+
const snapshot = {
|
|
206
|
+
data: void 0,
|
|
207
|
+
error: null,
|
|
208
|
+
status: "idle",
|
|
209
|
+
pending: false,
|
|
210
|
+
fetching: false,
|
|
211
|
+
stale: true
|
|
212
|
+
};
|
|
213
|
+
return {
|
|
214
|
+
getSnapshot: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => snapshot, "getSnapshot"),
|
|
215
|
+
subscribe: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => () => {
|
|
216
|
+
}, "subscribe"),
|
|
217
|
+
refetch: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => _chunkN4UOK6ZIcjs.fetchServerQuery.call(void 0, query, input), "refetch"),
|
|
218
|
+
dispose() {
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
}
|
|
202
222
|
const cache = _chunk63H6BKXGcjs.getFarmClientDataCache.call(void 0, );
|
|
203
|
-
const key =
|
|
223
|
+
const key = _chunkN4UOK6ZIcjs.createServerQueryCallKey.call(void 0, query, input);
|
|
204
224
|
const listeners = /* @__PURE__ */ new Set();
|
|
205
225
|
let unsubscribeCache;
|
|
206
226
|
let cleanupBrowser;
|
|
207
|
-
const run = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (force = false) =>
|
|
227
|
+
const run = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (force = false) => _chunkN4UOK6ZIcjs.fetchServerQuery.call(void 0, query, input, { ...options, force }), "run");
|
|
208
228
|
const ensureStarted = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => {
|
|
209
229
|
if (options.enabled === false || unsubscribeCache) return;
|
|
210
230
|
unsubscribeCache = cache.subscribe(key, () => {
|
|
211
231
|
for (const listener of listeners) listener();
|
|
212
232
|
});
|
|
213
233
|
if (!cache.get(key) || cache.isStale(key)) void run().catch(() => void 0);
|
|
214
|
-
cleanupBrowser =
|
|
234
|
+
cleanupBrowser = _chunkN4UOK6ZIcjs.attachRevalidationListeners.call(void 0,
|
|
215
235
|
() => {
|
|
216
236
|
if (cache.isStale(key)) void run().catch(() => void 0);
|
|
217
237
|
},
|
|
@@ -261,17 +281,17 @@ function createRendererTheme() {
|
|
|
261
281
|
_chunkS3JO3N4Hcjs.__name.call(void 0, createRendererTheme, "createRendererTheme");
|
|
262
282
|
function createRendererI18n() {
|
|
263
283
|
return {
|
|
264
|
-
getSnapshot:
|
|
265
|
-
subscribe:
|
|
266
|
-
t:
|
|
284
|
+
getSnapshot: _chunkFFFW3OQ7cjs.getFarmI18nClientState,
|
|
285
|
+
subscribe: _chunkFFFW3OQ7cjs.subscribeFarmI18n,
|
|
286
|
+
t: _chunkYSCV4SJFcjs.createFarmClientTranslator.call(void 0, ),
|
|
267
287
|
setLocale(locale) {
|
|
268
|
-
const snapshot =
|
|
288
|
+
const snapshot = _chunkFFFW3OQ7cjs.getFarmI18nClientState.call(void 0, );
|
|
269
289
|
if (!snapshot) throw new Error("Farm i18n is not configured or has not been hydrated.");
|
|
270
290
|
if (!snapshot.locales.includes(locale)) {
|
|
271
291
|
throw new Error(`Unsupported Farm i18n locale "${locale}".`);
|
|
272
292
|
}
|
|
273
293
|
if (typeof window === "undefined") return;
|
|
274
|
-
document.cookie =
|
|
294
|
+
document.cookie = _chunkQCVE2OCIcjs.createFarmLocaleCookie.call(void 0, locale, { cookie: snapshot.cookie });
|
|
275
295
|
const href = `${window.location.pathname}${window.location.search}${window.location.hash}`;
|
|
276
296
|
window.location.assign(_chunkBIDYX3SLcjs.localizeFarmHref.call(void 0, href, locale, snapshot));
|
|
277
297
|
}
|
|
@@ -290,13 +310,13 @@ function readRendererRouterSnapshot(basePath, matcher, navigation) {
|
|
|
290
310
|
}
|
|
291
311
|
const url = new URL(window.location.href);
|
|
292
312
|
const pathname = _chunkI57LW5VZcjs.stripFarmBasePath.call(void 0, url.pathname, basePath);
|
|
293
|
-
const i18n =
|
|
294
|
-
const routePathname = i18n ? _chunkBIDYX3SLcjs.stripFarmLocaleFromPathname.call(void 0, pathname, i18n) : pathname;
|
|
313
|
+
const i18n = _chunkFFFW3OQ7cjs.getFarmI18nClientState.call(void 0, );
|
|
314
|
+
const routePathname = i18n ? _chunkBIDYX3SLcjs.stripFarmLocaleFromPathname.call(void 0, pathname, { ...i18n, basePath: "/" }) : pathname;
|
|
295
315
|
return {
|
|
296
316
|
pathname,
|
|
297
317
|
searchParams: url.searchParams,
|
|
298
318
|
params: _optionalChain([matcher, 'optionalAccess', _20 => _20.match, 'call', _21 => _21(routePathname), 'optionalAccess', _22 => _22.params]) || {},
|
|
299
|
-
pageState:
|
|
319
|
+
pageState: _chunkATK2R4CHcjs.readPageState.call(void 0, ),
|
|
300
320
|
navigation
|
|
301
321
|
};
|
|
302
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-DbxNRKOB.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-Z0aotQ8w.mjs';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-CLObcuCq.mjs';
|
|
10
10
|
import './lifecycle-DK06VuKP.mjs';
|
|
11
11
|
import './integration-api-0y4FXJpC.mjs';
|
|
12
12
|
import './endpoint-CCHFqyTE.mjs';
|
|
@@ -38,7 +38,7 @@ import './font.mjs';
|
|
|
38
38
|
import './after.mjs';
|
|
39
39
|
import 'node:http';
|
|
40
40
|
import './island-CfGru1MO.mjs';
|
|
41
|
-
import './render-plan-
|
|
41
|
+
import './render-plan-CKr4ltOd.mjs';
|
|
42
42
|
|
|
43
43
|
interface FarmClientStore<TSnapshot> {
|
|
44
44
|
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-CxK3USIz.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-Z0aotQ8w.js';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-DZjHC4Mi.js';
|
|
10
10
|
import './lifecycle-DK06VuKP.js';
|
|
11
11
|
import './integration-api-BPJo5oXb.js';
|
|
12
12
|
import './endpoint-CA-TNX60.js';
|
|
@@ -38,7 +38,7 @@ import './font.js';
|
|
|
38
38
|
import './after.js';
|
|
39
39
|
import 'node:http';
|
|
40
40
|
import './island-CfGru1MO.js';
|
|
41
|
-
import './render-plan-
|
|
41
|
+
import './render-plan-D72O1qm4.js';
|
|
42
42
|
|
|
43
43
|
interface FarmClientStore<TSnapshot> {
|
|
44
44
|
getSnapshot(): TSnapshot;
|
package/dist/renderer-client.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createFarmClientTranslator
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AHGECQEW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
attachRevalidationListeners,
|
|
7
7
|
createServerQueryCallKey,
|
|
8
|
-
fetchServerQuery
|
|
9
|
-
|
|
8
|
+
fetchServerQuery,
|
|
9
|
+
isFarmServerQueryBrowserRuntime
|
|
10
|
+
} from "./chunk-LYV44OIR.mjs";
|
|
10
11
|
import {
|
|
11
12
|
getTheme,
|
|
12
13
|
setTheme,
|
|
@@ -21,13 +22,13 @@ import {
|
|
|
21
22
|
getRouter,
|
|
22
23
|
readPageState,
|
|
23
24
|
subscribeHistoryChange
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CLJYVZAD.mjs";
|
|
25
26
|
import {
|
|
26
27
|
getFarmI18nClientState,
|
|
27
28
|
subscribeFarmI18n
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-F2SE2VDO.mjs";
|
|
29
30
|
import "./chunk-2PQNJXFM.mjs";
|
|
30
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-5SJWVY6R.mjs";
|
|
31
32
|
import {
|
|
32
33
|
getFarmClientDataCache
|
|
33
34
|
} from "./chunk-XNPDONUH.mjs";
|
|
@@ -35,7 +36,8 @@ import "./chunk-QVYLBY73.mjs";
|
|
|
35
36
|
import "./chunk-KGB5UXJJ.mjs";
|
|
36
37
|
import {
|
|
37
38
|
createFarmLocaleCookie
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GCXWJJKH.mjs";
|
|
40
|
+
import "./chunk-JM5XPKWH.mjs";
|
|
39
41
|
import "./chunk-QZCT2CQ4.mjs";
|
|
40
42
|
import "./chunk-SKNL7VA2.mjs";
|
|
41
43
|
import "./chunk-2A3EQHXX.mjs";
|
|
@@ -199,6 +201,24 @@ function createRendererAction(target, options = {}) {
|
|
|
199
201
|
}
|
|
200
202
|
__name(createRendererAction, "createRendererAction");
|
|
201
203
|
function createRendererQuery(query, input, options = {}) {
|
|
204
|
+
if (!isFarmServerQueryBrowserRuntime()) {
|
|
205
|
+
const snapshot = {
|
|
206
|
+
data: void 0,
|
|
207
|
+
error: null,
|
|
208
|
+
status: "idle",
|
|
209
|
+
pending: false,
|
|
210
|
+
fetching: false,
|
|
211
|
+
stale: true
|
|
212
|
+
};
|
|
213
|
+
return {
|
|
214
|
+
getSnapshot: /* @__PURE__ */ __name(() => snapshot, "getSnapshot"),
|
|
215
|
+
subscribe: /* @__PURE__ */ __name(() => () => {
|
|
216
|
+
}, "subscribe"),
|
|
217
|
+
refetch: /* @__PURE__ */ __name(() => fetchServerQuery(query, input), "refetch"),
|
|
218
|
+
dispose() {
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
}
|
|
202
222
|
const cache = getFarmClientDataCache();
|
|
203
223
|
const key = createServerQueryCallKey(query, input);
|
|
204
224
|
const listeners = /* @__PURE__ */ new Set();
|
|
@@ -291,7 +311,7 @@ function readRendererRouterSnapshot(basePath, matcher, navigation) {
|
|
|
291
311
|
const url = new URL(window.location.href);
|
|
292
312
|
const pathname = stripFarmBasePath(url.pathname, basePath);
|
|
293
313
|
const i18n = getFarmI18nClientState();
|
|
294
|
-
const routePathname = i18n ? stripFarmLocaleFromPathname(pathname, i18n) : pathname;
|
|
314
|
+
const routePathname = i18n ? stripFarmLocaleFromPathname(pathname, { ...i18n, basePath: "/" }) : pathname;
|
|
295
315
|
return {
|
|
296
316
|
pathname,
|
|
297
317
|
searchParams: url.searchParams,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './client-plugins-
|
|
1
|
+
import './client-plugins-CLObcuCq.mjs';
|
|
2
2
|
|
|
3
3
|
interface FarmRequestURLOptions {
|
|
4
4
|
origin?: string | URL;
|
|
@@ -13,5 +13,10 @@ interface FarmRequestURLOptions {
|
|
|
13
13
|
declare function resolveFarmWebRequestOrigin(request: Request, options?: Pick<FarmRequestURLOptions, "trustProxy">): string;
|
|
14
14
|
declare function _runWithCurrentRequest<T>(request: Request, fn: () => Promise<T> | T): Promise<T>;
|
|
15
15
|
declare function getCurrentRequest(): Request;
|
|
16
|
+
/**
|
|
17
|
+
* @internal How many times app code has read `request` (default: the current
|
|
18
|
+
* request). Compare two readings to learn whether a render read the request.
|
|
19
|
+
*/
|
|
20
|
+
declare function _getRequestReadCount(request?: Request | undefined): number;
|
|
16
21
|
|
|
17
|
-
export {
|
|
22
|
+
export { _getRequestReadCount as _, _runWithCurrentRequest as a, getCurrentRequest as g, resolveFarmWebRequestOrigin as r };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './client-plugins-
|
|
1
|
+
import './client-plugins-DZjHC4Mi.js';
|
|
2
2
|
|
|
3
3
|
interface FarmRequestURLOptions {
|
|
4
4
|
origin?: string | URL;
|
|
@@ -13,5 +13,10 @@ interface FarmRequestURLOptions {
|
|
|
13
13
|
declare function resolveFarmWebRequestOrigin(request: Request, options?: Pick<FarmRequestURLOptions, "trustProxy">): string;
|
|
14
14
|
declare function _runWithCurrentRequest<T>(request: Request, fn: () => Promise<T> | T): Promise<T>;
|
|
15
15
|
declare function getCurrentRequest(): Request;
|
|
16
|
+
/**
|
|
17
|
+
* @internal How many times app code has read `request` (default: the current
|
|
18
|
+
* request). Compare two readings to learn whether a render read the request.
|
|
19
|
+
*/
|
|
20
|
+
declare function _getRequestReadCount(request?: Request | undefined): number;
|
|
16
21
|
|
|
17
|
-
export {
|
|
22
|
+
export { _getRequestReadCount as _, _runWithCurrentRequest as a, 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
|
|
3
|
+
var _chunkUXFQ3UDAcjs = require('./chunk-UXFQ3UDA.cjs');
|
|
4
4
|
require('./chunk-U4KT7QP3.cjs');
|
|
5
5
|
require('./chunk-S3JO3N4H.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.getCurrentRequest =
|
|
8
|
+
exports.getCurrentRequest = _chunkUXFQ3UDAcjs.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-Be83WafN.mjs';
|
|
2
|
+
import './client-plugins-CLObcuCq.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-DbyOYI2j.js';
|
|
2
|
+
import './client-plugins-DZjHC4Mi.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-DbxNRKOB.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-CxK3USIz.js';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
package/dist/routes.cjs
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkIHNIDL6Hcjs = require('./chunk-IHNIDL6H.cjs');
|
|
23
23
|
require('./chunk-6QQDAAAZ.cjs');
|
|
24
24
|
require('./chunk-6V4TDWEC.cjs');
|
|
25
25
|
require('./chunk-SOR334EB.cjs');
|
|
26
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-YWN746US.cjs');
|
|
27
27
|
require('./chunk-E3UK5IIB.cjs');
|
|
28
28
|
require('./chunk-LIUGYUX3.cjs');
|
|
29
29
|
require('./chunk-NYJMY3JA.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 = _chunkIHNIDL6Hcjs.PROGRAMMATIC_ROUTE_FILE_NAMES; exports.api = _chunkIHNIDL6Hcjs.api; exports.createLayoutModuleFromProgrammaticLayout = _chunkIHNIDL6Hcjs.createLayoutModuleFromProgrammaticLayout; exports.createProgrammaticRouteModuleId = _chunkIHNIDL6Hcjs.createProgrammaticRouteModuleId; exports.createRoute = _chunkIHNIDL6Hcjs.createRoute; exports.createRouteModuleFromProgrammaticPage = _chunkIHNIDL6Hcjs.createRouteModuleFromProgrammaticPage; exports.defineRoutes = _chunkIHNIDL6Hcjs.defineRoutes; exports.getProgrammaticRouteManifest = _chunkIHNIDL6Hcjs.getProgrammaticRouteManifest; exports.getProgrammaticRouteSearchClientOptions = _chunkIHNIDL6Hcjs.getProgrammaticRouteSearchClientOptions; exports.getProgrammaticRouteSearchSchema = _chunkIHNIDL6Hcjs.getProgrammaticRouteSearchSchema; exports.isProgrammaticRouteDefinition = _chunkIHNIDL6Hcjs.isProgrammaticRouteDefinition; exports.isProgrammaticRouteManifest = _chunkIHNIDL6Hcjs.isProgrammaticRouteManifest; exports.isProgrammaticRoutesFileName = _chunkIHNIDL6Hcjs.isProgrammaticRoutesFileName; exports.layout = _chunkIHNIDL6Hcjs.layout; exports.page = _chunkIHNIDL6Hcjs.page; exports.parseProgrammaticRouteModuleId = _chunkIHNIDL6Hcjs.parseProgrammaticRouteModuleId; exports.parseProgrammaticRoutePath = _chunkIHNIDL6Hcjs.parseProgrammaticRoutePath; exports.redirect = _chunkIHNIDL6Hcjs.redirect; exports.routesBuilder = _chunkIHNIDL6Hcjs.routesBuilder; exports.scanProgrammaticPagePaths = _chunkIHNIDL6Hcjs.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-CLObcuCq.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-DZjHC4Mi.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
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
redirect,
|
|
20
20
|
routesBuilder,
|
|
21
21
|
scanProgrammaticPagePaths
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PZNL3WEG.mjs";
|
|
23
23
|
import "./chunk-SEJ5N6SL.mjs";
|
|
24
24
|
import "./chunk-EA5K5BKU.mjs";
|
|
25
25
|
import "./chunk-2J7W2WND.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-MSSFIQGM.mjs";
|
|
27
27
|
import "./chunk-FUZEBRP3.mjs";
|
|
28
28
|
import "./chunk-C4NCTZLM.mjs";
|
|
29
29
|
import "./chunk-CNOQY6Z7.mjs";
|
package/dist/server-fn.cjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMOKLYNHVcjs = require('./chunk-MOKLYNHV.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -16,8 +16,8 @@ var _chunkES4B2IXWcjs = require('./chunk-ES4B2IXW.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkT5CERMEHcjs = require('./chunk-T5CERMEH.cjs');
|
|
19
|
+
require('./chunk-YWN746US.cjs');
|
|
19
20
|
require('./chunk-SVRTJOUF.cjs');
|
|
20
|
-
require('./chunk-2SDO73HK.cjs');
|
|
21
21
|
require('./chunk-EM6SBQKM.cjs');
|
|
22
22
|
require('./chunk-E3UK5IIB.cjs');
|
|
23
23
|
require('./chunk-LIUGYUX3.cjs');
|
|
@@ -42,4 +42,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
exports.FARM_SERVER_FN_FAILURE_SYMBOL = _chunkT5CERMEHcjs.FARM_SERVER_FN_FAILURE_SYMBOL; exports.FARM_SERVER_FN_SYMBOL =
|
|
45
|
+
exports.FARM_SERVER_FN_FAILURE_SYMBOL = _chunkT5CERMEHcjs.FARM_SERVER_FN_FAILURE_SYMBOL; exports.FARM_SERVER_FN_SYMBOL = _chunkMOKLYNHVcjs.FARM_SERVER_FN_SYMBOL; exports.ServerActionError = _chunkT5CERMEHcjs.ServerActionError; exports.ServerFnFailure = _chunkT5CERMEHcjs.ServerFnFailure; exports._attachServerFunctionDescriptor = _chunkMOKLYNHVcjs._attachServerFunctionDescriptor; exports._describeServerFunction = _chunkMOKLYNHVcjs._describeServerFunction; exports._invokeServerFunction = _chunkMOKLYNHVcjs._invokeServerFunction; exports._parseServerFnSchema = _chunkMOKLYNHVcjs._parseServerFnSchema; exports._runServerFunctionForCaller = _chunkMOKLYNHVcjs._runServerFunctionForCaller; exports.createServerFn = _chunkMOKLYNHVcjs.createServerFn; exports.createServerFnTransportError = _chunkT5CERMEHcjs.createServerFnTransportError; exports.createServerFunctionDescriptor = _chunkMOKLYNHVcjs.createServerFunctionDescriptor; exports.createServerMiddleware = _chunkMOKLYNHVcjs.createServerMiddleware; exports.isServerFnFailure = _chunkT5CERMEHcjs.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-HR5KPHC2.mjs";
|
|
12
12
|
import {
|
|
13
13
|
FARM_SERVER_FN_FAILURE_SYMBOL,
|
|
14
14
|
ServerActionError,
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
createServerFnTransportError,
|
|
17
17
|
isServerFnFailure
|
|
18
18
|
} from "./chunk-QCFFHV5H.mjs";
|
|
19
|
+
import "./chunk-MSSFIQGM.mjs";
|
|
19
20
|
import "./chunk-FP2INE7H.mjs";
|
|
20
|
-
import "./chunk-IV6CQY7O.mjs";
|
|
21
21
|
import "./chunk-XF7Q24PF.mjs";
|
|
22
22
|
import "./chunk-FUZEBRP3.mjs";
|
|
23
23
|
import "./chunk-C4NCTZLM.mjs";
|
package/dist/server-plugins.cjs
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk77GNHH2Zcjs = require('./chunk-77GNHH2Z.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkOZVEHHMAcjs = require('./chunk-OZVEHHMA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk27ZWSI3Wcjs = require('./chunk-27ZWSI3W.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-UXFQ3UDA.cjs');
|
|
18
18
|
require('./chunk-US2QVW3E.cjs');
|
|
19
19
|
require('./chunk-U4KT7QP3.cjs');
|
|
20
20
|
require('./chunk-BIDYX3SL.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 = _chunk77GNHH2Zcjs.createEnvPlugin; exports.createHeadersPlugin = _chunk77GNHH2Zcjs.createHeadersPlugin; exports.createLoggerPlugin = _chunk77GNHH2Zcjs.createLoggerPlugin; exports.createRedirectsPlugin = _chunk77GNHH2Zcjs.createRedirectsPlugin; exports.createRewritesPlugin = _chunk27ZWSI3Wcjs.createRewritesPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { cK as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cL as HeaderConfig, cM as RewriteConfig } from './client-plugins-CLObcuCq.mjs';
|
|
2
|
+
export { c6 as FarmPluginLifecycle, cf as FarmPluginRuntimeEndpoint, cg as FarmPluginRuntimeEndpointEvent, c7 as FarmRequestPluginContext, c8 as FarmRequestStore } from './client-plugins-CLObcuCq.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-Z0aotQ8w.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 {
|
|
2
|
-
export {
|
|
1
|
+
import { cK as RedirectConfig, e as FarmRequest, f as FarmResponse, h as FarmPluginContext, a as FarmPlugin, cL as HeaderConfig, cM as RewriteConfig } from './client-plugins-DZjHC4Mi.js';
|
|
2
|
+
export { c6 as FarmPluginLifecycle, cf as FarmPluginRuntimeEndpoint, cg as FarmPluginRuntimeEndpointEvent, c7 as FarmRequestPluginContext, c8 as FarmRequestStore } from './client-plugins-DZjHC4Mi.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-Z0aotQ8w.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|
package/dist/server-plugins.mjs
CHANGED
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
createHeadersPlugin,
|
|
4
4
|
createLoggerPlugin,
|
|
5
5
|
createRedirectsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KN7K4VQN.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-W7LF2J2S.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-FDR64H6B.mjs";
|
|
18
18
|
import "./chunk-CQ6OSQ3K.mjs";
|
|
19
19
|
import "./chunk-IZY3V5XW.mjs";
|
|
20
20
|
import "./chunk-L3KT7IXV.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkIE7XCHH3cjs = require('./chunk-IE7XCHH3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkN4UOK6ZIcjs = require('./chunk-N4UOK6ZI.cjs');
|
|
12
12
|
require('./chunk-63H6BKXG.cjs');
|
|
13
13
|
require('./chunk-SK35NQKK.cjs');
|
|
14
14
|
require('./chunk-NYJMY3JA.cjs');
|
|
@@ -21,4 +21,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.beginFarmServerQueryAction =
|
|
24
|
+
exports.beginFarmServerQueryAction = _chunkN4UOK6ZIcjs.beginFarmServerQueryAction; exports.completeFarmServerQueryAction = _chunkN4UOK6ZIcjs.completeFarmServerQueryAction; exports.fetchServerQuery = _chunkN4UOK6ZIcjs.fetchServerQuery; exports.prefetchServerQuery = _chunkN4UOK6ZIcjs.prefetchServerQuery; exports.shouldApplyFarmServerQueryActionResult = _chunkN4UOK6ZIcjs.shouldApplyFarmServerQueryActionResult; exports.useServerQuery = _chunkIE7XCHH3cjs.useServerQuery;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useServerQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QE6VAKLT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
beginFarmServerQueryAction,
|
|
7
7
|
completeFarmServerQueryAction,
|
|
8
8
|
fetchServerQuery,
|
|
9
9
|
prefetchServerQuery,
|
|
10
10
|
shouldApplyFarmServerQueryActionResult
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LYV44OIR.mjs";
|
|
12
12
|
import "./chunk-XNPDONUH.mjs";
|
|
13
13
|
import "./chunk-KGB5UXJJ.mjs";
|
|
14
14
|
import "./chunk-CNOQY6Z7.mjs";
|
package/dist/server-query.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkQGYRXFU2cjs = require('./chunk-QGYRXFU2.cjs');
|
|
5
|
+
require('./chunk-MOKLYNHV.cjs');
|
|
6
6
|
require('./chunk-SK35NQKK.cjs');
|
|
7
7
|
require('./chunk-T5CERMEH.cjs');
|
|
8
|
+
require('./chunk-YWN746US.cjs');
|
|
8
9
|
require('./chunk-SVRTJOUF.cjs');
|
|
9
|
-
require('./chunk-2SDO73HK.cjs');
|
|
10
10
|
require('./chunk-EM6SBQKM.cjs');
|
|
11
11
|
require('./chunk-E3UK5IIB.cjs');
|
|
12
12
|
require('./chunk-LIUGYUX3.cjs');
|
|
@@ -19,4 +19,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.FARM_SERVER_QUERY_SYMBOL =
|
|
22
|
+
exports.FARM_SERVER_QUERY_SYMBOL = _chunkQGYRXFU2cjs.FARM_SERVER_QUERY_SYMBOL; exports.createServerQuery = _chunkQGYRXFU2cjs.createServerQuery;
|
package/dist/server-query.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FARM_SERVER_QUERY_SYMBOL,
|
|
3
3
|
createServerQuery
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VHANUNEG.mjs";
|
|
5
|
+
import "./chunk-HR5KPHC2.mjs";
|
|
6
6
|
import "./chunk-KGB5UXJJ.mjs";
|
|
7
7
|
import "./chunk-QCFFHV5H.mjs";
|
|
8
|
+
import "./chunk-MSSFIQGM.mjs";
|
|
8
9
|
import "./chunk-FP2INE7H.mjs";
|
|
9
|
-
import "./chunk-IV6CQY7O.mjs";
|
|
10
10
|
import "./chunk-XF7Q24PF.mjs";
|
|
11
11
|
import "./chunk-FUZEBRP3.mjs";
|
|
12
12
|
import "./chunk-C4NCTZLM.mjs";
|