@farm.js/core 0.1.76 → 0.1.77
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-Cftp2kFv.d.ts → agent-mcp.d-B1h3RznZ.d.ts} +1 -1
- package/dist/{agent-mcp.d-D0FMmqi0.d.mts → agent-mcp.d-WFQotg8M.d.mts} +1 -1
- package/dist/agent-runtime.cjs +2 -2
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/agent-runtime.mjs +1 -1
- package/dist/{analyzer-NLQKPN74.mjs → analyzer-64YS2OXQ.mjs} +2 -2
- package/dist/analyzer-HTNXLX6N.cjs +16 -0
- package/dist/api/node.d.mts +4 -4
- package/dist/api/node.d.ts +4 -4
- package/dist/api/route-manager.d.mts +4 -4
- package/dist/api/route-manager.d.ts +4 -4
- package/dist/api/runtime.d.mts +3 -3
- package/dist/api/runtime.d.ts +3 -3
- package/dist/api.d.mts +5 -5
- package/dist/api.d.ts +5 -5
- package/dist/{app-manifest.d-cpOw_sV5.d.mts → app-manifest.d-EZEYG-tD.d.mts} +1 -1
- package/dist/{app-manifest.d-7PmA_9hm.d.ts → app-manifest.d-Ktsqsuk9.d.ts} +1 -1
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/{app.d-wOkxXre8.d.ts → app.d-CSh3y8w8.d.ts} +4 -4
- package/dist/{app.d-DUZvwnFF.d.mts → app.d-DTkqYcIr.d.mts} +4 -4
- package/dist/{chunk-CL2ONP73.cjs → chunk-2PE5STAR.cjs} +36 -27
- package/dist/{chunk-MOS2N377.mjs → chunk-2QPTZMGK.mjs} +1 -1
- package/dist/{chunk-E7VF3LQ5.mjs → chunk-4STJ6LGR.mjs} +13 -1
- package/dist/{chunk-LQBV2Y37.mjs → chunk-65XXHTVJ.mjs} +38 -2
- package/dist/{chunk-O225GNEU.mjs → chunk-7EXFAJST.mjs} +13 -12
- package/dist/{chunk-QTDIOZV6.cjs → chunk-7SAGHWWU.cjs} +2 -2
- package/dist/{chunk-5EEQNZLU.mjs → chunk-BTHNOAOF.mjs} +2 -2
- package/dist/{chunk-Q4X3MX4J.mjs → chunk-D2RLADWN.mjs} +95 -101
- package/dist/chunk-DS2KZ5BT.mjs +16 -0
- package/dist/{chunk-PXXG5BID.cjs → chunk-DSRWQ4SJ.cjs} +3 -3
- package/dist/{chunk-WMJQNVKX.cjs → chunk-FCHEO3LG.cjs} +2 -2
- package/dist/{chunk-75XSZIRE.mjs → chunk-FD6BMUA3.mjs} +35 -26
- package/dist/{chunk-JL6XHQZF.mjs → chunk-FNVGK72M.mjs} +5 -5
- package/dist/{chunk-Q7JMHO5U.mjs → chunk-FPGSIOWS.mjs} +2 -2
- package/dist/{chunk-2JEXQAIR.cjs → chunk-FTQUNBRN.cjs} +2 -2
- package/dist/{chunk-HKGU2X4I.cjs → chunk-FVVGEGQ2.cjs} +2 -2
- package/dist/{chunk-7564NP5Z.cjs → chunk-GC2BSXQS.cjs} +39 -3
- package/dist/{chunk-CKBBKRBO.mjs → chunk-IHMSLS2O.mjs} +8 -8
- package/dist/{chunk-DVW6SKHA.cjs → chunk-IIVZTGGP.cjs} +2 -2
- package/dist/{chunk-A2VFKOQL.mjs → chunk-IXC6WDMT.mjs} +1 -1
- package/dist/{chunk-TMVVBK5S.cjs → chunk-JD42G6BN.cjs} +2 -2
- package/dist/{chunk-WILPJVQE.cjs → chunk-LTDMJD2F.cjs} +4 -4
- package/dist/{chunk-XX6ZA2IO.cjs → chunk-MQW4LHJR.cjs} +1 -1
- package/dist/{chunk-BYJPBJ4E.cjs → chunk-NQZWLIPT.cjs} +3 -3
- package/dist/{chunk-YHE7HH2I.mjs → chunk-NTHAZLVS.mjs} +27 -26
- package/dist/{chunk-OCLCA3X3.mjs → chunk-OCKQ3YOH.mjs} +1 -1
- package/dist/{chunk-WJDMH3E7.cjs → chunk-OQZF6H6G.cjs} +4 -4
- package/dist/{chunk-SGQXJVFX.mjs → chunk-ORWXJDUN.mjs} +1 -1
- package/dist/{chunk-QP4GYVRR.cjs → chunk-PMKUTZGR.cjs} +8 -8
- package/dist/{chunk-CCQZDOQR.cjs → chunk-PUEPDMWY.cjs} +16 -16
- package/dist/{chunk-MTBDJ326.cjs → chunk-QMR2TUVZ.cjs} +13 -1
- package/dist/{chunk-2GZZVIXY.mjs → chunk-QODXWUGQ.mjs} +2 -2
- package/dist/{chunk-UBXNTZCY.cjs → chunk-RFXEQYPH.cjs} +98 -104
- package/dist/{chunk-DTNWLRRF.cjs → chunk-SIYELCIX.cjs} +73 -73
- package/dist/{chunk-E77ZKNPN.mjs → chunk-SL2BSPDJ.mjs} +1 -1
- package/dist/{chunk-X3HUT4JU.mjs → chunk-SMYDCZBW.mjs} +1 -1
- package/dist/{chunk-YQXJY7E7.mjs → chunk-TQOYIPMQ.mjs} +1 -1
- package/dist/{chunk-XLOORES5.cjs → chunk-UYACD4SH.cjs} +1 -1
- package/dist/{chunk-3OYFMOBY.mjs → chunk-WHNNDFCJ.mjs} +1 -1
- package/dist/{chunk-YONTMPZ6.mjs → chunk-WXMR3OHY.mjs} +1 -1
- package/dist/{chunk-BBRSPKFI.cjs → chunk-WZVESREI.cjs} +145 -144
- package/dist/chunk-XRRHPBG2.cjs +16 -0
- package/dist/{chunk-PSNYVBWC.cjs → chunk-YROK6CJC.cjs} +7 -7
- package/dist/{chunk-2WKGQCAV.cjs → chunk-YRQ44JTF.cjs} +153 -152
- package/dist/{chunk-VDJ3CLBR.mjs → chunk-YTGNMKRA.mjs} +1 -1
- package/dist/{chunk-GP5BWTO7.mjs → chunk-ZBE5EHVJ.mjs} +4 -4
- package/dist/{cli-runtime.d-D84CwyPI.d.ts → cli-runtime.d-DljFfr8T.d.ts} +8 -6
- package/dist/{cli-runtime.d-OQY2pgwK.d.mts → cli-runtime.d-HSkdfvoq.d.mts} +8 -6
- package/dist/{client-component.d-Bh6CfC5z.d.mts → client-component.d-B-1dIlsw.d.mts} +1 -1
- package/dist/{client-component.d-Bf8jZqW7.d.ts → client-component.d-_otXB__v.d.ts} +1 -1
- package/dist/{client-plugins.d-r3K2oQ6w.d.mts → client-plugins.d-BmBzvfSP.d.mts} +1 -1
- package/dist/{client-plugins.d-DuujrC8d.d.ts → client-plugins.d-MjxlvbCK.d.ts} +1 -1
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/desktop.d.mts +3 -3
- package/dist/desktop.d.ts +3 -3
- package/dist/{devtools-MBZPUH3U.mjs → devtools-7LHXG2VS.mjs} +4 -3
- package/dist/{devtools-3WZIZ7KK.cjs → devtools-NNQN66EZ.cjs} +5 -4
- package/dist/docs.cjs +6 -5
- package/dist/docs.d.mts +4 -4
- package/dist/docs.d.ts +4 -4
- package/dist/docs.mjs +5 -4
- package/dist/environment/vite.cjs +5 -4
- package/dist/environment/vite.mjs +4 -3
- package/dist/{handler.d-Bd5lRSvb.d.ts → handler.d-C53zFDmp.d.ts} +1 -1
- package/dist/{handler.d-SRH-AKzf.d.mts → handler.d-CaYopqaD.d.mts} +1 -1
- package/dist/{headers.d-D-OvGikv.d.ts → headers.d-BvtpC90T.d.ts} +1 -1
- package/dist/{headers.d-CHHvyaIG.d.mts → headers.d-MBkD9ZLf.d.mts} +1 -1
- package/dist/index.cjs +28 -23
- package/dist/{index.d-BiUtYJUG.d.ts → index.d-2hQpPZ-P.d.ts} +1 -1
- package/dist/{index.d-BOPsgMlI.d.mts → index.d-Mikf-tdP.d.mts} +1 -1
- package/dist/index.d.mts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.mjs +27 -22
- package/dist/integrations/orm.cjs +4 -3
- package/dist/integrations/orm.d.mts +2 -2
- package/dist/integrations/orm.d.ts +2 -2
- package/dist/integrations/orm.mjs +3 -2
- package/dist/integrations.cjs +2 -2
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.mjs +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +3 -3
- package/dist/internal/app-markdown-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.cjs +22 -21
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +21 -20
- package/dist/internal/cli-runtime.cjs +12 -9
- package/dist/internal/cli-runtime.d.mts +9 -8
- package/dist/internal/cli-runtime.d.ts +9 -8
- package/dist/internal/cli-runtime.mjs +12 -9
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/compression-runtime.cjs +2 -2
- package/dist/internal/compression-runtime.d.mts +6 -3
- package/dist/internal/compression-runtime.d.ts +6 -3
- package/dist/internal/compression-runtime.mjs +1 -1
- package/dist/internal/config-runtime.cjs +6 -5
- package/dist/internal/config-runtime.d.mts +4 -4
- package/dist/internal/config-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.mjs +5 -4
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- 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 +7 -6
- package/dist/internal/production-runtime.d.mts +11 -11
- package/dist/internal/production-runtime.d.ts +11 -11
- package/dist/internal/production-runtime.mjs +6 -5
- package/dist/internal/start-manifest.d.mts +2 -2
- package/dist/internal/start-manifest.d.ts +2 -2
- package/dist/{layers-XQ7VFMWO.mjs → layers-I7VE5Q2Y.mjs} +2 -1
- package/dist/layers-WP5K5F7W.cjs +21 -0
- package/dist/markdown.d.mts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/middleware.d.mts +2 -2
- package/dist/middleware.d.ts +2 -2
- package/dist/{mount.d-vq1HTq5u.d.mts → mount.d-DsP46XCy.d.mts} +1 -1
- package/dist/{mount.d-C2yq0Zzz.d.ts → mount.d-GU-tNxbE.d.ts} +1 -1
- package/dist/{navigation-delegate.d-DS2Sqm7E.d.mts → navigation-delegate.d-CUtNOYLi.d.mts} +1 -1
- package/dist/{navigation-delegate.d-D7xIin3i.d.ts → navigation-delegate.d-DsxNPrLT.d.ts} +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/{plugin-6CHZBFJD.mjs → plugin-2KWR2X4B.mjs} +1 -1
- package/dist/{plugin-YXPIS3XX.cjs → plugin-MW7IDV76.cjs} +2 -2
- package/dist/plugin.cjs +14 -13
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +13 -12
- package/dist/{render-plan.d-BCq0nfdw.d.ts → render-plan.d-8K6S0h0L.d.ts} +1 -1
- package/dist/{render-plan.d-X6KqerAM.d.mts → render-plan.d-B7Xp-PPW.d.mts} +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/{request.d-CPdq2_kC.d.ts → request.d-CuQxmOqX.d.ts} +1 -1
- package/dist/{request.d-Be9rWboC.d.mts → request.d-nhqciCAz.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/{route-rendering.d-CKB5GhQr.d.ts → route-rendering.d-BSsdDYC1.d.ts} +1 -1
- package/dist/{route-rendering.d-CIPli7Ve.d.mts → route-rendering.d-CeF1FOnl.d.mts} +1 -1
- package/dist/{router.d-CvrbOXzF.d.ts → router.d-C7yGlhDL.d.ts} +1 -1
- package/dist/{router.d-VxTgLGxN.d.mts → router.d-D462OX24.d.mts} +1 -1
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/{rsc-pipeline-TPHK74VE.cjs → rsc-pipeline-7PV6ARDS.cjs} +8 -7
- package/dist/{rsc-pipeline-FPE4OL57.mjs → rsc-pipeline-EZU4W4RL.mjs} +7 -6
- package/dist/{runtime-UBG657UC.cjs → runtime-QOE3NRXF.cjs} +8 -7
- package/dist/{runtime-45BD33OJ.mjs → runtime-RWLFEPS3.mjs} +5 -4
- package/dist/{runtime.d-Cn1jiDNI.d.mts → runtime.d-C-BHQMy5.d.mts} +1 -1
- package/dist/{runtime.d-Ps54JWpo.d.ts → runtime.d-CORDJQMy.d.ts} +1 -1
- package/dist/{server-components-status.d-DnmipSb3.d.mts → server-components-status.d-BJ6huueH.d.mts} +1 -1
- package/dist/{server-components-status.d-Dhtbs5lC.d.ts → server-components-status.d-BbADqqjq.d.ts} +1 -1
- package/dist/server-plugins.cjs +2 -2
- package/dist/server-plugins.d.mts +4 -4
- package/dist/server-plugins.d.ts +4 -4
- package/dist/server-plugins.mjs +1 -1
- package/dist/server.cjs +43 -38
- package/dist/server.d.mts +13 -13
- package/dist/server.d.ts +13 -13
- package/dist/server.mjs +21 -16
- package/dist/session-OU7M4CIF.cjs +24 -0
- package/dist/{session-ASQTJNBK.mjs → session-WPAT6H76.mjs} +3 -2
- package/dist/{spa-router.d-DXm5J9rM.d.mts → spa-router.d-DfjafHyX.d.mts} +2 -2
- package/dist/{spa-router.d-cppVufl2.d.ts → spa-router.d-DyGJLQc_.d.ts} +2 -2
- package/dist/{ssg.d-CI5OFl8H.d.ts → ssg.d-D11lz_wr.d.ts} +2 -2
- package/dist/{ssg.d-Duzy1wQc.d.mts → ssg.d-iiLTyLAO.d.mts} +2 -2
- package/dist/storage.cjs +7 -2
- package/dist/storage.d.mts +260 -38
- package/dist/storage.d.ts +260 -38
- package/dist/storage.mjs +6 -1
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/{types.d-D5cY6XjK.d.mts → types.d-DC97bnjj.d.mts} +20 -3
- package/dist/{types.d-D5cY6XjK.d.ts → types.d-DC97bnjj.d.ts} +20 -3
- package/dist/{utils.d-D3dfy8zh.d.ts → utils.d-D-GQeEfa.d.ts} +1 -1
- package/dist/{utils.d-CNI-I8ZV.d.mts → utils.d-fW-95yEh.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +14 -13
- package/dist/vite.d.mts +7 -7
- package/dist/vite.d.ts +7 -7
- package/dist/vite.mjs +13 -12
- package/package.json +2 -2
- package/dist/analyzer-KFJGYJS7.cjs +0 -16
- package/dist/layers-7P4RLKVX.cjs +0 -20
- package/dist/session-ACVUJ5XV.cjs +0 -23
- /package/dist/{chunk-OWO7KDZ3.cjs → chunk-AF3PNVVF.cjs} +0 -0
- /package/dist/{chunk-6MNDFNZW.mjs → chunk-BEXH6BGH.mjs} +0 -0
- /package/dist/{chunk-22T75EML.cjs → chunk-PC5OZ4YR.cjs} +0 -0
- /package/dist/{chunk-LSHUCNIF.mjs → chunk-RL47VZ6J.mjs} +0 -0
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMQW4LHJRcjs = require('./chunk-MQW4LHJR.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkX3Y6JWJGcjs = require('./chunk-X3Y6JWJG.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkYROK6CJCcjs = require('./chunk-YROK6CJC.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ var _chunk3QM74STYcjs = require('./chunk-3QM74STY.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk7SAGHWWUcjs = require('./chunk-7SAGHWWU.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
@@ -60,7 +60,7 @@ function pickImportTarget(entry) {
|
|
|
60
60
|
return void 0;
|
|
61
61
|
}
|
|
62
62
|
async function importFromApp(root, packageName, subpath = ".") {
|
|
63
|
-
const packageDir =
|
|
63
|
+
const packageDir = _chunkMQW4LHJRcjs.findFarmAppPackageDir.call(void 0, root, packageName);
|
|
64
64
|
if (!packageDir) return void 0;
|
|
65
65
|
const manifest = JSON.parse(_fs.readFileSync.call(void 0, _path2.default.join(packageDir, "package.json"), "utf8"));
|
|
66
66
|
const exportsMap = manifest.exports;
|
|
@@ -87,12 +87,12 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
87
87
|
importFromApp(root, "@vitejs/plugin-rsc"),
|
|
88
88
|
importFromApp(root, "@vitejs/plugin-react")
|
|
89
89
|
]);
|
|
90
|
-
if (!pluginRsc || !viteRsc || !
|
|
90
|
+
if (!pluginRsc || !viteRsc || !_chunkMQW4LHJRcjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
|
|
91
91
|
throw new Error(
|
|
92
|
-
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${
|
|
92
|
+
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkMQW4LHJRcjs.FARM_RSC_INSTALL_HINT}`
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
const layered = await
|
|
95
|
+
const layered = await _chunkMQW4LHJRcjs.resolveFarmRscCheckConfig.call(void 0,
|
|
96
96
|
userConfig,
|
|
97
97
|
root,
|
|
98
98
|
options.command === "build" ? "production" : "development"
|
|
@@ -106,9 +106,9 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
106
106
|
},
|
|
107
107
|
options.command
|
|
108
108
|
);
|
|
109
|
-
const blockingKeys =
|
|
109
|
+
const blockingKeys = _chunkMQW4LHJRcjs.inspectFarmServerComponents.call(void 0, config, root).blockingKeys;
|
|
110
110
|
if (blockingKeys.length > 0) {
|
|
111
|
-
throw new Error(`[Farm.js] ${
|
|
111
|
+
throw new Error(`[Farm.js] ${_chunkMQW4LHJRcjs.formatFarmRscBlockingMessage.call(void 0, blockingKeys)}`);
|
|
112
112
|
}
|
|
113
113
|
const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(config.vite, () => ( {}));
|
|
114
114
|
const rscConfig = {};
|
|
@@ -116,10 +116,10 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
116
116
|
if (config[key] !== void 0) rscConfig[key] = config[key];
|
|
117
117
|
}
|
|
118
118
|
const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _4 => _4.default]), async () => ( (options.command === "serve" ? (await _chunk3QM74STYcjs.loadFarmReactPlugin.call(void 0, )).default : void 0)));
|
|
119
|
-
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await
|
|
119
|
+
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await _chunk7SAGHWWUcjs.loadTailwindVitePlugin.call(void 0, );
|
|
120
120
|
const platform = _chunkAQLHD6HZcjs.resolveFarmPlatform.call(void 0, );
|
|
121
121
|
const mobileClient = config.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
|
|
122
|
-
const clientPluginEntry =
|
|
122
|
+
const clientPluginEntry = _chunk7SAGHWWUcjs.generateFarmClientPluginEntryCode.call(void 0,
|
|
123
123
|
config.plugins,
|
|
124
124
|
root,
|
|
125
125
|
typeof config.srcDir === "string" ? config.srcDir : "src",
|
|
@@ -156,7 +156,7 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
156
156
|
server: { environmentName: "rsc" },
|
|
157
157
|
config: {
|
|
158
158
|
preset: options.preset,
|
|
159
|
-
outputDir: options.outputDir &&
|
|
159
|
+
outputDir: options.outputDir && _chunkYROK6CJCcjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
|
|
160
160
|
}
|
|
161
161
|
})
|
|
162
162
|
]
|
|
@@ -176,14 +176,14 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
176
176
|
async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
177
177
|
const kept = _nullishCoalesce(config.plugins, () => ( []));
|
|
178
178
|
const names = new Set(
|
|
179
|
-
kept.filter((plugin) =>
|
|
179
|
+
kept.filter((plugin) => _chunk7SAGHWWUcjs.hasFarmServerRuntimePlugins.call(void 0, [plugin])).map((plugin) => plugin.name)
|
|
180
180
|
);
|
|
181
181
|
if (names.size === 0) return void 0;
|
|
182
182
|
const loads = (plugin) => {
|
|
183
183
|
const candidate = plugin;
|
|
184
|
-
return !!candidate && names.has(candidate.name) &&
|
|
184
|
+
return !!candidate && names.has(candidate.name) && _chunk7SAGHWWUcjs.hasFarmServerRuntimePlugins.call(void 0, [candidate]);
|
|
185
185
|
};
|
|
186
|
-
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-
|
|
186
|
+
const { findFarmConfigFile, loadFarmConfigFile, resolveFarmLayers } = await import("./layers-WP5K5F7W.cjs");
|
|
187
187
|
const files = [];
|
|
188
188
|
if (userConfig.extends) {
|
|
189
189
|
const { layers } = await resolveFarmLayers(userConfig, { root, mode: "production" });
|
|
@@ -210,7 +210,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
|
|
|
210
210
|
}
|
|
211
211
|
async function configureFarmRscPlugins(config, command) {
|
|
212
212
|
if (config.plugins.length === 0) return config;
|
|
213
|
-
const { PluginManager } = await import("./plugin-
|
|
213
|
+
const { PluginManager } = await import("./plugin-MW7IDV76.cjs");
|
|
214
214
|
const manager = new PluginManager({
|
|
215
215
|
config,
|
|
216
216
|
isDev: command === "serve",
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
var _chunkASYOWPSRcjs = require('./chunk-ASYOWPSR.cjs');
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
var _chunkXRRHPBG2cjs = require('./chunk-XRRHPBG2.cjs');
|
|
9
|
+
|
|
7
10
|
// src/layers.ts
|
|
8
11
|
var _fs = require('fs');
|
|
9
12
|
var _promises = require('fs/promises');
|
|
@@ -373,7 +376,16 @@ function mergeFarmLayerConfig(base, override) {
|
|
|
373
376
|
continue;
|
|
374
377
|
}
|
|
375
378
|
if (isPlainObject(output[key]) && isPlainObject(value)) {
|
|
376
|
-
|
|
379
|
+
const merged = mergePlainObjects(output[key], value);
|
|
380
|
+
if (key === "storage" && isPlainObject(value.mounts) && isPlainObject(output[key].mounts)) {
|
|
381
|
+
for (const [name, mount] of Object.entries(value.mounts)) {
|
|
382
|
+
const previous = output[key].mounts[name];
|
|
383
|
+
if (mount !== void 0 && (_chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, previous) || _chunkXRRHPBG2cjs.hasManagedMountSchema.call(void 0, mount))) {
|
|
384
|
+
merged.mounts[name] = mount;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
output[key] = merged;
|
|
377
389
|
continue;
|
|
378
390
|
}
|
|
379
391
|
output[key] = value;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-4QENVMG7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getFarmSourceRoots
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4STJ6LGR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
isReactRenderer
|
|
13
13
|
} from "./chunk-GCRT6GJG.mjs";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-Z3QXQN4U.mjs";
|
|
22
22
|
import {
|
|
23
23
|
FARM_VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SMYDCZBW.mjs";
|
|
25
25
|
|
|
26
26
|
// src/environment-vite.ts
|
|
27
27
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkXRRHPBG2cjs = require('./chunk-XRRHPBG2.cjs');
|
|
4
|
+
|
|
5
|
+
// src/storage/managed-sqlite.ts
|
|
2
6
|
function managedSqliteName(mount, managed) {
|
|
3
7
|
const name = managed === true ? mount : managed && typeof managed === "object" && "name" in managed ? managed.name : void 0;
|
|
4
8
|
if (typeof name !== "string" || !/^[a-z][a-z0-9-]{0,62}$/.test(name))
|
|
@@ -75,7 +79,8 @@ async function connect(name, loadClient) {
|
|
|
75
79
|
});
|
|
76
80
|
}
|
|
77
81
|
var databaseAccessor = /* @__PURE__ */ Symbol.for("farmjs.storage.managedDatabase");
|
|
78
|
-
|
|
82
|
+
var mountSchema = /* @__PURE__ */ Symbol.for("farmjs.storage.managedSchema");
|
|
83
|
+
function managedSqliteDriver(name, loadClient, schema) {
|
|
79
84
|
let pending;
|
|
80
85
|
let initialized;
|
|
81
86
|
let closed = false;
|
|
@@ -100,6 +105,7 @@ function managedSqliteDriver(name, loadClient) {
|
|
|
100
105
|
return {
|
|
101
106
|
name: "farm-managed-sqlite",
|
|
102
107
|
[databaseAccessor]: client,
|
|
108
|
+
[mountSchema]: schema,
|
|
103
109
|
async hasItem(key) {
|
|
104
110
|
return (await (await kv()).execute({ sql: "SELECT 1 FROM _farm_kv WHERE key=?", args: [key] })).rows.length > 0;
|
|
105
111
|
},
|
|
@@ -287,6 +293,7 @@ function extractDriverOptions(config) {
|
|
|
287
293
|
client: _client,
|
|
288
294
|
driver: _driver,
|
|
289
295
|
mounts: _mounts,
|
|
296
|
+
managed: _managed,
|
|
290
297
|
options,
|
|
291
298
|
tableName: _tableName,
|
|
292
299
|
...inlineOptions
|
|
@@ -332,14 +339,16 @@ async function resolveDriver(config, mount) {
|
|
|
332
339
|
if (config && isStorageClient(config)) {
|
|
333
340
|
return config.resolveDriver();
|
|
334
341
|
}
|
|
335
|
-
|
|
342
|
+
const hosted = resolveManagedStorageMount(config);
|
|
343
|
+
if (hosted) {
|
|
336
344
|
if (!mount) throw new TypeError("Register managed SQLite in storage.mounts.");
|
|
337
345
|
return managedSqliteDriver(
|
|
338
|
-
managedSqliteName(mount,
|
|
339
|
-
() => loadModule("@libsql/client/http")
|
|
346
|
+
managedSqliteName(mount, hosted.managed),
|
|
347
|
+
() => loadModule("@libsql/client/http"),
|
|
348
|
+
hosted.schema
|
|
340
349
|
);
|
|
341
350
|
}
|
|
342
|
-
const driverInput = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
351
|
+
const driverInput = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.driver]), () => ( "memory"));
|
|
343
352
|
if (typeof driverInput === "function") {
|
|
344
353
|
return await driverInput();
|
|
345
354
|
}
|
|
@@ -421,12 +430,17 @@ function createStorageClientFromResolver(resolveDriver2, modules = []) {
|
|
|
421
430
|
function defineStorageClient(resolveDriver2) {
|
|
422
431
|
return createStorageClientFromResolver(resolveDriver2);
|
|
423
432
|
}
|
|
424
|
-
function
|
|
433
|
+
function configuredStorageClient(config) {
|
|
434
|
+
const hosted = resolveManagedStorageMount(config);
|
|
435
|
+
if (hosted) return hosted;
|
|
425
436
|
return createStorageClientFromResolver(
|
|
426
437
|
() => resolveDriver(config),
|
|
427
438
|
_collectFarmStorageModules(config)
|
|
428
439
|
);
|
|
429
440
|
}
|
|
441
|
+
function createStorageClient(config) {
|
|
442
|
+
return configuredStorageClient(config);
|
|
443
|
+
}
|
|
430
444
|
function driverStorage(driver) {
|
|
431
445
|
return defineStorageClient(() => typeof driver === "function" ? driver() : driver);
|
|
432
446
|
}
|
|
@@ -440,105 +454,81 @@ function databaseStorage(database, options = {}) {
|
|
|
440
454
|
return driver;
|
|
441
455
|
}, ["unstorage/drivers/db0"]);
|
|
442
456
|
}
|
|
443
|
-
function
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
function localStorage(options = {}) {
|
|
447
|
-
return createStorageClient({
|
|
448
|
-
driver: "local",
|
|
449
|
-
...options
|
|
450
|
-
});
|
|
451
|
-
}
|
|
452
|
-
function sqliteStorage(options) {
|
|
453
|
-
if ("managed" in options) {
|
|
454
|
-
if (Object.keys(options).some((key) => key !== "managed"))
|
|
455
|
-
throw new TypeError("Supply only managed when Farm provisions SQLite.");
|
|
456
|
-
if (options.managed !== true) managedSqliteName("", options.managed);
|
|
457
|
-
return { driver: "farm-managed-sqlite", managed: options.managed };
|
|
457
|
+
function assertMountSchema(schema) {
|
|
458
|
+
if (schema !== void 0 && !_chunkXRRHPBG2cjs.isMountSchema.call(void 0, schema)) {
|
|
459
|
+
throw new TypeError("Pass a schema created with defineSchema() from @farming-labs/orm.");
|
|
458
460
|
}
|
|
459
|
-
return createStorageClient({
|
|
460
|
-
driver: "sqlite",
|
|
461
|
-
...options
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
function mysqlStorage(options) {
|
|
465
|
-
return createStorageClient({
|
|
466
|
-
driver: "mysql",
|
|
467
|
-
...options
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
function mysql2Storage(options) {
|
|
471
|
-
return mysqlStorage(options);
|
|
472
|
-
}
|
|
473
|
-
function postgresStorage(options) {
|
|
474
|
-
return createStorageClient({
|
|
475
|
-
driver: "postgres",
|
|
476
|
-
...options
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
function pgStorage(options) {
|
|
480
|
-
return postgresStorage(options);
|
|
481
|
-
}
|
|
482
|
-
function pgliteStorage(options) {
|
|
483
|
-
return createStorageClient({
|
|
484
|
-
driver: "pglite",
|
|
485
|
-
...options
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
function planetscaleStorage(options) {
|
|
489
|
-
return createStorageClient({
|
|
490
|
-
driver: "planetscale",
|
|
491
|
-
...options
|
|
492
|
-
});
|
|
493
|
-
}
|
|
494
|
-
function libsqlStorage(options) {
|
|
495
|
-
return createStorageClient({
|
|
496
|
-
driver: "libsql",
|
|
497
|
-
...options
|
|
498
|
-
});
|
|
499
|
-
}
|
|
500
|
-
function redisStorage(options) {
|
|
501
|
-
return createStorageClient({
|
|
502
|
-
driver: "redis",
|
|
503
|
-
...options
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
function s3Storage(options) {
|
|
507
|
-
return createStorageClient({
|
|
508
|
-
driver: "s3",
|
|
509
|
-
...options
|
|
510
|
-
});
|
|
511
461
|
}
|
|
512
|
-
function
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
...options
|
|
528
|
-
});
|
|
462
|
+
function farmStorage(options = {}) {
|
|
463
|
+
if (!options || typeof options !== "object" || Array.isArray(options) || Object.keys(options).some((key) => key !== "namespace" && key !== "managed" && key !== "schema"))
|
|
464
|
+
throw new TypeError(
|
|
465
|
+
"Use farmStorage() or pass only the `managed`, `namespace`, and `schema` options."
|
|
466
|
+
);
|
|
467
|
+
if (options.managed !== void 0 && options.managed !== true)
|
|
468
|
+
throw new TypeError("Set `managed` to true or omit it when using farmStorage().");
|
|
469
|
+
const managed = options.namespace === void 0 ? true : { name: options.namespace };
|
|
470
|
+
if (managed !== true) managedSqliteName("", managed);
|
|
471
|
+
assertMountSchema(options.schema);
|
|
472
|
+
return {
|
|
473
|
+
driver: "farm-managed-sqlite",
|
|
474
|
+
managed,
|
|
475
|
+
...options.schema && { schema: options.schema }
|
|
476
|
+
};
|
|
529
477
|
}
|
|
530
|
-
function
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
478
|
+
function resolveManagedStorageMount(config) {
|
|
479
|
+
if (!config || typeof config !== "object") return;
|
|
480
|
+
if ("schema" in config && _chunkXRRHPBG2cjs.isMountSchema.call(void 0, config.schema) && (!("managed" in config) || !config.managed)) {
|
|
481
|
+
throw new TypeError(
|
|
482
|
+
"Set `managed: true` or use farmStorage({ schema }) to bind an ORM schema."
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
if (!("managed" in config)) {
|
|
486
|
+
if ("driver" in config && config.driver === "farm-managed-sqlite")
|
|
487
|
+
throw new TypeError("Set `managed` to true on a hosted storage mount.");
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
const { driver, managed, ...options } = config;
|
|
491
|
+
if ((managed === false || managed === void 0) && driver !== "farm-managed-sqlite") return;
|
|
492
|
+
if (typeof driver !== "string" || !(driver === "farm-managed-sqlite" || driver === "local" || driver === "vercel-kv" || Object.prototype.hasOwnProperty.call(DATABASE_CONNECTORS, driver) || driver !== "db0" && Object.prototype.hasOwnProperty.call(_unstorage.builtinDrivers, driver)))
|
|
493
|
+
throw new TypeError("Select a built-in storage driver to use `managed: true`.");
|
|
494
|
+
if (Object.keys(options).some((key) => key !== "namespace" && key !== "schema"))
|
|
495
|
+
throw new TypeError(
|
|
496
|
+
"Remove provider connection settings and driver options when using `managed: true`."
|
|
497
|
+
);
|
|
498
|
+
assertMountSchema(options.schema);
|
|
499
|
+
if (managed === true)
|
|
500
|
+
return farmStorage({
|
|
501
|
+
namespace: options.namespace,
|
|
502
|
+
schema: options.schema
|
|
503
|
+
});
|
|
504
|
+
if ((driver === "sqlite" || driver === "farm-managed-sqlite") && !("namespace" in options)) {
|
|
505
|
+
return farmStorage({ namespace: managedSqliteName("", managed), schema: options.schema });
|
|
506
|
+
}
|
|
507
|
+
throw new TypeError("Set `managed` to true and use `namespace` to select a hosted resource.");
|
|
535
508
|
}
|
|
536
|
-
function
|
|
537
|
-
|
|
538
|
-
driver
|
|
539
|
-
|
|
540
|
-
|
|
509
|
+
function providerStorage(driver) {
|
|
510
|
+
function storage(options) {
|
|
511
|
+
return configuredStorageClient({ ...options, driver });
|
|
512
|
+
}
|
|
513
|
+
return storage;
|
|
541
514
|
}
|
|
515
|
+
var memoryStorage = providerStorage("memory");
|
|
516
|
+
var localStorage = providerStorage("local");
|
|
517
|
+
var sqliteStorage = providerStorage("sqlite");
|
|
518
|
+
var mysqlStorage = providerStorage("mysql");
|
|
519
|
+
var mysql2Storage = mysqlStorage;
|
|
520
|
+
var postgresStorage = providerStorage("postgres");
|
|
521
|
+
var pgStorage = postgresStorage;
|
|
522
|
+
var pgliteStorage = providerStorage("pglite");
|
|
523
|
+
var planetscaleStorage = providerStorage("planetscale");
|
|
524
|
+
var libsqlStorage = providerStorage("libsql");
|
|
525
|
+
var redisStorage = providerStorage("redis");
|
|
526
|
+
var s3Storage = providerStorage("s3");
|
|
527
|
+
var mongodbStorage = providerStorage("mongodb");
|
|
528
|
+
var upstashStorage = providerStorage("upstash");
|
|
529
|
+
var netlifyBlobsStorage = providerStorage("netlify-blobs");
|
|
530
|
+
var vercelKVStorage = providerStorage("vercel-kv");
|
|
531
|
+
var vercelBlobStorage = providerStorage("vercel-blob");
|
|
542
532
|
function collectDriverModules(config, modules) {
|
|
543
533
|
if (!config || typeof config !== "object") return;
|
|
544
534
|
if (isStorageClient(config)) {
|
|
@@ -550,7 +540,7 @@ function collectDriverModules(config, modules) {
|
|
|
550
540
|
const source = config;
|
|
551
541
|
const driver = source.driver;
|
|
552
542
|
if (typeof driver === "string") {
|
|
553
|
-
if (
|
|
543
|
+
if (resolveManagedStorageMount(config)) {
|
|
554
544
|
modules.add("@libsql/client/http");
|
|
555
545
|
} else if (isDatabaseDriverName(driver)) {
|
|
556
546
|
modules.add("db0");
|
|
@@ -629,7 +619,9 @@ async function getDatabase(name, options) {
|
|
|
629
619
|
"Configure a managed SQLite mount named " + JSON.stringify(name) + " before calling getDatabase()."
|
|
630
620
|
);
|
|
631
621
|
const client = await driver[databaseAccessor]();
|
|
632
|
-
|
|
622
|
+
if (options && "raw" in options) return client;
|
|
623
|
+
const schema = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _9 => _9.schema]), () => ( driver[mountSchema]));
|
|
624
|
+
return schema ? managedOrm(client, schema) : client;
|
|
633
625
|
}
|
|
634
626
|
function getStorage(namespace) {
|
|
635
627
|
globalStorage = getActiveGlobalStorage();
|
|
@@ -726,4 +718,6 @@ async function disposeStorage() {
|
|
|
726
718
|
|
|
727
719
|
|
|
728
720
|
|
|
729
|
-
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
exports.managedSqliteName = managedSqliteName; exports.requestSqliteResource = requestSqliteResource; exports._registerFarmStorageModules = _registerFarmStorageModules; exports.defineStorageClient = defineStorageClient; exports.createStorageClient = createStorageClient; exports.driverStorage = driverStorage; exports.databaseStorage = databaseStorage; exports.farmStorage = farmStorage; exports.resolveManagedStorageMount = resolveManagedStorageMount; exports.memoryStorage = memoryStorage; exports.localStorage = localStorage; exports.sqliteStorage = sqliteStorage; exports.mysqlStorage = mysqlStorage; exports.mysql2Storage = mysql2Storage; exports.postgresStorage = postgresStorage; exports.pgStorage = pgStorage; exports.pgliteStorage = pgliteStorage; exports.planetscaleStorage = planetscaleStorage; exports.libsqlStorage = libsqlStorage; exports.redisStorage = redisStorage; exports.s3Storage = s3Storage; exports.mongodbStorage = mongodbStorage; exports.upstashStorage = upstashStorage; exports.netlifyBlobsStorage = netlifyBlobsStorage; exports.vercelKVStorage = vercelKVStorage; exports.vercelBlobStorage = vercelBlobStorage; exports._collectFarmStorageModules = _collectFarmStorageModules; exports.createFarmStorage = createFarmStorage; exports.resolveStorageRuntimeClient = resolveStorageRuntimeClient; exports.initStorage = initStorage; exports.getDatabase = getDatabase; exports.getStorage = getStorage; exports.disposeStorage = disposeStorage;
|