@farm.js/core 0.1.72 → 0.1.74
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-handler-VIT4GOSR.mjs → agent-mcp-handler-HX4F4VKN.mjs} +4 -4
- package/dist/{agent-mcp-handler-KE4J3W7S.cjs → agent-mcp-handler-NRIL4JBC.cjs} +5 -5
- package/dist/{agent-mcp.d-Cwff7lcA.d.mts → agent-mcp.d-BEhDfdWc.d.mts} +1 -1
- package/dist/{agent-mcp.d-BO3rZXEM.d.ts → agent-mcp.d-CX8_oOT_.d.ts} +1 -1
- package/dist/agent-runtime.cjs +4 -4
- package/dist/agent-runtime.d.mts +5 -5
- package/dist/agent-runtime.d.ts +5 -5
- package/dist/agent-runtime.mjs +3 -3
- package/dist/{analyzer-5Q75LTIL.mjs → analyzer-2K35LIQZ.mjs} +2 -2
- package/dist/analyzer-6EOYURMV.cjs +16 -0
- package/dist/api/client.d.mts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.native.d.mts +4 -4
- package/dist/api/client.native.d.ts +4 -4
- package/dist/api/node.cjs +9 -8
- package/dist/api/node.d.mts +7 -7
- package/dist/api/node.d.ts +7 -7
- package/dist/api/node.mjs +8 -7
- package/dist/api/route-manager.cjs +11 -9
- package/dist/api/route-manager.d.mts +10 -8
- package/dist/api/route-manager.d.ts +10 -8
- package/dist/api/route-manager.mjs +10 -8
- package/dist/api/runtime.cjs +8 -7
- package/dist/api/runtime.d.mts +6 -6
- package/dist/api/runtime.d.ts +6 -6
- package/dist/api/runtime.mjs +7 -6
- package/dist/{api-client.d-Bp35zMqR.d.mts → api-client.d-CyVmI4Di.d.mts} +2 -2
- package/dist/{api-client.d-CFI_xL0V.d.ts → api-client.d-DrTM7BdH.d.ts} +2 -2
- package/dist/api.cjs +13 -11
- package/dist/api.d.mts +10 -10
- package/dist/api.d.ts +10 -10
- package/dist/api.mjs +12 -10
- package/dist/{app-manifest.d-USD_IbFd.d.mts → app-manifest.d-BcXt2yCx.d.mts} +10 -1
- package/dist/{app-manifest.d-DwjGkYlP.d.ts → app-manifest.d-CVEx1CFB.d.ts} +10 -1
- package/dist/app-markdown.cjs +8 -4
- package/dist/app-markdown.d.mts +7 -7
- package/dist/app-markdown.d.ts +7 -7
- package/dist/app-markdown.mjs +7 -3
- package/dist/{app.d-DAmF2MAk.d.ts → app.d-B6i8CSrx.d.ts} +36 -4
- package/dist/{app.d-fW06_h8h.d.mts → app.d-DowzSmT5.d.mts} +36 -4
- package/dist/cache.cjs +2 -2
- package/dist/cache.d.mts +8 -0
- package/dist/cache.d.ts +8 -0
- package/dist/cache.mjs +1 -1
- package/dist/chunk-2DOI6HLJ.cjs +284 -0
- package/dist/chunk-2GQBBOFH.mjs +76 -0
- package/dist/{chunk-5LOARKDP.cjs → chunk-2TZ3F6TN.cjs} +29 -17
- package/dist/{chunk-IWCYRDRQ.cjs → chunk-35GBGSQZ.cjs} +3 -3
- package/dist/{chunk-GF22VGMS.cjs → chunk-3BUJIPKE.cjs} +2 -2
- package/dist/{chunk-Y5LEPEVH.mjs → chunk-3ODLJRA6.mjs} +1 -1
- package/dist/{chunk-DMAP4RND.cjs → chunk-3OMLZLDE.cjs} +54 -16
- package/dist/{chunk-VNBDN5W2.cjs → chunk-47ZDUDN5.cjs} +64 -27
- package/dist/{chunk-2W4GNXGX.cjs → chunk-4AB62NMW.cjs} +2 -2
- package/dist/{chunk-HDPT6OYE.cjs → chunk-4M5ESTJ2.cjs} +10 -2
- package/dist/{chunk-CBLRSZQL.cjs → chunk-56HHUSR5.cjs} +502 -430
- package/dist/chunk-5XD2ULJG.mjs +114 -0
- package/dist/{chunk-JX5VOLAV.cjs → chunk-65OS2TOT.cjs} +4 -4
- package/dist/{chunk-WIJF3PBM.mjs → chunk-6JEXH7N6.mjs} +1 -1
- package/dist/{chunk-TY5KCYDE.mjs → chunk-72NTEYCX.mjs} +10 -3
- package/dist/{chunk-5R4Q5FN7.cjs → chunk-737MIVX3.cjs} +52 -41
- package/dist/{chunk-5X6OHJEE.cjs → chunk-77SVUQM5.cjs} +74 -20
- package/dist/{chunk-CKQAQFF6.mjs → chunk-7RKHXF4P.mjs} +2 -2
- package/dist/{chunk-GJEC5S4V.mjs → chunk-7VCLTNED.mjs} +1 -1
- package/dist/{chunk-E3LE6EZH.cjs → chunk-ACAEFEOH.cjs} +38 -41
- package/dist/{chunk-REP6HWJN.mjs → chunk-AL6E63FZ.mjs} +2 -2
- package/dist/{chunk-DQ2DI3Y7.mjs → chunk-AO5IRA2N.mjs} +2 -2
- package/dist/{chunk-VAWDGGW3.mjs → chunk-AU5UPNOD.mjs} +26 -15
- package/dist/{chunk-DS7JGFW5.mjs → chunk-B3XY6FMC.mjs} +71 -17
- package/dist/{chunk-U7VH3Q5E.cjs → chunk-B5WZP3T3.cjs} +15 -2
- package/dist/{chunk-3JN5M3T5.mjs → chunk-BFOMCSZ2.mjs} +476 -138
- package/dist/{chunk-I4KPA2C6.mjs → chunk-BIX46FTI.mjs} +1 -1
- package/dist/{chunk-YZLEOMMA.mjs → chunk-BNXV3PRM.mjs} +4 -4
- package/dist/{chunk-3GNVIYPO.cjs → chunk-BSJMWCWM.cjs} +7 -7
- package/dist/{chunk-WVQNXXNE.cjs → chunk-BWFBTTJ5.cjs} +2 -2
- package/dist/{chunk-FEFCISOX.cjs → chunk-CEVXKJKF.cjs} +2 -2
- package/dist/{chunk-DGNMXL2O.mjs → chunk-CF77L6RL.mjs} +33 -36
- package/dist/{chunk-OB45EAQL.mjs → chunk-CXQZQK6R.mjs} +3 -2
- package/dist/{chunk-255J7K4X.mjs → chunk-D2IAYGYA.mjs} +1 -1
- package/dist/{chunk-OSEQL34Q.cjs → chunk-D4TYE6MY.cjs} +2 -2
- package/dist/{chunk-FSSONJRV.cjs → chunk-DM2YGTRH.cjs} +24 -17
- package/dist/{chunk-ICFPTHXM.mjs → chunk-DRBXYJZ6.mjs} +7 -3
- package/dist/{chunk-E3HDJCWF.mjs → chunk-DRHHTHA3.mjs} +1 -1
- package/dist/{chunk-YXIQYWOK.cjs → chunk-DTBRSRTR.cjs} +23 -5
- package/dist/{chunk-JZQS3ZOI.mjs → chunk-E4T7WJJN.mjs} +10 -2
- package/dist/{chunk-YAEN3L2F.cjs → chunk-EF5AP4CV.cjs} +21 -2
- package/dist/{chunk-SPP3EZTJ.cjs → chunk-EHJOSIXM.cjs} +137 -67
- package/dist/{chunk-JZBU7V4D.mjs → chunk-ELJQWUAR.mjs} +125 -55
- package/dist/{chunk-DMXMIE2C.cjs → chunk-ENYBDM4U.cjs} +2 -2
- package/dist/{chunk-ZFEJ2SF2.cjs → chunk-EWIEJQP6.cjs} +28 -28
- package/dist/{chunk-ZUVAGMQ5.cjs → chunk-F244KE2D.cjs} +7 -7
- package/dist/{chunk-WW3LRNQV.mjs → chunk-FCBUNILW.mjs} +1 -1
- package/dist/{chunk-645ENY7W.mjs → chunk-FEQ72ZHD.mjs} +16 -9
- package/dist/{chunk-ME7RVELR.mjs → chunk-FGXSWRWA.mjs} +20 -1
- package/dist/{chunk-2AFW7673.cjs → chunk-FNWL5DMG.cjs} +4 -3
- package/dist/{chunk-HLMUWKAP.cjs → chunk-FYV6DTAG.cjs} +826 -531
- package/dist/{chunk-7PPLTD3P.cjs → chunk-G7S6XG6X.cjs} +6 -6
- package/dist/{chunk-AQIO3RNL.mjs → chunk-GK2GBIXD.mjs} +3 -3
- package/dist/{chunk-IHTDLCDJ.cjs → chunk-GRHSQYD4.cjs} +17 -4
- package/dist/{chunk-W44X6IC2.cjs → chunk-HBLYSWIJ.cjs} +13 -9
- package/dist/chunk-HK4VJI27.cjs +76 -0
- package/dist/{chunk-EGIY4A7V.cjs → chunk-HKZVC5GP.cjs} +2 -2
- package/dist/{chunk-EYPSKXO4.mjs → chunk-HRQV5Q3J.mjs} +1 -1
- package/dist/{chunk-S7MWSFFP.cjs → chunk-IBEHVSU4.cjs} +2 -2
- package/dist/{chunk-77VNYVVX.mjs → chunk-IG4IQMIW.mjs} +1 -1
- package/dist/{chunk-N3XO5AL5.cjs → chunk-IJFNXP3D.cjs} +2 -2
- package/dist/{chunk-RFWWXEIF.mjs → chunk-IP2R2TAE.mjs} +1 -1
- package/dist/{chunk-FETMUBIA.mjs → chunk-IZ5WOTQP.mjs} +1 -1
- package/dist/{chunk-CSLHNBPS.cjs → chunk-J42QN7OC.cjs} +6 -6
- package/dist/{chunk-NDDRTFN4.mjs → chunk-J7EUGGTY.mjs} +2 -2
- package/dist/{chunk-5XFKWHZD.mjs → chunk-JI6N4W2I.mjs} +208 -136
- package/dist/{chunk-GJ7QVFAG.mjs → chunk-JOECBGY7.mjs} +1 -1
- package/dist/{chunk-CL52PD6D.cjs → chunk-JSUVQ5HG.cjs} +8 -8
- package/dist/{chunk-DZHTNSQ5.cjs → chunk-JWHRVBCZ.cjs} +14 -14
- package/dist/{chunk-OSMUE5ST.mjs → chunk-JZ43UD6S.mjs} +7 -7
- package/dist/{chunk-RLEALQEN.mjs → chunk-KIRIFO6T.mjs} +43 -5
- package/dist/{chunk-XGTFLG73.cjs → chunk-KMYOKQPP.cjs} +18 -11
- package/dist/{chunk-WX63N6C5.mjs → chunk-KNEYWPZV.mjs} +64 -27
- package/dist/{chunk-AYVGD3PK.mjs → chunk-KUMKBBYP.mjs} +1 -1
- package/dist/{chunk-VT25ERQK.mjs → chunk-KWUZJZ23.mjs} +21 -3
- package/dist/{chunk-NV26EGMC.mjs → chunk-LHFGTR7F.mjs} +2 -2
- package/dist/{chunk-4P5634G6.cjs → chunk-LIQJYEQP.cjs} +14 -9
- package/dist/chunk-LRPPXKCX.mjs +58 -0
- package/dist/chunk-LXTYJ2HW.mjs +139 -0
- package/dist/{chunk-O32QPFVV.cjs → chunk-MKQ27TGW.cjs} +5 -5
- package/dist/{chunk-KQAB5LML.mjs → chunk-MQ5HA7H2.mjs} +2 -2
- package/dist/{chunk-Z3GPAFIA.mjs → chunk-MUITBU5Z.mjs} +1 -1
- package/dist/chunk-NDOE76QC.cjs +58 -0
- package/dist/{chunk-EXN4DTVF.cjs → chunk-NET6PBUH.cjs} +2 -2
- package/dist/{chunk-YBY34UHB.mjs → chunk-NKETXVKP.mjs} +15 -2
- package/dist/chunk-NRWEY2CM.mjs +25 -0
- package/dist/chunk-NU5XLYRN.cjs +139 -0
- package/dist/{chunk-BE7AQXJB.cjs → chunk-NXGQIXR7.cjs} +507 -169
- package/dist/{chunk-C5AM2XDN.cjs → chunk-O2A6HE76.cjs} +4 -4
- package/dist/{chunk-OAEDVXVE.mjs → chunk-O6K4G7YA.mjs} +5 -2
- package/dist/{chunk-LXEJNWF5.mjs → chunk-OSKIG4OP.mjs} +2 -2
- package/dist/{chunk-3WG7GJQL.cjs → chunk-P3EZKU6L.cjs} +18 -18
- package/dist/{chunk-C2JOS77Z.cjs → chunk-PG6ZIHKE.cjs} +250 -51
- package/dist/{chunk-ET6WW3FY.cjs → chunk-Q3MVNRAO.cjs} +1305 -848
- package/dist/{chunk-AZ6IW6SF.mjs → chunk-Q4G52OSW.mjs} +1 -1
- package/dist/{chunk-TPYAYFMF.cjs → chunk-QL3YZTGZ.cjs} +2 -2
- package/dist/{chunk-JMFTKNBA.mjs → chunk-R4BWNP73.mjs} +2 -2
- package/dist/{chunk-J5ASGNKF.mjs → chunk-R6Q6VSGU.mjs} +24 -9
- package/dist/{chunk-B6RBJJ5G.mjs → chunk-RBRIKT6B.mjs} +15 -2
- package/dist/{chunk-C6CUUBY5.cjs → chunk-RHI67C2V.cjs} +5 -5
- package/dist/chunk-RK3YYUX6.cjs +114 -0
- package/dist/{chunk-Y2LU4LE5.mjs → chunk-ROPMQNCG.mjs} +2 -2
- package/dist/{chunk-QIXEU2WV.cjs → chunk-RQ4UZJPR.cjs} +3 -3
- package/dist/{chunk-ZDZUFD67.cjs → chunk-RSL3YFJG.cjs} +1 -1
- package/dist/{chunk-JWY66PID.cjs → chunk-S3D6SL2V.cjs} +9 -6
- package/dist/{chunk-4HGLJOXZ.cjs → chunk-TPDKFRQX.cjs} +11 -11
- package/dist/{chunk-E2V7RRFL.mjs → chunk-UHAARKF3.mjs} +2 -2
- package/dist/{chunk-QSTRBKHZ.mjs → chunk-UJWRXBVP.mjs} +2 -2
- package/dist/{chunk-7QCJDYZQ.cjs → chunk-V6T3UJAH.cjs} +7 -7
- package/dist/{chunk-AUAMXI6N.mjs → chunk-VFPFXMTF.mjs} +1 -1
- package/dist/{chunk-KPJYBSHL.mjs → chunk-VKLV7GF4.mjs} +221 -22
- package/dist/{chunk-TP4RAV7Y.cjs → chunk-VKRMO3EZ.cjs} +8 -8
- package/dist/chunk-VWIW47FW.cjs +25 -0
- package/dist/{chunk-L6E4SHUB.cjs → chunk-VZKCGHWC.cjs} +39 -24
- package/dist/{chunk-JWLRBDDC.cjs → chunk-WH3PBJS7.cjs} +2 -2
- package/dist/{chunk-BSXKZPFE.mjs → chunk-WS4SLJW5.mjs} +501 -206
- package/dist/{chunk-5OFNUETM.mjs → chunk-WTTJ2YS2.mjs} +9 -1
- package/dist/{chunk-RLFGKJQ6.mjs → chunk-X2KNHD4B.mjs} +14 -2
- package/dist/{chunk-5CFHQ7HM.mjs → chunk-XXKMAHYE.mjs} +1 -1
- package/dist/{chunk-MBCRWU3P.cjs → chunk-XZPI44Q7.cjs} +4 -4
- package/dist/{chunk-ACGBXN3U.cjs → chunk-Y4FEQBKY.cjs} +17 -9
- package/dist/{chunk-MWUDEYBI.mjs → chunk-YH33PZ3K.mjs} +1 -1
- package/dist/chunk-YQWRBBAA.mjs +284 -0
- package/dist/{chunk-QUYAGU65.mjs → chunk-YWDRWG4L.mjs} +1210 -753
- package/dist/{chunk-E46NXBNJ.mjs → chunk-ZD7JUTBY.mjs} +11 -6
- package/dist/{chunk-JDO346NV.mjs → chunk-ZLRWO5GK.mjs} +1 -1
- package/dist/{chunk-NAXKOTPP.cjs → chunk-ZRCGPSUM.cjs} +21 -21
- package/dist/{chunk-YCNHUIPR.cjs → chunk-ZZGANFQH.cjs} +10 -10
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/{client-component.d-9J7CkTWW.d.ts → client-component.d-DYOwmq0c.d.ts} +80 -3
- package/dist/{client-component.d-ciHeCxr-.d.mts → client-component.d-edV76QvU.d.mts} +80 -3
- package/dist/{client-plugins.d-CUOhfapO.d.ts → client-plugins.d-BmJYW2FY.d.ts} +20 -7
- package/dist/{client-plugins.d-JnRz5a1o.d.mts → client-plugins.d-DwvqqGsU.d.mts} +20 -7
- package/dist/client-plugins.d.mts +5 -5
- package/dist/client-plugins.d.ts +5 -5
- package/dist/client.cjs +6 -5
- package/dist/client.d.mts +12 -12
- package/dist/client.d.ts +12 -12
- package/dist/client.mjs +5 -4
- package/dist/config.d.mts +5 -5
- package/dist/config.d.ts +5 -5
- package/dist/cron.cjs +6 -2
- package/dist/cron.d.mts +11 -2
- package/dist/cron.d.ts +11 -2
- package/dist/cron.mjs +7 -3
- package/dist/desktop.d.mts +6 -6
- package/dist/desktop.d.ts +6 -6
- package/dist/{devtools-7JPQMSTQ.mjs → devtools-WPX62NG2.mjs} +10 -9
- package/dist/{devtools-IZFUYWPG.cjs → devtools-YMDS7PUA.cjs} +12 -11
- package/dist/docs.cjs +14 -13
- package/dist/docs.d.mts +6 -6
- package/dist/docs.d.ts +6 -6
- package/dist/docs.mjs +13 -12
- package/dist/{endpoint.d-BkMSCRf6.d.mts → endpoint.d-BXbBpKoh.d.mts} +42 -1
- package/dist/{endpoint.d-BgHn0lhl.d.ts → endpoint.d-Dx_1k6Du.d.ts} +42 -1
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/headers.cjs +3 -3
- package/dist/{headers.d-CqpTL_fZ.d.ts → headers.d-BIbQyAxJ.d.ts} +1 -1
- package/dist/{headers.d-rbbTKGaN.d.mts → headers.d-BtNxFc2s.d.mts} +1 -1
- package/dist/headers.mjs +2 -2
- package/dist/index.cjs +73 -60
- package/dist/{index.d-CMKvzHLW.d.ts → index.d-CQ_wUzOV.d.ts} +1 -1
- package/dist/{index.d-D_B2D9Il.d.mts → index.d-CQdDRXd1.d.mts} +1 -1
- package/dist/index.d.mts +63 -29
- package/dist/index.d.ts +63 -29
- package/dist/index.mjs +69 -56
- package/dist/integrations/orm.d.mts +5 -5
- package/dist/integrations/orm.d.ts +5 -5
- package/dist/integrations.cjs +4 -4
- package/dist/integrations.d.mts +5 -5
- package/dist/integrations.d.ts +5 -5
- package/dist/integrations.mjs +3 -3
- package/dist/internal/app-markdown-runtime.cjs +7 -3
- package/dist/internal/app-markdown-runtime.d.mts +18 -7
- package/dist/internal/app-markdown-runtime.d.ts +18 -7
- package/dist/internal/app-markdown-runtime.mjs +6 -2
- package/dist/internal/build-runtime.cjs +42 -40
- package/dist/internal/build-runtime.d.mts +7 -7
- package/dist/internal/build-runtime.d.ts +7 -7
- package/dist/internal/build-runtime.mjs +41 -39
- package/dist/internal/cli-runtime.cjs +21 -20
- package/dist/internal/cli-runtime.mjs +20 -19
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +6 -2
- package/dist/internal/client-runtime.d.mts +22 -10
- package/dist/internal/client-runtime.d.ts +22 -10
- package/dist/internal/client-runtime.mjs +5 -1
- package/dist/internal/compression-runtime.d.mts +5 -5
- package/dist/internal/compression-runtime.d.ts +5 -5
- package/dist/internal/config-runtime.cjs +12 -11
- package/dist/internal/config-runtime.d.mts +7 -7
- package/dist/internal/config-runtime.d.ts +7 -7
- package/dist/internal/config-runtime.mjs +11 -10
- package/dist/internal/form-actions.cjs +5 -4
- package/dist/internal/form-actions.d.mts +2 -2
- package/dist/internal/form-actions.d.ts +2 -2
- package/dist/internal/form-actions.mjs +4 -3
- package/dist/internal/infra-analytics-runtime.cjs +10 -10
- package/dist/internal/infra-analytics-runtime.mjs +8 -8
- 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 +32 -22
- package/dist/internal/production-runtime.d.mts +65 -14
- package/dist/internal/production-runtime.d.ts +65 -14
- package/dist/internal/production-runtime.mjs +31 -21
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/internal/vercel-edge-middleware.cjs +4 -4
- package/dist/internal/vercel-edge-middleware.mjs +3 -3
- package/dist/{lifecycle.d-keQs5Swc.d.mts → lifecycle.d-OtGWAvJT.d.mts} +4 -0
- package/dist/{lifecycle.d-keQs5Swc.d.ts → lifecycle.d-OtGWAvJT.d.ts} +4 -0
- package/dist/{manager-JIA66YJ2.mjs → manager-RHB2P35B.mjs} +4 -1
- package/dist/{manager-JOHU6BQI.cjs → manager-S77ZARTC.cjs} +5 -2
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.d.mts +5 -5
- package/dist/markdown.d.ts +5 -5
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +6 -6
- package/dist/middleware.d.mts +5 -5
- package/dist/middleware.d.ts +5 -5
- package/dist/middleware.mjs +5 -5
- package/dist/{mount.d-ImEO7q8a.d.mts → mount.d-6bhpBQQB.d.mts} +1 -1
- package/dist/{mount.d-B0XMxDRh.d.ts → mount.d-C-u7rFkM.d.ts} +1 -1
- package/dist/{native-server-fn-handler-EP5AFJYE.mjs → native-server-fn-handler-I66X4E5S.mjs} +6 -5
- package/dist/{native-server-fn-handler-QRTXGZA4.cjs → native-server-fn-handler-W4FSD76W.cjs} +7 -6
- package/dist/{native-tree-L2IIEBXH.mjs → native-tree-3X23BT3N.mjs} +2 -2
- package/dist/{native-tree-GF4BH33L.cjs → native-tree-TAPKR7QJ.cjs} +3 -3
- package/dist/{navigation-delegate.d-83Q7ksf7.d.mts → navigation-delegate.d-nx6gtsY4.d.mts} +1 -1
- package/dist/{navigation-delegate.d-RRx1CSlb.d.ts → navigation-delegate.d-xsG4T1x-.d.ts} +1 -1
- package/dist/navigation.cjs +4 -4
- package/dist/navigation.d.mts +8 -8
- package/dist/navigation.d.ts +8 -8
- package/dist/navigation.mjs +3 -3
- package/dist/{nitro-2LMOMIST.cjs → nitro-SSFTPZMW.cjs} +4 -4
- package/dist/{nitro-72TFIGGO.mjs → nitro-XTQ2HKDL.mjs} +1 -1
- package/dist/{observability.d-B2363jB6.d.ts → observability.d-DdJRiaIX.d.mts} +27 -3
- package/dist/{observability.d-B2363jB6.d.mts → observability.d-DdJRiaIX.d.ts} +27 -3
- package/dist/observability.d.mts +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/plugin.cjs +36 -33
- package/dist/plugin.d.mts +8 -8
- package/dist/plugin.d.ts +8 -8
- package/dist/plugin.mjs +35 -32
- package/dist/query/client.cjs +5 -5
- package/dist/query/client.mjs +1 -1
- package/dist/{render-plan.d-wP8nTeRV.d.mts → render-plan.d-B5y3h97B.d.mts} +1 -1
- package/dist/{render-plan.d-Ds2sXJ5m.d.ts → render-plan.d-gW0fwKz2.d.ts} +1 -1
- package/dist/renderer-client.cjs +4 -4
- package/dist/renderer-client.d.mts +8 -8
- package/dist/renderer-client.d.ts +8 -8
- package/dist/renderer-client.mjs +1 -1
- package/dist/request.cjs +2 -2
- package/dist/{request.d-zpSn6pu_.d.ts → request.d-B0ugAadD.d.ts} +9 -2
- package/dist/{request.d-F3h7K37m.d.mts → request.d-DLq33nYo.d.mts} +9 -2
- package/dist/request.d.mts +6 -6
- package/dist/request.d.ts +6 -6
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-Mw0ZKG2e.d.mts → route-rendering.d-DSeIV7yV.d.mts} +1 -1
- package/dist/{route-rendering.d-BL0_AdKj.d.ts → route-rendering.d-ytaqDQD6.d.ts} +1 -1
- package/dist/{route.d-DrXkpvcg.d.mts → route.d-Cd4Fi6BA.d.ts} +3 -1
- package/dist/{route.d-hs-_cyHn.d.ts → route.d-ShmtqqVQ.d.mts} +3 -1
- package/dist/{router.d-BwXigemZ.d.ts → router.d-BaEAEGPg.d.ts} +1 -1
- package/dist/{router.d-NGVsU11T.d.mts → router.d-Chd5cpe3.d.mts} +1 -1
- package/dist/routes.cjs +5 -3
- package/dist/routes.d.mts +5 -5
- package/dist/routes.d.ts +5 -5
- package/dist/routes.mjs +4 -2
- package/dist/{rsc-pipeline-DHYZLWSF.mjs → rsc-pipeline-DPMYONEV.mjs} +12 -11
- package/dist/{rsc-pipeline-BNXYMG4G.cjs → rsc-pipeline-XIUUMMG5.cjs} +13 -12
- package/dist/{runtime-IWOT6ZVC.cjs → runtime-WD77S3C5.cjs} +25 -25
- package/dist/{runtime-XPYKUNL3.mjs → runtime-XIUJZTZ3.mjs} +16 -16
- package/dist/{runtime.d-BA3MzhXz.d.mts → runtime.d-DpCs0eAO.d.mts} +3 -3
- package/dist/{runtime.d-OBIZWpx1.d.ts → runtime.d-h2USyQsz.d.ts} +3 -3
- package/dist/server-action-security.cjs +5 -3
- package/dist/server-action-security.d.mts +11 -3
- package/dist/server-action-security.d.ts +11 -3
- package/dist/server-action-security.mjs +4 -2
- package/dist/server-fn-client.d.mts +3 -3
- package/dist/server-fn-client.d.ts +3 -3
- package/dist/server-fn.cjs +6 -5
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-fn.mjs +5 -4
- package/dist/server-plugins.cjs +4 -4
- package/dist/server-plugins.d.mts +54 -10
- package/dist/server-plugins.d.ts +54 -10
- package/dist/server-plugins.mjs +3 -3
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.cjs +7 -6
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server-query.mjs +6 -5
- package/dist/server.cjs +65 -68
- package/dist/server.d.mts +15 -15
- package/dist/server.d.ts +15 -15
- package/dist/server.mjs +44 -47
- package/dist/{spa-router.d-BG2XzE5p.d.mts → spa-router.d-DCQVtEaE.d.mts} +11 -5
- package/dist/{spa-router.d-DrYT944-.d.ts → spa-router.d-DpdJHs1q.d.ts} +11 -5
- package/dist/testing.cjs +16 -14
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.mjs +12 -10
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/{utils.d-C1k9BJeD.d.mts → utils.d-DKDZtAY5.d.mts} +1 -1
- package/dist/{utils.d-DcF4wxey.d.ts → utils.d-DmicwMvS.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +38 -33
- package/dist/vite.d.mts +24 -10
- package/dist/vite.d.ts +24 -10
- package/dist/vite.mjs +37 -32
- package/package.json +1 -1
- package/dist/analyzer-UJG4MIZW.cjs +0 -16
- package/dist/chunk-6I4BFRE7.cjs +0 -51
- package/dist/chunk-EIVGPQN5.mjs +0 -51
- package/dist/chunk-V3UOEWCB.cjs +0 -46
- package/dist/chunk-VE3FWJBO.mjs +0 -46
- /package/dist/{chunk-QEJWNXRI.cjs → chunk-EMRYJG4U.cjs} +0 -0
- /package/dist/{chunk-TXE4SAMV.mjs → chunk-H2ZJ35NW.mjs} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
FARM_SHELL_RENDER_HEADER,
|
|
11
11
|
FARM_SHELL_ROUTE_HEADER,
|
|
12
12
|
createFarmMobileShellRenderPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZLRWO5GK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
readFarmMobileClientManifest
|
|
16
16
|
} from "./chunk-TM2E623I.mjs";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
keepFarmComponentRanges,
|
|
20
20
|
readFarmComponentBlocks
|
|
21
21
|
} from "./chunk-IOEXXZK3.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-O6K4G7YA.mjs";
|
|
23
23
|
import {
|
|
24
24
|
loadConfig,
|
|
25
25
|
resolveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JZ43UD6S.mjs";
|
|
27
27
|
import "./chunk-VISQDC6W.mjs";
|
|
28
28
|
import {
|
|
29
29
|
createPlatformBlockChecker,
|
|
@@ -35,15 +35,15 @@ import {
|
|
|
35
35
|
} from "./chunk-UB7RVEMX.mjs";
|
|
36
36
|
import {
|
|
37
37
|
scanRoutePatterns
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DRHHTHA3.mjs";
|
|
39
39
|
import "./chunk-YFTGIHNC.mjs";
|
|
40
40
|
import "./chunk-TPA2PV5J.mjs";
|
|
41
41
|
import "./chunk-NLRAQXAA.mjs";
|
|
42
42
|
import "./chunk-XR2ZIBQK.mjs";
|
|
43
43
|
import "./chunk-CU5SYTJG.mjs";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-AL6E63FZ.mjs";
|
|
45
45
|
import "./chunk-SQ5O7I3L.mjs";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-MUITBU5Z.mjs";
|
|
47
47
|
import "./chunk-22W4FNTG.mjs";
|
|
48
48
|
import {
|
|
49
49
|
resolveFarmServerComponentsMode
|
|
@@ -55,28 +55,28 @@ import {
|
|
|
55
55
|
getFarmRendererComponentExtensions
|
|
56
56
|
} from "./chunk-GCRT6GJG.mjs";
|
|
57
57
|
import "./chunk-AOIUYHPH.mjs";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-FGXSWRWA.mjs";
|
|
59
|
+
import "./chunk-ZD7JUTBY.mjs";
|
|
60
60
|
import "./chunk-N33DLJBC.mjs";
|
|
61
61
|
import "./chunk-UIJOLBUL.mjs";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-VKLV7GF4.mjs";
|
|
63
63
|
import "./chunk-MGKWYPE3.mjs";
|
|
64
64
|
import "./chunk-MGZVDX4R.mjs";
|
|
65
65
|
import "./chunk-WXFY5JIY.mjs";
|
|
66
66
|
import "./chunk-YP7YO3S3.mjs";
|
|
67
67
|
import "./chunk-YWPNIYUP.mjs";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-FCBUNILW.mjs";
|
|
69
69
|
import "./chunk-H4WUWLQR.mjs";
|
|
70
70
|
import "./chunk-M53MIIXY.mjs";
|
|
71
71
|
import "./chunk-VZBAW44S.mjs";
|
|
72
72
|
import "./chunk-K63OWRY2.mjs";
|
|
73
73
|
import "./chunk-K3RU5MOR.mjs";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-HRQV5Q3J.mjs";
|
|
75
75
|
import "./chunk-EDPENAVO.mjs";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-H2ZJ35NW.mjs";
|
|
77
77
|
import "./chunk-C7GJDVN4.mjs";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-7VCLTNED.mjs";
|
|
79
|
+
import "./chunk-UJWRXBVP.mjs";
|
|
80
80
|
import "./chunk-6YFC3ZFX.mjs";
|
|
81
81
|
import "./chunk-PKMUQ7LM.mjs";
|
|
82
82
|
import "./chunk-O5QUJEWT.mjs";
|
|
@@ -98,7 +98,7 @@ import "./chunk-AZQXXXDX.mjs";
|
|
|
98
98
|
import "./chunk-JZGL2PIH.mjs";
|
|
99
99
|
import "./chunk-LM55GS4R.mjs";
|
|
100
100
|
import "./chunk-OHWM2VI4.mjs";
|
|
101
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-WTTJ2YS2.mjs";
|
|
102
102
|
import "./chunk-VIXTAVEA.mjs";
|
|
103
103
|
import "./chunk-JNYFXL7X.mjs";
|
|
104
104
|
import "./chunk-7S7AAK2D.mjs";
|
|
@@ -1189,7 +1189,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1189
1189
|
return decision.source === "default" || decision.requested !== void 0;
|
|
1190
1190
|
});
|
|
1191
1191
|
const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
|
|
1192
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
1192
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-2K35LIQZ.mjs");
|
|
1193
1193
|
const analyzed = await analyzeFarmMobileRoutes({
|
|
1194
1194
|
root,
|
|
1195
1195
|
srcDir: config.srcDir,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { k as PluginRoutesFactory } from './route.d-
|
|
1
|
+
import { g as EndpointFailure } from './endpoint.d-BXbBpKoh.mjs';
|
|
2
|
+
import { k as PluginRoutesFactory } from './route.d-ShmtqqVQ.mjs';
|
|
3
3
|
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
import './client-plugins.d-
|
|
4
|
+
import './client-plugins.d-DwvqqGsU.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { k as PluginRoutesFactory } from './route.d-
|
|
1
|
+
import { g as EndpointFailure } from './endpoint.d-Dx_1k6Du.js';
|
|
2
|
+
import { k as PluginRoutesFactory } from './route.d-Cd4Fi6BA.js';
|
|
3
3
|
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
import './client-plugins.d-
|
|
4
|
+
import './client-plugins.d-BmJYW2FY.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
13
|
+
var _chunkLIQJYEQPcjs = require('./chunk-LIQJYEQP.cjs');
|
|
14
|
+
require('./chunk-CEVXKJKF.cjs');
|
|
15
15
|
require('./chunk-CFG4QERR.cjs');
|
|
16
16
|
require('./chunk-JYT7AN37.cjs');
|
|
17
17
|
require('./chunk-UZCMMJJT.cjs');
|
|
18
|
+
require('./chunk-4M5ESTJ2.cjs');
|
|
19
|
+
require('./chunk-3BIASUGR.cjs');
|
|
18
20
|
require('./chunk-YTVSWXEZ.cjs');
|
|
19
21
|
require('./chunk-BTZ5O6VM.cjs');
|
|
20
22
|
|
|
@@ -29,4 +31,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
|
|
32
|
-
exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT =
|
|
34
|
+
exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkLIQJYEQPcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.ServerActionRequestError = _chunkLIQJYEQPcjs.ServerActionRequestError; exports.createServerActionRequestErrorResponse = _chunkLIQJYEQPcjs.createServerActionRequestErrorResponse; exports.getServerActionExecutionContext = _chunkLIQJYEQPcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkLIQJYEQPcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkLIQJYEQPcjs.getServerActionSignal; exports.prepareServerActionRequest = _chunkLIQJYEQPcjs.prepareServerActionRequest; exports.resolveServerActionsConfig = _chunkLIQJYEQPcjs.resolveServerActionsConfig; exports.runWithServerActionRequest = _chunkLIQJYEQPcjs.runWithServerActionRequest; exports.sanitizeServerActionError = _chunkLIQJYEQPcjs.sanitizeServerActionError; exports.validateServerActionRequest = _chunkLIQJYEQPcjs.validateServerActionRequest;
|
|
@@ -12,6 +12,14 @@ interface ResolvedFarmServerActionsConfig {
|
|
|
12
12
|
bodySizeLimit: number;
|
|
13
13
|
}
|
|
14
14
|
type ServerActionRequestKind = "javascript" | "form";
|
|
15
|
+
interface ServerActionRequestOptions {
|
|
16
|
+
/**
|
|
17
|
+
* The app's `server.trustProxy`. When on, a proxy's `X-Forwarded-Host` and
|
|
18
|
+
* `X-Forwarded-Proto` name the origin a same-origin action comes from, as they
|
|
19
|
+
* name the public request URL elsewhere.
|
|
20
|
+
*/
|
|
21
|
+
trustProxy?: boolean;
|
|
22
|
+
}
|
|
15
23
|
interface PreparedServerActionRequest {
|
|
16
24
|
body: string | FormData;
|
|
17
25
|
contentType: string;
|
|
@@ -33,8 +41,8 @@ type ServerActionExecutionContext = {
|
|
|
33
41
|
cacheTasks: Set<Promise<void>>;
|
|
34
42
|
};
|
|
35
43
|
declare function resolveServerActionsConfig(config: FarmServerActionsConfig | undefined): ResolvedFarmServerActionsConfig;
|
|
36
|
-
declare function validateServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig): void;
|
|
37
|
-
declare function prepareServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, kind: ServerActionRequestKind, actionId?: string | null): Promise<PreparedServerActionRequest>;
|
|
44
|
+
declare function validateServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, options?: ServerActionRequestOptions): void;
|
|
45
|
+
declare function prepareServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, kind: ServerActionRequestKind, actionId?: string | null, options?: ServerActionRequestOptions): Promise<PreparedServerActionRequest>;
|
|
38
46
|
declare function createServerActionRequestErrorResponse(error: unknown): Response | null;
|
|
39
47
|
declare function sanitizeServerActionError(error: unknown): SanitizedServerActionError;
|
|
40
48
|
declare function runWithServerActionRequest<T>(request: Request, callback: () => T | Promise<T>): Promise<T>;
|
|
@@ -42,4 +50,4 @@ declare function getServerActionExecutionContext(): ServerActionExecutionContext
|
|
|
42
50
|
declare function getServerActionSignal(): AbortSignal;
|
|
43
51
|
declare function getServerActionInvalidations(): readonly string[];
|
|
44
52
|
|
|
45
|
-
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, type FarmServerActionsConfig, type PreparedServerActionRequest, type ResolvedFarmServerActionsConfig, type SanitizedServerActionError, ServerActionRequestError, type ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest };
|
|
53
|
+
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, type FarmServerActionsConfig, type PreparedServerActionRequest, type ResolvedFarmServerActionsConfig, type SanitizedServerActionError, ServerActionRequestError, type ServerActionRequestKind, type ServerActionRequestOptions, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest };
|
|
@@ -12,6 +12,14 @@ interface ResolvedFarmServerActionsConfig {
|
|
|
12
12
|
bodySizeLimit: number;
|
|
13
13
|
}
|
|
14
14
|
type ServerActionRequestKind = "javascript" | "form";
|
|
15
|
+
interface ServerActionRequestOptions {
|
|
16
|
+
/**
|
|
17
|
+
* The app's `server.trustProxy`. When on, a proxy's `X-Forwarded-Host` and
|
|
18
|
+
* `X-Forwarded-Proto` name the origin a same-origin action comes from, as they
|
|
19
|
+
* name the public request URL elsewhere.
|
|
20
|
+
*/
|
|
21
|
+
trustProxy?: boolean;
|
|
22
|
+
}
|
|
15
23
|
interface PreparedServerActionRequest {
|
|
16
24
|
body: string | FormData;
|
|
17
25
|
contentType: string;
|
|
@@ -33,8 +41,8 @@ type ServerActionExecutionContext = {
|
|
|
33
41
|
cacheTasks: Set<Promise<void>>;
|
|
34
42
|
};
|
|
35
43
|
declare function resolveServerActionsConfig(config: FarmServerActionsConfig | undefined): ResolvedFarmServerActionsConfig;
|
|
36
|
-
declare function validateServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig): void;
|
|
37
|
-
declare function prepareServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, kind: ServerActionRequestKind, actionId?: string | null): Promise<PreparedServerActionRequest>;
|
|
44
|
+
declare function validateServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, options?: ServerActionRequestOptions): void;
|
|
45
|
+
declare function prepareServerActionRequest(request: Request, config: ResolvedFarmServerActionsConfig, kind: ServerActionRequestKind, actionId?: string | null, options?: ServerActionRequestOptions): Promise<PreparedServerActionRequest>;
|
|
38
46
|
declare function createServerActionRequestErrorResponse(error: unknown): Response | null;
|
|
39
47
|
declare function sanitizeServerActionError(error: unknown): SanitizedServerActionError;
|
|
40
48
|
declare function runWithServerActionRequest<T>(request: Request, callback: () => T | Promise<T>): Promise<T>;
|
|
@@ -42,4 +50,4 @@ declare function getServerActionExecutionContext(): ServerActionExecutionContext
|
|
|
42
50
|
declare function getServerActionSignal(): AbortSignal;
|
|
43
51
|
declare function getServerActionInvalidations(): readonly string[];
|
|
44
52
|
|
|
45
|
-
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, type FarmServerActionsConfig, type PreparedServerActionRequest, type ResolvedFarmServerActionsConfig, type SanitizedServerActionError, ServerActionRequestError, type ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest };
|
|
53
|
+
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, type FarmServerActionsConfig, type PreparedServerActionRequest, type ResolvedFarmServerActionsConfig, type SanitizedServerActionError, ServerActionRequestError, type ServerActionRequestKind, type ServerActionRequestOptions, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest };
|
|
@@ -10,11 +10,13 @@ import {
|
|
|
10
10
|
runWithServerActionRequest,
|
|
11
11
|
sanitizeServerActionError,
|
|
12
12
|
validateServerActionRequest
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-ZD7JUTBY.mjs";
|
|
14
|
+
import "./chunk-UJWRXBVP.mjs";
|
|
15
15
|
import "./chunk-QDWMCFTH.mjs";
|
|
16
16
|
import "./chunk-D2LCAV6L.mjs";
|
|
17
17
|
import "./chunk-AZQXXXDX.mjs";
|
|
18
|
+
import "./chunk-WTTJ2YS2.mjs";
|
|
19
|
+
import "./chunk-VIXTAVEA.mjs";
|
|
18
20
|
import "./chunk-AYP2YFVN.mjs";
|
|
19
21
|
import "./chunk-Y6FXYEAI.mjs";
|
|
20
22
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormHTMLAttributes, ComponentType } from 'react';
|
|
2
2
|
import { ServerFn } from './server-fn.mjs';
|
|
3
|
-
import { k as RetryOptions } from './api-client.d-
|
|
3
|
+
import { k as RetryOptions } from './api-client.d-CyVmI4Di.mjs';
|
|
4
4
|
import './cache.mjs';
|
|
5
5
|
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
6
|
-
import './endpoint.d-
|
|
7
|
-
import './route.d-
|
|
6
|
+
import './endpoint.d-BXbBpKoh.mjs';
|
|
7
|
+
import './route.d-ShmtqqVQ.mjs';
|
|
8
8
|
import './client-cache.d-di_Nasxa.mjs';
|
|
9
9
|
|
|
10
10
|
type ServerFnActionStatus = "idle" | "pending" | "success" | "error";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormHTMLAttributes, ComponentType } from 'react';
|
|
2
2
|
import { ServerFn } from './server-fn.js';
|
|
3
|
-
import { k as RetryOptions } from './api-client.d-
|
|
3
|
+
import { k as RetryOptions } from './api-client.d-DrTM7BdH.js';
|
|
4
4
|
import './cache.js';
|
|
5
5
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
6
|
-
import './endpoint.d-
|
|
7
|
-
import './route.d-
|
|
6
|
+
import './endpoint.d-Dx_1k6Du.js';
|
|
7
|
+
import './route.d-Cd4Fi6BA.js';
|
|
8
8
|
import './client-cache.d-Deoqq-nM.js';
|
|
9
9
|
|
|
10
10
|
type ServerFnActionStatus = "idle" | "pending" | "success" | "error";
|
package/dist/server-fn.cjs
CHANGED
|
@@ -8,22 +8,23 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkJSUVQ5HGcjs = require('./chunk-JSUVQ5HG.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
18
|
+
var _chunkLIQJYEQPcjs = require('./chunk-LIQJYEQP.cjs');
|
|
19
|
+
require('./chunk-CEVXKJKF.cjs');
|
|
20
|
+
require('./chunk-3OMLZLDE.cjs');
|
|
21
21
|
require('./chunk-CFG4QERR.cjs');
|
|
22
22
|
require('./chunk-JYT7AN37.cjs');
|
|
23
23
|
require('./chunk-EVIWKPJV.cjs');
|
|
24
24
|
require('./chunk-AOKXITZ6.cjs');
|
|
25
25
|
require('./chunk-DXUXQP2T.cjs');
|
|
26
26
|
require('./chunk-UZCMMJJT.cjs');
|
|
27
|
+
require('./chunk-4M5ESTJ2.cjs');
|
|
27
28
|
require('./chunk-3BIASUGR.cjs');
|
|
28
29
|
require('./chunk-7JUIK547.cjs');
|
|
29
30
|
require('./chunk-YTVSWXEZ.cjs');
|
|
@@ -43,4 +44,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
|
|
46
|
-
exports.FARM_SERVER_FN_FAILURE_SYMBOL =
|
|
47
|
+
exports.FARM_SERVER_FN_FAILURE_SYMBOL = _chunkLIQJYEQPcjs.FARM_SERVER_FN_FAILURE_SYMBOL; exports.FARM_SERVER_FN_SYMBOL = _chunkJSUVQ5HGcjs.FARM_SERVER_FN_SYMBOL; exports.ServerActionError = _chunkLIQJYEQPcjs.ServerActionError; exports.ServerFnFailure = _chunkLIQJYEQPcjs.ServerFnFailure; exports._attachServerFunctionDescriptor = _chunkJSUVQ5HGcjs._attachServerFunctionDescriptor; exports._describeServerFunction = _chunkJSUVQ5HGcjs._describeServerFunction; exports._invokeServerFunction = _chunkJSUVQ5HGcjs._invokeServerFunction; exports._parseServerFnSchema = _chunkJSUVQ5HGcjs._parseServerFnSchema; exports._runServerFunctionForCaller = _chunkJSUVQ5HGcjs._runServerFunctionForCaller; exports.createServerFn = _chunkJSUVQ5HGcjs.createServerFn; exports.createServerFnTransportError = _chunkLIQJYEQPcjs.createServerFnTransportError; exports.createServerFunctionDescriptor = _chunkJSUVQ5HGcjs.createServerFunctionDescriptor; exports.createServerMiddleware = _chunkJSUVQ5HGcjs.createServerMiddleware; exports.isServerFnFailure = _chunkLIQJYEQPcjs.isServerFnFailure;
|
package/dist/server-fn.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FarmCacheInvalidationTarget } from './cache.mjs';
|
|
2
2
|
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error.d-DrcH9cc1.mjs';
|
|
3
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-
|
|
4
|
+
import { E as EndpointMCPMetadata } from './endpoint.d-BXbBpKoh.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
2
|
import { a as ServerFnFailure, b as ServerActionError } from './server-fn-error.d-DrcH9cc1.js';
|
|
3
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-
|
|
4
|
+
import { E as EndpointMCPMetadata } from './endpoint.d-Dx_1k6Du.js';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerFnSchema = {
|
package/dist/server-fn.mjs
CHANGED
|
@@ -8,22 +8,23 @@ import {
|
|
|
8
8
|
createServerFn,
|
|
9
9
|
createServerFunctionDescriptor,
|
|
10
10
|
createServerMiddleware
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AO5IRA2N.mjs";
|
|
12
12
|
import {
|
|
13
13
|
FARM_SERVER_FN_FAILURE_SYMBOL,
|
|
14
14
|
ServerActionError,
|
|
15
15
|
ServerFnFailure,
|
|
16
16
|
createServerFnTransportError,
|
|
17
17
|
isServerFnFailure
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ZD7JUTBY.mjs";
|
|
19
|
+
import "./chunk-UJWRXBVP.mjs";
|
|
20
|
+
import "./chunk-KIRIFO6T.mjs";
|
|
21
21
|
import "./chunk-QDWMCFTH.mjs";
|
|
22
22
|
import "./chunk-D2LCAV6L.mjs";
|
|
23
23
|
import "./chunk-2DA7CLY7.mjs";
|
|
24
24
|
import "./chunk-M25IONJP.mjs";
|
|
25
25
|
import "./chunk-GLOICKDO.mjs";
|
|
26
26
|
import "./chunk-AZQXXXDX.mjs";
|
|
27
|
+
import "./chunk-WTTJ2YS2.mjs";
|
|
27
28
|
import "./chunk-VIXTAVEA.mjs";
|
|
28
29
|
import "./chunk-JNYFXL7X.mjs";
|
|
29
30
|
import "./chunk-AYP2YFVN.mjs";
|
package/dist/server-plugins.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNU5XLYRNcjs = require('./chunk-NU5XLYRN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCL2ONP73cjs = require('./chunk-CL2ONP73.cjs');
|
|
@@ -9,13 +9,13 @@ var _chunkCL2ONP73cjs = require('./chunk-CL2ONP73.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkXZPI44Q7cjs = require('./chunk-XZPI44Q7.cjs');
|
|
13
13
|
require('./chunk-2RCCFB2Y.cjs');
|
|
14
14
|
require('./chunk-HXNLKCWH.cjs');
|
|
15
15
|
require('./chunk-PWKAX5MS.cjs');
|
|
16
16
|
require('./chunk-A25FXJ7D.cjs');
|
|
17
17
|
require('./chunk-6CTFVBAT.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-4M5ESTJ2.cjs');
|
|
19
19
|
require('./chunk-3BIASUGR.cjs');
|
|
20
20
|
require('./chunk-7JUIK547.cjs');
|
|
21
21
|
require('./chunk-OWQV6MLM.cjs');
|
|
@@ -29,4 +29,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.createCompressionPlugin = _chunkCL2ONP73cjs.createCompressionPlugin; exports.createEnvPlugin =
|
|
32
|
+
exports.createCompressionPlugin = _chunkCL2ONP73cjs.createCompressionPlugin; exports.createEnvPlugin = _chunkNU5XLYRNcjs.createEnvPlugin; exports.createHeadersPlugin = _chunkXZPI44Q7cjs.createHeadersPlugin; exports.createLoggerPlugin = _chunkNU5XLYRNcjs.createLoggerPlugin; exports.createRedirectsPlugin = _chunkXZPI44Q7cjs.createRedirectsPlugin; exports.createRewritesPlugin = _chunkXZPI44Q7cjs.createRewritesPlugin;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { el as RedirectConfig, t as FarmRequest, u as FarmResponse, v as FarmPluginContext, F as FarmPlugin, er as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a6 as FarmPluginLifecycle, af as FarmPluginRuntimeEndpoint, ag as FarmPluginRuntimeEndpointEvent, ar as FarmRequestPluginContext, as as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-
|
|
1
|
+
import { el as RedirectConfig, t as FarmRequest, u as FarmResponse, v as FarmPluginContext, F as FarmPlugin, er as RewriteConfig } from './client-plugins.d-DwvqqGsU.mjs';
|
|
2
|
+
export { a6 as FarmPluginLifecycle, af as FarmPluginRuntimeEndpoint, ag as FarmPluginRuntimeEndpointEvent, ar as FarmRequestPluginContext, as as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-DwvqqGsU.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
4
|
-
export { c as createHeadersPlugin } from './headers.d-
|
|
4
|
+
export { c as createHeadersPlugin } from './headers.d-BtNxFc2s.mjs';
|
|
5
5
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
6
|
-
import './lifecycle.d-
|
|
7
|
-
import './route.d-
|
|
8
|
-
import './endpoint.d-
|
|
6
|
+
import './lifecycle.d-OtGWAvJT.mjs';
|
|
7
|
+
import './route.d-ShmtqqVQ.mjs';
|
|
8
|
+
import './endpoint.d-BXbBpKoh.mjs';
|
|
9
9
|
import './cache.mjs';
|
|
10
10
|
import './renderer.mjs';
|
|
11
11
|
import './deployment.mjs';
|
|
@@ -21,7 +21,7 @@ import './schema.d-Dny9pnrm.mjs';
|
|
|
21
21
|
import 'react';
|
|
22
22
|
import '@farming-labs/orm';
|
|
23
23
|
import '@farming-labs/docs';
|
|
24
|
-
import './observability.d-
|
|
24
|
+
import './observability.d-DdJRiaIX.mjs';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import './types.d-xCIhyjOq.mjs';
|
|
27
27
|
import 'vite';
|
|
@@ -59,9 +59,53 @@ declare function createEnvPlugin(env: Record<string, string>, { beforeRequest: o
|
|
|
59
59
|
afterResponse?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
60
60
|
}): FarmPlugin;
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
type FarmRequestLogFormat = "text" | "json";
|
|
63
|
+
type FarmRequestLogLevel = "info" | "warn" | "error";
|
|
64
|
+
/** One completed request, as the logger plugin writes it. */
|
|
65
|
+
interface FarmRequestLogEntry {
|
|
66
|
+
time: string;
|
|
67
|
+
level: FarmRequestLogLevel;
|
|
68
|
+
method: string;
|
|
69
|
+
/** Pathname and query string, with redacted query values masked. */
|
|
70
|
+
path: string;
|
|
71
|
+
status: number;
|
|
72
|
+
durationMs: number;
|
|
73
|
+
/** The request headers selected with the `headers` option, with redacted values masked. */
|
|
74
|
+
headers?: Record<string, string>;
|
|
75
|
+
}
|
|
76
|
+
interface LoggerPluginOptions {
|
|
77
|
+
/**
|
|
78
|
+
* Output format. Defaults to `"text"` (`GET /about 200 12ms`) in development and one JSON
|
|
79
|
+
* object per line in production, which log collectors parse without a custom pattern.
|
|
80
|
+
*/
|
|
81
|
+
format?: FarmRequestLogFormat;
|
|
82
|
+
/**
|
|
83
|
+
* Header and query-string names whose values are masked as `[redacted]`, matched case
|
|
84
|
+
* insensitively. These add to the built-in list of credential names (`authorization`,
|
|
85
|
+
* `cookie`, `set-cookie`, `proxy-authorization`, `x-api-key`, `api_key`, `apikey`,
|
|
86
|
+
* `access_token`, `token`, `password`, `secret`), which always applies.
|
|
87
|
+
*/
|
|
88
|
+
redact?: readonly string[];
|
|
89
|
+
/**
|
|
90
|
+
* Request headers to include in each entry. No header is logged unless it is listed here, and
|
|
91
|
+
* a listed header that is also redacted logs `[redacted]`.
|
|
92
|
+
*/
|
|
93
|
+
headers?: readonly string[];
|
|
94
|
+
/**
|
|
95
|
+
* Fraction of requests to log, from `0` to `1`. Defaults to `1`. Responses with a `5xx` status
|
|
96
|
+
* are always logged, so sampling thins routine traffic without hiding failures.
|
|
97
|
+
*/
|
|
98
|
+
sample?: number;
|
|
99
|
+
/** @deprecated Use the request log, or `runtime.before` in a plugin of your own. */
|
|
63
100
|
beforeRequest?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
101
|
+
/** @deprecated Use the request log, or `runtime.after` in a plugin of your own. */
|
|
64
102
|
afterResponse?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
65
|
-
}
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Logs one line per request through the portable `runtime.after` hook, so it behaves the same
|
|
106
|
+
* in development, Node production output, and edge runtimes. The callback options remain as
|
|
107
|
+
* deprecated aliases for the Node-only flat hooks and run alongside the request log.
|
|
108
|
+
*/
|
|
109
|
+
declare function createLoggerPlugin({ format, redact, headers: loggedHeaders, sample, beforeRequest, afterResponse, }?: LoggerPluginOptions): FarmPlugin;
|
|
66
110
|
|
|
67
|
-
export { FarmPlugin, FarmPluginContext, RedirectConfig, RewriteConfig, createEnvPlugin, createLoggerPlugin, createRedirectsPlugin, createRewritesPlugin };
|
|
111
|
+
export { FarmPlugin, FarmPluginContext, type FarmRequestLogEntry, type FarmRequestLogFormat, type FarmRequestLogLevel, type LoggerPluginOptions, RedirectConfig, RewriteConfig, createEnvPlugin, createLoggerPlugin, createRedirectsPlugin, createRewritesPlugin };
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { el as RedirectConfig, t as FarmRequest, u as FarmResponse, v as FarmPluginContext, F as FarmPlugin, er as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a6 as FarmPluginLifecycle, af as FarmPluginRuntimeEndpoint, ag as FarmPluginRuntimeEndpointEvent, ar as FarmRequestPluginContext, as as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-
|
|
1
|
+
import { el as RedirectConfig, t as FarmRequest, u as FarmResponse, v as FarmPluginContext, F as FarmPlugin, er as RewriteConfig } from './client-plugins.d-BmJYW2FY.js';
|
|
2
|
+
export { a6 as FarmPluginLifecycle, af as FarmPluginRuntimeEndpoint, ag as FarmPluginRuntimeEndpointEvent, ar as FarmRequestPluginContext, as as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-BmJYW2FY.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
4
|
-
export { c as createHeadersPlugin } from './headers.d-
|
|
4
|
+
export { c as createHeadersPlugin } from './headers.d-BIbQyAxJ.js';
|
|
5
5
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
6
|
-
import './lifecycle.d-
|
|
7
|
-
import './route.d-
|
|
8
|
-
import './endpoint.d-
|
|
6
|
+
import './lifecycle.d-OtGWAvJT.js';
|
|
7
|
+
import './route.d-Cd4Fi6BA.js';
|
|
8
|
+
import './endpoint.d-Dx_1k6Du.js';
|
|
9
9
|
import './cache.js';
|
|
10
10
|
import './renderer.js';
|
|
11
11
|
import './deployment.js';
|
|
@@ -21,7 +21,7 @@ import './schema.d-Dny9pnrm.js';
|
|
|
21
21
|
import 'react';
|
|
22
22
|
import '@farming-labs/orm';
|
|
23
23
|
import '@farming-labs/docs';
|
|
24
|
-
import './observability.d-
|
|
24
|
+
import './observability.d-DdJRiaIX.js';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import './types.d-xCIhyjOq.js';
|
|
27
27
|
import 'vite';
|
|
@@ -59,9 +59,53 @@ declare function createEnvPlugin(env: Record<string, string>, { beforeRequest: o
|
|
|
59
59
|
afterResponse?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
60
60
|
}): FarmPlugin;
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
type FarmRequestLogFormat = "text" | "json";
|
|
63
|
+
type FarmRequestLogLevel = "info" | "warn" | "error";
|
|
64
|
+
/** One completed request, as the logger plugin writes it. */
|
|
65
|
+
interface FarmRequestLogEntry {
|
|
66
|
+
time: string;
|
|
67
|
+
level: FarmRequestLogLevel;
|
|
68
|
+
method: string;
|
|
69
|
+
/** Pathname and query string, with redacted query values masked. */
|
|
70
|
+
path: string;
|
|
71
|
+
status: number;
|
|
72
|
+
durationMs: number;
|
|
73
|
+
/** The request headers selected with the `headers` option, with redacted values masked. */
|
|
74
|
+
headers?: Record<string, string>;
|
|
75
|
+
}
|
|
76
|
+
interface LoggerPluginOptions {
|
|
77
|
+
/**
|
|
78
|
+
* Output format. Defaults to `"text"` (`GET /about 200 12ms`) in development and one JSON
|
|
79
|
+
* object per line in production, which log collectors parse without a custom pattern.
|
|
80
|
+
*/
|
|
81
|
+
format?: FarmRequestLogFormat;
|
|
82
|
+
/**
|
|
83
|
+
* Header and query-string names whose values are masked as `[redacted]`, matched case
|
|
84
|
+
* insensitively. These add to the built-in list of credential names (`authorization`,
|
|
85
|
+
* `cookie`, `set-cookie`, `proxy-authorization`, `x-api-key`, `api_key`, `apikey`,
|
|
86
|
+
* `access_token`, `token`, `password`, `secret`), which always applies.
|
|
87
|
+
*/
|
|
88
|
+
redact?: readonly string[];
|
|
89
|
+
/**
|
|
90
|
+
* Request headers to include in each entry. No header is logged unless it is listed here, and
|
|
91
|
+
* a listed header that is also redacted logs `[redacted]`.
|
|
92
|
+
*/
|
|
93
|
+
headers?: readonly string[];
|
|
94
|
+
/**
|
|
95
|
+
* Fraction of requests to log, from `0` to `1`. Defaults to `1`. Responses with a `5xx` status
|
|
96
|
+
* are always logged, so sampling thins routine traffic without hiding failures.
|
|
97
|
+
*/
|
|
98
|
+
sample?: number;
|
|
99
|
+
/** @deprecated Use the request log, or `runtime.before` in a plugin of your own. */
|
|
63
100
|
beforeRequest?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
101
|
+
/** @deprecated Use the request log, or `runtime.after` in a plugin of your own. */
|
|
64
102
|
afterResponse?: (req: FarmRequest, res: FarmResponse, context: FarmPluginContext) => void | Promise<void>;
|
|
65
|
-
}
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Logs one line per request through the portable `runtime.after` hook, so it behaves the same
|
|
106
|
+
* in development, Node production output, and edge runtimes. The callback options remain as
|
|
107
|
+
* deprecated aliases for the Node-only flat hooks and run alongside the request log.
|
|
108
|
+
*/
|
|
109
|
+
declare function createLoggerPlugin({ format, redact, headers: loggedHeaders, sample, beforeRequest, afterResponse, }?: LoggerPluginOptions): FarmPlugin;
|
|
66
110
|
|
|
67
|
-
export { FarmPlugin, FarmPluginContext, RedirectConfig, RewriteConfig, createEnvPlugin, createLoggerPlugin, createRedirectsPlugin, createRewritesPlugin };
|
|
111
|
+
export { FarmPlugin, FarmPluginContext, type FarmRequestLogEntry, type FarmRequestLogFormat, type FarmRequestLogLevel, type LoggerPluginOptions, RedirectConfig, RewriteConfig, createEnvPlugin, createLoggerPlugin, createRedirectsPlugin, createRewritesPlugin };
|
package/dist/server-plugins.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createEnvPlugin,
|
|
3
3
|
createLoggerPlugin
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LXTYJ2HW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCompressionPlugin
|
|
7
7
|
} from "./chunk-75XSZIRE.mjs";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
createHeadersPlugin,
|
|
10
10
|
createRedirectsPlugin,
|
|
11
11
|
createRewritesPlugin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IZ5WOTQP.mjs";
|
|
13
13
|
import "./chunk-DC2AXGNZ.mjs";
|
|
14
14
|
import "./chunk-XQ4DPO4G.mjs";
|
|
15
15
|
import "./chunk-JZGL2PIH.mjs";
|
|
16
16
|
import "./chunk-LM55GS4R.mjs";
|
|
17
17
|
import "./chunk-OHWM2VI4.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WTTJ2YS2.mjs";
|
|
19
19
|
import "./chunk-VIXTAVEA.mjs";
|
|
20
20
|
import "./chunk-JNYFXL7X.mjs";
|
|
21
21
|
import "./chunk-7S7AAK2D.mjs";
|
|
@@ -5,7 +5,7 @@ export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction,
|
|
|
5
5
|
import './cache.mjs';
|
|
6
6
|
import './server-fn.mjs';
|
|
7
7
|
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
8
|
-
import './endpoint.d-
|
|
8
|
+
import './endpoint.d-BXbBpKoh.mjs';
|
|
9
9
|
|
|
10
10
|
type UseServerQueryOptions = ServerQueryFetchOptions & {
|
|
11
11
|
enabled?: boolean;
|
|
@@ -5,7 +5,7 @@ export { F as FarmServerQueryActionInvocation, b as beginFarmServerQueryAction,
|
|
|
5
5
|
import './cache.js';
|
|
6
6
|
import './server-fn.js';
|
|
7
7
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
8
|
-
import './endpoint.d-
|
|
8
|
+
import './endpoint.d-Dx_1k6Du.js';
|
|
9
9
|
|
|
10
10
|
type UseServerQueryOptions = ServerQueryFetchOptions & {
|
|
11
11
|
enabled?: boolean;
|
package/dist/server-query.cjs
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkTPDKFRQXcjs = require('./chunk-TPDKFRQX.cjs');
|
|
5
|
+
require('./chunk-JSUVQ5HG.cjs');
|
|
6
6
|
require('./chunk-MPU5DOXX.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-LIQJYEQP.cjs');
|
|
8
|
+
require('./chunk-CEVXKJKF.cjs');
|
|
9
|
+
require('./chunk-3OMLZLDE.cjs');
|
|
10
10
|
require('./chunk-CFG4QERR.cjs');
|
|
11
11
|
require('./chunk-JYT7AN37.cjs');
|
|
12
12
|
require('./chunk-EVIWKPJV.cjs');
|
|
13
13
|
require('./chunk-AOKXITZ6.cjs');
|
|
14
14
|
require('./chunk-DXUXQP2T.cjs');
|
|
15
15
|
require('./chunk-UZCMMJJT.cjs');
|
|
16
|
+
require('./chunk-4M5ESTJ2.cjs');
|
|
16
17
|
require('./chunk-3BIASUGR.cjs');
|
|
17
18
|
require('./chunk-7JUIK547.cjs');
|
|
18
19
|
require('./chunk-YTVSWXEZ.cjs');
|
|
@@ -20,4 +21,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
exports.FARM_SERVER_QUERY_SYMBOL =
|
|
24
|
+
exports.FARM_SERVER_QUERY_SYMBOL = _chunkTPDKFRQXcjs.FARM_SERVER_QUERY_SYMBOL; exports.createServerQuery = _chunkTPDKFRQXcjs.createServerQuery;
|
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
3
|
import './server-fn-error.d-DrcH9cc1.mjs';
|
|
4
|
-
import './endpoint.d-
|
|
4
|
+
import './endpoint.d-BXbBpKoh.mjs';
|
|
5
5
|
|
|
6
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
7
7
|
type ServerQueryStaleTime = number | false | `${number}${"ms" | "s" | "m" | "h"}`;
|