@farm.js/core 0.1.85 → 0.1.87
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.d-7uKdOttc.d.ts → agent-mcp.d-BdM0pIrD.d.ts} +1 -1
- package/dist/{agent-mcp.d-LChlR2au.d.mts → agent-mcp.d-CMGqpUbk.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-LLU2Z6I4.cjs +17 -0
- package/dist/{analyzer-R6KNJ6IO.mjs → analyzer-W4EB7DHL.mjs} +2 -2
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/route-manager.cjs +3 -3
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +2 -2
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +4 -4
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +3 -3
- package/dist/{app-manifest.d-QMdmqqCr.d.mts → app-manifest.d-BeDB2OVm.d.mts} +1 -1
- package/dist/{app-manifest.d-CRp21oAz.d.ts → app-manifest.d-COhjPgHn.d.ts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-Bvpc2eJq.d.mts → app.d-AVZXCfcO.d.mts} +5 -4
- package/dist/{app.d-DEKpJEp4.d.ts → app.d-b3A4cca5.d.ts} +5 -4
- package/dist/{chunk-3TCFONUE.mjs → chunk-26HESRBL.mjs} +60 -11
- package/dist/chunk-2HTNASSB.cjs +134 -0
- package/dist/{chunk-RVJQHQCG.cjs → chunk-33WR5XV5.cjs} +4 -4
- package/dist/{chunk-J7VIXTPQ.mjs → chunk-3F55K4MC.mjs} +1 -1
- package/dist/{chunk-YX532KEF.mjs → chunk-4FGTNYHE.mjs} +2 -2
- package/dist/{chunk-MYSH5Y4E.mjs → chunk-4IE3YK7U.mjs} +1 -1
- package/dist/{chunk-CWUQBECF.mjs → chunk-4SJ22WTT.mjs} +1 -1
- package/dist/{chunk-YS647ASS.mjs → chunk-5D73SKF3.mjs} +1 -1
- package/dist/{chunk-Q7GB3I4O.cjs → chunk-7BNVUIGL.cjs} +2 -2
- package/dist/{chunk-2DMOB6BH.mjs → chunk-A2PPQ5LB.mjs} +3 -3
- package/dist/{chunk-4QCMTIBM.mjs → chunk-ALOFMAFA.mjs} +11 -5
- package/dist/{chunk-HKJIUZS5.cjs → chunk-CXHVRHM2.cjs} +2 -2
- package/dist/{chunk-3RVLJTFZ.mjs → chunk-D7LXBLUW.mjs} +1 -1
- package/dist/{chunk-GFVPQ25Z.mjs → chunk-EZYNIADW.mjs} +65 -39
- package/dist/{chunk-NAHDG6UX.mjs → chunk-HFRG2IQS.mjs} +1 -1
- package/dist/{chunk-BCCCPFHQ.mjs → chunk-HV6CYSMF.mjs} +3 -0
- package/dist/{chunk-7H2TXT2K.mjs → chunk-HX5HLFBZ.mjs} +7 -0
- package/dist/{chunk-3HWNYLQV.cjs → chunk-HYL372GW.cjs} +1 -1
- package/dist/{chunk-25JGHAGH.cjs → chunk-I2RBHZF7.cjs} +15 -8
- package/dist/{chunk-BZN5HX7Y.cjs → chunk-IM422XKU.cjs} +2 -2
- package/dist/{chunk-6QYPP5KC.mjs → chunk-K5FLQJW5.mjs} +2 -2
- package/dist/chunk-K6RMOB25.mjs +134 -0
- package/dist/{chunk-CDZ55QRD.mjs → chunk-LBJOHMTB.mjs} +1 -1
- package/dist/{chunk-U6HUVY5R.mjs → chunk-LIWVPE72.mjs} +61 -23
- package/dist/{chunk-BBX4RPOV.cjs → chunk-MZR22RAC.cjs} +17 -11
- package/dist/chunk-NDMPGFKL.cjs +47 -0
- package/dist/{chunk-YHM4PXJY.mjs → chunk-O5YM6GU3.mjs} +1 -1
- package/dist/{chunk-XIXAUXV3.mjs → chunk-O7K4HMAQ.mjs} +1 -1
- package/dist/{chunk-PQR5A7R2.mjs → chunk-Q73LRKLP.mjs} +1 -1
- package/dist/{chunk-X7RSOEMQ.mjs → chunk-QLRI2BX5.mjs} +94 -15
- package/dist/{chunk-Z3LOPHSO.mjs → chunk-QSDIJ45N.mjs} +1 -1
- package/dist/{chunk-QUHDVJMR.cjs → chunk-RGYS5OPL.cjs} +3 -3
- package/dist/{chunk-UEQC4ZLP.cjs → chunk-SDNYULFS.cjs} +385 -359
- package/dist/{chunk-3OKSEJ33.cjs → chunk-T7UC2ORA.cjs} +3 -0
- package/dist/chunk-TCGPBSVY.mjs +47 -0
- package/dist/{chunk-H6C45DCF.cjs → chunk-TI4BZV6M.cjs} +393 -314
- package/dist/{chunk-OYM6VJEF.cjs → chunk-U3A46QFD.cjs} +140 -91
- package/dist/{chunk-VGHDPEPQ.cjs → chunk-UA77C2ZA.cjs} +2 -2
- package/dist/{chunk-U54REWMJ.cjs → chunk-VCI776NG.cjs} +13 -13
- package/dist/{chunk-WYTK7HQS.cjs → chunk-VCZ4EM5K.cjs} +391 -353
- package/dist/{chunk-F7JVO3OZ.cjs → chunk-VGZIIOU6.cjs} +4 -4
- package/dist/{chunk-5P65LXGU.cjs → chunk-WSQ3S3NV.cjs} +2 -2
- package/dist/{chunk-RQ6XX5IN.mjs → chunk-X2SMVPLH.mjs} +20 -4
- package/dist/{chunk-TOUC6BR3.cjs → chunk-XFUPWRKT.cjs} +4 -4
- package/dist/{chunk-DJ3PVHTW.cjs → chunk-XGPRM7OK.cjs} +3 -3
- package/dist/{chunk-L3BSHASB.cjs → chunk-XMVZXZ32.cjs} +4 -4
- package/dist/{chunk-L5HDCDFT.mjs → chunk-YNPVG2GG.mjs} +1 -1
- package/dist/{chunk-MAPHNGTF.cjs → chunk-Z43CIBUR.cjs} +21 -5
- package/dist/{chunk-7TPLDPNC.cjs → chunk-ZCX2XJPY.cjs} +10 -10
- package/dist/{chunk-GLNVLCUH.cjs → chunk-ZSVFI7JM.cjs} +6 -6
- package/dist/{cli-runtime.d-DaElKjaL.d.ts → cli-runtime.d-jqZ7YCsm.d.ts} +5 -5
- package/dist/{cli-runtime.d-C7aMfoTq.d.mts → cli-runtime.d-qL44rqYO.d.mts} +5 -5
- package/dist/{client-component.d-miqIXyQv.d.mts → client-component.d-B2L2LyAr.d.mts} +1 -1
- package/dist/{client-component.d-CZG02pIh.d.ts → client-component.d-BDD5aiUb.d.ts} +1 -1
- package/dist/{client-plugins.d-BVXjyIkY.d.ts → client-plugins.d-Crct3m_r.d.ts} +14 -5
- package/dist/{client-plugins.d-BwKwuO_0.d.mts → client-plugins.d-Dzc3vOw_.d.mts} +14 -5
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +8 -7
- package/dist/client.d.ts +8 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/{devtools-SXL5RFE5.cjs → devtools-GPIKZ5AV.cjs} +7 -5
- package/dist/{devtools-34ZQWX3M.mjs → devtools-GWJZPWIW.mjs} +5 -3
- package/dist/docs.cjs +7 -5
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +6 -4
- package/dist/environment/vite.cjs +5 -5
- package/dist/environment/vite.mjs +4 -4
- package/dist/font.cjs +4 -2
- package/dist/font.d.mts +13 -1
- package/dist/font.d.ts +13 -1
- package/dist/font.mjs +3 -1
- package/dist/{handler.d-BKTWzzNA.d.mts → handler.d-B1S1ZBqS.d.mts} +1 -1
- package/dist/{handler.d-Dzpyg3-N.d.ts → handler.d-ZweCBJD4.d.ts} +1 -1
- package/dist/{headers.d-PZyXcDAH.d.ts → headers.d-BgBdQN8x.d.ts} +1 -1
- package/dist/{headers.d-5opjyhXw.d.mts → headers.d-C-yGl_f6.d.mts} +1 -1
- package/dist/image-attributes.d-BMPDQO1q.d.mts +55 -0
- package/dist/image-attributes.d-BMPDQO1q.d.ts +55 -0
- package/dist/image.cjs +5 -127
- package/dist/image.d.mts +3 -13
- package/dist/image.d.ts +3 -13
- package/dist/image.mjs +5 -127
- package/dist/index.cjs +28 -26
- package/dist/{index.d-C0Mie66f.d.mts → index.d-13h3oDu7.d.mts} +1 -1
- package/dist/{index.d-DV2q-0mE.d.ts → index.d-CtoniAXT.d.ts} +1 -1
- package/dist/index.d.mts +24 -23
- package/dist/index.d.ts +24 -23
- package/dist/index.mjs +27 -25
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +23 -23
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +22 -22
- package/dist/internal/cli-runtime.cjs +9 -7
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +8 -6
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +66 -40
- package/dist/internal/client-runtime.d.mts +6 -6
- package/dist/internal/client-runtime.d.ts +6 -6
- package/dist/internal/client-runtime.mjs +53 -27
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +7 -5
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +6 -4
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/islands-boot.cjs +44 -16
- package/dist/internal/islands-boot.d.mts +3 -1
- package/dist/internal/islands-boot.d.ts +3 -1
- package/dist/internal/islands-boot.mjs +28 -0
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +6 -6
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +5 -5
- package/dist/internal/renderer-islands.cjs +35 -8
- package/dist/internal/renderer-islands.d.mts +9 -1
- package/dist/internal/renderer-islands.d.ts +9 -1
- package/dist/internal/renderer-islands.mjs +35 -8
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/{island-runtime.d-BA7EPo1v.d.ts → island-runtime.d-D2Mh5eTU.d.ts} +5 -1
- package/dist/{island-runtime.d-BBS_YUSX.d.mts → island-runtime.d-lrpEJlgg.d.mts} +5 -1
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.cjs +4 -4
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.mjs +3 -3
- package/dist/{mount.d-gWul1GA1.d.ts → mount.d-DyKlRR6z.d.ts} +1 -1
- package/dist/{mount.d-CZ_qL1iS.d.mts → mount.d-_6Un9wdK.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BBTzhJLj.d.mts → navigation-delegate.d-ChfinbWB.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BZsYEAet.d.ts → navigation-delegate.d-fMgELdAe.d.ts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/{plugin-QOTAPTVV.mjs → plugin-EVKQZBNW.mjs} +1 -1
- package/dist/{plugin-3PT7I26P.cjs → plugin-MWO3G2XM.cjs} +2 -2
- package/dist/plugin.cjs +20 -20
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +19 -19
- package/dist/{render-plan.d-AaJsYPX-.d.ts → render-plan.d-D0FV9lDT.d.ts} +1 -1
- package/dist/{render-plan.d-bnWxS12w.d.mts → render-plan.d-DaM1NPnm.d.mts} +1 -1
- package/dist/renderer-client.cjs +6 -1
- package/dist/renderer-client.d.mts +6 -5
- package/dist/renderer-client.d.ts +6 -5
- package/dist/renderer-client.mjs +5 -0
- package/dist/renderer.cjs +4 -4
- package/dist/renderer.d.mts +10 -2
- package/dist/renderer.d.ts +10 -2
- package/dist/renderer.mjs +3 -3
- package/dist/{request.d-CAeitOG1.d.ts → request.d-CrXC7voZ.d.ts} +1 -1
- package/dist/{request.d-C2HOn3Hi.d.mts → request.d-DVSLilGx.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-CYA-ulnX.d.mts → route-rendering.d-CWi3UYtR.d.mts} +1 -1
- package/dist/{route-rendering.d-A1dIkUK5.d.ts → route-rendering.d-OfbM_rj8.d.ts} +1 -1
- package/dist/{router.d-A_Yt6jYz.d.ts → router.d-D5Mp7bpO.d.ts} +1 -1
- package/dist/{router.d-8lxnzlkr.d.mts → router.d-DrQ1QDFk.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{rsc-pipeline-MW2V3WEE.mjs → rsc-pipeline-KLMQU3YP.mjs} +7 -5
- package/dist/{rsc-pipeline-ESPGX4VX.cjs → rsc-pipeline-TQOSDWOU.cjs} +8 -6
- package/dist/{runtime-KGSOEMLT.mjs → runtime-BDPBO65S.mjs} +7 -5
- package/dist/{runtime-FCMLEBTX.cjs → runtime-CQSCRVZ7.cjs} +12 -10
- package/dist/{runtime.d-C_rZ9_DD.d.mts → runtime.d-BVj6apd0.d.mts} +1 -1
- package/dist/{runtime.d-BPyvWrgQ.d.ts → runtime.d-D7QYVJGO.d.ts} +1 -1
- package/dist/{server-components-status.d-BpxiEMQE.d.mts → server-components-status.d-BDVcxi0z.d.mts} +1 -1
- package/dist/{server-components-status.d-C2UEKJn7.d.ts → server-components-status.d-CfKDpmCH.d.ts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +45 -45
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +21 -21
- package/dist/{spa-router.d-Cw5i_15e.d.ts → spa-router.d-BXxoU3Cv.d.ts} +2 -2
- package/dist/{spa-router.d-BD-6WX1R.d.mts → spa-router.d-CXgvy-7L.d.mts} +2 -2
- package/dist/{ssg.d-CCE9aob5.d.mts → ssg.d-DS-gXUbf.d.mts} +2 -2
- package/dist/{ssg.d-Bifiq0EL.d.ts → ssg.d-jXlUAKzg.d.ts} +2 -2
- package/dist/{store-core.d-BN2MxSG9.d.mts → store-core.d-CDbVAbTn.d.mts} +3 -2
- package/dist/{store-core.d-5tVn5vi1.d.ts → store-core.d-D00BsbnO.d.ts} +3 -2
- package/dist/testing.cjs +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/{utils.d-BUjpSNIO.d.ts → utils.d-BODwBtkz.d.ts} +1 -1
- package/dist/{utils.d-wGPLeVbq.d.mts → utils.d-Cmj-fzds.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 +21 -7
- package/dist/vite.d.ts +21 -7
- package/dist/vite.mjs +24 -22
- package/package.json +2 -2
- package/dist/analyzer-XVY76XMM.cjs +0 -17
- package/dist/chunk-7EPYN7GW.cjs +0 -30
- package/dist/chunk-HZOMT5DY.mjs +0 -30
- package/dist/{chunk-4B6YJ5DS.cjs → chunk-4ZVKDHS6.cjs} +3 -3
- package/dist/{chunk-4EEAPBNV.mjs → chunk-PEQJ4UUT.mjs} +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _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; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT7UC2ORAcjs = require('./chunk-T7UC2ORA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk7U4XF76Rcjs = require('./chunk-7U4XF76R.cjs');
|
|
@@ -34,7 +34,7 @@ var FARM_RSC_IGNORED_KEYS = [
|
|
|
34
34
|
"observability"
|
|
35
35
|
];
|
|
36
36
|
function farmConfigUsesServerComponents(config) {
|
|
37
|
-
return
|
|
37
|
+
return _chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'optionalAccess', _ => _.experimental, 'optionalAccess', _2 => _2.serverComponents])) === "rsc";
|
|
38
38
|
}
|
|
39
39
|
function findFarmAppPackageDir(root, packageName) {
|
|
40
40
|
for (let dir = _path2.default.resolve(root); ; dir = _path2.default.dirname(dir)) {
|
|
@@ -54,9 +54,9 @@ function isSet(value, key) {
|
|
|
54
54
|
}
|
|
55
55
|
function inspectFarmServerComponents(config, root) {
|
|
56
56
|
const value = _optionalChain([config, 'optionalAccess', _4 => _4.experimental, 'optionalAccess', _5 => _5.serverComponents]);
|
|
57
|
-
const mode =
|
|
57
|
+
const mode = _chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, value);
|
|
58
58
|
const enabled = mode === "rsc";
|
|
59
|
-
const explicit = enabled &&
|
|
59
|
+
const explicit = enabled && _chunkT7UC2ORAcjs.isExplicitFarmServerComponentsMode.call(void 0, value);
|
|
60
60
|
const missingPackages = enabled ? FARM_RSC_PACKAGES.filter((name) => !findFarmAppPackageDir(root, name)) : [];
|
|
61
61
|
return {
|
|
62
62
|
mode,
|
|
@@ -37,7 +37,7 @@ var _chunkIUKBPBM7cjs = require('./chunk-IUKBPBM7.cjs');
|
|
|
37
37
|
var _chunkSNP33A33cjs = require('./chunk-SNP33A33.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkI2RBHZF7cjs = require('./chunk-I2RBHZF7.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk7U4XF76Rcjs = require('./chunk-7U4XF76R.cjs');
|
|
@@ -289,7 +289,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
289
289
|
/** Load an app module through the server that loads the routes, as their handlers were. */
|
|
290
290
|
async loadModule(filePath) {
|
|
291
291
|
if (this.viteServer) {
|
|
292
|
-
return await
|
|
292
|
+
return await _chunkI2RBHZF7cjs.loadFarmDevModule.call(void 0, this.viteServer, filePath);
|
|
293
293
|
}
|
|
294
294
|
return await import(
|
|
295
295
|
/* @vite-ignore */
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isFarmIslandStrategy
|
|
3
|
-
} from "./chunk-S32PDOLO.mjs";
|
|
4
1
|
import {
|
|
5
2
|
getFarmRendererCapabilities,
|
|
3
|
+
isFarmRendererDisabled,
|
|
6
4
|
isReactRenderer,
|
|
7
5
|
resolveFarmRenderer,
|
|
8
6
|
resolveFarmServerComponentsMode
|
|
9
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HV6CYSMF.mjs";
|
|
8
|
+
import {
|
|
9
|
+
isFarmIslandStrategy
|
|
10
|
+
} from "./chunk-S32PDOLO.mjs";
|
|
10
11
|
import {
|
|
11
12
|
_peekCurrentRequest
|
|
12
13
|
} from "./chunk-VIXTAVEA.mjs";
|
|
@@ -87,6 +88,20 @@ function resolveFarmIsland(props, reference) {
|
|
|
87
88
|
return void 0;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
91
|
+
function resolveFarmRendererServerComponentsIslands(config) {
|
|
92
|
+
if (resolveFarmServerComponentsMode(config.experimental?.serverComponents) !== "islands") {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (config.renderer === void 0 || isFarmRendererDisabled(config.renderer)) return false;
|
|
96
|
+
const renderer = resolveFarmRenderer(config.renderer);
|
|
97
|
+
if (isReactRenderer(renderer)) return false;
|
|
98
|
+
if (!getFarmRendererCapabilities(renderer).islands) {
|
|
99
|
+
throw new Error(
|
|
100
|
+
`[Farm.js] \`experimental.serverComponents: { mode: "islands" }\` needs a renderer that supports islands, and \`${renderer.name}\` doesn't declare \`capabilities.islands\`. Remove \`experimental.serverComponents\` to hydrate each route whole, or add islands to the renderer: https://farmjs.dev/docs/renderers/custom#islands`
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
90
105
|
function usesFarmRendererIslands(config) {
|
|
91
106
|
const renderer = resolveFarmRenderer(config.renderer);
|
|
92
107
|
return !isReactRenderer(renderer) && getFarmRendererCapabilities(renderer).islands && config.experimental?.isolatedClientHydration === "enabled" && resolveFarmServerComponentsMode(config.experimental?.serverComponents) === void 0;
|
|
@@ -94,5 +109,6 @@ function usesFarmRendererIslands(config) {
|
|
|
94
109
|
|
|
95
110
|
export {
|
|
96
111
|
resolveFarmIsland,
|
|
112
|
+
resolveFarmRendererServerComponentsIslands,
|
|
97
113
|
usesFarmRendererIslands
|
|
98
114
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkW53Z4WDIcjs = require('./chunk-W53Z4WDI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkIM422XKUcjs = require('./chunk-IM422XKU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkBTVDYS4Bcjs = require('./chunk-BTVDYS4B.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunk2OF5RPVUcjs = require('./chunk-2OF5RPVU.cjs');
|
|
|
29
29
|
var _chunk7Q7UB4TLcjs = require('./chunk-7Q7UB4TL.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkHYL372GWcjs = require('./chunk-HYL372GW.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkD22BUQKWcjs = require('./chunk-D22BUQKW.cjs');
|
|
@@ -288,7 +288,7 @@ function createFarmAppManifest(input, registered = []) {
|
|
|
288
288
|
return {
|
|
289
289
|
schemaVersion: 1,
|
|
290
290
|
app: app ? {
|
|
291
|
-
...app.version ? { farm:
|
|
291
|
+
...app.version ? { farm: _chunkHYL372GWcjs.FARM_VERSION } : {},
|
|
292
292
|
...app.renderer ? { renderer: input.renderer } : {},
|
|
293
293
|
basePath: input.basePath,
|
|
294
294
|
...app.build ? { build: input.build } : {}
|
|
@@ -319,7 +319,7 @@ function resolveFarmSiteUrl() {
|
|
|
319
319
|
asUrl(read("RAILWAY_PUBLIC_DOMAIN"))
|
|
320
320
|
];
|
|
321
321
|
for (const candidate of candidates) {
|
|
322
|
-
const origin = candidate ?
|
|
322
|
+
const origin = candidate ? _chunkIM422XKUcjs.normalizeFarmProductionSiteOrigin.call(void 0, candidate) : void 0;
|
|
323
323
|
if (origin) return origin;
|
|
324
324
|
}
|
|
325
325
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUA77C2ZAcjs = require('./chunk-UA77C2ZA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk5DX3O6TTcjs = require('./chunk-5DX3O6TT.cjs');
|
|
@@ -142,7 +142,7 @@ function getCountedRateLimitKeys(ctx) {
|
|
|
142
142
|
return counted;
|
|
143
143
|
}
|
|
144
144
|
function requireRateLimitClientAddress(ctx) {
|
|
145
|
-
const address =
|
|
145
|
+
const address = _chunkUA77C2ZAcjs.getFarmMiddlewareClientAddress.call(void 0, ctx.request);
|
|
146
146
|
if (address) return address;
|
|
147
147
|
throw new Error(
|
|
148
148
|
"Rate limiting could not identify the caller: this runtime reports no client address. Set `server.trustProxy` so a proxy's x-forwarded-for is trusted, or pass a `keyGenerator` that derives the bucket from something you do have, such as a session or an API key."
|
|
@@ -413,7 +413,7 @@ function farmMiddlewarePlugin(options = {}) {
|
|
|
413
413
|
mode: server.config.mode === "production" ? "production" : "development",
|
|
414
414
|
basePath: _nullishCoalesce(options.basePath, () => ( "/"))
|
|
415
415
|
});
|
|
416
|
-
manager = new (0,
|
|
416
|
+
manager = new (0, _chunkUA77C2ZAcjs.MiddlewareManager)(
|
|
417
417
|
getMiddlewareAppDirectory(server.config.root, srcDir),
|
|
418
418
|
server,
|
|
419
419
|
options.middleware,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _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; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZSVFI7JMcjs = require('./chunk-ZSVFI7JM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkA4WWKG2Bcjs = require('./chunk-A4WWKG2B.cjs');
|
|
@@ -815,7 +815,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
815
815
|
renderer: options.renderer,
|
|
816
816
|
sourceRoots
|
|
817
817
|
};
|
|
818
|
-
unifiedSections.push(await
|
|
818
|
+
unifiedSections.push(await _chunkZSVFI7JMcjs.createRouteTypeDeclarations.call(void 0, routeOptions, unifiedTypesPath));
|
|
819
819
|
result.routeTypesPath = unifiedTypesPath;
|
|
820
820
|
} else if (shouldGenerateRoutes) {
|
|
821
821
|
const routeOptions = {
|
|
@@ -830,11 +830,11 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
830
830
|
};
|
|
831
831
|
if (options.check) {
|
|
832
832
|
const routeTypesPath = resolveGeneratedPath(root, srcDir, options.routeTypesOutFile);
|
|
833
|
-
const content = await
|
|
833
|
+
const content = await _chunkZSVFI7JMcjs.createRouteTypeDeclarations.call(void 0, routeOptions, routeTypesPath);
|
|
834
834
|
checkGeneratedFile(routeTypesPath, content, result.stalePaths);
|
|
835
835
|
result.routeTypesPath = routeTypesPath;
|
|
836
836
|
} else {
|
|
837
|
-
result.routeTypesPath = await
|
|
837
|
+
result.routeTypesPath = await _chunkZSVFI7JMcjs.generateRouteTypes.call(void 0, routeOptions);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
if (shouldGenerateApi) {
|
|
@@ -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; }
|
|
2
2
|
|
|
3
|
-
var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
|
|
4
3
|
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
|
|
7
|
+
var _chunkT7UC2ORAcjs = require('./chunk-T7UC2ORA.cjs');
|
|
8
|
+
|
|
8
9
|
|
|
9
|
-
var
|
|
10
|
+
var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
var _chunk3BIASUGRcjs = require('./chunk-3BIASUGR.cjs');
|
|
@@ -87,12 +88,27 @@ function resolveFarmIsland(props, reference) {
|
|
|
87
88
|
return void 0;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
91
|
+
function resolveFarmRendererServerComponentsIslands(config) {
|
|
92
|
+
if (_chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _2 => _2.experimental, 'optionalAccess', _3 => _3.serverComponents])) !== "islands") {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (config.renderer === void 0 || _chunkT7UC2ORAcjs.isFarmRendererDisabled.call(void 0, config.renderer)) return false;
|
|
96
|
+
const renderer = _chunkT7UC2ORAcjs.resolveFarmRenderer.call(void 0, config.renderer);
|
|
97
|
+
if (_chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer)) return false;
|
|
98
|
+
if (!_chunkT7UC2ORAcjs.getFarmRendererCapabilities.call(void 0, renderer).islands) {
|
|
99
|
+
throw new Error(
|
|
100
|
+
`[Farm.js] \`experimental.serverComponents: { mode: "islands" }\` needs a renderer that supports islands, and \`${renderer.name}\` doesn't declare \`capabilities.islands\`. Remove \`experimental.serverComponents\` to hydrate each route whole, or add islands to the renderer: https://farmjs.dev/docs/renderers/custom#islands`
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
90
105
|
function usesFarmRendererIslands(config) {
|
|
91
|
-
const renderer =
|
|
92
|
-
return !
|
|
106
|
+
const renderer = _chunkT7UC2ORAcjs.resolveFarmRenderer.call(void 0, config.renderer);
|
|
107
|
+
return !_chunkT7UC2ORAcjs.isReactRenderer.call(void 0, renderer) && _chunkT7UC2ORAcjs.getFarmRendererCapabilities.call(void 0, renderer).islands && _optionalChain([config, 'access', _4 => _4.experimental, 'optionalAccess', _5 => _5.isolatedClientHydration]) === "enabled" && _chunkT7UC2ORAcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _6 => _6.experimental, 'optionalAccess', _7 => _7.serverComponents])) === void 0;
|
|
93
108
|
}
|
|
94
109
|
|
|
95
110
|
|
|
96
111
|
|
|
97
112
|
|
|
98
|
-
|
|
113
|
+
|
|
114
|
+
exports.resolveFarmIsland = resolveFarmIsland; exports.resolveFarmRendererServerComponentsIslands = resolveFarmRendererServerComponentsIslands; exports.usesFarmRendererIslands = usesFarmRendererIslands;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkPWMJBCANcjs = require('./chunk-PWMJBCAN.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMZR22RACcjs = require('./chunk-MZR22RAC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkVGZIIOU6cjs = require('./chunk-VGZIIOU6.cjs');
|
|
26
26
|
|
|
27
27
|
// src/rsc-pipeline.ts
|
|
28
28
|
var _fs = require('fs');
|
|
@@ -67,7 +67,7 @@ function pickImportTarget(entry) {
|
|
|
67
67
|
return void 0;
|
|
68
68
|
}
|
|
69
69
|
async function importFromApp(root, packageName, subpath = ".") {
|
|
70
|
-
const packageDir =
|
|
70
|
+
const packageDir = _chunkVGZIIOU6cjs.findFarmAppPackageDir.call(void 0, root, packageName);
|
|
71
71
|
if (!packageDir) return void 0;
|
|
72
72
|
const manifest = JSON.parse(_fs.readFileSync.call(void 0, _path2.default.join(packageDir, "package.json"), "utf8"));
|
|
73
73
|
const exportsMap = manifest.exports;
|
|
@@ -94,12 +94,12 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
94
94
|
importFromApp(root, "@vitejs/plugin-rsc"),
|
|
95
95
|
importFromApp(root, "@vitejs/plugin-react")
|
|
96
96
|
]);
|
|
97
|
-
if (!pluginRsc || !viteRsc || !
|
|
97
|
+
if (!pluginRsc || !viteRsc || !_chunkVGZIIOU6cjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
|
|
98
98
|
throw new Error(
|
|
99
|
-
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${
|
|
99
|
+
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkVGZIIOU6cjs.FARM_RSC_INSTALL_HINT}`
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
|
-
const layered = await
|
|
102
|
+
const layered = await _chunkVGZIIOU6cjs.resolveFarmRscCheckConfig.call(void 0,
|
|
103
103
|
userConfig,
|
|
104
104
|
root,
|
|
105
105
|
options.command === "build" ? "production" : "development"
|
|
@@ -113,9 +113,9 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
113
113
|
},
|
|
114
114
|
options.command
|
|
115
115
|
);
|
|
116
|
-
const blockingKeys =
|
|
116
|
+
const blockingKeys = _chunkVGZIIOU6cjs.inspectFarmServerComponents.call(void 0, config, root).blockingKeys;
|
|
117
117
|
if (blockingKeys.length > 0) {
|
|
118
|
-
throw new Error(`[Farm.js] ${
|
|
118
|
+
throw new Error(`[Farm.js] ${_chunkVGZIIOU6cjs.formatFarmRscBlockingMessage.call(void 0, blockingKeys)}`);
|
|
119
119
|
}
|
|
120
120
|
const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(config.vite, () => ( {}));
|
|
121
121
|
const rscConfig = {};
|
|
@@ -163,7 +163,7 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
163
163
|
server: { environmentName: "rsc" },
|
|
164
164
|
config: {
|
|
165
165
|
preset: options.preset,
|
|
166
|
-
outputDir: options.outputDir &&
|
|
166
|
+
outputDir: options.outputDir && _chunkMZR22RACcjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
|
|
167
167
|
}
|
|
168
168
|
})
|
|
169
169
|
]
|
|
@@ -217,7 +217,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
|
217
217
|
}
|
|
218
218
|
async function configureFarmRscPlugins(config, command) {
|
|
219
219
|
if (config.plugins.length === 0) return config;
|
|
220
|
-
const { PluginManager } = await import("./plugin-
|
|
220
|
+
const { PluginManager } = await import("./plugin-MWO3G2XM.cjs");
|
|
221
221
|
const manager = new PluginManager({
|
|
222
222
|
config,
|
|
223
223
|
isDev: command === "serve",
|
|
@@ -5,7 +5,7 @@ var _chunkAQIRXBBYcjs = require('./chunk-AQIRXBBY.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkT7UC2ORAcjs = require('./chunk-T7UC2ORA.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk2BEGVSDFcjs = require('./chunk-2BEGVSDF.cjs');
|
|
@@ -80,7 +80,7 @@ async function resolveFarmRendererRoutes(options) {
|
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
const extensions = [
|
|
83
|
-
...
|
|
83
|
+
..._chunkT7UC2ORAcjs.resolveFarmComponentExtensions.call(void 0, renderer.componentExtensions),
|
|
84
84
|
".md",
|
|
85
85
|
".mdx"
|
|
86
86
|
];
|
|
@@ -105,7 +105,7 @@ async function resolveFarmRendererRoutes(options) {
|
|
|
105
105
|
try {
|
|
106
106
|
rule = resolve2.call(rules, file);
|
|
107
107
|
} catch (error) {
|
|
108
|
-
throw
|
|
108
|
+
throw _chunkT7UC2ORAcjs.createFarmRendererHookError.call(void 0,
|
|
109
109
|
`${where} threw while resolving ${modulePath}: ${error instanceof Error ? error.message : String(error)}`,
|
|
110
110
|
error
|
|
111
111
|
);
|
|
@@ -153,7 +153,7 @@ function readRouteRule(rule, where, extension, modulePath) {
|
|
|
153
153
|
try {
|
|
154
154
|
_chunk7U4XF76Rcjs.parseRoutePath.call(void 0, routeFile);
|
|
155
155
|
} catch (error) {
|
|
156
|
-
throw
|
|
156
|
+
throw _chunkT7UC2ORAcjs.createFarmRendererHookError.call(void 0,
|
|
157
157
|
`${where} returned \`pattern: ${JSON.stringify(pattern)}\`: ${error instanceof Error ? error.message : String(error)}`,
|
|
158
158
|
error
|
|
159
159
|
);
|
|
@@ -163,7 +163,7 @@ function readRouteRule(rule, where, extension, modulePath) {
|
|
|
163
163
|
pattern,
|
|
164
164
|
routeFile,
|
|
165
165
|
modulePath,
|
|
166
|
-
hydration:
|
|
166
|
+
hydration: _chunkT7UC2ORAcjs.readFarmRendererHydration.call(void 0, value, where)
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
function readPatternSegments(pattern, where) {
|
|
@@ -316,7 +316,7 @@ var PLATFORM_FILE = /^(?:(page|layout)\.(native|ios|android)\.(?:tsx|ts|jsx|js)|
|
|
|
316
316
|
async function scanRoutePatterns(options) {
|
|
317
317
|
const { root, srcDir = "src" } = options;
|
|
318
318
|
const sourceRoots = _nullishCoalesce(options.sourceRoots, () => ( [{ name: "project", root, srcDir, layer: false }]));
|
|
319
|
-
const componentExtensions =
|
|
319
|
+
const componentExtensions = _chunkT7UC2ORAcjs.resolveFarmComponentExtensions.call(void 0, options.componentExtensions).map(
|
|
320
320
|
(extension) => extension.slice(1)
|
|
321
321
|
);
|
|
322
322
|
const pages = /* @__PURE__ */ new Set();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './utils.d-
|
|
2
|
-
import { F as FarmPlugin } from './client-plugins.d-
|
|
1
|
+
import './utils.d-BODwBtkz.js';
|
|
2
|
+
import { F as FarmPlugin } from './client-plugins.d-Crct3m_r.js';
|
|
3
3
|
import { R as ResolvedFarmLayer } from './layers.d-CH0bC4QL.js';
|
|
4
4
|
import { FarmRenderer } from './renderer.js';
|
|
5
|
-
import './ssg.d-
|
|
5
|
+
import './ssg.d-jXlUAKzg.js';
|
|
6
6
|
import './deployment.js';
|
|
7
|
-
import './handler.d-
|
|
7
|
+
import './handler.d-ZweCBJD4.js';
|
|
8
8
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
9
9
|
import { F as FarmStorageUserConfig } from './types.d-C5hlNbHa.js';
|
|
10
10
|
import { d as FarmSchemaField, F as FarmSchema, R as ResolvedSchemaField, m as FarmSqlDialect, n as FarmSqlStatement, C as CollectedSchemaModel, f as FarmSchemaMigrationStep, k as FarmSchemaReference, l as FarmSchemaTablesDeclaration, j as FarmSchemaOwnerConfig } from './schema.d-BM-uVGpx.js';
|
|
11
11
|
import './routes.js';
|
|
12
|
-
import './server-components-status.d-
|
|
12
|
+
import './server-components-status.d-CfKDpmCH.js';
|
|
13
13
|
import './storage.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './utils.d-
|
|
2
|
-
import { F as FarmPlugin } from './client-plugins.d-
|
|
1
|
+
import './utils.d-Cmj-fzds.mjs';
|
|
2
|
+
import { F as FarmPlugin } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
3
3
|
import { R as ResolvedFarmLayer } from './layers.d-CH0bC4QL.mjs';
|
|
4
4
|
import { FarmRenderer } from './renderer.mjs';
|
|
5
|
-
import './ssg.d-
|
|
5
|
+
import './ssg.d-DS-gXUbf.mjs';
|
|
6
6
|
import './deployment.mjs';
|
|
7
|
-
import './handler.d-
|
|
7
|
+
import './handler.d-B1S1ZBqS.mjs';
|
|
8
8
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
9
9
|
import { F as FarmStorageUserConfig } from './types.d-C5hlNbHa.mjs';
|
|
10
10
|
import { d as FarmSchemaField, F as FarmSchema, R as ResolvedSchemaField, m as FarmSqlDialect, n as FarmSqlStatement, C as CollectedSchemaModel, f as FarmSchemaMigrationStep, k as FarmSchemaReference, l as FarmSchemaTablesDeclaration, j as FarmSchemaOwnerConfig } from './schema.d-BM-uVGpx.mjs';
|
|
11
11
|
import './routes.mjs';
|
|
12
|
-
import './server-components-status.d-
|
|
12
|
+
import './server-components-status.d-BDVcxi0z.mjs';
|
|
13
13
|
import './storage.mjs';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
2
|
-
import { aR as FarmIsolatedClientHydrationMode } from './client-plugins.d-
|
|
2
|
+
import { aR as FarmIsolatedClientHydrationMode } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
2
|
-
import { aR as FarmIsolatedClientHydrationMode } from './client-plugins.d-
|
|
2
|
+
import { aR as FarmIsolatedClientHydrationMode } from './client-plugins.d-Crct3m_r.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
@@ -68,7 +68,8 @@ declare function describeIntegrationOriginRejection(reason: IntegrationOriginRej
|
|
|
68
68
|
/**
|
|
69
69
|
* `experimental.serverComponents`: which engine renders server components.
|
|
70
70
|
*
|
|
71
|
-
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental. The default.
|
|
71
|
+
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental. The default. On a
|
|
72
|
+
* renderer besides React, that renderer's islands (`capabilities.islands`), without the engine.
|
|
72
73
|
* - `"rsc"`: React's Flight pipeline (`@farm.js/plugin/rsc` on `@vitejs/plugin-rsc`).
|
|
73
74
|
*
|
|
74
75
|
* `true` means `{ mode: "islands" }`; `{ mode: "rsc" }` opts into React's pipeline. Both modes share
|
|
@@ -2732,9 +2733,16 @@ interface FarmConfig {
|
|
|
2732
2733
|
suppressLintOnLink?: boolean;
|
|
2733
2734
|
experimental?: {
|
|
2734
2735
|
/**
|
|
2735
|
-
*
|
|
2736
|
-
*
|
|
2737
|
-
*
|
|
2736
|
+
* Server components: pages and layouts render on the server only, and `"use client"` marks
|
|
2737
|
+
* what runs in the browser.
|
|
2738
|
+
*
|
|
2739
|
+
* - `{ mode: "islands" }`, or `true`: each client component hydrates on its own, as an island.
|
|
2740
|
+
* React runs pages on Farm's own engine (RFC 0003). Another renderer needs
|
|
2741
|
+
* `capabilities.islands`, and its islands hydrate through its `withIsland`.
|
|
2742
|
+
* - `{ mode: "rsc" }`: React's Flight pipeline from `@farm.js/plugin/rsc`. React only.
|
|
2743
|
+
*
|
|
2744
|
+
* @experimental
|
|
2745
|
+
* @default false
|
|
2738
2746
|
*/
|
|
2739
2747
|
serverComponents?: FarmServerComponentsConfig;
|
|
2740
2748
|
serverActions?: boolean;
|
|
@@ -2759,7 +2767,8 @@ interface FarmConfig {
|
|
|
2759
2767
|
* back to route-wide hydration for unsupported module graphs.
|
|
2760
2768
|
*
|
|
2761
2769
|
* This does not enable React Server Components. `"use client"` remains a
|
|
2762
|
-
* valid client-boundary declaration in normal SSR applications.
|
|
2770
|
+
* valid client-boundary declaration in normal SSR applications. On a renderer
|
|
2771
|
+
* besides React, turn islands on with `serverComponents: { mode: "islands" }`.
|
|
2763
2772
|
*
|
|
2764
2773
|
* @experimental
|
|
2765
2774
|
* @default "off"
|
|
@@ -68,7 +68,8 @@ declare function describeIntegrationOriginRejection(reason: IntegrationOriginRej
|
|
|
68
68
|
/**
|
|
69
69
|
* `experimental.serverComponents`: which engine renders server components.
|
|
70
70
|
*
|
|
71
|
-
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental. The default.
|
|
71
|
+
* - `"islands"`: Farm's own engine (RFC 0003), on Farm's pipeline. Experimental. The default. On a
|
|
72
|
+
* renderer besides React, that renderer's islands (`capabilities.islands`), without the engine.
|
|
72
73
|
* - `"rsc"`: React's Flight pipeline (`@farm.js/plugin/rsc` on `@vitejs/plugin-rsc`).
|
|
73
74
|
*
|
|
74
75
|
* `true` means `{ mode: "islands" }`; `{ mode: "rsc" }` opts into React's pipeline. Both modes share
|
|
@@ -2732,9 +2733,16 @@ interface FarmConfig {
|
|
|
2732
2733
|
suppressLintOnLink?: boolean;
|
|
2733
2734
|
experimental?: {
|
|
2734
2735
|
/**
|
|
2735
|
-
*
|
|
2736
|
-
*
|
|
2737
|
-
*
|
|
2736
|
+
* Server components: pages and layouts render on the server only, and `"use client"` marks
|
|
2737
|
+
* what runs in the browser.
|
|
2738
|
+
*
|
|
2739
|
+
* - `{ mode: "islands" }`, or `true`: each client component hydrates on its own, as an island.
|
|
2740
|
+
* React runs pages on Farm's own engine (RFC 0003). Another renderer needs
|
|
2741
|
+
* `capabilities.islands`, and its islands hydrate through its `withIsland`.
|
|
2742
|
+
* - `{ mode: "rsc" }`: React's Flight pipeline from `@farm.js/plugin/rsc`. React only.
|
|
2743
|
+
*
|
|
2744
|
+
* @experimental
|
|
2745
|
+
* @default false
|
|
2738
2746
|
*/
|
|
2739
2747
|
serverComponents?: FarmServerComponentsConfig;
|
|
2740
2748
|
serverActions?: boolean;
|
|
@@ -2759,7 +2767,8 @@ interface FarmConfig {
|
|
|
2759
2767
|
* back to route-wide hydration for unsupported module graphs.
|
|
2760
2768
|
*
|
|
2761
2769
|
* This does not enable React Server Components. `"use client"` remains a
|
|
2762
|
-
* valid client-boundary declaration in normal SSR applications.
|
|
2770
|
+
* valid client-boundary declaration in normal SSR applications. On a renderer
|
|
2771
|
+
* besides React, turn islands on with `serverComponents: { mode: "islands" }`.
|
|
2763
2772
|
*
|
|
2764
2773
|
* @experimental
|
|
2765
2774
|
* @default "off"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { d as FarmClientHydrationCompleteEvent, e as FarmClientHydrationEvent, f as FarmClientHydrationMode, g as FarmClientHydrationSession, h as FarmClientLocation, i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, n as FarmClientPerformanceEvent, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-OtGWAvJT.mjs';
|
|
2
|
-
export { F as FarmPlugin, I as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-
|
|
2
|
+
export { F as FarmPlugin, I as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-Dzc3vOw_.mjs';
|
|
3
3
|
import './route.d-ShmtqqVQ.mjs';
|
|
4
4
|
import './endpoint.d-BXbBpKoh.mjs';
|
|
5
5
|
import './cache.mjs';
|
package/dist/client-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { d as FarmClientHydrationCompleteEvent, e as FarmClientHydrationEvent, f as FarmClientHydrationMode, g as FarmClientHydrationSession, h as FarmClientLocation, i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, n as FarmClientPerformanceEvent, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-OtGWAvJT.js';
|
|
2
|
-
export { F as FarmPlugin, I as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-
|
|
2
|
+
export { F as FarmPlugin, I as FarmPluginContext, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-Crct3m_r.js';
|
|
3
3
|
import './route.d-Cd4Fi6BA.js';
|
|
4
4
|
import './endpoint.d-Dx_1k6Du.js';
|
|
5
5
|
import './cache.js';
|
package/dist/client.d.mts
CHANGED
|
@@ -6,12 +6,12 @@ export { RouteActionTarget, UseActionFormProps, UseActionReturn, UseServerFnOpti
|
|
|
6
6
|
export { UseServerQueryOptions, UseServerQueryResult, useServerQuery } from './server-query-client.mjs';
|
|
7
7
|
export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCacheStatus, g as getFarmClientDataCache, n as normalizeFarmClientCacheKey } from './client-cache.d-di_Nasxa.mjs';
|
|
8
8
|
export { F as FarmIntegrationAPI, a as FarmIntegrationAPIBodyFormat, b as FarmIntegrationAPIMethod, c as FarmIntegrationAPIOperation, d as FarmIntegrationAPIResponseFormat, e as api, f as defineIntegrationAPI, g as defineIntegrationAPIOperation, h as endpoint } from './route.d-ShmtqqVQ.mjs';
|
|
9
|
-
import { j as StoreState, l as StoreApi$1, k as StoreValueUpdater, S as StoreKeyListener, D as DefaultRouteHref, F as FarmLinkOptions } from './store-core.d-
|
|
10
|
-
export { a as DefaultRoutePath, b as DefaultRoutePattern, E as ExternalHref, L as LinkDefaultRoute, c as LinkExternalUriSchemes, P as PrefetchBehavior, R as RouteHref, d as RouteOptionalParamValue, e as RouteParamValue, f as RouteParams, g as StoreKeysListener, h as StoreListener, i as StorePatch } from './store-core.d-
|
|
9
|
+
import { j as StoreState, l as StoreApi$1, k as StoreValueUpdater, S as StoreKeyListener, D as DefaultRouteHref, F as FarmLinkOptions } from './store-core.d-CDbVAbTn.mjs';
|
|
10
|
+
export { a as DefaultRoutePath, b as DefaultRoutePattern, E as ExternalHref, L as LinkDefaultRoute, c as LinkExternalUriSchemes, P as PrefetchBehavior, R as RouteHref, d as RouteOptionalParamValue, e as RouteParamValue, f as RouteParams, g as StoreKeysListener, h as StoreListener, i as StorePatch } from './store-core.d-CDbVAbTn.mjs';
|
|
11
11
|
export { UseThemeResult, useTheme } from './theme/client.mjs';
|
|
12
|
-
export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-
|
|
13
|
-
export { c as FarmNavigateOptions, e as FarmNavigationBlocker, F as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, j as getRouter, n as navigateTo, p as prefetch, k as pushState, r as readPageState, l as replaceState } from './spa-router.d-
|
|
14
|
-
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-
|
|
12
|
+
export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-DrQ1QDFk.mjs';
|
|
13
|
+
export { c as FarmNavigateOptions, e as FarmNavigationBlocker, F as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, j as getRouter, n as navigateTo, p as prefetch, k as pushState, r as readPageState, l as replaceState } from './spa-router.d-CXgvy-7L.mjs';
|
|
14
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-ChfinbWB.mjs';
|
|
15
15
|
export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery.d-lnQFzcQP.mjs';
|
|
16
16
|
export { d as FarmClientHydrationCompleteEvent, e as FarmClientHydrationEvent, f as FarmClientHydrationMode, g as FarmClientHydrationSession, h as FarmClientLocation, i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, n as FarmClientPerformanceEvent, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-OtGWAvJT.mjs';
|
|
17
17
|
export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime.d-CCLGkQtE.mjs';
|
|
@@ -24,7 +24,8 @@ import './server-query-call.d-rVM_lsYk.mjs';
|
|
|
24
24
|
import './router.mjs';
|
|
25
25
|
import './types.d-DQnyD3VD.mjs';
|
|
26
26
|
import './types.d-euATAbE4.mjs';
|
|
27
|
-
import './
|
|
27
|
+
import './image-attributes.d-BMPDQO1q.mjs';
|
|
28
|
+
import './client-plugins.d-Dzc3vOw_.mjs';
|
|
28
29
|
import './renderer.mjs';
|
|
29
30
|
import './deployment.mjs';
|
|
30
31
|
import './island.d-CfGru1MO.mjs';
|
|
@@ -54,7 +55,7 @@ import 'rolldown';
|
|
|
54
55
|
import './image-config.d-ByhQ0TT7.mjs';
|
|
55
56
|
import './config.d-BKIhJtmr.mjs';
|
|
56
57
|
import './font.mjs';
|
|
57
|
-
import './render-plan.d-
|
|
58
|
+
import './render-plan.d-DaM1NPnm.mjs';
|
|
58
59
|
|
|
59
60
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
60
61
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|
package/dist/client.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export { RouteActionTarget, UseActionFormProps, UseActionReturn, UseServerFnOpti
|
|
|
6
6
|
export { UseServerQueryOptions, UseServerQueryResult, useServerQuery } from './server-query-client.js';
|
|
7
7
|
export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCacheStatus, g as getFarmClientDataCache, n as normalizeFarmClientCacheKey } from './client-cache.d-Deoqq-nM.js';
|
|
8
8
|
export { F as FarmIntegrationAPI, a as FarmIntegrationAPIBodyFormat, b as FarmIntegrationAPIMethod, c as FarmIntegrationAPIOperation, d as FarmIntegrationAPIResponseFormat, e as api, f as defineIntegrationAPI, g as defineIntegrationAPIOperation, h as endpoint } from './route.d-Cd4Fi6BA.js';
|
|
9
|
-
import { j as StoreState, l as StoreApi$1, k as StoreValueUpdater, S as StoreKeyListener, D as DefaultRouteHref, F as FarmLinkOptions } from './store-core.d-
|
|
10
|
-
export { a as DefaultRoutePath, b as DefaultRoutePattern, E as ExternalHref, L as LinkDefaultRoute, c as LinkExternalUriSchemes, P as PrefetchBehavior, R as RouteHref, d as RouteOptionalParamValue, e as RouteParamValue, f as RouteParams, g as StoreKeysListener, h as StoreListener, i as StorePatch } from './store-core.d-
|
|
9
|
+
import { j as StoreState, l as StoreApi$1, k as StoreValueUpdater, S as StoreKeyListener, D as DefaultRouteHref, F as FarmLinkOptions } from './store-core.d-D00BsbnO.js';
|
|
10
|
+
export { a as DefaultRoutePath, b as DefaultRoutePattern, E as ExternalHref, L as LinkDefaultRoute, c as LinkExternalUriSchemes, P as PrefetchBehavior, R as RouteHref, d as RouteOptionalParamValue, e as RouteParamValue, f as RouteParams, g as StoreKeysListener, h as StoreListener, i as StorePatch } from './store-core.d-D00BsbnO.js';
|
|
11
11
|
export { UseThemeResult, useTheme } from './theme/client.js';
|
|
12
|
-
export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-
|
|
13
|
-
export { c as FarmNavigateOptions, e as FarmNavigationBlocker, F as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, j as getRouter, n as navigateTo, p as prefetch, k as pushState, r as readPageState, l as replaceState } from './spa-router.d-
|
|
14
|
-
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-
|
|
12
|
+
export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-D5Mp7bpO.js';
|
|
13
|
+
export { c as FarmNavigateOptions, e as FarmNavigationBlocker, F as FarmNavigationBlockerContext, f as FarmNavigationListener, h as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, j as getRouter, n as navigateTo, p as prefetch, k as pushState, r as readPageState, l as replaceState } from './spa-router.d-BXxoU3Cv.js';
|
|
14
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-fMgELdAe.js';
|
|
15
15
|
export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery.d-lnQFzcQP.js';
|
|
16
16
|
export { d as FarmClientHydrationCompleteEvent, e as FarmClientHydrationEvent, f as FarmClientHydrationMode, g as FarmClientHydrationSession, h as FarmClientLocation, i as FarmClientNavigationAction, j as FarmClientNavigationErrorEvent, k as FarmClientNavigationEvent, l as FarmClientNavigationLoadedEvent, m as FarmClientNavigationResolvedEvent, a as FarmClientNavigationSession, n as FarmClientPerformanceEvent, b as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-OtGWAvJT.js';
|
|
17
17
|
export { S as ServerQueryFetchOptions, f as fetchServerQuery, p as prefetchServerQuery } from './server-query-runtime.d-BlHd90D0.js';
|
|
@@ -24,7 +24,8 @@ import './server-query-call.d-rVM_lsYk.js';
|
|
|
24
24
|
import './router.js';
|
|
25
25
|
import './types.d-DQnyD3VD.js';
|
|
26
26
|
import './types.d-euATAbE4.js';
|
|
27
|
-
import './
|
|
27
|
+
import './image-attributes.d-BMPDQO1q.js';
|
|
28
|
+
import './client-plugins.d-Crct3m_r.js';
|
|
28
29
|
import './renderer.js';
|
|
29
30
|
import './deployment.js';
|
|
30
31
|
import './island.d-CfGru1MO.js';
|
|
@@ -54,7 +55,7 @@ import 'rolldown';
|
|
|
54
55
|
import './image-config.d-ByhQ0TT7.js';
|
|
55
56
|
import './config.d-BKIhJtmr.js';
|
|
56
57
|
import './font.js';
|
|
57
|
-
import './render-plan.d-
|
|
58
|
+
import './render-plan.d-D0FV9lDT.js';
|
|
58
59
|
|
|
59
60
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
60
61
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|