@farm.js/core 0.1.25 → 0.1.27
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-runtime.d.mts +8 -10
- package/dist/agent-runtime.d.ts +8 -10
- package/dist/api/client.cjs +3 -3
- package/dist/api/client.d.mts +4 -5
- package/dist/api/client.d.ts +4 -5
- package/dist/api/client.mjs +2 -2
- package/dist/api/route-manager.cjs +6 -5
- package/dist/api/route-manager.d.mts +7 -9
- package/dist/api/route-manager.d.ts +7 -9
- package/dist/api/route-manager.mjs +5 -4
- package/dist/api/runtime.cjs +10 -4
- package/dist/api/runtime.d.mts +35 -3
- package/dist/api/runtime.d.ts +35 -3
- package/dist/api/runtime.mjs +9 -3
- package/dist/{api-client-Cx54IR5g.d.mts → api-client-BjMmY8OD.d.mts} +2 -3
- package/dist/{api-client-DykpaKcY.d.ts → api-client-CyFtZFJ4.d.ts} +2 -3
- package/dist/api.cjs +9 -8
- package/dist/api.d.mts +9 -11
- package/dist/api.d.ts +9 -11
- package/dist/api.mjs +9 -8
- package/dist/{app-ZuWrAMc_.d.mts → app-BfzZdjgX.d.mts} +3 -4
- package/dist/{app-BF-ctoxh.d.ts → app-CXK7Prrt.d.ts} +3 -4
- package/dist/app-markdown.cjs +12 -4
- package/dist/app-markdown.d.mts +9 -11
- package/dist/app-markdown.d.ts +9 -11
- package/dist/app-markdown.mjs +11 -3
- package/dist/{chunk-2BIJGZR3.mjs → chunk-3PTVHMLD.mjs} +1 -1
- package/dist/{chunk-XME4TCLB.mjs → chunk-4FHDV7VM.mjs} +2 -2
- package/dist/{chunk-KLSSO6YD.mjs → chunk-4UNKCNSL.mjs} +1 -1
- package/dist/chunk-5MKEDGLD.cjs +53 -0
- package/dist/{chunk-E3RDL2DA.cjs → chunk-DQMTHWPI.cjs} +61 -31
- package/dist/{chunk-TTVHACQV.cjs → chunk-FOT7LZEO.cjs} +1 -1
- package/dist/{chunk-2KI3CL3N.mjs → chunk-FPW4W3VW.mjs} +1 -1
- package/dist/{chunk-6K4SPQWL.cjs → chunk-HF5SIACK.cjs} +3 -3
- package/dist/{chunk-T2OPSH6S.mjs → chunk-HG237IEY.mjs} +12 -5
- package/dist/chunk-J63ZH5OQ.cjs +62 -0
- package/dist/{chunk-BD2U4ZL6.cjs → chunk-JQGDQO2I.cjs} +8 -8
- package/dist/{chunk-RR6UGYUT.mjs → chunk-JT25KHDI.mjs} +39 -9
- package/dist/{chunk-O5DVPF3R.cjs → chunk-KAERLFD3.cjs} +16 -11
- package/dist/{chunk-H7CJRJ4L.cjs → chunk-LAHZ7LZA.cjs} +16 -16
- package/dist/{chunk-XM4ZDVD7.mjs → chunk-MBFURXAC.mjs} +1 -1
- package/dist/{chunk-6VEHUKZ2.mjs → chunk-MM5D6VLP.mjs} +4 -20
- package/dist/chunk-MVL2RAJW.mjs +62 -0
- package/dist/{chunk-YA6LLTIJ.cjs → chunk-ND224OE2.cjs} +4 -20
- package/dist/{chunk-RYDW7GPR.cjs → chunk-NPFGGBM5.cjs} +13 -13
- package/dist/{chunk-VZWO3XVL.mjs → chunk-O2LV5XDG.mjs} +2 -2
- package/dist/chunk-O6XNAMBV.mjs +53 -0
- package/dist/{chunk-N2Z4ZFDE.mjs → chunk-OGHTEYXS.mjs} +22 -14
- package/dist/{chunk-U4MP7XTD.mjs → chunk-POXI72VV.mjs} +180 -16
- package/dist/{chunk-QGG336NI.mjs → chunk-Q4BHBO6V.mjs} +1 -1
- package/dist/{chunk-AXYTGLF3.cjs → chunk-QI7WQSMI.cjs} +4 -4
- package/dist/{chunk-WOI2HOGA.mjs → chunk-QQQNJS2E.mjs} +1 -1
- package/dist/{chunk-CFNOGDUS.cjs → chunk-TDWFCC2T.cjs} +2 -2
- package/dist/{chunk-R7LCG3BT.cjs → chunk-UNSKL6BI.cjs} +89 -81
- package/dist/{chunk-WJYCI56T.mjs → chunk-UWTQTZFN.mjs} +52 -33
- package/dist/{chunk-5YYJ6Q2L.mjs → chunk-WIVTGKLY.mjs} +7 -2
- package/dist/{chunk-65P6OGYN.cjs → chunk-WJKVTJJR.cjs} +12 -5
- package/dist/{chunk-OAVTUMJP.cjs → chunk-YXM74XOW.cjs} +9 -9
- package/dist/{chunk-QYMRIVG6.cjs → chunk-YZBV7733.cjs} +120 -101
- package/dist/{chunk-2ITKVAIF.cjs → chunk-ZSO5GWGD.cjs} +203 -39
- package/dist/{client-plugins-DPG0NeZN.d.mts → client-plugins-1GS4zubE.d.mts} +1940 -1677
- package/dist/{client-plugins-Fgni-_25.d.ts → client-plugins-B1Za6F5x.d.ts} +1940 -1677
- package/dist/client-plugins.d.mts +8 -10
- package/dist/client-plugins.d.ts +8 -10
- package/dist/client.cjs +4 -4
- package/dist/client.d.mts +10 -12
- package/dist/client.d.ts +10 -12
- package/dist/client.mjs +3 -3
- package/dist/config.d.mts +8 -10
- package/dist/config.d.ts +8 -10
- package/dist/{devtools-I7TBFOKD.mjs → devtools-6RN6KHTW.mjs} +8 -3
- package/dist/{devtools-6OA7FEF6.cjs → devtools-CQJ3H6MX.cjs} +9 -4
- package/dist/docs.cjs +11 -6
- package/dist/docs.mjs +10 -5
- package/dist/{endpoint-1zA994xL.d.ts → endpoint-CA-TNX60.d.ts} +1 -1
- package/dist/{endpoint-DAc96i93.d.mts → endpoint-CCHFqyTE.d.mts} +1 -1
- package/dist/index.cjs +26 -21
- package/dist/index.d.mts +16 -18
- package/dist/index.d.ts +16 -18
- package/dist/index.mjs +26 -21
- package/dist/{integration-api-BbaiokCC.d.ts → integration-api-0y4FXJpC.d.mts} +128 -1
- package/dist/{integration-api-BbaiokCC.d.mts → integration-api-BPJo5oXb.d.ts} +128 -1
- package/dist/integrations.d.mts +8 -10
- package/dist/integrations.d.ts +8 -10
- package/dist/internal/app-markdown-runtime.cjs +11 -3
- package/dist/internal/app-markdown-runtime.d.mts +9 -10
- package/dist/internal/app-markdown-runtime.d.ts +9 -10
- package/dist/internal/app-markdown-runtime.mjs +10 -2
- package/dist/internal/build-runtime.cjs +19 -17
- package/dist/internal/build-runtime.d.mts +10 -12
- package/dist/internal/build-runtime.d.ts +10 -12
- package/dist/internal/build-runtime.mjs +18 -16
- package/dist/internal/cli-runtime.cjs +9 -5
- package/dist/internal/cli-runtime.mjs +8 -4
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/compression-runtime.d.mts +8 -10
- package/dist/internal/compression-runtime.d.ts +8 -10
- package/dist/internal/config-runtime.cjs +9 -4
- package/dist/internal/config-runtime.d.mts +9 -11
- package/dist/internal/config-runtime.d.ts +9 -11
- package/dist/internal/config-runtime.mjs +8 -3
- package/dist/internal/infra-analytics-runtime.cjs +4 -3
- package/dist/internal/infra-analytics-runtime.mjs +2 -1
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +8 -5
- package/dist/internal/production-runtime.d.mts +16 -16
- package/dist/internal/production-runtime.d.ts +16 -16
- package/dist/internal/production-runtime.mjs +7 -4
- package/dist/markdown.cjs +10 -2
- package/dist/markdown.d.mts +35 -153
- package/dist/markdown.d.ts +35 -153
- package/dist/markdown.mjs +9 -1
- package/dist/{metadata-CDnRHKVq.d.ts → metadata-7LKgQEWF.d.ts} +1 -1
- package/dist/{metadata-D0EF7esB.d.mts → metadata-B9mCxKgp.d.mts} +1 -1
- package/dist/middleware.d.mts +9 -11
- package/dist/middleware.d.ts +9 -11
- package/dist/navigation.d.mts +10 -12
- package/dist/navigation.d.ts +10 -12
- package/dist/{nitro-ZKLGOTVY.mjs → nitro-NAKCRVHX.mjs} +4 -3
- package/dist/{nitro-KQDU7CFE.cjs → nitro-VYDZGYFY.cjs} +4 -3
- package/dist/observability-BupkiN0m.d.mts +447 -0
- package/dist/observability-BupkiN0m.d.ts +447 -0
- package/dist/observability.d.mts +2 -417
- package/dist/observability.d.ts +2 -417
- package/dist/plugin.cjs +14 -12
- package/dist/plugin.d.mts +9 -11
- package/dist/plugin.d.ts +9 -11
- package/dist/plugin.mjs +13 -11
- package/dist/{production-runtime-DpCt0opU.d.ts → production-runtime-B3xnY6fI.d.ts} +1 -1
- package/dist/{production-runtime-x3W4wVqx.d.mts → production-runtime-DramhI0c.d.mts} +1 -1
- package/dist/{render-plan-D5oFRVBV.d.ts → render-plan-CpW32tOL.d.ts} +1 -1
- package/dist/{render-plan-tazUJalK.d.mts → render-plan-CtQB-zHS.d.mts} +1 -1
- package/dist/renderer-client.d.mts +6 -8
- package/dist/renderer-client.d.ts +6 -8
- package/dist/{request-CzZX0Aew.d.ts → request-BVGGeQv4.d.ts} +1 -1
- package/dist/{request-CXmQy5ks.d.mts → request-DlLVBKe3.d.mts} +1 -1
- package/dist/request.d.mts +9 -11
- package/dist/request.d.ts +9 -11
- package/dist/{route-rendering-Dw3C362T.d.ts → route-rendering-BdEldajn.d.ts} +1 -1
- package/dist/{route-rendering-B-qpe32B.d.mts → route-rendering-DChYLNdh.d.mts} +1 -1
- package/dist/{router-CLl3xHwl.d.ts → router-D0Az-1Nu.d.ts} +1 -1
- package/dist/{router-CafM2jlw.d.mts → router-D5htHn_M.d.mts} +1 -1
- package/dist/routes.d.mts +6 -8
- package/dist/routes.d.ts +6 -8
- package/dist/server-fn-client.d.mts +3 -4
- package/dist/server-fn-client.d.ts +3 -4
- package/dist/server-fn.d.mts +1 -1
- package/dist/server-fn.d.ts +1 -1
- package/dist/server-plugins.d.mts +8 -10
- package/dist/server-plugins.d.ts +8 -10
- package/dist/server-query-client.d.mts +1 -1
- package/dist/server-query-client.d.ts +1 -1
- package/dist/server-query.d.mts +1 -1
- package/dist/server-query.d.ts +1 -1
- package/dist/server.cjs +292 -141
- package/dist/server.d.mts +13 -15
- package/dist/server.d.ts +13 -15
- package/dist/server.mjs +278 -127
- package/dist/{spa-router-6sJfsMlQ.d.mts → spa-router-DVfSJZ5o.d.mts} +2 -2
- package/dist/{spa-router-DePr2aZ6.d.ts → spa-router-DmwP_7QL.d.ts} +2 -2
- package/dist/testing.cjs +6 -5
- package/dist/testing.d.mts +7 -9
- package/dist/testing.d.ts +7 -9
- package/dist/testing.mjs +5 -4
- package/dist/{utils-BPHr-1mP.d.mts → utils-B_Rmr0-n.d.mts} +1 -1
- package/dist/{utils-BBKC3cf3.d.ts → utils-Dv0OuLtF.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +14 -12
- package/dist/vite.d.mts +8 -10
- package/dist/vite.d.ts +8 -10
- package/dist/vite.mjs +13 -11
- package/package.json +1 -1
- package/dist/route-B0XrsrFk.d.mts +0 -128
- package/dist/route-DOEpbyWZ.d.ts +0 -128
- package/dist/{chunk-GDUYXFIS.mjs → chunk-6EG7U4NF.mjs} +3 -3
- package/dist/{chunk-YAOX43YI.cjs → chunk-C7OUJ6JI.cjs} +2 -2
- package/dist/{chunk-IXTFU4PL.cjs → chunk-NL3ZSMZB.cjs} +2 -2
- package/dist/{chunk-L6V3P73N.mjs → chunk-UOXGA6TO.mjs} +4 -4
package/dist/observability.d.ts
CHANGED
|
@@ -1,417 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type FarmTraceSpanKind = "request" | "render" | "middleware" | "api" | "integration" | "storage" | "ppr" | "build" | "plugin";
|
|
4
|
-
interface FarmTracingConfig {
|
|
5
|
-
/** Enable Farm's OpenTelemetry spans. */
|
|
6
|
-
enabled?: boolean;
|
|
7
|
-
/** Span families to record. All families are enabled by default. */
|
|
8
|
-
spans?: readonly FarmTraceSpanKind[];
|
|
9
|
-
/** Add Farm lifecycle events to the active span. Defaults to true. */
|
|
10
|
-
recordEvents?: boolean;
|
|
11
|
-
/** Static attributes added to every Farm-created span. */
|
|
12
|
-
attributes?: Attributes;
|
|
13
|
-
/** Path prefixes that should not create request spans. */
|
|
14
|
-
ignorePaths?: readonly string[];
|
|
15
|
-
}
|
|
16
|
-
type FarmTracingUserConfig = boolean | FarmTracingConfig;
|
|
17
|
-
interface FarmResolvedTracingConfig {
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
spans: ReadonlySet<FarmTraceSpanKind>;
|
|
20
|
-
recordEvents: boolean;
|
|
21
|
-
attributes: Attributes;
|
|
22
|
-
ignorePaths: readonly string[];
|
|
23
|
-
}
|
|
24
|
-
interface FarmTraceContext {
|
|
25
|
-
traceId: string;
|
|
26
|
-
spanId: string;
|
|
27
|
-
traceSampled: boolean;
|
|
28
|
-
}
|
|
29
|
-
interface FarmRequestSpanOptions {
|
|
30
|
-
getStatusCode?: () => number | undefined;
|
|
31
|
-
onStart?: () => void;
|
|
32
|
-
onComplete?: (status: number, durationMs: number) => void;
|
|
33
|
-
onError?: (error: unknown, durationMs: number) => void;
|
|
34
|
-
}
|
|
35
|
-
interface FarmSpanOptions {
|
|
36
|
-
kind?: FarmTraceSpanKind;
|
|
37
|
-
attributes?: Attributes;
|
|
38
|
-
spanKind?: SpanKind;
|
|
39
|
-
}
|
|
40
|
-
declare function normalizeFarmTracingConfig(config: FarmTracingUserConfig | undefined): FarmResolvedTracingConfig;
|
|
41
|
-
declare function configureFarmTracing(config: FarmTracingUserConfig | FarmResolvedTracingConfig | undefined): void;
|
|
42
|
-
declare function getFarmTraceContext(): FarmTraceContext | undefined;
|
|
43
|
-
declare function runWithFarmSpan<T>(name: string, handler: () => T | Promise<T>, options?: FarmSpanOptions): Promise<T>;
|
|
44
|
-
|
|
45
|
-
type FarmEventLevel = "debug" | "info" | "warn" | "error";
|
|
46
|
-
interface FarmEventBase {
|
|
47
|
-
type: string;
|
|
48
|
-
timestamp: number;
|
|
49
|
-
level: FarmEventLevel;
|
|
50
|
-
requestId?: string;
|
|
51
|
-
traceId?: string;
|
|
52
|
-
spanId?: string;
|
|
53
|
-
traceSampled?: boolean;
|
|
54
|
-
route?: string;
|
|
55
|
-
pathname?: string;
|
|
56
|
-
}
|
|
57
|
-
type FarmRequestEvent = (FarmEventBase & {
|
|
58
|
-
type: "request.start";
|
|
59
|
-
method: string;
|
|
60
|
-
pathname: string;
|
|
61
|
-
}) | (FarmEventBase & {
|
|
62
|
-
type: "request.complete";
|
|
63
|
-
method: string;
|
|
64
|
-
pathname: string;
|
|
65
|
-
status: number;
|
|
66
|
-
durationMs: number;
|
|
67
|
-
}) | (FarmEventBase & {
|
|
68
|
-
type: "request.error";
|
|
69
|
-
method: string;
|
|
70
|
-
pathname: string;
|
|
71
|
-
durationMs: number;
|
|
72
|
-
error: unknown;
|
|
73
|
-
});
|
|
74
|
-
type FarmServerEvent = (FarmEventBase & {
|
|
75
|
-
type: "server.start";
|
|
76
|
-
mode: "dev" | "preview" | "production";
|
|
77
|
-
port?: number;
|
|
78
|
-
}) | (FarmEventBase & {
|
|
79
|
-
type: "server.ready";
|
|
80
|
-
url?: string;
|
|
81
|
-
}) | (FarmEventBase & {
|
|
82
|
-
type: "server.shutdown";
|
|
83
|
-
reason?: string;
|
|
84
|
-
});
|
|
85
|
-
type FarmRouteEvent = (FarmEventBase & {
|
|
86
|
-
type: "route.discovered";
|
|
87
|
-
route: string;
|
|
88
|
-
filePath: string;
|
|
89
|
-
}) | (FarmEventBase & {
|
|
90
|
-
type: "route.matched";
|
|
91
|
-
pathname: string;
|
|
92
|
-
route: string;
|
|
93
|
-
params?: Record<string, string>;
|
|
94
|
-
}) | (FarmEventBase & {
|
|
95
|
-
type: "route.notFound";
|
|
96
|
-
pathname: string;
|
|
97
|
-
}) | (FarmEventBase & {
|
|
98
|
-
type: "route.redirect";
|
|
99
|
-
from: string;
|
|
100
|
-
to: string;
|
|
101
|
-
status?: number;
|
|
102
|
-
}) | (FarmEventBase & {
|
|
103
|
-
type: "route.rewrite";
|
|
104
|
-
from: string;
|
|
105
|
-
to: string;
|
|
106
|
-
});
|
|
107
|
-
type FarmRenderEvent = (FarmEventBase & {
|
|
108
|
-
type: "render.start";
|
|
109
|
-
route: string;
|
|
110
|
-
pathname?: string;
|
|
111
|
-
}) | (FarmEventBase & {
|
|
112
|
-
type: "render.complete";
|
|
113
|
-
route: string;
|
|
114
|
-
durationMs: number;
|
|
115
|
-
status?: number;
|
|
116
|
-
}) | (FarmEventBase & {
|
|
117
|
-
type: "render.error";
|
|
118
|
-
route?: string;
|
|
119
|
-
error: unknown;
|
|
120
|
-
}) | (FarmEventBase & {
|
|
121
|
-
type: "render.stream.start";
|
|
122
|
-
route: string;
|
|
123
|
-
}) | (FarmEventBase & {
|
|
124
|
-
type: "render.stream.shellReady";
|
|
125
|
-
route: string;
|
|
126
|
-
durationMs: number;
|
|
127
|
-
}) | (FarmEventBase & {
|
|
128
|
-
type: "render.stream.complete";
|
|
129
|
-
route: string;
|
|
130
|
-
durationMs: number;
|
|
131
|
-
});
|
|
132
|
-
type FarmCacheEvent = (FarmEventBase & {
|
|
133
|
-
type: "cache.hit";
|
|
134
|
-
key: string;
|
|
135
|
-
route?: string;
|
|
136
|
-
tags?: readonly string[];
|
|
137
|
-
revalidate?: number | false;
|
|
138
|
-
stale?: boolean;
|
|
139
|
-
}) | (FarmEventBase & {
|
|
140
|
-
type: "cache.miss";
|
|
141
|
-
key: string;
|
|
142
|
-
route?: string;
|
|
143
|
-
reason?: string;
|
|
144
|
-
}) | (FarmEventBase & {
|
|
145
|
-
type: "cache.set";
|
|
146
|
-
key: string;
|
|
147
|
-
route?: string;
|
|
148
|
-
tags?: readonly string[];
|
|
149
|
-
revalidate?: number | false;
|
|
150
|
-
}) | (FarmEventBase & {
|
|
151
|
-
type: "cache.dedupe";
|
|
152
|
-
key: string;
|
|
153
|
-
}) | (FarmEventBase & {
|
|
154
|
-
type: "cache.bypass";
|
|
155
|
-
key?: string;
|
|
156
|
-
route?: string;
|
|
157
|
-
reason: string;
|
|
158
|
-
}) | (FarmEventBase & {
|
|
159
|
-
type: "cache.stale";
|
|
160
|
-
key: string;
|
|
161
|
-
route?: string;
|
|
162
|
-
tags?: readonly string[];
|
|
163
|
-
revalidate?: number | false;
|
|
164
|
-
}) | (FarmEventBase & {
|
|
165
|
-
type: "cache.revalidatePath";
|
|
166
|
-
path: string;
|
|
167
|
-
count: number;
|
|
168
|
-
}) | (FarmEventBase & {
|
|
169
|
-
type: "cache.revalidateTag";
|
|
170
|
-
tag: string;
|
|
171
|
-
profile?: unknown;
|
|
172
|
-
count: number;
|
|
173
|
-
}) | (FarmEventBase & {
|
|
174
|
-
type: "cache.updateTag";
|
|
175
|
-
tag: string;
|
|
176
|
-
count: number;
|
|
177
|
-
}) | (FarmEventBase & {
|
|
178
|
-
type: "cache.invalidated";
|
|
179
|
-
key?: string;
|
|
180
|
-
route?: string;
|
|
181
|
-
tag?: string;
|
|
182
|
-
reason?: string;
|
|
183
|
-
count?: number;
|
|
184
|
-
}) | (FarmEventBase & {
|
|
185
|
-
type: "cache.delete";
|
|
186
|
-
key: string;
|
|
187
|
-
deleted: boolean;
|
|
188
|
-
}) | (FarmEventBase & {
|
|
189
|
-
type: "cache.clear";
|
|
190
|
-
count: number;
|
|
191
|
-
}) | (FarmEventBase & {
|
|
192
|
-
type: "cache.error";
|
|
193
|
-
key?: string;
|
|
194
|
-
operation: "get" | "set" | "delete" | "revalidate";
|
|
195
|
-
error: unknown;
|
|
196
|
-
});
|
|
197
|
-
type FarmPPREvent = (FarmEventBase & {
|
|
198
|
-
type: "ppr.shell.hit";
|
|
199
|
-
route: string;
|
|
200
|
-
key: string;
|
|
201
|
-
}) | (FarmEventBase & {
|
|
202
|
-
type: "ppr.shell.miss";
|
|
203
|
-
route: string;
|
|
204
|
-
key: string;
|
|
205
|
-
}) | (FarmEventBase & {
|
|
206
|
-
type: "ppr.shell.cached";
|
|
207
|
-
route: string;
|
|
208
|
-
key: string;
|
|
209
|
-
revalidate?: number;
|
|
210
|
-
}) | (FarmEventBase & {
|
|
211
|
-
type: "ppr.shell.bypass";
|
|
212
|
-
route: string;
|
|
213
|
-
reason: string;
|
|
214
|
-
}) | (FarmEventBase & {
|
|
215
|
-
type: "ppr.shell.invalidated";
|
|
216
|
-
route: string;
|
|
217
|
-
reason?: string;
|
|
218
|
-
count?: number;
|
|
219
|
-
}) | (FarmEventBase & {
|
|
220
|
-
type: "ppr.suspense.holeDetected";
|
|
221
|
-
route: string;
|
|
222
|
-
}) | (FarmEventBase & {
|
|
223
|
-
type: "ppr.refresh.start";
|
|
224
|
-
route: string;
|
|
225
|
-
}) | (FarmEventBase & {
|
|
226
|
-
type: "ppr.refresh.complete";
|
|
227
|
-
route: string;
|
|
228
|
-
durationMs: number;
|
|
229
|
-
}) | (FarmEventBase & {
|
|
230
|
-
type: "ppr.refresh.error";
|
|
231
|
-
route: string;
|
|
232
|
-
error: unknown;
|
|
233
|
-
});
|
|
234
|
-
type FarmAPIEvent = (FarmEventBase & {
|
|
235
|
-
type: "api.request.start";
|
|
236
|
-
route: string;
|
|
237
|
-
method: string;
|
|
238
|
-
}) | (FarmEventBase & {
|
|
239
|
-
type: "api.request.complete";
|
|
240
|
-
route: string;
|
|
241
|
-
method: string;
|
|
242
|
-
status: number;
|
|
243
|
-
durationMs: number;
|
|
244
|
-
}) | (FarmEventBase & {
|
|
245
|
-
type: "api.validation.failed";
|
|
246
|
-
route: string;
|
|
247
|
-
method: string;
|
|
248
|
-
issues?: unknown;
|
|
249
|
-
}) | (FarmEventBase & {
|
|
250
|
-
type: "api.error";
|
|
251
|
-
route: string;
|
|
252
|
-
method: string;
|
|
253
|
-
durationMs: number;
|
|
254
|
-
error: unknown;
|
|
255
|
-
});
|
|
256
|
-
type FarmIntegrationEvent = (FarmEventBase & {
|
|
257
|
-
type: "integration.registered";
|
|
258
|
-
name: string;
|
|
259
|
-
}) | (FarmEventBase & {
|
|
260
|
-
type: "integration.config.validated";
|
|
261
|
-
name: string;
|
|
262
|
-
}) | (FarmEventBase & {
|
|
263
|
-
type: "integration.ready";
|
|
264
|
-
name: string;
|
|
265
|
-
}) | (FarmEventBase & {
|
|
266
|
-
type: "integration.disposed";
|
|
267
|
-
name: string;
|
|
268
|
-
}) | (FarmEventBase & {
|
|
269
|
-
type: "integration.api.call.start";
|
|
270
|
-
integration: string;
|
|
271
|
-
operation: string;
|
|
272
|
-
}) | (FarmEventBase & {
|
|
273
|
-
type: "integration.api.call.complete";
|
|
274
|
-
integration: string;
|
|
275
|
-
operation: string;
|
|
276
|
-
durationMs: number;
|
|
277
|
-
}) | (FarmEventBase & {
|
|
278
|
-
type: "integration.api.call.error";
|
|
279
|
-
integration: string;
|
|
280
|
-
operation: string;
|
|
281
|
-
error: unknown;
|
|
282
|
-
}) | (FarmEventBase & {
|
|
283
|
-
type: "integration.webhook.received";
|
|
284
|
-
integration: string;
|
|
285
|
-
event?: string;
|
|
286
|
-
}) | (FarmEventBase & {
|
|
287
|
-
type: "integration.webhook.verified";
|
|
288
|
-
integration: string;
|
|
289
|
-
event?: string;
|
|
290
|
-
}) | (FarmEventBase & {
|
|
291
|
-
type: "integration.webhook.failed";
|
|
292
|
-
integration: string;
|
|
293
|
-
reason: string;
|
|
294
|
-
});
|
|
295
|
-
/** A registered MCP tool callback completed; not an HTTP response or an agent run. */
|
|
296
|
-
type FarmMCPEvent = FarmEventBase & {
|
|
297
|
-
type: "mcp.tool.complete";
|
|
298
|
-
/** Configured transport path, never a raw request URL. */
|
|
299
|
-
route: string;
|
|
300
|
-
server: string;
|
|
301
|
-
tool: string;
|
|
302
|
-
outcome: "success" | "error";
|
|
303
|
-
durationMs: number;
|
|
304
|
-
};
|
|
305
|
-
type FarmMiddlewareEvent = (FarmEventBase & {
|
|
306
|
-
type: "middleware.start";
|
|
307
|
-
route?: string;
|
|
308
|
-
name?: string;
|
|
309
|
-
}) | (FarmEventBase & {
|
|
310
|
-
type: "middleware.complete";
|
|
311
|
-
route?: string;
|
|
312
|
-
name?: string;
|
|
313
|
-
durationMs: number;
|
|
314
|
-
}) | (FarmEventBase & {
|
|
315
|
-
type: "middleware.shortCircuit";
|
|
316
|
-
route?: string;
|
|
317
|
-
name?: string;
|
|
318
|
-
status?: number;
|
|
319
|
-
}) | (FarmEventBase & {
|
|
320
|
-
type: "middleware.error";
|
|
321
|
-
route?: string;
|
|
322
|
-
name?: string;
|
|
323
|
-
error: unknown;
|
|
324
|
-
});
|
|
325
|
-
type FarmStorageEvent = (FarmEventBase & {
|
|
326
|
-
type: "storage.query.start";
|
|
327
|
-
integration?: string;
|
|
328
|
-
operation: string;
|
|
329
|
-
}) | (FarmEventBase & {
|
|
330
|
-
type: "storage.query.complete";
|
|
331
|
-
integration?: string;
|
|
332
|
-
operation: string;
|
|
333
|
-
durationMs: number;
|
|
334
|
-
}) | (FarmEventBase & {
|
|
335
|
-
type: "storage.query.error";
|
|
336
|
-
integration?: string;
|
|
337
|
-
operation: string;
|
|
338
|
-
error: unknown;
|
|
339
|
-
}) | (FarmEventBase & {
|
|
340
|
-
type: "storage.schema.ready";
|
|
341
|
-
integration?: string;
|
|
342
|
-
}) | (FarmEventBase & {
|
|
343
|
-
type: "storage.schema.error";
|
|
344
|
-
integration?: string;
|
|
345
|
-
error: unknown;
|
|
346
|
-
});
|
|
347
|
-
type FarmBuildEvent = (FarmEventBase & {
|
|
348
|
-
type: "build.start";
|
|
349
|
-
target?: string;
|
|
350
|
-
}) | (FarmEventBase & {
|
|
351
|
-
type: "build.complete";
|
|
352
|
-
target?: string;
|
|
353
|
-
durationMs: number;
|
|
354
|
-
}) | (FarmEventBase & {
|
|
355
|
-
type: "build.error";
|
|
356
|
-
target?: string;
|
|
357
|
-
error: unknown;
|
|
358
|
-
}) | (FarmEventBase & {
|
|
359
|
-
type: "routes.generated";
|
|
360
|
-
pageCount: number;
|
|
361
|
-
apiCount?: number;
|
|
362
|
-
}) | (FarmEventBase & {
|
|
363
|
-
type: "types.generated";
|
|
364
|
-
filePath: string;
|
|
365
|
-
}) | (FarmEventBase & {
|
|
366
|
-
type: "manifest.generated";
|
|
367
|
-
routeCount: number;
|
|
368
|
-
});
|
|
369
|
-
type FarmPluginEvent = (FarmEventBase & {
|
|
370
|
-
type: "plugin.hook.start";
|
|
371
|
-
plugin: string;
|
|
372
|
-
hook: string;
|
|
373
|
-
}) | (FarmEventBase & {
|
|
374
|
-
type: "plugin.hook.complete";
|
|
375
|
-
plugin: string;
|
|
376
|
-
hook: string;
|
|
377
|
-
durationMs: number;
|
|
378
|
-
}) | (FarmEventBase & {
|
|
379
|
-
type: "plugin.hook.error";
|
|
380
|
-
plugin: string;
|
|
381
|
-
hook: string;
|
|
382
|
-
error: unknown;
|
|
383
|
-
});
|
|
384
|
-
type FarmErrorEvent = FarmEventBase & {
|
|
385
|
-
type: "error";
|
|
386
|
-
source: string;
|
|
387
|
-
error: unknown;
|
|
388
|
-
route?: string;
|
|
389
|
-
};
|
|
390
|
-
type FarmEvent = FarmRequestEvent | FarmServerEvent | FarmRouteEvent | FarmRenderEvent | FarmCacheEvent | FarmPPREvent | FarmAPIEvent | FarmIntegrationEvent | FarmMCPEvent | FarmMiddlewareEvent | FarmStorageEvent | FarmBuildEvent | FarmPluginEvent | FarmErrorEvent;
|
|
391
|
-
type FarmEventType = FarmEvent["type"];
|
|
392
|
-
type FarmEventHandler = (event: FarmEvent) => void | Promise<void>;
|
|
393
|
-
type FarmEventInput = FarmEvent extends infer T ? T extends FarmEvent ? Omit<T, "timestamp" | "level"> & Partial<Pick<T, "timestamp" | "level">> : never : never;
|
|
394
|
-
type FarmObservabilityUserConfig = boolean | {
|
|
395
|
-
logs?: boolean;
|
|
396
|
-
onEvent?: FarmEventHandler | readonly FarmEventHandler[];
|
|
397
|
-
events?: readonly FarmEventType[];
|
|
398
|
-
tracing?: FarmTracingUserConfig;
|
|
399
|
-
};
|
|
400
|
-
interface FarmResolvedObservabilityConfig {
|
|
401
|
-
logs: boolean;
|
|
402
|
-
handlers: FarmEventHandler[];
|
|
403
|
-
events?: Set<FarmEventType>;
|
|
404
|
-
tracing: FarmResolvedTracingConfig;
|
|
405
|
-
}
|
|
406
|
-
interface FarmEventSubscriptionOptions {
|
|
407
|
-
/** Receive events even when they are excluded by `observability.events`. */
|
|
408
|
-
unfiltered?: boolean;
|
|
409
|
-
}
|
|
410
|
-
declare function configureFarmObservability(config: FarmObservabilityUserConfig | undefined): void;
|
|
411
|
-
declare function normalizeFarmObservabilityConfig(config: FarmObservabilityUserConfig | undefined): FarmResolvedObservabilityConfig;
|
|
412
|
-
declare function onFarmEvent(handler: FarmEventHandler, options?: FarmEventSubscriptionOptions): () => void;
|
|
413
|
-
declare function resetFarmObservability(): void;
|
|
414
|
-
declare function emitFarmEvent(input: FarmEventInput): FarmEvent;
|
|
415
|
-
declare function runWithFarmRequestSpan<T>(request: Request, handler: () => T | Promise<T>, options?: FarmRequestSpanOptions): Promise<T>;
|
|
416
|
-
|
|
417
|
-
export { type FarmAPIEvent, type FarmBuildEvent, type FarmCacheEvent, type FarmErrorEvent, type FarmEvent, type FarmEventBase, type FarmEventHandler, type FarmEventInput, type FarmEventLevel, type FarmEventSubscriptionOptions, type FarmEventType, type FarmIntegrationEvent, type FarmMCPEvent, type FarmMiddlewareEvent, type FarmObservabilityUserConfig, type FarmPPREvent, type FarmPluginEvent, type FarmRenderEvent, type FarmRequestEvent, type FarmRequestSpanOptions, type FarmResolvedObservabilityConfig, type FarmResolvedTracingConfig, type FarmRouteEvent, type FarmServerEvent, type FarmSpanOptions, type FarmStorageEvent, type FarmTraceContext, type FarmTraceSpanKind, type FarmTracingConfig, type FarmTracingUserConfig, configureFarmObservability, configureFarmTracing, emitFarmEvent, getFarmTraceContext, normalizeFarmObservabilityConfig, normalizeFarmTracingConfig, onFarmEvent, resetFarmObservability, runWithFarmRequestSpan, runWithFarmSpan };
|
|
1
|
+
export { x as FarmAPIEvent, A as FarmAgentEvent, D as FarmBuildEvent, v as FarmCacheEvent, G as FarmErrorEvent, H as FarmEvent, p as FarmEventBase, J as FarmEventHandler, K as FarmEventInput, o as FarmEventLevel, N as FarmEventSubscriptionOptions, I as FarmEventType, y as FarmIntegrationEvent, z as FarmMCPEvent, B as FarmMiddlewareEvent, L as FarmObservabilityUserConfig, w as FarmPPREvent, E as FarmPluginEvent, u as FarmRenderEvent, q as FarmRequestEvent, f as FarmRequestSpanOptions, M as FarmResolvedObservabilityConfig, h as FarmResolvedTracingConfig, t as FarmRouteEvent, s as FarmServerEvent, i as FarmSpanOptions, C as FarmStorageEvent, j as FarmTraceContext, k as FarmTraceSpanKind, l as FarmTracingConfig, m as FarmTracingUserConfig, c as configureFarmObservability, b as configureFarmTracing, e as emitFarmEvent, g as getFarmTraceContext, O as normalizeFarmObservabilityConfig, n as normalizeFarmTracingConfig, P as onFarmEvent, Q as resetFarmObservability, r as runWithFarmRequestSpan, d as runWithFarmSpan } from './observability-BupkiN0m.js';
|
|
2
|
+
import '@opentelemetry/api';
|
package/dist/plugin.cjs
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUNSKL6BIcjs = require('./chunk-UNSKL6BI.cjs');
|
|
8
8
|
require('./chunk-DW34V5SM.cjs');
|
|
9
9
|
require('./chunk-E2ROOWQC.cjs');
|
|
10
10
|
require('./chunk-JSROZYYO.cjs');
|
|
11
11
|
require('./chunk-XSIRSMAS.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-WJKVTJJR.cjs');
|
|
13
13
|
require('./chunk-SYQ3MOWW.cjs');
|
|
14
14
|
require('./chunk-CXP5U3RW.cjs');
|
|
15
15
|
require('./chunk-K3F2E6GS.cjs');
|
|
@@ -28,15 +28,16 @@ require('./chunk-YJRZR7VU.cjs');
|
|
|
28
28
|
require('./chunk-Q5B3KJBP.cjs');
|
|
29
29
|
require('./chunk-VPTDD5XF.cjs');
|
|
30
30
|
require('./chunk-PSV6XKPO.cjs');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-DQMTHWPI.cjs');
|
|
32
32
|
require('./chunk-YFPGHF5F.cjs');
|
|
33
33
|
require('./chunk-6EXBPJ24.cjs');
|
|
34
34
|
require('./chunk-T5CERMEH.cjs');
|
|
35
35
|
require('./chunk-VEKFLAQM.cjs');
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-TDWFCC2T.cjs');
|
|
37
|
+
require('./chunk-HF5SIACK.cjs');
|
|
38
38
|
require('./chunk-OHY2ZWUG.cjs');
|
|
39
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-ZSO5GWGD.cjs');
|
|
40
|
+
require('./chunk-J63ZH5OQ.cjs');
|
|
40
41
|
require('./chunk-UYIHRDE4.cjs');
|
|
41
42
|
require('./chunk-MPEYMSCF.cjs');
|
|
42
43
|
require('./chunk-JDNHKPTD.cjs');
|
|
@@ -52,17 +53,18 @@ require('./chunk-XGC343EY.cjs');
|
|
|
52
53
|
require('./chunk-RG3ZOTG5.cjs');
|
|
53
54
|
require('./chunk-4PPEPOZZ.cjs');
|
|
54
55
|
require('./chunk-MQ3H6LT5.cjs');
|
|
55
|
-
require('./chunk-
|
|
56
|
+
require('./chunk-JQGDQO2I.cjs');
|
|
56
57
|
require('./chunk-N4RLRSWW.cjs');
|
|
57
58
|
require('./chunk-2CQ74SP6.cjs');
|
|
58
59
|
require('./chunk-UJ2C4ICS.cjs');
|
|
59
60
|
require('./chunk-IQXFRNY2.cjs');
|
|
60
61
|
require('./chunk-LYLEZIG3.cjs');
|
|
61
|
-
require('./chunk-
|
|
62
|
+
require('./chunk-C7OUJ6JI.cjs');
|
|
62
63
|
require('./chunk-I4J452B7.cjs');
|
|
63
64
|
require('./chunk-WMAPPDMM.cjs');
|
|
64
|
-
require('./chunk-WPYFSQKK.cjs');
|
|
65
65
|
require('./chunk-TKJZFIML.cjs');
|
|
66
|
+
require('./chunk-5MKEDGLD.cjs');
|
|
67
|
+
require('./chunk-WPYFSQKK.cjs');
|
|
66
68
|
require('./chunk-6V4TDWEC.cjs');
|
|
67
69
|
require('./chunk-SOR334EB.cjs');
|
|
68
70
|
require('./chunk-EM6SBQKM.cjs');
|
|
@@ -75,13 +77,13 @@ require('./chunk-HBTUGXHS.cjs');
|
|
|
75
77
|
require('./chunk-5QIKR7RR.cjs');
|
|
76
78
|
require('./chunk-QNPEUFHQ.cjs');
|
|
77
79
|
require('./chunk-UQZ4AYTH.cjs');
|
|
78
|
-
require('./chunk-
|
|
80
|
+
require('./chunk-FOT7LZEO.cjs');
|
|
79
81
|
require('./chunk-OYEUREB6.cjs');
|
|
80
82
|
require('./chunk-7W3CPVXS.cjs');
|
|
81
83
|
require('./chunk-NZKJGRB3.cjs');
|
|
82
84
|
require('./chunk-72ADZ6GQ.cjs');
|
|
83
|
-
require('./chunk-G7HXGLEC.cjs');
|
|
84
85
|
require('./chunk-ARJWXNQL.cjs');
|
|
86
|
+
require('./chunk-G7HXGLEC.cjs');
|
|
85
87
|
require('./chunk-S3A45T7F.cjs');
|
|
86
88
|
require('./chunk-75BRBIFP.cjs');
|
|
87
89
|
require('./chunk-3TQWUUNP.cjs');
|
|
@@ -111,4 +113,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
111
113
|
|
|
112
114
|
|
|
113
115
|
|
|
114
|
-
exports.FARM_NODE_RESPONSE_END_PENDING =
|
|
116
|
+
exports.FARM_NODE_RESPONSE_END_PENDING = _chunkUNSKL6BIcjs.FARM_NODE_RESPONSE_END_PENDING; exports.FarmDevEnvironmentError = _chunkBMWDEBXOcjs.FarmDevEnvironmentError; exports.FarmRuntimeShutdownError = _chunkUNSKL6BIcjs.FarmRuntimeShutdownError; exports.PluginManager = _chunkUNSKL6BIcjs.PluginManager; exports.definePlugin = _chunkUNSKL6BIcjs.definePlugin; exports.farmPlugin = _chunkUNSKL6BIcjs.farmPlugin; exports.loadFarmDevModule = _chunkBMWDEBXOcjs.loadFarmDevModule;
|
package/dist/plugin.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { cx as APIHandlerLifecyclePayload, ct as APIRouteDiscoveredPayload, cA as BundleLifecyclePayload, H as BundleResultPayload, cy as ErrorLifecyclePayload, fV as FARM_NODE_RESPONSE_END_PENDING, fX as FarmDevEnvironmentError, fY as FarmDevModuleServer, a as FarmPlugin, cn as FarmPluginBuildHooks, cp as FarmPluginClientConfig, h as FarmPluginContext, b8 as FarmPluginDatabase, b9 as FarmPluginDefinition, co as FarmPluginDevHooks, ck as FarmPluginDiscoveredRoute, b$ as FarmPluginIntegrationContext, c0 as FarmPluginLifecycle, cm as FarmPluginRenderHooks, c4 as FarmPluginRouteRuntimePayload, cl as FarmPluginRouterHooks, cc as FarmPluginRuntimeAfterEvent, c7 as FarmPluginRuntimeBaseEvent, cb as FarmPluginRuntimeBeforeEvent, cf as FarmPluginRuntimeCloseEvent, c8 as FarmPluginRuntimeContextEvent, c9 as FarmPluginRuntimeEndpoint, ca as FarmPluginRuntimeEndpointEvent, cd as FarmPluginRuntimeErrorEvent, cg as FarmPluginRuntimeHooks, c3 as FarmPluginRuntimeKind, ci as FarmPluginRuntimeRequestHandler, ch as FarmPluginRuntimeRequestOptions, cj as FarmPluginRuntimeSession, ce as FarmPluginRuntimeStartEvent, c5 as FarmPluginSetupContext, c6 as FarmPluginStateContext, c1 as FarmRequestPluginContext, c2 as FarmRequestStore, b6 as FarmRuntimeShutdownError, cz as HMRUpdatePayload, cs as MiddlewareDiscoveredPayload, cB as NitroBuildLifecyclePayload, b7 as PluginManager, b_ as PluginRequestContext, cw as RenderLifecyclePayload, cq as RouteDiscoveredPayload, cu as RouteMatchPayload, cv as RouteMatchResultPayload, cr as RoutesGeneratedPayload, cC as ShutdownPayload, b5 as definePlugin, K as farmPlugin, fW as loadFarmDevModule } from './client-plugins-1GS4zubE.mjs';
|
|
2
|
+
export { r as PluginLocalAPI, q as PluginLocalAPIEndpoint, p as PluginRoutes, P as PluginRoutesFactory, m as RouteDefinition, R as RouteMethod } from './integration-api-0y4FXJpC.mjs';
|
|
3
|
+
export { E as EndpointMCPMetadata, c as EndpointMCPOptions, f as EndpointOpenAPIMetadata, R as RouteSchema } from './endpoint-CCHFqyTE.mjs';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import './lifecycle-DK06VuKP.mjs';
|
|
6
6
|
import './env.mjs';
|
|
@@ -8,28 +8,26 @@ import './schema.mjs';
|
|
|
8
8
|
import './renderer.mjs';
|
|
9
9
|
import './deployment.mjs';
|
|
10
10
|
import 'http';
|
|
11
|
-
import './
|
|
11
|
+
import './server-fn.mjs';
|
|
12
|
+
import './cache.mjs';
|
|
13
|
+
import './server-fn-error-DDh14a0V.mjs';
|
|
14
|
+
import './server-query.mjs';
|
|
15
|
+
import './types-Z0aotQ8w.mjs';
|
|
12
16
|
import './types-Cc8l9IqS.mjs';
|
|
13
17
|
import 'db0';
|
|
14
18
|
import 'unstorage';
|
|
15
19
|
import 'react';
|
|
16
|
-
import './integration-api-BbaiokCC.mjs';
|
|
17
20
|
import '@farming-labs/orm';
|
|
18
21
|
import './types-DFbjpjXX.mjs';
|
|
19
22
|
import '@farming-labs/docs';
|
|
20
|
-
import './observability.mjs';
|
|
23
|
+
import './observability-BupkiN0m.mjs';
|
|
21
24
|
import '@opentelemetry/api';
|
|
22
25
|
import './workflows-CR9ex-gz.mjs';
|
|
23
26
|
import './cron.mjs';
|
|
24
27
|
import './server-action-security.mjs';
|
|
25
|
-
import './server-fn-error-DDh14a0V.mjs';
|
|
26
28
|
import 'rolldown/utils';
|
|
27
29
|
import 'rolldown';
|
|
28
30
|
import './image-config-Duob7wER.mjs';
|
|
29
|
-
import './types-Z0aotQ8w.mjs';
|
|
30
|
-
import './cache.mjs';
|
|
31
|
-
import './server-fn.mjs';
|
|
32
|
-
import './server-query.mjs';
|
|
33
31
|
import './types-DQnyD3VD.mjs';
|
|
34
32
|
import './font.mjs';
|
|
35
33
|
import './after.mjs';
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { cx as APIHandlerLifecyclePayload, ct as APIRouteDiscoveredPayload, cA as BundleLifecyclePayload, H as BundleResultPayload, cy as ErrorLifecyclePayload, fV as FARM_NODE_RESPONSE_END_PENDING, fX as FarmDevEnvironmentError, fY as FarmDevModuleServer, a as FarmPlugin, cn as FarmPluginBuildHooks, cp as FarmPluginClientConfig, h as FarmPluginContext, b8 as FarmPluginDatabase, b9 as FarmPluginDefinition, co as FarmPluginDevHooks, ck as FarmPluginDiscoveredRoute, b$ as FarmPluginIntegrationContext, c0 as FarmPluginLifecycle, cm as FarmPluginRenderHooks, c4 as FarmPluginRouteRuntimePayload, cl as FarmPluginRouterHooks, cc as FarmPluginRuntimeAfterEvent, c7 as FarmPluginRuntimeBaseEvent, cb as FarmPluginRuntimeBeforeEvent, cf as FarmPluginRuntimeCloseEvent, c8 as FarmPluginRuntimeContextEvent, c9 as FarmPluginRuntimeEndpoint, ca as FarmPluginRuntimeEndpointEvent, cd as FarmPluginRuntimeErrorEvent, cg as FarmPluginRuntimeHooks, c3 as FarmPluginRuntimeKind, ci as FarmPluginRuntimeRequestHandler, ch as FarmPluginRuntimeRequestOptions, cj as FarmPluginRuntimeSession, ce as FarmPluginRuntimeStartEvent, c5 as FarmPluginSetupContext, c6 as FarmPluginStateContext, c1 as FarmRequestPluginContext, c2 as FarmRequestStore, b6 as FarmRuntimeShutdownError, cz as HMRUpdatePayload, cs as MiddlewareDiscoveredPayload, cB as NitroBuildLifecyclePayload, b7 as PluginManager, b_ as PluginRequestContext, cw as RenderLifecyclePayload, cq as RouteDiscoveredPayload, cu as RouteMatchPayload, cv as RouteMatchResultPayload, cr as RoutesGeneratedPayload, cC as ShutdownPayload, b5 as definePlugin, K as farmPlugin, fW as loadFarmDevModule } from './client-plugins-B1Za6F5x.js';
|
|
2
|
+
export { r as PluginLocalAPI, q as PluginLocalAPIEndpoint, p as PluginRoutes, P as PluginRoutesFactory, m as RouteDefinition, R as RouteMethod } from './integration-api-BPJo5oXb.js';
|
|
3
|
+
export { E as EndpointMCPMetadata, c as EndpointMCPOptions, f as EndpointOpenAPIMetadata, R as RouteSchema } from './endpoint-CA-TNX60.js';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|
|
6
6
|
import './env.js';
|
|
@@ -8,28 +8,26 @@ import './schema.js';
|
|
|
8
8
|
import './renderer.js';
|
|
9
9
|
import './deployment.js';
|
|
10
10
|
import 'http';
|
|
11
|
-
import './
|
|
11
|
+
import './server-fn.js';
|
|
12
|
+
import './cache.js';
|
|
13
|
+
import './server-fn-error-DDh14a0V.js';
|
|
14
|
+
import './server-query.js';
|
|
15
|
+
import './types-Z0aotQ8w.js';
|
|
12
16
|
import './types-Cc8l9IqS.js';
|
|
13
17
|
import 'db0';
|
|
14
18
|
import 'unstorage';
|
|
15
19
|
import 'react';
|
|
16
|
-
import './integration-api-BbaiokCC.js';
|
|
17
20
|
import '@farming-labs/orm';
|
|
18
21
|
import './types-DFbjpjXX.js';
|
|
19
22
|
import '@farming-labs/docs';
|
|
20
|
-
import './observability.js';
|
|
23
|
+
import './observability-BupkiN0m.js';
|
|
21
24
|
import '@opentelemetry/api';
|
|
22
25
|
import './workflows-CR9ex-gz.js';
|
|
23
26
|
import './cron.js';
|
|
24
27
|
import './server-action-security.js';
|
|
25
|
-
import './server-fn-error-DDh14a0V.js';
|
|
26
28
|
import 'rolldown/utils';
|
|
27
29
|
import 'rolldown';
|
|
28
30
|
import './image-config-Duob7wER.js';
|
|
29
|
-
import './types-Z0aotQ8w.js';
|
|
30
|
-
import './cache.js';
|
|
31
|
-
import './server-fn.js';
|
|
32
|
-
import './server-query.js';
|
|
33
31
|
import './types-DQnyD3VD.js';
|
|
34
32
|
import './font.js';
|
|
35
33
|
import './after.js';
|
package/dist/plugin.mjs
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
PluginManager,
|
|
5
5
|
definePlugin,
|
|
6
6
|
farmPlugin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OGHTEYXS.mjs";
|
|
8
8
|
import "./chunk-VVJCWBIE.mjs";
|
|
9
9
|
import "./chunk-HALDNTIV.mjs";
|
|
10
10
|
import "./chunk-ZMSZZXOR.mjs";
|
|
11
11
|
import "./chunk-F3VB7ONA.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HG237IEY.mjs";
|
|
13
13
|
import "./chunk-DAO7JGTS.mjs";
|
|
14
14
|
import "./chunk-BOYNDCZL.mjs";
|
|
15
15
|
import "./chunk-YQVSHTMR.mjs";
|
|
@@ -28,15 +28,16 @@ import "./chunk-JBSVKMC5.mjs";
|
|
|
28
28
|
import "./chunk-GHFS7RUB.mjs";
|
|
29
29
|
import "./chunk-JHWOVJ3M.mjs";
|
|
30
30
|
import "./chunk-DAATZTKJ.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JT25KHDI.mjs";
|
|
32
32
|
import "./chunk-G2KY33I6.mjs";
|
|
33
33
|
import "./chunk-YHOCRI4H.mjs";
|
|
34
34
|
import "./chunk-QCFFHV5H.mjs";
|
|
35
35
|
import "./chunk-4OOBRCJX.mjs";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-3PTVHMLD.mjs";
|
|
37
|
+
import "./chunk-MBFURXAC.mjs";
|
|
38
38
|
import "./chunk-FA2W42OV.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-POXI72VV.mjs";
|
|
40
|
+
import "./chunk-MVL2RAJW.mjs";
|
|
40
41
|
import "./chunk-SFGWNC43.mjs";
|
|
41
42
|
import "./chunk-3ATMYLLJ.mjs";
|
|
42
43
|
import "./chunk-2UC36WAC.mjs";
|
|
@@ -52,17 +53,18 @@ import "./chunk-NRVGEI5I.mjs";
|
|
|
52
53
|
import "./chunk-5TISYEQF.mjs";
|
|
53
54
|
import "./chunk-R3DS7A2T.mjs";
|
|
54
55
|
import "./chunk-IOEH4VWN.mjs";
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-Q4BHBO6V.mjs";
|
|
56
57
|
import "./chunk-YOYF2E4U.mjs";
|
|
57
58
|
import "./chunk-CU625VAY.mjs";
|
|
58
59
|
import "./chunk-JNGIWIY6.mjs";
|
|
59
60
|
import "./chunk-FV45CKBC.mjs";
|
|
60
61
|
import "./chunk-YOZYCI6Z.mjs";
|
|
61
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-6EG7U4NF.mjs";
|
|
62
63
|
import "./chunk-SYGGPS4A.mjs";
|
|
63
64
|
import "./chunk-W3B4PKAW.mjs";
|
|
64
|
-
import "./chunk-I6XDAKWQ.mjs";
|
|
65
65
|
import "./chunk-5WI2S4CO.mjs";
|
|
66
|
+
import "./chunk-O6XNAMBV.mjs";
|
|
67
|
+
import "./chunk-I6XDAKWQ.mjs";
|
|
66
68
|
import "./chunk-EA5K5BKU.mjs";
|
|
67
69
|
import "./chunk-2J7W2WND.mjs";
|
|
68
70
|
import "./chunk-XF7Q24PF.mjs";
|
|
@@ -75,13 +77,13 @@ import "./chunk-YMCXWPWK.mjs";
|
|
|
75
77
|
import "./chunk-KI3MESHB.mjs";
|
|
76
78
|
import "./chunk-QVKYGNVM.mjs";
|
|
77
79
|
import "./chunk-Z2RZJZIZ.mjs";
|
|
78
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-QQQNJS2E.mjs";
|
|
79
81
|
import "./chunk-54UPOYFS.mjs";
|
|
80
82
|
import "./chunk-WNSDDRNU.mjs";
|
|
81
83
|
import "./chunk-JPLUGGRV.mjs";
|
|
82
84
|
import "./chunk-G4MWPDSE.mjs";
|
|
83
|
-
import "./chunk-O7BH5O46.mjs";
|
|
84
85
|
import "./chunk-EMLAPBEM.mjs";
|
|
86
|
+
import "./chunk-O7BH5O46.mjs";
|
|
85
87
|
import "./chunk-7LTCDQRS.mjs";
|
|
86
88
|
import "./chunk-IXUY2F5U.mjs";
|
|
87
89
|
import "./chunk-CEYUWDWA.mjs";
|