@farm.js/core 0.1.39 → 0.1.41
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-HcTYQmNX.d.ts → agent-mcp-BOqIxJLI.d.mts} +8 -2
- package/dist/{agent-mcp-BhneNPb4.d.mts → agent-mcp-D0eZKfci.d.ts} +8 -2
- package/dist/{agent-mcp-handler-OLRMZONF.mjs → agent-mcp-handler-HVV5LNXF.mjs} +6 -6
- package/dist/{agent-mcp-handler-MRGP3WJ3.cjs → agent-mcp-handler-YKG7KVCY.cjs} +7 -7
- package/dist/agent-runtime.cjs +10 -6
- package/dist/agent-runtime.d.mts +6 -8
- package/dist/agent-runtime.d.ts +6 -8
- package/dist/agent-runtime.mjs +9 -5
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.d.mts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +15 -13
- package/dist/api/route-manager.d.mts +8 -10
- package/dist/api/route-manager.d.ts +8 -10
- package/dist/api/route-manager.mjs +14 -12
- package/dist/api/runtime.cjs +12 -10
- package/dist/api/runtime.d.mts +7 -9
- package/dist/api/runtime.d.ts +7 -9
- package/dist/api/runtime.mjs +11 -9
- package/dist/{api-client-CyFtZFJ4.d.ts → api-client-BJv9mTbO.d.ts} +2 -2
- package/dist/{api-client-BjMmY8OD.d.mts → api-client-Dk9QOLwr.d.mts} +2 -2
- package/dist/api.cjs +17 -15
- package/dist/api.d.mts +10 -12
- package/dist/api.d.ts +10 -12
- package/dist/api.mjs +16 -14
- package/dist/{app-DVzmmbNO.d.mts → app-CzTSMJaf.d.mts} +12 -5
- package/dist/{app-CMkoghtp.d.ts → app-DM8e1z3G.d.ts} +12 -5
- package/dist/app-markdown.cjs +7 -6
- package/dist/app-markdown.d.mts +7 -9
- package/dist/app-markdown.d.ts +7 -9
- package/dist/app-markdown.mjs +6 -5
- package/dist/cache.cjs +6 -3
- package/dist/cache.d.mts +23 -2
- package/dist/cache.d.ts +23 -2
- package/dist/cache.mjs +5 -2
- package/dist/{chunk-EGCTIS5F.mjs → chunk-24SP5TGU.mjs} +1 -1
- package/dist/{chunk-2ZYGC6SS.cjs → chunk-25LPIZSX.cjs} +3 -3
- package/dist/{chunk-ARC7I3O2.mjs → chunk-26RUNDIR.mjs} +1 -1
- package/dist/{chunk-472NCAZ7.cjs → chunk-2FUIT2G2.cjs} +3 -3
- package/dist/{chunk-YFYUYWL7.cjs → chunk-32TZ3QTP.cjs} +723 -454
- package/dist/{chunk-CQMVIOYP.mjs → chunk-35WS7P2V.mjs} +29 -131
- package/dist/{chunk-QTXBII4Z.cjs → chunk-3TB5QGUW.cjs} +5 -5
- package/dist/chunk-45QJHGZM.cjs +1063 -0
- package/dist/{chunk-677THUVP.mjs → chunk-4C7KTKX7.mjs} +1 -1
- package/dist/{chunk-FUZEBRP3.mjs → chunk-4GP3XZ4Z.mjs} +5 -3
- package/dist/{chunk-KTSUBU2E.mjs → chunk-4KQDHTWX.mjs} +2 -2
- package/dist/chunk-4TLUFAIP.cjs +92 -0
- package/dist/chunk-4U5XZDLG.cjs +80 -0
- package/dist/{chunk-P664ZVTV.mjs → chunk-4ZZNPK25.mjs} +2 -2
- package/dist/{chunk-KIIMAWOJ.cjs → chunk-5NAVKJCZ.cjs} +35 -105
- package/dist/{chunk-LSKZMJMP.cjs → chunk-64SBBZDU.cjs} +38 -1
- package/dist/chunk-6BWKJ6QS.cjs +43 -0
- package/dist/{chunk-JSROZYYO.cjs → chunk-6D24SDKO.cjs} +1 -20
- package/dist/chunk-6IZWX6ES.cjs +74 -0
- package/dist/{chunk-QRKIMN7T.mjs → chunk-6LVRDOAW.mjs} +32 -6
- package/dist/{chunk-YWN746US.cjs → chunk-6MVFHNYZ.cjs} +85 -54
- package/dist/{chunk-VWBHM3F6.mjs → chunk-6PKXK4TY.mjs} +3 -3
- package/dist/chunk-6QOLZITB.cjs +22 -0
- package/dist/{chunk-OAHTRMIC.mjs → chunk-724JLMS4.mjs} +11 -11
- package/dist/chunk-7GNWGLWB.mjs +14 -0
- package/dist/{chunk-34UCJRQO.cjs → chunk-7RNAKBWF.cjs} +2 -2
- package/dist/{chunk-U6QLDL3G.mjs → chunk-7UEEHAW7.mjs} +1 -1
- package/dist/{chunk-UPJLHLJU.cjs → chunk-ALPWLT27.cjs} +4 -4
- package/dist/{chunk-ATSDUUFK.mjs → chunk-AX7S67YV.mjs} +33 -40
- package/dist/{chunk-MSSFIQGM.mjs → chunk-B2GSRB3P.mjs} +41 -10
- package/dist/chunk-BGGWKZ2V.mjs +6096 -0
- package/dist/{chunk-H5CLOUZS.cjs → chunk-BMOBTMDR.cjs} +5 -5
- package/dist/{chunk-Q2KB32T4.mjs → chunk-BPNRQ5BA.mjs} +6 -6
- package/dist/{chunk-E2ROOWQC.cjs → chunk-BPOTSHDO.cjs} +24 -87
- package/dist/chunk-BRYPZIMB.mjs +6 -0
- package/dist/{chunk-WFRT7JPX.mjs → chunk-BYQVROIP.mjs} +2 -2
- package/dist/{chunk-HALDNTIV.mjs → chunk-BYR3RQPB.mjs} +10 -73
- package/dist/{chunk-5PWXMJOH.cjs → chunk-C5KVWHIH.cjs} +36 -36
- package/dist/chunk-CALY6QG6.mjs +963 -0
- package/dist/{chunk-WC5UV2HQ.cjs → chunk-CBXBGM72.cjs} +2 -2
- package/dist/{chunk-WW46B6HA.cjs → chunk-CGR525MJ.cjs} +84 -45
- package/dist/{chunk-6V4TDWEC.cjs → chunk-CGVPXIRN.cjs} +18 -1
- package/dist/chunk-COABSY3U.mjs +196 -0
- package/dist/chunk-CZS6OACQ.mjs +63 -0
- package/dist/{chunk-SGBJ247Q.cjs → chunk-D4ROBNTK.cjs} +2 -2
- package/dist/{chunk-WEW2JVA4.cjs → chunk-D5IHNDHI.cjs} +6 -6
- package/dist/{chunk-QG775BRV.cjs → chunk-D64OPY6A.cjs} +72 -54
- package/dist/{chunk-QUCXCDE2.cjs → chunk-EH3464KF.cjs} +1 -1
- package/dist/{chunk-75HN5IZ3.mjs → chunk-ENOBPDKZ.mjs} +21 -19
- package/dist/{chunk-HD5CF3OE.mjs → chunk-ETPEZLS3.mjs} +2 -2
- package/dist/{chunk-HRETEZ2Z.cjs → chunk-EX4MKHXN.cjs} +37 -35
- package/dist/{chunk-TO4GJ56K.cjs → chunk-FEYQCYT7.cjs} +58 -18
- package/dist/chunk-FGH3ZXTP.mjs +1063 -0
- package/dist/{chunk-CUM5NYL5.mjs → chunk-FIAPD365.mjs} +1 -1
- package/dist/{chunk-HYTZYOW2.mjs → chunk-FJGIVDA5.mjs} +1197 -7906
- package/dist/chunk-FVPXT2JR.cjs +63 -0
- package/dist/{chunk-MYIZXDZA.mjs → chunk-FWCGUVVL.mjs} +1 -1
- package/dist/{chunk-D2ULAULS.cjs → chunk-FXFKIJDA.cjs} +9 -7
- package/dist/{chunk-RW63BOV7.cjs → chunk-GB7LDGY5.cjs} +2 -2
- package/dist/chunk-GC3EM6H4.mjs +80 -0
- package/dist/{chunk-E3UK5IIB.cjs → chunk-GS3WR5HX.cjs} +5 -3
- package/dist/{chunk-QFW2IH5E.mjs → chunk-GZTUT75U.mjs} +5 -2
- package/dist/chunk-H3EGVQE5.mjs +22 -0
- package/dist/chunk-HANGSYMB.mjs +67 -0
- package/dist/{chunk-RSOJ7DRT.mjs → chunk-HCSVR4YZ.mjs} +1 -58
- package/dist/{chunk-QYMZOOC5.mjs → chunk-HJ64F4GS.mjs} +12 -44
- package/dist/{chunk-P3PLW4FR.mjs → chunk-HKFBMHCD.mjs} +4 -4
- package/dist/{chunk-BXDJXFQG.cjs → chunk-I5MG3TKE.cjs} +4 -4
- package/dist/{chunk-VNGH5MLF.mjs → chunk-I6UVKUYK.mjs} +1 -1
- package/dist/{chunk-EPYU2EBL.mjs → chunk-IF4NU2NG.mjs} +1 -1
- package/dist/{chunk-WXJLNP33.cjs → chunk-IFWSR7YZ.cjs} +9 -7
- package/dist/{chunk-IVLZZZEI.mjs → chunk-IM7DY3ED.mjs} +1 -1
- package/dist/{chunk-W36M2BQ4.mjs → chunk-IN6RCKLL.mjs} +6 -5
- package/dist/{chunk-F5QO4FNE.mjs → chunk-INQ64HTJ.mjs} +43 -11
- package/dist/{chunk-SDOTRX3V.cjs → chunk-JEIG3EWE.cjs} +8 -8
- package/dist/{chunk-UWPLULNK.mjs → chunk-JGHCKIRI.mjs} +84 -24
- package/dist/{chunk-BFJTHYTN.mjs → chunk-JIYYX7WU.mjs} +10 -8
- package/dist/{chunk-CIOT4HGT.cjs → chunk-JOTUZIM4.cjs} +14 -14
- package/dist/{chunk-SKVTP5PR.mjs → chunk-JOW4HDJO.mjs} +1 -62
- package/dist/{chunk-6MVFL3R5.cjs → chunk-JR4QCLJY.cjs} +1 -58
- package/dist/{chunk-CGBDNNSM.cjs → chunk-KEXK442I.cjs} +44 -12
- package/dist/{chunk-FUCSUGDM.cjs → chunk-KF6VDJH7.cjs} +3 -3
- package/dist/{chunk-EA5K5BKU.mjs → chunk-KNHBTJP6.mjs} +18 -1
- package/dist/{chunk-MVL2RAJW.mjs → chunk-KYN5ODF6.mjs} +1 -1
- package/dist/{chunk-LMPAPBUA.cjs → chunk-L6A26QT5.cjs} +36 -68
- package/dist/{chunk-RVXFINNS.cjs → chunk-L6HYACBE.cjs} +31 -31
- package/dist/chunk-LFHCG2DU.mjs +43 -0
- package/dist/{chunk-5OKBARDN.cjs → chunk-LIZTLA5F.cjs} +12 -11
- package/dist/{chunk-HXRYZWTA.mjs → chunk-LLUA2LSC.mjs} +3 -3
- package/dist/{chunk-B5J2YVG7.cjs → chunk-LYIZHJTK.cjs} +2 -2
- package/dist/{chunk-3UEVPCGW.mjs → chunk-MEASUNVY.mjs} +6 -1
- package/dist/{chunk-FZ6YYU2W.mjs → chunk-MGMF4VP7.mjs} +38 -1
- package/dist/{chunk-CNNOLE4O.mjs → chunk-MHHCLYXU.mjs} +1 -1
- package/dist/{chunk-HRSAQ23K.cjs → chunk-MHN4UR5U.cjs} +4 -4
- package/dist/{chunk-3LOLJTFV.cjs → chunk-MN4TQJ3W.cjs} +11 -11
- package/dist/{chunk-PGZDEPTM.cjs → chunk-MY5PZYAD.cjs} +10 -10
- package/dist/{chunk-ZXH4TS3F.cjs → chunk-NBPNUQYO.cjs} +3 -64
- package/dist/{chunk-VXEEATVD.cjs → chunk-NFG4PUPI.cjs} +2 -2
- package/dist/{chunk-INL3THCU.mjs → chunk-O7USYJ4U.mjs} +1 -1
- package/dist/{chunk-4ZFL5GFN.cjs → chunk-OILHPMFX.cjs} +86 -26
- package/dist/{chunk-AJQTP4OO.mjs → chunk-OJ7JP7RJ.mjs} +1 -1
- package/dist/chunk-OQ4YXWH4.cjs +6097 -0
- package/dist/{chunk-DMEPTZTI.mjs → chunk-P2UJF4SS.mjs} +47 -7
- package/dist/{chunk-T5OJPTVN.cjs → chunk-P4TYB4SF.cjs} +2 -2
- package/dist/chunk-P7XDC7UJ.mjs +92 -0
- package/dist/{chunk-SHLXACIO.cjs → chunk-PJ42JESY.cjs} +1 -9
- package/dist/{chunk-5ULKUBIA.cjs → chunk-PN676AZF.cjs} +6 -6
- package/dist/{chunk-YKZRDB5Z.mjs → chunk-PYHPXPSW.mjs} +2 -2
- package/dist/{chunk-KMTGADN3.mjs → chunk-QCVIRVHE.mjs} +1 -9
- package/dist/{chunk-5D2JIPLH.cjs → chunk-QEILRWVV.cjs} +36 -138
- package/dist/{chunk-XKG2BLFN.cjs → chunk-QIBP5EFA.cjs} +18 -35
- package/dist/{chunk-ZUPXLIGB.mjs → chunk-R65GCA6A.mjs} +647 -378
- package/dist/{chunk-BWIQR4DH.cjs → chunk-RHGK2JEN.cjs} +56 -63
- package/dist/{chunk-AS2VPMEE.cjs → chunk-ROQ4C4LJ.cjs} +1465 -8174
- package/dist/{chunk-QV4VE2OW.mjs → chunk-S6ENKNNG.mjs} +5 -3
- package/dist/{chunk-RWFLWR5J.cjs → chunk-S7MTDRYA.cjs} +17 -15
- package/dist/{chunk-PVZE2JGJ.mjs → chunk-SGB4IW7K.mjs} +43 -25
- package/dist/{chunk-GKBWWRBG.mjs → chunk-SVPGWJZF.mjs} +12 -12
- package/dist/{chunk-EKN7NSZO.cjs → chunk-SZLNU3GJ.cjs} +8 -5
- package/dist/chunk-TI7UANHI.cjs +77 -0
- package/dist/{chunk-6BK3K2GB.mjs → chunk-UIDWEU7M.mjs} +83 -44
- package/dist/{chunk-MLY2RP5R.mjs → chunk-ULQOP5UI.mjs} +6 -2
- package/dist/chunk-UNJZGVPU.cjs +6 -0
- package/dist/{chunk-5BWWFHR2.mjs → chunk-UQUEANTY.mjs} +3 -3
- package/dist/chunk-VDRM36QB.cjs +963 -0
- package/dist/chunk-VHRS3MCW.cjs +196 -0
- package/dist/{chunk-SOP2EAA6.mjs → chunk-VLPII2JJ.mjs} +1 -1
- package/dist/{chunk-RG4A6LB2.cjs → chunk-VNPXKF3G.cjs} +7 -7
- package/dist/chunk-VQDBNVOO.cjs +14 -0
- package/dist/chunk-VQGKD7RV.mjs +25 -0
- package/dist/{chunk-6HB6V3R7.mjs → chunk-VTBXE6QG.mjs} +10 -27
- package/dist/{chunk-ZMSZZXOR.mjs → chunk-WDMIW6Q6.mjs} +0 -19
- package/dist/{chunk-NBBEQLOK.cjs → chunk-WLHA5USH.cjs} +9 -9
- package/dist/{chunk-BZHXGVMA.mjs → chunk-WMBRZI5V.mjs} +5 -3
- package/dist/{chunk-4WVJLURN.mjs → chunk-WMHG64DA.mjs} +1 -1
- package/dist/{chunk-JCYYXBAJ.cjs → chunk-WROEFVNO.cjs} +3 -3
- package/dist/{chunk-A657YSP4.cjs → chunk-WSOBCAYO.cjs} +37 -35
- package/dist/{chunk-IWZKTWHZ.cjs → chunk-WU7ZS3EM.cjs} +7 -2
- package/dist/{chunk-J63ZH5OQ.cjs → chunk-X3GMHKO3.cjs} +2 -2
- package/dist/{chunk-POSPE3IO.mjs → chunk-X3NGFVRF.mjs} +61 -21
- package/dist/{chunk-VT4WFRHA.mjs → chunk-XUC6CFLE.mjs} +1 -1
- package/dist/chunk-Y5RG6B7S.mjs +77 -0
- package/dist/{chunk-EIPC3FDA.cjs → chunk-YWCYV7QC.cjs} +9 -5
- package/dist/{chunk-WLL43JMO.mjs → chunk-YYQVGKO5.mjs} +7 -5
- package/dist/chunk-YZAKIXRL.cjs +67 -0
- package/dist/chunk-ZQRCSUSB.cjs +25 -0
- package/dist/{chunk-6XWDE2P2.cjs → chunk-ZTP3BJG6.cjs} +64 -24
- package/dist/{chunk-ZMMBIVQM.mjs → chunk-ZZGQD7A4.mjs} +16 -86
- package/dist/{client-plugins-CsCuCLBz.d.mts → client-plugins-CkYwvDJ0.d.mts} +2545 -2665
- package/dist/{client-plugins-D0ke-Hc8.d.ts → client-plugins-DfeKd0sD.d.ts} +2545 -2665
- package/dist/client-plugins.d.mts +6 -8
- package/dist/client-plugins.d.ts +6 -8
- package/dist/client.cjs +5 -5
- package/dist/client.d.mts +12 -13
- package/dist/client.d.ts +12 -13
- package/dist/client.mjs +4 -4
- package/dist/client.react-server.mjs +2 -0
- package/dist/config.d.mts +6 -8
- package/dist/config.d.ts +6 -8
- package/dist/{devtools-LW4QQ5J3.cjs → devtools-2YHAJYH6.cjs} +21 -18
- package/dist/{devtools-5AFIPVUJ.mjs → devtools-N3QLRIQU.mjs} +20 -17
- package/dist/docs.cjs +23 -20
- package/dist/docs.d.mts +7 -9
- package/dist/docs.d.ts +7 -9
- package/dist/docs.mjs +22 -19
- package/dist/{endpoint-CA-TNX60.d.ts → endpoint-BOE0IAaG.d.ts} +6 -3
- package/dist/{endpoint-CCHFqyTE.d.mts → endpoint-DGZRZHux.d.mts} +6 -3
- package/dist/environment/vite.cjs +6 -2
- package/dist/environment/vite.d.mts +11 -2
- package/dist/environment/vite.d.ts +11 -2
- package/dist/environment/vite.mjs +5 -1
- package/dist/headers.cjs +4 -4
- package/dist/headers.mjs +3 -3
- package/dist/image/server.cjs +7 -3
- package/dist/image/server.d.mts +10 -2
- package/dist/image/server.d.ts +10 -2
- package/dist/image/server.mjs +6 -2
- package/dist/image/sharp.cjs +12 -10
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/image/sharp.mjs +4 -2
- package/dist/{image-config-Duob7wER.d.ts → image-config-BpH1q5R8.d.mts} +4 -1
- package/dist/{image-config-Duob7wER.d.mts → image-config-BpH1q5R8.d.ts} +4 -1
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/index.cjs +90 -68
- package/dist/index.d.mts +28 -145
- package/dist/index.d.ts +28 -145
- package/dist/index.mjs +103 -81
- package/dist/{integration-api-BPJo5oXb.d.ts → integration-api-BuPHMeKz.d.ts} +2 -2
- package/dist/{integration-api-0y4FXJpC.d.mts → integration-api-DWyMmvrR.d.mts} +2 -2
- package/dist/integration-orm-P2II2EBK.cjs +14 -0
- package/dist/{integration-orm-KV5B3BGZ.mjs → integration-orm-RBKCIQYZ.mjs} +4 -3
- package/dist/integrations.cjs +7 -5
- package/dist/integrations.d.mts +8 -10
- package/dist/integrations.d.ts +8 -10
- package/dist/integrations.mjs +6 -4
- package/dist/internal/app-markdown-runtime.cjs +6 -5
- package/dist/internal/app-markdown-runtime.d.mts +7 -9
- package/dist/internal/app-markdown-runtime.d.ts +7 -9
- package/dist/internal/app-markdown-runtime.mjs +5 -4
- package/dist/internal/build-runtime.cjs +57 -56
- package/dist/internal/build-runtime.d.mts +8 -10
- package/dist/internal/build-runtime.d.ts +8 -10
- package/dist/internal/build-runtime.mjs +56 -55
- package/dist/internal/cli-runtime.cjs +37 -31
- package/dist/internal/cli-runtime.mjs +37 -31
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +6 -8
- package/dist/internal/compression-runtime.d.ts +6 -8
- package/dist/internal/config-runtime.cjs +21 -18
- package/dist/internal/config-runtime.d.mts +7 -9
- package/dist/internal/config-runtime.d.ts +7 -9
- package/dist/internal/config-runtime.mjs +20 -17
- package/dist/internal/docs-precompiled-runtime.cjs +3 -3
- package/dist/internal/docs-precompiled-runtime.mjs +2 -2
- package/dist/internal/infra-analytics-runtime.cjs +7 -7
- package/dist/internal/infra-analytics-runtime.mjs +5 -5
- package/dist/internal/metadata-image-runtime.cjs +4 -3
- package/dist/internal/metadata-image-runtime.mjs +3 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-node-env.cjs +2 -2
- package/dist/internal/production-node-env.mjs +1 -1
- package/dist/internal/production-runtime.cjs +53 -28
- package/dist/internal/production-runtime.d.mts +46 -15
- package/dist/internal/production-runtime.d.ts +46 -15
- package/dist/internal/production-runtime.mjs +57 -32
- package/dist/layers-CM5i6T7z.d.mts +55 -0
- package/dist/layers-CM5i6T7z.d.ts +55 -0
- package/dist/markdown.cjs +4 -4
- package/dist/markdown.d.mts +6 -8
- package/dist/markdown.d.ts +6 -8
- package/dist/markdown.mjs +3 -3
- package/dist/middleware.cjs +16 -10
- package/dist/middleware.d.mts +8 -10
- package/dist/middleware.d.ts +8 -10
- package/dist/middleware.mjs +19 -13
- package/dist/navigation.cjs +4 -4
- package/dist/navigation.d.mts +9 -10
- package/dist/navigation.d.ts +9 -10
- package/dist/navigation.mjs +3 -3
- package/dist/{nitro-MPZJGPXK.mjs → nitro-KDACKNHU.mjs} +3 -2
- package/dist/{nitro-7F65EZZS.cjs → nitro-NPGU6VBT.cjs} +4 -3
- package/dist/observability.cjs +2 -2
- package/dist/observability.mjs +1 -1
- package/dist/plugin-DBBZ4JI2.cjs +32 -0
- package/dist/plugin-SYMK7PQ2.mjs +32 -0
- package/dist/plugin.cjs +56 -43
- package/dist/plugin.d.mts +25 -8
- package/dist/plugin.d.ts +25 -8
- package/dist/plugin.mjs +57 -44
- package/dist/{production-runtime-DfRP0cV0.d.mts → production-runtime-BTkXQdYy.d.mts} +17 -3
- package/dist/{production-runtime-BaI3WHnV.d.ts → production-runtime-DFC7pgbp.d.ts} +17 -3
- package/dist/query/client.cjs +2 -2
- package/dist/query/client.mjs +3 -3
- package/dist/{render-plan-Dg8RBYFa.d.mts → render-plan-5rFeWmk7.d.mts} +1 -1
- package/dist/{render-plan-CfIdJKAf.d.ts → render-plan-BoAK9xFC.d.ts} +1 -1
- package/dist/renderer-client.d.mts +8 -9
- package/dist/renderer-client.d.ts +8 -9
- package/dist/{request-DfE02G_A.d.mts → request-BxBWigtl.d.mts} +1 -1
- package/dist/{request-CEbHIIl4.d.ts → request-fciwmd3n.d.ts} +1 -1
- package/dist/request.cjs +3 -3
- package/dist/request.d.mts +7 -9
- package/dist/request.d.ts +7 -9
- package/dist/request.mjs +2 -2
- package/dist/{route-rendering-C4oHbv6C.d.ts → route-rendering-BCM1QzEf.d.mts} +1 -1
- package/dist/{route-rendering-BHyOfXjD.d.mts → route-rendering-BLZT0IP0.d.ts} +1 -1
- package/dist/{router-uRN_29Em.d.ts → router-CkheNX3-.d.ts} +1 -1
- package/dist/{router-DwhA61SB.d.mts → router-DyZJWc1_.d.mts} +1 -1
- package/dist/routes.cjs +6 -5
- package/dist/routes.d.mts +6 -8
- package/dist/routes.d.ts +6 -8
- package/dist/routes.mjs +5 -4
- package/dist/{runtime-COk03hmx.d.ts → runtime-DfU4sKa5.d.ts} +3 -3
- package/dist/{runtime-BEdHhN4C.d.mts → runtime-wexvUN5J.d.mts} +3 -3
- package/dist/{schema-dev-notice-Y7MQEFGN.cjs → schema-dev-notice-5JPE67AI.cjs} +6 -4
- package/dist/{schema-dev-notice-O67CPXJ6.mjs → schema-dev-notice-WLPZ6WKU.mjs} +4 -2
- package/dist/server-action-security.cjs +4 -3
- package/dist/server-action-security.mjs +3 -2
- package/dist/server-client-bridge-DKWDl5NB.d.mts +7 -0
- package/dist/server-client-bridge-DKWDl5NB.d.ts +7 -0
- package/dist/server-fn-client.d.mts +3 -3
- package/dist/server-fn-client.d.ts +3 -3
- package/dist/server-fn.cjs +8 -7
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-fn.mjs +7 -6
- package/dist/server-plugins.cjs +5 -5
- package/dist/server-plugins.d.mts +7 -9
- package/dist/server-plugins.d.ts +7 -9
- package/dist/server-plugins.mjs +4 -4
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.cjs +9 -8
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server-query.mjs +8 -7
- package/dist/server.cjs +97 -73
- package/dist/server.d.mts +18 -13
- package/dist/server.d.ts +18 -13
- package/dist/server.mjs +82 -58
- package/dist/{spa-router-DrVOBVGg.d.ts → spa-router-CcejECnG.d.ts} +2 -2
- package/dist/{spa-router-w4aFOuyn.d.mts → spa-router-DgsMXqfX.d.mts} +2 -2
- package/dist/ssg-1FGaFISl.d.ts +184 -0
- package/dist/ssg-Bg4bMMhM.d.mts +184 -0
- package/dist/storage.cjs +6 -2
- package/dist/storage.d.mts +9 -1
- package/dist/storage.d.ts +9 -1
- package/dist/storage.mjs +5 -1
- package/dist/testing.cjs +20 -18
- package/dist/testing.d.mts +7 -9
- package/dist/testing.d.ts +7 -9
- package/dist/testing.mjs +16 -14
- package/dist/theme/server.cjs +4 -4
- package/dist/theme/server.mjs +3 -3
- package/dist/{utils-Dhuqwmd2.d.ts → utils-8wtTYiH4.d.mts} +1 -1
- package/dist/{utils-BtYehqeU.d.mts → utils-Dxbh6Hgj.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +75 -46
- package/dist/vite.d.mts +130 -11
- package/dist/vite.d.ts +130 -11
- package/dist/vite.mjs +76 -47
- package/dist/{workflows-jZ4BcdoZ.d.ts → workflows-IWP1ddBm.d.mts} +5 -2
- package/dist/{workflows-jZ4BcdoZ.d.mts → workflows-IWP1ddBm.d.ts} +5 -2
- package/dist/workflows.cjs +4 -3
- package/dist/workflows.d.mts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.mjs +3 -2
- package/package.json +3 -1
- package/dist/chunk-3SDFA7UF.cjs +0 -701
- package/dist/chunk-DAO7JGTS.mjs +0 -73
- package/dist/chunk-E5GNDG5F.mjs +0 -701
- package/dist/chunk-SYQ3MOWW.cjs +0 -73
- package/dist/chunk-ULASELLA.cjs +0 -48
- package/dist/integration-orm-55F7CII5.cjs +0 -13
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-BLZT0IP0.js';
|
|
2
|
+
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-DfeKd0sD.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
6
|
+
* component, never the routes file. Guards, data hooks, static paths, generated metadata, API
|
|
7
|
+
* handlers, and whatever the routes file imports for them stay out of the client graph because
|
|
8
|
+
* the client graph never reaches the routes file.
|
|
9
|
+
*
|
|
10
|
+
* Farm already evaluates the routes file on the server to build its route table. That
|
|
11
|
+
* evaluation also tells it where each component lives: the server module graph holds every
|
|
12
|
+
* module the routes file reached, with its exports, so the module that exports the very
|
|
13
|
+
* function (or object) a route uses as its `component` is that component's own module. This
|
|
14
|
+
* works for any way the route list is built (helpers, re-exported lists, assignments, aliases)
|
|
15
|
+
* because it reads the evaluated value instead of the routes file's syntax. A component that no
|
|
16
|
+
* other module exports (declared in the routes file, or computed there) has no module to
|
|
17
|
+
* import, so a client build that needs it fails with an actionable error.
|
|
18
|
+
*
|
|
19
|
+
* A module that holds route definitions is never a component's client import, however it holds
|
|
20
|
+
* them: Farm finds definitions in every evaluated module's exports (inside objects, arrays,
|
|
21
|
+
* maps, and sets), and route factories record the module that called them while routes are
|
|
22
|
+
* evaluated, which also finds definitions kept behind a function. A definition written as an
|
|
23
|
+
* object literal and kept out of every export can't be traced, so then a component module is
|
|
24
|
+
* accepted only when neither it nor anything it imports holds route-defining code.
|
|
25
|
+
*/
|
|
26
|
+
type ProgrammaticClientRouteKind = "page" | "layout";
|
|
27
|
+
interface ProgrammaticClientModuleExport {
|
|
28
|
+
/** Absolute path of the module that exports the value. */
|
|
29
|
+
file: string;
|
|
30
|
+
/** The export name that holds it. */
|
|
31
|
+
exportName: string;
|
|
32
|
+
}
|
|
33
|
+
interface ProgrammaticClientRoute {
|
|
34
|
+
kind: ProgrammaticClientRouteKind;
|
|
35
|
+
path: string;
|
|
36
|
+
/** Absolute path of the routes file that defines the route. */
|
|
37
|
+
routesFile: string;
|
|
38
|
+
component?: ProgrammaticClientModuleExport;
|
|
39
|
+
pending?: ProgrammaticClientModuleExport;
|
|
40
|
+
/**
|
|
41
|
+
* The route options the server resolves into the page's props (params, search, guard, data).
|
|
42
|
+
* The browser copy renders only from props the server resolved.
|
|
43
|
+
*/
|
|
44
|
+
serverProps?: string[];
|
|
45
|
+
/** Why the browser copy can't be generated, when it can't. */
|
|
46
|
+
problem?: string;
|
|
47
|
+
}
|
|
48
|
+
interface ProgrammaticClientRoutes {
|
|
49
|
+
/** Keyed by {@link programmaticClientRouteKey}. */
|
|
50
|
+
routes: ReadonlyMap<string, ProgrammaticClientRoute>;
|
|
51
|
+
/**
|
|
52
|
+
* Routes files and the modules that export route definitions. None of them may enter the
|
|
53
|
+
* client graph.
|
|
54
|
+
*/
|
|
55
|
+
routeSourceFiles: ReadonlySet<string>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Farm.js SSG (Static Site Generation) Module
|
|
60
|
+
*
|
|
61
|
+
* Handles collection and pre-rendering of SSG pages at build time.
|
|
62
|
+
*
|
|
63
|
+
* SSR is the default - pages render on each request
|
|
64
|
+
* SSG is opt-in via `export const ssg = true`, Next-compatible route
|
|
65
|
+
* config exports, or a top-of-file rendering directive.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx
|
|
69
|
+
* // SSG Page
|
|
70
|
+
* export const ssg = true;
|
|
71
|
+
* export default function AboutPage() {
|
|
72
|
+
* return <h1>About</h1>;
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* // SSG with ISR
|
|
76
|
+
* export const ssg = true;
|
|
77
|
+
* export const revalidate = 60;
|
|
78
|
+
* export default async function ProductsPage() {
|
|
79
|
+
* const products = await fetchProducts();
|
|
80
|
+
* return <ProductList products={products} />;
|
|
81
|
+
* }
|
|
82
|
+
*
|
|
83
|
+
* // Dynamic SSG
|
|
84
|
+
* export const ssg = true;
|
|
85
|
+
* export async function getStaticPaths() {
|
|
86
|
+
* const posts = await fetchPosts();
|
|
87
|
+
* return posts.map(post => ({ slug: post.slug }));
|
|
88
|
+
* }
|
|
89
|
+
* export default async function BlogPost({ params }) {
|
|
90
|
+
* return <article>{params.slug}</article>;
|
|
91
|
+
* }
|
|
92
|
+
*
|
|
93
|
+
* // Next-compatible route config
|
|
94
|
+
* export const dynamic = "force-static";
|
|
95
|
+
* export const revalidate = 60;
|
|
96
|
+
*
|
|
97
|
+
* // PPR/static-shell route
|
|
98
|
+
* export const experimental_ppr = true;
|
|
99
|
+
* export const revalidate = 60;
|
|
100
|
+
*
|
|
101
|
+
* // Directive config
|
|
102
|
+
* "use ssg; 60";
|
|
103
|
+
* export default function DocsPage() {
|
|
104
|
+
* return <h1>Docs</h1>;
|
|
105
|
+
* }
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
interface RouteEntry {
|
|
110
|
+
path: string;
|
|
111
|
+
filePath: string;
|
|
112
|
+
isDynamic: boolean;
|
|
113
|
+
pattern: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
interface StaticRouteCandidateAnalysis {
|
|
117
|
+
candidate: boolean;
|
|
118
|
+
blockers: string[];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Resolve the effective rendering mode. Direct request reads make an explicitly
|
|
122
|
+
* static route dynamic so request-specific HTML cannot enter a shared artifact.
|
|
123
|
+
*/
|
|
124
|
+
declare function resolveRouteRenderingConfig(mod: RouteModule | null | undefined, source?: string, options?: RouteRenderingOptions): RouteRenderingConfig;
|
|
125
|
+
declare function resolveRouteRenderingConfigFromFile(mod: RouteModule | null | undefined, filePath: string, options?: RouteRenderingOptions): Promise<RouteRenderingConfig>;
|
|
126
|
+
/**
|
|
127
|
+
* Conservatively identify a route that may be safe to pre-render.
|
|
128
|
+
*
|
|
129
|
+
* This intentionally produces a suggestion rather than changing rendering:
|
|
130
|
+
* request-bound work can live in a transitive import, which source inspection
|
|
131
|
+
* of the route module cannot prove safe. Explicit route config always wins.
|
|
132
|
+
*/
|
|
133
|
+
declare function analyzeStaticRouteCandidate(mod: RouteModule | null | undefined, source: string | undefined, options?: {
|
|
134
|
+
isDynamic?: boolean;
|
|
135
|
+
}): StaticRouteCandidateAnalysis;
|
|
136
|
+
declare function findRequestBoundSourceBlockers(source: string): string[];
|
|
137
|
+
declare function parseRouteRenderingDirective(source: string | undefined): DirectiveRenderingConfig | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* A route's rendering directive as the production runtime needs it: the parsed directive plus
|
|
140
|
+
* whether its source reads request state. The runtime only sees module exports, so the build
|
|
141
|
+
* decides `requestBound` here and bakes it into the generated server entry, where
|
|
142
|
+
* `mergeRouteRenderingDirectiveConfig` combines it with the module's exports.
|
|
143
|
+
*/
|
|
144
|
+
declare function readRouteRenderingDirectiveFromFile(modulePath: string): DirectiveRenderingConfig | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Collect SSG pages from route modules
|
|
147
|
+
*
|
|
148
|
+
* Scans all routes and categorizes them into:
|
|
149
|
+
* - SSG pages: Pre-rendered at build time
|
|
150
|
+
* - SSR routes: Rendered on each request
|
|
151
|
+
*
|
|
152
|
+
* @param routes - Array of route entries
|
|
153
|
+
* @param loadModule - Function to load a route module
|
|
154
|
+
* @returns SSG pages and SSR routes
|
|
155
|
+
*/
|
|
156
|
+
declare function collectSSGPages(routes: RouteEntry[], loadModule: (filePath: string) => Promise<RouteModule>, options?: {
|
|
157
|
+
suggestStaticRendering?: boolean;
|
|
158
|
+
}): Promise<SSGCollectionResult>;
|
|
159
|
+
/**
|
|
160
|
+
* Check if a route module is SSG
|
|
161
|
+
*/
|
|
162
|
+
declare function isSSGModule(mod: RouteModule | null | undefined): boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Check if a route module has ISR (Incremental Static Regeneration)
|
|
165
|
+
*/
|
|
166
|
+
declare function hasISR(mod: RouteModule | null | undefined): boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Get revalidation interval for a module
|
|
169
|
+
*/
|
|
170
|
+
declare function getRevalidateInterval(mod: RouteModule | null | undefined): number | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Check if a route module has PPR/static-shell caching enabled.
|
|
173
|
+
*/
|
|
174
|
+
declare function hasPPR(mod: RouteModule | null | undefined, options?: RouteRenderingOptions): boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Generate SSG manifest for production builds
|
|
177
|
+
*/
|
|
178
|
+
declare function generateSSGManifest(pages: SSGPage[]): string;
|
|
179
|
+
/**
|
|
180
|
+
* Check if a URL path matches an SSG page
|
|
181
|
+
*/
|
|
182
|
+
declare function matchSSGPage(urlPath: string, ssgPages: SSGPage[]): SSGPage | undefined;
|
|
183
|
+
|
|
184
|
+
export { type ProgrammaticClientRoutes as P, type StaticRouteCandidateAnalysis as S, resolveRouteRenderingConfig as a, resolveRouteRenderingConfigFromFile as b, analyzeStaticRouteCandidate as c, collectSSGPages as d, hasPPR as e, findRequestBoundSourceBlockers as f, getRevalidateInterval as g, hasISR as h, isSSGModule as i, generateSSGManifest as j, matchSSGPage as m, parseRouteRenderingDirective as p, readRouteRenderingDirectiveFromFile as r };
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-BCM1QzEf.mjs';
|
|
2
|
+
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-CkYwvDJ0.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
6
|
+
* component, never the routes file. Guards, data hooks, static paths, generated metadata, API
|
|
7
|
+
* handlers, and whatever the routes file imports for them stay out of the client graph because
|
|
8
|
+
* the client graph never reaches the routes file.
|
|
9
|
+
*
|
|
10
|
+
* Farm already evaluates the routes file on the server to build its route table. That
|
|
11
|
+
* evaluation also tells it where each component lives: the server module graph holds every
|
|
12
|
+
* module the routes file reached, with its exports, so the module that exports the very
|
|
13
|
+
* function (or object) a route uses as its `component` is that component's own module. This
|
|
14
|
+
* works for any way the route list is built (helpers, re-exported lists, assignments, aliases)
|
|
15
|
+
* because it reads the evaluated value instead of the routes file's syntax. A component that no
|
|
16
|
+
* other module exports (declared in the routes file, or computed there) has no module to
|
|
17
|
+
* import, so a client build that needs it fails with an actionable error.
|
|
18
|
+
*
|
|
19
|
+
* A module that holds route definitions is never a component's client import, however it holds
|
|
20
|
+
* them: Farm finds definitions in every evaluated module's exports (inside objects, arrays,
|
|
21
|
+
* maps, and sets), and route factories record the module that called them while routes are
|
|
22
|
+
* evaluated, which also finds definitions kept behind a function. A definition written as an
|
|
23
|
+
* object literal and kept out of every export can't be traced, so then a component module is
|
|
24
|
+
* accepted only when neither it nor anything it imports holds route-defining code.
|
|
25
|
+
*/
|
|
26
|
+
type ProgrammaticClientRouteKind = "page" | "layout";
|
|
27
|
+
interface ProgrammaticClientModuleExport {
|
|
28
|
+
/** Absolute path of the module that exports the value. */
|
|
29
|
+
file: string;
|
|
30
|
+
/** The export name that holds it. */
|
|
31
|
+
exportName: string;
|
|
32
|
+
}
|
|
33
|
+
interface ProgrammaticClientRoute {
|
|
34
|
+
kind: ProgrammaticClientRouteKind;
|
|
35
|
+
path: string;
|
|
36
|
+
/** Absolute path of the routes file that defines the route. */
|
|
37
|
+
routesFile: string;
|
|
38
|
+
component?: ProgrammaticClientModuleExport;
|
|
39
|
+
pending?: ProgrammaticClientModuleExport;
|
|
40
|
+
/**
|
|
41
|
+
* The route options the server resolves into the page's props (params, search, guard, data).
|
|
42
|
+
* The browser copy renders only from props the server resolved.
|
|
43
|
+
*/
|
|
44
|
+
serverProps?: string[];
|
|
45
|
+
/** Why the browser copy can't be generated, when it can't. */
|
|
46
|
+
problem?: string;
|
|
47
|
+
}
|
|
48
|
+
interface ProgrammaticClientRoutes {
|
|
49
|
+
/** Keyed by {@link programmaticClientRouteKey}. */
|
|
50
|
+
routes: ReadonlyMap<string, ProgrammaticClientRoute>;
|
|
51
|
+
/**
|
|
52
|
+
* Routes files and the modules that export route definitions. None of them may enter the
|
|
53
|
+
* client graph.
|
|
54
|
+
*/
|
|
55
|
+
routeSourceFiles: ReadonlySet<string>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Farm.js SSG (Static Site Generation) Module
|
|
60
|
+
*
|
|
61
|
+
* Handles collection and pre-rendering of SSG pages at build time.
|
|
62
|
+
*
|
|
63
|
+
* SSR is the default - pages render on each request
|
|
64
|
+
* SSG is opt-in via `export const ssg = true`, Next-compatible route
|
|
65
|
+
* config exports, or a top-of-file rendering directive.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx
|
|
69
|
+
* // SSG Page
|
|
70
|
+
* export const ssg = true;
|
|
71
|
+
* export default function AboutPage() {
|
|
72
|
+
* return <h1>About</h1>;
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* // SSG with ISR
|
|
76
|
+
* export const ssg = true;
|
|
77
|
+
* export const revalidate = 60;
|
|
78
|
+
* export default async function ProductsPage() {
|
|
79
|
+
* const products = await fetchProducts();
|
|
80
|
+
* return <ProductList products={products} />;
|
|
81
|
+
* }
|
|
82
|
+
*
|
|
83
|
+
* // Dynamic SSG
|
|
84
|
+
* export const ssg = true;
|
|
85
|
+
* export async function getStaticPaths() {
|
|
86
|
+
* const posts = await fetchPosts();
|
|
87
|
+
* return posts.map(post => ({ slug: post.slug }));
|
|
88
|
+
* }
|
|
89
|
+
* export default async function BlogPost({ params }) {
|
|
90
|
+
* return <article>{params.slug}</article>;
|
|
91
|
+
* }
|
|
92
|
+
*
|
|
93
|
+
* // Next-compatible route config
|
|
94
|
+
* export const dynamic = "force-static";
|
|
95
|
+
* export const revalidate = 60;
|
|
96
|
+
*
|
|
97
|
+
* // PPR/static-shell route
|
|
98
|
+
* export const experimental_ppr = true;
|
|
99
|
+
* export const revalidate = 60;
|
|
100
|
+
*
|
|
101
|
+
* // Directive config
|
|
102
|
+
* "use ssg; 60";
|
|
103
|
+
* export default function DocsPage() {
|
|
104
|
+
* return <h1>Docs</h1>;
|
|
105
|
+
* }
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
interface RouteEntry {
|
|
110
|
+
path: string;
|
|
111
|
+
filePath: string;
|
|
112
|
+
isDynamic: boolean;
|
|
113
|
+
pattern: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
interface StaticRouteCandidateAnalysis {
|
|
117
|
+
candidate: boolean;
|
|
118
|
+
blockers: string[];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Resolve the effective rendering mode. Direct request reads make an explicitly
|
|
122
|
+
* static route dynamic so request-specific HTML cannot enter a shared artifact.
|
|
123
|
+
*/
|
|
124
|
+
declare function resolveRouteRenderingConfig(mod: RouteModule | null | undefined, source?: string, options?: RouteRenderingOptions): RouteRenderingConfig;
|
|
125
|
+
declare function resolveRouteRenderingConfigFromFile(mod: RouteModule | null | undefined, filePath: string, options?: RouteRenderingOptions): Promise<RouteRenderingConfig>;
|
|
126
|
+
/**
|
|
127
|
+
* Conservatively identify a route that may be safe to pre-render.
|
|
128
|
+
*
|
|
129
|
+
* This intentionally produces a suggestion rather than changing rendering:
|
|
130
|
+
* request-bound work can live in a transitive import, which source inspection
|
|
131
|
+
* of the route module cannot prove safe. Explicit route config always wins.
|
|
132
|
+
*/
|
|
133
|
+
declare function analyzeStaticRouteCandidate(mod: RouteModule | null | undefined, source: string | undefined, options?: {
|
|
134
|
+
isDynamic?: boolean;
|
|
135
|
+
}): StaticRouteCandidateAnalysis;
|
|
136
|
+
declare function findRequestBoundSourceBlockers(source: string): string[];
|
|
137
|
+
declare function parseRouteRenderingDirective(source: string | undefined): DirectiveRenderingConfig | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* A route's rendering directive as the production runtime needs it: the parsed directive plus
|
|
140
|
+
* whether its source reads request state. The runtime only sees module exports, so the build
|
|
141
|
+
* decides `requestBound` here and bakes it into the generated server entry, where
|
|
142
|
+
* `mergeRouteRenderingDirectiveConfig` combines it with the module's exports.
|
|
143
|
+
*/
|
|
144
|
+
declare function readRouteRenderingDirectiveFromFile(modulePath: string): DirectiveRenderingConfig | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Collect SSG pages from route modules
|
|
147
|
+
*
|
|
148
|
+
* Scans all routes and categorizes them into:
|
|
149
|
+
* - SSG pages: Pre-rendered at build time
|
|
150
|
+
* - SSR routes: Rendered on each request
|
|
151
|
+
*
|
|
152
|
+
* @param routes - Array of route entries
|
|
153
|
+
* @param loadModule - Function to load a route module
|
|
154
|
+
* @returns SSG pages and SSR routes
|
|
155
|
+
*/
|
|
156
|
+
declare function collectSSGPages(routes: RouteEntry[], loadModule: (filePath: string) => Promise<RouteModule>, options?: {
|
|
157
|
+
suggestStaticRendering?: boolean;
|
|
158
|
+
}): Promise<SSGCollectionResult>;
|
|
159
|
+
/**
|
|
160
|
+
* Check if a route module is SSG
|
|
161
|
+
*/
|
|
162
|
+
declare function isSSGModule(mod: RouteModule | null | undefined): boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Check if a route module has ISR (Incremental Static Regeneration)
|
|
165
|
+
*/
|
|
166
|
+
declare function hasISR(mod: RouteModule | null | undefined): boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Get revalidation interval for a module
|
|
169
|
+
*/
|
|
170
|
+
declare function getRevalidateInterval(mod: RouteModule | null | undefined): number | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Check if a route module has PPR/static-shell caching enabled.
|
|
173
|
+
*/
|
|
174
|
+
declare function hasPPR(mod: RouteModule | null | undefined, options?: RouteRenderingOptions): boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Generate SSG manifest for production builds
|
|
177
|
+
*/
|
|
178
|
+
declare function generateSSGManifest(pages: SSGPage[]): string;
|
|
179
|
+
/**
|
|
180
|
+
* Check if a URL path matches an SSG page
|
|
181
|
+
*/
|
|
182
|
+
declare function matchSSGPage(urlPath: string, ssgPages: SSGPage[]): SSGPage | undefined;
|
|
183
|
+
|
|
184
|
+
export { type ProgrammaticClientRoutes as P, type StaticRouteCandidateAnalysis as S, resolveRouteRenderingConfig as a, resolveRouteRenderingConfigFromFile as b, analyzeStaticRouteCandidate as c, collectSSGPages as d, hasPPR as e, findRequestBoundSourceBlockers as f, getRevalidateInterval as g, hasISR as h, isSSGModule as i, generateSSGManifest as j, matchSSGPage as m, parseRouteRenderingDirective as p, readRouteRenderingDirectiveFromFile as r };
|
package/dist/storage.cjs
CHANGED
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var _chunkOILHPMFXcjs = require('./chunk-OILHPMFX.cjs');
|
|
29
31
|
require('./chunk-S3JO3N4H.cjs');
|
|
30
32
|
|
|
31
33
|
|
|
@@ -54,4 +56,6 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
54
56
|
|
|
55
57
|
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
exports._collectFarmStorageModules = _chunkOILHPMFXcjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkOILHPMFXcjs._registerFarmStorageModules; exports.createFarmStorage = _chunkOILHPMFXcjs.createFarmStorage; exports.createStorageClient = _chunkOILHPMFXcjs.createStorageClient; exports.databaseStorage = _chunkOILHPMFXcjs.databaseStorage; exports.defineStorageClient = _chunkOILHPMFXcjs.defineStorageClient; exports.disposeStorage = _chunkOILHPMFXcjs.disposeStorage; exports.driverStorage = _chunkOILHPMFXcjs.driverStorage; exports.getStorage = _chunkOILHPMFXcjs.getStorage; exports.initStorage = _chunkOILHPMFXcjs.initStorage; exports.libsqlStorage = _chunkOILHPMFXcjs.libsqlStorage; exports.localStorage = _chunkOILHPMFXcjs.localStorage; exports.memoryStorage = _chunkOILHPMFXcjs.memoryStorage; exports.mongodbStorage = _chunkOILHPMFXcjs.mongodbStorage; exports.mysql2Storage = _chunkOILHPMFXcjs.mysql2Storage; exports.mysqlStorage = _chunkOILHPMFXcjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkOILHPMFXcjs.netlifyBlobsStorage; exports.pgStorage = _chunkOILHPMFXcjs.pgStorage; exports.pgliteStorage = _chunkOILHPMFXcjs.pgliteStorage; exports.planetscaleStorage = _chunkOILHPMFXcjs.planetscaleStorage; exports.postgresStorage = _chunkOILHPMFXcjs.postgresStorage; exports.redisStorage = _chunkOILHPMFXcjs.redisStorage; exports.resolveStorageRuntimeClient = _chunkOILHPMFXcjs.resolveStorageRuntimeClient; exports.s3Storage = _chunkOILHPMFXcjs.s3Storage; exports.sqliteStorage = _chunkOILHPMFXcjs.sqliteStorage; exports.upstashStorage = _chunkOILHPMFXcjs.upstashStorage; exports.vercelBlobStorage = _chunkOILHPMFXcjs.vercelBlobStorage; exports.vercelKVStorage = _chunkOILHPMFXcjs.vercelKVStorage;
|
package/dist/storage.d.mts
CHANGED
|
@@ -6,6 +6,9 @@ import { F as FarmStorageClient, a as FarmStorageClientConfig, b as FarmStorageL
|
|
|
6
6
|
export { e as FarmStorageBuiltinDriverConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, h as FarmStorageDatabaseDriverName, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient } from './types-Cc8l9IqS.mjs';
|
|
7
7
|
|
|
8
8
|
type DriverResolver = () => Driver | Promise<Driver>;
|
|
9
|
+
type StorageModuleLoaders = Record<string, () => Promise<unknown>>;
|
|
10
|
+
/** @internal Register literal imports for the storage driver modules a build needs. */
|
|
11
|
+
declare function _registerFarmStorageModules(loaders: StorageModuleLoaders): void;
|
|
9
12
|
declare function defineStorageClient(resolveDriver: DriverResolver): FarmStorageClient;
|
|
10
13
|
declare function createStorageClient(config: FarmStorageClientConfig): FarmStorageClient;
|
|
11
14
|
declare function driverStorage(driver: Driver | (() => Driver | Promise<Driver>)): FarmStorageClient;
|
|
@@ -43,10 +46,15 @@ declare function vercelKVStorage(options: Omit<Extract<FarmStorageClientConfig,
|
|
|
43
46
|
declare function vercelBlobStorage(options: Omit<Extract<FarmStorageClientConfig, {
|
|
44
47
|
driver: "vercel-blob";
|
|
45
48
|
}>, "driver">): FarmStorageClient;
|
|
49
|
+
/**
|
|
50
|
+
* @internal The driver modules `config` loads by name. A production build
|
|
51
|
+
* imports each one literally so the server bundle contains it.
|
|
52
|
+
*/
|
|
53
|
+
declare function _collectFarmStorageModules(config: FarmStorageUserConfig | undefined): string[];
|
|
46
54
|
declare function createFarmStorage(config?: FarmStorageUserConfig): Promise<Storage>;
|
|
47
55
|
declare function resolveStorageRuntimeClient(config: FarmStorageUserConfig | undefined): Promise<unknown | undefined>;
|
|
48
56
|
declare function initStorage(config?: FarmStorageUserConfig): Promise<Storage>;
|
|
49
57
|
declare function getStorage(namespace?: string): Storage;
|
|
50
58
|
declare function disposeStorage(): Promise<void>;
|
|
51
59
|
|
|
52
|
-
export { FarmStorageClient, FarmStorageClientConfig, FarmStorageDatabaseConfig, FarmStorageLocalDriverConfig, FarmStorageUserConfig, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage };
|
|
60
|
+
export { FarmStorageClient, FarmStorageClientConfig, FarmStorageDatabaseConfig, FarmStorageLocalDriverConfig, FarmStorageUserConfig, _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage };
|
package/dist/storage.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ import { F as FarmStorageClient, a as FarmStorageClientConfig, b as FarmStorageL
|
|
|
6
6
|
export { e as FarmStorageBuiltinDriverConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, h as FarmStorageDatabaseDriverName, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient } from './types-Cc8l9IqS.js';
|
|
7
7
|
|
|
8
8
|
type DriverResolver = () => Driver | Promise<Driver>;
|
|
9
|
+
type StorageModuleLoaders = Record<string, () => Promise<unknown>>;
|
|
10
|
+
/** @internal Register literal imports for the storage driver modules a build needs. */
|
|
11
|
+
declare function _registerFarmStorageModules(loaders: StorageModuleLoaders): void;
|
|
9
12
|
declare function defineStorageClient(resolveDriver: DriverResolver): FarmStorageClient;
|
|
10
13
|
declare function createStorageClient(config: FarmStorageClientConfig): FarmStorageClient;
|
|
11
14
|
declare function driverStorage(driver: Driver | (() => Driver | Promise<Driver>)): FarmStorageClient;
|
|
@@ -43,10 +46,15 @@ declare function vercelKVStorage(options: Omit<Extract<FarmStorageClientConfig,
|
|
|
43
46
|
declare function vercelBlobStorage(options: Omit<Extract<FarmStorageClientConfig, {
|
|
44
47
|
driver: "vercel-blob";
|
|
45
48
|
}>, "driver">): FarmStorageClient;
|
|
49
|
+
/**
|
|
50
|
+
* @internal The driver modules `config` loads by name. A production build
|
|
51
|
+
* imports each one literally so the server bundle contains it.
|
|
52
|
+
*/
|
|
53
|
+
declare function _collectFarmStorageModules(config: FarmStorageUserConfig | undefined): string[];
|
|
46
54
|
declare function createFarmStorage(config?: FarmStorageUserConfig): Promise<Storage>;
|
|
47
55
|
declare function resolveStorageRuntimeClient(config: FarmStorageUserConfig | undefined): Promise<unknown | undefined>;
|
|
48
56
|
declare function initStorage(config?: FarmStorageUserConfig): Promise<Storage>;
|
|
49
57
|
declare function getStorage(namespace?: string): Storage;
|
|
50
58
|
declare function disposeStorage(): Promise<void>;
|
|
51
59
|
|
|
52
|
-
export { FarmStorageClient, FarmStorageClientConfig, FarmStorageDatabaseConfig, FarmStorageLocalDriverConfig, FarmStorageUserConfig, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage };
|
|
60
|
+
export { FarmStorageClient, FarmStorageClientConfig, FarmStorageDatabaseConfig, FarmStorageLocalDriverConfig, FarmStorageUserConfig, _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage };
|
package/dist/storage.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
+
_collectFarmStorageModules,
|
|
3
|
+
_registerFarmStorageModules,
|
|
2
4
|
createFarmStorage,
|
|
3
5
|
createStorageClient,
|
|
4
6
|
databaseStorage,
|
|
@@ -25,9 +27,11 @@ import {
|
|
|
25
27
|
upstashStorage,
|
|
26
28
|
vercelBlobStorage,
|
|
27
29
|
vercelKVStorage
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JGHCKIRI.mjs";
|
|
29
31
|
import "./chunk-LPEX4YW6.mjs";
|
|
30
32
|
export {
|
|
33
|
+
_collectFarmStorageModules,
|
|
34
|
+
_registerFarmStorageModules,
|
|
31
35
|
createFarmStorage,
|
|
32
36
|
createStorageClient,
|
|
33
37
|
databaseStorage,
|
package/dist/testing.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFEYQCYT7cjs = require('./chunk-FEYQCYT7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,40 +8,42 @@ var _chunkSU7MH53Pcjs = require('./chunk-SU7MH53P.cjs');
|
|
|
8
8
|
require('./chunk-PCOTGFSM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkP4TYB4SFcjs = require('./chunk-P4TYB4SF.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk6QQDAAAZcjs = require('./chunk-6QQDAAAZ.cjs');
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-S7MTDRYA.cjs');
|
|
17
|
+
require('./chunk-KF6VDJH7.cjs');
|
|
18
18
|
require('./chunk-2CQ74SP6.cjs');
|
|
19
19
|
require('./chunk-XJXBIP67.cjs');
|
|
20
20
|
require('./chunk-UFDAAQFX.cjs');
|
|
21
21
|
require('./chunk-LYLEZIG3.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
require('./chunk-
|
|
24
|
+
var _chunkQIBP5EFAcjs = require('./chunk-QIBP5EFA.cjs');
|
|
25
|
+
require('./chunk-WU7ZS3EM.cjs');
|
|
26
26
|
require('./chunk-WMAPPDMM.cjs');
|
|
27
27
|
require('./chunk-TKJZFIML.cjs');
|
|
28
28
|
require('./chunk-75RZHGLS.cjs');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-CGVPXIRN.cjs');
|
|
30
30
|
require('./chunk-SOR334EB.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
34
|
-
require('./chunk-
|
|
33
|
+
var _chunk6MVFHNYZcjs = require('./chunk-6MVFHNYZ.cjs');
|
|
34
|
+
require('./chunk-64SBBZDU.cjs');
|
|
35
35
|
require('./chunk-SVRTJOUF.cjs');
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-VQDBNVOO.cjs');
|
|
37
|
+
require('./chunk-PJ42JESY.cjs');
|
|
38
38
|
require('./chunk-HLJ6MBUZ.cjs');
|
|
39
39
|
require('./chunk-5QIKR7RR.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkQNPEUFHQcjs = require('./chunk-QNPEUFHQ.cjs');
|
|
43
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-GS3WR5HX.cjs');
|
|
44
44
|
require('./chunk-KNBBQHO2.cjs');
|
|
45
|
+
require('./chunk-5NAVKJCZ.cjs');
|
|
46
|
+
require('./chunk-4TLUFAIP.cjs');
|
|
45
47
|
require('./chunk-ARJWXNQL.cjs');
|
|
46
48
|
|
|
47
49
|
|
|
@@ -52,9 +54,9 @@ require('./chunk-AI7QMY7O.cjs');
|
|
|
52
54
|
require('./chunk-LIUGYUX3.cjs');
|
|
53
55
|
require('./chunk-NYJMY3JA.cjs');
|
|
54
56
|
require('./chunk-ZEG3OPIB.cjs');
|
|
55
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-ZTP3BJG6.cjs');
|
|
56
58
|
require('./chunk-US2QVW3E.cjs');
|
|
57
|
-
require('./chunk-
|
|
59
|
+
require('./chunk-6IZWX6ES.cjs');
|
|
58
60
|
require('./chunk-BIDYX3SL.cjs');
|
|
59
61
|
require('./chunk-I57LW5VZ.cjs');
|
|
60
62
|
require('./chunk-NO3WWW3N.cjs');
|
|
@@ -128,7 +130,7 @@ function createFarmTestHarness(options = {}) {
|
|
|
128
130
|
},
|
|
129
131
|
routeContext
|
|
130
132
|
);
|
|
131
|
-
const routeModule =
|
|
133
|
+
const routeModule = _chunkFEYQCYT7cjs.createRouteModuleFromProgrammaticPage.call(void 0, route);
|
|
132
134
|
const resolveProps = routeModule.__farmResolveRouteProps;
|
|
133
135
|
const resolvedProps = resolveProps ? await resolveProps(rawProps) : { ...rawProps, search, searchParams: Promise.resolve(search) };
|
|
134
136
|
const canonicalPath = readCanonicalPath(resolvedProps);
|
|
@@ -179,10 +181,10 @@ function createFarmTestHarness(options = {}) {
|
|
|
179
181
|
signal: serverFnOptions.signal,
|
|
180
182
|
method: "POST"
|
|
181
183
|
})));
|
|
182
|
-
return await
|
|
184
|
+
return await _chunkP4TYB4SFcjs.runWithServerActionRequest.call(void 0, actionRequest, () => serverFn(input));
|
|
183
185
|
},
|
|
184
186
|
clearCache() {
|
|
185
|
-
|
|
187
|
+
_chunk6MVFHNYZcjs.getFarmDataCache.call(void 0, ).clear();
|
|
186
188
|
}
|
|
187
189
|
};
|
|
188
190
|
}
|
|
@@ -329,7 +331,7 @@ function omitEndpointControlOptions(options) {
|
|
|
329
331
|
_chunkS3JO3N4Hcjs.__name.call(void 0, omitEndpointControlOptions, "omitEndpointControlOptions");
|
|
330
332
|
async function invokeTestEndpoint(endpoint, request, params = {}, throwOnError = false) {
|
|
331
333
|
try {
|
|
332
|
-
return await
|
|
334
|
+
return await _chunkQIBP5EFAcjs.invokeAPIRouteEndpoint.call(void 0, endpoint, request, params);
|
|
333
335
|
} catch (error) {
|
|
334
336
|
if (throwOnError) throw error;
|
|
335
337
|
return jsonErrorResponse(error instanceof Error ? error.message : "Internal Server Error", 500);
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { ServerFn } from './server-fn.mjs';
|
|
2
|
+
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-CkYwvDJ0.mjs';
|
|
4
3
|
import './types-CnH8DOqo.mjs';
|
|
5
4
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.mjs';
|
|
5
|
+
import { ServerFn } from './server-fn.mjs';
|
|
6
6
|
import { ProgrammaticPageRoute, InferProgrammaticRouteData, ProgrammaticRouteComponentProps, ProgrammaticApiRoute } from './routes.mjs';
|
|
7
7
|
import { FarmRouterQueryValue, FarmRouterPathParams } from './router.mjs';
|
|
8
8
|
import './lifecycle-DK06VuKP.mjs';
|
|
9
|
-
import './integration-api-
|
|
10
|
-
import './endpoint-
|
|
9
|
+
import './integration-api-DWyMmvrR.mjs';
|
|
10
|
+
import './endpoint-DGZRZHux.mjs';
|
|
11
11
|
import './cache.mjs';
|
|
12
12
|
import './cache-invalidation-BD0z_lfu.mjs';
|
|
13
13
|
import './renderer.mjs';
|
|
@@ -24,18 +24,16 @@ import '@farming-labs/docs';
|
|
|
24
24
|
import './observability-CoXunYhS.mjs';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import 'vite';
|
|
27
|
-
import './workflows-
|
|
27
|
+
import './workflows-IWP1ddBm.mjs';
|
|
28
28
|
import './cron.mjs';
|
|
29
29
|
import './env.mjs';
|
|
30
30
|
import './server-action-security.mjs';
|
|
31
|
+
import './layers-CM5i6T7z.mjs';
|
|
31
32
|
import 'rolldown/utils';
|
|
32
33
|
import 'rolldown';
|
|
33
|
-
import './image-config-
|
|
34
|
+
import './image-config-BpH1q5R8.mjs';
|
|
34
35
|
import './types-DQnyD3VD.mjs';
|
|
35
36
|
import './font.mjs';
|
|
36
|
-
import './after.mjs';
|
|
37
|
-
import 'node:http';
|
|
38
|
-
import './island-CfGru1MO.mjs';
|
|
39
37
|
|
|
40
38
|
type FarmTestQuery = URLSearchParams | Record<string, FarmRouterQueryValue>;
|
|
41
39
|
type FarmTestPathParams = FarmRouterPathParams;
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { ServerFn } from './server-fn.js';
|
|
2
|
+
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-DfeKd0sD.js';
|
|
4
3
|
import './types-CnH8DOqo.js';
|
|
5
4
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.js';
|
|
5
|
+
import { ServerFn } from './server-fn.js';
|
|
6
6
|
import { ProgrammaticPageRoute, InferProgrammaticRouteData, ProgrammaticRouteComponentProps, ProgrammaticApiRoute } from './routes.js';
|
|
7
7
|
import { FarmRouterQueryValue, FarmRouterPathParams } from './router.js';
|
|
8
8
|
import './lifecycle-DK06VuKP.js';
|
|
9
|
-
import './integration-api-
|
|
10
|
-
import './endpoint-
|
|
9
|
+
import './integration-api-BuPHMeKz.js';
|
|
10
|
+
import './endpoint-BOE0IAaG.js';
|
|
11
11
|
import './cache.js';
|
|
12
12
|
import './cache-invalidation-BD0z_lfu.js';
|
|
13
13
|
import './renderer.js';
|
|
@@ -24,18 +24,16 @@ import '@farming-labs/docs';
|
|
|
24
24
|
import './observability-CoXunYhS.js';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import 'vite';
|
|
27
|
-
import './workflows-
|
|
27
|
+
import './workflows-IWP1ddBm.js';
|
|
28
28
|
import './cron.js';
|
|
29
29
|
import './env.js';
|
|
30
30
|
import './server-action-security.js';
|
|
31
|
+
import './layers-CM5i6T7z.js';
|
|
31
32
|
import 'rolldown/utils';
|
|
32
33
|
import 'rolldown';
|
|
33
|
-
import './image-config-
|
|
34
|
+
import './image-config-BpH1q5R8.js';
|
|
34
35
|
import './types-DQnyD3VD.js';
|
|
35
36
|
import './font.js';
|
|
36
|
-
import './after.js';
|
|
37
|
-
import 'node:http';
|
|
38
|
-
import './island-CfGru1MO.js';
|
|
39
37
|
|
|
40
38
|
type FarmTestQuery = URLSearchParams | Record<string, FarmRouterQueryValue>;
|
|
41
39
|
type FarmTestPathParams = FarmRouterPathParams;
|