@farm.js/core 0.2.1 → 0.2.3
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--uQgDp_Q.d.ts → agent-mcp.d-DuZjglYX.d.ts} +1 -1
- package/dist/{agent-mcp.d-DpthRhqr.d.mts → agent-mcp.d-gI3ahrF6.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-5RSMYPWD.cjs +17 -0
- package/dist/{analyzer-GLFRODYV.mjs → analyzer-7TNBOI3J.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 +4 -4
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +5 -5
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +4 -4
- package/dist/{app-manifest.d-DMgcFuXQ.d.ts → app-manifest.d-B3h89j6a.d.ts} +1 -1
- package/dist/{app-manifest.d-DXAvPjMw.d.mts → app-manifest.d-bHK9EGPI.d.mts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-htfGqq-d.d.ts → app.d-C3uyET_L.d.ts} +4 -4
- package/dist/{app.d-DG_-nN5y.d.mts → app.d-Cr7fXGvJ.d.mts} +4 -4
- package/dist/{chunk-BOHBFBRA.mjs → chunk-2FKGY2ZS.mjs} +1 -1
- package/dist/{chunk-YOVSWY2E.mjs → chunk-2XDRRAAD.mjs} +1 -1
- package/dist/{chunk-QJKGRUBR.mjs → chunk-4WCEWA22.mjs} +4 -4
- package/dist/{chunk-YQXLBYY2.cjs → chunk-5B2Y4EVS.cjs} +32 -8
- package/dist/{chunk-QCVP22KW.cjs → chunk-5RYBQKBY.cjs} +3 -3
- package/dist/{chunk-PGU4SCIU.cjs → chunk-6QWBZGGP.cjs} +132 -132
- package/dist/{chunk-DVL3UVYT.mjs → chunk-6XABTMXR.mjs} +2 -2
- package/dist/{chunk-D5GFVHBV.mjs → chunk-6YOMQ4GX.mjs} +9 -9
- package/dist/chunk-7QGA6UX6.cjs +26 -0
- package/dist/{chunk-JJ22OI7J.cjs → chunk-A4WDDASS.cjs} +2 -2
- package/dist/{chunk-V36K4TSU.mjs → chunk-ADKPJZPP.mjs} +1 -1
- package/dist/{chunk-LQZXCSYG.mjs → chunk-B6K2ZM3C.mjs} +5 -3
- package/dist/{chunk-JZAGIXMB.cjs → chunk-C2J5LMH6.cjs} +1 -1
- package/dist/{chunk-SIJ3DREB.mjs → chunk-CIRC2LRP.mjs} +1 -1
- package/dist/{chunk-Q4FHYBFT.cjs → chunk-CSCORWIQ.cjs} +11 -11
- package/dist/{chunk-RCJAOQWW.mjs → chunk-CTHQE7DO.mjs} +1 -1
- package/dist/{chunk-PRKFECGT.cjs → chunk-DZWX7FDX.cjs} +6 -4
- package/dist/{chunk-OKZHPPBX.mjs → chunk-ERY4VYUH.mjs} +1 -1
- package/dist/{chunk-GEZ76JXD.cjs → chunk-F6JSVP5C.cjs} +3 -3
- package/dist/chunk-G7LNCHTS.mjs +21 -0
- package/dist/{chunk-D2OU4CX2.cjs → chunk-GWFNJLDN.cjs} +11 -11
- package/dist/{chunk-V6ACETKR.cjs → chunk-H7DAFRYR.cjs} +4 -4
- package/dist/{chunk-TI4BJFYX.mjs → chunk-HOBCEE5J.mjs} +12 -12
- package/dist/{chunk-XYCB3CXM.mjs → chunk-IPKL7L6B.mjs} +2 -2
- package/dist/{chunk-P2THJDLH.mjs → chunk-IQQ3SWH6.mjs} +86 -51
- package/dist/{chunk-HENYWY5J.cjs → chunk-JJUHUPRB.cjs} +2 -2
- package/dist/{chunk-XSE4XJKY.cjs → chunk-K7RXZ77U.cjs} +2 -2
- package/dist/{chunk-HBZQIRRM.mjs → chunk-KJMRW3IP.mjs} +1 -1
- package/dist/{chunk-PYPHM7AS.cjs → chunk-LH7S7FI3.cjs} +5 -1
- package/dist/{chunk-WXPY5FRF.cjs → chunk-P2PF5FUW.cjs} +2 -2
- package/dist/{chunk-CPL7WIMP.mjs → chunk-P3UT3OLV.mjs} +2 -2
- package/dist/{chunk-PZ5ZJAAO.mjs → chunk-POCWXRXW.mjs} +1 -1
- package/dist/{chunk-Z23OCU33.cjs → chunk-RF3VCNV7.cjs} +6 -6
- package/dist/{chunk-CZMMU3FP.mjs → chunk-RS4QZOFK.mjs} +1 -1
- package/dist/{chunk-MR64FNW6.cjs → chunk-SO4USIKL.cjs} +4 -4
- package/dist/{chunk-PVB5UYJT.cjs → chunk-TAXZQNFZ.cjs} +74 -74
- package/dist/{chunk-MYJPW4XN.mjs → chunk-UKGAP2OK.mjs} +3 -3
- package/dist/{chunk-DZXD6CYJ.mjs → chunk-V2RXBDV6.mjs} +4 -0
- package/dist/{chunk-L2KGQXFU.mjs → chunk-VZRY3CL5.mjs} +1 -1
- package/dist/{chunk-LO5BNR6Y.mjs → chunk-W5T3ZAFU.mjs} +25 -1
- package/dist/{chunk-ADCVSTFV.cjs → chunk-WAQIO2VD.cjs} +2 -2
- package/dist/{chunk-QI3UYN3P.cjs → chunk-WFL7CD5C.cjs} +12 -12
- package/dist/{chunk-E7ISZK3R.mjs → chunk-XGBDRC5B.mjs} +2 -2
- package/dist/{chunk-W34OS5CK.cjs → chunk-XLJ2REOI.cjs} +370 -335
- package/dist/{chunk-D2VLHRBN.cjs → chunk-Y3MTKPLN.cjs} +4 -4
- package/dist/{chunk-GL4SPJTE.cjs → chunk-YPPAYYSX.cjs} +4 -4
- package/dist/{client-component.d-DDbDw2yP.d.ts → client-component.d-BavTzqsn.d.ts} +1 -1
- package/dist/{client-component.d-D5JVDeQf.d.mts → client-component.d-X3j9FOZ2.d.mts} +1 -1
- package/dist/{client-plugins.d-BHqfH3DQ.d.ts → client-plugins.d-CqTr5IrQ.d.ts} +61 -1
- package/dist/{client-plugins.d-9jr2yWR3.d.mts → client-plugins.d-DnnAopKG.d.mts} +61 -1
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.cjs +5 -1
- package/dist/desktop.d.mts +8 -4
- package/dist/desktop.d.ts +8 -4
- package/dist/desktop.mjs +4 -0
- package/dist/{dev-guard-M3ZCDWCK.cjs → dev-guard-5NUIX6IZ.cjs} +4 -3
- package/dist/{dev-guard-TFVWJNIB.mjs → dev-guard-L42ZZRCZ.mjs} +2 -1
- package/dist/{devtools-ZDBCJI44.mjs → devtools-VPFBH6I2.mjs} +1 -1
- package/dist/{devtools-F6Z436WU.cjs → devtools-YTND2OWT.cjs} +2 -2
- package/dist/docs.cjs +3 -3
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +2 -2
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.mjs +3 -3
- package/dist/{handler.d-EtTSPkeO.d.mts → handler.d-BSlpYCDB.d.mts} +1 -1
- package/dist/{handler.d-Dq_bSEKC.d.ts → handler.d-DgX7gPO6.d.ts} +1 -1
- package/dist/{headers.d-BKwGD_uC.d.mts → headers.d-Cf8l5LMo.d.mts} +1 -1
- package/dist/{headers.d-CpIHLCEk.d.ts → headers.d-CmxW42R2.d.ts} +1 -1
- package/dist/index.cjs +22 -21
- package/dist/{index.d-DXtaU9OU.d.mts → index.d-7xoJqKRZ.d.mts} +1 -1
- package/dist/{index.d-CoRZKiHA.d.ts → index.d-BZZt7kxO.d.ts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +21 -20
- 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 +22 -21
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +21 -20
- package/dist/internal/cli-runtime.cjs +7 -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 +6 -6
- 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.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +5 -4
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +4 -3
- 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 +4 -4
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +3 -3
- 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/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/{mount.d-BzK2Z1pR.d.ts → mount.d-CD-xVBu7.d.ts} +1 -1
- package/dist/{mount.d-D-ynBlxU.d.mts → mount.d-Dd0xeRMl.d.mts} +1 -1
- package/dist/{navigation-delegate.d-DtsnFnNF.d.ts → navigation-delegate.d-Bses_F-y.d.ts} +1 -1
- package/dist/{navigation-delegate.d-aJh3ZmTY.d.mts → navigation-delegate.d-dBNg976E.d.mts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +17 -16
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +16 -15
- package/dist/{render-plan.d-h8bkOQyh.d.ts → render-plan.d-DaIwnRK2.d.ts} +1 -1
- package/dist/{render-plan.d-C6nUIU2m.d.mts → render-plan.d-vOdZHHLI.d.mts} +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/{request.d-CBEdJD5R.d.mts → request.d-B8U4pVFP.d.mts} +1 -1
- package/dist/{request.d-CrriEvxy.d.ts → request.d-CgXp3EEc.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-DgXpNk_c.d.mts → route-rendering.d-BQvNYQqu.d.mts} +1 -1
- package/dist/{route-rendering.d-C-ivf31T.d.ts → route-rendering.d-Di0AxFix.d.ts} +1 -1
- package/dist/{router.d-BRRPd5dE.d.ts → router.d-BJVGhSAJ.d.ts} +1 -1
- package/dist/{router.d-O5LrW9mZ.d.mts → router.d-hNedVdoB.d.mts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-HYINQPMW.mjs → rsc-pipeline-2JSNRVIL.mjs} +6 -5
- package/dist/{rsc-pipeline-2DNM7UDA.cjs → rsc-pipeline-WTKDMTE2.cjs} +7 -6
- package/dist/{runtime-M6GLD4CR.cjs → runtime-I4GV4CDP.cjs} +8 -8
- package/dist/{runtime-JP7L5KI7.mjs → runtime-RNSTQY27.mjs} +5 -5
- package/dist/{runtime.d-DW_1avVi.d.ts → runtime.d-0R8nHCM6.d.ts} +1 -1
- package/dist/{runtime.d-DP8Sk9PM.d.mts → runtime.d-DpeuF_T-.d.mts} +1 -1
- package/dist/{schema-dependencies.d-Cedd7QUf.d.mts → schema-dependencies.d-_Wyey4Wv.d.mts} +1 -1
- package/dist/{schema-dependencies.d-C__RyTvW.d.ts → schema-dependencies.d-tkUHREqz.d.ts} +1 -1
- package/dist/{server-components-status.d-CdsEQbeM.d.ts → server-components-status.d-B2Z5WvO5.d.ts} +1 -1
- package/dist/{server-components-status.d-DN98yOT4.d.mts → server-components-status.d-sN7ju-ie.d.mts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +42 -41
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +18 -17
- package/dist/{spa-router.d-FcDbBCrK.d.mts → spa-router.d-D3AtR2Bc.d.mts} +2 -2
- package/dist/{spa-router.d-BJWZAdrV.d.ts → spa-router.d-MjT6sGb9.d.ts} +2 -2
- package/dist/{ssg.d--uut8Gya.d.mts → ssg.d-B32Cp_XW.d.mts} +2 -2
- package/dist/{ssg.d-Cf9mC1rZ.d.ts → ssg.d-C1SNuPz5.d.ts} +2 -2
- package/dist/{store-core.d-h7o6V2kH.d.ts → store-core.d-BZ3YXs70.d.ts} +2 -2
- package/dist/{store-core.d-DgYlAo-e.d.mts → store-core.d-BbVdaoA0.d.mts} +2 -2
- package/dist/testing.cjs +5 -5
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/{utils.d-2lGEnyBc.d.ts → utils.d-Bjbm44fP.d.ts} +1 -1
- package/dist/{utils.d-DjFApBfE.d.mts → utils.d-CoLozp7-.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +17 -16
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +16 -15
- package/package.json +1 -1
- package/dist/analyzer-KBVOHASA.cjs +0 -17
- /package/dist/{chunk-EIAA4W3M.cjs → chunk-2LGM5WIK.cjs} +0 -0
- /package/dist/{chunk-H6MYRZ2U.mjs → chunk-MVNIAD6O.mjs} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk6K7LEL2Tcjs = require('./chunk-6K7LEL2T.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDZWX7FDXcjs = require('./chunk-DZWX7FDX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ var _chunk5P3TZGS3cjs = require('./chunk-5P3TZGS3.cjs');
|
|
|
28
28
|
var _chunkSGBEJBBBcjs = require('./chunk-SGBEJBBB.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkLH7S7FI3cjs = require('./chunk-LH7S7FI3.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -247,7 +247,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
247
247
|
async loadProgrammaticApiRoutes(appDir) {
|
|
248
248
|
const candidateRoots = [path.dirname(appDir), appDir];
|
|
249
249
|
const routeFiles = Array.from(
|
|
250
|
-
new Set(candidateRoots.flatMap((srcRoot) =>
|
|
250
|
+
new Set(candidateRoots.flatMap((srcRoot) => _chunkDZWX7FDXcjs.findProgrammaticRouteFilesInDir.call(void 0, srcRoot)))
|
|
251
251
|
);
|
|
252
252
|
if (routeFiles.length === 0) return;
|
|
253
253
|
const { getProgrammaticRouteManifest } = await import("./routes.cjs");
|
|
@@ -335,7 +335,7 @@ var APIRouteManager = class _APIRouteManager {
|
|
|
335
335
|
this.endpointSources.set(routePath, /* @__PURE__ */ new Map([[normalizedMethod, { appDir, filePath }]]));
|
|
336
336
|
}
|
|
337
337
|
addProgrammaticApiRoute(filePath, route, appDir) {
|
|
338
|
-
const modulePath =
|
|
338
|
+
const modulePath = _chunkLH7S7FI3cjs.createProgrammaticRouteModuleId.call(void 0, filePath, "api", route.path);
|
|
339
339
|
const runtimeConfig = _chunkGUDYDNKUcjs.normalizeFarmRouteRuntimeConfig.call(void 0, route, `API route "${route.path}"`);
|
|
340
340
|
for (const [method, endpoint] of Object.entries(route.methods)) {
|
|
341
341
|
if (endpoint) {
|
|
@@ -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 _chunkP2PF5FUWcjs = require('./chunk-P2PF5FUW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCS6GXE42cjs = require('./chunk-CS6GXE42.cjs');
|
|
@@ -827,7 +827,7 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
827
827
|
renderer: options.renderer,
|
|
828
828
|
sourceRoots
|
|
829
829
|
};
|
|
830
|
-
unifiedSections.push(await
|
|
830
|
+
unifiedSections.push(await _chunkP2PF5FUWcjs.createRouteTypeDeclarations.call(void 0, routeOptions, unifiedTypesPath));
|
|
831
831
|
result.routeTypesPath = unifiedTypesPath;
|
|
832
832
|
} else if (shouldGenerateRoutes) {
|
|
833
833
|
const routeOptions = {
|
|
@@ -842,11 +842,11 @@ async function generateFarmTypeArtifacts(options) {
|
|
|
842
842
|
};
|
|
843
843
|
if (options.check) {
|
|
844
844
|
const routeTypesPath = resolveGeneratedPath(root, srcDir, options.routeTypesOutFile);
|
|
845
|
-
const content = await
|
|
845
|
+
const content = await _chunkP2PF5FUWcjs.createRouteTypeDeclarations.call(void 0, routeOptions, routeTypesPath);
|
|
846
846
|
checkGeneratedFile(routeTypesPath, content, result.stalePaths);
|
|
847
847
|
result.routeTypesPath = routeTypesPath;
|
|
848
848
|
} else {
|
|
849
|
-
result.routeTypesPath = await
|
|
849
|
+
result.routeTypesPath = await _chunkP2PF5FUWcjs.generateRouteTypes.call(void 0, routeOptions);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
if (shouldGenerateApi) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a$ as FarmIsolatedClientHydrationMode } from './client-plugins.d-CqTr5IrQ.js';
|
|
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.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { a$ as FarmIsolatedClientHydrationMode } from './client-plugins.d-DnnAopKG.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
@@ -2122,6 +2122,58 @@ interface FarmDesktopWindowConfig {
|
|
|
2122
2122
|
*/
|
|
2123
2123
|
hideOnClose?: boolean;
|
|
2124
2124
|
}
|
|
2125
|
+
/**
|
|
2126
|
+
* What the app may ask macOS for. Each value is the sentence macOS shows when it asks the user,
|
|
2127
|
+
* such as `"Notes records voice memos."`. Leave a permission out and macOS refuses it without
|
|
2128
|
+
* asking. Declaring one doesn't prompt anyone: macOS asks the first time the app uses it. Windows
|
|
2129
|
+
* and Linux builds ignore these keys.
|
|
2130
|
+
*
|
|
2131
|
+
* The window's web APIs need `microphone`, `camera`, `location` and `speechRecognition`. The rest
|
|
2132
|
+
* are for native code in the app's main process.
|
|
2133
|
+
*/
|
|
2134
|
+
interface FarmDesktopPermissionsConfig {
|
|
2135
|
+
/**
|
|
2136
|
+
* Microphone, for `navigator.mediaDevices.getUserMedia({ audio: true })`. Becomes
|
|
2137
|
+
* `NSMicrophoneUsageDescription` in the app's Info.plist.
|
|
2138
|
+
*/
|
|
2139
|
+
microphone?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* Camera, for `navigator.mediaDevices.getUserMedia({ video: true })`. Becomes
|
|
2142
|
+
* `NSCameraUsageDescription`.
|
|
2143
|
+
*/
|
|
2144
|
+
camera?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Location, for `navigator.geolocation`. Becomes `NSLocationUsageDescription` and
|
|
2147
|
+
* `NSLocationWhenInUseUsageDescription`.
|
|
2148
|
+
*/
|
|
2149
|
+
location?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Speech recognition, for the WebKit `SpeechRecognition` API (which also needs `microphone`).
|
|
2152
|
+
* Becomes `NSSpeechRecognitionUsageDescription`.
|
|
2153
|
+
*/
|
|
2154
|
+
speechRecognition?: string;
|
|
2155
|
+
/** Bluetooth. Becomes `NSBluetoothAlwaysUsageDescription`. */
|
|
2156
|
+
bluetooth?: string;
|
|
2157
|
+
/** Contacts. Becomes `NSContactsUsageDescription`. */
|
|
2158
|
+
contacts?: string;
|
|
2159
|
+
/** Calendars. Becomes `NSCalendarsUsageDescription`. */
|
|
2160
|
+
calendars?: string;
|
|
2161
|
+
/** Reminders. Becomes `NSRemindersUsageDescription`. */
|
|
2162
|
+
reminders?: string;
|
|
2163
|
+
/** The Photos library. Becomes `NSPhotoLibraryUsageDescription`. */
|
|
2164
|
+
photos?: string;
|
|
2165
|
+
/** The Apple Music library. Becomes `NSAppleMusicUsageDescription`. */
|
|
2166
|
+
music?: string;
|
|
2167
|
+
/** Motion and fitness data. Becomes `NSMotionUsageDescription`. */
|
|
2168
|
+
motion?: string;
|
|
2169
|
+
/** Files in the Documents folder. Becomes `NSDocumentsFolderUsageDescription`. */
|
|
2170
|
+
documents?: string;
|
|
2171
|
+
/** Files in the Downloads folder. Becomes `NSDownloadsFolderUsageDescription`. */
|
|
2172
|
+
downloads?: string;
|
|
2173
|
+
/** Files on the Desktop. Becomes `NSDesktopFolderUsageDescription`. */
|
|
2174
|
+
desktop?: string;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2125
2177
|
interface FarmDesktopUserConfig {
|
|
2126
2178
|
/** Display name of the app. Defaults to the package.json `productName` or `name`. */
|
|
2127
2179
|
name?: string;
|
|
@@ -2138,6 +2190,12 @@ interface FarmDesktopUserConfig {
|
|
|
2138
2190
|
*/
|
|
2139
2191
|
icon?: string;
|
|
2140
2192
|
window?: FarmDesktopWindowConfig;
|
|
2193
|
+
/**
|
|
2194
|
+
* What the app may ask macOS for, such as `{ microphone: "Notes records voice memos." }`: the
|
|
2195
|
+
* microphone, camera, location and more. Without it, macOS refuses them all. Windows and Linux
|
|
2196
|
+
* ignore it.
|
|
2197
|
+
*/
|
|
2198
|
+
permissions?: FarmDesktopPermissionsConfig;
|
|
2141
2199
|
/**
|
|
2142
2200
|
* Desktop shell adapter. A name resolves to `@farm.js/desktop/<name>`; a package name or
|
|
2143
2201
|
* subpath (containing `/`) is imported as is. Defaults to `"electrobun"`.
|
|
@@ -2173,6 +2231,8 @@ interface ResolvedFarmDesktopConfig {
|
|
|
2173
2231
|
title: string;
|
|
2174
2232
|
hideOnClose: boolean;
|
|
2175
2233
|
};
|
|
2234
|
+
/** The declared devices with their trimmed sentences, or undefined when the app declares none. */
|
|
2235
|
+
permissions?: FarmDesktopPermissionsConfig;
|
|
2176
2236
|
/** Adapter name, as configured. */
|
|
2177
2237
|
shell: string;
|
|
2178
2238
|
/** Module the CLI imports the adapter from, such as `@farm.js/desktop/electrobun`. */
|
|
@@ -3910,4 +3970,4 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
|
|
|
3910
3970
|
setCookies: string[];
|
|
3911
3971
|
}>;
|
|
3912
3972
|
|
|
3913
|
-
export { type APIHandlerLifecyclePayload as $, type SSGPage as A, type BundleResultPayload as B, type FarmAppContext as C, type PageProps as D, type FarmSearchParams as E, type FarmPlugin as F, type PluginContextProps as G, type FarmRouteRuntime as H, type FarmRouteRegions as I, type FarmRouteMaxDuration as J, type FarmServerComponentsMode as K, type LayoutProps as L, type Metadata as M, type FarmUserConfig as N, type ResolvedFarmDesktopConfig as O, type ParsedRoute as P, type FarmDesktopConfigInput as Q, type ResolvedFarmDeployConfig as R, type SSGCollectionResult as S, type FarmDesktopContext as T, type FarmDesktopUserConfig as U, type FarmDesktopWindowConfig as V, type HeaderConfig as W, type FarmRequest as X, type FarmResponse as Y, type FarmPluginContext as Z, type ResolvedFarmConfig as _, type FarmIntegration as a, type FarmMCPUserConfig as a$, type APIRouteDiscoveredPayload as a0, type BundleLifecyclePayload as a1, type ErrorLifecyclePayload as a2, FARM_NODE_RESPONSE_END_PENDING as a3, type FarmDevtoolsUserConfig as a4, type FarmPluginBuildHooks as a5, type FarmPluginClientConfig as a6, type FarmPluginDatabase as a7, type FarmPluginDefinition as a8, type FarmPluginDevHooks as a9, type HMRUpdatePayload as aA, type MiddlewareDiscoveredPayload as aB, type NitroBuildLifecyclePayload as aC, PluginManager as aD, type PluginRequestContext as aE, type RenderLifecyclePayload as aF, type ResolvedFarmDevtoolsConfig as aG, type RouteDiscoveredPayload as aH, type RouteMatchPayload as aI, type RouteMatchResultPayload as aJ, type RoutesGeneratedPayload as aK, type ShutdownPayload as aL, definePlugin as aM, resolveFarmDevtoolsConfig as aN, type MiddlewareProps as aO, type FarmContextFactory as aP, type FarmDocsResolvedConfig as aQ, type FarmMCPCatalogDetails as aR, type ResolvedFarmAppManifestConfig as aS, type FarmConfig as aT, type AppRoutePattern as aU, type BuildOptions as aV, type ErrorBoundary as aW, type ErrorProps as aX, type FarmComponentType as aY, type FarmContextFactoryInput as aZ, type FarmIsolatedClientHydrationMode as a_, type FarmPluginDiscoveredRoute as aa, type FarmPluginIntegrationContext as ab, type FarmPluginLifecycle as ac, type FarmPluginRenderHooks as ad, type FarmPluginRouteRuntimePayload as ae, type FarmPluginRouterHooks as af, type FarmPluginRuntimeAfterEvent as ag, type FarmPluginRuntimeBaseEvent as ah, type FarmPluginRuntimeBeforeEvent as ai, type FarmPluginRuntimeCloseEvent as aj, type FarmPluginRuntimeContextEvent as ak, type FarmPluginRuntimeEndpoint as al, type FarmPluginRuntimeEndpointEvent as am, type FarmPluginRuntimeErrorEvent as an, type FarmPluginRuntimeHooks as ao, type FarmPluginRuntimeKind as ap, type FarmPluginRuntimeRequestHandler as aq, type FarmPluginRuntimeRequestOptions as ar, type FarmPluginRuntimeRequestScope as as, type FarmPluginRuntimeSession as at, type FarmPluginRuntimeStartEvent as au, type FarmPluginSetupContext as av, type FarmPluginStateContext as aw, type FarmRequestPluginContext as ax, type FarmRequestStore as ay, FarmRuntimeShutdownError as az, getIntegrationSchemas as b, type FarmAPIConfig as b$, type FarmMigrationCommand as b0, type FarmMigrationsConfig as b1, type FarmMigrationsUserConfig as b2, type GenerateStaticParams as b3, type Layout as b4, type LayoutMetadataProps as b5, type LayoutModule as b6, type Loading as b7, type LoadingProps as b8, type MetadataJsonLd as b9, type ResolvedFarmAuthConfig as bA, type ResolvedFarmPerformanceConfig as bB, type ResolvedFarmSecurityConfig as bC, type FarmDesktopDevSession as bD, type FarmDesktopSetupOptions as bE, createFarmDesktopContext as bF, getFarmDesktopOutputDirs as bG, installFarmDesktopSetup as bH, resolveFarmDesktopBlock as bI, resolveFarmDesktopConfig as bJ, setFarmDesktopDevSession as bK, validateFarmDesktopConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type OpenAPIConfig as bO, type ApplyMarkdownNegotiationHeadersOptions as bP, type CreateIntegrationOrmOptions as bQ, type CreateMarkdownMirrorResponseOptions as bR, DEFAULT_FARM_API_BASE_PATH as bS, DEFAULT_FARM_DEVTOOLS_SHORTCUT as bT, type DefinedIntegration as bU, FARM_DEVTOOLS_LAUNCH_PARAM as bV, FARM_DEVTOOLS_PATH as bW, FARM_INTEGRATION_API_BASE_PATH_KEY as bX, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as bY, FARM_INTEGRATION_SET_COOKIES_KEY as bZ, FARM_MARKDOWN_PAGE_CHECK_HEADER as b_, type MetadataProps as ba, type MetadataRobots as bb, type MetadataRobotsDirectives as bc, type NitroPreset as bd, type Page as be, type PagePropsWithMiddleware as bf, type PageRouteParams as bg, type ResolvedFarmMigrationsConfig as bh, type ServerAction as bi, type StaticPathParams as bj, type StaticPathPrimitive as bk, type StaticRouteParams as bl, type ThemeColorDescriptor as bm, type Viewport as bn, resolveFarmMCPConfig as bo, resolveFarmMCPPlugin as bp, type FarmMCPServerRegistration as bq, _findFarmMCPEndpointTool as br, _publishFarmMCPCatalog as bs, registerFarmMCPServer as bt, type FarmAgentJsonLd as bu, type FarmMarkdownResolvedConfig as bv, type ResolvedFarmRouteRuntimeConfig as bw, type ApplicationMetadataRouteKind as bx, type ResolvedFarmAPIConfig as by, type ResolvedFarmDevIndicatorsConfig as bz, getPresetForDeployTarget as c, type FarmIntegrationRouteInputSchemas as c$, type FarmAPIConfigResolverContext as c0, type FarmAPIConfigValue as c1, type FarmAgentCrawlers as c2, type FarmAgentUserConfig as c3, type FarmAppManifestConfig as c4, type FarmAuthConfig as c5, type FarmAuthDatabaseConfig as c6, type FarmAuthEmailAndPasswordConfig as c7, type FarmAuthSessionConfig as c8, type FarmAuthUserConfig as c9, type FarmIntegrationEndpoints as cA, type FarmIntegrationEndpointsFactory as cB, type FarmIntegrationEndpointsFactoryContext as cC, type FarmIntegrationHandlerContext as cD, type FarmIntegrationInputSchema as cE, type FarmIntegrationLifecycleContext as cF, type FarmIntegrationLifecycleHook as cG, type FarmIntegrationLifecycleLogLevel as cH, type FarmIntegrationLifecycleLogger as cI, type FarmIntegrationLogEvent as cJ, type FarmIntegrationLogPhase as cK, type FarmIntegrationLogger as cL, type FarmIntegrationMiddleware as cM, type FarmIntegrationOrmClient as cN, type FarmIntegrationOrmSchema as cO, type FarmIntegrationPluginOwner as cP, type FarmIntegrationProvider as cQ, type FarmIntegrationProviderComponentReference as cR, type FarmIntegrationProviderProps as cS, type FarmIntegrationRequestContextStore as cT, type FarmIntegrationRoute as cU, type FarmIntegrationRouteArgs as cV, type FarmIntegrationRouteDb as cW, type FarmIntegrationRouteFactory as cX, type FarmIntegrationRouteHook as cY, type FarmIntegrationRouteHookContext as cZ, type FarmIntegrationRouteInput as c_, type FarmBuildActivityPosition as ca, type FarmCrawlerPolicy as cb, type FarmCspConfig as cc, type FarmCspDirectiveValue as cd, type FarmCspDirectives as ce, type FarmCspOptions as cf, type FarmDeployConfig as cg, type FarmDeployTarget as ch, type FarmDevIndicatorsConfig as ci, type FarmDevtoolsConfig as cj, type FarmDocsConfigInput as ck, type FarmDocsNavigationConfig as cl, type FarmDocsResolvedRoot as cm, type FarmDocsRootInput as cn, type FarmDocsSidebarItem as co, type FarmDocsSocialImageConfig as cp, type FarmDocsSocialImageFonts as cq, type FarmDocsUserConfig as cr, type FarmIntegrationCategory as cs, type FarmIntegrationConfigContext as ct, type FarmIntegrationConfigDefinition as cu, type FarmIntegrationConfigInput as cv, type FarmIntegrationContributedPlugin as cw, type FarmIntegrationData as cx, type FarmIntegrationDocumentNavigation as cy, type FarmIntegrationEndpointValue as cz, resolveDeployConfig as d, type FarmRouteRuleRenderMode as d$, type FarmIntegrationRouteInputSource as d0, type FarmIntegrationRouteMethod as d1, type FarmIntegrationRouteMiddleware as d2, type FarmIntegrationRouteParamValue as d3, type FarmIntegrationRouteParams as d4, type FarmIntegrationRouteStorageArgs as d5, type FarmIntegrationRoutesFactory as d6, type FarmIntegrationRoutesFactoryContext as d7, type FarmIntegrationSchema as d8, type FarmIntegrationSchemaConstraint as d9, type FarmMCPResourceContent as dA, type FarmMCPResourceContext as dB, type FarmMCPResourceListing as dC, type FarmMCPServer as dD, type FarmMCPServerFunction as dE, type FarmMCPStandaloneTool as dF, type FarmMCPTool as dG, type FarmMCPToolDefinition as dH, type FarmMarkdownMirrorTarget as dI, type FarmMarkdownResolvedRoute as dJ, type FarmMarkdownRouteInput as dK, type FarmMarkdownUserConfig as dL, type FarmPageFormAction as dM, type FarmPageFormField as dN, type FarmPageFormOption as dO, type FarmPageFormSubmit as dP, type FarmPerformanceConfig as dQ, type FarmPluginFactory as dR, FarmPluginOptionsError as dS, type FarmPluginOptionsIssue as dT, type FarmPluginOptionsSchema as dU, type FarmPreloadMode as dV, type FarmPreloadUserConfig as dW, type FarmRouteRenderingMode as dX, type FarmRouteRule as dY, type FarmRouteRuleCors as dZ, type FarmRouteRuleRedirect as d_, type FarmIntegrationSchemaField as da, type FarmIntegrationSchemaFieldType as db, type FarmIntegrationSchemaModel as dc, type FarmIntegrationSchemaModelExtension as dd, type FarmIntegrationSchemaModelOverride as de, type FarmIntegrationSchemaReference as df, type FarmIntegrationSession as dg, type FarmIntegrationSlot as dh, type FarmIntegrationStandardValidationResult as di, type FarmIntegrationValidationErrorLike as dj, type FarmIntegrationValidationIssue as dk, type FarmIntegrationValidationPathSegment as dl, type FarmIntegrationValidationResult as dm, type FarmIntegrationsUserConfig as dn, type FarmLayerConfig as dp, type FarmMCPAuthorization as dq, type FarmMCPAuthorizeContext as dr, type FarmMCPConfig as ds, type FarmMCPEndpoint as dt, type FarmMCPEndpointTool as du, type FarmMCPExecuteContext as dv, type FarmMCPOAuthConfig as dw, type FarmMCPPrompt as dx, type FarmMCPPromptMessage as dy, type FarmMCPResource as dz, resolveDeployOutputPath as e, htmlToMarkdown as e$, type FarmRouteRules as e0, type FarmRouteRuntimeEntryKind as e1, type FarmRouteRuntimeManifest as e2, type FarmRouteRuntimeManifestEntry as e3, type FarmSecurityConfig as e4, type FarmServerComponentsConfig as e5, type FarmServerComponentsOptions as e6, type FarmTypedIntegrationRoute as e7, type I18nConfig as e8, type ImageConfig as e9, createFarmRouteRuntimeKey as eA, createIntegrationOrm as eB, createIntegrationRoute as eC, createMarkdownMirrorResponse as eD, defineIntegration as eE, defineIntegrationSchema as eF, describeIntegrationOriginRejection as eG, dispatchIntegrationRequest as eH, dispatchIntegrationRequests as eI, extractFarmPageActions as eJ, farmAcceptQuality as eK, farmIntegrationSchemaToOrmSchema as eL, forwardIntegrationSetCookies as eM, generateFarmDevIndicatorsClientRuntime as eN, getFarmAPIBaseURL as eO, getFarmIntegrationPluginOwner as eP, getFarmIntegrationPluginServerRuntime as eQ, getFarmMarkdownAlternatePath as eR, getFarmMarkdownMirrorPath as eS, getFarmRouteRuntimeConfig as eT, getIntegrationDocumentNavigationMatchers as eU, getIntegrationProviders as eV, getRegisteredIntegrationAPIManifest as eW, getRegisteredIntegrationRuntime as eX, getRegisteredIntegrationSchemas as eY, getRegisteredIntegrations as eZ, hasFarmRouteRuntimeControls as e_, type InferFarmIntegrationOrmClient as ea, type InferFarmIntegrationOrmField as eb, type InferFarmIntegrationOrmFields as ec, type InferFarmIntegrationOrmSchema as ed, type InferPluginOptionsInput as ee, type InferPluginOptionsOutput as ef, type IntegrationOriginPolicy as eg, type IntegrationOriginRejection as eh, type IntegrationOriginResult as ei, type IntegrationOrmModelNames as ej, MetadataRoute as ek, type MetadataRouteContext as el, type MiddlewareConfig as em, type RedirectConfig as en, type ResolveMarkdownMirrorTargetOptions as eo, type ResolvedFarmCspConfig as ep, type ResolvedFarmMCPConfig as eq, type ResolvedFarmPreloadConfig as er, type RewriteConfig as es, _getFarmMarkdownPageCheckToken as et, _getFarmMarkdownPath as eu, _isFarmMarkdownPageCheck as ev, _readFarmRenderedHtml as ew, _resolveFarmMarkdownIndexAlias as ex, applyMarkdownNegotiationHeaders as ey, compareFarmRouteRuleSpecificity as ez, farmRouteRuleMatches as f, integrationMiddlewareMayHandlePath as f0, integrationRoute as f1, isFarmIntegration as f2, isFarmIntegrationProviderComponentReference as f3, isFarmMarkdownMirrorExposed as f4, matchIntegrationRoute as f5, matchRegisteredIntegrationRoute as f6, matchesFarmMarkdownRoutePattern as f7, nitroRouteRulesBelowBasePath as f8, normalizeFarmAPIBasePath as f9, applyFarmCspNonceToResponse as fA, collectFarmLlmsTxtPages as fB, createFarmAgentRobots as fC, createFarmCspNonce as fD, createFarmDefaultLlmsTxt as fE, createFarmDefaultSitemap as fF, createFarmLlmsFullRenderer as fG, createFarmLlmsMarkdownReader as fH, createFarmMetadataRouteResponse as fI, hasFarmHtmlPreloadToken as fJ, isFarmPageNoIndex as fK, manageFarmDocumentPreloads as fL, manageFarmHtmlPreloads as fM, manageFarmLinkHeaderPreloads as fN, readFarmLlmsMarkdownFrom as fO, renderFarmLlmsFullTxt as fP, reportFarmPreloadWarnings as fQ, resolveFarmAgentCrawlers as fR, resolveFarmAgentOrigin as fS, resolveFarmAgentSitemap as fT, resolveFarmLlmsTxtConfig as fU, resolveFarmSecurityConfig as fV, stampFarmCspNonce as fW, normalizeFarmAPIConfig as fa, normalizeFarmRouteRuntimeConfig as fb, normalizeRouteRules as fc, providerSupportsIslands as fd, requestAcceptsMarkdown as fe, resolveFarmAPIConfig as ff, resolveFarmAPIRequestURL as fg, resolveFarmDevIndicatorsConfig as fh, resolveIntegrationAllowedOrigins as fi, resolveIntegrationOrmRuntimeClient as fj, resolveIntegrationPlugins as fk, resolveMarkdownConfig as fl, resolveMarkdownMirrorTarget as fm, resolveMigrationsConfig as fn, resolveRouteRuleCorsPreflightHeaders as fo, routeRulesToHeaders as fp, routeRulesToNitroRouteRules as fq, routeRulesToRedirects as fr, validateIntegrationRequestOrigin as fs, type FarmLlmsTxtLink as ft, type FarmRegisteredMCPServer as fu, type FarmAgentSitemapUserConfig as fv, type FarmLlmsTxtUserConfig as fw, type ResolvedFarmAgentCrawlers as fx, type ResolvedFarmAgentSitemap as fy, type ResolvedFarmLlmsTxtConfig as fz, getDeployTargetForPreset as g, resolveFarmRouteRuleRuntimeConfig as h, resolveFarmRouteRuntimeConfig as i, type FarmRouteRuntimeConfig as j, type FarmMdxComponents as k, loadConfig as l, mergeFarmRouteRuntimeConfigs as m, normalizeDeployTarget as n, type FarmMdxResolvedConfig as o, type RouteModule as p, type FarmMarkdownRoutePathname as q, resolveConfig as r, FARM_MARKDOWN_CONTENT_TYPE as s, createFarmMarkdownErrorBody as t, farmRequestWantsMarkdown as u, type FarmMdxComponent as v, type FarmMdxUserConfig as w, resolveFarmMdxComponentsModulePath as x, resolveMdxConfig as y, type RouteSegment as z };
|
|
3973
|
+
export { type FarmDevtoolsUserConfig as $, type SSGPage as A, type BundleResultPayload as B, type FarmAppContext as C, type PageProps as D, type FarmSearchParams as E, type FarmPlugin as F, type PluginContextProps as G, type FarmRouteRuntime as H, type FarmRouteRegions as I, type FarmRouteMaxDuration as J, type FarmServerComponentsMode as K, type LayoutProps as L, type Metadata as M, type FarmUserConfig as N, type HeaderConfig as O, type ParsedRoute as P, type FarmRequest as Q, type ResolvedFarmDeployConfig as R, type SSGCollectionResult as S, type FarmResponse as T, type FarmPluginContext as U, type ResolvedFarmConfig as V, type APIHandlerLifecyclePayload as W, type APIRouteDiscoveredPayload as X, type BundleLifecyclePayload as Y, type ErrorLifecyclePayload as Z, FARM_NODE_RESPONSE_END_PENDING as _, type FarmIntegration as a, type FarmIsolatedClientHydrationMode as a$, type FarmPluginBuildHooks as a0, type FarmPluginClientConfig as a1, type FarmPluginDatabase as a2, type FarmPluginDefinition as a3, type FarmPluginDevHooks as a4, type FarmPluginDiscoveredRoute as a5, type FarmPluginIntegrationContext as a6, type FarmPluginLifecycle as a7, type FarmPluginRenderHooks as a8, type FarmPluginRouteRuntimePayload as a9, type RenderLifecyclePayload as aA, type ResolvedFarmDevtoolsConfig as aB, type RouteDiscoveredPayload as aC, type RouteMatchPayload as aD, type RouteMatchResultPayload as aE, type RoutesGeneratedPayload as aF, type ShutdownPayload as aG, definePlugin as aH, resolveFarmDevtoolsConfig as aI, type MiddlewareProps as aJ, type FarmContextFactory as aK, type FarmDocsResolvedConfig as aL, type ResolvedFarmDesktopConfig as aM, type FarmDesktopConfigInput as aN, type FarmDesktopContext as aO, type FarmDesktopPermissionsConfig as aP, type FarmDesktopUserConfig as aQ, type FarmDesktopWindowConfig as aR, type FarmMCPCatalogDetails as aS, type ResolvedFarmAppManifestConfig as aT, type FarmConfig as aU, type AppRoutePattern as aV, type BuildOptions as aW, type ErrorBoundary as aX, type ErrorProps as aY, type FarmComponentType as aZ, type FarmContextFactoryInput as a_, type FarmPluginRouterHooks as aa, type FarmPluginRuntimeAfterEvent as ab, type FarmPluginRuntimeBaseEvent as ac, type FarmPluginRuntimeBeforeEvent as ad, type FarmPluginRuntimeCloseEvent as ae, type FarmPluginRuntimeContextEvent as af, type FarmPluginRuntimeEndpoint as ag, type FarmPluginRuntimeEndpointEvent as ah, type FarmPluginRuntimeErrorEvent as ai, type FarmPluginRuntimeHooks as aj, type FarmPluginRuntimeKind as ak, type FarmPluginRuntimeRequestHandler as al, type FarmPluginRuntimeRequestOptions as am, type FarmPluginRuntimeRequestScope as an, type FarmPluginRuntimeSession as ao, type FarmPluginRuntimeStartEvent as ap, type FarmPluginSetupContext as aq, type FarmPluginStateContext as ar, type FarmRequestPluginContext as as, type FarmRequestStore as at, FarmRuntimeShutdownError as au, type HMRUpdatePayload as av, type MiddlewareDiscoveredPayload as aw, type NitroBuildLifecyclePayload as ax, PluginManager as ay, type PluginRequestContext as az, getIntegrationSchemas as b, FARM_MARKDOWN_PAGE_CHECK_HEADER as b$, type FarmMCPUserConfig as b0, type FarmMigrationCommand as b1, type FarmMigrationsConfig as b2, type FarmMigrationsUserConfig as b3, type GenerateStaticParams as b4, type Layout as b5, type LayoutMetadataProps as b6, type LayoutModule as b7, type Loading as b8, type LoadingProps as b9, type ResolvedFarmDevIndicatorsConfig as bA, type ResolvedFarmAuthConfig as bB, type ResolvedFarmPerformanceConfig as bC, type ResolvedFarmSecurityConfig as bD, type FarmDesktopDevSession as bE, type FarmDesktopSetupOptions as bF, createFarmDesktopContext as bG, getFarmDesktopOutputDirs as bH, installFarmDesktopSetup as bI, resolveFarmDesktopBlock as bJ, resolveFarmDesktopConfig as bK, setFarmDesktopDevSession as bL, validateFarmDesktopConfig as bM, createFarmSearchParams as bN, searchParamsToObject as bO, type OpenAPIConfig as bP, type ApplyMarkdownNegotiationHeadersOptions as bQ, type CreateIntegrationOrmOptions as bR, type CreateMarkdownMirrorResponseOptions as bS, DEFAULT_FARM_API_BASE_PATH as bT, DEFAULT_FARM_DEVTOOLS_SHORTCUT as bU, type DefinedIntegration as bV, FARM_DEVTOOLS_LAUNCH_PARAM as bW, FARM_DEVTOOLS_PATH as bX, FARM_INTEGRATION_API_BASE_PATH_KEY as bY, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as bZ, FARM_INTEGRATION_SET_COOKIES_KEY as b_, type MetadataJsonLd as ba, type MetadataProps as bb, type MetadataRobots as bc, type MetadataRobotsDirectives as bd, type NitroPreset as be, type Page as bf, type PagePropsWithMiddleware as bg, type PageRouteParams as bh, type ResolvedFarmMigrationsConfig as bi, type ServerAction as bj, type StaticPathParams as bk, type StaticPathPrimitive as bl, type StaticRouteParams as bm, type ThemeColorDescriptor as bn, type Viewport as bo, resolveFarmMCPConfig as bp, resolveFarmMCPPlugin as bq, type FarmMCPServerRegistration as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmAgentJsonLd as bv, type FarmMarkdownResolvedConfig as bw, type ResolvedFarmRouteRuntimeConfig as bx, type ApplicationMetadataRouteKind as by, type ResolvedFarmAPIConfig as bz, getPresetForDeployTarget as c, type FarmIntegrationRouteInput as c$, type FarmAPIConfig as c0, type FarmAPIConfigResolverContext as c1, type FarmAPIConfigValue as c2, type FarmAgentCrawlers as c3, type FarmAgentUserConfig as c4, type FarmAppManifestConfig as c5, type FarmAuthConfig as c6, type FarmAuthDatabaseConfig as c7, type FarmAuthEmailAndPasswordConfig as c8, type FarmAuthSessionConfig as c9, type FarmIntegrationEndpointValue as cA, type FarmIntegrationEndpoints as cB, type FarmIntegrationEndpointsFactory as cC, type FarmIntegrationEndpointsFactoryContext as cD, type FarmIntegrationHandlerContext as cE, type FarmIntegrationInputSchema as cF, type FarmIntegrationLifecycleContext as cG, type FarmIntegrationLifecycleHook as cH, type FarmIntegrationLifecycleLogLevel as cI, type FarmIntegrationLifecycleLogger as cJ, type FarmIntegrationLogEvent as cK, type FarmIntegrationLogPhase as cL, type FarmIntegrationLogger as cM, type FarmIntegrationMiddleware as cN, type FarmIntegrationOrmClient as cO, type FarmIntegrationOrmSchema as cP, type FarmIntegrationPluginOwner as cQ, type FarmIntegrationProvider as cR, type FarmIntegrationProviderComponentReference as cS, type FarmIntegrationProviderProps as cT, type FarmIntegrationRequestContextStore as cU, type FarmIntegrationRoute as cV, type FarmIntegrationRouteArgs as cW, type FarmIntegrationRouteDb as cX, type FarmIntegrationRouteFactory as cY, type FarmIntegrationRouteHook as cZ, type FarmIntegrationRouteHookContext as c_, type FarmAuthUserConfig as ca, type FarmBuildActivityPosition as cb, type FarmCrawlerPolicy as cc, type FarmCspConfig as cd, type FarmCspDirectiveValue as ce, type FarmCspDirectives as cf, type FarmCspOptions as cg, type FarmDeployConfig as ch, type FarmDeployTarget as ci, type FarmDevIndicatorsConfig as cj, type FarmDevtoolsConfig as ck, type FarmDocsConfigInput as cl, type FarmDocsNavigationConfig as cm, type FarmDocsResolvedRoot as cn, type FarmDocsRootInput as co, type FarmDocsSidebarItem as cp, type FarmDocsSocialImageConfig as cq, type FarmDocsSocialImageFonts as cr, type FarmDocsUserConfig as cs, type FarmIntegrationCategory as ct, type FarmIntegrationConfigContext as cu, type FarmIntegrationConfigDefinition as cv, type FarmIntegrationConfigInput as cw, type FarmIntegrationContributedPlugin as cx, type FarmIntegrationData as cy, type FarmIntegrationDocumentNavigation as cz, resolveDeployConfig as d, type FarmRouteRuleRedirect as d$, type FarmIntegrationRouteInputSchemas as d0, type FarmIntegrationRouteInputSource as d1, type FarmIntegrationRouteMethod as d2, type FarmIntegrationRouteMiddleware as d3, type FarmIntegrationRouteParamValue as d4, type FarmIntegrationRouteParams as d5, type FarmIntegrationRouteStorageArgs as d6, type FarmIntegrationRoutesFactory as d7, type FarmIntegrationRoutesFactoryContext as d8, type FarmIntegrationSchema as d9, type FarmMCPResource as dA, type FarmMCPResourceContent as dB, type FarmMCPResourceContext as dC, type FarmMCPResourceListing as dD, type FarmMCPServer as dE, type FarmMCPServerFunction as dF, type FarmMCPStandaloneTool as dG, type FarmMCPTool as dH, type FarmMCPToolDefinition as dI, type FarmMarkdownMirrorTarget as dJ, type FarmMarkdownResolvedRoute as dK, type FarmMarkdownRouteInput as dL, type FarmMarkdownUserConfig as dM, type FarmPageFormAction as dN, type FarmPageFormField as dO, type FarmPageFormOption as dP, type FarmPageFormSubmit as dQ, type FarmPerformanceConfig as dR, type FarmPluginFactory as dS, FarmPluginOptionsError as dT, type FarmPluginOptionsIssue as dU, type FarmPluginOptionsSchema as dV, type FarmPreloadMode as dW, type FarmPreloadUserConfig as dX, type FarmRouteRenderingMode as dY, type FarmRouteRule as dZ, type FarmRouteRuleCors as d_, type FarmIntegrationSchemaConstraint as da, type FarmIntegrationSchemaField as db, type FarmIntegrationSchemaFieldType as dc, type FarmIntegrationSchemaModel as dd, type FarmIntegrationSchemaModelExtension as de, type FarmIntegrationSchemaModelOverride as df, type FarmIntegrationSchemaReference as dg, type FarmIntegrationSession as dh, type FarmIntegrationSlot as di, type FarmIntegrationStandardValidationResult as dj, type FarmIntegrationValidationErrorLike as dk, type FarmIntegrationValidationIssue as dl, type FarmIntegrationValidationPathSegment as dm, type FarmIntegrationValidationResult as dn, type FarmIntegrationsUserConfig as dp, type FarmLayerConfig as dq, type FarmMCPAuthorization as dr, type FarmMCPAuthorizeContext as ds, type FarmMCPConfig as dt, type FarmMCPEndpoint as du, type FarmMCPEndpointTool as dv, type FarmMCPExecuteContext as dw, type FarmMCPOAuthConfig as dx, type FarmMCPPrompt as dy, type FarmMCPPromptMessage as dz, resolveDeployOutputPath as e, hasFarmRouteRuntimeControls as e$, type FarmRouteRuleRenderMode as e0, type FarmRouteRules as e1, type FarmRouteRuntimeEntryKind as e2, type FarmRouteRuntimeManifest as e3, type FarmRouteRuntimeManifestEntry as e4, type FarmSecurityConfig as e5, type FarmServerComponentsConfig as e6, type FarmServerComponentsOptions as e7, type FarmTypedIntegrationRoute as e8, type I18nConfig as e9, compareFarmRouteRuleSpecificity as eA, createFarmRouteRuntimeKey as eB, createIntegrationOrm as eC, createIntegrationRoute as eD, createMarkdownMirrorResponse as eE, defineIntegration as eF, defineIntegrationSchema as eG, describeIntegrationOriginRejection as eH, dispatchIntegrationRequest as eI, dispatchIntegrationRequests as eJ, extractFarmPageActions as eK, farmAcceptQuality as eL, farmIntegrationSchemaToOrmSchema as eM, forwardIntegrationSetCookies as eN, generateFarmDevIndicatorsClientRuntime as eO, getFarmAPIBaseURL as eP, getFarmIntegrationPluginOwner as eQ, getFarmIntegrationPluginServerRuntime as eR, getFarmMarkdownAlternatePath as eS, getFarmMarkdownMirrorPath as eT, getFarmRouteRuntimeConfig as eU, getIntegrationDocumentNavigationMatchers as eV, getIntegrationProviders as eW, getRegisteredIntegrationAPIManifest as eX, getRegisteredIntegrationRuntime as eY, getRegisteredIntegrationSchemas as eZ, getRegisteredIntegrations as e_, type ImageConfig as ea, type InferFarmIntegrationOrmClient as eb, type InferFarmIntegrationOrmField as ec, type InferFarmIntegrationOrmFields as ed, type InferFarmIntegrationOrmSchema as ee, type InferPluginOptionsInput as ef, type InferPluginOptionsOutput as eg, type IntegrationOriginPolicy as eh, type IntegrationOriginRejection as ei, type IntegrationOriginResult as ej, type IntegrationOrmModelNames as ek, MetadataRoute as el, type MetadataRouteContext as em, type MiddlewareConfig as en, type RedirectConfig as eo, type ResolveMarkdownMirrorTargetOptions as ep, type ResolvedFarmCspConfig as eq, type ResolvedFarmMCPConfig as er, type ResolvedFarmPreloadConfig as es, type RewriteConfig as et, _getFarmMarkdownPageCheckToken as eu, _getFarmMarkdownPath as ev, _isFarmMarkdownPageCheck as ew, _readFarmRenderedHtml as ex, _resolveFarmMarkdownIndexAlias as ey, applyMarkdownNegotiationHeaders as ez, farmRouteRuleMatches as f, htmlToMarkdown as f0, integrationMiddlewareMayHandlePath as f1, integrationRoute as f2, isFarmIntegration as f3, isFarmIntegrationProviderComponentReference as f4, isFarmMarkdownMirrorExposed as f5, matchIntegrationRoute as f6, matchRegisteredIntegrationRoute as f7, matchesFarmMarkdownRoutePattern as f8, nitroRouteRulesBelowBasePath as f9, type ResolvedFarmLlmsTxtConfig as fA, applyFarmCspNonceToResponse as fB, collectFarmLlmsTxtPages as fC, createFarmAgentRobots as fD, createFarmCspNonce as fE, createFarmDefaultLlmsTxt as fF, createFarmDefaultSitemap as fG, createFarmLlmsFullRenderer as fH, createFarmLlmsMarkdownReader as fI, createFarmMetadataRouteResponse as fJ, hasFarmHtmlPreloadToken as fK, isFarmPageNoIndex as fL, manageFarmDocumentPreloads as fM, manageFarmHtmlPreloads as fN, manageFarmLinkHeaderPreloads as fO, readFarmLlmsMarkdownFrom as fP, renderFarmLlmsFullTxt as fQ, reportFarmPreloadWarnings as fR, resolveFarmAgentCrawlers as fS, resolveFarmAgentOrigin as fT, resolveFarmAgentSitemap as fU, resolveFarmLlmsTxtConfig as fV, resolveFarmSecurityConfig as fW, stampFarmCspNonce as fX, normalizeFarmAPIBasePath as fa, normalizeFarmAPIConfig as fb, normalizeFarmRouteRuntimeConfig as fc, normalizeRouteRules as fd, providerSupportsIslands as fe, requestAcceptsMarkdown as ff, resolveFarmAPIConfig as fg, resolveFarmAPIRequestURL as fh, resolveFarmDevIndicatorsConfig as fi, resolveIntegrationAllowedOrigins as fj, resolveIntegrationOrmRuntimeClient as fk, resolveIntegrationPlugins as fl, resolveMarkdownConfig as fm, resolveMarkdownMirrorTarget as fn, resolveMigrationsConfig as fo, resolveRouteRuleCorsPreflightHeaders as fp, routeRulesToHeaders as fq, routeRulesToNitroRouteRules as fr, routeRulesToRedirects as fs, validateIntegrationRequestOrigin as ft, type FarmLlmsTxtLink as fu, type FarmRegisteredMCPServer as fv, type FarmAgentSitemapUserConfig as fw, type FarmLlmsTxtUserConfig as fx, type ResolvedFarmAgentCrawlers as fy, type ResolvedFarmAgentSitemap as fz, getDeployTargetForPreset as g, resolveFarmRouteRuleRuntimeConfig as h, resolveFarmRouteRuntimeConfig as i, type FarmRouteRuntimeConfig as j, type FarmMdxComponents as k, loadConfig as l, mergeFarmRouteRuntimeConfigs as m, normalizeDeployTarget as n, type FarmMdxResolvedConfig as o, type RouteModule as p, type FarmMarkdownRoutePathname as q, resolveConfig as r, FARM_MARKDOWN_CONTENT_TYPE as s, createFarmMarkdownErrorBody as t, farmRequestWantsMarkdown as u, type FarmMdxComponent as v, type FarmMdxUserConfig as w, resolveFarmMdxComponentsModulePath as x, resolveMdxConfig as y, type RouteSegment as z };
|
|
@@ -2122,6 +2122,58 @@ interface FarmDesktopWindowConfig {
|
|
|
2122
2122
|
*/
|
|
2123
2123
|
hideOnClose?: boolean;
|
|
2124
2124
|
}
|
|
2125
|
+
/**
|
|
2126
|
+
* What the app may ask macOS for. Each value is the sentence macOS shows when it asks the user,
|
|
2127
|
+
* such as `"Notes records voice memos."`. Leave a permission out and macOS refuses it without
|
|
2128
|
+
* asking. Declaring one doesn't prompt anyone: macOS asks the first time the app uses it. Windows
|
|
2129
|
+
* and Linux builds ignore these keys.
|
|
2130
|
+
*
|
|
2131
|
+
* The window's web APIs need `microphone`, `camera`, `location` and `speechRecognition`. The rest
|
|
2132
|
+
* are for native code in the app's main process.
|
|
2133
|
+
*/
|
|
2134
|
+
interface FarmDesktopPermissionsConfig {
|
|
2135
|
+
/**
|
|
2136
|
+
* Microphone, for `navigator.mediaDevices.getUserMedia({ audio: true })`. Becomes
|
|
2137
|
+
* `NSMicrophoneUsageDescription` in the app's Info.plist.
|
|
2138
|
+
*/
|
|
2139
|
+
microphone?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* Camera, for `navigator.mediaDevices.getUserMedia({ video: true })`. Becomes
|
|
2142
|
+
* `NSCameraUsageDescription`.
|
|
2143
|
+
*/
|
|
2144
|
+
camera?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Location, for `navigator.geolocation`. Becomes `NSLocationUsageDescription` and
|
|
2147
|
+
* `NSLocationWhenInUseUsageDescription`.
|
|
2148
|
+
*/
|
|
2149
|
+
location?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Speech recognition, for the WebKit `SpeechRecognition` API (which also needs `microphone`).
|
|
2152
|
+
* Becomes `NSSpeechRecognitionUsageDescription`.
|
|
2153
|
+
*/
|
|
2154
|
+
speechRecognition?: string;
|
|
2155
|
+
/** Bluetooth. Becomes `NSBluetoothAlwaysUsageDescription`. */
|
|
2156
|
+
bluetooth?: string;
|
|
2157
|
+
/** Contacts. Becomes `NSContactsUsageDescription`. */
|
|
2158
|
+
contacts?: string;
|
|
2159
|
+
/** Calendars. Becomes `NSCalendarsUsageDescription`. */
|
|
2160
|
+
calendars?: string;
|
|
2161
|
+
/** Reminders. Becomes `NSRemindersUsageDescription`. */
|
|
2162
|
+
reminders?: string;
|
|
2163
|
+
/** The Photos library. Becomes `NSPhotoLibraryUsageDescription`. */
|
|
2164
|
+
photos?: string;
|
|
2165
|
+
/** The Apple Music library. Becomes `NSAppleMusicUsageDescription`. */
|
|
2166
|
+
music?: string;
|
|
2167
|
+
/** Motion and fitness data. Becomes `NSMotionUsageDescription`. */
|
|
2168
|
+
motion?: string;
|
|
2169
|
+
/** Files in the Documents folder. Becomes `NSDocumentsFolderUsageDescription`. */
|
|
2170
|
+
documents?: string;
|
|
2171
|
+
/** Files in the Downloads folder. Becomes `NSDownloadsFolderUsageDescription`. */
|
|
2172
|
+
downloads?: string;
|
|
2173
|
+
/** Files on the Desktop. Becomes `NSDesktopFolderUsageDescription`. */
|
|
2174
|
+
desktop?: string;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2125
2177
|
interface FarmDesktopUserConfig {
|
|
2126
2178
|
/** Display name of the app. Defaults to the package.json `productName` or `name`. */
|
|
2127
2179
|
name?: string;
|
|
@@ -2138,6 +2190,12 @@ interface FarmDesktopUserConfig {
|
|
|
2138
2190
|
*/
|
|
2139
2191
|
icon?: string;
|
|
2140
2192
|
window?: FarmDesktopWindowConfig;
|
|
2193
|
+
/**
|
|
2194
|
+
* What the app may ask macOS for, such as `{ microphone: "Notes records voice memos." }`: the
|
|
2195
|
+
* microphone, camera, location and more. Without it, macOS refuses them all. Windows and Linux
|
|
2196
|
+
* ignore it.
|
|
2197
|
+
*/
|
|
2198
|
+
permissions?: FarmDesktopPermissionsConfig;
|
|
2141
2199
|
/**
|
|
2142
2200
|
* Desktop shell adapter. A name resolves to `@farm.js/desktop/<name>`; a package name or
|
|
2143
2201
|
* subpath (containing `/`) is imported as is. Defaults to `"electrobun"`.
|
|
@@ -2173,6 +2231,8 @@ interface ResolvedFarmDesktopConfig {
|
|
|
2173
2231
|
title: string;
|
|
2174
2232
|
hideOnClose: boolean;
|
|
2175
2233
|
};
|
|
2234
|
+
/** The declared devices with their trimmed sentences, or undefined when the app declares none. */
|
|
2235
|
+
permissions?: FarmDesktopPermissionsConfig;
|
|
2176
2236
|
/** Adapter name, as configured. */
|
|
2177
2237
|
shell: string;
|
|
2178
2238
|
/** Module the CLI imports the adapter from, such as `@farm.js/desktop/electrobun`. */
|
|
@@ -3910,4 +3970,4 @@ declare function dispatchIntegrationRequests(integrations: FarmIntegrationsUserC
|
|
|
3910
3970
|
setCookies: string[];
|
|
3911
3971
|
}>;
|
|
3912
3972
|
|
|
3913
|
-
export { type APIHandlerLifecyclePayload as $, type SSGPage as A, type BundleResultPayload as B, type FarmAppContext as C, type PageProps as D, type FarmSearchParams as E, type FarmPlugin as F, type PluginContextProps as G, type FarmRouteRuntime as H, type FarmRouteRegions as I, type FarmRouteMaxDuration as J, type FarmServerComponentsMode as K, type LayoutProps as L, type Metadata as M, type FarmUserConfig as N, type ResolvedFarmDesktopConfig as O, type ParsedRoute as P, type FarmDesktopConfigInput as Q, type ResolvedFarmDeployConfig as R, type SSGCollectionResult as S, type FarmDesktopContext as T, type FarmDesktopUserConfig as U, type FarmDesktopWindowConfig as V, type HeaderConfig as W, type FarmRequest as X, type FarmResponse as Y, type FarmPluginContext as Z, type ResolvedFarmConfig as _, type FarmIntegration as a, type FarmMCPUserConfig as a$, type APIRouteDiscoveredPayload as a0, type BundleLifecyclePayload as a1, type ErrorLifecyclePayload as a2, FARM_NODE_RESPONSE_END_PENDING as a3, type FarmDevtoolsUserConfig as a4, type FarmPluginBuildHooks as a5, type FarmPluginClientConfig as a6, type FarmPluginDatabase as a7, type FarmPluginDefinition as a8, type FarmPluginDevHooks as a9, type HMRUpdatePayload as aA, type MiddlewareDiscoveredPayload as aB, type NitroBuildLifecyclePayload as aC, PluginManager as aD, type PluginRequestContext as aE, type RenderLifecyclePayload as aF, type ResolvedFarmDevtoolsConfig as aG, type RouteDiscoveredPayload as aH, type RouteMatchPayload as aI, type RouteMatchResultPayload as aJ, type RoutesGeneratedPayload as aK, type ShutdownPayload as aL, definePlugin as aM, resolveFarmDevtoolsConfig as aN, type MiddlewareProps as aO, type FarmContextFactory as aP, type FarmDocsResolvedConfig as aQ, type FarmMCPCatalogDetails as aR, type ResolvedFarmAppManifestConfig as aS, type FarmConfig as aT, type AppRoutePattern as aU, type BuildOptions as aV, type ErrorBoundary as aW, type ErrorProps as aX, type FarmComponentType as aY, type FarmContextFactoryInput as aZ, type FarmIsolatedClientHydrationMode as a_, type FarmPluginDiscoveredRoute as aa, type FarmPluginIntegrationContext as ab, type FarmPluginLifecycle as ac, type FarmPluginRenderHooks as ad, type FarmPluginRouteRuntimePayload as ae, type FarmPluginRouterHooks as af, type FarmPluginRuntimeAfterEvent as ag, type FarmPluginRuntimeBaseEvent as ah, type FarmPluginRuntimeBeforeEvent as ai, type FarmPluginRuntimeCloseEvent as aj, type FarmPluginRuntimeContextEvent as ak, type FarmPluginRuntimeEndpoint as al, type FarmPluginRuntimeEndpointEvent as am, type FarmPluginRuntimeErrorEvent as an, type FarmPluginRuntimeHooks as ao, type FarmPluginRuntimeKind as ap, type FarmPluginRuntimeRequestHandler as aq, type FarmPluginRuntimeRequestOptions as ar, type FarmPluginRuntimeRequestScope as as, type FarmPluginRuntimeSession as at, type FarmPluginRuntimeStartEvent as au, type FarmPluginSetupContext as av, type FarmPluginStateContext as aw, type FarmRequestPluginContext as ax, type FarmRequestStore as ay, FarmRuntimeShutdownError as az, getIntegrationSchemas as b, type FarmAPIConfig as b$, type FarmMigrationCommand as b0, type FarmMigrationsConfig as b1, type FarmMigrationsUserConfig as b2, type GenerateStaticParams as b3, type Layout as b4, type LayoutMetadataProps as b5, type LayoutModule as b6, type Loading as b7, type LoadingProps as b8, type MetadataJsonLd as b9, type ResolvedFarmAuthConfig as bA, type ResolvedFarmPerformanceConfig as bB, type ResolvedFarmSecurityConfig as bC, type FarmDesktopDevSession as bD, type FarmDesktopSetupOptions as bE, createFarmDesktopContext as bF, getFarmDesktopOutputDirs as bG, installFarmDesktopSetup as bH, resolveFarmDesktopBlock as bI, resolveFarmDesktopConfig as bJ, setFarmDesktopDevSession as bK, validateFarmDesktopConfig as bL, createFarmSearchParams as bM, searchParamsToObject as bN, type OpenAPIConfig as bO, type ApplyMarkdownNegotiationHeadersOptions as bP, type CreateIntegrationOrmOptions as bQ, type CreateMarkdownMirrorResponseOptions as bR, DEFAULT_FARM_API_BASE_PATH as bS, DEFAULT_FARM_DEVTOOLS_SHORTCUT as bT, type DefinedIntegration as bU, FARM_DEVTOOLS_LAUNCH_PARAM as bV, FARM_DEVTOOLS_PATH as bW, FARM_INTEGRATION_API_BASE_PATH_KEY as bX, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as bY, FARM_INTEGRATION_SET_COOKIES_KEY as bZ, FARM_MARKDOWN_PAGE_CHECK_HEADER as b_, type MetadataProps as ba, type MetadataRobots as bb, type MetadataRobotsDirectives as bc, type NitroPreset as bd, type Page as be, type PagePropsWithMiddleware as bf, type PageRouteParams as bg, type ResolvedFarmMigrationsConfig as bh, type ServerAction as bi, type StaticPathParams as bj, type StaticPathPrimitive as bk, type StaticRouteParams as bl, type ThemeColorDescriptor as bm, type Viewport as bn, resolveFarmMCPConfig as bo, resolveFarmMCPPlugin as bp, type FarmMCPServerRegistration as bq, _findFarmMCPEndpointTool as br, _publishFarmMCPCatalog as bs, registerFarmMCPServer as bt, type FarmAgentJsonLd as bu, type FarmMarkdownResolvedConfig as bv, type ResolvedFarmRouteRuntimeConfig as bw, type ApplicationMetadataRouteKind as bx, type ResolvedFarmAPIConfig as by, type ResolvedFarmDevIndicatorsConfig as bz, getPresetForDeployTarget as c, type FarmIntegrationRouteInputSchemas as c$, type FarmAPIConfigResolverContext as c0, type FarmAPIConfigValue as c1, type FarmAgentCrawlers as c2, type FarmAgentUserConfig as c3, type FarmAppManifestConfig as c4, type FarmAuthConfig as c5, type FarmAuthDatabaseConfig as c6, type FarmAuthEmailAndPasswordConfig as c7, type FarmAuthSessionConfig as c8, type FarmAuthUserConfig as c9, type FarmIntegrationEndpoints as cA, type FarmIntegrationEndpointsFactory as cB, type FarmIntegrationEndpointsFactoryContext as cC, type FarmIntegrationHandlerContext as cD, type FarmIntegrationInputSchema as cE, type FarmIntegrationLifecycleContext as cF, type FarmIntegrationLifecycleHook as cG, type FarmIntegrationLifecycleLogLevel as cH, type FarmIntegrationLifecycleLogger as cI, type FarmIntegrationLogEvent as cJ, type FarmIntegrationLogPhase as cK, type FarmIntegrationLogger as cL, type FarmIntegrationMiddleware as cM, type FarmIntegrationOrmClient as cN, type FarmIntegrationOrmSchema as cO, type FarmIntegrationPluginOwner as cP, type FarmIntegrationProvider as cQ, type FarmIntegrationProviderComponentReference as cR, type FarmIntegrationProviderProps as cS, type FarmIntegrationRequestContextStore as cT, type FarmIntegrationRoute as cU, type FarmIntegrationRouteArgs as cV, type FarmIntegrationRouteDb as cW, type FarmIntegrationRouteFactory as cX, type FarmIntegrationRouteHook as cY, type FarmIntegrationRouteHookContext as cZ, type FarmIntegrationRouteInput as c_, type FarmBuildActivityPosition as ca, type FarmCrawlerPolicy as cb, type FarmCspConfig as cc, type FarmCspDirectiveValue as cd, type FarmCspDirectives as ce, type FarmCspOptions as cf, type FarmDeployConfig as cg, type FarmDeployTarget as ch, type FarmDevIndicatorsConfig as ci, type FarmDevtoolsConfig as cj, type FarmDocsConfigInput as ck, type FarmDocsNavigationConfig as cl, type FarmDocsResolvedRoot as cm, type FarmDocsRootInput as cn, type FarmDocsSidebarItem as co, type FarmDocsSocialImageConfig as cp, type FarmDocsSocialImageFonts as cq, type FarmDocsUserConfig as cr, type FarmIntegrationCategory as cs, type FarmIntegrationConfigContext as ct, type FarmIntegrationConfigDefinition as cu, type FarmIntegrationConfigInput as cv, type FarmIntegrationContributedPlugin as cw, type FarmIntegrationData as cx, type FarmIntegrationDocumentNavigation as cy, type FarmIntegrationEndpointValue as cz, resolveDeployConfig as d, type FarmRouteRuleRenderMode as d$, type FarmIntegrationRouteInputSource as d0, type FarmIntegrationRouteMethod as d1, type FarmIntegrationRouteMiddleware as d2, type FarmIntegrationRouteParamValue as d3, type FarmIntegrationRouteParams as d4, type FarmIntegrationRouteStorageArgs as d5, type FarmIntegrationRoutesFactory as d6, type FarmIntegrationRoutesFactoryContext as d7, type FarmIntegrationSchema as d8, type FarmIntegrationSchemaConstraint as d9, type FarmMCPResourceContent as dA, type FarmMCPResourceContext as dB, type FarmMCPResourceListing as dC, type FarmMCPServer as dD, type FarmMCPServerFunction as dE, type FarmMCPStandaloneTool as dF, type FarmMCPTool as dG, type FarmMCPToolDefinition as dH, type FarmMarkdownMirrorTarget as dI, type FarmMarkdownResolvedRoute as dJ, type FarmMarkdownRouteInput as dK, type FarmMarkdownUserConfig as dL, type FarmPageFormAction as dM, type FarmPageFormField as dN, type FarmPageFormOption as dO, type FarmPageFormSubmit as dP, type FarmPerformanceConfig as dQ, type FarmPluginFactory as dR, FarmPluginOptionsError as dS, type FarmPluginOptionsIssue as dT, type FarmPluginOptionsSchema as dU, type FarmPreloadMode as dV, type FarmPreloadUserConfig as dW, type FarmRouteRenderingMode as dX, type FarmRouteRule as dY, type FarmRouteRuleCors as dZ, type FarmRouteRuleRedirect as d_, type FarmIntegrationSchemaField as da, type FarmIntegrationSchemaFieldType as db, type FarmIntegrationSchemaModel as dc, type FarmIntegrationSchemaModelExtension as dd, type FarmIntegrationSchemaModelOverride as de, type FarmIntegrationSchemaReference as df, type FarmIntegrationSession as dg, type FarmIntegrationSlot as dh, type FarmIntegrationStandardValidationResult as di, type FarmIntegrationValidationErrorLike as dj, type FarmIntegrationValidationIssue as dk, type FarmIntegrationValidationPathSegment as dl, type FarmIntegrationValidationResult as dm, type FarmIntegrationsUserConfig as dn, type FarmLayerConfig as dp, type FarmMCPAuthorization as dq, type FarmMCPAuthorizeContext as dr, type FarmMCPConfig as ds, type FarmMCPEndpoint as dt, type FarmMCPEndpointTool as du, type FarmMCPExecuteContext as dv, type FarmMCPOAuthConfig as dw, type FarmMCPPrompt as dx, type FarmMCPPromptMessage as dy, type FarmMCPResource as dz, resolveDeployOutputPath as e, htmlToMarkdown as e$, type FarmRouteRules as e0, type FarmRouteRuntimeEntryKind as e1, type FarmRouteRuntimeManifest as e2, type FarmRouteRuntimeManifestEntry as e3, type FarmSecurityConfig as e4, type FarmServerComponentsConfig as e5, type FarmServerComponentsOptions as e6, type FarmTypedIntegrationRoute as e7, type I18nConfig as e8, type ImageConfig as e9, createFarmRouteRuntimeKey as eA, createIntegrationOrm as eB, createIntegrationRoute as eC, createMarkdownMirrorResponse as eD, defineIntegration as eE, defineIntegrationSchema as eF, describeIntegrationOriginRejection as eG, dispatchIntegrationRequest as eH, dispatchIntegrationRequests as eI, extractFarmPageActions as eJ, farmAcceptQuality as eK, farmIntegrationSchemaToOrmSchema as eL, forwardIntegrationSetCookies as eM, generateFarmDevIndicatorsClientRuntime as eN, getFarmAPIBaseURL as eO, getFarmIntegrationPluginOwner as eP, getFarmIntegrationPluginServerRuntime as eQ, getFarmMarkdownAlternatePath as eR, getFarmMarkdownMirrorPath as eS, getFarmRouteRuntimeConfig as eT, getIntegrationDocumentNavigationMatchers as eU, getIntegrationProviders as eV, getRegisteredIntegrationAPIManifest as eW, getRegisteredIntegrationRuntime as eX, getRegisteredIntegrationSchemas as eY, getRegisteredIntegrations as eZ, hasFarmRouteRuntimeControls as e_, type InferFarmIntegrationOrmClient as ea, type InferFarmIntegrationOrmField as eb, type InferFarmIntegrationOrmFields as ec, type InferFarmIntegrationOrmSchema as ed, type InferPluginOptionsInput as ee, type InferPluginOptionsOutput as ef, type IntegrationOriginPolicy as eg, type IntegrationOriginRejection as eh, type IntegrationOriginResult as ei, type IntegrationOrmModelNames as ej, MetadataRoute as ek, type MetadataRouteContext as el, type MiddlewareConfig as em, type RedirectConfig as en, type ResolveMarkdownMirrorTargetOptions as eo, type ResolvedFarmCspConfig as ep, type ResolvedFarmMCPConfig as eq, type ResolvedFarmPreloadConfig as er, type RewriteConfig as es, _getFarmMarkdownPageCheckToken as et, _getFarmMarkdownPath as eu, _isFarmMarkdownPageCheck as ev, _readFarmRenderedHtml as ew, _resolveFarmMarkdownIndexAlias as ex, applyMarkdownNegotiationHeaders as ey, compareFarmRouteRuleSpecificity as ez, farmRouteRuleMatches as f, integrationMiddlewareMayHandlePath as f0, integrationRoute as f1, isFarmIntegration as f2, isFarmIntegrationProviderComponentReference as f3, isFarmMarkdownMirrorExposed as f4, matchIntegrationRoute as f5, matchRegisteredIntegrationRoute as f6, matchesFarmMarkdownRoutePattern as f7, nitroRouteRulesBelowBasePath as f8, normalizeFarmAPIBasePath as f9, applyFarmCspNonceToResponse as fA, collectFarmLlmsTxtPages as fB, createFarmAgentRobots as fC, createFarmCspNonce as fD, createFarmDefaultLlmsTxt as fE, createFarmDefaultSitemap as fF, createFarmLlmsFullRenderer as fG, createFarmLlmsMarkdownReader as fH, createFarmMetadataRouteResponse as fI, hasFarmHtmlPreloadToken as fJ, isFarmPageNoIndex as fK, manageFarmDocumentPreloads as fL, manageFarmHtmlPreloads as fM, manageFarmLinkHeaderPreloads as fN, readFarmLlmsMarkdownFrom as fO, renderFarmLlmsFullTxt as fP, reportFarmPreloadWarnings as fQ, resolveFarmAgentCrawlers as fR, resolveFarmAgentOrigin as fS, resolveFarmAgentSitemap as fT, resolveFarmLlmsTxtConfig as fU, resolveFarmSecurityConfig as fV, stampFarmCspNonce as fW, normalizeFarmAPIConfig as fa, normalizeFarmRouteRuntimeConfig as fb, normalizeRouteRules as fc, providerSupportsIslands as fd, requestAcceptsMarkdown as fe, resolveFarmAPIConfig as ff, resolveFarmAPIRequestURL as fg, resolveFarmDevIndicatorsConfig as fh, resolveIntegrationAllowedOrigins as fi, resolveIntegrationOrmRuntimeClient as fj, resolveIntegrationPlugins as fk, resolveMarkdownConfig as fl, resolveMarkdownMirrorTarget as fm, resolveMigrationsConfig as fn, resolveRouteRuleCorsPreflightHeaders as fo, routeRulesToHeaders as fp, routeRulesToNitroRouteRules as fq, routeRulesToRedirects as fr, validateIntegrationRequestOrigin as fs, type FarmLlmsTxtLink as ft, type FarmRegisteredMCPServer as fu, type FarmAgentSitemapUserConfig as fv, type FarmLlmsTxtUserConfig as fw, type ResolvedFarmAgentCrawlers as fx, type ResolvedFarmAgentSitemap as fy, type ResolvedFarmLlmsTxtConfig as fz, getDeployTargetForPreset as g, resolveFarmRouteRuleRuntimeConfig as h, resolveFarmRouteRuntimeConfig as i, type FarmRouteRuntimeConfig as j, type FarmMdxComponents as k, loadConfig as l, mergeFarmRouteRuntimeConfigs as m, normalizeDeployTarget as n, type FarmMdxResolvedConfig as o, type RouteModule as p, type FarmMarkdownRoutePathname as q, resolveConfig as r, FARM_MARKDOWN_CONTENT_TYPE as s, createFarmMarkdownErrorBody as t, farmRequestWantsMarkdown as u, type FarmMdxComponent as v, type FarmMdxUserConfig as w, resolveFarmMdxComponentsModulePath as x, resolveMdxConfig as y, type RouteSegment as z };
|
|
3973
|
+
export { type FarmDevtoolsUserConfig as $, type SSGPage as A, type BundleResultPayload as B, type FarmAppContext as C, type PageProps as D, type FarmSearchParams as E, type FarmPlugin as F, type PluginContextProps as G, type FarmRouteRuntime as H, type FarmRouteRegions as I, type FarmRouteMaxDuration as J, type FarmServerComponentsMode as K, type LayoutProps as L, type Metadata as M, type FarmUserConfig as N, type HeaderConfig as O, type ParsedRoute as P, type FarmRequest as Q, type ResolvedFarmDeployConfig as R, type SSGCollectionResult as S, type FarmResponse as T, type FarmPluginContext as U, type ResolvedFarmConfig as V, type APIHandlerLifecyclePayload as W, type APIRouteDiscoveredPayload as X, type BundleLifecyclePayload as Y, type ErrorLifecyclePayload as Z, FARM_NODE_RESPONSE_END_PENDING as _, type FarmIntegration as a, type FarmIsolatedClientHydrationMode as a$, type FarmPluginBuildHooks as a0, type FarmPluginClientConfig as a1, type FarmPluginDatabase as a2, type FarmPluginDefinition as a3, type FarmPluginDevHooks as a4, type FarmPluginDiscoveredRoute as a5, type FarmPluginIntegrationContext as a6, type FarmPluginLifecycle as a7, type FarmPluginRenderHooks as a8, type FarmPluginRouteRuntimePayload as a9, type RenderLifecyclePayload as aA, type ResolvedFarmDevtoolsConfig as aB, type RouteDiscoveredPayload as aC, type RouteMatchPayload as aD, type RouteMatchResultPayload as aE, type RoutesGeneratedPayload as aF, type ShutdownPayload as aG, definePlugin as aH, resolveFarmDevtoolsConfig as aI, type MiddlewareProps as aJ, type FarmContextFactory as aK, type FarmDocsResolvedConfig as aL, type ResolvedFarmDesktopConfig as aM, type FarmDesktopConfigInput as aN, type FarmDesktopContext as aO, type FarmDesktopPermissionsConfig as aP, type FarmDesktopUserConfig as aQ, type FarmDesktopWindowConfig as aR, type FarmMCPCatalogDetails as aS, type ResolvedFarmAppManifestConfig as aT, type FarmConfig as aU, type AppRoutePattern as aV, type BuildOptions as aW, type ErrorBoundary as aX, type ErrorProps as aY, type FarmComponentType as aZ, type FarmContextFactoryInput as a_, type FarmPluginRouterHooks as aa, type FarmPluginRuntimeAfterEvent as ab, type FarmPluginRuntimeBaseEvent as ac, type FarmPluginRuntimeBeforeEvent as ad, type FarmPluginRuntimeCloseEvent as ae, type FarmPluginRuntimeContextEvent as af, type FarmPluginRuntimeEndpoint as ag, type FarmPluginRuntimeEndpointEvent as ah, type FarmPluginRuntimeErrorEvent as ai, type FarmPluginRuntimeHooks as aj, type FarmPluginRuntimeKind as ak, type FarmPluginRuntimeRequestHandler as al, type FarmPluginRuntimeRequestOptions as am, type FarmPluginRuntimeRequestScope as an, type FarmPluginRuntimeSession as ao, type FarmPluginRuntimeStartEvent as ap, type FarmPluginSetupContext as aq, type FarmPluginStateContext as ar, type FarmRequestPluginContext as as, type FarmRequestStore as at, FarmRuntimeShutdownError as au, type HMRUpdatePayload as av, type MiddlewareDiscoveredPayload as aw, type NitroBuildLifecyclePayload as ax, PluginManager as ay, type PluginRequestContext as az, getIntegrationSchemas as b, FARM_MARKDOWN_PAGE_CHECK_HEADER as b$, type FarmMCPUserConfig as b0, type FarmMigrationCommand as b1, type FarmMigrationsConfig as b2, type FarmMigrationsUserConfig as b3, type GenerateStaticParams as b4, type Layout as b5, type LayoutMetadataProps as b6, type LayoutModule as b7, type Loading as b8, type LoadingProps as b9, type ResolvedFarmDevIndicatorsConfig as bA, type ResolvedFarmAuthConfig as bB, type ResolvedFarmPerformanceConfig as bC, type ResolvedFarmSecurityConfig as bD, type FarmDesktopDevSession as bE, type FarmDesktopSetupOptions as bF, createFarmDesktopContext as bG, getFarmDesktopOutputDirs as bH, installFarmDesktopSetup as bI, resolveFarmDesktopBlock as bJ, resolveFarmDesktopConfig as bK, setFarmDesktopDevSession as bL, validateFarmDesktopConfig as bM, createFarmSearchParams as bN, searchParamsToObject as bO, type OpenAPIConfig as bP, type ApplyMarkdownNegotiationHeadersOptions as bQ, type CreateIntegrationOrmOptions as bR, type CreateMarkdownMirrorResponseOptions as bS, DEFAULT_FARM_API_BASE_PATH as bT, DEFAULT_FARM_DEVTOOLS_SHORTCUT as bU, type DefinedIntegration as bV, FARM_DEVTOOLS_LAUNCH_PARAM as bW, FARM_DEVTOOLS_PATH as bX, FARM_INTEGRATION_API_BASE_PATH_KEY as bY, FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY as bZ, FARM_INTEGRATION_SET_COOKIES_KEY as b_, type MetadataJsonLd as ba, type MetadataProps as bb, type MetadataRobots as bc, type MetadataRobotsDirectives as bd, type NitroPreset as be, type Page as bf, type PagePropsWithMiddleware as bg, type PageRouteParams as bh, type ResolvedFarmMigrationsConfig as bi, type ServerAction as bj, type StaticPathParams as bk, type StaticPathPrimitive as bl, type StaticRouteParams as bm, type ThemeColorDescriptor as bn, type Viewport as bo, resolveFarmMCPConfig as bp, resolveFarmMCPPlugin as bq, type FarmMCPServerRegistration as br, _findFarmMCPEndpointTool as bs, _publishFarmMCPCatalog as bt, registerFarmMCPServer as bu, type FarmAgentJsonLd as bv, type FarmMarkdownResolvedConfig as bw, type ResolvedFarmRouteRuntimeConfig as bx, type ApplicationMetadataRouteKind as by, type ResolvedFarmAPIConfig as bz, getPresetForDeployTarget as c, type FarmIntegrationRouteInput as c$, type FarmAPIConfig as c0, type FarmAPIConfigResolverContext as c1, type FarmAPIConfigValue as c2, type FarmAgentCrawlers as c3, type FarmAgentUserConfig as c4, type FarmAppManifestConfig as c5, type FarmAuthConfig as c6, type FarmAuthDatabaseConfig as c7, type FarmAuthEmailAndPasswordConfig as c8, type FarmAuthSessionConfig as c9, type FarmIntegrationEndpointValue as cA, type FarmIntegrationEndpoints as cB, type FarmIntegrationEndpointsFactory as cC, type FarmIntegrationEndpointsFactoryContext as cD, type FarmIntegrationHandlerContext as cE, type FarmIntegrationInputSchema as cF, type FarmIntegrationLifecycleContext as cG, type FarmIntegrationLifecycleHook as cH, type FarmIntegrationLifecycleLogLevel as cI, type FarmIntegrationLifecycleLogger as cJ, type FarmIntegrationLogEvent as cK, type FarmIntegrationLogPhase as cL, type FarmIntegrationLogger as cM, type FarmIntegrationMiddleware as cN, type FarmIntegrationOrmClient as cO, type FarmIntegrationOrmSchema as cP, type FarmIntegrationPluginOwner as cQ, type FarmIntegrationProvider as cR, type FarmIntegrationProviderComponentReference as cS, type FarmIntegrationProviderProps as cT, type FarmIntegrationRequestContextStore as cU, type FarmIntegrationRoute as cV, type FarmIntegrationRouteArgs as cW, type FarmIntegrationRouteDb as cX, type FarmIntegrationRouteFactory as cY, type FarmIntegrationRouteHook as cZ, type FarmIntegrationRouteHookContext as c_, type FarmAuthUserConfig as ca, type FarmBuildActivityPosition as cb, type FarmCrawlerPolicy as cc, type FarmCspConfig as cd, type FarmCspDirectiveValue as ce, type FarmCspDirectives as cf, type FarmCspOptions as cg, type FarmDeployConfig as ch, type FarmDeployTarget as ci, type FarmDevIndicatorsConfig as cj, type FarmDevtoolsConfig as ck, type FarmDocsConfigInput as cl, type FarmDocsNavigationConfig as cm, type FarmDocsResolvedRoot as cn, type FarmDocsRootInput as co, type FarmDocsSidebarItem as cp, type FarmDocsSocialImageConfig as cq, type FarmDocsSocialImageFonts as cr, type FarmDocsUserConfig as cs, type FarmIntegrationCategory as ct, type FarmIntegrationConfigContext as cu, type FarmIntegrationConfigDefinition as cv, type FarmIntegrationConfigInput as cw, type FarmIntegrationContributedPlugin as cx, type FarmIntegrationData as cy, type FarmIntegrationDocumentNavigation as cz, resolveDeployConfig as d, type FarmRouteRuleRedirect as d$, type FarmIntegrationRouteInputSchemas as d0, type FarmIntegrationRouteInputSource as d1, type FarmIntegrationRouteMethod as d2, type FarmIntegrationRouteMiddleware as d3, type FarmIntegrationRouteParamValue as d4, type FarmIntegrationRouteParams as d5, type FarmIntegrationRouteStorageArgs as d6, type FarmIntegrationRoutesFactory as d7, type FarmIntegrationRoutesFactoryContext as d8, type FarmIntegrationSchema as d9, type FarmMCPResource as dA, type FarmMCPResourceContent as dB, type FarmMCPResourceContext as dC, type FarmMCPResourceListing as dD, type FarmMCPServer as dE, type FarmMCPServerFunction as dF, type FarmMCPStandaloneTool as dG, type FarmMCPTool as dH, type FarmMCPToolDefinition as dI, type FarmMarkdownMirrorTarget as dJ, type FarmMarkdownResolvedRoute as dK, type FarmMarkdownRouteInput as dL, type FarmMarkdownUserConfig as dM, type FarmPageFormAction as dN, type FarmPageFormField as dO, type FarmPageFormOption as dP, type FarmPageFormSubmit as dQ, type FarmPerformanceConfig as dR, type FarmPluginFactory as dS, FarmPluginOptionsError as dT, type FarmPluginOptionsIssue as dU, type FarmPluginOptionsSchema as dV, type FarmPreloadMode as dW, type FarmPreloadUserConfig as dX, type FarmRouteRenderingMode as dY, type FarmRouteRule as dZ, type FarmRouteRuleCors as d_, type FarmIntegrationSchemaConstraint as da, type FarmIntegrationSchemaField as db, type FarmIntegrationSchemaFieldType as dc, type FarmIntegrationSchemaModel as dd, type FarmIntegrationSchemaModelExtension as de, type FarmIntegrationSchemaModelOverride as df, type FarmIntegrationSchemaReference as dg, type FarmIntegrationSession as dh, type FarmIntegrationSlot as di, type FarmIntegrationStandardValidationResult as dj, type FarmIntegrationValidationErrorLike as dk, type FarmIntegrationValidationIssue as dl, type FarmIntegrationValidationPathSegment as dm, type FarmIntegrationValidationResult as dn, type FarmIntegrationsUserConfig as dp, type FarmLayerConfig as dq, type FarmMCPAuthorization as dr, type FarmMCPAuthorizeContext as ds, type FarmMCPConfig as dt, type FarmMCPEndpoint as du, type FarmMCPEndpointTool as dv, type FarmMCPExecuteContext as dw, type FarmMCPOAuthConfig as dx, type FarmMCPPrompt as dy, type FarmMCPPromptMessage as dz, resolveDeployOutputPath as e, hasFarmRouteRuntimeControls as e$, type FarmRouteRuleRenderMode as e0, type FarmRouteRules as e1, type FarmRouteRuntimeEntryKind as e2, type FarmRouteRuntimeManifest as e3, type FarmRouteRuntimeManifestEntry as e4, type FarmSecurityConfig as e5, type FarmServerComponentsConfig as e6, type FarmServerComponentsOptions as e7, type FarmTypedIntegrationRoute as e8, type I18nConfig as e9, compareFarmRouteRuleSpecificity as eA, createFarmRouteRuntimeKey as eB, createIntegrationOrm as eC, createIntegrationRoute as eD, createMarkdownMirrorResponse as eE, defineIntegration as eF, defineIntegrationSchema as eG, describeIntegrationOriginRejection as eH, dispatchIntegrationRequest as eI, dispatchIntegrationRequests as eJ, extractFarmPageActions as eK, farmAcceptQuality as eL, farmIntegrationSchemaToOrmSchema as eM, forwardIntegrationSetCookies as eN, generateFarmDevIndicatorsClientRuntime as eO, getFarmAPIBaseURL as eP, getFarmIntegrationPluginOwner as eQ, getFarmIntegrationPluginServerRuntime as eR, getFarmMarkdownAlternatePath as eS, getFarmMarkdownMirrorPath as eT, getFarmRouteRuntimeConfig as eU, getIntegrationDocumentNavigationMatchers as eV, getIntegrationProviders as eW, getRegisteredIntegrationAPIManifest as eX, getRegisteredIntegrationRuntime as eY, getRegisteredIntegrationSchemas as eZ, getRegisteredIntegrations as e_, type ImageConfig as ea, type InferFarmIntegrationOrmClient as eb, type InferFarmIntegrationOrmField as ec, type InferFarmIntegrationOrmFields as ed, type InferFarmIntegrationOrmSchema as ee, type InferPluginOptionsInput as ef, type InferPluginOptionsOutput as eg, type IntegrationOriginPolicy as eh, type IntegrationOriginRejection as ei, type IntegrationOriginResult as ej, type IntegrationOrmModelNames as ek, MetadataRoute as el, type MetadataRouteContext as em, type MiddlewareConfig as en, type RedirectConfig as eo, type ResolveMarkdownMirrorTargetOptions as ep, type ResolvedFarmCspConfig as eq, type ResolvedFarmMCPConfig as er, type ResolvedFarmPreloadConfig as es, type RewriteConfig as et, _getFarmMarkdownPageCheckToken as eu, _getFarmMarkdownPath as ev, _isFarmMarkdownPageCheck as ew, _readFarmRenderedHtml as ex, _resolveFarmMarkdownIndexAlias as ey, applyMarkdownNegotiationHeaders as ez, farmRouteRuleMatches as f, htmlToMarkdown as f0, integrationMiddlewareMayHandlePath as f1, integrationRoute as f2, isFarmIntegration as f3, isFarmIntegrationProviderComponentReference as f4, isFarmMarkdownMirrorExposed as f5, matchIntegrationRoute as f6, matchRegisteredIntegrationRoute as f7, matchesFarmMarkdownRoutePattern as f8, nitroRouteRulesBelowBasePath as f9, type ResolvedFarmLlmsTxtConfig as fA, applyFarmCspNonceToResponse as fB, collectFarmLlmsTxtPages as fC, createFarmAgentRobots as fD, createFarmCspNonce as fE, createFarmDefaultLlmsTxt as fF, createFarmDefaultSitemap as fG, createFarmLlmsFullRenderer as fH, createFarmLlmsMarkdownReader as fI, createFarmMetadataRouteResponse as fJ, hasFarmHtmlPreloadToken as fK, isFarmPageNoIndex as fL, manageFarmDocumentPreloads as fM, manageFarmHtmlPreloads as fN, manageFarmLinkHeaderPreloads as fO, readFarmLlmsMarkdownFrom as fP, renderFarmLlmsFullTxt as fQ, reportFarmPreloadWarnings as fR, resolveFarmAgentCrawlers as fS, resolveFarmAgentOrigin as fT, resolveFarmAgentSitemap as fU, resolveFarmLlmsTxtConfig as fV, resolveFarmSecurityConfig as fW, stampFarmCspNonce as fX, normalizeFarmAPIBasePath as fa, normalizeFarmAPIConfig as fb, normalizeFarmRouteRuntimeConfig as fc, normalizeRouteRules as fd, providerSupportsIslands as fe, requestAcceptsMarkdown as ff, resolveFarmAPIConfig as fg, resolveFarmAPIRequestURL as fh, resolveFarmDevIndicatorsConfig as fi, resolveIntegrationAllowedOrigins as fj, resolveIntegrationOrmRuntimeClient as fk, resolveIntegrationPlugins as fl, resolveMarkdownConfig as fm, resolveMarkdownMirrorTarget as fn, resolveMigrationsConfig as fo, resolveRouteRuleCorsPreflightHeaders as fp, routeRulesToHeaders as fq, routeRulesToNitroRouteRules as fr, routeRulesToRedirects as fs, validateIntegrationRequestOrigin as ft, type FarmLlmsTxtLink as fu, type FarmRegisteredMCPServer as fv, type FarmAgentSitemapUserConfig as fw, type FarmLlmsTxtUserConfig as fx, type ResolvedFarmAgentCrawlers as fy, type ResolvedFarmAgentSitemap as fz, getDeployTargetForPreset as g, resolveFarmRouteRuleRuntimeConfig as h, resolveFarmRouteRuntimeConfig as i, type FarmRouteRuntimeConfig as j, type FarmMdxComponents as k, loadConfig as l, mergeFarmRouteRuntimeConfigs as m, normalizeDeployTarget as n, type FarmMdxResolvedConfig as o, type RouteModule as p, type FarmMarkdownRoutePathname as q, resolveConfig as r, FARM_MARKDOWN_CONTENT_TYPE as s, createFarmMarkdownErrorBody as t, farmRequestWantsMarkdown as u, type FarmMdxComponent as v, type FarmMdxUserConfig as w, resolveFarmMdxComponentsModulePath as x, resolveMdxConfig as y, type RouteSegment as z };
|
|
@@ -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,
|
|
2
|
+
export { F as FarmPlugin, U as FarmPluginContext, as as FarmRequestPluginContext, at as FarmRequestStore } from './client-plugins.d-DnnAopKG.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,
|
|
2
|
+
export { F as FarmPlugin, U as FarmPluginContext, as as FarmRequestPluginContext, at as FarmRequestStore } from './client-plugins.d-CqTr5IrQ.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-BbVdaoA0.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-BbVdaoA0.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, f as FarmNavigationBlocker, F as FarmNavigationBlockerContext, h as FarmNavigationListener, j as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, k as getRouter, n as navigateTo, p as prefetch, l as pushState, r as readPageState, m 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-hNedVdoB.mjs';
|
|
13
|
+
export { c as FarmNavigateOptions, f as FarmNavigationBlocker, F as FarmNavigationBlockerContext, h as FarmNavigationListener, j as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, k as getRouter, n as navigateTo, p as prefetch, l as pushState, r as readPageState, m as replaceState } from './spa-router.d-D3AtR2Bc.mjs';
|
|
14
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-dBNg976E.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';
|
|
@@ -25,7 +25,7 @@ import './router.mjs';
|
|
|
25
25
|
import './types.d-DQnyD3VD.mjs';
|
|
26
26
|
import './types.d-euATAbE4.mjs';
|
|
27
27
|
import './image-attributes.d-BMPDQO1q.mjs';
|
|
28
|
-
import './client-plugins.d-
|
|
28
|
+
import './client-plugins.d-DnnAopKG.mjs';
|
|
29
29
|
import './renderer.mjs';
|
|
30
30
|
import './deployment.mjs';
|
|
31
31
|
import './island.d-CfGru1MO.mjs';
|
|
@@ -55,7 +55,7 @@ import 'rolldown';
|
|
|
55
55
|
import './image-config.d-ByhQ0TT7.mjs';
|
|
56
56
|
import './config.d-BKIhJtmr.mjs';
|
|
57
57
|
import './font.mjs';
|
|
58
|
-
import './render-plan.d-
|
|
58
|
+
import './render-plan.d-vOdZHHLI.mjs';
|
|
59
59
|
|
|
60
60
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
61
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-BZ3YXs70.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-BZ3YXs70.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, f as FarmNavigationBlocker, F as FarmNavigationBlockerContext, h as FarmNavigationListener, j as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, k as getRouter, n as navigateTo, p as prefetch, l as pushState, r as readPageState, m 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-BJVGhSAJ.js';
|
|
13
|
+
export { c as FarmNavigateOptions, f as FarmNavigationBlocker, F as FarmNavigationBlockerContext, h as FarmNavigationListener, j as FarmNavigationLocation, a as FarmNavigationState, b as FarmViewTransitionMode, S as SPARouter, k as getRouter, n as navigateTo, p as prefetch, l as pushState, r as readPageState, m as replaceState } from './spa-router.d-MjT6sGb9.js';
|
|
14
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-Bses_F-y.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';
|
|
@@ -25,7 +25,7 @@ import './router.js';
|
|
|
25
25
|
import './types.d-DQnyD3VD.js';
|
|
26
26
|
import './types.d-euATAbE4.js';
|
|
27
27
|
import './image-attributes.d-BMPDQO1q.js';
|
|
28
|
-
import './client-plugins.d-
|
|
28
|
+
import './client-plugins.d-CqTr5IrQ.js';
|
|
29
29
|
import './renderer.js';
|
|
30
30
|
import './deployment.js';
|
|
31
31
|
import './island.d-CfGru1MO.js';
|
|
@@ -55,7 +55,7 @@ import 'rolldown';
|
|
|
55
55
|
import './image-config.d-ByhQ0TT7.js';
|
|
56
56
|
import './config.d-BKIhJtmr.js';
|
|
57
57
|
import './font.js';
|
|
58
|
-
import './render-plan.d-
|
|
58
|
+
import './render-plan.d-DaIwnRK2.js';
|
|
59
59
|
|
|
60
60
|
type MutationStatus = "idle" | "pending" | "success" | "error";
|
|
61
61
|
type AnyMutationTarget = (...args: any[]) => Promise<any>;
|
package/dist/config.d.mts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/desktop.cjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunk7QGA6UX6cjs = require('./chunk-7QGA6UX6.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
4
7
|
|
|
5
8
|
// src/desktop/index.ts
|
|
@@ -13,4 +16,5 @@ function defineDesktopShell(shell) {
|
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
|
|
20
|
+
exports.FARM_DESKTOP_PERMISSIONS = _chunk7QGA6UX6cjs.FARM_DESKTOP_PERMISSIONS; exports.defineDesktop = defineDesktop; exports.defineDesktopShell = defineDesktopShell;
|
package/dist/desktop.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aM as ResolvedFarmDesktopConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
2
|
+
export { aN as FarmDesktopConfigInput, aO as FarmDesktopContext, aP as FarmDesktopPermissionsConfig, aQ as FarmDesktopUserConfig, aR as FarmDesktopWindowConfig } from './client-plugins.d-DnnAopKG.mjs';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.mjs';
|
|
4
4
|
import './route.d-ShmtqqVQ.mjs';
|
|
5
5
|
import './endpoint.d-BXbBpKoh.mjs';
|
|
@@ -40,9 +40,13 @@ import './config.d-BKIhJtmr.mjs';
|
|
|
40
40
|
import './types.d-DQnyD3VD.mjs';
|
|
41
41
|
import './font.mjs';
|
|
42
42
|
|
|
43
|
+
/** Every key `desktop.permissions` accepts, in the order configs and docs list them. */
|
|
44
|
+
declare const FARM_DESKTOP_PERMISSIONS: readonly ["microphone", "camera", "location", "speechRecognition", "bluetooth", "contacts", "calendars", "reminders", "photos", "music", "motion", "documents", "downloads", "desktop"];
|
|
45
|
+
|
|
43
46
|
/**
|
|
44
47
|
* `@farm.js/core/desktop`: the hook file contract (`src/desktop.ts`) and the interface desktop
|
|
45
|
-
* shell adapters implement. Types and an identity helper
|
|
48
|
+
* shell adapters implement. Types, the permission names and an identity helper; nothing here runs
|
|
49
|
+
* in a web build.
|
|
46
50
|
*/
|
|
47
51
|
|
|
48
52
|
/** The running Farm server, as the shell sees it. */
|
|
@@ -124,4 +128,4 @@ interface DesktopShell {
|
|
|
124
128
|
/** Typed helper for shell adapter packages. */
|
|
125
129
|
declare function defineDesktopShell(shell: DesktopShell): DesktopShell;
|
|
126
130
|
|
|
127
|
-
export { type DesktopArtifacts, type DesktopDevContext, type DesktopDevSession, type DesktopGeneratedFile, type DesktopHooks, type DesktopPackageContext, type DesktopReadyContext, type DesktopServerInfo, type DesktopShell, type DesktopShellContext, ResolvedFarmDesktopConfig, defineDesktop, defineDesktopShell };
|
|
131
|
+
export { type DesktopArtifacts, type DesktopDevContext, type DesktopDevSession, type DesktopGeneratedFile, type DesktopHooks, type DesktopPackageContext, type DesktopReadyContext, type DesktopServerInfo, type DesktopShell, type DesktopShellContext, FARM_DESKTOP_PERMISSIONS, ResolvedFarmDesktopConfig, defineDesktop, defineDesktopShell };
|
package/dist/desktop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aM as ResolvedFarmDesktopConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
2
|
+
export { aN as FarmDesktopConfigInput, aO as FarmDesktopContext, aP as FarmDesktopPermissionsConfig, aQ as FarmDesktopUserConfig, aR as FarmDesktopWindowConfig } from './client-plugins.d-CqTr5IrQ.js';
|
|
3
3
|
import './lifecycle.d-OtGWAvJT.js';
|
|
4
4
|
import './route.d-Cd4Fi6BA.js';
|
|
5
5
|
import './endpoint.d-Dx_1k6Du.js';
|
|
@@ -40,9 +40,13 @@ import './config.d-BKIhJtmr.js';
|
|
|
40
40
|
import './types.d-DQnyD3VD.js';
|
|
41
41
|
import './font.js';
|
|
42
42
|
|
|
43
|
+
/** Every key `desktop.permissions` accepts, in the order configs and docs list them. */
|
|
44
|
+
declare const FARM_DESKTOP_PERMISSIONS: readonly ["microphone", "camera", "location", "speechRecognition", "bluetooth", "contacts", "calendars", "reminders", "photos", "music", "motion", "documents", "downloads", "desktop"];
|
|
45
|
+
|
|
43
46
|
/**
|
|
44
47
|
* `@farm.js/core/desktop`: the hook file contract (`src/desktop.ts`) and the interface desktop
|
|
45
|
-
* shell adapters implement. Types and an identity helper
|
|
48
|
+
* shell adapters implement. Types, the permission names and an identity helper; nothing here runs
|
|
49
|
+
* in a web build.
|
|
46
50
|
*/
|
|
47
51
|
|
|
48
52
|
/** The running Farm server, as the shell sees it. */
|
|
@@ -124,4 +128,4 @@ interface DesktopShell {
|
|
|
124
128
|
/** Typed helper for shell adapter packages. */
|
|
125
129
|
declare function defineDesktopShell(shell: DesktopShell): DesktopShell;
|
|
126
130
|
|
|
127
|
-
export { type DesktopArtifacts, type DesktopDevContext, type DesktopDevSession, type DesktopGeneratedFile, type DesktopHooks, type DesktopPackageContext, type DesktopReadyContext, type DesktopServerInfo, type DesktopShell, type DesktopShellContext, ResolvedFarmDesktopConfig, defineDesktop, defineDesktopShell };
|
|
131
|
+
export { type DesktopArtifacts, type DesktopDevContext, type DesktopDevSession, type DesktopGeneratedFile, type DesktopHooks, type DesktopPackageContext, type DesktopReadyContext, type DesktopServerInfo, type DesktopShell, type DesktopShellContext, FARM_DESKTOP_PERMISSIONS, ResolvedFarmDesktopConfig, defineDesktop, defineDesktopShell };
|
package/dist/desktop.mjs
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FARM_DESKTOP_PERMISSIONS
|
|
3
|
+
} from "./chunk-G7LNCHTS.mjs";
|
|
1
4
|
import "./chunk-6IUWKO2Q.mjs";
|
|
2
5
|
|
|
3
6
|
// src/desktop/index.ts
|
|
@@ -8,6 +11,7 @@ function defineDesktopShell(shell) {
|
|
|
8
11
|
return shell;
|
|
9
12
|
}
|
|
10
13
|
export {
|
|
14
|
+
FARM_DESKTOP_PERMISSIONS,
|
|
11
15
|
defineDesktop,
|
|
12
16
|
defineDesktopShell
|
|
13
17
|
};
|