@farm.js/core 0.1.41 → 0.1.43
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-BOqIxJLI.d.mts → agent-mcp-3KDz4hr9.d.mts} +1 -1
- package/dist/{agent-mcp-D0eZKfci.d.ts → agent-mcp-6yRebHk7.d.ts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +2 -2
- package/dist/api.d.mts +8 -3
- package/dist/api.d.ts +8 -3
- package/dist/api.mjs +1 -1
- package/dist/{app-DM8e1z3G.d.ts → app-8Db1zR-2.d.ts} +8 -4
- package/dist/{app-CzTSMJaf.d.mts → app-DlTWv4cn.d.mts} +8 -4
- package/dist/app-manifest-TRzS7ZZ9.d.mts +120 -0
- package/dist/app-manifest-cO2jkG1F.d.ts +120 -0
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{chunk-ECKF2BAM.cjs → chunk-2GVF3C2F.cjs} +255 -42
- package/dist/chunk-2NXO5SBY.mjs +57 -0
- package/dist/chunk-3BROEWFY.cjs +39 -0
- package/dist/{chunk-ENOBPDKZ.mjs → chunk-4MRQ5OKQ.mjs} +14 -9
- package/dist/{chunk-R65GCA6A.mjs → chunk-4OCEMK72.mjs} +260 -49
- package/dist/{chunk-6PKXK4TY.mjs → chunk-53ZV6K65.mjs} +1 -1
- package/dist/{chunk-LYIZHJTK.cjs → chunk-5LPHJZSI.cjs} +14 -14
- package/dist/chunk-5NIWBWDD.mjs +97 -0
- package/dist/{chunk-NRDBW4MP.mjs → chunk-7IQQIPRZ.mjs} +10 -0
- package/dist/{chunk-FJGIVDA5.mjs → chunk-7SCCY6SI.mjs} +80 -177
- package/dist/chunk-APDGOKKE.cjs +148 -0
- package/dist/chunk-AZBSVLRM.cjs +132 -0
- package/dist/{chunk-PN676AZF.cjs → chunk-BKPXWRTT.cjs} +6 -6
- package/dist/chunk-CEDPEDNW.cjs +98 -0
- package/dist/chunk-D5RFPV2H.mjs +148 -0
- package/dist/{chunk-BYQVROIP.mjs → chunk-DMRPN25V.mjs} +69 -0
- package/dist/{chunk-724JLMS4.mjs → chunk-F646BZ4Y.mjs} +4 -2
- package/dist/{chunk-C5KVWHIH.cjs → chunk-G2Z5DGMS.cjs} +5 -3
- package/dist/{chunk-L6HYACBE.cjs → chunk-GVNCWSQV.cjs} +145 -127
- package/dist/{chunk-24SP5TGU.mjs → chunk-H4LXPWI2.mjs} +2 -2
- package/dist/chunk-H7BLEEAE.cjs +57 -0
- package/dist/{chunk-JOTUZIM4.cjs → chunk-HUMEHX24.cjs} +2 -2
- package/dist/{chunk-BD3D7EZV.cjs → chunk-IXFOBGLQ.cjs} +9 -3
- package/dist/{chunk-3TB5QGUW.cjs → chunk-JAXDRRRC.cjs} +70 -1
- package/dist/{chunk-32TZ3QTP.cjs → chunk-JDJAPCR2.cjs} +421 -210
- package/dist/{chunk-MHN4UR5U.cjs → chunk-KFZZFZ7J.cjs} +7 -7
- package/dist/chunk-LRJRXXQZ.cjs +109 -0
- package/dist/{chunk-EX4MKHXN.cjs → chunk-LVABUXLA.cjs} +22 -17
- package/dist/{chunk-HCSVR4YZ.mjs → chunk-M3BXTWJM.mjs} +18 -0
- package/dist/{chunk-PYHPXPSW.mjs → chunk-NXO75WY4.mjs} +1 -1
- package/dist/{chunk-BGGWKZ2V.mjs → chunk-OYSGGV6O.mjs} +137 -167
- package/dist/{chunk-JR4QCLJY.cjs → chunk-PDU4P2IC.cjs} +19 -1
- package/dist/chunk-PJEHUSHA.mjs +229 -0
- package/dist/chunk-QGH2RQVF.mjs +132 -0
- package/dist/{chunk-YWMZUGIS.mjs → chunk-R3ZFQJEF.mjs} +247 -34
- package/dist/{chunk-ROQ4C4LJ.cjs → chunk-RACQTC7K.cjs} +274 -371
- package/dist/{chunk-WSOBCAYO.cjs → chunk-RQYTOFQM.cjs} +23 -23
- package/dist/chunk-S34OBRMZ.mjs +109 -0
- package/dist/{chunk-TS4JHGUJ.mjs → chunk-S3ZEMCE6.mjs} +9 -3
- package/dist/{chunk-WWFTAUFG.cjs → chunk-SBH2JLLF.cjs} +12 -2
- package/dist/{chunk-YSLWRWWP.cjs → chunk-SKK6UF5P.cjs} +200 -46
- package/dist/chunk-T7J7E63D.cjs +144 -0
- package/dist/{chunk-SVPGWJZF.mjs → chunk-TESO7EFU.mjs} +125 -107
- package/dist/{chunk-OQ4YXWH4.cjs → chunk-VIVQERJ5.cjs} +320 -351
- package/dist/{chunk-JIYYX7WU.mjs → chunk-VLXNGUKO.mjs} +1 -1
- package/dist/{chunk-OFZUJMCU.mjs → chunk-WPJQN64R.mjs} +195 -41
- package/dist/chunk-XARSG2TG.mjs +144 -0
- package/dist/chunk-XUGFRFD2.mjs +39 -0
- package/dist/{chunk-EH3464KF.cjs → chunk-YBDSTNMH.cjs} +1 -1
- package/dist/{chunk-VLPII2JJ.mjs → chunk-YGZH4T2X.mjs} +1 -1
- package/dist/chunk-YKUEJ3MG.cjs +229 -0
- package/dist/{chunk-4C7KTKX7.mjs → chunk-ZYWJIPKQ.mjs} +1 -1
- package/dist/{client-plugins-CkYwvDJ0.d.mts → client-plugins-Cv0OJtnM.d.mts} +98 -7
- package/dist/{client-plugins-DfeKd0sD.d.ts → client-plugins-kwQuZcWq.d.ts} +98 -7
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +4 -3
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/client.mjs +3 -2
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-N3QLRIQU.mjs → devtools-M22FEFPK.mjs} +4 -4
- package/dist/{devtools-2YHAJYH6.cjs → devtools-MLB3JJMC.cjs} +5 -5
- package/dist/docs.cjs +6 -6
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +5 -5
- package/dist/index-CQOp8EmB.d.mts +48 -0
- package/dist/index-DAl0QTZS.d.ts +48 -0
- package/dist/index.cjs +41 -24
- package/dist/index.d.mts +15 -14
- package/dist/index.d.ts +15 -14
- package/dist/index.mjs +46 -29
- 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 +29 -15
- package/dist/internal/build-runtime.d.mts +12 -16
- package/dist/internal/build-runtime.d.ts +12 -16
- package/dist/internal/build-runtime.mjs +28 -14
- package/dist/internal/cli-runtime.cjs +23 -11
- package/dist/internal/cli-runtime.mjs +23 -11
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +5 -1
- package/dist/internal/client-runtime.d.mts +1 -0
- package/dist/internal/client-runtime.d.ts +1 -0
- package/dist/internal/client-runtime.mjs +4 -0
- 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 -5
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +4 -4
- package/dist/internal/form-actions-client.cjs +18 -0
- package/dist/internal/form-actions-client.d.mts +5 -0
- package/dist/internal/form-actions-client.d.ts +5 -0
- package/dist/internal/form-actions-client.mjs +18 -0
- package/dist/internal/form-actions.cjs +18 -0
- package/dist/internal/form-actions.d.mts +14 -0
- package/dist/internal/form-actions.d.ts +14 -0
- package/dist/internal/form-actions.mjs +18 -0
- package/dist/internal/island-codec.cjs +22 -0
- package/dist/internal/island-codec.d.mts +29 -0
- package/dist/internal/island-codec.d.ts +29 -0
- package/dist/internal/island-codec.mjs +22 -0
- package/dist/internal/island-value-store.cjs +13 -0
- package/dist/internal/island-value-store.d.mts +6 -0
- package/dist/internal/island-value-store.d.ts +6 -0
- package/dist/internal/island-value-store.mjs +13 -0
- package/dist/internal/islands-runtime.cjs +77 -0
- package/dist/internal/islands-runtime.d.mts +57 -0
- package/dist/internal/islands-runtime.d.ts +57 -0
- package/dist/internal/islands-runtime.mjs +77 -0
- package/dist/internal/islands-server.cjs +19 -0
- package/dist/internal/islands-server.d.mts +3 -0
- package/dist/internal/islands-server.d.ts +3 -0
- package/dist/internal/islands-server.mjs +19 -0
- package/dist/internal/islx-client.cjs +5 -0
- package/dist/internal/islx-client.d.mts +2 -0
- package/dist/internal/islx-client.d.ts +2 -0
- package/dist/internal/islx-client.mjs +3 -0
- package/dist/internal/islx-react.cjs +4 -0
- package/dist/internal/islx-react.d.mts +1 -0
- package/dist/internal/islx-react.d.ts +1 -0
- package/dist/internal/islx-react.mjs +2 -0
- package/dist/internal/islx-server.cjs +5 -0
- package/dist/internal/islx-server.d.mts +2 -0
- package/dist/internal/islx-server.d.ts +2 -0
- package/dist/internal/islx-server.mjs +3 -0
- package/dist/internal/isolated-boundary.cjs +4 -3
- package/dist/internal/isolated-boundary.d.mts +13 -1
- package/dist/internal/isolated-boundary.d.ts +13 -1
- package/dist/internal/isolated-boundary.mjs +3 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +24 -7
- package/dist/internal/production-runtime.d.mts +20 -127
- package/dist/internal/production-runtime.d.ts +20 -127
- package/dist/internal/production-runtime.mjs +24 -7
- package/dist/internal/server-tree.cjs +6 -3
- package/dist/internal/server-tree.d.mts +25 -2
- package/dist/internal/server-tree.d.ts +25 -2
- package/dist/internal/server-tree.mjs +7 -4
- package/dist/island-value-protocol-BRayRghM.d.mts +12 -0
- package/dist/island-value-protocol-BRayRghM.d.ts +12 -0
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +3 -3
- package/dist/middleware.d.ts +3 -3
- package/dist/navigation.cjs +5 -4
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +4 -3
- package/dist/og.d.mts +5 -0
- package/dist/og.d.ts +5 -0
- package/dist/plugin.cjs +18 -12
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +17 -11
- package/dist/{production-runtime-DFC7pgbp.d.ts → production-runtime-5nArjFpn.d.ts} +1 -1
- package/dist/{production-runtime-BTkXQdYy.d.mts → production-runtime-BzsF2z5F.d.mts} +1 -1
- package/dist/query/client.cjs +6 -5
- package/dist/query/client.mjs +2 -1
- package/dist/{render-plan-5rFeWmk7.d.mts → render-plan-B9yQorV4.d.mts} +4 -2
- package/dist/{render-plan-BoAK9xFC.d.ts → render-plan-fg6E_HvL.d.ts} +4 -2
- package/dist/renderer/react/server.cjs +7 -6
- package/dist/renderer/react/server.d.mts +3 -1
- package/dist/renderer/react/server.d.ts +3 -1
- package/dist/renderer/react/server.mjs +5 -4
- package/dist/renderer-client.cjs +5 -4
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer-client.mjs +2 -1
- package/dist/renderer.d.mts +3 -1
- package/dist/renderer.d.ts +3 -1
- package/dist/{request-BxBWigtl.d.mts → request-C4j_g-BH.d.mts} +1 -1
- package/dist/{request-fciwmd3n.d.ts → request-gz8vFK0n.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering-BLZT0IP0.d.ts → route-rendering-DamyKVi3.d.ts} +1 -1
- package/dist/{route-rendering-BCM1QzEf.d.mts → route-rendering-iTTOwz1f.d.mts} +1 -1
- package/dist/{router-DyZJWc1_.d.mts → router-EoSzHlos.d.mts} +1 -1
- package/dist/{router-CkheNX3-.d.ts → router-OVjDqVo8.d.ts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/rsc-pipeline-LK4K5JFK.mjs +77 -0
- package/dist/rsc-pipeline-YCDRJME4.cjs +77 -0
- package/dist/{runtime-DfU4sKa5.d.ts → runtime-CwiuozLd.d.ts} +1 -1
- package/dist/{runtime-wexvUN5J.d.mts → runtime-DDH4tiuF.d.mts} +1 -1
- package/dist/{schema-dev-notice-5JPE67AI.cjs → schema-dev-notice-77ZL23PL.cjs} +4 -4
- package/dist/{schema-dev-notice-WLPZ6WKU.mjs → schema-dev-notice-BLXOS6U2.mjs} +2 -2
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server.cjs +56 -38
- package/dist/server.d.mts +15 -10
- package/dist/server.d.ts +15 -10
- package/dist/server.mjs +36 -18
- package/dist/{spa-router-DgsMXqfX.d.mts → spa-router-Br4qFCWf.d.mts} +8 -3
- package/dist/{spa-router-CcejECnG.d.ts → spa-router-BsWUKH73.d.ts} +8 -3
- package/dist/{ssg-1FGaFISl.d.ts → ssg-Csy2vwpi.d.ts} +2 -2
- package/dist/{ssg-Bg4bMMhM.d.mts → ssg-Donyfcxy.d.mts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{utils-Dxbh6Hgj.d.ts → utils-Luk72LXC.d.ts} +1 -1
- package/dist/{utils-8wtTYiH4.d.mts → utils-d_k1ZZw0.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +18 -12
- package/dist/vite.d.mts +6 -4
- package/dist/vite.d.ts +6 -4
- package/dist/vite.mjs +17 -11
- package/package.json +53 -1
- package/dist/{chunk-35WS7P2V.mjs → chunk-26CXZR6L.mjs} +3 -3
- package/dist/{chunk-QEILRWVV.cjs → chunk-3XEMGDBF.cjs} +2 -2
- package/dist/{chunk-BPOTSHDO.cjs → chunk-IOAUK4OI.cjs} +2 -2
- package/dist/{chunk-BYR3RQPB.mjs → chunk-T76H22WI.mjs} +4 -4
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2GVF3C2Fcjs = require('../../chunk-2GVF3C2F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../../chunk-
|
|
7
|
+
var _chunkSKK6UF5Pcjs = require('../../chunk-SKK6UF5P.cjs');
|
|
8
|
+
require('../../chunk-SBH2JLLF.cjs');
|
|
9
|
+
require('../../chunk-H7BLEEAE.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
var _chunkS3JO3N4Hcjs = require('../../chunk-S3JO3N4H.cjs');
|
|
@@ -46,9 +47,9 @@ var Fragment = _react2.default.Fragment;
|
|
|
46
47
|
var Suspense = _react2.default.Suspense;
|
|
47
48
|
var createElement = _react2.default.createElement;
|
|
48
49
|
var isValidElement = _react2.default.isValidElement;
|
|
49
|
-
var wrapClientGraph = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element) =>
|
|
50
|
-
var isolateServerPageGraph = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element) =>
|
|
51
|
-
var renderServerTreePage = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element) =>
|
|
50
|
+
var wrapClientGraph = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element) => _chunk2GVF3C2Fcjs.wrapFarmIsolatedClientGraph.call(void 0, _react2.default, element), "wrapClientGraph");
|
|
51
|
+
var isolateServerPageGraph = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element) => _chunk2GVF3C2Fcjs.isolateFarmServerPageGraph.call(void 0, _react2.default, element), "isolateServerPageGraph");
|
|
52
|
+
var renderServerTreePage = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, (element, options = {}) => _chunkSKK6UF5Pcjs.renderFarmServerTreePage.call(void 0, _react2.default, element, { isolate: isolateServerPageGraph, ...options }), "renderServerTreePage");
|
|
52
53
|
var renderToString = _server.renderToString;
|
|
53
54
|
var renderToPipeableStream = _server.renderToPipeableStream;
|
|
54
55
|
var server_default = _react2.default;
|
|
@@ -32,7 +32,9 @@ declare const createElement: typeof React__default.createElement;
|
|
|
32
32
|
declare const isValidElement: typeof React__default.isValidElement;
|
|
33
33
|
declare const wrapClientGraph: (element: React__default.ReactNode) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>;
|
|
34
34
|
declare const isolateServerPageGraph: (element: React__default.ReactNode) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>;
|
|
35
|
-
declare const renderServerTreePage: (element: React__default.ReactNode
|
|
35
|
+
declare const renderServerTreePage: (element: React__default.ReactNode, options?: {
|
|
36
|
+
values?: boolean;
|
|
37
|
+
}) => Promise<React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>>;
|
|
36
38
|
declare const renderToString: typeof renderToString$1;
|
|
37
39
|
declare const renderToPipeableStream: typeof renderToPipeableStream$1;
|
|
38
40
|
|
|
@@ -32,7 +32,9 @@ declare const createElement: typeof React__default.createElement;
|
|
|
32
32
|
declare const isValidElement: typeof React__default.isValidElement;
|
|
33
33
|
declare const wrapClientGraph: (element: React__default.ReactNode) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>;
|
|
34
34
|
declare const isolateServerPageGraph: (element: React__default.ReactNode) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>;
|
|
35
|
-
declare const renderServerTreePage: (element: React__default.ReactNode
|
|
35
|
+
declare const renderServerTreePage: (element: React__default.ReactNode, options?: {
|
|
36
|
+
values?: boolean;
|
|
37
|
+
}) => Promise<React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>>;
|
|
36
38
|
declare const renderToString: typeof renderToString$1;
|
|
37
39
|
declare const renderToPipeableStream: typeof renderToPipeableStream$1;
|
|
38
40
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isolateFarmServerPageGraph,
|
|
3
3
|
wrapFarmIsolatedClientGraph
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-R3ZFQJEF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
renderFarmServerTreePage
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-WPJQN64R.mjs";
|
|
8
|
+
import "../../chunk-7IQQIPRZ.mjs";
|
|
9
|
+
import "../../chunk-2NXO5SBY.mjs";
|
|
9
10
|
import {
|
|
10
11
|
__name
|
|
11
12
|
} from "../../chunk-LPEX4YW6.mjs";
|
|
@@ -48,7 +49,7 @@ var createElement = React.createElement;
|
|
|
48
49
|
var isValidElement = React.isValidElement;
|
|
49
50
|
var wrapClientGraph = /* @__PURE__ */ __name((element) => wrapFarmIsolatedClientGraph(React, element), "wrapClientGraph");
|
|
50
51
|
var isolateServerPageGraph = /* @__PURE__ */ __name((element) => isolateFarmServerPageGraph(React, element), "isolateServerPageGraph");
|
|
51
|
-
var renderServerTreePage = /* @__PURE__ */ __name((element) => renderFarmServerTreePage(React, element, { isolate: isolateServerPageGraph }), "renderServerTreePage");
|
|
52
|
+
var renderServerTreePage = /* @__PURE__ */ __name((element, options = {}) => renderFarmServerTreePage(React, element, { isolate: isolateServerPageGraph, ...options }), "renderServerTreePage");
|
|
52
53
|
var renderToString = reactRenderToString;
|
|
53
54
|
var renderToPipeableStream = reactRenderToPipeableStream;
|
|
54
55
|
var server_default = React;
|
package/dist/renderer-client.cjs
CHANGED
|
@@ -22,7 +22,7 @@ require('./chunk-PCOTGFSM.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkIXFOBGLQcjs = require('./chunk-IXFOBGLQ.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -39,6 +39,7 @@ require('./chunk-SK35NQKK.cjs');
|
|
|
39
39
|
var _chunkQCVE2OCIcjs = require('./chunk-QCVE2OCI.cjs');
|
|
40
40
|
require('./chunk-AI7QMY7O.cjs');
|
|
41
41
|
require('./chunk-LZESP4IR.cjs');
|
|
42
|
+
require('./chunk-H7BLEEAE.cjs');
|
|
42
43
|
require('./chunk-R5JIFR6B.cjs');
|
|
43
44
|
require('./chunk-C5GUTBZK.cjs');
|
|
44
45
|
require('./chunk-QBK2AA4U.cjs');
|
|
@@ -64,7 +65,7 @@ var _chunkS3JO3N4Hcjs = require('./chunk-S3JO3N4H.cjs');
|
|
|
64
65
|
function createRendererRouter(options = {}) {
|
|
65
66
|
const basePath = options.basePath === void 0 ? _chunkI57LW5VZcjs.getFarmBasePath.call(void 0, ) : _chunkI57LW5VZcjs.normalizeFarmBasePath.call(void 0, options.basePath);
|
|
66
67
|
const matcher = _optionalChain([options, 'access', _ => _.routes, 'optionalAccess', _2 => _2.length]) ? _chunkSU7MH53Pcjs.createFarmRouter.call(void 0, [...options.routes]) : null;
|
|
67
|
-
const router =
|
|
68
|
+
const router = _chunkIXFOBGLQcjs.getRouter.call(void 0, );
|
|
68
69
|
let snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
69
70
|
const read = /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => {
|
|
70
71
|
snapshot = readRendererRouterSnapshot(basePath, matcher, router.getNavigationState());
|
|
@@ -80,7 +81,7 @@ function createRendererRouter(options = {}) {
|
|
|
80
81
|
listener();
|
|
81
82
|
}, "notify");
|
|
82
83
|
const unsubscribeNavigation = router.subscribeNavigation(notify);
|
|
83
|
-
const unsubscribeHistory =
|
|
84
|
+
const unsubscribeHistory = _chunkIXFOBGLQcjs.subscribeHistoryChange.call(void 0, notify);
|
|
84
85
|
read();
|
|
85
86
|
return () => {
|
|
86
87
|
unsubscribeNavigation();
|
|
@@ -316,7 +317,7 @@ function readRendererRouterSnapshot(basePath, matcher, navigation) {
|
|
|
316
317
|
pathname,
|
|
317
318
|
searchParams: url.searchParams,
|
|
318
319
|
params: _optionalChain([matcher, 'optionalAccess', _20 => _20.match, 'call', _21 => _21(routePathname), 'optionalAccess', _22 => _22.params]) || {},
|
|
319
|
-
pageState:
|
|
320
|
+
pageState: _chunkIXFOBGLQcjs.readPageState.call(void 0, ),
|
|
320
321
|
navigation
|
|
321
322
|
};
|
|
322
323
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-Br4qFCWf.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-aP52iuL5.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.mjs';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.mjs';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-Cv0OJtnM.mjs';
|
|
10
10
|
import './lifecycle-DK06VuKP.mjs';
|
|
11
11
|
import './integration-api-DWyMmvrR.mjs';
|
|
12
12
|
import './endpoint-DGZRZHux.mjs';
|
|
@@ -36,7 +36,7 @@ import 'rolldown';
|
|
|
36
36
|
import './image-config-BpH1q5R8.mjs';
|
|
37
37
|
import './font.mjs';
|
|
38
38
|
import './island-CfGru1MO.mjs';
|
|
39
|
-
import './render-plan-
|
|
39
|
+
import './render-plan-B9yQorV4.mjs';
|
|
40
40
|
|
|
41
41
|
interface FarmClientStore<TSnapshot> {
|
|
42
42
|
getSnapshot(): TSnapshot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-BsWUKH73.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-DXRNhX_3.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.js';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.js';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-kwQuZcWq.js';
|
|
10
10
|
import './lifecycle-DK06VuKP.js';
|
|
11
11
|
import './integration-api-BuPHMeKz.js';
|
|
12
12
|
import './endpoint-BOE0IAaG.js';
|
|
@@ -36,7 +36,7 @@ import 'rolldown';
|
|
|
36
36
|
import './image-config-BpH1q5R8.js';
|
|
37
37
|
import './font.js';
|
|
38
38
|
import './island-CfGru1MO.js';
|
|
39
|
-
import './render-plan-
|
|
39
|
+
import './render-plan-fg6E_HvL.js';
|
|
40
40
|
|
|
41
41
|
interface FarmClientStore<TSnapshot> {
|
|
42
42
|
getSnapshot(): TSnapshot;
|
package/dist/renderer-client.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getRouter,
|
|
23
23
|
readPageState,
|
|
24
24
|
subscribeHistoryChange
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-S3ZEMCE6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getFarmI18nClientState,
|
|
28
28
|
subscribeFarmI18n
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-GCXWJJKH.mjs";
|
|
40
40
|
import "./chunk-JM5XPKWH.mjs";
|
|
41
41
|
import "./chunk-73WX6PRY.mjs";
|
|
42
|
+
import "./chunk-2NXO5SBY.mjs";
|
|
42
43
|
import "./chunk-SKNL7VA2.mjs";
|
|
43
44
|
import "./chunk-2A3EQHXX.mjs";
|
|
44
45
|
import "./chunk-JNZ4TDWM.mjs";
|
package/dist/renderer.d.mts
CHANGED
|
@@ -184,7 +184,9 @@ interface FarmServerRendererRuntime {
|
|
|
184
184
|
/** Lets a server-only page under a route-owned client tree render its own isolated islands. */
|
|
185
185
|
isolateServerPageGraph?(element: unknown): unknown;
|
|
186
186
|
/** Resolves an async page below a hydrating layout into a tree the browser rebuilds there. */
|
|
187
|
-
renderServerTreePage?(element: unknown
|
|
187
|
+
renderServerTreePage?(element: unknown, options?: {
|
|
188
|
+
values?: boolean;
|
|
189
|
+
}): Promise<unknown>;
|
|
188
190
|
/**
|
|
189
191
|
* Optional: tag a plain function component so a renderer that compiles its
|
|
190
192
|
* own components can tell the two apart. Renderers without the hook treat
|
package/dist/renderer.d.ts
CHANGED
|
@@ -184,7 +184,9 @@ interface FarmServerRendererRuntime {
|
|
|
184
184
|
/** Lets a server-only page under a route-owned client tree render its own isolated islands. */
|
|
185
185
|
isolateServerPageGraph?(element: unknown): unknown;
|
|
186
186
|
/** Resolves an async page below a hydrating layout into a tree the browser rebuilds there. */
|
|
187
|
-
renderServerTreePage?(element: unknown
|
|
187
|
+
renderServerTreePage?(element: unknown, options?: {
|
|
188
|
+
values?: boolean;
|
|
189
|
+
}): Promise<unknown>;
|
|
188
190
|
/**
|
|
189
191
|
* Optional: tag a plain function component so a renderer that compiles its
|
|
190
192
|
* own components can tell the two apart. Renderers without the hook treat
|
package/dist/request.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-C4j_g-BH.mjs';
|
|
2
|
+
import './client-plugins-Cv0OJtnM.mjs';
|
|
3
3
|
import './lifecycle-DK06VuKP.mjs';
|
|
4
4
|
import './integration-api-DWyMmvrR.mjs';
|
|
5
5
|
import './endpoint-DGZRZHux.mjs';
|
package/dist/request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-gz8vFK0n.js';
|
|
2
|
+
import './client-plugins-kwQuZcWq.js';
|
|
3
3
|
import './lifecycle-DK06VuKP.js';
|
|
4
4
|
import './integration-api-BuPHMeKz.js';
|
|
5
5
|
import './endpoint-BOE0IAaG.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-Br4qFCWf.mjs';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.js';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-BsWUKH73.js';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
package/dist/routes.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-Cv0OJtnM.mjs';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
package/dist/routes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-kwQuZcWq.js';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildFarmRsc,
|
|
3
|
+
createFarmRscDevServer,
|
|
4
|
+
createFarmRscViteConfig
|
|
5
|
+
} from "./chunk-XARSG2TG.mjs";
|
|
6
|
+
import {
|
|
7
|
+
FARM_RSC_PACKAGES,
|
|
8
|
+
farmAppUsesRscPipeline,
|
|
9
|
+
farmConfigUsesServerComponents,
|
|
10
|
+
inspectFarmServerComponents
|
|
11
|
+
} from "./chunk-QGH2RQVF.mjs";
|
|
12
|
+
import "./chunk-4MRQ5OKQ.mjs";
|
|
13
|
+
import "./chunk-XZNTNMHT.mjs";
|
|
14
|
+
import "./chunk-5NIWBWDD.mjs";
|
|
15
|
+
import "./chunk-S34OBRMZ.mjs";
|
|
16
|
+
import "./chunk-M3BXTWJM.mjs";
|
|
17
|
+
import "./chunk-CZS6OACQ.mjs";
|
|
18
|
+
import "./chunk-JBSVKMC5.mjs";
|
|
19
|
+
import "./chunk-GHFS7RUB.mjs";
|
|
20
|
+
import "./chunk-DAATZTKJ.mjs";
|
|
21
|
+
import "./chunk-DMRPN25V.mjs";
|
|
22
|
+
import "./chunk-ETPEZLS3.mjs";
|
|
23
|
+
import "./chunk-7UEEHAW7.mjs";
|
|
24
|
+
import "./chunk-BUGNQIHC.mjs";
|
|
25
|
+
import "./chunk-G2KY33I6.mjs";
|
|
26
|
+
import "./chunk-YHOCRI4H.mjs";
|
|
27
|
+
import "./chunk-WMHG64DA.mjs";
|
|
28
|
+
import "./chunk-4OOBRCJX.mjs";
|
|
29
|
+
import "./chunk-FA2W42OV.mjs";
|
|
30
|
+
import "./chunk-I6UVKUYK.mjs";
|
|
31
|
+
import "./chunk-KYN5ODF6.mjs";
|
|
32
|
+
import "./chunk-SFGWNC43.mjs";
|
|
33
|
+
import "./chunk-BPNRQ5BA.mjs";
|
|
34
|
+
import "./chunk-2UC36WAC.mjs";
|
|
35
|
+
import "./chunk-ONUEYC6N.mjs";
|
|
36
|
+
import "./chunk-AELACLOB.mjs";
|
|
37
|
+
import "./chunk-AX7S67YV.mjs";
|
|
38
|
+
import "./chunk-H3EGVQE5.mjs";
|
|
39
|
+
import "./chunk-44SYJEG3.mjs";
|
|
40
|
+
import "./chunk-HKFBMHCD.mjs";
|
|
41
|
+
import "./chunk-YOZYCI6Z.mjs";
|
|
42
|
+
import "./chunk-ZLAT2CWY.mjs";
|
|
43
|
+
import "./chunk-2J7W2WND.mjs";
|
|
44
|
+
import "./chunk-MGMF4VP7.mjs";
|
|
45
|
+
import "./chunk-FP2INE7H.mjs";
|
|
46
|
+
import "./chunk-BCMSYSN2.mjs";
|
|
47
|
+
import "./chunk-KI3MESHB.mjs";
|
|
48
|
+
import "./chunk-QVKYGNVM.mjs";
|
|
49
|
+
import "./chunk-4GP3XZ4Z.mjs";
|
|
50
|
+
import "./chunk-Z2RZJZIZ.mjs";
|
|
51
|
+
import "./chunk-BTHHUD7Q.mjs";
|
|
52
|
+
import "./chunk-ZZGQD7A4.mjs";
|
|
53
|
+
import "./chunk-P7XDC7UJ.mjs";
|
|
54
|
+
import "./chunk-JPLUGGRV.mjs";
|
|
55
|
+
import "./chunk-O7BH5O46.mjs";
|
|
56
|
+
import "./chunk-7LTCDQRS.mjs";
|
|
57
|
+
import "./chunk-SKNL7VA2.mjs";
|
|
58
|
+
import "./chunk-2A3EQHXX.mjs";
|
|
59
|
+
import "./chunk-4SIYUGRY.mjs";
|
|
60
|
+
import "./chunk-SAXPH6G5.mjs";
|
|
61
|
+
import "./chunk-Z3HATSKO.mjs";
|
|
62
|
+
import "./chunk-CBBLJMR5.mjs";
|
|
63
|
+
import "./chunk-CQ6OSQ3K.mjs";
|
|
64
|
+
import "./chunk-6LVRDOAW.mjs";
|
|
65
|
+
import "./chunk-L3KT7IXV.mjs";
|
|
66
|
+
import "./chunk-4RB44K6Z.mjs";
|
|
67
|
+
import "./chunk-55YI3RRB.mjs";
|
|
68
|
+
import "./chunk-LPEX4YW6.mjs";
|
|
69
|
+
export {
|
|
70
|
+
FARM_RSC_PACKAGES,
|
|
71
|
+
buildFarmRsc,
|
|
72
|
+
createFarmRscDevServer,
|
|
73
|
+
createFarmRscViteConfig,
|
|
74
|
+
farmAppUsesRscPipeline,
|
|
75
|
+
farmConfigUsesServerComponents,
|
|
76
|
+
inspectFarmServerComponents
|
|
77
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkT7J7E63Dcjs = require('./chunk-T7J7E63D.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkAZBSVLRMcjs = require('./chunk-AZBSVLRM.cjs');
|
|
12
|
+
require('./chunk-LVABUXLA.cjs');
|
|
13
|
+
require('./chunk-KR6CKSXT.cjs');
|
|
14
|
+
require('./chunk-CEDPEDNW.cjs');
|
|
15
|
+
require('./chunk-LRJRXXQZ.cjs');
|
|
16
|
+
require('./chunk-PDU4P2IC.cjs');
|
|
17
|
+
require('./chunk-FVPXT2JR.cjs');
|
|
18
|
+
require('./chunk-YJRZR7VU.cjs');
|
|
19
|
+
require('./chunk-Q5B3KJBP.cjs');
|
|
20
|
+
require('./chunk-PSV6XKPO.cjs');
|
|
21
|
+
require('./chunk-JAXDRRRC.cjs');
|
|
22
|
+
require('./chunk-D5IHNDHI.cjs');
|
|
23
|
+
require('./chunk-25LPIZSX.cjs');
|
|
24
|
+
require('./chunk-WBKEZXWE.cjs');
|
|
25
|
+
require('./chunk-YFPGHF5F.cjs');
|
|
26
|
+
require('./chunk-6EXBPJ24.cjs');
|
|
27
|
+
require('./chunk-P4TYB4SF.cjs');
|
|
28
|
+
require('./chunk-VEKFLAQM.cjs');
|
|
29
|
+
require('./chunk-OHY2ZWUG.cjs');
|
|
30
|
+
require('./chunk-D4ROBNTK.cjs');
|
|
31
|
+
require('./chunk-X3GMHKO3.cjs');
|
|
32
|
+
require('./chunk-UYIHRDE4.cjs');
|
|
33
|
+
require('./chunk-JEIG3EWE.cjs');
|
|
34
|
+
require('./chunk-JDNHKPTD.cjs');
|
|
35
|
+
require('./chunk-CMGMGHUZ.cjs');
|
|
36
|
+
require('./chunk-OI6CMLWX.cjs');
|
|
37
|
+
require('./chunk-RHGK2JEN.cjs');
|
|
38
|
+
require('./chunk-6QOLZITB.cjs');
|
|
39
|
+
require('./chunk-G643DQCH.cjs');
|
|
40
|
+
require('./chunk-ALPWLT27.cjs');
|
|
41
|
+
require('./chunk-LYLEZIG3.cjs');
|
|
42
|
+
require('./chunk-75RZHGLS.cjs');
|
|
43
|
+
require('./chunk-SOR334EB.cjs');
|
|
44
|
+
require('./chunk-64SBBZDU.cjs');
|
|
45
|
+
require('./chunk-SVRTJOUF.cjs');
|
|
46
|
+
require('./chunk-HLJ6MBUZ.cjs');
|
|
47
|
+
require('./chunk-5QIKR7RR.cjs');
|
|
48
|
+
require('./chunk-QNPEUFHQ.cjs');
|
|
49
|
+
require('./chunk-GS3WR5HX.cjs');
|
|
50
|
+
require('./chunk-UQZ4AYTH.cjs');
|
|
51
|
+
require('./chunk-KNBBQHO2.cjs');
|
|
52
|
+
require('./chunk-5NAVKJCZ.cjs');
|
|
53
|
+
require('./chunk-4TLUFAIP.cjs');
|
|
54
|
+
require('./chunk-NZKJGRB3.cjs');
|
|
55
|
+
require('./chunk-G7HXGLEC.cjs');
|
|
56
|
+
require('./chunk-S3A45T7F.cjs');
|
|
57
|
+
require('./chunk-R5JIFR6B.cjs');
|
|
58
|
+
require('./chunk-C5GUTBZK.cjs');
|
|
59
|
+
require('./chunk-ZEG3OPIB.cjs');
|
|
60
|
+
require('./chunk-DVM4FKZL.cjs');
|
|
61
|
+
require('./chunk-FJ3M4CUX.cjs');
|
|
62
|
+
require('./chunk-OX6O6WVA.cjs');
|
|
63
|
+
require('./chunk-US2QVW3E.cjs');
|
|
64
|
+
require('./chunk-6IZWX6ES.cjs');
|
|
65
|
+
require('./chunk-BIDYX3SL.cjs');
|
|
66
|
+
require('./chunk-I57LW5VZ.cjs');
|
|
67
|
+
require('./chunk-NO3WWW3N.cjs');
|
|
68
|
+
require('./chunk-S3JO3N4H.cjs');
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
exports.FARM_RSC_PACKAGES = _chunkAZBSVLRMcjs.FARM_RSC_PACKAGES; exports.buildFarmRsc = _chunkT7J7E63Dcjs.buildFarmRsc; exports.createFarmRscDevServer = _chunkT7J7E63Dcjs.createFarmRscDevServer; exports.createFarmRscViteConfig = _chunkT7J7E63Dcjs.createFarmRscViteConfig; exports.farmAppUsesRscPipeline = _chunkAZBSVLRMcjs.farmAppUsesRscPipeline; exports.farmConfigUsesServerComponents = _chunkAZBSVLRMcjs.farmConfigUsesServerComponents; exports.inspectFarmServerComponents = _chunkAZBSVLRMcjs.inspectFarmServerComponents;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint-BOE0IAaG.js';
|
|
2
2
|
import { c as PluginRoutesFactory } from './integration-api-BuPHMeKz.js';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.js';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-kwQuZcWq.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint-DGZRZHux.mjs';
|
|
2
2
|
import { c as PluginRoutesFactory } from './integration-api-DWyMmvrR.mjs';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.mjs';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-Cv0OJtnM.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-ZQRCSUSB.cjs');
|
|
4
|
+
var _chunkIOAUK4OIcjs = require('./chunk-IOAUK4OI.cjs');
|
|
6
5
|
require('./chunk-4U5XZDLG.cjs');
|
|
6
|
+
require('./chunk-ZQRCSUSB.cjs');
|
|
7
7
|
require('./chunk-6D24SDKO.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
@@ -19,12 +19,12 @@ var _chunkS3JO3N4Hcjs = require('./chunk-S3JO3N4H.cjs');
|
|
|
19
19
|
async function noticePendingSchemaChanges(config, options = {}) {
|
|
20
20
|
const lines = [];
|
|
21
21
|
try {
|
|
22
|
-
const owners =
|
|
22
|
+
const owners = _chunkIOAUK4OIcjs.findSchemaTableOwners.call(void 0, config);
|
|
23
23
|
const timeoutMs = _nullishCoalesce(options.timeoutMs, () => ( 5e3));
|
|
24
24
|
for (const owner of owners) {
|
|
25
25
|
try {
|
|
26
26
|
const result = await withTimeout(
|
|
27
|
-
|
|
27
|
+
_chunkIOAUK4OIcjs.migrateSchemaTables.call(void 0, owner, { config, log: /* @__PURE__ */ _chunkS3JO3N4Hcjs.__name.call(void 0, () => {
|
|
28
28
|
}, "log") }),
|
|
29
29
|
timeoutMs
|
|
30
30
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findSchemaTableOwners,
|
|
3
3
|
migrateSchemaTables
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-VQGKD7RV.mjs";
|
|
4
|
+
} from "./chunk-T76H22WI.mjs";
|
|
6
5
|
import "./chunk-GC3EM6H4.mjs";
|
|
6
|
+
import "./chunk-VQGKD7RV.mjs";
|
|
7
7
|
import "./chunk-WDMIW6Q6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
logger
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { ct as RedirectConfig, aa as FarmRequest, ab as FarmResponse, f as FarmPluginContext, a as FarmPlugin, cu as HeaderConfig, cv as RewriteConfig } from './client-plugins-Cv0OJtnM.mjs';
|
|
2
|
+
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-Cv0OJtnM.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
5
5
|
import './lifecycle-DK06VuKP.mjs';
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { ct as RedirectConfig, aa as FarmRequest, ab as FarmResponse, f as FarmPluginContext, a as FarmPlugin, cu as HeaderConfig, cv as RewriteConfig } from './client-plugins-kwQuZcWq.js';
|
|
2
|
+
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-kwQuZcWq.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|