@farm.js/core 0.1.61 → 0.1.63
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/after.cjs +3 -3
- package/dist/after.d.mts +25 -0
- package/dist/after.d.ts +25 -0
- package/dist/after.mjs +2 -2
- package/dist/agent-mcp-handler-7QMX2LUY.mjs +18 -0
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
- package/dist/agent-mcp.d-CCQ-wKwg.d.mts +115 -0
- package/dist/agent-mcp.d-DOJCBSh9.d.ts +115 -0
- package/dist/agent-runtime.cjs +36 -59
- package/dist/agent-runtime.d.mts +105 -0
- package/dist/agent-runtime.d.ts +105 -0
- package/dist/agent-runtime.mjs +35 -58
- package/dist/analyzer-KEA5JVDR.cjs +15 -0
- package/dist/analyzer-WNPQPWFR.mjs +15 -0
- package/dist/api/client.cjs +16 -15
- package/dist/api/client.d.mts +5 -0
- package/dist/api/client.d.ts +5 -0
- package/dist/api/client.mjs +14 -13
- package/dist/api/client.native.cjs +45 -0
- package/dist/api/client.native.d.mts +23 -0
- package/dist/api/client.native.d.ts +23 -0
- package/dist/api/client.native.mjs +45 -0
- package/dist/api/route-manager.cjs +41 -39
- package/dist/api/route-manager.d.mts +119 -0
- package/dist/api/route-manager.d.ts +119 -0
- package/dist/api/route-manager.mjs +40 -38
- package/dist/api/runtime.cjs +24 -22
- package/dist/api/runtime.d.mts +35 -0
- package/dist/api/runtime.d.ts +35 -0
- package/dist/api/runtime.mjs +24 -22
- package/dist/api-client.d-BNLXNCXJ.d.mts +622 -0
- package/dist/api-client.d-ddQBNGtu.d.ts +622 -0
- package/dist/api.cjs +52 -50
- package/dist/api.d.mts +103 -0
- package/dist/api.d.ts +103 -0
- package/dist/api.mjs +51 -49
- package/dist/app-manifest.d-BaA0omsv.d.mts +128 -0
- package/dist/app-manifest.d-poayV4lq.d.ts +128 -0
- package/dist/app-markdown.cjs +15 -15
- package/dist/app-markdown.d.mts +48 -0
- package/dist/app-markdown.d.ts +48 -0
- package/dist/app-markdown.mjs +14 -14
- package/dist/app.d-D4Dn03E3.d.ts +563 -0
- package/dist/app.d-DdWxeIGU.d.mts +563 -0
- package/dist/base-path.d-BOUV5ozD.d.mts +10 -0
- package/dist/base-path.d-BOUV5ozD.d.ts +10 -0
- package/dist/cache.cjs +10 -7
- package/dist/cache.d.mts +333 -0
- package/dist/cache.d.ts +333 -0
- package/dist/cache.mjs +9 -6
- package/dist/chunk-22W4FNTG.mjs +538 -0
- package/dist/chunk-23LVFSID.mjs +182 -0
- package/dist/chunk-25T5VXOE.mjs +1093 -0
- package/dist/chunk-2DA7CLY7.mjs +560 -0
- package/dist/chunk-2DLGV2ZG.mjs +71 -0
- package/dist/chunk-2HW5LWAH.cjs +19 -0
- package/dist/chunk-2I6PUKWJ.mjs +44 -0
- package/dist/chunk-2KMIJDY6.cjs +20 -0
- package/dist/chunk-2NGZFOKG.mjs +190 -0
- package/dist/chunk-2OF5RPVU.cjs +44 -0
- package/dist/chunk-2XGBJSDV.cjs +408 -0
- package/dist/chunk-3BIASUGR.cjs +59 -0
- package/dist/chunk-3CCAICF7.cjs +651 -0
- package/dist/chunk-3EEET2Q5.cjs +1044 -0
- package/dist/chunk-3EIPOTZV.cjs +272 -0
- package/dist/chunk-3HLQTOVU.cjs +6 -0
- package/dist/chunk-3OJNNCDL.cjs +2250 -0
- package/dist/chunk-3TXKFRSO.mjs +657 -0
- package/dist/chunk-3UZVPO72.mjs +387 -0
- package/dist/chunk-43V3ANPQ.mjs +251 -0
- package/dist/chunk-46P5KNTE.mjs +8 -0
- package/dist/chunk-47JV57DA.cjs +69 -0
- package/dist/chunk-4BS3HSY7.cjs +541 -0
- package/dist/chunk-4DCWVSL2.cjs +15 -0
- package/dist/chunk-4DIKLG56.mjs +141 -0
- package/dist/chunk-4EBC7EMW.cjs +8 -0
- package/dist/chunk-4IHMHFQB.cjs +458 -0
- package/dist/chunk-4MU4QCX4.mjs +158 -0
- package/dist/chunk-4P5634G6.cjs +386 -0
- package/dist/chunk-4ZJ5C7UJ.cjs +75 -0
- package/dist/chunk-52Y3C3HG.mjs +421 -0
- package/dist/chunk-53EHWHT2.cjs +166 -0
- package/dist/chunk-53ZCZ46B.cjs +137 -0
- package/dist/chunk-55U5QIXQ.mjs +35 -0
- package/dist/chunk-5A77OEIG.cjs +778 -0
- package/dist/chunk-5C7XMKQ4.cjs +410 -0
- package/dist/chunk-5DX3O6TT.cjs +266 -0
- package/dist/chunk-5FE5YT2N.mjs +458 -0
- package/dist/chunk-5IKQ7BIR.cjs +716 -0
- package/dist/chunk-5IQ2ERQA.cjs +657 -0
- package/dist/chunk-5J45H65F.mjs +48 -0
- package/dist/chunk-5L7I6AMY.cjs +433 -0
- package/dist/chunk-5OJVKXFV.cjs +2072 -0
- package/dist/chunk-5PZJ63PK.mjs +17 -0
- package/dist/chunk-5Y22WNTO.mjs +237 -0
- package/dist/chunk-5Y2P454O.cjs +421 -0
- package/dist/chunk-5Y4GYKKH.mjs +13 -0
- package/dist/chunk-5YPBFMBN.cjs +19 -0
- package/dist/chunk-65Y5SIBH.cjs +112 -0
- package/dist/chunk-6BJJYOFL.cjs +293 -0
- package/dist/chunk-6BLAY2VQ.mjs +45 -0
- package/dist/chunk-6CTFVBAT.cjs +29 -0
- package/dist/chunk-6FXBJPF5.cjs +35 -0
- package/dist/chunk-6HRAK7I5.mjs +215 -0
- package/dist/chunk-6IOZPJ3I.cjs +549 -0
- package/dist/chunk-6JHZPB52.cjs +538 -0
- package/dist/chunk-6XQSPIN6.cjs +155 -0
- package/dist/chunk-6YFC3ZFX.mjs +449 -0
- package/dist/chunk-6ZFRWRHO.mjs +54 -0
- package/dist/chunk-724WT3NI.mjs +83 -0
- package/dist/chunk-72KABRWN.mjs +2072 -0
- package/dist/chunk-72KCTHLV.cjs +723 -0
- package/dist/chunk-752XUZIM.cjs +229 -0
- package/dist/chunk-75XSZIRE.mjs +180 -0
- package/dist/chunk-7EPYN7GW.cjs +30 -0
- package/dist/chunk-7FFW7DC4.mjs +517 -0
- package/dist/chunk-7H45IJWO.mjs +2250 -0
- package/dist/chunk-7H4SVNC4.cjs +700 -0
- package/dist/chunk-7JUIK547.cjs +62 -0
- package/dist/chunk-7KJJ4SBS.cjs +13 -0
- package/dist/chunk-7PTISZSQ.cjs +176 -0
- package/dist/chunk-7PZVXMWG.mjs +113 -0
- package/dist/chunk-7S7AAK2D.mjs +82 -0
- package/dist/chunk-A25FXJ7D.cjs +38 -0
- package/dist/chunk-A2MN5PQJ.mjs +527 -0
- package/dist/chunk-A4PWGL46.mjs +141 -0
- package/dist/chunk-ALEUMLJN.mjs +190 -0
- package/dist/chunk-ANXU3D32.cjs +1232 -0
- package/dist/chunk-AOKXITZ6.cjs +16 -0
- package/dist/chunk-AQLHD6HZ.cjs +196 -0
- package/dist/chunk-ATYTLVSI.cjs +45 -0
- package/dist/chunk-AXVRUDMB.cjs +203 -0
- package/dist/chunk-AY2YD5ZX.mjs +34 -0
- package/dist/chunk-AYP2YFVN.mjs +168 -0
- package/dist/chunk-AZQXXXDX.mjs +80 -0
- package/dist/chunk-B4CWYGCG.mjs +541 -0
- package/dist/chunk-BA2IA32Q.mjs +1291 -0
- package/dist/chunk-BBPDJGCU.cjs +157 -0
- package/dist/chunk-BM2LH2JM.mjs +1040 -0
- package/dist/chunk-BMQAPZXD.mjs +31 -0
- package/dist/chunk-BNH53KOT.cjs +69 -0
- package/dist/chunk-BPAXGCKX.mjs +166 -0
- package/dist/chunk-BPNOYILC.cjs +450 -0
- package/dist/chunk-BQWBHWEW.mjs +252 -0
- package/dist/chunk-BRWIVOV4.cjs +48 -0
- package/dist/chunk-BRYPZIMB.mjs +6 -0
- package/dist/chunk-BT4SEFLC.cjs +660 -0
- package/dist/chunk-BTVDYS4B.cjs +70 -0
- package/dist/chunk-BTZ5O6VM.cjs +14 -0
- package/dist/chunk-BUC3FDYC.cjs +158 -0
- package/dist/chunk-C64XOPBZ.mjs +380 -0
- package/dist/chunk-C7GJDVN4.mjs +124 -0
- package/dist/chunk-C7LCTVJ2.cjs +30 -0
- package/dist/chunk-CA7DNRHO.cjs +164 -0
- package/dist/chunk-CBDRR3J3.mjs +6680 -0
- package/dist/chunk-CBOEJ5Z4.cjs +1093 -0
- package/dist/chunk-CFG4QERR.cjs +434 -0
- package/dist/chunk-CI4UNQHO.cjs +35 -0
- package/dist/chunk-CKPTIEDX.cjs +12 -0
- package/dist/chunk-CL2ONP73.cjs +180 -0
- package/dist/chunk-CLFEQGET.cjs +60 -0
- package/dist/chunk-CNNBFGL5.cjs +252 -0
- package/dist/chunk-CO6UYM2D.mjs +172 -0
- package/dist/chunk-CQL5ZGFU.cjs +50 -0
- package/dist/chunk-CROAFCMW.mjs +203 -0
- package/dist/chunk-CU5SYTJG.mjs +23 -0
- package/dist/chunk-CV6MFQ4Y.mjs +259 -0
- package/dist/chunk-D22BUQKW.cjs +82 -0
- package/dist/chunk-D2LCAV6L.mjs +79 -0
- package/dist/chunk-D4MRNBVF.cjs +1462 -0
- package/dist/chunk-D4XGKF67.cjs +127 -0
- package/dist/chunk-D7Y63SOY.mjs +15 -0
- package/dist/chunk-DMAP4RND.cjs +998 -0
- package/dist/chunk-DPE53XWL.mjs +1980 -0
- package/dist/chunk-DQF3QLOH.mjs +660 -0
- package/dist/chunk-DQJ2CIH7.cjs +87 -0
- package/dist/chunk-DU4VHHPJ.mjs +157 -0
- package/dist/chunk-DUIP64BF.cjs +16 -0
- package/dist/chunk-DV52ZS53.cjs +40 -0
- package/dist/chunk-DXUXQP2T.cjs +142 -0
- package/dist/chunk-DZPR2W6U.cjs +593 -0
- package/dist/chunk-DZZHTMWM.cjs +190 -0
- package/dist/chunk-E46NXBNJ.mjs +386 -0
- package/dist/chunk-E4RDMG3K.mjs +697 -0
- package/dist/chunk-E552H232.cjs +154 -0
- package/dist/chunk-E72UD6ME.mjs +277 -0
- package/dist/chunk-E7QOEV5Z.cjs +449 -0
- package/dist/chunk-ECKQFEX2.mjs +712 -0
- package/dist/chunk-EDPENAVO.mjs +266 -0
- package/dist/chunk-EENTT56C.mjs +12733 -0
- package/dist/chunk-EFLNOZGH.mjs +30 -0
- package/dist/chunk-EFZGB7JC.cjs +114 -0
- package/dist/chunk-EGHPFXPZ.cjs +590 -0
- package/dist/chunk-EJCVG25Z.mjs +49 -0
- package/dist/chunk-EMDGXYUD.mjs +75 -0
- package/dist/chunk-EOXPRC2C.cjs +48 -0
- package/dist/chunk-ERMUL73L.cjs +39 -0
- package/dist/chunk-ES2LD2YD.mjs +203 -0
- package/dist/chunk-EV4SBMPX.mjs +208 -0
- package/dist/chunk-EVIWKPJV.cjs +560 -0
- package/dist/chunk-EVMXPJCB.mjs +133 -0
- package/dist/chunk-EX6ZSN5P.cjs +224 -0
- package/dist/chunk-EYLC6GD6.cjs +517 -0
- package/dist/chunk-EZ34EHQP.mjs +462 -0
- package/dist/chunk-EZTKXD6P.cjs +182 -0
- package/dist/chunk-F3N52U7S.mjs +138 -0
- package/dist/chunk-FBEBSAVI.cjs +225 -0
- package/dist/chunk-FEFCISOX.cjs +102 -0
- package/dist/chunk-FHURJABM.mjs +45 -0
- package/dist/chunk-FN5UEC7I.mjs +55 -0
- package/dist/chunk-FNHN3RBD.cjs +9 -0
- package/dist/chunk-FSXSQQTV.mjs +79 -0
- package/dist/chunk-GBMWLDCC.cjs +138 -0
- package/dist/chunk-GHNW564E.mjs +1044 -0
- package/dist/chunk-GL3ZDHKI.mjs +274 -0
- package/dist/chunk-GLOICKDO.mjs +142 -0
- package/dist/chunk-GNZIAJGB.mjs +358 -0
- package/dist/chunk-GPKBUME5.mjs +716 -0
- package/dist/chunk-GSVJ3IIF.cjs +173 -0
- package/dist/chunk-GUZC226X.mjs +164 -0
- package/dist/chunk-GVOMPU3Y.cjs +537 -0
- package/dist/chunk-GWXZS7K5.mjs +24 -0
- package/dist/chunk-GYMGK467.mjs +214 -0
- package/dist/chunk-H227LYHT.mjs +88 -0
- package/dist/chunk-H3ASZDT7.mjs +42 -0
- package/dist/chunk-H4WUWLQR.mjs +16 -0
- package/dist/chunk-HA7YRO53.cjs +214 -0
- package/dist/chunk-HEPJIKKQ.cjs +190 -0
- package/dist/chunk-HLYRXN2I.cjs +242 -0
- package/dist/chunk-HNAISJFD.cjs +215 -0
- package/dist/chunk-HPP2II4Z.mjs +332 -0
- package/dist/chunk-HXNLKCWH.cjs +13 -0
- package/dist/chunk-HZOMT5DY.mjs +30 -0
- package/dist/chunk-I2BYNELA.cjs +380 -0
- package/dist/chunk-I32V5CZL.cjs +1965 -0
- package/dist/chunk-IAPTECEB.mjs +48 -0
- package/dist/chunk-IFTGERT3.mjs +408 -0
- package/dist/chunk-IGL6CO6M.mjs +9 -0
- package/dist/chunk-IOF4KXMP.mjs +537 -0
- package/dist/chunk-ITV4QQL2.cjs +93 -0
- package/dist/chunk-IWRLV46X.cjs +1980 -0
- package/dist/chunk-IYEY3JWJ.mjs +186 -0
- package/dist/chunk-J3GFOQOL.cjs +237 -0
- package/dist/chunk-JCEFKP5M.mjs +1473 -0
- package/dist/chunk-JGAE5XPL.cjs +26 -0
- package/dist/chunk-JIBEFLQ7.cjs +44 -0
- package/dist/chunk-JLDNXURZ.cjs +588 -0
- package/dist/chunk-JMYXO572.cjs +531 -0
- package/dist/chunk-JNYFXL7X.mjs +62 -0
- package/dist/chunk-JRHGJVJH.mjs +44 -0
- package/dist/chunk-JSDV2NUN.mjs +206 -0
- package/dist/chunk-JXIYH2NO.cjs +24 -0
- package/dist/chunk-JYNNIGQO.cjs +87 -0
- package/dist/chunk-JYT7AN37.cjs +79 -0
- package/dist/chunk-K3RU5MOR.mjs +80 -0
- package/dist/chunk-K5EW7GUU.mjs +417 -0
- package/dist/chunk-K76CBYQM.mjs +157 -0
- package/dist/chunk-KBGZ5FD6.cjs +17 -0
- package/dist/chunk-KORZ6PRE.cjs +64 -0
- package/dist/chunk-KPAJWD3N.mjs +168 -0
- package/dist/chunk-KQH2COEJ.mjs +42 -0
- package/dist/chunk-KVW2M6PI.mjs +341 -0
- package/dist/chunk-L2JG337G.cjs +712 -0
- package/dist/chunk-L4RTTTVE.mjs +8 -0
- package/dist/chunk-L5JDKFMQ.cjs +44 -0
- package/dist/chunk-LA45FN37.mjs +10009 -0
- package/dist/chunk-LA6O5EL2.mjs +254 -0
- package/dist/chunk-LEJDW34D.cjs +115 -0
- package/dist/chunk-LFFSDZ4Y.cjs +141 -0
- package/dist/chunk-LLZSYFOM.mjs +6 -0
- package/dist/chunk-LM55GS4R.mjs +38 -0
- package/dist/chunk-LNVGXUL3.cjs +172 -0
- package/dist/chunk-LQNW3ABP.cjs +527 -0
- package/dist/chunk-LRB5OVRT.cjs +124 -0
- package/dist/chunk-LSHX2H5G.cjs +57 -0
- package/dist/chunk-LT4VAF5Z.cjs +1359 -0
- package/dist/chunk-LWWDTBGL.cjs +254 -0
- package/dist/chunk-M25IONJP.mjs +16 -0
- package/dist/chunk-M53MIIXY.mjs +172 -0
- package/dist/chunk-MEQN6DDA.cjs +341 -0
- package/dist/chunk-MF3IA2AW.cjs +25 -0
- package/dist/chunk-MFQGU5CC.mjs +127 -0
- package/dist/chunk-MGKW5XZE.cjs +40 -0
- package/dist/chunk-MHLNWRCJ.cjs +36 -0
- package/dist/chunk-MK5E44WP.mjs +60 -0
- package/dist/chunk-MMK4MZUN.mjs +36 -0
- package/dist/chunk-MNIR7I7B.mjs +217 -0
- package/dist/chunk-MPU5DOXX.cjs +21 -0
- package/dist/chunk-MU5V7XHL.mjs +172 -0
- package/dist/chunk-N33DLJBC.mjs +272 -0
- package/dist/chunk-N35YPV4N.mjs +48 -0
- package/dist/chunk-N4AQNEXR.cjs +17 -0
- package/dist/chunk-N7XWC6BN.mjs +21 -0
- package/dist/chunk-NBIVGHAT.mjs +50 -0
- package/dist/chunk-NCIAP562.mjs +27 -0
- package/dist/chunk-NK2VWS7P.cjs +954 -0
- package/dist/chunk-NKRZLQUK.mjs +150 -0
- package/dist/chunk-NR63PD3P.mjs +64 -0
- package/dist/chunk-NRNAHZ57.mjs +39 -0
- package/dist/chunk-NWUHS6GV.cjs +79 -0
- package/dist/chunk-O27PLNQZ.cjs +878 -0
- package/dist/chunk-O4F3JUST.mjs +176 -0
- package/dist/chunk-O5FCWI6O.mjs +156 -0
- package/dist/chunk-OAJOQU5J.mjs +225 -0
- package/dist/chunk-OCS3PSYR.cjs +51 -0
- package/dist/chunk-OHWM2VI4.mjs +29 -0
- package/dist/chunk-OJO2GOM3.mjs +69 -0
- package/dist/chunk-OLGQZRW6.mjs +700 -0
- package/dist/chunk-OM7WILES.mjs +100 -0
- package/dist/chunk-ONG4RDW3.mjs +155 -0
- package/dist/chunk-OOJBBHYW.cjs +38 -0
- package/dist/chunk-OOZEU5KK.cjs +18 -0
- package/dist/chunk-OWQV6MLM.cjs +82 -0
- package/dist/chunk-OY5XDG24.cjs +113 -0
- package/dist/chunk-OYZXVBZP.cjs +133 -0
- package/dist/chunk-OZC2JPW6.cjs +10 -0
- package/dist/chunk-P2355C6E.cjs +186 -0
- package/dist/chunk-PAKCHVUS.mjs +450 -0
- package/dist/chunk-PCXIJKPM.mjs +878 -0
- package/dist/chunk-PENBZAHJ.cjs +88 -0
- package/dist/chunk-PIUTGRDI.cjs +358 -0
- package/dist/chunk-PMJSG4JS.cjs +152 -0
- package/dist/chunk-PO5MXV5X.cjs +13 -0
- package/dist/chunk-PRFNLQSP.cjs +277 -0
- package/dist/chunk-PSUYE5HR.mjs +25 -0
- package/dist/chunk-PTLXHRJZ.mjs +57 -0
- package/dist/chunk-PVJX4UPA.cjs +6680 -0
- package/dist/chunk-PZXYAWYG.cjs +274 -0
- package/dist/chunk-Q5B4LNON.mjs +19 -0
- package/dist/chunk-QAS7KE7J.cjs +169 -0
- package/dist/chunk-QDWMCFTH.mjs +434 -0
- package/dist/chunk-QGJ4FI2G.mjs +723 -0
- package/dist/chunk-QGOZLGVP.mjs +0 -0
- package/dist/chunk-QISW423S.cjs +335 -0
- package/dist/chunk-QMDU6QHN.mjs +778 -0
- package/dist/chunk-QMNWKQL4.cjs +206 -0
- package/dist/chunk-QN5WRQSQ.cjs +10012 -0
- package/dist/chunk-QOSDWGKT.mjs +109 -0
- package/dist/chunk-QPJ4MZTO.mjs +60 -0
- package/dist/chunk-QPNVDSFZ.mjs +18 -0
- package/dist/chunk-QQ44FYRO.cjs +27 -0
- package/dist/chunk-QSTRBKHZ.mjs +102 -0
- package/dist/chunk-QTD6EMN2.mjs +368 -0
- package/dist/chunk-R53QDV6T.cjs +100 -0
- package/dist/chunk-R5U7OIPI.cjs +34 -0
- package/dist/chunk-R62SF5R4.mjs +410 -0
- package/dist/chunk-RD623KW4.cjs +203 -0
- package/dist/chunk-RFKTJTWZ.mjs +26 -0
- package/dist/chunk-RFYL5OLP.mjs +9 -0
- package/dist/chunk-RI3EVPKD.cjs +57 -0
- package/dist/chunk-RLEALQEN.mjs +998 -0
- package/dist/chunk-RSEAX5MW.mjs +44 -0
- package/dist/chunk-RVGLYMJM.cjs +259 -0
- package/dist/chunk-S2NUYHRY.mjs +1232 -0
- package/dist/chunk-S32PDOLO.mjs +13 -0
- package/dist/chunk-S6O2L47H.mjs +549 -0
- package/dist/chunk-SA7MLSP4.mjs +229 -0
- package/dist/chunk-SBDWCDS6.cjs +8 -0
- package/dist/chunk-SF3JB56B.mjs +82 -0
- package/dist/chunk-SHD265HW.cjs +19 -0
- package/dist/chunk-SHIWRBFI.cjs +17 -0
- package/dist/chunk-SM2SYWAR.cjs +49 -0
- package/dist/chunk-SMUW7UST.mjs +196 -0
- package/dist/chunk-SNP33A33.cjs +9 -0
- package/dist/chunk-SQ5O7I3L.mjs +70 -0
- package/dist/chunk-STF6VDYQ.cjs +23 -0
- package/dist/chunk-SUCDVKUB.cjs +42 -0
- package/dist/chunk-SVCUSOEF.mjs +590 -0
- package/dist/chunk-SVXOCTQ2.cjs +251 -0
- package/dist/chunk-SXCL2MIN.cjs +208 -0
- package/dist/chunk-SYW346ZN.cjs +71 -0
- package/dist/chunk-SYXPWJ7N.cjs +387 -0
- package/dist/chunk-T4TBK5NY.mjs +593 -0
- package/dist/chunk-TGSEVBPO.mjs +93 -0
- package/dist/chunk-TGULJSHD.mjs +1965 -0
- package/dist/chunk-TJVUTGED.mjs +531 -0
- package/dist/chunk-TUOO6IK3.mjs +87 -0
- package/dist/chunk-TUPKMMXT.mjs +173 -0
- package/dist/chunk-TVCFY3KK.cjs +217 -0
- package/dist/chunk-TZVUF5JJ.mjs +651 -0
- package/dist/chunk-U6WCUVSV.cjs +1294 -0
- package/dist/chunk-UAQD67HM.mjs +154 -0
- package/dist/chunk-UB7RVEMX.mjs +73 -0
- package/dist/chunk-UIJOLBUL.mjs +19 -0
- package/dist/chunk-UNJZGVPU.cjs +6 -0
- package/dist/chunk-UPYIFH2H.cjs +168 -0
- package/dist/chunk-UR25Z5Z6.mjs +135 -0
- package/dist/chunk-UUMKLGUU.mjs +69 -0
- package/dist/chunk-UYRI6U3P.mjs +137 -0
- package/dist/chunk-UYTAP4FQ.cjs +60 -0
- package/dist/chunk-UZCMMJJT.cjs +80 -0
- package/dist/chunk-UZZ6IEQP.mjs +169 -0
- package/dist/chunk-V3UOEWCB.cjs +46 -0
- package/dist/chunk-V56632LA.cjs +141 -0
- package/dist/chunk-V727H3RI.cjs +1473 -0
- package/dist/chunk-VE3FWJBO.mjs +46 -0
- package/dist/chunk-VFXE6NWR.mjs +87 -0
- package/dist/chunk-VHIXGZYH.mjs +9 -0
- package/dist/chunk-VISQDC6W.mjs +10 -0
- package/dist/chunk-VIXTAVEA.mjs +59 -0
- package/dist/chunk-VM57CK74.cjs +42 -0
- package/dist/chunk-VOQ7XZZT.cjs +157 -0
- package/dist/chunk-VQJHT2ND.mjs +40 -0
- package/dist/chunk-VR6QLTTX.mjs +59 -0
- package/dist/chunk-VVTJTMGQ.cjs +135 -0
- package/dist/chunk-VXCFJWK5.cjs +59 -0
- package/dist/chunk-W2ZXMMHA.mjs +1462 -0
- package/dist/chunk-W6QLRQ3V.mjs +152 -0
- package/dist/chunk-WCLLPR6H.mjs +35 -0
- package/dist/chunk-WEGAVN37.cjs +45 -0
- package/dist/chunk-WFVSAT7Y.cjs +83 -0
- package/dist/chunk-WKPBIT5Q.cjs +150 -0
- package/dist/chunk-WNDAISB7.mjs +51 -0
- package/dist/chunk-WNLPQW7W.mjs +19 -0
- package/dist/chunk-WT6RAN2I.cjs +41 -0
- package/dist/chunk-WXFY5JIY.mjs +20 -0
- package/dist/chunk-WYAXRIYP.cjs +697 -0
- package/dist/chunk-WYL4ODZ4.mjs +38 -0
- package/dist/chunk-X333W5KV.cjs +31 -0
- package/dist/chunk-X3EFRVXY.mjs +12 -0
- package/dist/chunk-X3XUZWRB.mjs +141 -0
- package/dist/chunk-X4K7TYN6.cjs +1040 -0
- package/dist/chunk-XCXHQBMM.mjs +115 -0
- package/dist/chunk-XGJVRPYL.cjs +141 -0
- package/dist/chunk-XICXQXYE.mjs +433 -0
- package/dist/chunk-XMHERKSE.mjs +224 -0
- package/dist/chunk-XPIPMWY3.cjs +1 -0
- package/dist/chunk-XQ4DPO4G.mjs +13 -0
- package/dist/chunk-XQSYOVCW.cjs +417 -0
- package/dist/chunk-XR2ZIBQK.mjs +57 -0
- package/dist/chunk-XURDCXNH.cjs +48 -0
- package/dist/chunk-XVSBALOY.cjs +55 -0
- package/dist/chunk-Y2YBNQ3D.cjs +156 -0
- package/dist/chunk-Y3WG64CP.cjs +9 -0
- package/dist/chunk-Y6FXYEAI.mjs +10 -0
- package/dist/chunk-Y7NN63LS.mjs +40 -0
- package/dist/chunk-YDXLC4DW.cjs +54 -0
- package/dist/chunk-YIHRZBD7.cjs +172 -0
- package/dist/chunk-YKHRCY4T.cjs +73 -0
- package/dist/chunk-YN6BHOYY.cjs +368 -0
- package/dist/chunk-YP7YO3S3.mjs +17 -0
- package/dist/chunk-YSXTNSXS.mjs +1359 -0
- package/dist/chunk-YT3SLLZK.mjs +242 -0
- package/dist/chunk-YTVSWXEZ.cjs +168 -0
- package/dist/chunk-YWPNIYUP.mjs +41 -0
- package/dist/chunk-YX6AFPXC.mjs +8 -0
- package/dist/chunk-Z64V4WZI.mjs +17 -0
- package/dist/chunk-Z74NNER4.cjs +12736 -0
- package/dist/chunk-Z7P2BTZ3.cjs +454 -0
- package/dist/chunk-ZDAEHG2O.cjs +80 -0
- package/dist/chunk-ZFWYCVKS.mjs +454 -0
- package/dist/chunk-ZNH6NR3H.cjs +462 -0
- package/dist/chunk-ZNXTU4YH.mjs +114 -0
- package/dist/chunk-ZOYKJBP5.cjs +172 -0
- package/dist/chunk-ZQ5BDNKW.mjs +954 -0
- package/dist/chunk-ZXK2EYQW.cjs +8 -0
- package/dist/chunk-ZZ2QKCKW.mjs +293 -0
- package/dist/chunk-ZZI56IUY.mjs +588 -0
- package/dist/chunk-recovery.d-lnQFzcQP.d.mts +26 -0
- package/dist/chunk-recovery.d-lnQFzcQP.d.ts +26 -0
- package/dist/client/lifecycle.cjs +3 -3
- package/dist/client/lifecycle.d.mts +1 -0
- package/dist/client/lifecycle.d.ts +1 -0
- package/dist/client/lifecycle.mjs +2 -2
- package/dist/client-cache.d-Deoqq-nM.d.ts +76 -0
- package/dist/client-cache.d-di_Nasxa.d.mts +76 -0
- package/dist/client-component.d-CQLvqLAJ.d.ts +218 -0
- package/dist/client-component.d-CSEFlHfG.d.mts +218 -0
- package/dist/client-plugins.cjs +3 -3
- package/dist/client-plugins.d-BTF0gZm4.d.mts +4018 -0
- package/dist/client-plugins.d-BgPUYPc9.d.ts +4018 -0
- package/dist/client-plugins.d.mts +33 -0
- package/dist/client-plugins.d.ts +33 -0
- package/dist/client-plugins.mjs +2 -2
- package/dist/client.cjs +45 -40
- package/dist/client.d.mts +452 -0
- package/dist/client.d.ts +452 -0
- package/dist/client.mjs +44 -39
- package/dist/client.react-server.mjs +2 -0
- package/dist/config.cjs +3 -3
- package/dist/config.d-qt-mE8O5.d.mts +341 -0
- package/dist/config.d-qt-mE8O5.d.ts +341 -0
- package/dist/config.d.mts +40 -0
- package/dist/config.d.ts +40 -0
- package/dist/config.mjs +2 -2
- package/dist/cron.cjs +19 -9
- package/dist/cron.d.mts +186 -0
- package/dist/cron.d.ts +186 -0
- package/dist/cron.mjs +18 -8
- package/dist/deferred.cjs +3 -3
- package/dist/deferred.d.mts +44 -0
- package/dist/deferred.d.ts +44 -0
- package/dist/deferred.mjs +2 -2
- package/dist/deployment.cjs +3 -3
- package/dist/deployment.d.mts +36 -0
- package/dist/deployment.d.ts +36 -0
- package/dist/deployment.mjs +2 -2
- package/dist/desktop.cjs +13 -0
- package/dist/desktop.d.mts +120 -0
- package/dist/desktop.d.ts +120 -0
- package/dist/desktop.mjs +13 -0
- package/dist/dev-guard-2UW2KERP.cjs +59 -0
- package/dist/dev-guard-ONNMVQUN.mjs +59 -0
- package/dist/devtools-HDKTYIZF.mjs +463 -0
- package/dist/devtools-ZHN5JLVI.cjs +463 -0
- package/dist/devtools-client-SU4XH46J.mjs +250 -0
- package/dist/devtools-client-X5OQCXDF.cjs +250 -0
- package/dist/devtools-ui-CYBVFLPH.mjs +1265 -0
- package/dist/devtools-ui-SYRUXUA7.cjs +1265 -0
- package/dist/docs.cjs +66 -58
- package/dist/docs.d.mts +169 -0
- package/dist/docs.d.ts +169 -0
- package/dist/docs.mjs +65 -57
- package/dist/endpoint.d-BgHn0lhl.d.ts +370 -0
- package/dist/endpoint.d-BkMSCRf6.d.mts +370 -0
- package/dist/env-types.cjs +4 -4
- package/dist/env-types.d.mts +12 -0
- package/dist/env-types.d.ts +12 -0
- package/dist/env-types.mjs +3 -3
- package/dist/env.cjs +4 -4
- package/dist/env.d.mts +65 -0
- package/dist/env.d.ts +65 -0
- package/dist/env.mjs +3 -3
- package/dist/environment/vite.cjs +7 -3
- package/dist/environment/vite.d.mts +31 -0
- package/dist/environment/vite.d.ts +31 -0
- package/dist/environment/vite.mjs +6 -2
- package/dist/environment.cjs +3 -3
- package/dist/environment.d.mts +18 -0
- package/dist/environment.d.ts +18 -0
- package/dist/environment.mjs +2 -2
- package/dist/font.cjs +3 -3
- package/dist/font.d.mts +95 -0
- package/dist/font.d.ts +95 -0
- package/dist/font.mjs +2 -2
- package/dist/generate-route-types.d-BL2pq6xC.d.ts +33 -0
- package/dist/generate-route-types.d-BoVDU8qX.d.mts +33 -0
- package/dist/headers.cjs +8 -6
- package/dist/headers.d.mts +32 -0
- package/dist/headers.d.ts +32 -0
- package/dist/headers.mjs +7 -5
- package/dist/i18n/client.cjs +19 -30
- package/dist/i18n/client.d.mts +32 -0
- package/dist/i18n/client.d.ts +32 -0
- package/dist/i18n/client.mjs +9 -20
- package/dist/i18n/index.cjs +6 -6
- package/dist/i18n/index.d.mts +3 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/index.mjs +5 -5
- package/dist/i18n/server.cjs +10 -10
- package/dist/i18n/server.d.mts +30 -0
- package/dist/i18n/server.d.ts +30 -0
- package/dist/i18n/server.mjs +9 -9
- package/dist/image/server.cjs +9 -5
- package/dist/image/server.d.mts +59 -0
- package/dist/image/server.d.ts +59 -0
- package/dist/image/server.mjs +8 -4
- package/dist/image/sharp.cjs +16 -20
- package/dist/image/sharp.d.mts +20 -0
- package/dist/image/sharp.d.ts +20 -0
- package/dist/image/sharp.mjs +8 -12
- package/dist/image-config.d-CeDgNyX4.d.mts +53 -0
- package/dist/image-config.d-CeDgNyX4.d.ts +53 -0
- package/dist/image.cjs +9 -18
- package/dist/image.d.mts +39 -0
- package/dist/image.d.ts +39 -0
- package/dist/image.mjs +4 -13
- package/dist/index.cjs +250 -174
- package/dist/index.d-BNNDpql4.d.ts +20 -0
- package/dist/index.d-BqcfqJvt.d.mts +20 -0
- package/dist/index.d-Coow7bD4.d.ts +54 -0
- package/dist/index.d-Dbjx0ku7.d.mts +54 -0
- package/dist/index.d.mts +1053 -0
- package/dist/index.d.ts +1053 -0
- package/dist/index.mjs +318 -242
- package/dist/instrumentation-runtime.d-CX9Zh-16.d.mts +22 -0
- package/dist/instrumentation-runtime.d-CX9Zh-16.d.ts +22 -0
- package/dist/instrumentation.cjs +5 -5
- package/dist/instrumentation.d.mts +7 -0
- package/dist/instrumentation.d.ts +7 -0
- package/dist/instrumentation.mjs +4 -4
- package/dist/integration-orm-52GPGTHO.cjs +14 -0
- package/dist/integration-orm-CO23MSFE.mjs +14 -0
- package/dist/integrations.cjs +23 -17
- package/dist/integrations.d.mts +33 -0
- package/dist/integrations.d.ts +33 -0
- package/dist/integrations.mjs +24 -18
- package/dist/internal/app-markdown-runtime.cjs +13 -13
- package/dist/internal/app-markdown-runtime.d.mts +86 -0
- package/dist/internal/app-markdown-runtime.d.ts +86 -0
- package/dist/internal/app-markdown-runtime.mjs +12 -12
- package/dist/internal/build-runtime.cjs +166 -133
- package/dist/internal/build-runtime.d.mts +46 -0
- package/dist/internal/build-runtime.d.ts +46 -0
- package/dist/internal/build-runtime.mjs +154 -121
- package/dist/internal/cli-runtime.cjs +102 -79
- package/dist/internal/cli-runtime.mjs +102 -79
- package/dist/internal/client-error-overlay.cjs +18 -49
- package/dist/internal/client-error-overlay.d.mts +25 -0
- package/dist/internal/client-error-overlay.d.ts +25 -0
- package/dist/internal/client-error-overlay.mjs +14 -45
- package/dist/internal/client-runtime.cjs +73 -59
- package/dist/internal/client-runtime.d.mts +93 -0
- package/dist/internal/client-runtime.d.ts +93 -0
- package/dist/internal/client-runtime.mjs +66 -52
- package/dist/internal/compression-runtime.cjs +4 -4
- package/dist/internal/compression-runtime.d.mts +48 -0
- package/dist/internal/compression-runtime.d.ts +48 -0
- package/dist/internal/compression-runtime.mjs +3 -3
- package/dist/internal/config-runtime.cjs +94 -65
- package/dist/internal/config-runtime.d.mts +336 -0
- package/dist/internal/config-runtime.d.ts +336 -0
- package/dist/internal/config-runtime.mjs +80 -51
- package/dist/internal/desktop-guard.cjs +17 -0
- package/dist/internal/desktop-guard.d.mts +52 -0
- package/dist/internal/desktop-guard.d.ts +52 -0
- package/dist/internal/desktop-guard.mjs +17 -0
- package/dist/internal/docs-precompiled-runtime.cjs +18 -24
- package/dist/internal/docs-precompiled-runtime.d.mts +43 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +43 -0
- package/dist/internal/docs-precompiled-runtime.mjs +14 -20
- package/dist/internal/form-actions-client.cjs +14 -0
- package/dist/internal/form-actions-client.d.mts +5 -0
- package/dist/internal/form-actions-client.d.ts +5 -0
- package/dist/internal/form-actions-client.mjs +14 -0
- package/dist/internal/form-actions.cjs +19 -0
- package/dist/internal/form-actions.d.mts +14 -0
- package/dist/internal/form-actions.d.ts +14 -0
- package/dist/internal/form-actions.mjs +19 -0
- package/dist/internal/infra-analytics-runtime.cjs +24 -8
- package/dist/internal/infra-analytics-runtime.d.mts +16 -0
- package/dist/internal/infra-analytics-runtime.d.ts +16 -0
- package/dist/internal/infra-analytics-runtime.mjs +22 -6
- package/dist/internal/island-codec.cjs +22 -0
- package/dist/internal/island-codec.d.mts +29 -0
- package/dist/internal/island-codec.d.ts +29 -0
- package/dist/internal/island-codec.mjs +22 -0
- package/dist/internal/island-value-store.cjs +10 -0
- package/dist/internal/island-value-store.d.mts +6 -0
- package/dist/internal/island-value-store.d.ts +6 -0
- package/dist/internal/island-value-store.mjs +10 -0
- package/dist/internal/islands-boot.cjs +211 -0
- package/dist/internal/islands-boot.d.mts +8 -0
- package/dist/internal/islands-boot.d.ts +8 -0
- package/dist/internal/islands-boot.mjs +211 -0
- package/dist/internal/islands-runtime.cjs +161 -0
- package/dist/internal/islands-runtime.d.mts +66 -0
- package/dist/internal/islands-runtime.d.ts +66 -0
- package/dist/internal/islands-runtime.mjs +161 -0
- package/dist/internal/islands-server.cjs +16 -0
- package/dist/internal/islands-server.d.mts +3 -0
- package/dist/internal/islands-server.d.ts +3 -0
- package/dist/internal/islands-server.mjs +16 -0
- package/dist/internal/islx-client.cjs +5 -0
- package/dist/internal/islx-client.d.mts +6 -0
- package/dist/internal/islx-client.d.ts +6 -0
- package/dist/internal/islx-client.mjs +3 -0
- package/dist/internal/islx-react.cjs +4 -0
- package/dist/internal/islx-react.d.mts +1 -0
- package/dist/internal/islx-react.d.ts +1 -0
- package/dist/internal/islx-react.mjs +2 -0
- package/dist/internal/islx-server.cjs +5 -0
- package/dist/internal/islx-server.d.mts +2 -0
- package/dist/internal/islx-server.d.ts +2 -0
- package/dist/internal/islx-server.mjs +3 -0
- package/dist/internal/isolated-boundary.cjs +5 -4
- package/dist/internal/isolated-boundary.d.mts +66 -0
- package/dist/internal/isolated-boundary.d.ts +66 -0
- package/dist/internal/isolated-boundary.mjs +4 -3
- package/dist/internal/metadata-image-runtime.cjs +8 -7
- package/dist/internal/metadata-image-runtime.d.mts +30 -0
- package/dist/internal/metadata-image-runtime.d.ts +30 -0
- package/dist/internal/metadata-image-runtime.mjs +7 -6
- package/dist/internal/native-server-fns.cjs +25 -0
- package/dist/internal/native-server-fns.d.mts +42 -0
- package/dist/internal/native-server-fns.d.ts +42 -0
- package/dist/internal/native-server-fns.mjs +25 -0
- package/dist/internal/product-telemetry-runtime.cjs +22 -228
- package/dist/internal/product-telemetry-runtime.d.mts +45 -0
- package/dist/internal/product-telemetry-runtime.d.ts +45 -0
- package/dist/internal/product-telemetry-runtime.mjs +11 -217
- package/dist/internal/production-node-env.cjs +7 -3
- package/dist/internal/production-node-env.d.mts +21 -0
- package/dist/internal/production-node-env.d.ts +21 -0
- package/dist/internal/production-node-env.mjs +6 -2
- package/dist/internal/production-runtime.cjs +179 -90
- package/dist/internal/production-runtime.d.mts +566 -0
- package/dist/internal/production-runtime.d.ts +566 -0
- package/dist/internal/production-runtime.mjs +203 -114
- package/dist/internal/react-cache.cjs +71 -0
- package/dist/internal/react-cache.d.mts +10 -0
- package/dist/internal/react-cache.d.ts +10 -0
- package/dist/internal/react-cache.mjs +71 -0
- package/dist/internal/request-cookies.cjs +3 -3
- package/dist/internal/request-cookies.d.mts +16 -0
- package/dist/internal/request-cookies.d.ts +16 -0
- package/dist/internal/request-cookies.mjs +2 -2
- package/dist/internal/server-fn-transform.cjs +13 -0
- package/dist/internal/server-fn-transform.d.mts +24 -0
- package/dist/internal/server-fn-transform.d.ts +24 -0
- package/dist/internal/server-fn-transform.mjs +13 -0
- package/dist/internal/server-tree.cjs +7 -4
- package/dist/internal/server-tree.d.mts +50 -0
- package/dist/internal/server-tree.d.ts +50 -0
- package/dist/internal/server-tree.mjs +8 -5
- package/dist/island-value-protocol.d-BRayRghM.d.mts +12 -0
- package/dist/island-value-protocol.d-BRayRghM.d.ts +12 -0
- package/dist/island.d-CfGru1MO.d.mts +9 -0
- package/dist/island.d-CfGru1MO.d.ts +9 -0
- package/dist/json-ld.cjs +3 -16
- package/dist/json-ld.d.mts +94 -0
- package/dist/json-ld.d.ts +94 -0
- package/dist/json-ld.mjs +3 -16
- package/dist/layers-DMRXRL7F.cjs +18 -0
- package/dist/layers-T55SA47E.mjs +18 -0
- package/dist/layers.d-CcS42OGR.d.mts +55 -0
- package/dist/layers.d-CcS42OGR.d.ts +55 -0
- package/dist/lifecycle.d-C2aLBOwu.d.mts +176 -0
- package/dist/lifecycle.d-C2aLBOwu.d.ts +176 -0
- package/dist/manager-2LUKNX2N.cjs +14 -0
- package/dist/manager-H5ZM3HAM.mjs +14 -0
- package/dist/markdown.cjs +19 -12
- package/dist/markdown.d.mts +33 -0
- package/dist/markdown.d.ts +33 -0
- package/dist/markdown.mjs +18 -11
- package/dist/middleware.cjs +34 -26
- package/dist/middleware.d.mts +225 -0
- package/dist/middleware.d.ts +225 -0
- package/dist/middleware.mjs +38 -30
- package/dist/mobile.cjs +9 -0
- package/dist/mobile.d.mts +138 -0
- package/dist/mobile.d.ts +138 -0
- package/dist/mobile.mjs +9 -0
- package/dist/modules-KOKD4XS6.mjs +13 -0
- package/dist/modules-QTP7WJPD.cjs +13 -0
- package/dist/native-server-fn-handler-GLRHAYWV.mjs +28 -0
- package/dist/native-server-fn-handler-J5MYRXN6.cjs +28 -0
- package/dist/native-specs-5OLED4MM.cjs +15 -0
- package/dist/native-specs-LDV6IZ4N.mjs +15 -0
- package/dist/native-tree-AS5L3ID3.mjs +27 -0
- package/dist/native-tree-Z2WYUJEV.cjs +27 -0
- package/dist/native.cjs +87 -0
- package/dist/native.d.mts +72 -0
- package/dist/native.d.ts +72 -0
- package/dist/native.mjs +87 -0
- package/dist/navigation-delegate.d-Ca_BV0Wu.d.mts +29 -0
- package/dist/navigation-delegate.d-aHiPI6GL.d.ts +29 -0
- package/dist/navigation.cjs +22 -21
- package/dist/navigation.d.mts +51 -0
- package/dist/navigation.d.ts +51 -0
- package/dist/navigation.mjs +21 -20
- package/dist/nitro-DD4QCA66.mjs +650 -0
- package/dist/nitro-VRDX2H4M.cjs +650 -0
- package/dist/node-module-bundle-7JHPPF6B.mjs +11 -0
- package/dist/node-module-bundle-YJGYBOGK.cjs +11 -0
- package/dist/observability.cjs +3 -3
- package/dist/observability.d-B2363jB6.d.mts +448 -0
- package/dist/observability.d-B2363jB6.d.ts +448 -0
- package/dist/observability.d.mts +2 -0
- package/dist/observability.d.ts +2 -0
- package/dist/observability.mjs +2 -2
- package/dist/og.cjs +1 -1
- package/dist/og.d.mts +1 -0
- package/dist/og.d.ts +1 -0
- package/dist/og.mjs +1 -1
- package/dist/params.d-BALtrRim.d.ts +15 -0
- package/dist/params.d-ry-lxqmy.d.mts +15 -0
- package/dist/platform.cjs +29 -0
- package/dist/platform.d.mts +24 -0
- package/dist/platform.d.ts +24 -0
- package/dist/platform.mjs +29 -0
- package/dist/plugin-53SY5YBS.mjs +32 -0
- package/dist/plugin-HZIBL3DW.cjs +32 -0
- package/dist/plugin.cjs +154 -124
- package/dist/plugin.d.mts +58 -0
- package/dist/plugin.d.ts +58 -0
- package/dist/plugin.mjs +137 -107
- package/dist/port-UFUZL6RI.mjs +419 -0
- package/dist/port-VTLHPZOI.cjs +419 -0
- package/dist/production-runtime.d-C0rF7a10.d.ts +123 -0
- package/dist/production-runtime.d-CnAsSWgF.d.mts +123 -0
- package/dist/production-vite.d-BQFAlG7n.d.mts +13 -0
- package/dist/production-vite.d-BQFAlG7n.d.ts +13 -0
- package/dist/query/client.cjs +59 -69
- package/dist/query/client.d.mts +61 -0
- package/dist/query/client.d.ts +61 -0
- package/dist/query/client.mjs +51 -61
- package/dist/query/index.cjs +4 -4
- package/dist/query/index.d.mts +90 -0
- package/dist/query/index.d.ts +90 -0
- package/dist/query/index.mjs +3 -3
- package/dist/query/parsers.cjs +3 -3
- package/dist/query/parsers.d.mts +29 -0
- package/dist/query/parsers.d.ts +29 -0
- package/dist/query/parsers.mjs +2 -2
- package/dist/query/server.cjs +5 -11
- package/dist/query/server.d.mts +55 -0
- package/dist/query/server.d.ts +55 -0
- package/dist/query/server.mjs +3 -9
- package/dist/render-plan.d-BxeITFT1.d.ts +25 -0
- package/dist/render-plan.d-Z-93m5GZ.d.mts +25 -0
- package/dist/renderer/react/client.cjs +1 -1
- package/dist/renderer/react/client.d.mts +3 -0
- package/dist/renderer/react/client.d.ts +3 -0
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +10 -14
- package/dist/renderer/react/server.d.mts +48 -0
- package/dist/renderer/react/server.d.ts +48 -0
- package/dist/renderer/react/server.mjs +12 -16
- package/dist/renderer/react/vite.cjs +1 -4
- package/dist/renderer/react/vite.d.mts +4 -0
- package/dist/renderer/react/vite.d.ts +4 -0
- package/dist/renderer/react/vite.mjs +1 -4
- package/dist/renderer-client.cjs +71 -77
- package/dist/renderer-client.d.mts +126 -0
- package/dist/renderer-client.d.ts +126 -0
- package/dist/renderer-client.mjs +51 -57
- package/dist/renderer.cjs +3 -3
- package/dist/renderer.d.mts +260 -0
- package/dist/renderer.d.ts +260 -0
- package/dist/renderer.mjs +2 -2
- package/dist/request.cjs +4 -4
- package/dist/request.d-8_fMFNEb.d.mts +24 -0
- package/dist/request.d-X7Q1vmGF.d.ts +24 -0
- package/dist/request.d.mts +34 -0
- package/dist/request.d.ts +34 -0
- package/dist/request.mjs +3 -3
- package/dist/resolver.d-BHyZgpa7.d.ts +14 -0
- package/dist/resolver.d-JnZKKsc5.d.mts +14 -0
- package/dist/response.d-BolW0Vx_.d.mts +10 -0
- package/dist/response.d-BolW0Vx_.d.ts +10 -0
- package/dist/route-pattern.d-CVsVbq5n.d.mts +13 -0
- package/dist/route-pattern.d-CVsVbq5n.d.ts +13 -0
- package/dist/route-rendering.d-BInmBmul.d.mts +44 -0
- package/dist/route-rendering.d-BUr3Jp8S.d.ts +44 -0
- package/dist/route.d-BaVH3V0w.d.mts +224 -0
- package/dist/route.d-DBTEqifW.d.ts +224 -0
- package/dist/router.cjs +5 -5
- package/dist/router.d-CZQmbpHx.d.mts +50 -0
- package/dist/router.d-crorSRiW.d.ts +50 -0
- package/dist/router.d.mts +36 -0
- package/dist/router.d.ts +36 -0
- package/dist/router.mjs +4 -4
- package/dist/routes.cjs +14 -12
- package/dist/routes.d-BknKQcTu.d.ts +237 -0
- package/dist/routes.d-D1IrO9KK.d.mts +237 -0
- package/dist/routes.d.mts +273 -0
- package/dist/routes.d.ts +273 -0
- package/dist/routes.mjs +13 -11
- package/dist/rsc-pipeline-3MPRULGA.mjs +83 -0
- package/dist/rsc-pipeline-RHEZNBFQ.cjs +83 -0
- package/dist/runtime-OZKFZQCU.cjs +1336 -0
- package/dist/runtime-X5UR7VHP.mjs +1336 -0
- package/dist/runtime.d-3iJAKptR.d.mts +28 -0
- package/dist/runtime.d-BtL3PCL3.d.ts +28 -0
- package/dist/runtime.d-CCsjTZJW.d.ts +69 -0
- package/dist/runtime.d-CETtpLb-.d.mts +69 -0
- package/dist/schema-dev-notice-JMXEQWIQ.mjs +54 -0
- package/dist/schema-dev-notice-PLBFDTOF.cjs +54 -0
- package/dist/schema.cjs +3 -3
- package/dist/schema.d.mts +115 -0
- package/dist/schema.d.ts +115 -0
- package/dist/schema.mjs +2 -2
- package/dist/search-client-OXH6GBNO.mjs +15 -0
- package/dist/search-client-ZZLKVO5R.cjs +15 -0
- package/dist/server-action-security.cjs +8 -7
- package/dist/server-action-security.d.mts +45 -0
- package/dist/server-action-security.d.ts +45 -0
- package/dist/server-action-security.mjs +7 -6
- package/dist/server-client-bridge.d-DKWDl5NB.d.mts +7 -0
- package/dist/server-client-bridge.d-DKWDl5NB.d.ts +7 -0
- package/dist/server-fn-client.cjs +4 -4
- package/dist/server-fn-client.d.mts +60 -0
- package/dist/server-fn-client.d.ts +60 -0
- package/dist/server-fn-client.mjs +3 -3
- package/dist/server-fn-error.d-DrcH9cc1.d.mts +26 -0
- package/dist/server-fn-error.d-DrcH9cc1.d.ts +26 -0
- package/dist/server-fn.cjs +15 -14
- package/dist/server-fn.d.mts +192 -0
- package/dist/server-fn.d.ts +192 -0
- package/dist/server-fn.mjs +14 -13
- package/dist/server-plugins.cjs +15 -15
- package/dist/server-plugins.d.mts +65 -0
- package/dist/server-plugins.d.ts +65 -0
- package/dist/server-plugins.mjs +14 -14
- package/dist/server-query-client.cjs +9 -8
- package/dist/server-query-client.d.mts +26 -0
- package/dist/server-query-client.d.ts +26 -0
- package/dist/server-query-client.mjs +8 -7
- package/dist/server-query-runtime.d-DXRNhX_3.d.ts +36 -0
- package/dist/server-query-runtime.d-aP52iuL5.d.mts +36 -0
- package/dist/server-query.cjs +17 -16
- package/dist/server-query.d.mts +46 -0
- package/dist/server-query.d.ts +46 -0
- package/dist/server-query.mjs +16 -15
- package/dist/server.cjs +266 -199
- package/dist/server.d.mts +78 -0
- package/dist/server.d.ts +78 -0
- package/dist/server.mjs +239 -172
- package/dist/session-2Q72D4QV.cjs +23 -0
- package/dist/session-QZXZOPR2.mjs +23 -0
- package/dist/shell-render.d-CG6bPiiA.d.mts +41 -0
- package/dist/shell-render.d-CG6bPiiA.d.ts +41 -0
- package/dist/spa-router.d-CCADbSqJ.d.ts +248 -0
- package/dist/spa-router.d-CtSHzXlC.d.mts +248 -0
- package/dist/storage.cjs +7 -3
- package/dist/storage.d.mts +60 -0
- package/dist/storage.d.ts +60 -0
- package/dist/storage.mjs +6 -2
- package/dist/testing.cjs +59 -76
- package/dist/testing.d.mts +110 -0
- package/dist/testing.d.ts +110 -0
- package/dist/testing.mjs +49 -66
- package/dist/theme/client.cjs +5 -5
- package/dist/theme/client.d.mts +10 -0
- package/dist/theme/client.d.ts +10 -0
- package/dist/theme/client.mjs +4 -4
- package/dist/theme/index.cjs +3 -3
- package/dist/theme/index.d.mts +6 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/index.mjs +2 -2
- package/dist/theme/runtime.cjs +3 -3
- package/dist/theme/runtime.d.mts +13 -0
- package/dist/theme/runtime.d.ts +13 -0
- package/dist/theme/runtime.mjs +2 -2
- package/dist/theme/server.cjs +8 -8
- package/dist/theme/server.d.mts +8 -0
- package/dist/theme/server.d.ts +8 -0
- package/dist/theme/server.mjs +7 -7
- package/dist/types.d-BnIqOn9w.d.mts +73 -0
- package/dist/types.d-BnIqOn9w.d.ts +73 -0
- package/dist/types.d-C41ePjvP.d.mts +85 -0
- package/dist/types.d-C41ePjvP.d.ts +85 -0
- package/dist/types.d-DQnyD3VD.d.mts +30 -0
- package/dist/types.d-DQnyD3VD.d.ts +30 -0
- package/dist/utils.d-CjyE-npA.d.ts +54 -0
- package/dist/utils.d-zFPHKFFJ.d.mts +54 -0
- package/dist/version.cjs +3 -3
- package/dist/version.d.mts +3 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +172 -120
- package/dist/vite.d.mts +186 -0
- package/dist/vite.d.ts +186 -0
- package/dist/vite.mjs +159 -107
- package/dist/workflows.cjs +14 -13
- package/dist/workflows.d-CRMzQZ3k.d.mts +188 -0
- package/dist/workflows.d-CRMzQZ3k.d.ts +188 -0
- package/dist/workflows.d.mts +1 -0
- package/dist/workflows.d.ts +1 -0
- package/dist/workflows.mjs +13 -12
- package/package.json +7 -2
- package/dist/agent-mcp-handler-LPJ2CADR.mjs +0 -19
- package/dist/agent-mcp-handler-SJAHFSPI.cjs +0 -19
- package/dist/chunk-23MGIV4X.mjs +0 -579
- package/dist/chunk-27ZWSI3W.cjs +0 -64
- package/dist/chunk-2A3EQHXX.mjs +0 -173
- package/dist/chunk-2CQ74SP6.cjs +0 -13
- package/dist/chunk-2ELDTQRN.mjs +0 -85
- package/dist/chunk-2J7W2WND.mjs +0 -149
- package/dist/chunk-2NNMOPDN.mjs +0 -237
- package/dist/chunk-2PQNJXFM.mjs +0 -20
- package/dist/chunk-2SJ4RQ6P.cjs +0 -57
- package/dist/chunk-2UC36WAC.mjs +0 -22
- package/dist/chunk-2VQKKQ6D.mjs +0 -51
- package/dist/chunk-2Y3JRYVG.mjs +0 -71
- package/dist/chunk-35GKZR22.mjs +0 -157
- package/dist/chunk-3BU22U3M.cjs +0 -237
- package/dist/chunk-3KZS4SUS.mjs +0 -414
- package/dist/chunk-3SDFA7UF.cjs +0 -701
- package/dist/chunk-3TLO7SBY.cjs +0 -240
- package/dist/chunk-3UEVPCGW.mjs +0 -435
- package/dist/chunk-3WNDJT2E.cjs +0 -109
- package/dist/chunk-44SYJEG3.mjs +0 -13
- package/dist/chunk-45ZSJLDT.mjs +0 -183
- package/dist/chunk-4E5AEDKY.mjs +0 -696
- package/dist/chunk-4E5WBPEG.mjs +0 -1157
- package/dist/chunk-4GLOOWKE.mjs +0 -1344
- package/dist/chunk-4JCQDWPX.mjs +0 -24
- package/dist/chunk-4NU4GGTC.cjs +0 -484
- package/dist/chunk-4OOBRCJX.mjs +0 -300
- package/dist/chunk-4PPEPOZZ.cjs +0 -21
- package/dist/chunk-4RB44K6Z.mjs +0 -94
- package/dist/chunk-4SIYUGRY.mjs +0 -93
- package/dist/chunk-4WQ6PGSJ.cjs +0 -367
- package/dist/chunk-4WVJLURN.mjs +0 -417
- package/dist/chunk-4ZFL5GFN.cjs +0 -520
- package/dist/chunk-54UPOYFS.mjs +0 -35
- package/dist/chunk-55YI3RRB.mjs +0 -192
- package/dist/chunk-5I3OT426.cjs +0 -11021
- package/dist/chunk-5QIKR7RR.cjs +0 -224
- package/dist/chunk-5SJWVY6R.mjs +0 -26
- package/dist/chunk-5WI2S4CO.mjs +0 -20
- package/dist/chunk-63H6BKXG.cjs +0 -389
- package/dist/chunk-655RLQQL.mjs +0 -43
- package/dist/chunk-6EODJYCX.cjs +0 -183
- package/dist/chunk-6EXBPJ24.cjs +0 -434
- package/dist/chunk-6MVFL3R5.cjs +0 -506
- package/dist/chunk-6NT6S2VQ.mjs +0 -180
- package/dist/chunk-6QQDAAAZ.cjs +0 -38
- package/dist/chunk-6SJ2KJTA.mjs +0 -314
- package/dist/chunk-6SM5XXFS.cjs +0 -70
- package/dist/chunk-6V4TDWEC.cjs +0 -455
- package/dist/chunk-72ADZ6GQ.cjs +0 -19
- package/dist/chunk-72AK62H5.mjs +0 -55
- package/dist/chunk-75RZHGLS.cjs +0 -135
- package/dist/chunk-77GNHH2Z.cjs +0 -236
- package/dist/chunk-7DBXEASO.cjs +0 -40
- package/dist/chunk-7LTCDQRS.mjs +0 -166
- package/dist/chunk-7W3CPVXS.cjs +0 -24
- package/dist/chunk-A6WIQH5Z.cjs +0 -31
- package/dist/chunk-ADEA7PN3.cjs +0 -1101
- package/dist/chunk-AELACLOB.mjs +0 -47
- package/dist/chunk-AHGECQEW.mjs +0 -49
- package/dist/chunk-AI7QMY7O.cjs +0 -41
- package/dist/chunk-AJQTP4OO.mjs +0 -212
- package/dist/chunk-AMDMVWMI.cjs +0 -39
- package/dist/chunk-ARJWXNQL.cjs +0 -256
- package/dist/chunk-BCMSYSN2.mjs +0 -183
- package/dist/chunk-BIDYX3SL.cjs +0 -91
- package/dist/chunk-BJIYRUGQ.mjs +0 -35
- package/dist/chunk-BJPBQNIE.cjs +0 -2355
- package/dist/chunk-BO36SELV.cjs +0 -395
- package/dist/chunk-BOYNDCZL.mjs +0 -54
- package/dist/chunk-BPMATOP2.cjs +0 -687
- package/dist/chunk-BPOF5U4N.mjs +0 -566
- package/dist/chunk-BRYHOB4X.mjs +0 -18
- package/dist/chunk-BSC7JTOK.mjs +0 -70
- package/dist/chunk-BTHHUD7Q.mjs +0 -51
- package/dist/chunk-BUGNQIHC.mjs +0 -449
- package/dist/chunk-C4NCTZLM.mjs +0 -22
- package/dist/chunk-C4SPBWFM.cjs +0 -26
- package/dist/chunk-C5GUTBZK.cjs +0 -173
- package/dist/chunk-CBBLJMR5.mjs +0 -74
- package/dist/chunk-CBJJH36A.cjs +0 -2187
- package/dist/chunk-CGBDNNSM.cjs +0 -664
- package/dist/chunk-CI6E3UOH.cjs +0 -314
- package/dist/chunk-CMGMGHUZ.cjs +0 -27
- package/dist/chunk-CNOQY6Z7.mjs +0 -156
- package/dist/chunk-CQ6OSQ3K.mjs +0 -36
- package/dist/chunk-CU625VAY.mjs +0 -13
- package/dist/chunk-CVOSWIQA.mjs +0 -15300
- package/dist/chunk-CXEN47J3.mjs +0 -550
- package/dist/chunk-CXP5U3RW.cjs +0 -54
- package/dist/chunk-D227TIEN.cjs +0 -1114
- package/dist/chunk-D2BB47NB.cjs +0 -157
- package/dist/chunk-D2ULAULS.cjs +0 -166
- package/dist/chunk-D7JTOLFK.cjs +0 -285
- package/dist/chunk-DAATZTKJ.mjs +0 -220
- package/dist/chunk-DAO7JGTS.mjs +0 -73
- package/dist/chunk-DQQOKWYA.cjs +0 -42
- package/dist/chunk-DTSROJ5J.mjs +0 -367
- package/dist/chunk-DVM4FKZL.cjs +0 -169
- package/dist/chunk-DZ5ZVB2K.cjs +0 -9
- package/dist/chunk-E2ROOWQC.cjs +0 -2225
- package/dist/chunk-E3UK5IIB.cjs +0 -593
- package/dist/chunk-E5GNDG5F.mjs +0 -701
- package/dist/chunk-EA5K5BKU.mjs +0 -455
- package/dist/chunk-ECKF2BAM.cjs +0 -403
- package/dist/chunk-EK4QAEFZ.cjs +0 -550
- package/dist/chunk-EMLAPBEM.mjs +0 -256
- package/dist/chunk-ENLZ4R3Y.mjs +0 -55
- package/dist/chunk-EUV4YR3V.cjs +0 -1362
- package/dist/chunk-EWET4D2Y.mjs +0 -395
- package/dist/chunk-EZDQRNQ7.mjs +0 -1496
- package/dist/chunk-F2SE2VDO.mjs +0 -65
- package/dist/chunk-F3LTXB63.mjs +0 -40
- package/dist/chunk-F3VB7ONA.mjs +0 -338
- package/dist/chunk-F5QO4FNE.mjs +0 -664
- package/dist/chunk-FA2W42OV.mjs +0 -25
- package/dist/chunk-FDR64H6B.mjs +0 -140
- package/dist/chunk-FFFW3OQ7.cjs +0 -65
- package/dist/chunk-FJ3M4CUX.cjs +0 -46
- package/dist/chunk-FK6GO24V.cjs +0 -54
- package/dist/chunk-FNO7A7CM.cjs +0 -1496
- package/dist/chunk-FO427P6I.cjs +0 -392
- package/dist/chunk-FP2INE7H.mjs +0 -113
- package/dist/chunk-FUZEBRP3.mjs +0 -593
- package/dist/chunk-FZ6YYU2W.mjs +0 -65
- package/dist/chunk-G2KY33I6.mjs +0 -202
- package/dist/chunk-G4MWPDSE.mjs +0 -19
- package/dist/chunk-G643DQCH.cjs +0 -13
- package/dist/chunk-G7HXGLEC.cjs +0 -175
- package/dist/chunk-GC3SUL6M.mjs +0 -109
- package/dist/chunk-GCXWJJKH.mjs +0 -169
- package/dist/chunk-GHFS7RUB.mjs +0 -152
- package/dist/chunk-GQ3Z3IZI.cjs +0 -241
- package/dist/chunk-H4AMB6ZE.mjs +0 -421
- package/dist/chunk-H77NVNJ2.mjs +0 -57
- package/dist/chunk-HALDNTIV.mjs +0 -2225
- package/dist/chunk-HITLGIAO.cjs +0 -55
- package/dist/chunk-HLJ6MBUZ.cjs +0 -183
- package/dist/chunk-HOXTWRGB.mjs +0 -484
- package/dist/chunk-HREOKQWT.cjs +0 -45
- package/dist/chunk-I2BHUNBU.mjs +0 -14
- package/dist/chunk-I57LW5VZ.cjs +0 -94
- package/dist/chunk-IE7XCHH3.cjs +0 -85
- package/dist/chunk-IHNIDL6H.cjs +0 -772
- package/dist/chunk-IK6LVLKC.cjs +0 -51
- package/dist/chunk-IOEH4VWN.mjs +0 -202
- package/dist/chunk-IWZKTWHZ.cjs +0 -435
- package/dist/chunk-IZY3V5XW.mjs +0 -23
- package/dist/chunk-J63ZH5OQ.cjs +0 -62
- package/dist/chunk-J7FSKED3.cjs +0 -93
- package/dist/chunk-JBSVKMC5.mjs +0 -28
- package/dist/chunk-JDNHKPTD.cjs +0 -22
- package/dist/chunk-JG6DJF5A.mjs +0 -238
- package/dist/chunk-JGLC4TO3.cjs +0 -192
- package/dist/chunk-JM5XPKWH.mjs +0 -41
- package/dist/chunk-JNUWCDTF.cjs +0 -1344
- package/dist/chunk-JNZ4TDWM.mjs +0 -445
- package/dist/chunk-JPLUGGRV.mjs +0 -230
- package/dist/chunk-JSROZYYO.cjs +0 -164
- package/dist/chunk-KCMTCM6I.cjs +0 -53
- package/dist/chunk-KGB5UXJJ.mjs +0 -27
- package/dist/chunk-KGZIORNL.cjs +0 -43
- package/dist/chunk-KI3MESHB.mjs +0 -224
- package/dist/chunk-KIIMAWOJ.cjs +0 -505
- package/dist/chunk-KMTGADN3.mjs +0 -95
- package/dist/chunk-KN7K4VQN.mjs +0 -236
- package/dist/chunk-KNBBQHO2.cjs +0 -51
- package/dist/chunk-KR6CKSXT.cjs +0 -15
- package/dist/chunk-KXWRO25S.cjs +0 -85
- package/dist/chunk-L3KT7IXV.mjs +0 -91
- package/dist/chunk-LCCBO7PJ.cjs +0 -46
- package/dist/chunk-LIUGYUX3.cjs +0 -22
- package/dist/chunk-LPEX4YW6.mjs +0 -13
- package/dist/chunk-LSKZMJMP.cjs +0 -65
- package/dist/chunk-LSZAVSGY.mjs +0 -1101
- package/dist/chunk-LTNGXMQ6.cjs +0 -55
- package/dist/chunk-LYLEZIG3.cjs +0 -73
- package/dist/chunk-LYV44OIR.mjs +0 -256
- package/dist/chunk-M2L4MYDQ.cjs +0 -14
- package/dist/chunk-M7MKQXAF.cjs +0 -87
- package/dist/chunk-MKYBIIAQ.mjs +0 -2187
- package/dist/chunk-MQ3H6LT5.cjs +0 -202
- package/dist/chunk-MRMI32SN.cjs +0 -1157
- package/dist/chunk-MSSFIQGM.mjs +0 -1002
- package/dist/chunk-MT763TDW.cjs +0 -43
- package/dist/chunk-MVL2RAJW.mjs +0 -62
- package/dist/chunk-MWSK6C4J.cjs +0 -18
- package/dist/chunk-MWWVKDW3.cjs +0 -169
- package/dist/chunk-N2NAS2AM.cjs +0 -725
- package/dist/chunk-N46M65CI.mjs +0 -54
- package/dist/chunk-N4UOK6ZI.cjs +0 -256
- package/dist/chunk-NI2TCCTG.mjs +0 -11020
- package/dist/chunk-NO3WWW3N.cjs +0 -192
- package/dist/chunk-NPC7VWJE.mjs +0 -277
- package/dist/chunk-NRDBW4MP.mjs +0 -45
- package/dist/chunk-NRSN7G7E.mjs +0 -42
- package/dist/chunk-NYJMY3JA.cjs +0 -156
- package/dist/chunk-NZKJGRB3.cjs +0 -230
- package/dist/chunk-O6BCQV2T.mjs +0 -46
- package/dist/chunk-O6I6VWKK.mjs +0 -493
- package/dist/chunk-O6WAEAX3.mjs +0 -2028
- package/dist/chunk-O7BH5O46.mjs +0 -175
- package/dist/chunk-OFZUJMCU.mjs +0 -601
- package/dist/chunk-OHLSEQ57.mjs +0 -910
- package/dist/chunk-OHY2ZWUG.cjs +0 -25
- package/dist/chunk-OI6CMLWX.cjs +0 -47
- package/dist/chunk-ONUEYC6N.mjs +0 -27
- package/dist/chunk-OO7GXVSR.mjs +0 -9
- package/dist/chunk-OT6ZEW74.mjs +0 -139
- package/dist/chunk-OTC5BDGO.mjs +0 -687
- package/dist/chunk-OX6O6WVA.cjs +0 -74
- package/dist/chunk-OYEUREB6.cjs +0 -35
- package/dist/chunk-OZVEHHMA.cjs +0 -194
- package/dist/chunk-P5TJO5IS.mjs +0 -240
- package/dist/chunk-PCOTGFSM.cjs +0 -139
- package/dist/chunk-PNGWZFUQ.mjs +0 -39
- package/dist/chunk-PSV6XKPO.cjs +0 -220
- package/dist/chunk-PTZ2TVNE.cjs +0 -178
- package/dist/chunk-PZNL3WEG.mjs +0 -772
- package/dist/chunk-PZYCPSCC.cjs +0 -35
- package/dist/chunk-Q2KB32T4.mjs +0 -690
- package/dist/chunk-Q5B3KJBP.cjs +0 -152
- package/dist/chunk-QBK2AA4U.cjs +0 -445
- package/dist/chunk-QCFBDFRS.mjs +0 -169
- package/dist/chunk-QCVE2OCI.cjs +0 -169
- package/dist/chunk-QE6VAKLT.mjs +0 -85
- package/dist/chunk-QNPEUFHQ.cjs +0 -27
- package/dist/chunk-QORUJDIV.mjs +0 -46
- package/dist/chunk-QV4VE2OW.mjs +0 -166
- package/dist/chunk-QVKYGNVM.mjs +0 -27
- package/dist/chunk-QVYLBY73.mjs +0 -93
- package/dist/chunk-R3DS7A2T.mjs +0 -21
- package/dist/chunk-R5A5KNVX.cjs +0 -20
- package/dist/chunk-R5JIFR6B.cjs +0 -42
- package/dist/chunk-RHAZ22ZN.mjs +0 -87
- package/dist/chunk-RKPDESVW.cjs +0 -15301
- package/dist/chunk-RSOJ7DRT.mjs +0 -506
- package/dist/chunk-S3A45T7F.cjs +0 -166
- package/dist/chunk-S3FNNQHR.mjs +0 -31
- package/dist/chunk-S3JO3N4H.cjs +0 -17
- package/dist/chunk-S67OYZU7.mjs +0 -711
- package/dist/chunk-S6VYG6XU.cjs +0 -493
- package/dist/chunk-SAXPH6G5.mjs +0 -169
- package/dist/chunk-SC2WYWPF.mjs +0 -241
- package/dist/chunk-SDOTRX3V.cjs +0 -690
- package/dist/chunk-SEJ5N6SL.mjs +0 -38
- package/dist/chunk-SFGWNC43.mjs +0 -97
- package/dist/chunk-SHB3GYXI.mjs +0 -285
- package/dist/chunk-SHLXACIO.cjs +0 -95
- package/dist/chunk-SJNMVDDF.cjs +0 -86
- package/dist/chunk-SK35NQKK.cjs +0 -27
- package/dist/chunk-SKNL7VA2.mjs +0 -42
- package/dist/chunk-SLQCDJSO.mjs +0 -18
- package/dist/chunk-SOR334EB.cjs +0 -149
- package/dist/chunk-SU7MH53P.cjs +0 -180
- package/dist/chunk-SVRTJOUF.cjs +0 -113
- package/dist/chunk-SYQ3MOWW.cjs +0 -73
- package/dist/chunk-T4OGRVNS.mjs +0 -392
- package/dist/chunk-T5OJPTVN.cjs +0 -417
- package/dist/chunk-TE2G5ION.cjs +0 -2028
- package/dist/chunk-TFQG7TBC.mjs +0 -43
- package/dist/chunk-TIWHTW3Q.cjs +0 -24
- package/dist/chunk-TKJZFIML.cjs +0 -20
- package/dist/chunk-TKSCR644.cjs +0 -414
- package/dist/chunk-TVGP4BBZ.mjs +0 -45
- package/dist/chunk-U4KT7QP3.cjs +0 -23
- package/dist/chunk-UDNPLXW7.mjs +0 -86
- package/dist/chunk-UFDAAQFX.cjs +0 -169
- package/dist/chunk-UFDV5N3C.cjs +0 -711
- package/dist/chunk-UH6QN5NL.mjs +0 -178
- package/dist/chunk-UP4CW6WP.mjs +0 -169
- package/dist/chunk-UQZ4AYTH.cjs +0 -168
- package/dist/chunk-US2QVW3E.cjs +0 -36
- package/dist/chunk-UVW64BCB.cjs +0 -910
- package/dist/chunk-UWPLULNK.mjs +0 -520
- package/dist/chunk-UXFQ3UDA.cjs +0 -140
- package/dist/chunk-UYIHRDE4.cjs +0 -97
- package/dist/chunk-V2FTMRS7.mjs +0 -223
- package/dist/chunk-VB6UCX3V.cjs +0 -421
- package/dist/chunk-VEKFLAQM.cjs +0 -300
- package/dist/chunk-VILIPRS6.mjs +0 -725
- package/dist/chunk-VQLJWDVW.cjs +0 -696
- package/dist/chunk-W3B4PKAW.mjs +0 -28
- package/dist/chunk-W4E7WMXE.cjs +0 -71
- package/dist/chunk-W7LF2J2S.mjs +0 -64
- package/dist/chunk-WBKEZXWE.cjs +0 -449
- package/dist/chunk-WC5UV2HQ.cjs +0 -212
- package/dist/chunk-WMAPPDMM.cjs +0 -28
- package/dist/chunk-WMOGFOUJ.cjs +0 -223
- package/dist/chunk-WNSDDRNU.mjs +0 -24
- package/dist/chunk-WWFTAUFG.cjs +0 -45
- package/dist/chunk-WWIKMBRN.mjs +0 -1362
- package/dist/chunk-XCMCS4DA.mjs +0 -1114
- package/dist/chunk-XJJVLDM6.mjs +0 -194
- package/dist/chunk-XJXBIP67.cjs +0 -277
- package/dist/chunk-XNPDONUH.mjs +0 -389
- package/dist/chunk-XSIRSMAS.cjs +0 -339
- package/dist/chunk-XZNTNMHT.mjs +0 -15
- package/dist/chunk-Y5SJM2W7.cjs +0 -579
- package/dist/chunk-YDQZGSDS.mjs +0 -2355
- package/dist/chunk-YFILVET3.mjs +0 -192
- package/dist/chunk-YFPGHF5F.cjs +0 -202
- package/dist/chunk-YHOCRI4H.mjs +0 -434
- package/dist/chunk-YJRZR7VU.cjs +0 -28
- package/dist/chunk-YKX5BK66.cjs +0 -46
- package/dist/chunk-YOZYCI6Z.mjs +0 -73
- package/dist/chunk-YSCV4SJF.cjs +0 -49
- package/dist/chunk-YSLWRWWP.cjs +0 -601
- package/dist/chunk-YWMZUGIS.mjs +0 -403
- package/dist/chunk-YWN746US.cjs +0 -1002
- package/dist/chunk-YX3DBN4M.cjs +0 -18
- package/dist/chunk-Z2HLU4IX.cjs +0 -238
- package/dist/chunk-Z2RZJZIZ.mjs +0 -168
- package/dist/chunk-Z3HATSKO.mjs +0 -46
- package/dist/chunk-ZEG3OPIB.cjs +0 -93
- package/dist/chunk-ZLAT2CWY.mjs +0 -135
- package/dist/chunk-ZMMBIVQM.mjs +0 -505
- package/dist/chunk-ZMSZZXOR.mjs +0 -164
- package/dist/chunk-ZWM5KGAA.cjs +0 -566
- package/dist/chunk-ZZSRYEYU.mjs +0 -53
- package/dist/devtools-ERIKFEXX.mjs +0 -472
- package/dist/devtools-JZJJY5CK.cjs +0 -472
- package/dist/devtools-client-CXQ6PXI6.cjs +0 -254
- package/dist/devtools-client-HJS2T34Y.mjs +0 -254
- package/dist/devtools-ui-5GBDIGMK.cjs +0 -1296
- package/dist/devtools-ui-5KDAVPIF.mjs +0 -1296
- package/dist/integration-orm-55F7CII5.cjs +0 -13
- package/dist/integration-orm-KV5B3BGZ.mjs +0 -13
- package/dist/layers-UTB43B7A.mjs +0 -18
- package/dist/layers-VUWIOFEO.cjs +0 -18
- package/dist/manager-RT733VRK.mjs +0 -14
- package/dist/manager-XZ5TX7AO.cjs +0 -14
- package/dist/nitro-7F65EZZS.cjs +0 -653
- package/dist/nitro-MPZJGPXK.mjs +0 -653
- package/dist/node-module-bundle-L5L7JCZ4.mjs +0 -11
- package/dist/node-module-bundle-VAFZOXMJ.cjs +0 -11
- package/dist/schema-dev-notice-O67CPXJ6.mjs +0 -56
- package/dist/schema-dev-notice-Y7MQEFGN.cjs +0 -56
- package/dist/search-client-G3RICOFU.cjs +0 -13
- package/dist/search-client-KR7YRIVR.mjs +0 -13
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1053 @@
|
|
|
1
|
+
import { bO as ResolvedSchemaField, bP as FarmSqlStatement, bQ as FarmSqlDialect, bR as CollectedSchemaModel, bS as FarmSchemaMigrationStep, aF as FarmConfig, bT as OpenAPIConfig, F as FarmPlugin } from './client-plugins.d-BgPUYPc9.js';
|
|
2
|
+
export { T as APIHandlerLifecyclePayload, U as APIRouteDiscoveredPayload, aG as AppRoutePattern, bU as ApplyMarkdownNegotiationHeadersOptions, aH as BuildOptions, V as BundleLifecyclePayload, B as BundleResultPayload, bV as CookieJar, bW as CookieOptions, bX as CreateIntegrationOrmOptions, bY as CreateMarkdownMirrorResponseOptions, bZ as DEFAULT_FARM_API_BASE_PATH, b_ as DEFAULT_FARM_DEVTOOLS_SHORTCUT, b$ as DefinedIntegration, aI as ErrorBoundary, W as ErrorLifecyclePayload, aJ as ErrorProps, c0 as FARM_DEVTOOLS_LAUNCH_PARAM, c1 as FARM_DEVTOOLS_PATH, c2 as FARM_INTEGRATION_API_BASE_PATH_KEY, c3 as FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY, c4 as FARM_INTEGRATION_SET_COOKIES_KEY, j as FARM_MARKDOWN_CONTENT_TYPE, c5 as FARM_MARKDOWN_PAGE_CHECK_HEADER, c6 as FarmAPIConfig, c7 as FarmAPIConfigResolverContext, c8 as FarmAPIConfigValue, c9 as FarmAgentCrawlers, bp as FarmAgentJsonLd, ca as FarmAgentUserConfig, v as FarmAppContext, cb as FarmAppManifestConfig, cc as FarmAuthConfig, cd as FarmAuthDatabaseConfig, ce as FarmAuthEmailAndPasswordConfig, cf as FarmAuthSessionConfig, cg as FarmAuthUserConfig, ch as FarmBuildActivityPosition, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, ci as FarmCrawlerPolicy, cj as FarmCspConfig, ck as FarmCspDirectiveValue, cl as FarmCspDirectives, cm as FarmCspOptions, cn as FarmDeployConfig, co as FarmDeployTarget, cp as FarmDevIndicatorsConfig, cq as FarmDevtoolsConfig, Y as FarmDevtoolsUserConfig, cr as FarmDocsConfigInput, cs as FarmDocsNavigationConfig, by as FarmDocsResolvedConfig, ct as FarmDocsResolvedRoot, cu as FarmDocsRootInput, cv as FarmDocsSidebarItem, cw as FarmDocsSocialImageConfig, cx as FarmDocsSocialImageFonts, cy as FarmDocsUserConfig, a as FarmIntegration, cz as FarmIntegrationCategory, cA as FarmIntegrationConfigContext, cB as FarmIntegrationConfigDefinition, cC as FarmIntegrationConfigInput, cD as FarmIntegrationContributedPlugin, cE as FarmIntegrationData, cF as FarmIntegrationDocumentNavigation, cG as FarmIntegrationEndpointValue, cH as FarmIntegrationEndpoints, cI as FarmIntegrationEndpointsFactory, cJ as FarmIntegrationEndpointsFactoryContext, cK as FarmIntegrationHandlerContext, cL as FarmIntegrationInputSchema, cM as FarmIntegrationLifecycleContext, cN as FarmIntegrationLifecycleHook, cO as FarmIntegrationLifecycleLogLevel, cP as FarmIntegrationLifecycleLogger, cQ as FarmIntegrationLogEvent, cR as FarmIntegrationLogPhase, cS as FarmIntegrationLogger, cT as FarmIntegrationMiddleware, cU as FarmIntegrationOrmClient, cV as FarmIntegrationOrmSchema, cW as FarmIntegrationPluginOwner, cX as FarmIntegrationProvider, cY as FarmIntegrationProviderComponentReference, cZ as FarmIntegrationProviderProps, c_ as FarmIntegrationRequestContextStore, c$ as FarmIntegrationRoute, d0 as FarmIntegrationRouteArgs, d1 as FarmIntegrationRouteDb, d2 as FarmIntegrationRouteFactory, d3 as FarmIntegrationRouteHook, d4 as FarmIntegrationRouteHookContext, d5 as FarmIntegrationRouteInput, d6 as FarmIntegrationRouteInputSchemas, d7 as FarmIntegrationRouteInputSource, d8 as FarmIntegrationRouteMethod, d9 as FarmIntegrationRouteMiddleware, da as FarmIntegrationRouteParamValue, db as FarmIntegrationRouteParams, dc as FarmIntegrationRouteStorageArgs, dd as FarmIntegrationRoutesFactory, de as FarmIntegrationRoutesFactoryContext, df as FarmIntegrationSchema, dg as FarmIntegrationSchemaConstraint, dh as FarmIntegrationSchemaField, di as FarmIntegrationSchemaFieldType, dj as FarmIntegrationSchemaModel, dk as FarmIntegrationSchemaModelExtension, dl as FarmIntegrationSchemaModelOverride, dm as FarmIntegrationSchemaReference, dn as FarmIntegrationSession, dp as FarmIntegrationSlot, dq as FarmIntegrationStandardValidationResult, dr as FarmIntegrationValidationErrorLike, ds as FarmIntegrationValidationIssue, dt as FarmIntegrationValidationPathSegment, du as FarmIntegrationValidationResult, dv as FarmIntegrationsUserConfig, aN as FarmIsolatedClientHydrationMode, dw as FarmLayerConfig, dx as FarmMCPAuthorization, dy as FarmMCPAuthorizeContext, dz as FarmMCPConfig, dA as FarmMCPEndpoint, dB as FarmMCPEndpointTool, dC as FarmMCPExecuteContext, dD as FarmMCPOAuthConfig, dE as FarmMCPPrompt, dF as FarmMCPPromptMessage, dG as FarmMCPResource, dH as FarmMCPResourceContent, dI as FarmMCPResourceContext, dJ as FarmMCPResourceListing, dK as FarmMCPServer, dL as FarmMCPServerFunction, bq as FarmMCPServerRegistration, dM as FarmMCPStandaloneTool, dN as FarmMCPTool, dO as FarmMCPToolDefinition, aO as FarmMCPUserConfig, dP as FarmMarkdownMirrorTarget, br as FarmMarkdownResolvedConfig, dQ as FarmMarkdownResolvedRoute, dR as FarmMarkdownRouteInput, dS as FarmMarkdownUserConfig, m as FarmMdxComponent, g as FarmMdxComponents, h as FarmMdxResolvedConfig, n as FarmMdxUserConfig, bj as FarmMiddlewareConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, dT as FarmPageFormAction, dU as FarmPageFormField, dV as FarmPageFormOption, dW as FarmPageFormSubmit, dX as FarmPerformanceConfig, Z as FarmPluginBuildHooks, _ as FarmPluginClientConfig, u as FarmPluginContext, $ as FarmPluginDatabase, a0 as FarmPluginDefinition, a1 as FarmPluginDevHooks, a2 as FarmPluginDiscoveredRoute, dY as FarmPluginFactory, a3 as FarmPluginIntegrationContext, a4 as FarmPluginLifecycle, dZ as FarmPluginOptionsError, d_ as FarmPluginOptionsIssue, d$ as FarmPluginOptionsSchema, a5 as FarmPluginRenderHooks, a6 as FarmPluginRouteRuntimePayload, a7 as FarmPluginRouterHooks, a8 as FarmPluginRuntimeAfterEvent, a9 as FarmPluginRuntimeBaseEvent, aa as FarmPluginRuntimeBeforeEvent, ab as FarmPluginRuntimeCloseEvent, ac as FarmPluginRuntimeContextEvent, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, af as FarmPluginRuntimeErrorEvent, ag as FarmPluginRuntimeHooks, ah as FarmPluginRuntimeKind, ai as FarmPluginRuntimeRequestHandler, aj as FarmPluginRuntimeRequestOptions, ak as FarmPluginRuntimeSession, al as FarmPluginRuntimeStartEvent, am as FarmPluginSetupContext, an as FarmPluginStateContext, e0 as FarmPreloadMode, e1 as FarmPreloadUserConfig, D as FarmRedirectSignal, E as FarmRedirectStatus, s as FarmRequest, ao as FarmRequestPluginContext, ap as FarmRequestStore, t as FarmResponse, C as FarmRouteMaxDuration, A as FarmRouteRegions, e2 as FarmRouteRenderingMode, e3 as FarmRouteRule, e4 as FarmRouteRuleCors, e5 as FarmRouteRuleRedirect, e6 as FarmRouteRuleRenderMode, e7 as FarmRouteRules, z as FarmRouteRuntime, f as FarmRouteRuntimeConfig, e8 as FarmRouteRuntimeEntryKind, e9 as FarmRouteRuntimeManifest, ea as FarmRouteRuntimeManifestEntry, aq as FarmRuntimeShutdownError, x as FarmSearchParams, eb as FarmSecurityConfig, ec as FarmServerComponentsConfig, bn as FarmServerComponentsMode, ed as FarmServerComponentsOptions, ee as FarmTypedIntegrationRoute, p as FarmUserConfig, aS as GenerateStaticParams, ar as HMRUpdatePayload, ef as HeaderConfig, eg as I18nConfig, eh as ImageConfig, ei as InferFarmIntegrationOrmClient, ej as InferFarmIntegrationOrmField, ek as InferFarmIntegrationOrmFields, el as InferFarmIntegrationOrmSchema, em as InferPluginOptionsInput, en as InferPluginOptionsOutput, eo as IntegrationOriginPolicy, ep as IntegrationOriginRejection, eq as IntegrationOriginResult, er as IntegrationOrmModelNames, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, es as MemoryRateLimitStorageOptions, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, et as MetadataRoute, eu as MetadataRouteContext, ev as MiddlewareChain, ew as MiddlewareConfig, bm as MiddlewareContext, as as MiddlewareDiscoveredPayload, ex as MiddlewareFunction, b0 as MiddlewareProps, ey as MiddlewareResult, ez as MiddlewareStore, eA as NextFunction, at as NitroBuildLifecyclePayload, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, au as PluginManager, av as PluginRequestContext, eB as RateLimitConfig, eC as RateLimitIncrementResult, eD as RateLimitStatus, eE as RateLimitStorage, bi as ReadonlyMiddlewareStore, eF as RedirectConfig, aw as RenderLifecyclePayload, eG as RequestMiddleware, eH as RequestMiddlewareContext, eI as ResolveMarkdownMirrorTargetOptions, bx as ResolvedFarmAPIConfig, bA as ResolvedFarmAuthConfig, bo as ResolvedFarmConfig, eJ as ResolvedFarmCspConfig, eK as ResolvedFarmDeployConfig, bz as ResolvedFarmDevIndicatorsConfig, ax as ResolvedFarmDevtoolsConfig, eL as ResolvedFarmMCPConfig, b5 as ResolvedFarmMigrationsConfig, bB as ResolvedFarmPerformanceConfig, eM as ResolvedFarmPreloadConfig, bv as ResolvedFarmRouteRuntimeConfig, bC as ResolvedFarmSecurityConfig, eN as ResolvedSchemaModel, eO as RewriteConfig, ay as RouteDiscoveredPayload, az as RouteMatchPayload, aA as RouteMatchResultPayload, i as RouteModule, q as RouteSegment, aB as RoutesGeneratedPayload, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, aC as ShutdownPayload, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, eP as _getFarmMarkdownPageCheckToken, eQ as _isFarmMarkdownPageCheck, eR as _readFarmRenderedHtml, eS as applyMarkdownNegotiationHeaders, eT as collectSchemaModels, k as createFarmMarkdownErrorBody, eU as createFarmRouteRuntimeKey, eV as createIntegrationOrm, eW as createIntegrationRoute, eX as createMarkdownMirrorResponse, eY as defineIntegration, eZ as defineIntegrationSchema, aD as definePlugin, e_ as describeIntegrationOriginRejection, e$ as describeSchemaReference, f0 as dispatchIntegrationRequest, f1 as dispatchIntegrationRequests, f2 as escapeSqlString, f3 as extractFarmPageActions, f4 as farmAcceptQuality, f5 as farmIntegrationSchemaToOrmSchema, l as farmRequestWantsMarkdown, f6 as farmRouteRuleMatches, f7 as forwardIntegrationSetCookies, f8 as generateFarmDevIndicatorsClientRuntime, f9 as generateSqlStatements, fa as getDeployTargetForPreset, fb as getFarmAPIBaseURL, fc as getFarmIntegrationPluginOwner, fd as getFarmIntegrationPluginServerRuntime, fe as getFarmMarkdownAlternatePath, ff as getFarmMarkdownMirrorPath, G as getFarmRedirectError, fg as getFarmRouteRuntimeConfig, fh as getIntegrationDocumentNavigationMatchers, fi as getIntegrationProviders, fj as getIntegrationSchemas, fk as getPresetForDeployTarget, fl as getRegisteredIntegrationAPIManifest, fm as getRegisteredIntegrationRuntime, fn as getRegisteredIntegrationSchemas, fo as getRegisteredIntegrations, fp as getSqlColumnType, fq as getSqlDefaultExpression, fr as hasFarmRouteRuntimeControls, fs as htmlToMarkdown, ft as integrationMiddlewareMayHandlePath, fu as integrationRoute, fv as isFarmIntegration, fw as isFarmIntegrationProviderComponentReference, fx as isFarmMarkdownMirrorExposed, H as isFarmNotFoundError, I as isFarmRedirectError, fy as isNullableField, O as loadConfig, fz as matchIntegrationRoute, fA as matchRegisteredIntegrationRoute, fB as matchesFarmMarkdownRoutePattern, fC as mergeFarmRouteRuntimeConfigs, fD as normalizeDeployTarget, fE as normalizeFarmAPIBasePath, fF as normalizeFarmAPIConfig, fG as normalizeFarmRouteRuntimeConfig, fH as normalizeRouteRules, J as notFound, K as permanentRedirect, fI as quoteSqlIdentifier, N as redirect, bu as registerFarmMCPServer, fJ as renderSqlSchemaFile, fK as requestAcceptsMarkdown, Q as resolveConfig, S as resolveDeployConfig, fL as resolveDeployOutputPath, fM as resolveFarmAPIConfig, fN as resolveFarmAPIRequestURL, fO as resolveFarmDevIndicatorsConfig, aE as resolveFarmDevtoolsConfig, r as resolveFarmMdxComponentsModulePath, fP as resolveFarmRouteRuleRuntimeConfig, fQ as resolveFarmRouteRuntimeConfig, fR as resolveIntegrationAllowedOrigins, fS as resolveIntegrationOrmRuntimeClient, fT as resolveIntegrationPlugins, fU as resolveMarkdownConfig, fV as resolveMarkdownMirrorTarget, o as resolveMdxConfig, fW as resolveMigrationsConfig, fX as resolveSchemaModels, fY as routeRulesToHeaders, fZ as routeRulesToNitroRouteRules, f_ as routeRulesToRedirects, f$ as toCamelCase, g0 as toPascalCase, g1 as toSnakeCase, g2 as validateIntegrationRequestOrigin } from './client-plugins.d-BgPUYPc9.js';
|
|
3
|
+
export { F as FarmAppManifest, a as FarmAppManifestServer, b as FarmAppManifestTool } from './app-manifest.d-poayV4lq.js';
|
|
4
|
+
export { FarmRenderer, FarmRendererCapabilities, FarmRendererCapabilitiesInput, FarmRendererRuntime, FarmRendererStreamingCapabilities, FarmRendererStreamingPrimitives, REACT_RENDERER, defineRenderer } from './renderer.js';
|
|
5
|
+
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-CjyE-npA.js';
|
|
6
|
+
export { _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 } from './storage.js';
|
|
7
|
+
import { FarmSchemaField, FarmSchema, FarmSchemaReference } from './schema.js';
|
|
8
|
+
export { FarmSchemaConfig, FarmSchemaConstraint, FarmSchemaFieldType, FarmSchemaModel, FarmSchemaModelExtension, FarmSchemaModelOverride, defineSchema } from './schema.js';
|
|
9
|
+
export { F as FarmIntegrationAPI, e as FarmIntegrationAPIBodyFormat, f as FarmIntegrationAPIMethod, g as FarmIntegrationAPIOperation, h as FarmIntegrationAPIResponseFormat, i as FarmIntegrationRouteOperationCarrier, I as InferIntegrationAPIFromRoutes, j as PluginAPIRouter, P as PluginLocalAPI, a as PluginLocalAPIEndpoint, b as PluginRoutes, c as PluginRoutesFactory, R as RouteDefinition, k as RouteFactory, l as RouteInputSchemas, m as RouteJSON, d as RouteMethod, n as RouteOptions, o as RoutePathParams, p as api, q as createRouteFactory, r as defineIntegrationAPI, s as defineIntegrationAPIOperation, t as endpoint, u as resolvePluginRoutes } from './route.d-DBTEqifW.js';
|
|
10
|
+
export { c as createFarmApp } from './app.d-D4Dn03E3.js';
|
|
11
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
|
+
import { ReactNode } from 'react';
|
|
13
|
+
export { ComponentType, FC, PropsWithChildren, ReactElement, ReactNode } from 'react';
|
|
14
|
+
export { g as getCurrentRequest } from './request.d-X7Q1vmGF.js';
|
|
15
|
+
export { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
16
|
+
import { R as ResolvedFarmLayer } from './layers.d-CcS42OGR.js';
|
|
17
|
+
export { a as FarmLayerEntry, g as getFarmAppDirectories, e as getFarmLayerAliases, f as getFarmSourceRoots, r as resolveFarmLayers } from './layers.d-CcS42OGR.js';
|
|
18
|
+
import { ViteDevServer } from 'vite';
|
|
19
|
+
export { createEnvPlugin, createHeadersPlugin, createLoggerPlugin, createRedirectsPlugin, createRewritesPlugin } from './server-plugins.js';
|
|
20
|
+
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
21
|
+
export { A as AnyEndpointMiddleware, D as DELETE, g as EndpointErrorContracts, h as EndpointErrorDefinition, j as EndpointErrorDefinitions, k as EndpointErrorHandler, l as EndpointErrorSchema, m as EndpointFail, f as EndpointFailure, n as EndpointHandler, o as EndpointInvalidationContext, q as EndpointInvalidationTarget, r as EndpointInvalidations, E as EndpointMCPMetadata, a as EndpointMCPOptions, s as EndpointMiddleware, t as EndpointMiddlewareContext, c as EndpointMiddlewareResult, b as EndpointOpenAPIMetadata, u as EndpointOptions, v as EndpointParamValue, w as EndpointParams, F as FarmAPIStream, x as FarmStreamResponse, G as GET, H as HEAD, I as InferEndpointMiddlewareContext, M as MultipartField, y as MultipartSchema, z as MultipartValues, O as OPTIONS, P as PATCH, B as POST, C as PUT, Q as QUERY, T as TypedEndpoint, J as TypedFormData, K as createEndpoint, i as isEndpointFailure, L as isFarmAPIStream, N as isJSONStreamResponse, S as isMultipartSchema, U as jsonStream, V as multipart, W as readJSONStream, X as toFormData } from './endpoint.d-BgHn0lhl.js';
|
|
22
|
+
export { APIRoute, APIRouteConflictError, APIRouteHandlerOptions, APIRouteManager, APIRouteManagerOptions } from './api/route-manager.js';
|
|
23
|
+
export { A as APIClient, b as APIClientError, d as APIClientOptions, e as APIClientSystemError, f as APIClientWithoutIntegrationsOptions, l as APIQueryPrimitive, m as APIQueryValue, n as APIResult, o as APIRouteManifest, p as APIRouteRefMetadata, g as ApiClients, C as CacheKey, q as CacheOptions, r as CachePolicy, s as CacheScope, t as ClientHeaders, u as ClientLifecycleHooks, v as ClientOptions, w as ClientRequestEvent, x as ClientResponseEvent, F as FARM_API_ROUTE_META_SYMBOL, y as FARM_API_ROUTE_REF_SYMBOL, I as InferIntegrationOperationBody, z as InferIntegrationOperationQuery, B as InferIntegrationOperationResponse, D as IntegrationAPI, E as IntegrationClient, G as IntegrationClientAliases, H as IntegrationClientData, J as IntegrationClientError, K as IntegrationClientOptions, L as IntegrationClientRequestOptions, M as IntegrationClientRoot, N as IntegrationClients, O as IntegrationOperationResult, P as IntegrationServerClient, Q as IntegrationServerClientAliases, T as IntegrationServerClientOptions, U as IntegrationServerClientRequestOptions, V as IntegrationServerClientRoot, W as IntegrationServerRequestLike, X as InvalidateOptions, Y as InvalidateTarget, Z as OptimisticOptions, _ as OptimisticUpdate, $ as RequestEvent, a0 as ResponseEvent, a1 as RetryAttemptContext, k as RetryOptions, R as RouteAPIClient, S as ServerAPIClient, h as ServerAPIClientOptions, i as ServerAPIClientWithoutIntegrationsOptions, a2 as StatusEvent, a3 as StatusPhase, a4 as applyServerFnOptimisticUpdates, c as createAPIClient, a as createApiClients, a5 as createIntegrationApi, a6 as createIntegrationClient, a7 as createIntegrationClients, a8 as createIntegrationServerClient, a9 as createIntegrations, j as createServerAPIClient, aa as getAPIRouteRefMetadata, ab as getIntegrationAPIManifest, ac as integrationClients, ad as integrationsClient, ae as integrationsServer, af as isAPIRouteRef, ag as resolveServerFnInvalidateTargets, ah as settleServerFnOptimisticUpdates } from './api-client.d-ddQBNGtu.js';
|
|
24
|
+
export { ApiRoute, FarmApiPluginOptions, farmApiPlugin, resolveFarmAPIServerBasePath } from './api.js';
|
|
25
|
+
export { ArrayParserOptions, Parser, asArrayOf, asBoolean, asFloat, asInteger, asIsoDate, asIsoDateTime, asJson, asString, createParser, inferParserType } from './query/parsers.js';
|
|
26
|
+
export { R as RouteParamsInput, l as loadRouteParams, p as parseRouteParams } from './params.d-BALtrRim.js';
|
|
27
|
+
export { FarmQueryStateContext, LayoutPropsSafe, PagePropsSafe, QueryStateConfig, QueryStateProvider } from './query/index.js';
|
|
28
|
+
export { FarmMiddlewarePluginOptions, MiddlewareManager, UnsupportedRateLimitStorageError, canonicalizeRequestPathSegments, canonicalizeRequestPathname, createContext, farmMiddlewarePlugin, getFromMiddleware, getRateLimitStatus, hasMiddlewareData, memoryRateLimitStorage, middleware, parseMiddlewareCookieHeader, serializeMiddlewareCookie, serializeMiddlewareCookieDeletion, unwrapMiddleware } from './middleware.js';
|
|
29
|
+
export { _ as _runWithMiddlewareContext, a as _runWithMiddlewareData, b as applyProductionMiddlewareHeaders, c as createProductionMiddlewareRunner, g as getMiddlewareContext, d as getMiddlewareData, e as getMiddlewareValue, m as matchesMiddlewareConfig } from './production-runtime.d-C0rF7a10.js';
|
|
30
|
+
export { FarmRouter, FarmRouterActiveOptions, FarmRouterBuildOptions, FarmRouterMatch, FarmRouterParams, FarmRouterPathParam, FarmRouterPathParams, FarmRouterPrimitiveParam, FarmRouterQueryValue, FarmRouterRoute, FarmRouterRouteInput, buildFarmRoutePath, createFarmRouter, isFarmRouteActive, matchFarmRoute } from './router.js';
|
|
31
|
+
export { CreateRouteOptions, InferProgrammaticRouteData, InferProgrammaticRouteSchema, ProgrammaticApiRoute, ProgrammaticApiRouteOptions, ProgrammaticLayoutRoute, ProgrammaticPageRoute, ProgrammaticRedirectRoute, ProgrammaticRouteAction, ProgrammaticRouteActionContract, ProgrammaticRouteActions, ProgrammaticRouteBuilder, ProgrammaticRouteComponentProps, ProgrammaticRouteContext, ProgrammaticRouteDataCacheContext, ProgrammaticRouteDataCacheKeys, ProgrammaticRouteDataContext, ProgrammaticRouteDataHooks, ProgrammaticRouteDataStaleTime, ProgrammaticRouteDefaultAction, ProgrammaticRouteDefinition, ProgrammaticRouteErrorComponentProps, ProgrammaticRouteFactory, ProgrammaticRouteGuard, ProgrammaticRouteGuardContext, ProgrammaticRouteManifest, ProgrammaticRouteMaybePromise, ProgrammaticRouteMethod, ProgrammaticRouteParamsFallback, ProgrammaticRoutePendingComponentProps, ProgrammaticRoutePrimitive, ProgrammaticRouteRenderMode, ProgrammaticRouteSchema, ProgrammaticRouteSearchClientOptions, ProgrammaticRouteSearchConfig, ProgrammaticRouteSearchFallback, ProgrammaticRouteSearchOptions, ProgrammaticRouteWithActions, ProgrammaticStaticPath, ProgrammaticStaticPathParams, ProgrammaticStaticPaths, createLayoutModuleFromProgrammaticLayout, createProgrammaticRouteModuleId, createRoute, createRouteModuleFromProgrammaticPage, defineRoutes, getProgrammaticRouteManifest, isProgrammaticRouteManifest, isProgrammaticRoutesFileName, layout, page, parseProgrammaticRouteModuleId, parseProgrammaticRoutePath, routesBuilder, scanProgrammaticPagePaths } from './routes.js';
|
|
32
|
+
export { FarmDocsAPIHandler, FarmDocsAPIOptions, FarmDocsAPIRouteHandlers, FarmDocsAdapterHandlerOptions, FarmDocsCloudIntegration, FarmDocsCloudRouteOptions, FarmDocsCloudServer, FarmDocsHandlerOptions, FarmDocsPage, LoadedFarmDocsPage, createDocsAPI, createFarmDocsAPIHandler, createFarmDocsAdapterHandler, createFarmDocsHandler, discoverFarmDocsPages, getFarmDocsConfigModuleRoot, getFarmDocsDocumentNavigationMatchers, getFarmDocsRouteTypeEntries, hasFarmDocsRuntimeAdapter, isFarmDocsAPIRequest, isFarmDocsRequest, loadFarmDocsPage, resolveFarmDocsContentDir } from './docs.js';
|
|
33
|
+
export { createFarmMarkdownRouteModuleFromFile, loadFarmMdxComponents } from './app-markdown.js';
|
|
34
|
+
export { F as FarmAPIEvent, a as FarmAgentEvent, b as FarmAgentIdentity, c as FarmBuildEvent, d as FarmCacheEvent, e as FarmErrorEvent, f as FarmEvent, g as FarmEventBase, h as FarmEventHandler, i as FarmEventInput, j as FarmEventLevel, k as FarmEventSubscriptionOptions, l as FarmEventType, m as FarmIntegrationEvent, n as FarmMCPEvent, o as FarmMiddlewareEvent, p as FarmObservabilityUserConfig, q as FarmPPREvent, r as FarmPluginEvent, s as FarmRenderEvent, t as FarmRequestEvent, u as FarmRequestSpanOptions, v as FarmResolvedObservabilityConfig, w as FarmResolvedTracingConfig, x as FarmRouteEvent, y as FarmServerEvent, z as FarmSpanOptions, A as FarmStorageEvent, B as FarmTraceContext, C as FarmTraceSpanKind, D as FarmTracingConfig, E as FarmTracingUserConfig, G as classifyFarmAgent, H as configureFarmObservability, I as configureFarmTracing, J as emitFarmEvent, K as getFarmTraceContext, L as normalizeFarmObservabilityConfig, M as normalizeFarmTracingConfig, N as onFarmEvent, O as resetFarmObservability, P as runWithFarmRequestSpan, Q as runWithFarmSpan } from './observability.d-B2363jB6.js';
|
|
35
|
+
import { FarmCronJob } from './cron.js';
|
|
36
|
+
export { DEFAULT_FARM_CRON_SECRET_ENV, FARM_CRON_MANIFEST, FARM_CRON_NAME_SEGMENT_PATTERN, FARM_CRON_SIGNATURE_HEADER, FarmCronCloudflareConfig, FarmCronConfig, FarmCronContext, FarmCronInputValue, FarmCronJobConfig, FarmCronProvider, FarmCronResolvedConfig, FarmCronRouteOptions, FarmCronSchedule, FarmCronUserConfig, PreparedFarmCron, applyFarmCronVercelCrons, authorizeCronRequest, createFarmCronCloudflareConfig, createFarmCronCloudflareTriggers, createFarmCronManifest, createFarmCronVercelCrons, cronRoute, farmCronSignature, isCronRequestAuthorized, mergeScheduledTasks, normalizeCronExpression, prepareFarmCronForNitro, resolveCronConfig } from './cron.js';
|
|
37
|
+
export { D as DEFAULT_FARM_WORKFLOW_DIRS, a as DEFAULT_FARM_WORKFLOW_ROUTE, b as DEFAULT_FARM_WORKFLOW_SECRET_ENV, d as FarmCronDefinition, e as FarmDiscoveredWorkflow, f as FarmServerConfig, g as FarmServerDuration, h as FarmServerHealthConfig, i as FarmWorkflowDefinition, j as FarmWorkflowHTTPHandlerOptions, k as FarmWorkflowLogger, l as FarmWorkflowRunContext, m as FarmWorkflowSchedule, F as FarmWorkflowsResolvedConfig, n as FarmWorkflowsUserConfig, P as PreparedFarmWorkflows, R as ResolvedFarmServerConfig, o as ResolvedFarmServerHealthConfig, p as applyFarmWorkflowVercelCrons, q as createFarmWorkflowRequestHandler, r as createFarmWorkflowVercelCrons, s as defineCron, t as defineTask, u as defineWorkflow, v as discoverFarmWorkflows, w as prepareFarmWorkflowsForNitro, x as resolveWorkflowsConfig, y as runFarmWorkflowModule } from './workflows.d-CRMzQZ3k.js';
|
|
38
|
+
export { BundledFarmEnv, EnvParser, EnvSchema, EnvShape, FarmEnvConfig, FarmEnvRuntimeType, FarmEnvTypes, FarmPublicEnv, FarmServerEnv, FarmTypedEnv, InferEnv, InferEnvParser, InferEnvShape, ResolvedFarmEnv, createBundledEnv, env, getEnv, getPublicEnv, getResolvedEnv, publicEnv, resolveEnv, serverEnv, setEnv } from './env.js';
|
|
39
|
+
export { GenerateEnvTypesOptions, createEnvTypeDeclarations, generateEnvTypes } from './env-types.js';
|
|
40
|
+
export { resolveFarmThemeConfig } from './theme/index.js';
|
|
41
|
+
export { b as FarmResolvedTheme, d as FarmThemeConfig, a as FarmThemePreference, F as FarmThemeSnapshot, R as ResolvedFarmThemeConfig } from './types.d-DQnyD3VD.js';
|
|
42
|
+
export { FarmEnvironment, FarmEnvironmentError, FarmIsomorphicFnOptions, createClientOnlyFn, createIsomorphicFn, createServerOnlyFn } from './environment.js';
|
|
43
|
+
export { FarmFont, FarmFontDisplay, FarmFontOptions, FarmFontSource, FarmLayoutFontModule, FarmLayoutFonts, LocalFontOptions, RemoteFontOptions, RemoteFontSource, defineLayoutFonts, localFont, remoteFont, resolveFarmLayoutFonts } from './font.js';
|
|
44
|
+
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
|
|
45
|
+
export { h as FarmI18nCookieConfig, i as FarmI18nDetectionSignal, j as FarmI18nDirection, g as FarmI18nRouting, k as FarmI18nUserConfig } from './types.d-C41ePjvP.js';
|
|
46
|
+
export { AnyServerFnMiddleware, FARM_SERVER_FN_SYMBOL, InferServerFnError, InferServerFnSchemaInput, InferServerFnSchemaOutput, ServerFn, ServerFnContext, ServerFnDeclaredError, ServerFnError, ServerFnErrorDefinition, ServerFnErrorDefinitions, ServerFnErrorHandler, ServerFnErrorSchema, ServerFnFormInput, ServerFnHandler, ServerFnHandlerContext, ServerFnInvalidationContext, ServerFnInvalidations, ServerFnMCPMetadata, ServerFnMiddleware, ServerFnMiddlewareContext, ServerFnMiddlewareContinuation, ServerFnMiddlewareHandler, ServerFnMiddlewareHandlerContext, ServerFnMiddlewareNext, ServerFnMiddlewareOptions, ServerFnOptions, ServerFnOutputOptions, ServerFnSchema, ServerFunctionDescriptor, ServerFunctionInvocation, _attachServerFunctionDescriptor, _describeServerFunction, _invokeServerFunction, _parseServerFnSchema, _runServerFunctionForCaller, createServerFn, createServerFunctionDescriptor, createServerMiddleware } from './server-fn.js';
|
|
47
|
+
export { RouteActionTarget, ServerFnActionStatus, ServerFnOptimisticContext, ServerFnSubmit, UseActionFormProps, UseActionReturn, UseServerFnOptions, UseServerFnReturn, useAction, useServerFn } from './server-fn-client.js';
|
|
48
|
+
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
49
|
+
export { UseServerQueryOptions, UseServerQueryResult, useServerQuery } from './server-query-client.js';
|
|
50
|
+
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
|
|
51
|
+
export { FARM_DEPLOYMENT_COOKIE, FARM_DEPLOYMENT_ID_HEADER, FARM_DEPLOYMENT_MISMATCH_CODE, FARM_DEPLOYMENT_MISMATCH_HEADER, FARM_DEPLOYMENT_MISMATCH_STATUS, FarmDeploymentMismatch, FarmDeploymentMismatchError, FarmDeploymentResponseOptions, FarmPresetRuntime, createFarmDeploymentCookie, createFarmDeploymentMismatchError, createFarmDeploymentMismatchResponse, createFarmDeploymentRequestHeaders, getFarmDeploymentMismatch, getFarmPresetRuntime, getFarmRequestDeploymentId, getFarmResponseDeploymentId, isFarmDeploymentMismatchResponse, normalizeFarmDeploymentId, withFarmDeploymentResponse } from './deployment.js';
|
|
52
|
+
export { F as FARM_RSC_INSTALL_HINT, a as FarmServerComponentsStatus, b as build, c as findFarmAppPackageDir, d as formatFarmRscBlockingMessage, e as formatFarmRscFallbackMessage, i as inspectFarmServerComponents } from './index.d-Coow7bD4.js';
|
|
53
|
+
export { a as FarmImageConfig, F as FarmImageFormat, b as FarmImageLocalPattern, c as FarmImageProvider, d as FarmImageRemotePattern, R as ResolvedFarmImageConfig } from './image-config.d-CeDgNyX4.js';
|
|
54
|
+
export { G as GenerateRouteTypesOptions, g as generateRouteTypes } from './generate-route-types.d-BL2pq6xC.js';
|
|
55
|
+
export { AnyMutationTarget, ClientCachePersistenceOptions, CrossTabCacheInvalidationOptions, DefaultRouteHref, DefaultRoutePath, DefaultRoutePattern, ExternalHref, FARM_CACHE_INVALIDATION_CHANNEL, FARM_CLIENT_CACHE_PERSIST_VERSION, FarmClientCacheAdapter, FarmClientCacheStorage, FetcherFormDataContext, FetcherFormProps, FetcherInputError, FetcherState, FetcherSubmit, FetcherSubmitAsync, InferMutationData, InferMutationError, InferMutationVariables, Link, LinkDefaultRoute, LinkExternalUriSchemes, LinkProps, LiveCacheInvalidationOptions, MutationAsync, MutationNetworkMode, MutationOptimisticContext, MutationStatus, MutationTrigger, PersistedEntry, PrefetchBehavior, RouteHref, RouteOptionalParamValue, RouteParamValue, RouteParams, Store, StoreApi, StoreFields, StoreKeyListener, StoreKeysListener, StoreListener, StorePatch, StoreState, StoreValueUpdater, UseFetcherOptions, UseFetcherReturn, UseMutationOptions, UseMutationReturn, clearPersistedCache, createStore, defineClientCacheAdapter, enableCrossTabCacheInvalidation, enableLiveCacheInvalidation, initConfiguredClientCachePersistence, initPersistedClientCache, storageClientCacheAdapter, useFetcher, useMutation } from './client.js';
|
|
56
|
+
export { a as FarmClientCacheEntry, b as FarmClientCacheKey, F as FarmClientCacheStatus, g as getFarmClientDataCache, n as normalizeFarmClientCacheKey } from './client-cache.d-Deoqq-nM.js';
|
|
57
|
+
export { UseThemeResult, useTheme } from './theme/client.js';
|
|
58
|
+
export { U as UseBlockerOptions, a as UseBlockerReturn, b as UseRouterOptions, u as useBlocker, c as useNavigation, d as usePageState, e as useRouter, f as useScrollRestoration } from './router.d-crorSRiW.js';
|
|
59
|
+
export { b as FarmNavigateOptions, c as FarmNavigationBlocker, F as FarmNavigationBlockerContext, d as FarmNavigationListener, e as FarmNavigationLocation, a as FarmNavigationState, f as FarmViewTransitionMode, S as SPARouter, g as getRouter, n as navigateTo, p as prefetch, h as pushState, r as readPageState, i as replaceState } from './spa-router.d-CCADbSqJ.js';
|
|
60
|
+
export { F as FarmNavigationDelegate, a as FarmNavigationDelegateContext, d as delegateNavigation } from './navigation-delegate.d-aHiPI6GL.js';
|
|
61
|
+
export { F as FarmChunkRecoveryOptions, i as installChunkErrorRecovery, a as isChunkLoadError } from './chunk-recovery.d-lnQFzcQP.js';
|
|
62
|
+
export { b as FarmClientHydrationCompleteEvent, d as FarmClientHydrationEvent, e as FarmClientHydrationMode, f as FarmClientHydrationSession, g as FarmClientLocation, h as FarmClientNavigationAction, i as FarmClientNavigationErrorEvent, j as FarmClientNavigationEvent, k as FarmClientNavigationLoadedEvent, l as FarmClientNavigationResolvedEvent, m as FarmClientNavigationSession, n as FarmClientPerformanceEvent, a as FarmClientPlugin, o as FarmClientPluginCloseEvent, p as FarmClientPluginEnforce, q as FarmClientPluginErrorEvent, r as FarmClientPluginErrorPhase, F as FarmClientPluginManager, s as FarmClientPluginManagerOptions, t as FarmClientPluginMetadata, u as FarmClientPluginRegistration, v as FarmClientPluginRouter, w as FarmClientPluginSetupEvent, x as FarmClientPluginStateEvent, c as createClientPluginManager } from './lifecycle.d-C2aLBOwu.js';
|
|
63
|
+
export { S as StaticRouteCandidateAnalysis, b as analyzeStaticRouteCandidate, d as collectSSGPages, f as findRequestBoundSourceBlockers, g as generateSSGManifest, e as getRevalidateInterval, h as hasISR, i as hasPPR, j as isSSGModule, m as matchSSGPage, p as parseRouteRenderingDirective, r as readRouteRenderingDirectiveFromFile, k as resolveRouteRenderingConfig, l as resolveRouteRenderingConfigFromFile } from './client-component.d-CQLvqLAJ.js';
|
|
64
|
+
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
65
|
+
export { Deferred, DeferredDataError, DeferredDataResponseOptions, DeferredRecord, DeferredSettlement, DeferredSettlements, FARM_DEFERRED_BRAND, FARM_DEFERRED_CONTENT_TYPE, FARM_DEFERRED_ERROR_CODE, PreparedDeferredData, createDeferredDataResponse, defer, isDeferred, prepareDeferredData, readDeferredDataResponse, reviveDeferredData, snapshotDeferredData } from './deferred.js';
|
|
66
|
+
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
67
|
+
export { usePathname, useSearchParams } from './navigation.js';
|
|
68
|
+
export { ReadonlyHeaders, ReadonlyRequestCookies, RequestCookie, cookies, getCspNonce, headers } from './headers.js';
|
|
69
|
+
export { A as APIRouteMatch, a as APIRouteParamValue, b as APIRouteParams, m as matchAPIRoute } from './route-pattern.d-CVsVbq5n.js';
|
|
70
|
+
export { A as API_ROUTE_METHODS, g as getAllowedAPIRouteMethods, i as invokeAPIRouteEndpoint, a as isWebResponse, n as normalizeRouteResponse, r as resolveAPIRouteEndpoint } from './runtime.d-CCsjTZJW.js';
|
|
71
|
+
export { BuiltinDriverName, BuiltinDriverOptions, Driver, Storage, StorageMeta, StorageValue, TransactionOptions } from 'unstorage';
|
|
72
|
+
export { ConnectorName, ConnectorOptions, Database } from 'db0';
|
|
73
|
+
export { D as DirectiveRenderingConfig, a as RouteRenderingConfig, b as RouteRenderingDynamic, R as RouteRenderingOptions } from './route-rendering.d-BUr3Jp8S.js';
|
|
74
|
+
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, FarmMarkdownPageModuleInput, FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown } from './internal/app-markdown-runtime.js';
|
|
75
|
+
export { F as FARM_SERVER_FN_FAILURE_SYMBOL, S as SerializedServerFnFailure, b as ServerActionError, a as ServerFnFailure, c as createServerFnTransportError, i as isServerFnFailure } from './server-fn-error.d-DrcH9cc1.js';
|
|
76
|
+
export { F as FarmServerQueryActionInvocation, S as ServerQueryFetchOptions, b as beginFarmServerQueryAction, c as completeFarmServerQueryAction, f as fetchServerQuery, p as prefetchServerQuery, s as shouldApplyFarmServerQueryActionResult } from './server-query-runtime.d-DXRNhX_3.js';
|
|
77
|
+
export { e as FarmStorageBuiltinDriverConfig, b as FarmStorageClient, a as FarmStorageClientConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, c as FarmStorageDatabaseConfig, h as FarmStorageDatabaseDriverName, d as FarmStorageLocalDriverConfig, i as FarmStorageMountConfig, j as FarmStorageMounts, k as FarmStorageRuntimeClient, F as FarmStorageUserConfig } from './types.d-BnIqOn9w.js';
|
|
78
|
+
export { defineConfig, defineFarmConfig } from './config.js';
|
|
79
|
+
export { getTheme, setTheme, toggleTheme } from './theme/runtime.js';
|
|
80
|
+
import 'http';
|
|
81
|
+
import '@farming-labs/orm';
|
|
82
|
+
import '@farming-labs/docs';
|
|
83
|
+
import './config.d-qt-mE8O5.js';
|
|
84
|
+
import './agent-mcp.d-DOJCBSh9.js';
|
|
85
|
+
import './render-plan.d-BxeITFT1.js';
|
|
86
|
+
import './runtime.d-BtL3PCL3.js';
|
|
87
|
+
import './resolver.d-BHyZgpa7.js';
|
|
88
|
+
import 'rolldown/utils';
|
|
89
|
+
import 'rolldown';
|
|
90
|
+
import '@opentelemetry/api';
|
|
91
|
+
import './production-vite.d-BQFAlG7n.js';
|
|
92
|
+
import 'node:http';
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Reject a list field before a scalar-only schema target can silently change
|
|
96
|
+
* its value shape. Targets that genuinely preserve arrays do not call this.
|
|
97
|
+
*/
|
|
98
|
+
declare function assertNoSchemaListField(field: Pick<FarmSchemaField, "list">, fieldPath: string, target: string): void;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Columns an owner adds to a table it does not own: `extend` on a model the
|
|
102
|
+
* owner marks `external` (or does not claim). The app creates the table; the
|
|
103
|
+
* owner only asks for these columns, and only an app that allows it gets them.
|
|
104
|
+
*/
|
|
105
|
+
type FarmSchemaExtension = {
|
|
106
|
+
/** The owner's migrate name, such as `loyalty`. */
|
|
107
|
+
owner: string;
|
|
108
|
+
/** The owner's name for the model, such as `user`. */
|
|
109
|
+
modelKey: string;
|
|
110
|
+
/** The real table, after the app's renames, such as `members_auth`. */
|
|
111
|
+
table: string;
|
|
112
|
+
fields: Array<{
|
|
113
|
+
fieldKey: string;
|
|
114
|
+
field: ResolvedSchemaField;
|
|
115
|
+
}>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* The extensions in an owner's schema. Throws, naming the column, for a column
|
|
119
|
+
* Farm cannot add safely to a table that may already hold rows.
|
|
120
|
+
*/
|
|
121
|
+
declare function collectSchemaExtensions(owner: string, schema: FarmSchema, models?: readonly string[]): FarmSchemaExtension[];
|
|
122
|
+
/** Whether the app allows an owner to add columns to this table. */
|
|
123
|
+
declare function isSchemaExtensionAllowed(allowExtend: Record<string, readonly string[]> | undefined, extension: Pick<FarmSchemaExtension, "owner" | "modelKey" | "table">): boolean;
|
|
124
|
+
|
|
125
|
+
/** The subset of a database client this needs: run a statement, read a result. */
|
|
126
|
+
type FarmSchemaExecutor = {
|
|
127
|
+
/** Run a statement that returns nothing. */
|
|
128
|
+
execute(sql: string): Promise<void>;
|
|
129
|
+
/** Run a query and return its rows. */
|
|
130
|
+
query(sql: string, params?: unknown[]): Promise<Record<string, unknown>[]>;
|
|
131
|
+
};
|
|
132
|
+
type FarmSchemaDrift = {
|
|
133
|
+
table: string;
|
|
134
|
+
/** Declared in the schema but absent from the table. */
|
|
135
|
+
missingColumns: string[];
|
|
136
|
+
/** Present in the table but not declared. Reported, never dropped. */
|
|
137
|
+
extraColumns: string[];
|
|
138
|
+
/** Columns whose stored definition differs from the schema. */
|
|
139
|
+
changedColumns: FarmSchemaColumnDrift[];
|
|
140
|
+
/** Declared indexes that are absent from the table. */
|
|
141
|
+
missingIndexes: FarmSchemaIndexDefinition[];
|
|
142
|
+
/** Stored indexes that are not declared by the schema. */
|
|
143
|
+
extraIndexes: FarmSchemaIndexDefinition[];
|
|
144
|
+
/** Declared foreign keys that are absent from the table. */
|
|
145
|
+
missingReferences: FarmSchemaReferenceDefinition[];
|
|
146
|
+
/** Stored foreign keys that are not declared by the schema. */
|
|
147
|
+
extraReferences: FarmSchemaReferenceDefinition[];
|
|
148
|
+
};
|
|
149
|
+
type FarmSchemaColumnDefinition = {
|
|
150
|
+
type: string;
|
|
151
|
+
nullable: boolean;
|
|
152
|
+
default: string | null;
|
|
153
|
+
primaryKey: boolean;
|
|
154
|
+
};
|
|
155
|
+
type FarmSchemaColumnDrift = {
|
|
156
|
+
column: string;
|
|
157
|
+
differences: Array<"type" | "nullability" | "default" | "primaryKey">;
|
|
158
|
+
expected: FarmSchemaColumnDefinition;
|
|
159
|
+
actual: FarmSchemaColumnDefinition;
|
|
160
|
+
};
|
|
161
|
+
type FarmSchemaIndexDefinition = {
|
|
162
|
+
name: string;
|
|
163
|
+
columns: string[];
|
|
164
|
+
unique: boolean;
|
|
165
|
+
};
|
|
166
|
+
type FarmSchemaReferenceDefinition = {
|
|
167
|
+
column: string;
|
|
168
|
+
referencedTable: string;
|
|
169
|
+
referencedColumn: string;
|
|
170
|
+
onDelete: "cascade" | "restrict" | "setNull" | "noAction";
|
|
171
|
+
};
|
|
172
|
+
type FarmSchemaMigratePlan = {
|
|
173
|
+
dialect: FarmSqlDialect;
|
|
174
|
+
/** Statements for tables that do not exist yet. */
|
|
175
|
+
statements: FarmSqlStatement[];
|
|
176
|
+
/** Tables that exist and already match the schema. */
|
|
177
|
+
upToDate: string[];
|
|
178
|
+
/**
|
|
179
|
+
* Additions to tables that exist: columns that can join a table with rows
|
|
180
|
+
* (nullable, or with a default the database can write) and non-unique
|
|
181
|
+
* indexes. Applied with the rest of the plan. Anything else stays in drift.
|
|
182
|
+
*/
|
|
183
|
+
upgrades?: Array<FarmSqlStatement & {
|
|
184
|
+
table: string;
|
|
185
|
+
}>;
|
|
186
|
+
/** Tables that exist but differ in ways Farm will not change on its own. */
|
|
187
|
+
drift: FarmSchemaDrift[];
|
|
188
|
+
/**
|
|
189
|
+
* Foreign keys to other owners' tables that an existing table does not
|
|
190
|
+
* have yet. Never added automatically: they need the app's approval.
|
|
191
|
+
*/
|
|
192
|
+
addableForeignKeys?: FarmSchemaAddableForeignKey[];
|
|
193
|
+
};
|
|
194
|
+
type FarmSchemaAddableForeignKey = {
|
|
195
|
+
modelKey: string;
|
|
196
|
+
table: string;
|
|
197
|
+
column: string;
|
|
198
|
+
referencedTable: string;
|
|
199
|
+
referencedColumn: string;
|
|
200
|
+
onDelete: FarmSchemaReferenceDefinition["onDelete"];
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Compare resolved models against the live database and plan what to create.
|
|
204
|
+
*
|
|
205
|
+
* Creation is derivable from the schema alone, so it is safe to emit. Changing
|
|
206
|
+
* an existing table is not: a rename and a drop-plus-add look identical here,
|
|
207
|
+
* and one of them destroys data. Differences are reported for a human instead.
|
|
208
|
+
*/
|
|
209
|
+
declare function planSchemaMigration(models: readonly CollectedSchemaModel[], dialect: FarmSqlDialect, executor: FarmSchemaExecutor): Promise<FarmSchemaMigratePlan>;
|
|
210
|
+
/** A table's columns as the database reports them, normalized per dialect. */
|
|
211
|
+
type FarmSchemaTableDescription = {
|
|
212
|
+
columns: Array<{
|
|
213
|
+
name: string;
|
|
214
|
+
type: string;
|
|
215
|
+
nullable: boolean;
|
|
216
|
+
primaryKey: boolean;
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Read any table, owned by Farm or not, or undefined when it does not exist.
|
|
221
|
+
* Used to check references to tables the app or a library created. On
|
|
222
|
+
* Postgres and MySQL a dotted name that is not itself a table, such as
|
|
223
|
+
* Supabase's `auth.users`, is read as `schema.table`, and on Postgres an
|
|
224
|
+
* unqualified name is found through the search path.
|
|
225
|
+
*/
|
|
226
|
+
declare function describeSchemaTable(executor: FarmSchemaExecutor, dialect: FarmSqlDialect, table: string): Promise<FarmSchemaTableDescription | undefined>;
|
|
227
|
+
type FarmSchemaMigrateResult = {
|
|
228
|
+
applied: string[];
|
|
229
|
+
skipped: FarmSchemaDrift[];
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Run the plan's create statements. Drift is never applied: a plan that reports
|
|
233
|
+
* differences leaves those tables untouched and says so.
|
|
234
|
+
*/
|
|
235
|
+
declare function applySchemaMigration(plan: FarmSchemaMigratePlan, executor: FarmSchemaExecutor): Promise<FarmSchemaMigrateResult>;
|
|
236
|
+
/**
|
|
237
|
+
* Column type families a foreign key can join across. Same family is fine
|
|
238
|
+
* (text and varchar, integer and bigint); different families need a cast to
|
|
239
|
+
* join and can never carry a foreign key (text and uuid, text and integer).
|
|
240
|
+
*/
|
|
241
|
+
/** @internal */
|
|
242
|
+
declare function columnTypeFamily(type: string): string | undefined;
|
|
243
|
+
type FarmSchemaExtensionStatement = FarmSqlStatement & {
|
|
244
|
+
extension: FarmSchemaExtension;
|
|
245
|
+
fieldKey: string;
|
|
246
|
+
column: string;
|
|
247
|
+
};
|
|
248
|
+
type FarmSchemaExtensionPlan = {
|
|
249
|
+
/** `ALTER TABLE … ADD COLUMN` for each column the table does not have yet. */
|
|
250
|
+
statements: FarmSchemaExtensionStatement[];
|
|
251
|
+
/** Columns already there, as `table.column`. */
|
|
252
|
+
present: string[];
|
|
253
|
+
/** Extensions whose table does not exist, so nothing can be added yet. */
|
|
254
|
+
missingTables: FarmSchemaExtension[];
|
|
255
|
+
/** Columns that exist with a type the extension does not expect. Left alone. */
|
|
256
|
+
conflicts: Array<{
|
|
257
|
+
extension: FarmSchemaExtension;
|
|
258
|
+
column: string;
|
|
259
|
+
expected: string;
|
|
260
|
+
actual: string;
|
|
261
|
+
}>;
|
|
262
|
+
/** Columns this database cannot add as declared. */
|
|
263
|
+
unsupported: Array<{
|
|
264
|
+
extension: FarmSchemaExtension;
|
|
265
|
+
column: string;
|
|
266
|
+
reason: string;
|
|
267
|
+
}>;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Plan the columns owners add to tables they do not own. Only additions:
|
|
271
|
+
* a column that exists is never altered, whatever its definition.
|
|
272
|
+
*/
|
|
273
|
+
declare function planSchemaExtensions(extensions: readonly FarmSchemaExtension[], dialect: FarmSqlDialect, executor: FarmSchemaExecutor): Promise<FarmSchemaExtensionPlan>;
|
|
274
|
+
/** Render a plan as a reviewable SQL file. */
|
|
275
|
+
declare function formatSchemaMigration(plan: FarmSchemaMigratePlan, owner: string, options?: {
|
|
276
|
+
addsColumns?: boolean;
|
|
277
|
+
}): string;
|
|
278
|
+
/** Human-readable summary of tables that exist but no longer match the schema. */
|
|
279
|
+
declare function describeSchemaDrift(drift: readonly FarmSchemaDrift[]): string;
|
|
280
|
+
/**
|
|
281
|
+
* Adapt a raw database client to the executor the planner needs.
|
|
282
|
+
*
|
|
283
|
+
* Each client reports rows differently, so the shape is detected rather than
|
|
284
|
+
* configured: `pg` returns `{ rows }`, `mysql2` returns `[rows]`, and
|
|
285
|
+
* `node:sqlite` exposes prepare/exec. A key-value storage mount has no tables,
|
|
286
|
+
* which is reported as `null` rather than an error.
|
|
287
|
+
*/
|
|
288
|
+
declare function createSchemaExecutor(client: unknown, owner: string): {
|
|
289
|
+
executor: FarmSchemaExecutor;
|
|
290
|
+
dialect: FarmSqlDialect;
|
|
291
|
+
} | null;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* What Farm last applied for each owner, kept in the app's database: the
|
|
295
|
+
* owner's version and a snapshot of its tables. Comparing it with what the
|
|
296
|
+
* installed version declares tells the app what an upgrade changes.
|
|
297
|
+
*/
|
|
298
|
+
declare const FARM_SCHEMA_STATE_TABLE = "farm_schema_state";
|
|
299
|
+
/** An owner's tables, in database terms, independent of dialect. */
|
|
300
|
+
type FarmSchemaSnapshot = {
|
|
301
|
+
tables: Record<string, {
|
|
302
|
+
columns: Record<string, {
|
|
303
|
+
type: string;
|
|
304
|
+
nullable: boolean;
|
|
305
|
+
primaryKey: boolean;
|
|
306
|
+
unique: boolean;
|
|
307
|
+
default?: unknown;
|
|
308
|
+
}>;
|
|
309
|
+
indexes: string[];
|
|
310
|
+
}>;
|
|
311
|
+
};
|
|
312
|
+
type FarmSchemaState = {
|
|
313
|
+
version?: string;
|
|
314
|
+
snapshot: FarmSchemaSnapshot;
|
|
315
|
+
appliedAt: string;
|
|
316
|
+
};
|
|
317
|
+
type FarmSchemaChanges = {
|
|
318
|
+
addedTables: string[];
|
|
319
|
+
addedColumns: Array<{
|
|
320
|
+
table: string;
|
|
321
|
+
column: string;
|
|
322
|
+
type: string;
|
|
323
|
+
}>;
|
|
324
|
+
addedIndexes: string[];
|
|
325
|
+
/** Removed or redefined: never applied on their own. */
|
|
326
|
+
otherChanges: string[];
|
|
327
|
+
/** Columns the new version no longer has, with their old type. */
|
|
328
|
+
removedColumns?: Array<{
|
|
329
|
+
table: string;
|
|
330
|
+
column: string;
|
|
331
|
+
type: string;
|
|
332
|
+
}>;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
/** Where Farm records the steps it ran for each owner. */
|
|
336
|
+
declare const FARM_SCHEMA_STEPS_TABLE = "farm_schema_steps";
|
|
337
|
+
type FarmPlannedSchemaStep = {
|
|
338
|
+
step: FarmSchemaMigrationStep;
|
|
339
|
+
/** What the step does, in the app's names. */
|
|
340
|
+
summary: string;
|
|
341
|
+
phase: "before" | "after";
|
|
342
|
+
statements: string[];
|
|
343
|
+
/**
|
|
344
|
+
* `run`: pending. `record`: the database already has the step's effect, so
|
|
345
|
+
* it is only recorded. `blocked`: it cannot run; `reason` says why.
|
|
346
|
+
*/
|
|
347
|
+
state: "run" | "record" | "blocked";
|
|
348
|
+
reason?: string;
|
|
349
|
+
/** Deletes data: runs only with `--allow-destructive`. */
|
|
350
|
+
destructive?: boolean;
|
|
351
|
+
};
|
|
352
|
+
type FarmSchemaStepPlan = {
|
|
353
|
+
steps: FarmPlannedSchemaStep[];
|
|
354
|
+
/** Steps that ran here before, but whose definition has changed since. */
|
|
355
|
+
edited: string[];
|
|
356
|
+
/** Every step, when the tables are being created fresh at this version. */
|
|
357
|
+
fresh: boolean;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Attached to a plugin or integration to say "I own these tables".
|
|
362
|
+
*
|
|
363
|
+
* Read by tooling so it can reach an already-resolved schema and connection
|
|
364
|
+
* instead of re-reading and re-validating configuration.
|
|
365
|
+
*
|
|
366
|
+
* @internal
|
|
367
|
+
*/
|
|
368
|
+
declare const FARM_SCHEMA_TABLES: unique symbol;
|
|
369
|
+
/** @internal What `definePlugin({ schema })` records on a plugin. */
|
|
370
|
+
interface FarmSchemaTablesDeclaration {
|
|
371
|
+
/** Command namespace: this is the `<name>` in `farm <name> migrate`. */
|
|
372
|
+
name: string;
|
|
373
|
+
/** The schema whose models this owner stores. */
|
|
374
|
+
schema: FarmSchema;
|
|
375
|
+
/**
|
|
376
|
+
* Model keys this owner actually controls. Defaults to every model in the
|
|
377
|
+
* schema; narrow it when an app shares one schema with the rest of its code.
|
|
378
|
+
*/
|
|
379
|
+
models?: readonly string[];
|
|
380
|
+
/**
|
|
381
|
+
* Resolves the configured database client, or the storage mount behind it.
|
|
382
|
+
*
|
|
383
|
+
* The app's resolved config is passed because an owner may read its
|
|
384
|
+
* connection from there rather than from its own options — an integration
|
|
385
|
+
* configured through `storage.client`, for example.
|
|
386
|
+
*/
|
|
387
|
+
resolveClient(config: FarmSchemaOwnerConfig): Promise<unknown>;
|
|
388
|
+
/** Set explicitly when the client's dialect cannot be detected. */
|
|
389
|
+
dialect?: FarmSqlDialect;
|
|
390
|
+
/** Owners whose tables must exist first, by owner name. */
|
|
391
|
+
dependsOn?: readonly string[];
|
|
392
|
+
/** The owner's release, shown when an upgrade changes its tables. */
|
|
393
|
+
version?: string;
|
|
394
|
+
/** Ordered steps for changes Farm does not infer, such as renames. */
|
|
395
|
+
migrations?: readonly FarmSchemaMigrationStep[];
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Record that a plugin or integration owns tables, so `farm <name> migrate`,
|
|
399
|
+
* `farm generate`, and `farm schema check` find them.
|
|
400
|
+
*
|
|
401
|
+
* @internal Not part of the plugin API: plugins set `schema` (and `database`)
|
|
402
|
+
* on `definePlugin`, which calls this. Exported for Farm's own packages and for
|
|
403
|
+
* code written against earlier betas.
|
|
404
|
+
*
|
|
405
|
+
* The declaration is non-enumerable, so it never reaches a config serializer or
|
|
406
|
+
* a plugin's own option spreading.
|
|
407
|
+
*/
|
|
408
|
+
declare function declareSchemaTables<TTarget extends object>(target: TTarget, declaration: FarmSchemaTablesDeclaration): TTarget;
|
|
409
|
+
/** @internal The declaration on a plugin, when it has one. */
|
|
410
|
+
declare function readSchemaTables(candidate: unknown): FarmSchemaTablesDeclaration | undefined;
|
|
411
|
+
/** What an owner may read when resolving its client. */
|
|
412
|
+
type FarmSchemaOwnerConfig = {
|
|
413
|
+
storage?: unknown;
|
|
414
|
+
integrations?: Record<string, unknown> | readonly unknown[];
|
|
415
|
+
[key: string]: unknown;
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/** A reference from one plugin's table to a table another plugin creates. */
|
|
419
|
+
type FarmCrossOwnerReference = {
|
|
420
|
+
/** The owner whose table holds the reference. */
|
|
421
|
+
owner: string;
|
|
422
|
+
modelKey: string;
|
|
423
|
+
fieldKey: string;
|
|
424
|
+
table: string;
|
|
425
|
+
column: string;
|
|
426
|
+
referencedOwner: string;
|
|
427
|
+
referencedTable: string;
|
|
428
|
+
referencedColumn: string;
|
|
429
|
+
onDelete: NonNullable<FarmSchemaReference["onDelete"]>;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Every table owner an app has configured.
|
|
434
|
+
*
|
|
435
|
+
* Plugins and integrations are both searched, because either can own storage.
|
|
436
|
+
*/
|
|
437
|
+
declare function findSchemaTableOwners(config: {
|
|
438
|
+
plugins?: readonly unknown[];
|
|
439
|
+
integrations?: Record<string, unknown> | readonly unknown[];
|
|
440
|
+
}): FarmSchemaTablesDeclaration[];
|
|
441
|
+
/** Resolve one owner's declaration into the models tooling works with. */
|
|
442
|
+
declare function collectOwnerModels(owner: FarmSchemaTablesDeclaration): CollectedSchemaModel[];
|
|
443
|
+
interface MigrateSchemaTablesOptions {
|
|
444
|
+
/** The app's resolved config, handed to the owner's `resolveClient`. */
|
|
445
|
+
config?: FarmSchemaOwnerConfig;
|
|
446
|
+
/** Write the plan to this path instead of applying it. */
|
|
447
|
+
write?: string;
|
|
448
|
+
/** Execute the plan. */
|
|
449
|
+
apply?: boolean;
|
|
450
|
+
/**
|
|
451
|
+
* What to do with columns the owner adds to tables it does not own.
|
|
452
|
+
* `"report"` when the app's ORM owns those tables: they are never altered,
|
|
453
|
+
* only reported, so the ORM's migrations stay the source of truth.
|
|
454
|
+
*/
|
|
455
|
+
extensions?: "apply" | "report";
|
|
456
|
+
/** Run migration steps that delete data, such as dropping a column. */
|
|
457
|
+
allowDestructive?: boolean;
|
|
458
|
+
log?: (message: string) => void;
|
|
459
|
+
}
|
|
460
|
+
interface MigrateSchemaTablesResult {
|
|
461
|
+
plan: FarmSchemaMigratePlan;
|
|
462
|
+
sql: string;
|
|
463
|
+
applied: string[];
|
|
464
|
+
/** Foreign keys to other owners' tables that this run did not create. */
|
|
465
|
+
foreignKeys: {
|
|
466
|
+
/** The other owner has not created its table yet. */
|
|
467
|
+
waiting: FarmCrossOwnerReference[];
|
|
468
|
+
/** On an existing table, not allowed in `schema.allowForeignKeys`. */
|
|
469
|
+
unapproved: FarmSchemaAddableForeignKey[];
|
|
470
|
+
/** On an existing SQLite table, which cannot get one. */
|
|
471
|
+
unsupported: FarmSchemaAddableForeignKey[];
|
|
472
|
+
/** Allowed, but rows already point at nothing. */
|
|
473
|
+
blocked: Array<{
|
|
474
|
+
key: FarmSchemaAddableForeignKey;
|
|
475
|
+
orphans: number;
|
|
476
|
+
}>;
|
|
477
|
+
};
|
|
478
|
+
/** What the installed version changes compared with the last applied one. */
|
|
479
|
+
upgrade?: {
|
|
480
|
+
from?: string;
|
|
481
|
+
to?: string;
|
|
482
|
+
changes: FarmSchemaChanges;
|
|
483
|
+
};
|
|
484
|
+
/** The owner's migration steps: what ran now, and what is still to do. */
|
|
485
|
+
steps: {
|
|
486
|
+
plan?: FarmSchemaStepPlan;
|
|
487
|
+
ran: string[];
|
|
488
|
+
pending: string[];
|
|
489
|
+
};
|
|
490
|
+
/** Statements and steps `--apply` would run. */
|
|
491
|
+
planned: number;
|
|
492
|
+
/** Columns the owner adds to tables it does not own. */
|
|
493
|
+
extensions: FarmSchemaExtensionPlan & {
|
|
494
|
+
/** Additions the app has not allowed in `schema.allowExtend`. */
|
|
495
|
+
unapproved: FarmSchemaExtensionStatement[];
|
|
496
|
+
/** `table.column` still missing after this run, whatever the reason. */
|
|
497
|
+
pending: string[];
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Plan, and optionally apply, the tables one owner needs.
|
|
502
|
+
*
|
|
503
|
+
* Nothing is executed unless `apply` is set: the default is to hand back sql a
|
|
504
|
+
* person can read before it touches a database. Columns added to tables the
|
|
505
|
+
* owner does not own also need the app's `schema.allowExtend`.
|
|
506
|
+
*/
|
|
507
|
+
declare function migrateSchemaTables(owner: FarmSchemaTablesDeclaration, options?: MigrateSchemaTablesOptions): Promise<MigrateSchemaTablesResult>;
|
|
508
|
+
|
|
509
|
+
type DependencyOwner = {
|
|
510
|
+
name: string;
|
|
511
|
+
schema: FarmSchema;
|
|
512
|
+
models?: readonly string[];
|
|
513
|
+
dependsOn?: readonly string[];
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Which owners need which, by owner name: what they declare in `dependsOn`,
|
|
517
|
+
* plus what their schemas imply. A reference to, or columns added to, a
|
|
518
|
+
* table another owner creates makes that owner a dependency. An owner whose
|
|
519
|
+
* schema cannot be resolved contributes only what it declares.
|
|
520
|
+
*/
|
|
521
|
+
declare function collectSchemaDependencies(owners: readonly DependencyOwner[]): Map<string, Set<string>>;
|
|
522
|
+
/**
|
|
523
|
+
* Owners with their dependencies first, otherwise in the order given. When
|
|
524
|
+
* owners only refer to each other, every one is still listed exactly once:
|
|
525
|
+
* without foreign keys between them, either can be created first.
|
|
526
|
+
*/
|
|
527
|
+
declare function orderSchemaOwners<TOwner extends DependencyOwner>(owners: readonly TOwner[], dependencies?: ReadonlyMap<string, ReadonlySet<string>>): TOwner[];
|
|
528
|
+
|
|
529
|
+
interface FarmProviderProps {
|
|
530
|
+
children: ReactNode;
|
|
531
|
+
config: FarmConfig;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Farm.js context provider for client-side components
|
|
535
|
+
*/
|
|
536
|
+
declare function FarmProvider({ children, config }: FarmProviderProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Real table and column names for a schema's models, keyed by the names the
|
|
540
|
+
* schema uses. An app passes these to a plugin to point it at its own tables:
|
|
541
|
+
*
|
|
542
|
+
* ```ts
|
|
543
|
+
* teams({
|
|
544
|
+
* schema: {
|
|
545
|
+
* user: { name: "members_auth", fields: { id: "user_id" } },
|
|
546
|
+
* member: { name: "team_members" },
|
|
547
|
+
* },
|
|
548
|
+
* });
|
|
549
|
+
* ```
|
|
550
|
+
*/
|
|
551
|
+
type FarmSchemaRenames<TSchema extends FarmSchema = FarmSchema> = {
|
|
552
|
+
[TModel in keyof TSchema["models"] & string]?: {
|
|
553
|
+
/** The table's real name. */
|
|
554
|
+
name?: string;
|
|
555
|
+
/** Real column names, keyed by the schema's field names. */
|
|
556
|
+
fields?: {
|
|
557
|
+
[TField in keyof TSchema["models"][TModel]["fields"] & string]?: string;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Apply an app's renames to a schema. Only names change: the plugin keeps
|
|
563
|
+
* using its own model and field names in code, and every consumer of the
|
|
564
|
+
* schema (migrate, `farm generate`, `farm schema check`, and the runtime ORM)
|
|
565
|
+
* reads the real ones.
|
|
566
|
+
*
|
|
567
|
+
* A rename for a model or field the schema does not have is an error, so a
|
|
568
|
+
* typo fails while the config loads instead of pointing at a missing table.
|
|
569
|
+
*/
|
|
570
|
+
declare function renameSchema<TSchema extends FarmSchema>(schema: TSchema, renames: FarmSchemaRenames<TSchema> | undefined): TSchema;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Read-only checks of every schema owner against the real database.
|
|
574
|
+
*
|
|
575
|
+
* Owners are integrations that declare a `schema` and plugins that declare
|
|
576
|
+
* tables. Their tables are compared with what the database holds, and every
|
|
577
|
+
* reference to a table someone else owns (the app's ORM, an auth library,
|
|
578
|
+
* another plugin) is checked too: the table must exist and the referenced
|
|
579
|
+
* column must have a type a foreign key can use. Nothing is written.
|
|
580
|
+
*/
|
|
581
|
+
type FarmSchemaCheckSeverity = "error" | "warning";
|
|
582
|
+
type FarmSchemaCheckCode = "schema-invalid" | "owner-conflict" | "table-conflict" | "client-missing" | "client-unavailable" | "client-unsupported" | "table-missing" | "column-missing" | "column-type" | "column-definition" | "index-missing" | "foreign-key-missing" | "reference-table-missing" | "reference-column-missing" | "reference-type" | "extend-invalid" | "extend-table-missing" | "extend-column-missing" | "extend-column-type" | "extend-column-shared" | "schema-upgrade" | "migration-step-pending" | "migration-step-blocked" | "migration-step-edited";
|
|
583
|
+
interface FarmSchemaCheckIssue {
|
|
584
|
+
severity: FarmSchemaCheckSeverity;
|
|
585
|
+
code: FarmSchemaCheckCode;
|
|
586
|
+
/** The integration key or plugin name that declares the schema. */
|
|
587
|
+
owner: string;
|
|
588
|
+
table?: string;
|
|
589
|
+
column?: string;
|
|
590
|
+
message: string;
|
|
591
|
+
/** What to do about it. */
|
|
592
|
+
hint?: string;
|
|
593
|
+
}
|
|
594
|
+
interface FarmSchemaCheckOwner {
|
|
595
|
+
name: string;
|
|
596
|
+
kind: "integration" | "plugin";
|
|
597
|
+
dialect?: FarmSqlDialect;
|
|
598
|
+
/** False when the owner stores data in a key/value mount, which has no tables. */
|
|
599
|
+
relational: boolean;
|
|
600
|
+
tables: string[];
|
|
601
|
+
/** Owners whose tables this one needs, declared or implied by its schema. */
|
|
602
|
+
dependsOn: string[];
|
|
603
|
+
}
|
|
604
|
+
interface FarmSchemaCheckReport {
|
|
605
|
+
owners: FarmSchemaCheckOwner[];
|
|
606
|
+
issues: FarmSchemaCheckIssue[];
|
|
607
|
+
/** True when there are no errors. Warnings do not fail a check. */
|
|
608
|
+
ok: boolean;
|
|
609
|
+
}
|
|
610
|
+
type FarmSchemaCheckConfig = FarmSchemaOwnerConfig & {
|
|
611
|
+
plugins?: readonly unknown[];
|
|
612
|
+
};
|
|
613
|
+
interface FarmSchemaCheckOptions {
|
|
614
|
+
/**
|
|
615
|
+
* How long connecting, and each query, may take before the owner is
|
|
616
|
+
* reported unreachable. A pg client has no connect timeout of its own, so
|
|
617
|
+
* an unreachable host would otherwise hang the check. Default 10 seconds.
|
|
618
|
+
*/
|
|
619
|
+
timeoutMs?: number;
|
|
620
|
+
}
|
|
621
|
+
type SchemaOwner = {
|
|
622
|
+
name: string;
|
|
623
|
+
kind: "integration" | "plugin";
|
|
624
|
+
schema: FarmSchema;
|
|
625
|
+
models?: readonly string[];
|
|
626
|
+
dialect?: FarmSqlDialect;
|
|
627
|
+
dependsOn?: readonly string[];
|
|
628
|
+
version?: string;
|
|
629
|
+
migrations?: readonly FarmSchemaMigrationStep[];
|
|
630
|
+
resolveClient(config: FarmSchemaCheckConfig): Promise<unknown>;
|
|
631
|
+
};
|
|
632
|
+
/**
|
|
633
|
+
* Every owner of database tables in an app: integrations that declare a
|
|
634
|
+
* `schema` and plugins that declare tables. An integration that also
|
|
635
|
+
* contributes a table-owning plugin under the same name is listed once.
|
|
636
|
+
*/
|
|
637
|
+
declare function collectSchemaOwners(config: FarmSchemaCheckConfig): SchemaOwner[];
|
|
638
|
+
declare function checkSchema(config: FarmSchemaCheckConfig, options?: FarmSchemaCheckOptions): Promise<FarmSchemaCheckReport>;
|
|
639
|
+
/** Human-readable report, grouped by owner. */
|
|
640
|
+
declare function formatSchemaCheck(report: FarmSchemaCheckReport): string;
|
|
641
|
+
|
|
642
|
+
declare class HMRManager {
|
|
643
|
+
private server;
|
|
644
|
+
constructor(server: ViteDevServer);
|
|
645
|
+
/**
|
|
646
|
+
* Send HMR update to client
|
|
647
|
+
*/
|
|
648
|
+
send(payload: any): Promise<void>;
|
|
649
|
+
/**
|
|
650
|
+
* Trigger full page reload
|
|
651
|
+
*/
|
|
652
|
+
reloadPage(): Promise<void>;
|
|
653
|
+
/**
|
|
654
|
+
* Handle file change and trigger HMR
|
|
655
|
+
*/
|
|
656
|
+
handleFileChange(file: string): Promise<void>;
|
|
657
|
+
/**
|
|
658
|
+
* Get all affected modules in the dependency graph
|
|
659
|
+
*/
|
|
660
|
+
private getAffectedModules;
|
|
661
|
+
/**
|
|
662
|
+
* Handle custom HMR events from client
|
|
663
|
+
*/
|
|
664
|
+
onClientMessage(event: string, callback: (data: any) => void): void;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
interface APIRouteInfo {
|
|
668
|
+
path: string;
|
|
669
|
+
methods: string[];
|
|
670
|
+
filePath: string;
|
|
671
|
+
relativePath: string;
|
|
672
|
+
}
|
|
673
|
+
declare class APITypeGenerator {
|
|
674
|
+
private appDirs;
|
|
675
|
+
constructor(appDir: string | readonly string[]);
|
|
676
|
+
/**
|
|
677
|
+
* Scan all API route files and extract route information
|
|
678
|
+
*/
|
|
679
|
+
scanAPIRoutes(): APIRouteInfo[];
|
|
680
|
+
private scanDirectory;
|
|
681
|
+
private extractRouteInfo;
|
|
682
|
+
private extractExportedMethods;
|
|
683
|
+
private isTypeOnlyExportSpecifier;
|
|
684
|
+
/**
|
|
685
|
+
* Generate TypeScript code for the API router
|
|
686
|
+
*/
|
|
687
|
+
generateAPIRouter(routes: APIRouteInfo[], options?: {
|
|
688
|
+
outFile?: string;
|
|
689
|
+
pluginConfigs?: readonly string[];
|
|
690
|
+
pluginRoutes?: readonly {
|
|
691
|
+
path: string;
|
|
692
|
+
method: string;
|
|
693
|
+
}[];
|
|
694
|
+
}): string;
|
|
695
|
+
private getRouteImportPath;
|
|
696
|
+
private pathToRouteName;
|
|
697
|
+
private uniqueRouteName;
|
|
698
|
+
private structureToTypeString;
|
|
699
|
+
private toTypePropertyKey;
|
|
700
|
+
/**
|
|
701
|
+
* Generate the API index file
|
|
702
|
+
*/
|
|
703
|
+
generateAPIIndex(outputPath: string): void;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
interface OpenAPISpec {
|
|
707
|
+
openapi: string;
|
|
708
|
+
info: {
|
|
709
|
+
title: string;
|
|
710
|
+
description?: string;
|
|
711
|
+
version: string;
|
|
712
|
+
contact?: {
|
|
713
|
+
name?: string;
|
|
714
|
+
email?: string;
|
|
715
|
+
url?: string;
|
|
716
|
+
};
|
|
717
|
+
license?: {
|
|
718
|
+
name: string;
|
|
719
|
+
url?: string;
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
servers?: Array<{
|
|
723
|
+
url: string;
|
|
724
|
+
description?: string;
|
|
725
|
+
}>;
|
|
726
|
+
paths: Record<string, any>;
|
|
727
|
+
components?: {
|
|
728
|
+
schemas?: Record<string, any>;
|
|
729
|
+
securitySchemes?: Record<string, any>;
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
interface OpenAPIGeneratorContext {
|
|
733
|
+
mode?: "development" | "production";
|
|
734
|
+
/** Resolved Farm `api.baseURL`, including its API path. */
|
|
735
|
+
apiBaseURL?: string;
|
|
736
|
+
}
|
|
737
|
+
declare class OpenAPIGenerator {
|
|
738
|
+
private config;
|
|
739
|
+
private appDir;
|
|
740
|
+
private context;
|
|
741
|
+
constructor(appDir: string, config: OpenAPIConfig, context?: OpenAPIGeneratorContext);
|
|
742
|
+
/**
|
|
743
|
+
* Get type from Zod type
|
|
744
|
+
*/
|
|
745
|
+
private getTypeFromZodType;
|
|
746
|
+
/**
|
|
747
|
+
* Whether a schema field must be supplied by the caller. A field with a
|
|
748
|
+
* default is supplied by the server when omitted, so — like an explicitly
|
|
749
|
+
* optional field — it is not required. Only ZodOptional was excluded before,
|
|
750
|
+
* which documented every `.default()` field as required.
|
|
751
|
+
*/
|
|
752
|
+
private isRequiredField;
|
|
753
|
+
/**
|
|
754
|
+
* Process Zod type to OpenAPI schema
|
|
755
|
+
*/
|
|
756
|
+
private processZodType;
|
|
757
|
+
private getResponses;
|
|
758
|
+
private getResponse;
|
|
759
|
+
/**
|
|
760
|
+
* Generate OpenAPI spec from API routes
|
|
761
|
+
*/
|
|
762
|
+
generateSpec(routes: APIRouteInfo[], requestOrigin?: string): Promise<OpenAPISpec>;
|
|
763
|
+
/**
|
|
764
|
+
* Resolve server entries in decreasing order of authority: explicit OpenAPI
|
|
765
|
+
* servers, Farm's public API base, the current development request origin,
|
|
766
|
+
* and finally a mode-appropriate default.
|
|
767
|
+
*/
|
|
768
|
+
resolveServers(requestOrigin?: string): NonNullable<OpenAPISpec["servers"]>;
|
|
769
|
+
/**
|
|
770
|
+
* Convert a Farm.js API path to OpenAPI path format.
|
|
771
|
+
*
|
|
772
|
+
* Strips the `/api` prefix and rewrites dynamic segments to OpenAPI's
|
|
773
|
+
* `{name}` templating: `[id]` -> `{id}`, `[...slug]` -> `{slug}`, and
|
|
774
|
+
* `[[...slug]]` -> `{slug}`. Leaving the bracket form produces a path key that
|
|
775
|
+
* is invalid OpenAPI, which breaks "try it" and any generated client.
|
|
776
|
+
*/
|
|
777
|
+
private convertToOpenAPIPath;
|
|
778
|
+
/**
|
|
779
|
+
* OpenAPI does not permit optional path parameters. An optional catch-all
|
|
780
|
+
* therefore becomes two concrete paths: the empty base path and the
|
|
781
|
+
* parameterized catch-all path.
|
|
782
|
+
*/
|
|
783
|
+
private getOpenAPIPathVariants;
|
|
784
|
+
/**
|
|
785
|
+
* Path parameters implied by a Farm.js API path's dynamic segments. Every
|
|
786
|
+
* path parameter is `required: true` per the OpenAPI spec (a path parameter
|
|
787
|
+
* cannot be optional), including catch-all segments.
|
|
788
|
+
*/
|
|
789
|
+
private getPathParameters;
|
|
790
|
+
/**
|
|
791
|
+
* Extract request body schema from endpoint
|
|
792
|
+
*/
|
|
793
|
+
private getRequestBody;
|
|
794
|
+
/**
|
|
795
|
+
* Extract query parameters from endpoint
|
|
796
|
+
*/
|
|
797
|
+
private getParameters;
|
|
798
|
+
/**
|
|
799
|
+
* Generate OpenAPI operation from route info
|
|
800
|
+
*/
|
|
801
|
+
private generateOperation;
|
|
802
|
+
private getEndpointOpenAPIMetadata;
|
|
803
|
+
private getSecurityRequirements;
|
|
804
|
+
/**
|
|
805
|
+
* Generate operation summary
|
|
806
|
+
*/
|
|
807
|
+
private generateSummary;
|
|
808
|
+
/**
|
|
809
|
+
* Generate operation description
|
|
810
|
+
*/
|
|
811
|
+
private generateDescription;
|
|
812
|
+
/**
|
|
813
|
+
* Generate operation ID
|
|
814
|
+
*/
|
|
815
|
+
private generateOperationId;
|
|
816
|
+
/**
|
|
817
|
+
* Generate tags for grouping operations
|
|
818
|
+
*/
|
|
819
|
+
private generateTags;
|
|
820
|
+
/**
|
|
821
|
+
* Generate OpenAPI spec file
|
|
822
|
+
*/
|
|
823
|
+
generateSpecFile(routes: APIRouteInfo[], outputPath: string): Promise<void>;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
declare class OpenAPIManager {
|
|
827
|
+
private generator;
|
|
828
|
+
private apiTypeGenerator;
|
|
829
|
+
private config;
|
|
830
|
+
private appDir;
|
|
831
|
+
private specCache;
|
|
832
|
+
constructor(appDir: string | readonly string[], config: OpenAPIConfig, context?: OpenAPIGeneratorContext);
|
|
833
|
+
/**
|
|
834
|
+
* Generate OpenAPI spec from API routes
|
|
835
|
+
*/
|
|
836
|
+
generateSpec(): Promise<any>;
|
|
837
|
+
/**
|
|
838
|
+
* Get cached spec or generate new one
|
|
839
|
+
*/
|
|
840
|
+
getSpec(requestOrigin?: string): Promise<any>;
|
|
841
|
+
/**
|
|
842
|
+
* Generate and save OpenAPI spec file
|
|
843
|
+
*/
|
|
844
|
+
generateSpecFile(): Promise<void>;
|
|
845
|
+
/**
|
|
846
|
+
* Invalidate cache and regenerate spec
|
|
847
|
+
*/
|
|
848
|
+
invalidateCache(): Promise<void>;
|
|
849
|
+
/**
|
|
850
|
+
* Get the docs route handler
|
|
851
|
+
*/
|
|
852
|
+
getDocsRouteHandler(requestOrigin?: string): (req: any, res: any) => Promise<void>;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
interface ScalarAPIDocumentationProps {
|
|
856
|
+
spec: any;
|
|
857
|
+
config?: {
|
|
858
|
+
theme?: "default" | "purple" | "blue" | "green" | "red" | "yellow";
|
|
859
|
+
layout?: "modern" | "classic";
|
|
860
|
+
showSidebar?: boolean;
|
|
861
|
+
hideDownloadButton?: boolean;
|
|
862
|
+
hideTryItPanel?: boolean;
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
declare function ScalarAPIDocumentation({ spec, config }: ScalarAPIDocumentationProps): react_jsx_runtime.JSX.Element;
|
|
866
|
+
declare global {
|
|
867
|
+
interface Window {
|
|
868
|
+
Scalar?: {
|
|
869
|
+
createApiReference(element: Element, config: Record<string, unknown>): {
|
|
870
|
+
destroy(): void;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
interface DocsRouteProps {
|
|
877
|
+
spec: any;
|
|
878
|
+
config?: any;
|
|
879
|
+
}
|
|
880
|
+
declare function DocsRoute({ spec, config }: DocsRouteProps): react_jsx_runtime.JSX.Element;
|
|
881
|
+
|
|
882
|
+
type FarmDevtoolsRuntime = {
|
|
883
|
+
runtime: "auto" | "node" | "edge";
|
|
884
|
+
regions?: string[];
|
|
885
|
+
maxDuration?: number;
|
|
886
|
+
};
|
|
887
|
+
type FarmDevtoolsDiagnostic = {
|
|
888
|
+
severity: "error" | "warning" | "info";
|
|
889
|
+
code: string;
|
|
890
|
+
title: string;
|
|
891
|
+
message: string;
|
|
892
|
+
action?: string;
|
|
893
|
+
};
|
|
894
|
+
type FarmDevtoolsSnapshot = {
|
|
895
|
+
generatedAt: string;
|
|
896
|
+
health: "ready" | "attention" | "error";
|
|
897
|
+
project: {
|
|
898
|
+
name: string;
|
|
899
|
+
root: string;
|
|
900
|
+
srcDir: string;
|
|
901
|
+
basePath: string;
|
|
902
|
+
deploymentId: string;
|
|
903
|
+
};
|
|
904
|
+
deployment: {
|
|
905
|
+
target: string;
|
|
906
|
+
preset: string;
|
|
907
|
+
outputDir?: string;
|
|
908
|
+
};
|
|
909
|
+
counts: {
|
|
910
|
+
pages: number;
|
|
911
|
+
layouts: number;
|
|
912
|
+
loadingBoundaries: number;
|
|
913
|
+
errorBoundaries: number;
|
|
914
|
+
apiRoutes: number;
|
|
915
|
+
middleware: number;
|
|
916
|
+
integrations: number;
|
|
917
|
+
plugins: number;
|
|
918
|
+
storageMounts: number;
|
|
919
|
+
cronJobs: number;
|
|
920
|
+
workflows: number;
|
|
921
|
+
layers: number;
|
|
922
|
+
diagnostics: number;
|
|
923
|
+
};
|
|
924
|
+
routes: Array<{
|
|
925
|
+
kind: "page" | "layout" | "loading" | "error";
|
|
926
|
+
pattern: string;
|
|
927
|
+
filePath: string;
|
|
928
|
+
runtime?: FarmDevtoolsRuntime;
|
|
929
|
+
}>;
|
|
930
|
+
apiRoutes: Array<{
|
|
931
|
+
path: string;
|
|
932
|
+
methods: string[];
|
|
933
|
+
filePath: string;
|
|
934
|
+
runtime: FarmDevtoolsRuntime;
|
|
935
|
+
}>;
|
|
936
|
+
middleware: Array<{
|
|
937
|
+
path: string;
|
|
938
|
+
source: "config" | "file";
|
|
939
|
+
filePath: string;
|
|
940
|
+
handlerCount: number;
|
|
941
|
+
}>;
|
|
942
|
+
integrations: Array<{
|
|
943
|
+
key: string;
|
|
944
|
+
type: string;
|
|
945
|
+
category: string;
|
|
946
|
+
serverRuntime: boolean;
|
|
947
|
+
routes: Array<{
|
|
948
|
+
path: string;
|
|
949
|
+
methods: string[];
|
|
950
|
+
}>;
|
|
951
|
+
middlewareCount: number;
|
|
952
|
+
providerCount: number;
|
|
953
|
+
schemaModelCount: number;
|
|
954
|
+
}>;
|
|
955
|
+
plugins: Array<{
|
|
956
|
+
name: string;
|
|
957
|
+
version?: string;
|
|
958
|
+
order: number;
|
|
959
|
+
enforce: "pre" | "normal" | "post";
|
|
960
|
+
serverHooks: string[];
|
|
961
|
+
clientHooks: string[];
|
|
962
|
+
routes: boolean;
|
|
963
|
+
}>;
|
|
964
|
+
storage: Array<{
|
|
965
|
+
mount: string;
|
|
966
|
+
driver: string;
|
|
967
|
+
default: boolean;
|
|
968
|
+
}>;
|
|
969
|
+
cron: FarmCronJob[];
|
|
970
|
+
workflows: Array<{
|
|
971
|
+
id: string;
|
|
972
|
+
filePath: string;
|
|
973
|
+
routePath: string;
|
|
974
|
+
schedule: string[];
|
|
975
|
+
timezone?: string;
|
|
976
|
+
}>;
|
|
977
|
+
layers: Array<{
|
|
978
|
+
name: string;
|
|
979
|
+
source: string;
|
|
980
|
+
srcDir: string;
|
|
981
|
+
}>;
|
|
982
|
+
environment: {
|
|
983
|
+
server: string[];
|
|
984
|
+
public: string[];
|
|
985
|
+
};
|
|
986
|
+
docs: {
|
|
987
|
+
enabled: boolean;
|
|
988
|
+
entry?: string;
|
|
989
|
+
};
|
|
990
|
+
features: {
|
|
991
|
+
openapi: boolean;
|
|
992
|
+
markdown: boolean;
|
|
993
|
+
serverComponents: boolean;
|
|
994
|
+
serverActions: boolean;
|
|
995
|
+
optimizedBoundary: boolean;
|
|
996
|
+
observability: boolean;
|
|
997
|
+
};
|
|
998
|
+
diagnostics: FarmDevtoolsDiagnostic[];
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
interface GenerateFarmI18nTypesOptions {
|
|
1002
|
+
root: string;
|
|
1003
|
+
srcDir?: string;
|
|
1004
|
+
config: ResolvedFarmI18nConfig;
|
|
1005
|
+
outFile?: string;
|
|
1006
|
+
}
|
|
1007
|
+
declare function generateFarmI18nTypes(options: GenerateFarmI18nTypesOptions): Promise<string | undefined>;
|
|
1008
|
+
|
|
1009
|
+
interface GenerateFarmTypeArtifactsOptions {
|
|
1010
|
+
root: string;
|
|
1011
|
+
srcDir?: string;
|
|
1012
|
+
configPath?: string;
|
|
1013
|
+
plugins?: readonly FarmPlugin[];
|
|
1014
|
+
extraRoutes?: string[];
|
|
1015
|
+
layers?: readonly ResolvedFarmLayer[];
|
|
1016
|
+
suppressLintOnLink?: boolean;
|
|
1017
|
+
componentExtensions?: readonly string[];
|
|
1018
|
+
routeTypesOutFile?: string;
|
|
1019
|
+
apiTypesOutFile?: string;
|
|
1020
|
+
envTypesOutFile?: string;
|
|
1021
|
+
imageTypesOutFile?: string;
|
|
1022
|
+
i18nTypesOutFile?: string;
|
|
1023
|
+
i18nConfig?: ResolvedFarmI18nConfig;
|
|
1024
|
+
routes?: boolean;
|
|
1025
|
+
api?: boolean;
|
|
1026
|
+
env?: boolean;
|
|
1027
|
+
images?: boolean;
|
|
1028
|
+
i18n?: boolean;
|
|
1029
|
+
/** Compare generated content with disk without writing files. */
|
|
1030
|
+
check?: boolean;
|
|
1031
|
+
}
|
|
1032
|
+
interface GenerateFarmTypeArtifactsResult {
|
|
1033
|
+
typesPath?: string;
|
|
1034
|
+
routeTypesPath?: string;
|
|
1035
|
+
apiTypesPath?: string;
|
|
1036
|
+
envTypesPath?: string;
|
|
1037
|
+
imageTypesPath?: string;
|
|
1038
|
+
i18nTypesPath?: string;
|
|
1039
|
+
apiRoutes: APIRouteInfo[];
|
|
1040
|
+
/** Generated files whose checked-in content is missing or stale. */
|
|
1041
|
+
stalePaths: string[];
|
|
1042
|
+
}
|
|
1043
|
+
declare function generateFarmTypeArtifacts(options: GenerateFarmTypeArtifactsOptions): Promise<GenerateFarmTypeArtifactsResult>;
|
|
1044
|
+
|
|
1045
|
+
interface GenerateFarmImageTypesOptions {
|
|
1046
|
+
root: string;
|
|
1047
|
+
srcDir?: string;
|
|
1048
|
+
outFile?: string;
|
|
1049
|
+
}
|
|
1050
|
+
declare function generateFarmImageTypes(options: GenerateFarmImageTypesOptions): string;
|
|
1051
|
+
declare function createFarmImageTypeDeclarations(): string;
|
|
1052
|
+
|
|
1053
|
+
export { APITypeGenerator, CollectedSchemaModel, DocsRoute, FARM_SCHEMA_STATE_TABLE, FARM_SCHEMA_STEPS_TABLE, FARM_SCHEMA_TABLES, FarmConfig, FarmCronJob, type FarmCrossOwnerReference, type FarmDevtoolsDiagnostic, type FarmDevtoolsRuntime, type FarmDevtoolsSnapshot, FarmPlugin, FarmProvider, FarmSchema, type FarmSchemaAddableForeignKey, type FarmSchemaChanges, type FarmSchemaCheckCode, type FarmSchemaCheckConfig, type FarmSchemaCheckIssue, type FarmSchemaCheckOptions, type FarmSchemaCheckOwner, type FarmSchemaCheckReport, type FarmSchemaCheckSeverity, type FarmSchemaColumnDefinition, type FarmSchemaColumnDrift, type FarmSchemaDrift, type FarmSchemaExecutor, type FarmSchemaExtension, type FarmSchemaExtensionPlan, type FarmSchemaExtensionStatement, FarmSchemaField, type FarmSchemaIndexDefinition, type FarmSchemaMigratePlan, type FarmSchemaMigrateResult, FarmSchemaMigrationStep, type FarmSchemaOwnerConfig, FarmSchemaReference, type FarmSchemaReferenceDefinition, type FarmSchemaRenames, type FarmSchemaSnapshot, type FarmSchemaState, type FarmSchemaStepPlan, type FarmSchemaTableDescription, type FarmSchemaTablesDeclaration, FarmSqlDialect, FarmSqlStatement, type GenerateFarmImageTypesOptions, type GenerateFarmTypeArtifactsOptions, type GenerateFarmTypeArtifactsResult, HMRManager, type MigrateSchemaTablesOptions, type MigrateSchemaTablesResult, OpenAPIConfig, OpenAPIGenerator, OpenAPIManager, type OpenAPISpec, ResolvedFarmI18nConfig, ResolvedFarmLayer, ResolvedSchemaField, ScalarAPIDocumentation, applySchemaMigration, assertNoSchemaListField, checkSchema, collectOwnerModels, collectSchemaDependencies, collectSchemaExtensions, collectSchemaOwners, columnTypeFamily, createFarmImageTypeDeclarations, createSchemaExecutor, declareSchemaTables, describeSchemaDrift, describeSchemaTable, findSchemaTableOwners, formatSchemaCheck, formatSchemaMigration, generateFarmI18nTypes, generateFarmImageTypes, generateFarmTypeArtifacts, isSchemaExtensionAllowed, migrateSchemaTables, orderSchemaOwners, planSchemaExtensions, planSchemaMigration, readSchemaTables, renameSchema };
|