@farm.js/core 0.1.51-beta.0 → 0.1.51-beta.2
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-BBMfNpsC.d.ts → agent-mcp.d-CR5Ov83o.d.ts} +1 -1
- package/dist/{agent-mcp-D44ip11f.d.mts → agent-mcp.d-Z5DuwrqW.d.mts} +1 -1
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +13 -13
- package/dist/agent-runtime.d.ts +13 -13
- package/dist/agent-runtime.mjs +2 -2
- package/dist/{analyzer-VKUDHNDF.cjs → analyzer-T76CN3S7.cjs} +70 -21
- package/dist/{analyzer-HOUCQR3K.mjs → analyzer-Z6TNEAET.mjs} +70 -21
- package/dist/api/client.d.mts +4 -4
- package/dist/api/client.d.ts +4 -4
- package/dist/api/route-manager.d.mts +19 -19
- package/dist/api/route-manager.d.ts +19 -19
- package/dist/api/runtime.d.mts +15 -15
- package/dist/api/runtime.d.ts +15 -15
- package/dist/{api-client-CvI5oOBE.d.ts → api-client.d-BWcqZciH.d.ts} +3 -3
- package/dist/{api-client-CFdv-Xgh.d.mts → api-client.d-CeA6tNA6.d.mts} +3 -3
- package/dist/api.cjs +3 -3
- package/dist/api.d.mts +21 -21
- package/dist/api.d.ts +21 -21
- package/dist/api.mjs +2 -2
- package/dist/{app-manifest-LzjoNPeq.d.ts → app-manifest.d-CAHkOBFa.d.mts} +1 -1
- package/dist/{app-manifest-BC6mFn5A.d.mts → app-manifest.d-DiWr_Jfx.d.ts} +1 -1
- package/dist/app-markdown.d.mts +14 -14
- package/dist/app-markdown.d.ts +14 -14
- package/dist/{app-aeD4s_mg.d.mts → app.d-BfgJCsTQ.d.mts} +12 -10
- package/dist/{app-CourU3rQ.d.ts → app.d-DmapqkbV.d.ts} +12 -10
- package/dist/{chunk-AMRK3P6W.mjs → chunk-4SSRBCBR.mjs} +233 -84
- package/dist/{chunk-PDJSL7PL.cjs → chunk-5IONBVJY.cjs} +3 -3
- package/dist/{chunk-IOUOGRDX.cjs → chunk-5N7QAGEA.cjs} +25 -6
- package/dist/{chunk-DGOLAZLV.cjs → chunk-65Y5SIBH.cjs} +1 -1
- package/dist/{chunk-ZF3GX4O7.mjs → chunk-6CYQQQGR.mjs} +1 -1
- package/dist/{chunk-QI5AQMEE.mjs → chunk-72NBDVWQ.mjs} +1 -1
- package/dist/{chunk-I2ZA5SXS.mjs → chunk-74Z5KX4A.mjs} +53 -19
- package/dist/chunk-7FVVQEVL.cjs +541 -0
- package/dist/{chunk-OD6WM3I7.mjs → chunk-AV26KHTG.mjs} +1 -1
- package/dist/chunk-C3BOESDW.mjs +541 -0
- package/dist/{chunk-WAPQWAE6.cjs → chunk-CECUDGXQ.cjs} +9 -8
- package/dist/{chunk-IUQLRTTO.mjs → chunk-CO6UYM2D.mjs} +14 -1
- package/dist/{chunk-JF5CNHHF.mjs → chunk-CTM4SPB3.mjs} +123 -8
- package/dist/{chunk-WVX3BUNJ.mjs → chunk-CZ35L6PL.mjs} +8 -1
- package/dist/{chunk-SO3T6T4I.cjs → chunk-DTU4PX7V.cjs} +408 -259
- package/dist/{chunk-YLNBWUVS.mjs → chunk-E6LTONL4.mjs} +1 -1
- package/dist/{chunk-R5P4KFPM.mjs → chunk-E73PGHSR.mjs} +8 -6
- package/dist/{chunk-4GJJ65RB.mjs → chunk-EIMK7D2D.mjs} +24 -5
- package/dist/{chunk-CY7H5KS4.cjs → chunk-EKJYE4Y7.cjs} +2 -2
- package/dist/{chunk-3HA7PP72.mjs → chunk-FM2UEKS2.mjs} +60 -13
- package/dist/{chunk-VIFPE5RG.cjs → chunk-GNJIYJMS.cjs} +81 -34
- package/dist/{chunk-X5BCMLGP.cjs → chunk-GUJTVM36.cjs} +1 -1
- package/dist/{chunk-XWC5NAHV.mjs → chunk-IBSAYAWB.mjs} +2 -2
- package/dist/{chunk-J22JD5YJ.cjs → chunk-J3LBO2O4.cjs} +9 -7
- package/dist/{chunk-J37KTQIA.cjs → chunk-NK2VWS7P.cjs} +52 -3
- package/dist/{chunk-WSY2JD7O.mjs → chunk-NN3MOPSI.mjs} +1 -1
- package/dist/{chunk-O3MMJPC2.cjs → chunk-NPQLMP7M.cjs} +124 -9
- package/dist/{chunk-QK3HBOTG.cjs → chunk-NXBHYO7S.cjs} +5 -5
- package/dist/{chunk-S5ZA2T2W.mjs → chunk-PMKUU273.mjs} +21 -7
- package/dist/{chunk-75WWOZ5C.mjs → chunk-QOSDWGKT.mjs} +1 -1
- package/dist/{chunk-VO6NLTV4.cjs → chunk-QXPSWMUD.cjs} +3 -3
- package/dist/{chunk-Y7TLL65B.cjs → chunk-UQHIWZZ6.cjs} +11 -4
- package/dist/{chunk-PPDHCRTC.mjs → chunk-VS7EHLLW.mjs} +1 -1
- package/dist/{chunk-F42U3R4F.cjs → chunk-WZW6LEHM.cjs} +55 -41
- package/dist/{chunk-USL2ANCB.cjs → chunk-X2AMN2WV.cjs} +2 -2
- package/dist/{chunk-HHFMECFO.mjs → chunk-Y2G5SJFB.mjs} +2 -1
- package/dist/{chunk-Z5MZDFX4.cjs → chunk-YIHRZBD7.cjs} +14 -1
- package/dist/{chunk-DWW3AMJX.cjs → chunk-YU42A5MA.cjs} +282 -248
- package/dist/{chunk-MMEEXMUQ.cjs → chunk-ZOWNWHK6.cjs} +2 -2
- package/dist/{chunk-C5JXCUKR.mjs → chunk-ZQ5BDNKW.mjs} +51 -2
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/{client-plugins-cqy_dQd0.d.mts → client-plugins.d-Bx3FXpqm.d.mts} +57 -15
- package/dist/{client-plugins-CFBEfVPO.d.ts → client-plugins.d-TiLbS5j4.d.ts} +57 -15
- package/dist/client-plugins.d.mts +13 -13
- package/dist/client-plugins.d.ts +13 -13
- package/dist/client.d.mts +24 -24
- package/dist/client.d.ts +24 -24
- package/dist/{config-CnhyvvmT.d.mts → config.d-iRPI16ku.d.mts} +6 -2
- package/dist/{config-CnhyvvmT.d.ts → config.d-iRPI16ku.d.ts} +6 -2
- package/dist/config.d.mts +13 -13
- package/dist/config.d.ts +13 -13
- package/dist/desktop.d.mts +14 -14
- package/dist/desktop.d.ts +14 -14
- package/dist/{dev-guard-YLO5DE3H.cjs → dev-guard-2UW2KERP.cjs} +2 -2
- package/dist/{dev-guard-4PFQNXQX.mjs → dev-guard-ONNMVQUN.mjs} +1 -1
- package/dist/{devtools-4ZLMD454.cjs → devtools-6XWCZIGO.cjs} +4 -4
- package/dist/{devtools-4MLL3RAL.mjs → devtools-UQLDAOEI.mjs} +3 -3
- package/dist/docs.cjs +8 -6
- package/dist/docs.d.mts +23 -15
- package/dist/docs.d.ts +23 -15
- package/dist/docs.mjs +7 -5
- package/dist/environment/vite.cjs +2 -2
- package/dist/environment/vite.d.mts +1 -1
- package/dist/environment/vite.d.ts +1 -1
- package/dist/environment/vite.mjs +1 -1
- package/dist/{generate-route-types-TF5Wwtvz.d.mts → generate-route-types.d-BL2pq6xC.d.ts} +1 -1
- package/dist/{generate-route-types-DQP0cUzk.d.ts → generate-route-types.d-BoVDU8qX.d.mts} +1 -1
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/image/server.d.mts +1 -1
- package/dist/image/server.d.ts +1 -1
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/index.cjs +20 -17
- package/dist/{index-D3l4tREW.d.ts → index.d-BNNDpql4.d.ts} +2 -2
- package/dist/{index-DPUAPho_.d.mts → index.d-BqcfqJvt.d.mts} +2 -2
- package/dist/{index-BxjN_UDZ.d.ts → index.d-YxJ2AiDF.d.mts} +2 -2
- package/dist/{index-BYkNbeQV.d.mts → index.d-yueUNipJ.d.ts} +2 -2
- package/dist/index.d.mts +42 -42
- package/dist/index.d.ts +42 -42
- package/dist/index.mjs +19 -16
- package/dist/instrumentation.d.mts +2 -2
- package/dist/instrumentation.d.ts +2 -2
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.mts +13 -13
- package/dist/integrations.d.ts +13 -13
- package/dist/integrations.mjs +2 -2
- package/dist/internal/app-markdown-runtime.d.mts +14 -14
- package/dist/internal/app-markdown-runtime.d.ts +14 -14
- package/dist/internal/build-runtime.cjs +16 -15
- package/dist/internal/build-runtime.d.mts +16 -16
- package/dist/internal/build-runtime.d.ts +16 -16
- package/dist/internal/build-runtime.mjs +15 -14
- package/dist/internal/cli-runtime.cjs +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 +21 -21
- package/dist/internal/client-runtime.d.ts +21 -21
- package/dist/internal/compression-runtime.d.mts +13 -13
- package/dist/internal/compression-runtime.d.ts +13 -13
- package/dist/internal/config-runtime.cjs +5 -5
- package/dist/internal/config-runtime.d.mts +29 -92
- package/dist/internal/config-runtime.d.ts +29 -92
- package/dist/internal/config-runtime.mjs +4 -4
- package/dist/internal/form-actions.d.mts +1 -1
- package/dist/internal/form-actions.d.ts +1 -1
- package/dist/internal/infra-analytics-runtime.cjs +5 -5
- package/dist/internal/infra-analytics-runtime.mjs +3 -3
- package/dist/internal/island-value-store.d.mts +1 -1
- package/dist/internal/island-value-store.d.ts +1 -1
- package/dist/internal/islands-runtime.d.mts +1 -1
- package/dist/internal/islands-runtime.d.ts +1 -1
- package/dist/internal/isolated-boundary.d.mts +2 -2
- package/dist/internal/isolated-boundary.d.ts +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +11 -3
- package/dist/internal/production-runtime.d.mts +57 -31
- package/dist/internal/production-runtime.d.ts +57 -31
- package/dist/internal/production-runtime.mjs +10 -2
- package/dist/internal/server-tree.d.mts +1 -1
- package/dist/internal/server-tree.d.ts +1 -1
- package/dist/markdown.d.mts +13 -13
- package/dist/markdown.d.ts +13 -13
- package/dist/middleware.cjs +4 -4
- package/dist/middleware.d.mts +15 -15
- package/dist/middleware.d.ts +15 -15
- package/dist/middleware.mjs +3 -3
- package/dist/mobile.d.mts +7 -7
- package/dist/mobile.d.ts +7 -7
- package/dist/{navigation-delegate-BU4xqdnw.d.ts → navigation-delegate.d-BY1e_Xrh.d.ts} +1 -1
- package/dist/{navigation-delegate-DLhbfEN4.d.mts → navigation-delegate.d-HnDXhlyP.d.mts} +1 -1
- package/dist/navigation.d.mts +17 -17
- package/dist/navigation.d.ts +17 -17
- package/dist/observability.d.mts +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/plugin.cjs +11 -11
- package/dist/plugin.d.mts +17 -17
- package/dist/plugin.d.ts +17 -17
- package/dist/plugin.mjs +10 -10
- package/dist/{production-runtime-DLA4J5WG.d.mts → production-runtime.d-BpJUDzP8.d.mts} +3 -3
- package/dist/{production-runtime-C78A8YgK.d.ts → production-runtime.d-lMjvE9cf.d.ts} +3 -3
- package/dist/{programmatic-routes-client-NpqGBn-i.d.mts → programmatic-routes-client.d-6CGQ3TCk.d.mts} +10 -2
- package/dist/{programmatic-routes-client-CBqkNhBy.d.ts → programmatic-routes-client.d-BlFp5hv4.d.ts} +10 -2
- package/dist/query/client.d.mts +1 -1
- package/dist/query/client.d.ts +1 -1
- package/dist/query/index.d.mts +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/query/server.d.mts +1 -1
- package/dist/query/server.d.ts +1 -1
- package/dist/{render-plan-CrqcBbnV.d.ts → render-plan.d-BH9edqKs.d.mts} +2 -2
- package/dist/{render-plan-C9sWvDTv.d.mts → render-plan.d-DhP0mTHF.d.ts} +2 -2
- package/dist/renderer-client.d.mts +19 -19
- package/dist/renderer-client.d.ts +19 -19
- package/dist/{request-BizeuqD7.d.ts → request.d-BVZrsR1v.d.ts} +1 -1
- package/dist/{request-WwB1-Uim.d.mts → request.d-DJFRdKi8.d.mts} +1 -1
- package/dist/request.d.mts +14 -14
- package/dist/request.d.ts +14 -14
- package/dist/{resolver-CJ-D9nP-.d.ts → resolver.d-BHyZgpa7.d.ts} +1 -1
- package/dist/{resolver-TDyZKgKI.d.mts → resolver.d-JnZKKsc5.d.mts} +1 -1
- package/dist/response.d-BolW0Vx_.d.mts +10 -0
- package/dist/response.d-BolW0Vx_.d.ts +10 -0
- package/dist/{route-rendering-BGhJN64l.d.ts → route-rendering.d-B00JtK_-.d.ts} +1 -1
- package/dist/{route-rendering-S6NFjnx4.d.mts → route-rendering.d-Bpmw7PED.d.mts} +1 -1
- package/dist/{route-2_yXC6gv.d.mts → route.d-BaVH3V0w.d.mts} +1 -1
- package/dist/{route-DFhZj6jN.d.ts → route.d-DBTEqifW.d.ts} +1 -1
- package/dist/{router-BUD_j2EL.d.ts → router.d-Bd1x9XxQ.d.ts} +1 -1
- package/dist/{router-BIheIy9G.d.mts → router.d-e0jQ3jQ-.d.mts} +1 -1
- package/dist/{routes-kEUsXHx3.d.mts → routes.d-Cmv8TgVq.d.mts} +91 -4
- package/dist/{routes-8PT9cl60.d.ts → routes.d-D96Dq9lz.d.ts} +91 -4
- package/dist/routes.d.mts +13 -13
- package/dist/routes.d.ts +13 -13
- package/dist/{rsc-pipeline-JRGUZBYM.cjs → rsc-pipeline-DX4OC5FN.cjs} +6 -6
- package/dist/{rsc-pipeline-OLAVIKI3.mjs → rsc-pipeline-ZQ4CTVEG.mjs} +5 -5
- package/dist/{runtime-OGCHDACZ.mjs → runtime-NPDRDV6R.mjs} +66 -17
- package/dist/{runtime-G23RSLEK.cjs → runtime-NQ3EDSA7.cjs} +75 -26
- package/dist/{runtime-CihDZ2Rn.d.mts → runtime.d-3iJAKptR.d.mts} +2 -2
- package/dist/{runtime-C4CmlOOh.d.ts → runtime.d-BtL3PCL3.d.ts} +2 -2
- package/dist/{runtime-CWP-21hP.d.ts → runtime.d-CgB3IJDq.d.mts} +4 -4
- package/dist/{runtime-CgJwe6H_.d.mts → runtime.d-D-td-RR3.d.ts} +4 -4
- package/dist/server-action-security.d.mts +1 -1
- package/dist/server-action-security.d.ts +1 -1
- package/dist/server-fn-client.d.mts +5 -5
- package/dist/server-fn-client.d.ts +5 -5
- package/dist/server-fn.d.mts +3 -3
- package/dist/server-fn.d.ts +3 -3
- package/dist/server-plugins.d.mts +14 -14
- package/dist/server-plugins.d.ts +14 -14
- package/dist/server-query-client.d.mts +5 -5
- package/dist/server-query-client.d.ts +5 -5
- package/dist/server-query.d.mts +2 -2
- package/dist/server-query.d.ts +2 -2
- package/dist/server.cjs +31 -31
- package/dist/server.d.mts +28 -29
- package/dist/server.d.ts +28 -29
- package/dist/server.mjs +13 -13
- package/dist/session-AAU7RNRO.cjs +23 -0
- package/dist/session-IGEDQ5PY.mjs +23 -0
- package/dist/{spa-router-Kytv4jSB.d.ts → spa-router.d-BWDhS0FK.d.mts} +5 -5
- package/dist/{spa-router-CVOL0Vrq.d.mts → spa-router.d-CO01mVOM.d.ts} +5 -5
- package/dist/storage.d.mts +2 -2
- package/dist/storage.d.ts +2 -2
- package/dist/testing.d.mts +14 -14
- package/dist/testing.d.ts +14 -14
- package/dist/theme/client.d.mts +1 -1
- package/dist/theme/client.d.ts +1 -1
- package/dist/theme/index.d.mts +2 -2
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/runtime.d.mts +1 -1
- package/dist/theme/runtime.d.ts +1 -1
- package/dist/theme/server.d.mts +1 -1
- package/dist/theme/server.d.ts +1 -1
- package/dist/{utils-DbyXlzaj.d.ts → utils.d-B77__yh8.d.ts} +1 -1
- package/dist/{utils-Dsa1HZ7X.d.mts → utils.d-DRDazhCA.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +11 -11
- package/dist/vite.d.mts +20 -19
- package/dist/vite.d.ts +20 -19
- package/dist/vite.mjs +10 -10
- package/dist/workflows.d.mts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/package.json +5 -5
- /package/dist/{base-path-BOUV5ozD.d.mts → base-path.d-BOUV5ozD.d.mts} +0 -0
- /package/dist/{base-path-BOUV5ozD.d.ts → base-path.d-BOUV5ozD.d.ts} +0 -0
- /package/dist/{chunk-recovery-lnQFzcQP.d.mts → chunk-recovery.d-lnQFzcQP.d.mts} +0 -0
- /package/dist/{chunk-recovery-lnQFzcQP.d.ts → chunk-recovery.d-lnQFzcQP.d.ts} +0 -0
- /package/dist/{client-cache-Deoqq-nM.d.ts → client-cache.d-Deoqq-nM.d.ts} +0 -0
- /package/dist/{client-cache-di_Nasxa.d.mts → client-cache.d-di_Nasxa.d.mts} +0 -0
- /package/dist/{endpoint-BgHn0lhl.d.ts → endpoint.d-BgHn0lhl.d.ts} +0 -0
- /package/dist/{endpoint-BkMSCRf6.d.mts → endpoint.d-BkMSCRf6.d.mts} +0 -0
- /package/dist/{image-config-CeDgNyX4.d.mts → image-config.d-CeDgNyX4.d.mts} +0 -0
- /package/dist/{image-config-CeDgNyX4.d.ts → image-config.d-CeDgNyX4.d.ts} +0 -0
- /package/dist/{instrumentation-runtime-CX9Zh-16.d.mts → instrumentation-runtime.d-CX9Zh-16.d.mts} +0 -0
- /package/dist/{instrumentation-runtime-CX9Zh-16.d.ts → instrumentation-runtime.d-CX9Zh-16.d.ts} +0 -0
- /package/dist/{island-value-protocol-BRayRghM.d.mts → island-value-protocol.d-BRayRghM.d.mts} +0 -0
- /package/dist/{island-value-protocol-BRayRghM.d.ts → island-value-protocol.d-BRayRghM.d.ts} +0 -0
- /package/dist/{island-CfGru1MO.d.mts → island.d-CfGru1MO.d.mts} +0 -0
- /package/dist/{island-CfGru1MO.d.ts → island.d-CfGru1MO.d.ts} +0 -0
- /package/dist/{layers-CcS42OGR.d.mts → layers.d-CcS42OGR.d.mts} +0 -0
- /package/dist/{layers-CcS42OGR.d.ts → layers.d-CcS42OGR.d.ts} +0 -0
- /package/dist/{lifecycle-C2aLBOwu.d.mts → lifecycle.d-C2aLBOwu.d.mts} +0 -0
- /package/dist/{lifecycle-C2aLBOwu.d.ts → lifecycle.d-C2aLBOwu.d.ts} +0 -0
- /package/dist/{observability-B2363jB6.d.mts → observability.d-B2363jB6.d.mts} +0 -0
- /package/dist/{observability-B2363jB6.d.ts → observability.d-B2363jB6.d.ts} +0 -0
- /package/dist/{params-BALtrRim.d.ts → params.d-BALtrRim.d.ts} +0 -0
- /package/dist/{params-ry-lxqmy.d.mts → params.d-ry-lxqmy.d.mts} +0 -0
- /package/dist/{production-vite-BQFAlG7n.d.mts → production-vite.d-BQFAlG7n.d.mts} +0 -0
- /package/dist/{production-vite-BQFAlG7n.d.ts → production-vite.d-BQFAlG7n.d.ts} +0 -0
- /package/dist/{route-pattern-CVsVbq5n.d.mts → route-pattern.d-CVsVbq5n.d.mts} +0 -0
- /package/dist/{route-pattern-CVsVbq5n.d.ts → route-pattern.d-CVsVbq5n.d.ts} +0 -0
- /package/dist/{server-client-bridge-DKWDl5NB.d.mts → server-client-bridge.d-DKWDl5NB.d.mts} +0 -0
- /package/dist/{server-client-bridge-DKWDl5NB.d.ts → server-client-bridge.d-DKWDl5NB.d.ts} +0 -0
- /package/dist/{server-fn-error-DrcH9cc1.d.mts → server-fn-error.d-DrcH9cc1.d.mts} +0 -0
- /package/dist/{server-fn-error-DrcH9cc1.d.ts → server-fn-error.d-DrcH9cc1.d.ts} +0 -0
- /package/dist/{server-query-runtime-DXRNhX_3.d.ts → server-query-runtime.d-DXRNhX_3.d.ts} +0 -0
- /package/dist/{server-query-runtime-aP52iuL5.d.mts → server-query-runtime.d-aP52iuL5.d.mts} +0 -0
- /package/dist/{types-BnIqOn9w.d.mts → types.d-BnIqOn9w.d.mts} +0 -0
- /package/dist/{types-BnIqOn9w.d.ts → types.d-BnIqOn9w.d.ts} +0 -0
- /package/dist/{types-C41ePjvP.d.mts → types.d-C41ePjvP.d.mts} +0 -0
- /package/dist/{types-C41ePjvP.d.ts → types.d-C41ePjvP.d.ts} +0 -0
- /package/dist/{types-DQnyD3VD.d.mts → types.d-DQnyD3VD.d.mts} +0 -0
- /package/dist/{types-DQnyD3VD.d.ts → types.d-DQnyD3VD.d.ts} +0 -0
- /package/dist/{workflows-CRMzQZ3k.d.mts → workflows.d-CRMzQZ3k.d.mts} +0 -0
- /package/dist/{workflows-CRMzQZ3k.d.ts → workflows.d-CRMzQZ3k.d.ts} +0 -0
|
@@ -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(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNPQLMP7Mcjs = require('./chunk-NPQLMP7M.cjs');
|
|
5
5
|
require('./chunk-OZC2JPW6.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ require('./chunk-FK25QSVC.cjs');
|
|
|
42
42
|
require('./chunk-WT6RAN2I.cjs');
|
|
43
43
|
require('./chunk-WJFFPXCV.cjs');
|
|
44
44
|
require('./chunk-SHIWRBFI.cjs');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-CECUDGXQ.cjs');
|
|
46
46
|
require('./chunk-DUIP64BF.cjs');
|
|
47
47
|
require('./chunk-PFV2KPDZ.cjs');
|
|
48
48
|
require('./chunk-ZXK2EYQW.cjs');
|
|
@@ -58,7 +58,7 @@ require('./chunk-LNVGXUL3.cjs');
|
|
|
58
58
|
require('./chunk-VQJYGZNX.cjs');
|
|
59
59
|
require('./chunk-SUCDVKUB.cjs');
|
|
60
60
|
require('./chunk-EVIWKPJV.cjs');
|
|
61
|
-
require('./chunk-
|
|
61
|
+
require('./chunk-YIHRZBD7.cjs');
|
|
62
62
|
require('./chunk-LIFUPCXW.cjs');
|
|
63
63
|
require('./chunk-JYT7AN37.cjs');
|
|
64
64
|
require('./chunk-B5BBTPJQ.cjs');
|
|
@@ -241,10 +241,8 @@ function validateFarmMobilePageConfig(value, where, context) {
|
|
|
241
241
|
checkKeys(value, PAGE_KEYS, `${where}: mobile.`);
|
|
242
242
|
checkPresentation(value.presentation, `${where}: mobile`, check);
|
|
243
243
|
checkPrefetch(value.prefetch, `${where}: mobile.`, check);
|
|
244
|
-
if (value.native !== void 0 && value.native !==
|
|
245
|
-
fail(
|
|
246
|
-
`${where}: mobile.native can only be false. A native screen comes from a page.native.tsx next to the page.`
|
|
247
|
-
);
|
|
244
|
+
if (value.native !== void 0 && typeof value.native !== "boolean") {
|
|
245
|
+
fail(`${where}: mobile.native must be true or false.`);
|
|
248
246
|
}
|
|
249
247
|
return value;
|
|
250
248
|
}
|
|
@@ -455,7 +453,15 @@ function resolveFarmMobileBlock(input, context, cache) {
|
|
|
455
453
|
|
|
456
454
|
// src/mobile/report.ts
|
|
457
455
|
function createFarmMobileNativeReport(options) {
|
|
458
|
-
const summary = {
|
|
456
|
+
const summary = {
|
|
457
|
+
routes: 0,
|
|
458
|
+
analyzed: 0,
|
|
459
|
+
port: 0,
|
|
460
|
+
portableNoWin: 0,
|
|
461
|
+
blocked: 0,
|
|
462
|
+
native: 0,
|
|
463
|
+
tiers: { native: 0, "react-native": 0, web: 0 }
|
|
464
|
+
};
|
|
459
465
|
const routes = options.routes.map((route) => {
|
|
460
466
|
const decision = options.screens[route];
|
|
461
467
|
const analyzed = options.analysis[route];
|
|
@@ -463,6 +469,7 @@ function createFarmMobileNativeReport(options) {
|
|
|
463
469
|
if (decision.screen !== "web") summary.native += 1;
|
|
464
470
|
if (analyzed) {
|
|
465
471
|
summary.analyzed += 1;
|
|
472
|
+
summary.tiers[analyzed.tier] += 1;
|
|
466
473
|
if (analyzed.decision === "port") summary.port += 1;
|
|
467
474
|
else if (analyzed.portable) summary.portableNoWin += 1;
|
|
468
475
|
else summary.blocked += 1;
|
|
@@ -489,17 +496,20 @@ function createFarmMobileNativeReport(options) {
|
|
|
489
496
|
function reasonFor(entry) {
|
|
490
497
|
const analysis = entry.analysis;
|
|
491
498
|
if (!analysis) {
|
|
492
|
-
if (entry.source === "page")
|
|
499
|
+
if (entry.source === "page") {
|
|
500
|
+
return `${entry.file}: mobile.native ${entry.requested ? "true" : "false"}`;
|
|
501
|
+
}
|
|
493
502
|
if (entry.source === "file") return entry.file;
|
|
494
503
|
if (entry.source === "config") {
|
|
495
504
|
return entry.file ? `native.routes, ${entry.file}` : "native.routes";
|
|
496
505
|
}
|
|
497
506
|
return "";
|
|
498
507
|
}
|
|
508
|
+
if (analysis.tier === "native") return "renders natively, no JavaScript on the device";
|
|
499
509
|
if (analysis.portable) {
|
|
500
510
|
return analysis.wins.length > 0 ? `portable; ${analysis.wins.join(", ")}` : `portable; no win (${analysis.elements.total} elements)`;
|
|
501
511
|
}
|
|
502
|
-
const [first, ...rest] = analysis.blockers;
|
|
512
|
+
const [first, ...rest] = analysis.nativeBlockers.length ? analysis.nativeBlockers : analysis.blockers;
|
|
503
513
|
const where = first.file ? `${first.file}:${first.line}:${first.column} ` : "";
|
|
504
514
|
return `${where}${first.message}${rest.length > 0 ? ` (+${rest.length} more)` : ""}`;
|
|
505
515
|
}
|
|
@@ -507,12 +517,13 @@ function formatFarmMobileNativeReport(report, options = {}) {
|
|
|
507
517
|
const rows = report.routes.map((entry) => [
|
|
508
518
|
entry.route,
|
|
509
519
|
entry.screen,
|
|
520
|
+
entry.analysis ? entry.analysis.tier : "-",
|
|
510
521
|
entry.analysis ? entry.analysis.decision : "-",
|
|
511
522
|
entry.analysis ? `${entry.analysis.elements.mapped}/${entry.analysis.elements.total}` : "",
|
|
512
523
|
entry.analysis ? `${entry.analysis.portablePercent}%` : "",
|
|
513
524
|
reasonFor(entry)
|
|
514
525
|
]);
|
|
515
|
-
const header = ["route", "screen", "decision", "mapped", "portable", "reason"];
|
|
526
|
+
const header = ["route", "screen", "tier", "decision", "mapped", "portable", "reason"];
|
|
516
527
|
const widths = header.map(
|
|
517
528
|
(title, column) => Math.min(
|
|
518
529
|
column === 0 ? 40 : 12,
|
|
@@ -529,7 +540,8 @@ function formatFarmMobileNativeReport(report, options = {}) {
|
|
|
529
540
|
line(header),
|
|
530
541
|
...rows.map(line),
|
|
531
542
|
"",
|
|
532
|
-
`${summary.routes} routes: ${summary.port} port, ${summary.portableNoWin} portable without a win, ${summary.blocked} blocked, ${summary.native} native from files or config
|
|
543
|
+
`${summary.routes} routes: ${summary.port} port, ${summary.portableNoWin} portable without a win, ${summary.blocked} blocked, ${summary.native} native from files or config`,
|
|
544
|
+
`tiers: ${summary.tiers.native} native, ${summary.tiers["react-native"]} react-native, ${summary.tiers.web} web`
|
|
533
545
|
];
|
|
534
546
|
if (options.stats) {
|
|
535
547
|
const { modules, parsed, cached, ms } = options.stats;
|
|
@@ -604,6 +616,38 @@ function resolveFarmMobileScreens(options) {
|
|
|
604
616
|
screens[route] = { screen: "web", source: "page", file: page.file, ...base };
|
|
605
617
|
continue;
|
|
606
618
|
}
|
|
619
|
+
if (_optionalChain([page, 'optionalAccess', _30 => _30.config, 'access', _31 => _31.native]) === true) {
|
|
620
|
+
if (tier !== void 0 && tier !== "native") {
|
|
621
|
+
warnings.push(`${page.file}: mobile.native true overrides ${where}.${tierKey} "${tier}".`);
|
|
622
|
+
}
|
|
623
|
+
const file2 = _nullishCoalesce(reactFile, () => ( platformFile));
|
|
624
|
+
if (file2) {
|
|
625
|
+
screens[route] = {
|
|
626
|
+
screen: reactFile ? "native" : "platform",
|
|
627
|
+
source: "page",
|
|
628
|
+
file: relativeFile(root, file2),
|
|
629
|
+
module,
|
|
630
|
+
...base
|
|
631
|
+
};
|
|
632
|
+
continue;
|
|
633
|
+
}
|
|
634
|
+
const analysis = _optionalChain([options, 'access', _32 => _32.analyzerTiers, 'optionalAccess', _33 => _33.get, 'call', _34 => _34(route)]);
|
|
635
|
+
if (analysis && analysis.tier !== "native") {
|
|
636
|
+
throw new TypeError(
|
|
637
|
+
`${prefix}: ${page.file} sets mobile.native to true, but "${route}" cannot render as a native screen:
|
|
638
|
+
${analysis.nativeBlockers.map((blocker) => ` - ${blocker}`).join("\n")}
|
|
639
|
+
` + (analysis.tier === "react-native" ? "It needs JavaScript on the device: add page.native.tsx next to the page, or " : "Remove the blockers, add page.native.tsx next to the page, or ") + "remove mobile.native."
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
screens[route] = {
|
|
643
|
+
screen: "web",
|
|
644
|
+
source: "page",
|
|
645
|
+
file: page.file,
|
|
646
|
+
requested: "native",
|
|
647
|
+
...base
|
|
648
|
+
};
|
|
649
|
+
continue;
|
|
650
|
+
}
|
|
607
651
|
if (tier === "web") {
|
|
608
652
|
screens[route] = { screen: "web", source: "config", ...base };
|
|
609
653
|
continue;
|
|
@@ -634,9 +678,9 @@ function resolveFarmMobileScreens(options) {
|
|
|
634
678
|
};
|
|
635
679
|
continue;
|
|
636
680
|
}
|
|
637
|
-
const blockers = _optionalChain([options, 'access',
|
|
681
|
+
const blockers = _optionalChain([options, 'access', _35 => _35.analyzerBlockers, 'optionalAccess', _36 => _36.get, 'call', _37 => _37(route)]);
|
|
638
682
|
warnings.push(
|
|
639
|
-
`${where}.${tierKey} is "native", but "${route}" has no ${nativeTier === "native" ? "page.native.tsx" : platformFileName} and Farm cannot port pages yet, so it stays web` + (_optionalChain([blockers, 'optionalAccess',
|
|
683
|
+
`${where}.${tierKey} is "native", but "${route}" has no ${nativeTier === "native" ? "page.native.tsx" : platformFileName} and Farm cannot port pages yet, so it stays web` + (_optionalChain([blockers, 'optionalAccess', _38 => _38.length]) ? `. The analyzer would keep it web: ${blockers.join("; ")}` : "") + ". This fails the build once native screens ship."
|
|
640
684
|
);
|
|
641
685
|
screens[route] = { screen: "web", source: "config", requested: nativeTier, ...base };
|
|
642
686
|
continue;
|
|
@@ -652,7 +696,7 @@ function resolveFarmMobileScreens(options) {
|
|
|
652
696
|
};
|
|
653
697
|
continue;
|
|
654
698
|
}
|
|
655
|
-
if (native.auto === "on" && _optionalChain([options, 'access',
|
|
699
|
+
if (native.auto === "on" && _optionalChain([options, 'access', _39 => _39.analyzerPorts, 'optionalAccess', _40 => _40.has, 'call', _41 => _41(route)])) {
|
|
656
700
|
screens[route] = { screen: "web", source: "analyzer", requested: nativeTier, ...base };
|
|
657
701
|
continue;
|
|
658
702
|
}
|
|
@@ -712,7 +756,7 @@ function readFarmMobilePageExport(source, file, parse, context) {
|
|
|
712
756
|
const value = literalValue(declarator.init, fail);
|
|
713
757
|
return validateFarmMobilePageConfig(value, file, context);
|
|
714
758
|
}
|
|
715
|
-
} else if (_optionalChain([declaration, 'access',
|
|
759
|
+
} else if (_optionalChain([declaration, 'access', _42 => _42.id, 'optionalAccess', _43 => _43.name]) === "mobile") {
|
|
716
760
|
fail('must be an object, such as export const mobile = { presentation: "modal" }');
|
|
717
761
|
}
|
|
718
762
|
}
|
|
@@ -822,6 +866,9 @@ function getFarmMobileOutputDirs(distDir) {
|
|
|
822
866
|
};
|
|
823
867
|
}
|
|
824
868
|
var SCRIPT_PAGE = /\.(?:tsx|ts|jsx|js)$/;
|
|
869
|
+
function describe(blocker) {
|
|
870
|
+
return `${blocker.file ? `${blocker.file}:${blocker.line}:${blocker.column} ` : ""}${blocker.message}`;
|
|
871
|
+
}
|
|
825
872
|
function scriptLang(file) {
|
|
826
873
|
return file.endsWith(".tsx") ? "tsx" : file.endsWith(".ts") ? "ts" : "jsx";
|
|
827
874
|
}
|
|
@@ -848,11 +895,11 @@ async function readPageExports(root, pageFiles, os) {
|
|
|
848
895
|
return exports;
|
|
849
896
|
}
|
|
850
897
|
async function resolveFarmMobileApp(options = {}) {
|
|
851
|
-
const root = path2.resolve(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access',
|
|
898
|
+
const root = path2.resolve(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _44 => _44.config, 'optionalAccess', _45 => _45.root]), () => ( options.root)), () => ( process.cwd())));
|
|
852
899
|
const command = _nullishCoalesce(options.command, () => ( "build"));
|
|
853
900
|
const mode = command === "dev" ? "development" : "production";
|
|
854
|
-
const userConfig = options.userConfig === void 0 ? await
|
|
855
|
-
if (_optionalChain([userConfig, 'optionalAccess',
|
|
901
|
+
const userConfig = options.userConfig === void 0 ? await _chunkNPQLMP7Mcjs.loadConfig.call(void 0, root, void 0, mode) : options.userConfig;
|
|
902
|
+
if (_optionalChain([userConfig, 'optionalAccess', _46 => _46.mobile]) === void 0) {
|
|
856
903
|
throw new FarmMobileError(
|
|
857
904
|
'farm.config.ts has no `mobile` entry. Add one, such as `mobile: { id: "com.example.notes", server: "https://notes.example.com" }`.'
|
|
858
905
|
);
|
|
@@ -865,7 +912,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
865
912
|
mode
|
|
866
913
|
});
|
|
867
914
|
const block = await resolveFarmMobileBlock(userConfig.mobile, context, options.cache);
|
|
868
|
-
const config = await _asyncNullishCoalesce(options.config, async () => ( await
|
|
915
|
+
const config = await _asyncNullishCoalesce(options.config, async () => ( await _chunkNPQLMP7Mcjs.resolveConfig.call(void 0, { ...userConfig, root }, mode)));
|
|
869
916
|
const scan = await _chunkE36C43IXcjs.scanRoutePatterns.call(void 0, {
|
|
870
917
|
root,
|
|
871
918
|
srcDir: config.srcDir,
|
|
@@ -894,19 +941,20 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
894
941
|
let { screens, warnings } = resolveFarmMobileScreens(screenOptions);
|
|
895
942
|
let report;
|
|
896
943
|
let analyzerStats;
|
|
897
|
-
const
|
|
944
|
+
const asserted = [...pageExports.values()].some((page) => page.config.native === true);
|
|
945
|
+
const analyze = options.analyze === "always" || asserted || options.analyze === true && mobile.native.auto !== "off";
|
|
898
946
|
if (analyze) {
|
|
899
947
|
const candidates = routes.filter((route) => {
|
|
900
948
|
const decision = screens[route];
|
|
901
949
|
return decision.source === "default" || decision.requested !== void 0;
|
|
902
950
|
});
|
|
903
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
951
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-T76CN3S7.cjs");
|
|
904
952
|
const result = await analyzeFarmMobileRoutes({
|
|
905
953
|
root,
|
|
906
954
|
srcDir: config.srcDir,
|
|
907
955
|
routes: candidates,
|
|
908
956
|
pageFiles: scan.pageFiles,
|
|
909
|
-
serverComponents: _chunkBPNOYILCcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access',
|
|
957
|
+
serverComponents: _chunkBPNOYILCcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _47 => _47.experimental, 'optionalAccess', _48 => _48.serverComponents])) !== void 0,
|
|
910
958
|
cacheFile: path2.resolve(root, getFarmMobileOutputDirs(config.distDir).analyzerCache)
|
|
911
959
|
});
|
|
912
960
|
analyzerStats = result.stats;
|
|
@@ -916,11 +964,12 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
916
964
|
Object.values(result.routes).filter((route) => route.decision === "port").map((route) => route.route)
|
|
917
965
|
),
|
|
918
966
|
analyzerBlockers: new Map(
|
|
967
|
+
Object.values(result.routes).map((route) => [route.route, route.blockers.map(describe)])
|
|
968
|
+
),
|
|
969
|
+
analyzerTiers: new Map(
|
|
919
970
|
Object.values(result.routes).map((route) => [
|
|
920
971
|
route.route,
|
|
921
|
-
route.
|
|
922
|
-
(blocker) => `${blocker.file ? `${blocker.file}:${blocker.line}:${blocker.column} ` : ""}${blocker.message}`
|
|
923
|
-
)
|
|
972
|
+
{ tier: route.tier, nativeBlockers: route.nativeBlockers.map(describe) }
|
|
924
973
|
])
|
|
925
974
|
)
|
|
926
975
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FarmLocaleResolution } from './resolver-
|
|
2
|
-
import { R as ResolvedFarmI18nConfig, F as FarmI18nCatalogs, a as FarmI18nClientSnapshot } from './types-C41ePjvP.mjs';
|
|
1
|
+
import { F as FarmLocaleResolution } from './resolver.d-JnZKKsc5.mjs';
|
|
2
|
+
import { R as ResolvedFarmI18nConfig, F as FarmI18nCatalogs, a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.mjs';
|
|
3
3
|
|
|
4
4
|
declare class FarmI18nRuntime {
|
|
5
5
|
readonly config: ResolvedFarmI18nConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FarmLocaleResolution } from './resolver-
|
|
2
|
-
import { R as ResolvedFarmI18nConfig, F as FarmI18nCatalogs, a as FarmI18nClientSnapshot } from './types-C41ePjvP.js';
|
|
1
|
+
import { F as FarmLocaleResolution } from './resolver.d-BHyZgpa7.js';
|
|
2
|
+
import { R as ResolvedFarmI18nConfig, F as FarmI18nCatalogs, a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.js';
|
|
3
3
|
|
|
4
4
|
declare class FarmI18nRuntime {
|
|
5
5
|
readonly config: ResolvedFarmI18nConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as EndpointFailure } from './endpoint-
|
|
2
|
-
import { c as PluginRoutesFactory } from './route-
|
|
3
|
-
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern-CVsVbq5n.
|
|
4
|
-
import './client-plugins-
|
|
1
|
+
import { f as EndpointFailure } from './endpoint.d-BkMSCRf6.mjs';
|
|
2
|
+
import { c as PluginRoutesFactory } from './route.d-BaVH3V0w.mjs';
|
|
3
|
+
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
+
import './client-plugins.d-Bx3FXpqm.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as EndpointFailure } from './endpoint-
|
|
2
|
-
import { c as PluginRoutesFactory } from './route-
|
|
3
|
-
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern-CVsVbq5n.
|
|
4
|
-
import './client-plugins-
|
|
1
|
+
import { f as EndpointFailure } from './endpoint.d-BgHn0lhl.js';
|
|
2
|
+
import { c as PluginRoutesFactory } from './route.d-DBTEqifW.js';
|
|
3
|
+
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.js';
|
|
4
|
+
import './client-plugins.d-TiLbS5j4.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FormHTMLAttributes, ComponentType } from 'react';
|
|
2
2
|
import { ServerFn } from './server-fn.mjs';
|
|
3
|
-
import { R as RetryOptions } from './api-client-
|
|
3
|
+
import { R as RetryOptions } from './api-client.d-CeA6tNA6.mjs';
|
|
4
4
|
import './cache.mjs';
|
|
5
|
-
import './server-fn-error-DrcH9cc1.mjs';
|
|
6
|
-
import './endpoint-BkMSCRf6.mjs';
|
|
7
|
-
import './route-
|
|
8
|
-
import './client-cache-di_Nasxa.mjs';
|
|
5
|
+
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
6
|
+
import './endpoint.d-BkMSCRf6.mjs';
|
|
7
|
+
import './route.d-BaVH3V0w.mjs';
|
|
8
|
+
import './client-cache.d-di_Nasxa.mjs';
|
|
9
9
|
|
|
10
10
|
type ServerFnActionStatus = "idle" | "pending" | "success" | "error";
|
|
11
11
|
type ServerFnSubmit<TInput, TResult> = [unknown] extends [TInput] ? (input?: TInput | FormData) => Promise<TResult> : (input: TInput | FormData) => Promise<TResult>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FormHTMLAttributes, ComponentType } from 'react';
|
|
2
2
|
import { ServerFn } from './server-fn.js';
|
|
3
|
-
import { R as RetryOptions } from './api-client-
|
|
3
|
+
import { R as RetryOptions } from './api-client.d-BWcqZciH.js';
|
|
4
4
|
import './cache.js';
|
|
5
|
-
import './server-fn-error-DrcH9cc1.js';
|
|
6
|
-
import './endpoint-BgHn0lhl.js';
|
|
7
|
-
import './route-
|
|
8
|
-
import './client-cache-Deoqq-nM.js';
|
|
5
|
+
import './server-fn-error.d-DrcH9cc1.js';
|
|
6
|
+
import './endpoint.d-BgHn0lhl.js';
|
|
7
|
+
import './route.d-DBTEqifW.js';
|
|
8
|
+
import './client-cache.d-Deoqq-nM.js';
|
|
9
9
|
|
|
10
10
|
type ServerFnActionStatus = "idle" | "pending" | "success" | "error";
|
|
11
11
|
type ServerFnSubmit<TInput, TResult> = [unknown] extends [TInput] ? (input?: TInput | FormData) => Promise<TResult> : (input: TInput | FormData) => Promise<TResult>;
|
package/dist/server-fn.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FarmCacheInvalidationTarget } from './cache.mjs';
|
|
2
|
-
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error-DrcH9cc1.mjs';
|
|
3
|
-
export { F as FARM_SERVER_FN_FAILURE_SYMBOL, S as SerializedServerFnFailure, c as createServerFnTransportError, i as isServerFnFailure } from './server-fn-error-DrcH9cc1.mjs';
|
|
4
|
-
import { E as EndpointMCPMetadata } from './endpoint-BkMSCRf6.mjs';
|
|
2
|
+
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error.d-DrcH9cc1.mjs';
|
|
3
|
+
export { F as FARM_SERVER_FN_FAILURE_SYMBOL, S as SerializedServerFnFailure, c as createServerFnTransportError, i as isServerFnFailure } from './server-fn-error.d-DrcH9cc1.mjs';
|
|
4
|
+
import { E as EndpointMCPMetadata } from './endpoint.d-BkMSCRf6.mjs';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerFnSchema = {
|
package/dist/server-fn.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FarmCacheInvalidationTarget } from './cache.js';
|
|
2
|
-
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error-DrcH9cc1.js';
|
|
3
|
-
export { F as FARM_SERVER_FN_FAILURE_SYMBOL, S as SerializedServerFnFailure, c as createServerFnTransportError, i as isServerFnFailure } from './server-fn-error-DrcH9cc1.js';
|
|
4
|
-
import { E as EndpointMCPMetadata } from './endpoint-BgHn0lhl.js';
|
|
2
|
+
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error.d-DrcH9cc1.js';
|
|
3
|
+
export { F as FARM_SERVER_FN_FAILURE_SYMBOL, S as SerializedServerFnFailure, c as createServerFnTransportError, i as isServerFnFailure } from './server-fn-error.d-DrcH9cc1.js';
|
|
4
|
+
import { E as EndpointMCPMetadata } from './endpoint.d-BgHn0lhl.js';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerFnSchema = {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins-
|
|
3
|
-
import { R as ResolvedFarmI18nConfig } from './types-C41ePjvP.mjs';
|
|
1
|
+
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-Bx3FXpqm.mjs';
|
|
2
|
+
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-Bx3FXpqm.mjs';
|
|
3
|
+
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.mjs';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
5
|
-
import './lifecycle-C2aLBOwu.mjs';
|
|
6
|
-
import './route-
|
|
7
|
-
import './endpoint-BkMSCRf6.mjs';
|
|
5
|
+
import './lifecycle.d-C2aLBOwu.mjs';
|
|
6
|
+
import './route.d-BaVH3V0w.mjs';
|
|
7
|
+
import './endpoint.d-BkMSCRf6.mjs';
|
|
8
8
|
import './cache.mjs';
|
|
9
9
|
import './renderer.mjs';
|
|
10
10
|
import './deployment.mjs';
|
|
11
11
|
import 'http';
|
|
12
12
|
import './server-fn.mjs';
|
|
13
|
-
import './server-fn-error-DrcH9cc1.mjs';
|
|
13
|
+
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
14
14
|
import './server-query.mjs';
|
|
15
|
-
import './types-BnIqOn9w.mjs';
|
|
15
|
+
import './types.d-BnIqOn9w.mjs';
|
|
16
16
|
import 'db0';
|
|
17
17
|
import 'unstorage';
|
|
18
18
|
import './schema.mjs';
|
|
19
19
|
import 'react';
|
|
20
20
|
import '@farming-labs/orm';
|
|
21
21
|
import '@farming-labs/docs';
|
|
22
|
-
import './observability-B2363jB6.mjs';
|
|
22
|
+
import './observability.d-B2363jB6.mjs';
|
|
23
23
|
import '@opentelemetry/api';
|
|
24
24
|
import 'vite';
|
|
25
|
-
import './workflows-CRMzQZ3k.mjs';
|
|
25
|
+
import './workflows.d-CRMzQZ3k.mjs';
|
|
26
26
|
import './cron.mjs';
|
|
27
27
|
import './env.mjs';
|
|
28
28
|
import './server-action-security.mjs';
|
|
29
|
-
import './layers-CcS42OGR.mjs';
|
|
29
|
+
import './layers.d-CcS42OGR.mjs';
|
|
30
30
|
import 'rolldown/utils';
|
|
31
31
|
import 'rolldown';
|
|
32
|
-
import './image-config-CeDgNyX4.mjs';
|
|
33
|
-
import './config-
|
|
34
|
-
import './types-DQnyD3VD.mjs';
|
|
32
|
+
import './image-config.d-CeDgNyX4.mjs';
|
|
33
|
+
import './config.d-iRPI16ku.mjs';
|
|
34
|
+
import './types.d-DQnyD3VD.mjs';
|
|
35
35
|
import './font.mjs';
|
|
36
36
|
|
|
37
37
|
declare function createRedirectsPlugin(redirects: RedirectConfig[], { beforeRequest: overrideBeforeRequest, afterResponse: overrideAfterResponse, i18n, }?: {
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins-
|
|
3
|
-
import { R as ResolvedFarmI18nConfig } from './types-C41ePjvP.js';
|
|
1
|
+
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-TiLbS5j4.js';
|
|
2
|
+
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-TiLbS5j4.js';
|
|
3
|
+
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
|
-
import './lifecycle-C2aLBOwu.js';
|
|
6
|
-
import './route-
|
|
7
|
-
import './endpoint-BgHn0lhl.js';
|
|
5
|
+
import './lifecycle.d-C2aLBOwu.js';
|
|
6
|
+
import './route.d-DBTEqifW.js';
|
|
7
|
+
import './endpoint.d-BgHn0lhl.js';
|
|
8
8
|
import './cache.js';
|
|
9
9
|
import './renderer.js';
|
|
10
10
|
import './deployment.js';
|
|
11
11
|
import 'http';
|
|
12
12
|
import './server-fn.js';
|
|
13
|
-
import './server-fn-error-DrcH9cc1.js';
|
|
13
|
+
import './server-fn-error.d-DrcH9cc1.js';
|
|
14
14
|
import './server-query.js';
|
|
15
|
-
import './types-BnIqOn9w.js';
|
|
15
|
+
import './types.d-BnIqOn9w.js';
|
|
16
16
|
import 'db0';
|
|
17
17
|
import 'unstorage';
|
|
18
18
|
import './schema.js';
|
|
19
19
|
import 'react';
|
|
20
20
|
import '@farming-labs/orm';
|
|
21
21
|
import '@farming-labs/docs';
|
|
22
|
-
import './observability-B2363jB6.js';
|
|
22
|
+
import './observability.d-B2363jB6.js';
|
|
23
23
|
import '@opentelemetry/api';
|
|
24
24
|
import 'vite';
|
|
25
|
-
import './workflows-CRMzQZ3k.js';
|
|
25
|
+
import './workflows.d-CRMzQZ3k.js';
|
|
26
26
|
import './cron.js';
|
|
27
27
|
import './env.js';
|
|
28
28
|
import './server-action-security.js';
|
|
29
|
-
import './layers-CcS42OGR.js';
|
|
29
|
+
import './layers.d-CcS42OGR.js';
|
|
30
30
|
import 'rolldown/utils';
|
|
31
31
|
import 'rolldown';
|
|
32
|
-
import './image-config-CeDgNyX4.js';
|
|
33
|
-
import './config-
|
|
34
|
-
import './types-DQnyD3VD.js';
|
|
32
|
+
import './image-config.d-CeDgNyX4.js';
|
|
33
|
+
import './config.d-iRPI16ku.js';
|
|
34
|
+
import './types.d-DQnyD3VD.js';
|
|
35
35
|
import './font.js';
|
|
36
36
|
|
|
37
37
|
declare function createRedirectsPlugin(redirects: RedirectConfig[], { beforeRequest: overrideBeforeRequest, afterResponse: overrideAfterResponse, i18n, }?: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { F as FarmClientCacheStatus } from './client-cache-di_Nasxa.mjs';
|
|
1
|
+
import { F as FarmClientCacheStatus } from './client-cache.d-di_Nasxa.mjs';
|
|
2
2
|
import { ServerQuery } from './server-query.mjs';
|
|
3
|
-
import { S as ServerQueryFetchOptions } from './server-query-runtime-aP52iuL5.mjs';
|
|
4
|
-
export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction, c as completeFarmServerQueryAction, f as fetchServerQuery, p as prefetchServerQuery, s as shouldApplyFarmServerQueryActionResult } from './server-query-runtime-aP52iuL5.mjs';
|
|
3
|
+
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-aP52iuL5.mjs';
|
|
4
|
+
export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction, c as completeFarmServerQueryAction, f as fetchServerQuery, p as prefetchServerQuery, s as shouldApplyFarmServerQueryActionResult } from './server-query-runtime.d-aP52iuL5.mjs';
|
|
5
5
|
import './cache.mjs';
|
|
6
6
|
import './server-fn.mjs';
|
|
7
|
-
import './server-fn-error-DrcH9cc1.mjs';
|
|
8
|
-
import './endpoint-BkMSCRf6.mjs';
|
|
7
|
+
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
8
|
+
import './endpoint.d-BkMSCRf6.mjs';
|
|
9
9
|
|
|
10
10
|
type UseServerQueryOptions = ServerQueryFetchOptions & {
|
|
11
11
|
enabled?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { F as FarmClientCacheStatus } from './client-cache-Deoqq-nM.js';
|
|
1
|
+
import { F as FarmClientCacheStatus } from './client-cache.d-Deoqq-nM.js';
|
|
2
2
|
import { ServerQuery } from './server-query.js';
|
|
3
|
-
import { S as ServerQueryFetchOptions } from './server-query-runtime-DXRNhX_3.js';
|
|
4
|
-
export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction, c as completeFarmServerQueryAction, f as fetchServerQuery, p as prefetchServerQuery, s as shouldApplyFarmServerQueryActionResult } from './server-query-runtime-DXRNhX_3.js';
|
|
3
|
+
import { S as ServerQueryFetchOptions } from './server-query-runtime.d-DXRNhX_3.js';
|
|
4
|
+
export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction, c as completeFarmServerQueryAction, f as fetchServerQuery, p as prefetchServerQuery, s as shouldApplyFarmServerQueryActionResult } from './server-query-runtime.d-DXRNhX_3.js';
|
|
5
5
|
import './cache.js';
|
|
6
6
|
import './server-fn.js';
|
|
7
|
-
import './server-fn-error-DrcH9cc1.js';
|
|
8
|
-
import './endpoint-BgHn0lhl.js';
|
|
7
|
+
import './server-fn-error.d-DrcH9cc1.js';
|
|
8
|
+
import './endpoint.d-BgHn0lhl.js';
|
|
9
9
|
|
|
10
10
|
type UseServerQueryOptions = ServerQueryFetchOptions & {
|
|
11
11
|
enabled?: boolean;
|
package/dist/server-query.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RouteDataCacheKey } from './cache.mjs';
|
|
2
2
|
import { ServerFnContext, ServerFnSchema, AnyServerFnMiddleware, InferServerFnSchemaOutput, ServerFnMiddlewareContext, ServerFnMCPMetadata, ServerFnHandler, InferServerFnSchemaInput } from './server-fn.mjs';
|
|
3
|
-
import './server-fn-error-DrcH9cc1.mjs';
|
|
4
|
-
import './endpoint-BkMSCRf6.mjs';
|
|
3
|
+
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
4
|
+
import './endpoint.d-BkMSCRf6.mjs';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerQueryStaleTime = number | false | `${number}${"ms" | "s" | "m" | "h"}`;
|
package/dist/server-query.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RouteDataCacheKey } from './cache.js';
|
|
2
2
|
import { ServerFnContext, ServerFnSchema, AnyServerFnMiddleware, InferServerFnSchemaOutput, ServerFnMiddlewareContext, ServerFnMCPMetadata, ServerFnHandler, InferServerFnSchemaInput } from './server-fn.js';
|
|
3
|
-
import './server-fn-error-DrcH9cc1.js';
|
|
4
|
-
import './endpoint-BgHn0lhl.js';
|
|
3
|
+
import './server-fn-error.d-DrcH9cc1.js';
|
|
4
|
+
import './endpoint.d-BgHn0lhl.js';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerQueryStaleTime = number | false | `${number}${"ms" | "s" | "m" | "h"}`;
|