@farm.js/core 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp-BVExL8rZ.d.mts → agent-mcp-BwKlpnc7.d.mts} +1 -1
- package/dist/{agent-mcp-luzfXK-P.d.ts → agent-mcp-De1imoMS.d.ts} +1 -1
- package/dist/{agent-mcp-handler-SJAHFSPI.cjs → agent-mcp-handler-MRGP3WJ3.cjs} +5 -5
- package/dist/{agent-mcp-handler-LPJ2CADR.mjs → agent-mcp-handler-OLRMZONF.mjs} +4 -4
- package/dist/agent-runtime.cjs +3 -3
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.mjs +2 -2
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +6 -6
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +5 -5
- package/dist/api/runtime.cjs +4 -4
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api/runtime.mjs +3 -3
- package/dist/api.cjs +9 -8
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.mjs +8 -7
- package/dist/{app-BukwkFIu.d.mts → app-CFZt-srr.d.mts} +21 -3
- package/dist/{app-Yfa2dsFy.d.ts → app-kT_QXTdx.d.ts} +21 -3
- package/dist/app-markdown.cjs +6 -4
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +5 -3
- package/dist/{chunk-ADEA7PN3.cjs → chunk-2DD4JMQC.cjs} +113 -22
- package/dist/chunk-2ZYGC6SS.cjs +576 -0
- package/dist/{chunk-JZVADIOD.cjs → chunk-34UCJRQO.cjs} +2 -2
- package/dist/{chunk-D2BB47NB.cjs → chunk-3LOLJTFV.cjs} +6 -6
- package/dist/{chunk-KXWRO25S.cjs → chunk-472NCAZ7.cjs} +3 -3
- package/dist/chunk-4E5QXOCL.cjs +109 -0
- package/dist/{chunk-Z2HLU4IX.cjs → chunk-4GWRFP22.cjs} +23 -2
- package/dist/{chunk-VQLJWDVW.cjs → chunk-4IE345DM.cjs} +37 -19
- package/dist/{chunk-O6WAEAX3.mjs → chunk-5BWWFHR2.mjs} +70 -15
- package/dist/{chunk-JNUWCDTF.cjs → chunk-5D2JIPLH.cjs} +2 -2
- package/dist/{chunk-BO36SELV.cjs → chunk-5OKBARDN.cjs} +2 -2
- package/dist/{chunk-AO6RYU5N.cjs → chunk-5PWXMJOH.cjs} +30 -22
- package/dist/{chunk-AHGECQEW.mjs → chunk-666CKENS.mjs} +1 -1
- package/dist/chunk-6BK3K2GB.mjs +318 -0
- package/dist/{chunk-O6I6VWKK.mjs → chunk-6HB6V3R7.mjs} +1 -1
- package/dist/{chunk-UXFQ3UDA.cjs → chunk-6XWDE2P2.cjs} +61 -4
- package/dist/{chunk-VILIPRS6.mjs → chunk-7FPTZLKH.mjs} +1 -1
- package/dist/{chunk-SC2WYWPF.mjs → chunk-7PEP3BUT.mjs} +3 -3
- package/dist/{chunk-4E5AEDKY.mjs → chunk-A3EAIURZ.mjs} +25 -7
- package/dist/{chunk-YDQZGSDS.mjs → chunk-ARC7I3O2.mjs} +1 -1
- package/dist/{chunk-LSZAVSGY.mjs → chunk-B6G5CKMC.mjs} +101 -10
- package/dist/{chunk-3KZS4SUS.mjs → chunk-BZHXGVMA.mjs} +1 -1
- package/dist/{chunk-KN7K4VQN.mjs → chunk-CNNOLE4O.mjs} +1 -1
- package/dist/{chunk-4GLOOWKE.mjs → chunk-CQMVIOYP.mjs} +1 -1
- package/dist/{chunk-2ELDTQRN.mjs → chunk-CUM5NYL5.mjs} +1 -1
- package/dist/{chunk-HITLGIAO.cjs → chunk-CY2ZQ5C6.cjs} +7 -6
- package/dist/{chunk-PZNL3WEG.mjs → chunk-DMEPTZTI.mjs} +22 -11
- package/dist/{chunk-QORUJDIV.mjs → chunk-DRLKAXDM.mjs} +2 -2
- package/dist/{chunk-DQQOKWYA.cjs → chunk-EIPC3FDA.cjs} +12 -4
- package/dist/{chunk-HOXTWRGB.mjs → chunk-EKF7KDFD.mjs} +5 -2
- package/dist/{chunk-42NHY7HW.cjs → chunk-EKN7NSZO.cjs} +62 -14
- package/dist/{chunk-YKX5BK66.cjs → chunk-EMO6K4YY.cjs} +7 -7
- package/dist/{chunk-6SJ2KJTA.mjs → chunk-EPYU2EBL.mjs} +1 -1
- package/dist/{chunk-D227TIEN.cjs → chunk-FWE7LEQC.cjs} +13 -13
- package/dist/{chunk-PTZ2TVNE.cjs → chunk-H5CLOUZS.cjs} +5 -5
- package/dist/{chunk-DTSROJ5J.mjs → chunk-HD5CF3OE.mjs} +1 -1
- package/dist/{chunk-35GKZR22.mjs → chunk-HXRYZWTA.mjs} +1 -1
- package/dist/{chunk-JG6DJF5A.mjs → chunk-HZFM2LWQ.mjs} +22 -1
- package/dist/{chunk-MKYBIIAQ.mjs → chunk-IBUQWVYA.mjs} +17 -1
- package/dist/{chunk-F2SE2VDO.mjs → chunk-IHQIOZLC.mjs} +1 -1
- package/dist/{chunk-W7LF2J2S.mjs → chunk-INL3THCU.mjs} +1 -1
- package/dist/{chunk-WZ77PUAM.mjs → chunk-IVLZZZEI.mjs} +1 -1
- package/dist/{chunk-ENLZ4R3Y.mjs → chunk-J7K2NZD6.mjs} +7 -6
- package/dist/{chunk-BPOF5U4N.mjs → chunk-JCKYH4LG.mjs} +10 -7
- package/dist/{chunk-77GNHH2Z.cjs → chunk-JCYYXBAJ.cjs} +3 -3
- package/dist/{chunk-C4SPBWFM.cjs → chunk-JEZO6VUR.cjs} +10 -1
- package/dist/{chunk-ZWM5KGAA.cjs → chunk-KCQBAKIY.cjs} +23 -20
- package/dist/{chunk-OTC5BDGO.mjs → chunk-KHKLMNI5.mjs} +12 -7
- package/dist/{chunk-DZ5ZVB2K.cjs → chunk-KKSTAEMY.cjs} +1 -1
- package/dist/{chunk-N2NAS2AM.cjs → chunk-L4DD7ODZ.cjs} +2 -2
- package/dist/{chunk-YSCV4SJF.cjs → chunk-L5H2GSUC.cjs} +4 -4
- package/dist/{chunk-OO7GXVSR.mjs → chunk-LI2F57NI.mjs} +1 -1
- package/dist/{chunk-NRSN7G7E.mjs → chunk-MLY2RP5R.mjs} +10 -2
- package/dist/{chunk-BPMATOP2.cjs → chunk-N32CC42M.cjs} +25 -20
- package/dist/{chunk-FNO7A7CM.cjs → chunk-NBBEQLOK.cjs} +34 -16
- package/dist/{chunk-XCMCS4DA.mjs → chunk-ND2CWPOD.mjs} +2 -2
- package/dist/{chunk-GQRWBCWK.mjs → chunk-OAHTRMIC.mjs} +13 -5
- package/dist/{chunk-35WV46VL.mjs → chunk-OCIEZME4.mjs} +876 -685
- package/dist/{chunk-UH6QN5NL.mjs → chunk-P664ZVTV.mjs} +2 -2
- package/dist/{chunk-TE2G5ION.cjs → chunk-PGZDEPTM.cjs} +88 -33
- package/dist/{chunk-FDR64H6B.mjs → chunk-POSPE3IO.mjs} +59 -2
- package/dist/{chunk-UVW64BCB.cjs → chunk-Q3NXS4MU.cjs} +16 -14
- package/dist/{chunk-4WCZJQUO.mjs → chunk-QFW2IH5E.mjs} +57 -9
- package/dist/{chunk-5SJWVY6R.mjs → chunk-QHSH7IH4.mjs} +9 -0
- package/dist/chunk-QRKIMN7T.mjs +48 -0
- package/dist/chunk-QTXBII4Z.cjs +632 -0
- package/dist/{chunk-CI6E3UOH.cjs → chunk-RG4A6LB2.cjs} +7 -7
- package/dist/{chunk-BJPBQNIE.cjs → chunk-RW63BOV7.cjs} +2 -2
- package/dist/{chunk-FO427P6I.cjs → chunk-RWFLWR5J.cjs} +10 -10
- package/dist/{chunk-FFFW3OQ7.cjs → chunk-S6FJO323.cjs} +2 -2
- package/dist/{chunk-EUV4YR3V.cjs → chunk-SGBJ247Q.cjs} +18 -2
- package/dist/chunk-SGBZPZUW.mjs +75 -0
- package/dist/{chunk-2NNMOPDN.mjs → chunk-SKVTP5PR.mjs} +4 -1
- package/dist/{chunk-2YTDKNH3.cjs → chunk-TGFQVLLF.cjs} +956 -765
- package/dist/{chunk-IHNIDL6H.cjs → chunk-TO4GJ56K.cjs} +22 -11
- package/dist/{chunk-276VJSM6.mjs → chunk-TUBTR2OP.mjs} +250 -118
- package/dist/{chunk-GQ3Z3IZI.cjs → chunk-TYJALEHQ.cjs} +18 -18
- package/dist/chunk-TYMMBFN2.mjs +109 -0
- package/dist/chunk-U6QLDL3G.mjs +576 -0
- package/dist/{chunk-U4KT7QP3.cjs → chunk-ULASELLA.cjs} +26 -1
- package/dist/chunk-UXHS27O6.cjs +75 -0
- package/dist/{chunk-WWIKMBRN.mjs → chunk-VNGH5MLF.mjs} +17 -1
- package/dist/{chunk-EZDQRNQ7.mjs → chunk-VT4WFRHA.mjs} +23 -5
- package/dist/{chunk-CBJJH36A.cjs → chunk-VU6AAZVY.cjs} +20 -4
- package/dist/{chunk-27ZWSI3W.cjs → chunk-VXEEATVD.cjs} +2 -2
- package/dist/{chunk-EWET4D2Y.mjs → chunk-W36M2BQ4.mjs} +3 -3
- package/dist/{chunk-4WQ6PGSJ.cjs → chunk-WEW2JVA4.cjs} +4 -4
- package/dist/{chunk-4E5WBPEG.mjs → chunk-WFRT7JPX.mjs} +8 -533
- package/dist/{chunk-T4OGRVNS.mjs → chunk-WLL43JMO.mjs} +2 -2
- package/dist/chunk-WW46B6HA.cjs +318 -0
- package/dist/{chunk-TKSCR644.cjs → chunk-WXJLNP33.cjs} +2 -2
- package/dist/{chunk-S6VYG6XU.cjs → chunk-XKG2BLFN.cjs} +2 -2
- package/dist/{chunk-4NU4GGTC.cjs → chunk-XKVVMZP5.cjs} +6 -3
- package/dist/{chunk-NMHWYWDR.cjs → chunk-YR2VBEMO.cjs} +658 -526
- package/dist/{chunk-OHLSEQ57.mjs → chunk-ZJD2PN6Z.mjs} +10 -8
- package/dist/{chunk-3BU22U3M.cjs → chunk-ZXH4TS3F.cjs} +5 -2
- package/dist/{client-plugins-r1mOtSC1.d.ts → client-plugins-BvlNhGEB.d.ts} +54 -7
- package/dist/{client-plugins-C3mK9Pol.d.mts → client-plugins-DUrIYX9B.d.mts} +54 -7
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +8 -8
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/client.mjs +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-ERIKFEXX.mjs → devtools-JYJNOLPQ.mjs} +8 -6
- package/dist/{devtools-JZJJY5CK.cjs → devtools-VQWJANJV.cjs} +9 -7
- package/dist/docs.cjs +12 -10
- package/dist/docs.d.mts +20 -2
- package/dist/docs.d.ts +20 -2
- package/dist/docs.mjs +11 -9
- package/dist/headers.cjs +6 -4
- package/dist/headers.d.mts +11 -1
- package/dist/headers.d.ts +11 -1
- package/dist/headers.mjs +5 -3
- package/dist/i18n/client.cjs +11 -11
- package/dist/i18n/client.mjs +3 -3
- package/dist/index.cjs +62 -46
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.mjs +62 -46
- package/dist/integrations.cjs +5 -3
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.mjs +4 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -3
- package/dist/internal/app-markdown-runtime.d.mts +19 -5
- package/dist/internal/app-markdown-runtime.d.ts +19 -5
- package/dist/internal/app-markdown-runtime.mjs +4 -2
- package/dist/internal/build-runtime.cjs +33 -30
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +32 -29
- package/dist/internal/cli-runtime.cjs +14 -12
- package/dist/internal/cli-runtime.mjs +13 -11
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +2 -2
- package/dist/internal/client-runtime.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +9 -7
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +8 -6
- package/dist/internal/docs-precompiled-runtime.cjs +19 -13
- package/dist/internal/docs-precompiled-runtime.d.mts +5 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +5 -0
- package/dist/internal/docs-precompiled-runtime.mjs +14 -8
- package/dist/internal/infra-analytics-runtime.cjs +5 -5
- package/dist/internal/infra-analytics-runtime.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-node-env.cjs +6 -2
- package/dist/internal/production-node-env.d.mts +10 -1
- package/dist/internal/production-node-env.d.ts +10 -1
- package/dist/internal/production-node-env.mjs +5 -1
- package/dist/internal/production-runtime.cjs +39 -54
- package/dist/internal/production-runtime.d.mts +51 -11
- package/dist/internal/production-runtime.d.ts +51 -11
- package/dist/internal/production-runtime.mjs +39 -54
- package/dist/markdown.cjs +8 -2
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +7 -1
- package/dist/middleware.cjs +10 -8
- package/dist/middleware.d.mts +27 -5
- package/dist/middleware.d.ts +27 -5
- package/dist/middleware.mjs +10 -8
- package/dist/navigation.cjs +7 -7
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/navigation.mjs +6 -6
- package/dist/plugin.cjs +25 -23
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.mjs +24 -22
- package/dist/{production-runtime-CCeVZXst.d.mts → production-runtime-BQ4_WLwQ.d.mts} +1 -1
- package/dist/{production-runtime-DPnsggY3.d.ts → production-runtime-D2aMyzjr.d.ts} +1 -1
- package/dist/query/client.cjs +9 -9
- package/dist/query/client.mjs +4 -4
- package/dist/{render-plan-Cw4f5E_R.d.ts → render-plan-25p4hrj4.d.ts} +1 -1
- package/dist/{render-plan-BuGaPFe6.d.mts → render-plan-DtkXMN8D.d.mts} +1 -1
- package/dist/renderer-client.cjs +12 -12
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/renderer-client.mjs +4 -4
- package/dist/renderer.d.mts +13 -4
- package/dist/renderer.d.ts +13 -4
- package/dist/{request-CsGARcAw.d.mts → request-DgCkIdcn.d.mts} +4 -2
- package/dist/{request-Bkg-hERy.d.ts → request-jF4jwx8f.d.ts} +4 -2
- package/dist/request.cjs +3 -3
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/request.mjs +2 -2
- package/dist/{route-rendering-BUZMH_64.d.ts → route-rendering-Bji6S6a_.d.ts} +1 -1
- package/dist/{route-rendering-f11yh5dp.d.mts → route-rendering-CSBF78Ya.d.mts} +1 -1
- package/dist/{router-Cp6yRE8A.d.mts → router-B09Ui3Qm.d.mts} +1 -1
- package/dist/{router-B8CR9GbD.d.ts → router-CPB9cXtG.d.ts} +1 -1
- package/dist/routes.cjs +2 -2
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +1 -1
- package/dist/{runtime-CAEv36S_.d.mts → runtime-CM6E6yuI.d.mts} +1 -1
- package/dist/{runtime-CQVsT330.d.ts → runtime-EDMwLdjv.d.ts} +1 -1
- package/dist/server-fn.cjs +3 -3
- package/dist/server-fn.mjs +2 -2
- package/dist/server-plugins.cjs +5 -5
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server-plugins.mjs +4 -4
- package/dist/server-query.cjs +4 -4
- package/dist/server-query.mjs +3 -3
- package/dist/server.cjs +51 -49
- package/dist/server.d.mts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.mjs +29 -27
- package/dist/{spa-router-BuciWGCZ.d.ts → spa-router-B_N8XgVu.d.ts} +2 -2
- package/dist/{spa-router-DwbqGkGj.d.mts → spa-router-Cgimzfbi.d.mts} +2 -2
- package/dist/testing.cjs +8 -8
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +6 -6
- package/dist/theme/server.cjs +4 -4
- package/dist/theme/server.mjs +3 -3
- package/dist/{utils-CaoWKtYM.d.ts → utils-BNxAKAuT.d.ts} +1 -1
- package/dist/{utils-B9V0S_yL.d.mts → utils-DZciYXYl.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +25 -23
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +24 -22
- package/package.json +1 -1
- package/types/middleware.d.ts +5 -1
- package/dist/chunk-655RLQQL.mjs +0 -43
- package/dist/chunk-FXEF4PPL.mjs +0 -47
- package/dist/chunk-IZY3V5XW.mjs +0 -23
- package/dist/chunk-MRMI32SN.cjs +0 -1157
- package/dist/chunk-MT763TDW.cjs +0 -43
- package/dist/chunk-XD32KALF.cjs +0 -47
- /package/dist/{chunk-SJNMVDDF.cjs → chunk-FUCSUGDM.cjs} +0 -0
- /package/dist/{chunk-UDNPLXW7.mjs → chunk-MYIZXDZA.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -6,29 +6,29 @@ import {
|
|
|
6
6
|
} from "./chunk-S67OYZU7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
build
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OCIEZME4.mjs";
|
|
10
10
|
import "./chunk-S3FNNQHR.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-6BK3K2GB.mjs";
|
|
12
12
|
import {
|
|
13
13
|
checkSchema,
|
|
14
14
|
collectSchemaDependencies,
|
|
15
15
|
collectSchemaOwners,
|
|
16
16
|
formatSchemaCheck,
|
|
17
17
|
orderSchemaOwners
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7FPTZLKH.mjs";
|
|
19
19
|
import {
|
|
20
20
|
createIntegrationOrm,
|
|
21
21
|
farmIntegrationSchemaToOrmSchema,
|
|
22
22
|
resolveIntegrationOrmRuntimeClient
|
|
23
23
|
} from "./chunk-QV4VE2OW.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-TYMMBFN2.mjs";
|
|
25
25
|
import {
|
|
26
26
|
createDocsAPI,
|
|
27
27
|
createFarmDocsAPIHandler,
|
|
28
28
|
createFarmDocsAdapterHandler,
|
|
29
29
|
hasFarmDocsRuntimeAdapter,
|
|
30
30
|
isFarmDocsAPIRequest
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-A3EAIURZ.mjs";
|
|
32
32
|
import {
|
|
33
33
|
createFarmDocsHandler,
|
|
34
34
|
discoverFarmDocsPages,
|
|
@@ -37,17 +37,18 @@ import {
|
|
|
37
37
|
isFarmDocsRequest,
|
|
38
38
|
loadFarmDocsPage,
|
|
39
39
|
resolveFarmDocsContentDir
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5BWWFHR2.mjs";
|
|
41
41
|
import "./chunk-UP4CW6WP.mjs";
|
|
42
42
|
import "./chunk-TFQG7TBC.mjs";
|
|
43
43
|
import {
|
|
44
44
|
usePathname,
|
|
45
45
|
useSearchParams
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-DRLKAXDM.mjs";
|
|
47
47
|
import {
|
|
48
48
|
cookies,
|
|
49
|
+
getCspNonce,
|
|
49
50
|
headers
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MLY2RP5R.mjs";
|
|
51
52
|
import "./chunk-ITJ6P4O7.mjs";
|
|
52
53
|
import {
|
|
53
54
|
createLayoutModuleFromProgrammaticLayout,
|
|
@@ -64,7 +65,7 @@ import {
|
|
|
64
65
|
parseProgrammaticRoutePath,
|
|
65
66
|
routesBuilder,
|
|
66
67
|
scanProgrammaticPagePaths
|
|
67
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-DMEPTZTI.mjs";
|
|
68
69
|
import "./chunk-UCNPVBE7.mjs";
|
|
69
70
|
import {
|
|
70
71
|
loadRouteParams,
|
|
@@ -90,16 +91,16 @@ import {
|
|
|
90
91
|
memoryRateLimitStorage,
|
|
91
92
|
middleware,
|
|
92
93
|
unwrapMiddleware
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-EKF7KDFD.mjs";
|
|
94
95
|
import {
|
|
95
96
|
applyProductionMiddlewareHeaders,
|
|
96
97
|
createProductionMiddlewareRunner,
|
|
97
98
|
matchesMiddlewareConfig
|
|
98
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-KHKLMNI5.mjs";
|
|
99
100
|
import {
|
|
100
101
|
farmApiPlugin
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
102
|
+
} from "./chunk-OAHTRMIC.mjs";
|
|
103
|
+
import "./chunk-BZHXGVMA.mjs";
|
|
103
104
|
import {
|
|
104
105
|
FarmEnvironmentError,
|
|
105
106
|
createClientOnlyFn,
|
|
@@ -109,7 +110,7 @@ import {
|
|
|
109
110
|
import {
|
|
110
111
|
FARM_SERVER_QUERY_SYMBOL,
|
|
111
112
|
createServerQuery
|
|
112
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-HXRYZWTA.mjs";
|
|
113
114
|
import {
|
|
114
115
|
FARM_SERVER_FN_SYMBOL,
|
|
115
116
|
_attachServerFunctionDescriptor,
|
|
@@ -120,7 +121,7 @@ import {
|
|
|
120
121
|
createServerFn,
|
|
121
122
|
createServerFunctionDescriptor,
|
|
122
123
|
createServerMiddleware
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-W36M2BQ4.mjs";
|
|
124
125
|
import "./chunk-2VQKKQ6D.mjs";
|
|
125
126
|
import {
|
|
126
127
|
getDeployTargetForPreset,
|
|
@@ -131,7 +132,7 @@ import {
|
|
|
131
132
|
resolveDeployConfig,
|
|
132
133
|
resolveDeployOutputPath,
|
|
133
134
|
resolveMigrationsConfig
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-ZJD2PN6Z.mjs";
|
|
135
136
|
import {
|
|
136
137
|
defineConfig,
|
|
137
138
|
defineFarmConfig
|
|
@@ -154,7 +155,7 @@ import {
|
|
|
154
155
|
storageClientCacheAdapter,
|
|
155
156
|
useFetcher,
|
|
156
157
|
useMutation
|
|
157
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-VT4WFRHA.mjs";
|
|
158
159
|
import {
|
|
159
160
|
installChunkErrorRecovery,
|
|
160
161
|
isChunkLoadError
|
|
@@ -172,7 +173,7 @@ import {
|
|
|
172
173
|
usePageState,
|
|
173
174
|
useRouter,
|
|
174
175
|
useScrollRestoration
|
|
175
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-7PEP3BUT.mjs";
|
|
176
177
|
import {
|
|
177
178
|
useTheme
|
|
178
179
|
} from "./chunk-BJIYRUGQ.mjs";
|
|
@@ -198,7 +199,7 @@ import {
|
|
|
198
199
|
isAPIRouteRef,
|
|
199
200
|
resolveServerFnInvalidateTargets,
|
|
200
201
|
settleServerFnOptimisticUpdates
|
|
201
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-ARC7I3O2.mjs";
|
|
202
203
|
import "./chunk-72AK62H5.mjs";
|
|
203
204
|
import {
|
|
204
205
|
beginFarmServerQueryAction,
|
|
@@ -227,10 +228,10 @@ import {
|
|
|
227
228
|
pushState,
|
|
228
229
|
readPageState,
|
|
229
230
|
replaceState
|
|
230
|
-
} from "./chunk-
|
|
231
|
-
import "./chunk-
|
|
231
|
+
} from "./chunk-ND2CWPOD.mjs";
|
|
232
|
+
import "./chunk-IHQIOZLC.mjs";
|
|
232
233
|
import "./chunk-2PQNJXFM.mjs";
|
|
233
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-QHSH7IH4.mjs";
|
|
234
235
|
import {
|
|
235
236
|
getFarmClientDataCache,
|
|
236
237
|
normalizeFarmClientCacheKey
|
|
@@ -247,7 +248,7 @@ import {
|
|
|
247
248
|
PluginManager,
|
|
248
249
|
createFarmApp,
|
|
249
250
|
definePlugin
|
|
250
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-TUBTR2OP.mjs";
|
|
251
252
|
import {
|
|
252
253
|
analyzeStaticRouteCandidate,
|
|
253
254
|
collectSSGPages,
|
|
@@ -266,7 +267,7 @@ import {
|
|
|
266
267
|
parseRouteRenderingDirective,
|
|
267
268
|
resolveRouteRenderingConfig,
|
|
268
269
|
resolveRouteRenderingConfigFromFile
|
|
269
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-CQMVIOYP.mjs";
|
|
270
271
|
import {
|
|
271
272
|
APITypeGenerator
|
|
272
273
|
} from "./chunk-F3VB7ONA.mjs";
|
|
@@ -306,8 +307,8 @@ import {
|
|
|
306
307
|
assertNoSchemaListField,
|
|
307
308
|
resolveSchemaModels
|
|
308
309
|
} from "./chunk-ZMSZZXOR.mjs";
|
|
309
|
-
import "./chunk-
|
|
310
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-B6G5CKMC.mjs";
|
|
311
|
+
import "./chunk-P664ZVTV.mjs";
|
|
311
312
|
import "./chunk-DAO7JGTS.mjs";
|
|
312
313
|
import "./chunk-BOYNDCZL.mjs";
|
|
313
314
|
import "./chunk-AJQTP4OO.mjs";
|
|
@@ -326,8 +327,8 @@ import {
|
|
|
326
327
|
resolveFarmLayoutFonts
|
|
327
328
|
} from "./chunk-PNGWZFUQ.mjs";
|
|
328
329
|
import "./chunk-E5GNDG5F.mjs";
|
|
329
|
-
import "./chunk-
|
|
330
|
-
import "./chunk-
|
|
330
|
+
import "./chunk-CUM5NYL5.mjs";
|
|
331
|
+
import "./chunk-J7K2NZD6.mjs";
|
|
331
332
|
import "./chunk-TVGP4BBZ.mjs";
|
|
332
333
|
import {
|
|
333
334
|
generateFarmDevIndicatorsClientRuntime,
|
|
@@ -355,8 +356,9 @@ import {
|
|
|
355
356
|
REACT_RENDERER,
|
|
356
357
|
defineRenderer
|
|
357
358
|
} from "./chunk-DAATZTKJ.mjs";
|
|
358
|
-
import "./chunk-
|
|
359
|
-
import "./chunk-
|
|
359
|
+
import "./chunk-WFRT7JPX.mjs";
|
|
360
|
+
import "./chunk-HD5CF3OE.mjs";
|
|
361
|
+
import "./chunk-U6QLDL3G.mjs";
|
|
360
362
|
import "./chunk-G2KY33I6.mjs";
|
|
361
363
|
import {
|
|
362
364
|
DEFAULT_FARM_CRON_SECRET_ENV,
|
|
@@ -404,8 +406,9 @@ import {
|
|
|
404
406
|
import {
|
|
405
407
|
createFarmMarkdownRouteModuleFromFile,
|
|
406
408
|
loadFarmMdxComponents
|
|
407
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-IVLZZZEI.mjs";
|
|
408
410
|
import {
|
|
411
|
+
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
409
412
|
createFarmMarkdownRouteModule,
|
|
410
413
|
createFarmMarkdownSourceResponse,
|
|
411
414
|
createMarkdownMetadata,
|
|
@@ -414,13 +417,16 @@ import {
|
|
|
414
417
|
normalizeFarmMarkdownRoutePath,
|
|
415
418
|
parseMarkdownFrontmatter,
|
|
416
419
|
titleFromMarkdown
|
|
417
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-QFW2IH5E.mjs";
|
|
418
421
|
import {
|
|
419
422
|
resolveFarmMdxComponentsModulePath,
|
|
420
423
|
resolveMdxConfig
|
|
421
424
|
} from "./chunk-FA2W42OV.mjs";
|
|
422
425
|
import {
|
|
423
426
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
427
|
+
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
428
|
+
_getFarmMarkdownPageCheckToken,
|
|
429
|
+
_isFarmMarkdownPageCheck,
|
|
424
430
|
applyMarkdownNegotiationHeaders,
|
|
425
431
|
createFarmMarkdownErrorBody,
|
|
426
432
|
createMarkdownMirrorResponse,
|
|
@@ -435,7 +441,7 @@ import {
|
|
|
435
441
|
requestAcceptsMarkdown,
|
|
436
442
|
resolveMarkdownConfig,
|
|
437
443
|
resolveMarkdownMirrorTarget
|
|
438
|
-
} from "./chunk-
|
|
444
|
+
} from "./chunk-VNGH5MLF.mjs";
|
|
439
445
|
import {
|
|
440
446
|
classifyFarmAgent
|
|
441
447
|
} from "./chunk-MVL2RAJW.mjs";
|
|
@@ -508,20 +514,21 @@ import {
|
|
|
508
514
|
getRegisteredIntegrationRuntime,
|
|
509
515
|
getRegisteredIntegrationSchemas,
|
|
510
516
|
getRegisteredIntegrations,
|
|
517
|
+
integrationMiddlewareMayHandlePath,
|
|
511
518
|
integrationRoute,
|
|
512
519
|
isFarmIntegration,
|
|
513
520
|
isFarmIntegrationProviderComponentReference,
|
|
514
521
|
matchIntegrationRoute,
|
|
515
522
|
matchRegisteredIntegrationRoute,
|
|
516
523
|
resolveIntegrationPlugins
|
|
517
|
-
} from "./chunk-
|
|
524
|
+
} from "./chunk-IBUQWVYA.mjs";
|
|
518
525
|
import {
|
|
519
526
|
defineSchema
|
|
520
527
|
} from "./chunk-44SYJEG3.mjs";
|
|
521
528
|
import {
|
|
522
529
|
MiddlewareManager,
|
|
523
530
|
createContext
|
|
524
|
-
} from "./chunk-
|
|
531
|
+
} from "./chunk-JCKYH4LG.mjs";
|
|
525
532
|
import "./chunk-RHAZ22ZN.mjs";
|
|
526
533
|
import {
|
|
527
534
|
_runWithMiddlewareContext,
|
|
@@ -532,8 +539,9 @@ import {
|
|
|
532
539
|
parseMiddlewareCookieHeader,
|
|
533
540
|
serializeMiddlewareCookie,
|
|
534
541
|
serializeMiddlewareCookieDeletion
|
|
535
|
-
} from "./chunk-
|
|
536
|
-
import "./chunk-
|
|
542
|
+
} from "./chunk-SKVTP5PR.mjs";
|
|
543
|
+
import "./chunk-HZFM2LWQ.mjs";
|
|
544
|
+
import "./chunk-SGBZPZUW.mjs";
|
|
537
545
|
import "./chunk-R3DS7A2T.mjs";
|
|
538
546
|
import {
|
|
539
547
|
_runWithAfterNodeResponse,
|
|
@@ -544,8 +552,8 @@ import {
|
|
|
544
552
|
import {
|
|
545
553
|
APIRouteConflictError,
|
|
546
554
|
APIRouteManager
|
|
547
|
-
} from "./chunk-
|
|
548
|
-
import "./chunk-
|
|
555
|
+
} from "./chunk-WLL43JMO.mjs";
|
|
556
|
+
import "./chunk-MYIZXDZA.mjs";
|
|
549
557
|
import "./chunk-CU625VAY.mjs";
|
|
550
558
|
import "./chunk-NPC7VWJE.mjs";
|
|
551
559
|
import "./chunk-QCFBDFRS.mjs";
|
|
@@ -557,7 +565,7 @@ import {
|
|
|
557
565
|
isWebResponse,
|
|
558
566
|
normalizeRouteResponse,
|
|
559
567
|
resolveAPIRouteEndpoint
|
|
560
|
-
} from "./chunk-
|
|
568
|
+
} from "./chunk-6HB6V3R7.mjs";
|
|
561
569
|
import {
|
|
562
570
|
DELETE,
|
|
563
571
|
EndpointFailure,
|
|
@@ -651,7 +659,7 @@ import "./chunk-Z2RZJZIZ.mjs";
|
|
|
651
659
|
import {
|
|
652
660
|
resolveFarmAPIServerBasePath
|
|
653
661
|
} from "./chunk-BTHHUD7Q.mjs";
|
|
654
|
-
import "./chunk-
|
|
662
|
+
import "./chunk-LI2F57NI.mjs";
|
|
655
663
|
import "./chunk-54UPOYFS.mjs";
|
|
656
664
|
import "./chunk-WNSDDRNU.mjs";
|
|
657
665
|
import {
|
|
@@ -730,13 +738,13 @@ import {
|
|
|
730
738
|
createHeadersPlugin,
|
|
731
739
|
createLoggerPlugin,
|
|
732
740
|
createRedirectsPlugin
|
|
733
|
-
} from "./chunk-
|
|
741
|
+
} from "./chunk-CNNOLE4O.mjs";
|
|
734
742
|
import {
|
|
735
743
|
createCompressionPlugin
|
|
736
744
|
} from "./chunk-XJJVLDM6.mjs";
|
|
737
745
|
import {
|
|
738
746
|
createRewritesPlugin
|
|
739
|
-
} from "./chunk-
|
|
747
|
+
} from "./chunk-INL3THCU.mjs";
|
|
740
748
|
import "./chunk-BRYHOB4X.mjs";
|
|
741
749
|
import "./chunk-SAXPH6G5.mjs";
|
|
742
750
|
import "./chunk-Z3HATSKO.mjs";
|
|
@@ -750,11 +758,12 @@ import {
|
|
|
750
758
|
} from "./chunk-CBBLJMR5.mjs";
|
|
751
759
|
import {
|
|
752
760
|
getCurrentRequest
|
|
753
|
-
} from "./chunk-
|
|
761
|
+
} from "./chunk-POSPE3IO.mjs";
|
|
754
762
|
import {
|
|
755
|
-
canonicalizeRequestPathSegments
|
|
763
|
+
canonicalizeRequestPathSegments,
|
|
764
|
+
canonicalizeRequestPathname
|
|
756
765
|
} from "./chunk-CQ6OSQ3K.mjs";
|
|
757
|
-
import "./chunk-
|
|
766
|
+
import "./chunk-QRKIMN7T.mjs";
|
|
758
767
|
import "./chunk-L3KT7IXV.mjs";
|
|
759
768
|
import "./chunk-4RB44K6Z.mjs";
|
|
760
769
|
import "./chunk-55YI3RRB.mjs";
|
|
@@ -1023,7 +1032,9 @@ export {
|
|
|
1023
1032
|
FARM_INTEGRATION_API_BASE_PATH_KEY,
|
|
1024
1033
|
FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY,
|
|
1025
1034
|
FARM_INTEGRATION_SET_COOKIES_KEY,
|
|
1035
|
+
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
1026
1036
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
1037
|
+
FARM_MARKDOWN_PAGE_CHECK_HEADER,
|
|
1027
1038
|
FARM_SCHEMA_STATE_TABLE,
|
|
1028
1039
|
FARM_SCHEMA_STEPS_TABLE,
|
|
1029
1040
|
FARM_SCHEMA_TABLES,
|
|
@@ -1061,7 +1072,9 @@ export {
|
|
|
1061
1072
|
UnsupportedRateLimitStorageError,
|
|
1062
1073
|
_attachServerFunctionDescriptor,
|
|
1063
1074
|
_describeServerFunction,
|
|
1075
|
+
_getFarmMarkdownPageCheckToken,
|
|
1064
1076
|
_invokeServerFunction,
|
|
1077
|
+
_isFarmMarkdownPageCheck,
|
|
1065
1078
|
_parseServerFnSchema,
|
|
1066
1079
|
_runServerFunctionForCaller,
|
|
1067
1080
|
_runWithAfterNodeResponse,
|
|
@@ -1093,6 +1106,7 @@ export {
|
|
|
1093
1106
|
build,
|
|
1094
1107
|
buildFarmRoutePath,
|
|
1095
1108
|
canonicalizeRequestPathSegments,
|
|
1109
|
+
canonicalizeRequestPathname,
|
|
1096
1110
|
checkSchema,
|
|
1097
1111
|
classifyFarmAgent,
|
|
1098
1112
|
clearPersistedCache,
|
|
@@ -1240,6 +1254,7 @@ export {
|
|
|
1240
1254
|
generateSqlStatements,
|
|
1241
1255
|
getAPIRouteRefMetadata,
|
|
1242
1256
|
getAllowedAPIRouteMethods,
|
|
1257
|
+
getCspNonce,
|
|
1243
1258
|
getCurrentRequest,
|
|
1244
1259
|
getDeployTargetForPreset,
|
|
1245
1260
|
getEnv,
|
|
@@ -1301,6 +1316,7 @@ export {
|
|
|
1301
1316
|
initStorage,
|
|
1302
1317
|
installChunkErrorRecovery,
|
|
1303
1318
|
integrationClients,
|
|
1319
|
+
integrationMiddlewareMayHandlePath,
|
|
1304
1320
|
integrationRoute,
|
|
1305
1321
|
integrationsClient,
|
|
1306
1322
|
integrationsServer,
|
package/dist/integrations.cjs
CHANGED
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
var _chunkVU6AAZVYcjs = require('./chunk-VU6AAZVY.cjs');
|
|
27
28
|
require('./chunk-G643DQCH.cjs');
|
|
28
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-4GWRFP22.cjs');
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
@@ -78,4 +79,5 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
78
79
|
|
|
79
80
|
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
|
|
83
|
+
exports.FARM_INTEGRATION_API_BASE_PATH_KEY = _chunkVU6AAZVYcjs.FARM_INTEGRATION_API_BASE_PATH_KEY; exports.FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY = _chunkVU6AAZVYcjs.FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY; exports.FARM_INTEGRATION_SET_COOKIES_KEY = _chunkVU6AAZVYcjs.FARM_INTEGRATION_SET_COOKIES_KEY; exports.api = _chunkNZKJGRB3cjs.api; exports.createIntegrationRoute = _chunkVU6AAZVYcjs.createIntegrationRoute; exports.defineIntegration = _chunkVU6AAZVYcjs.defineIntegration; exports.defineIntegrationAPI = _chunkNZKJGRB3cjs.defineIntegrationAPI; exports.defineIntegrationAPIOperation = _chunkNZKJGRB3cjs.defineIntegrationAPIOperation; exports.defineIntegrationSchema = _chunkVU6AAZVYcjs.defineIntegrationSchema; exports.describeIntegrationOriginRejection = _chunkLSKZMJMPcjs.describeIntegrationOriginRejection; exports.dispatchIntegrationRequest = _chunkVU6AAZVYcjs.dispatchIntegrationRequest; exports.dispatchIntegrationRequests = _chunkVU6AAZVYcjs.dispatchIntegrationRequests; exports.forwardIntegrationSetCookies = _chunkVU6AAZVYcjs.forwardIntegrationSetCookies; exports.getFarmIntegrationPluginOwner = _chunkVU6AAZVYcjs.getFarmIntegrationPluginOwner; exports.getFarmIntegrationPluginServerRuntime = _chunkVU6AAZVYcjs.getFarmIntegrationPluginServerRuntime; exports.getIntegrationDocumentNavigationMatchers = _chunkVU6AAZVYcjs.getIntegrationDocumentNavigationMatchers; exports.getIntegrationProviders = _chunkVU6AAZVYcjs.getIntegrationProviders; exports.getIntegrationSchemas = _chunkVU6AAZVYcjs.getIntegrationSchemas; exports.getRegisteredIntegrationAPIManifest = _chunkVU6AAZVYcjs.getRegisteredIntegrationAPIManifest; exports.getRegisteredIntegrationRuntime = _chunkVU6AAZVYcjs.getRegisteredIntegrationRuntime; exports.getRegisteredIntegrationSchemas = _chunkVU6AAZVYcjs.getRegisteredIntegrationSchemas; exports.getRegisteredIntegrations = _chunkVU6AAZVYcjs.getRegisteredIntegrations; exports.integrationMiddlewareMayHandlePath = _chunkVU6AAZVYcjs.integrationMiddlewareMayHandlePath; exports.integrationRoute = _chunkVU6AAZVYcjs.integrationRoute; exports.isFarmIntegration = _chunkVU6AAZVYcjs.isFarmIntegration; exports.isFarmIntegrationProviderComponentReference = _chunkVU6AAZVYcjs.isFarmIntegrationProviderComponentReference; exports.matchIntegrationRoute = _chunkVU6AAZVYcjs.matchIntegrationRoute; exports.matchRegisteredIntegrationRoute = _chunkVU6AAZVYcjs.matchRegisteredIntegrationRoute; exports.resolveIntegrationAllowedOrigins = _chunkLSKZMJMPcjs.resolveIntegrationAllowedOrigins; exports.resolveIntegrationPlugins = _chunkVU6AAZVYcjs.resolveIntegrationPlugins; exports.validateIntegrationRequestOrigin = _chunkLSKZMJMPcjs.validateIntegrationRequestOrigin;
|
package/dist/integrations.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FarmSchema, FarmSchemaConstraint, FarmSchemaField, FarmSchemaFieldType, FarmSchemaModel, FarmSchemaModelExtension, FarmSchemaModelOverride, FarmSchemaReference } from './schema.mjs';
|
|
2
|
-
export { d_ as DefinedIntegration,
|
|
2
|
+
export { d_ as DefinedIntegration, ef as FARM_INTEGRATION_API_BASE_PATH_KEY, da as FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY, db as FARM_INTEGRATION_SET_COOKIES_KEY, H as FarmIntegration, cX as FarmIntegrationCategory, dg as FarmIntegrationConfigContext, dh as FarmIntegrationConfigDefinition, di as FarmIntegrationConfigInput, dN as FarmIntegrationContributedPlugin, dn as FarmIntegrationData, dz as FarmIntegrationDocumentNavigation, dU as FarmIntegrationEndpointValue, dV as FarmIntegrationEndpoints, dX as FarmIntegrationEndpointsFactory, dW as FarmIntegrationEndpointsFactoryContext, dp as FarmIntegrationHandlerContext, d7 as FarmIntegrationInputSchema, dl as FarmIntegrationLifecycleContext, dm as FarmIntegrationLifecycleHook, dj as FarmIntegrationLifecycleLogLevel, dk as FarmIntegrationLifecycleLogger, dK as FarmIntegrationLogEvent, dJ as FarmIntegrationLogPhase, dL as FarmIntegrationLogger, dv as FarmIntegrationMiddleware, dM as FarmIntegrationPluginOwner, dy as FarmIntegrationProvider, dx as FarmIntegrationProviderComponentReference, dw as FarmIntegrationProviderProps, d9 as FarmIntegrationRequestContextStore, ds as FarmIntegrationRoute, df as FarmIntegrationRouteArgs, dd as FarmIntegrationRouteDb, dR as FarmIntegrationRouteFactory, dr as FarmIntegrationRouteHook, dq as FarmIntegrationRouteHookContext, d2 as FarmIntegrationRouteInput, d8 as FarmIntegrationRouteInputSchemas, d0 as FarmIntegrationRouteInputSource, c$ as FarmIntegrationRouteMethod, du as FarmIntegrationRouteMiddleware, cZ as FarmIntegrationRouteParamValue, c_ as FarmIntegrationRouteParams, de as FarmIntegrationRouteStorageArgs, dT as FarmIntegrationRoutesFactory, dS as FarmIntegrationRoutesFactoryContext, dH as FarmIntegrationSchema, dD as FarmIntegrationSchemaConstraint, dC as FarmIntegrationSchemaField, dA as FarmIntegrationSchemaFieldType, dE as FarmIntegrationSchemaModel, dF as FarmIntegrationSchemaModelExtension, dG as FarmIntegrationSchemaModelOverride, dB as FarmIntegrationSchemaReference, cY as FarmIntegrationSlot, d6 as FarmIntegrationStandardValidationResult, d4 as FarmIntegrationValidationErrorLike, d3 as FarmIntegrationValidationIssue, d1 as FarmIntegrationValidationPathSegment, d5 as FarmIntegrationValidationResult, dO as FarmIntegrationsUserConfig, dt as FarmTypedIntegrationRoute, ej as IntegrationOriginPolicy, ek as IntegrationOriginRejection, el as IntegrationOriginResult, dY as createIntegrationRoute, d$ as defineIntegration, dI as defineIntegrationSchema, eg as describeIntegrationOriginRejection, ec as dispatchIntegrationRequest, ed as dispatchIntegrationRequests, dc as forwardIntegrationSetCookies, dQ as getFarmIntegrationPluginOwner, dP as getFarmIntegrationPluginServerRuntime, e4 as getIntegrationDocumentNavigationMatchers, e2 as getIntegrationProviders, e5 as getIntegrationSchemas, eb as getRegisteredIntegrationAPIManifest, e6 as getRegisteredIntegrationRuntime, e8 as getRegisteredIntegrationSchemas, e7 as getRegisteredIntegrations, ee as integrationMiddlewareMayHandlePath, dZ as integrationRoute, e0 as isFarmIntegration, e3 as isFarmIntegrationProviderComponentReference, e9 as matchIntegrationRoute, ea as matchRegisteredIntegrationRoute, eh as resolveIntegrationAllowedOrigins, e1 as resolveIntegrationPlugins, ei as validateIntegrationRequestOrigin } from './client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
export { F as FarmIntegrationAPI, c as FarmIntegrationAPIBodyFormat, e as FarmIntegrationAPIMethod, f as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, a as api, d as defineIntegrationAPI, b as defineIntegrationAPIOperation } from './integration-api-0y4FXJpC.mjs';
|
|
5
5
|
import './lifecycle-DK06VuKP.mjs';
|
package/dist/integrations.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FarmSchema, FarmSchemaConstraint, FarmSchemaField, FarmSchemaFieldType, FarmSchemaModel, FarmSchemaModelExtension, FarmSchemaModelOverride, FarmSchemaReference } from './schema.js';
|
|
2
|
-
export { d_ as DefinedIntegration,
|
|
2
|
+
export { d_ as DefinedIntegration, ef as FARM_INTEGRATION_API_BASE_PATH_KEY, da as FARM_INTEGRATION_INTERNAL_DISPATCH_CONTEXT_KEY, db as FARM_INTEGRATION_SET_COOKIES_KEY, H as FarmIntegration, cX as FarmIntegrationCategory, dg as FarmIntegrationConfigContext, dh as FarmIntegrationConfigDefinition, di as FarmIntegrationConfigInput, dN as FarmIntegrationContributedPlugin, dn as FarmIntegrationData, dz as FarmIntegrationDocumentNavigation, dU as FarmIntegrationEndpointValue, dV as FarmIntegrationEndpoints, dX as FarmIntegrationEndpointsFactory, dW as FarmIntegrationEndpointsFactoryContext, dp as FarmIntegrationHandlerContext, d7 as FarmIntegrationInputSchema, dl as FarmIntegrationLifecycleContext, dm as FarmIntegrationLifecycleHook, dj as FarmIntegrationLifecycleLogLevel, dk as FarmIntegrationLifecycleLogger, dK as FarmIntegrationLogEvent, dJ as FarmIntegrationLogPhase, dL as FarmIntegrationLogger, dv as FarmIntegrationMiddleware, dM as FarmIntegrationPluginOwner, dy as FarmIntegrationProvider, dx as FarmIntegrationProviderComponentReference, dw as FarmIntegrationProviderProps, d9 as FarmIntegrationRequestContextStore, ds as FarmIntegrationRoute, df as FarmIntegrationRouteArgs, dd as FarmIntegrationRouteDb, dR as FarmIntegrationRouteFactory, dr as FarmIntegrationRouteHook, dq as FarmIntegrationRouteHookContext, d2 as FarmIntegrationRouteInput, d8 as FarmIntegrationRouteInputSchemas, d0 as FarmIntegrationRouteInputSource, c$ as FarmIntegrationRouteMethod, du as FarmIntegrationRouteMiddleware, cZ as FarmIntegrationRouteParamValue, c_ as FarmIntegrationRouteParams, de as FarmIntegrationRouteStorageArgs, dT as FarmIntegrationRoutesFactory, dS as FarmIntegrationRoutesFactoryContext, dH as FarmIntegrationSchema, dD as FarmIntegrationSchemaConstraint, dC as FarmIntegrationSchemaField, dA as FarmIntegrationSchemaFieldType, dE as FarmIntegrationSchemaModel, dF as FarmIntegrationSchemaModelExtension, dG as FarmIntegrationSchemaModelOverride, dB as FarmIntegrationSchemaReference, cY as FarmIntegrationSlot, d6 as FarmIntegrationStandardValidationResult, d4 as FarmIntegrationValidationErrorLike, d3 as FarmIntegrationValidationIssue, d1 as FarmIntegrationValidationPathSegment, d5 as FarmIntegrationValidationResult, dO as FarmIntegrationsUserConfig, dt as FarmTypedIntegrationRoute, ej as IntegrationOriginPolicy, ek as IntegrationOriginRejection, el as IntegrationOriginResult, dY as createIntegrationRoute, d$ as defineIntegration, dI as defineIntegrationSchema, eg as describeIntegrationOriginRejection, ec as dispatchIntegrationRequest, ed as dispatchIntegrationRequests, dc as forwardIntegrationSetCookies, dQ as getFarmIntegrationPluginOwner, dP as getFarmIntegrationPluginServerRuntime, e4 as getIntegrationDocumentNavigationMatchers, e2 as getIntegrationProviders, e5 as getIntegrationSchemas, eb as getRegisteredIntegrationAPIManifest, e6 as getRegisteredIntegrationRuntime, e8 as getRegisteredIntegrationSchemas, e7 as getRegisteredIntegrations, ee as integrationMiddlewareMayHandlePath, dZ as integrationRoute, e0 as isFarmIntegration, e3 as isFarmIntegrationProviderComponentReference, e9 as matchIntegrationRoute, ea as matchRegisteredIntegrationRoute, eh as resolveIntegrationAllowedOrigins, e1 as resolveIntegrationPlugins, ei as validateIntegrationRequestOrigin } from './client-plugins-BvlNhGEB.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
export { F as FarmIntegrationAPI, c as FarmIntegrationAPIBodyFormat, e as FarmIntegrationAPIMethod, f as FarmIntegrationAPIOperation, g as FarmIntegrationAPIResponseFormat, a as api, d as defineIntegrationAPI, b as defineIntegrationAPIOperation } from './integration-api-BPJo5oXb.js';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|
package/dist/integrations.mjs
CHANGED
|
@@ -17,15 +17,16 @@ import {
|
|
|
17
17
|
getRegisteredIntegrationRuntime,
|
|
18
18
|
getRegisteredIntegrationSchemas,
|
|
19
19
|
getRegisteredIntegrations,
|
|
20
|
+
integrationMiddlewareMayHandlePath,
|
|
20
21
|
integrationRoute,
|
|
21
22
|
isFarmIntegration,
|
|
22
23
|
isFarmIntegrationProviderComponentReference,
|
|
23
24
|
matchIntegrationRoute,
|
|
24
25
|
matchRegisteredIntegrationRoute,
|
|
25
26
|
resolveIntegrationPlugins
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IBUQWVYA.mjs";
|
|
27
28
|
import "./chunk-44SYJEG3.mjs";
|
|
28
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-HZFM2LWQ.mjs";
|
|
29
30
|
import {
|
|
30
31
|
describeIntegrationOriginRejection,
|
|
31
32
|
resolveIntegrationAllowedOrigins,
|
|
@@ -70,6 +71,7 @@ export {
|
|
|
70
71
|
getRegisteredIntegrationRuntime,
|
|
71
72
|
getRegisteredIntegrationSchemas,
|
|
72
73
|
getRegisteredIntegrations,
|
|
74
|
+
integrationMiddlewareMayHandlePath,
|
|
73
75
|
integrationRoute,
|
|
74
76
|
isFarmIntegration,
|
|
75
77
|
isFarmIntegrationProviderComponentReference,
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var _chunk42NHY7HWcjs = require('../chunk-42NHY7HW.cjs');
|
|
11
10
|
|
|
11
|
+
var _chunkEKN7NSZOcjs = require('../chunk-EKN7NSZO.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
var _chunkSGBJ247Qcjs = require('../chunk-SGBJ247Q.cjs');
|
|
16
17
|
require('../chunk-J63ZH5OQ.cjs');
|
|
17
18
|
require('../chunk-75RZHGLS.cjs');
|
|
18
19
|
require('../chunk-E3UK5IIB.cjs');
|
|
@@ -35,4 +36,5 @@ require('../chunk-S3JO3N4H.cjs');
|
|
|
35
36
|
|
|
36
37
|
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
|
|
40
|
+
exports.FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS = _chunkEKN7NSZOcjs.FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS; exports.FARM_MARKDOWN_CONTENT_TYPE = _chunkSGBJ247Qcjs.FARM_MARKDOWN_CONTENT_TYPE; exports.createFarmMarkdownErrorBody = _chunkSGBJ247Qcjs.createFarmMarkdownErrorBody; exports.createFarmMarkdownRouteModule = _chunkEKN7NSZOcjs.createFarmMarkdownRouteModule; exports.createFarmMarkdownSourceResponse = _chunkEKN7NSZOcjs.createFarmMarkdownSourceResponse; exports.createMarkdownMetadata = _chunkEKN7NSZOcjs.createMarkdownMetadata; exports.farmRequestWantsMarkdown = _chunkSGBJ247Qcjs.farmRequestWantsMarkdown; exports.isFarmMarkdownPageFile = _chunkEKN7NSZOcjs.isFarmMarkdownPageFile; exports.isFarmMarkdownPublicSourceResponse = _chunkEKN7NSZOcjs.isFarmMarkdownPublicSourceResponse; exports.normalizeFarmMarkdownRoutePath = _chunkEKN7NSZOcjs.normalizeFarmMarkdownRoutePath; exports.parseMarkdownFrontmatter = _chunkEKN7NSZOcjs.parseMarkdownFrontmatter; exports.titleFromMarkdown = _chunkEKN7NSZOcjs.titleFromMarkdown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as FarmMdxComponents, u as FarmMdxResolvedConfig, M as Metadata, s as RouteModule } from '../client-plugins-
|
|
2
|
-
export { z as FARM_MARKDOWN_CONTENT_TYPE, A as createFarmMarkdownErrorBody, B as farmRequestWantsMarkdown } from '../client-plugins-
|
|
1
|
+
import { t as FarmMdxComponents, u as FarmMdxResolvedConfig, M as Metadata, s as RouteModule } from '../client-plugins-DUrIYX9B.mjs';
|
|
2
|
+
export { z as FARM_MARKDOWN_CONTENT_TYPE, A as createFarmMarkdownErrorBody, B as farmRequestWantsMarkdown } from '../client-plugins-DUrIYX9B.mjs';
|
|
3
3
|
import '../lifecycle-DK06VuKP.mjs';
|
|
4
4
|
import '../integration-api-0y4FXJpC.mjs';
|
|
5
5
|
import '../endpoint-CCHFqyTE.mjs';
|
|
@@ -60,15 +60,29 @@ declare function createFarmMarkdownRouteModule(input: FarmMarkdownPageModuleInpu
|
|
|
60
60
|
* not be added to it.
|
|
61
61
|
*/
|
|
62
62
|
declare function isFarmMarkdownPublicSourceResponse(response: Response): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Internal: the client address an adapter reports for the anonymous page check, in place of the
|
|
65
|
+
* caller's. It is a documentation address (RFC 5737), so no IP allowlist admits it.
|
|
66
|
+
*/
|
|
67
|
+
declare const FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS = "192.0.2.1";
|
|
63
68
|
declare function createFarmMarkdownSourceResponse(options: {
|
|
64
69
|
request: Request;
|
|
65
70
|
config?: FarmMdxResolvedConfig;
|
|
66
71
|
resolveSource: (pathname: string) => Promise<FarmMarkdownPageSource | null> | FarmMarkdownPageSource | null;
|
|
67
72
|
/**
|
|
68
|
-
* Runs a request through the app's full pipeline, guards
|
|
69
|
-
*
|
|
73
|
+
* Runs a request through the app's full pipeline, guards and page rendering
|
|
74
|
+
* included, without following redirects. With it, a page's source is only
|
|
75
|
+
* served when an anonymous visitor's request for the page's HTML succeeds.
|
|
76
|
+
* The request is that visitor's, so its client address must not be the caller's
|
|
77
|
+
* (see FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS).
|
|
70
78
|
*/
|
|
71
79
|
renderPage?: (request: Request) => Response | Promise<Response>;
|
|
80
|
+
/**
|
|
81
|
+
* The caller's client address as the server adapter reports it. A known address
|
|
82
|
+
* other than the anonymous one is part of the caller's identity, so the page is
|
|
83
|
+
* checked as an anonymous visitor even for a request with only standard headers.
|
|
84
|
+
*/
|
|
85
|
+
clientAddress?: string;
|
|
72
86
|
}): Promise<Response | null>;
|
|
73
87
|
|
|
74
|
-
export { type FarmMarkdownPageModuleInput, type FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown };
|
|
88
|
+
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, type FarmMarkdownPageModuleInput, type FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as FarmMdxComponents, u as FarmMdxResolvedConfig, M as Metadata, s as RouteModule } from '../client-plugins-
|
|
2
|
-
export { z as FARM_MARKDOWN_CONTENT_TYPE, A as createFarmMarkdownErrorBody, B as farmRequestWantsMarkdown } from '../client-plugins-
|
|
1
|
+
import { t as FarmMdxComponents, u as FarmMdxResolvedConfig, M as Metadata, s as RouteModule } from '../client-plugins-BvlNhGEB.js';
|
|
2
|
+
export { z as FARM_MARKDOWN_CONTENT_TYPE, A as createFarmMarkdownErrorBody, B as farmRequestWantsMarkdown } from '../client-plugins-BvlNhGEB.js';
|
|
3
3
|
import '../lifecycle-DK06VuKP.js';
|
|
4
4
|
import '../integration-api-BPJo5oXb.js';
|
|
5
5
|
import '../endpoint-CA-TNX60.js';
|
|
@@ -60,15 +60,29 @@ declare function createFarmMarkdownRouteModule(input: FarmMarkdownPageModuleInpu
|
|
|
60
60
|
* not be added to it.
|
|
61
61
|
*/
|
|
62
62
|
declare function isFarmMarkdownPublicSourceResponse(response: Response): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Internal: the client address an adapter reports for the anonymous page check, in place of the
|
|
65
|
+
* caller's. It is a documentation address (RFC 5737), so no IP allowlist admits it.
|
|
66
|
+
*/
|
|
67
|
+
declare const FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS = "192.0.2.1";
|
|
63
68
|
declare function createFarmMarkdownSourceResponse(options: {
|
|
64
69
|
request: Request;
|
|
65
70
|
config?: FarmMdxResolvedConfig;
|
|
66
71
|
resolveSource: (pathname: string) => Promise<FarmMarkdownPageSource | null> | FarmMarkdownPageSource | null;
|
|
67
72
|
/**
|
|
68
|
-
* Runs a request through the app's full pipeline, guards
|
|
69
|
-
*
|
|
73
|
+
* Runs a request through the app's full pipeline, guards and page rendering
|
|
74
|
+
* included, without following redirects. With it, a page's source is only
|
|
75
|
+
* served when an anonymous visitor's request for the page's HTML succeeds.
|
|
76
|
+
* The request is that visitor's, so its client address must not be the caller's
|
|
77
|
+
* (see FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS).
|
|
70
78
|
*/
|
|
71
79
|
renderPage?: (request: Request) => Response | Promise<Response>;
|
|
80
|
+
/**
|
|
81
|
+
* The caller's client address as the server adapter reports it. A known address
|
|
82
|
+
* other than the anonymous one is part of the caller's identity, so the page is
|
|
83
|
+
* checked as an anonymous visitor even for a request with only standard headers.
|
|
84
|
+
*/
|
|
85
|
+
clientAddress?: string;
|
|
72
86
|
}): Promise<Response | null>;
|
|
73
87
|
|
|
74
|
-
export { type FarmMarkdownPageModuleInput, type FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown };
|
|
88
|
+
export { FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS, type FarmMarkdownPageModuleInput, type FarmMarkdownPageSource, createFarmMarkdownRouteModule, createFarmMarkdownSourceResponse, createMarkdownMetadata, isFarmMarkdownPageFile, isFarmMarkdownPublicSourceResponse, normalizeFarmMarkdownRoutePath, parseMarkdownFrontmatter, titleFromMarkdown };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
2
3
|
createFarmMarkdownRouteModule,
|
|
3
4
|
createFarmMarkdownSourceResponse,
|
|
4
5
|
createMarkdownMetadata,
|
|
@@ -7,12 +8,12 @@ import {
|
|
|
7
8
|
normalizeFarmMarkdownRoutePath,
|
|
8
9
|
parseMarkdownFrontmatter,
|
|
9
10
|
titleFromMarkdown
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-QFW2IH5E.mjs";
|
|
11
12
|
import {
|
|
12
13
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
13
14
|
createFarmMarkdownErrorBody,
|
|
14
15
|
farmRequestWantsMarkdown
|
|
15
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-VNGH5MLF.mjs";
|
|
16
17
|
import "../chunk-MVL2RAJW.mjs";
|
|
17
18
|
import "../chunk-ZLAT2CWY.mjs";
|
|
18
19
|
import "../chunk-FUZEBRP3.mjs";
|
|
@@ -24,6 +25,7 @@ import "../chunk-4RB44K6Z.mjs";
|
|
|
24
25
|
import "../chunk-55YI3RRB.mjs";
|
|
25
26
|
import "../chunk-LPEX4YW6.mjs";
|
|
26
27
|
export {
|
|
28
|
+
FARM_MARKDOWN_ANONYMOUS_CLIENT_ADDRESS,
|
|
27
29
|
FARM_MARKDOWN_CONTENT_TYPE,
|
|
28
30
|
createFarmMarkdownErrorBody,
|
|
29
31
|
createFarmMarkdownRouteModule,
|