@farm.js/core 0.1.25 → 0.1.26
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 +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/api/route-manager.d.mts +2 -2
- package/dist/api/route-manager.d.ts +2 -2
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/{app-ZuWrAMc_.d.mts → app-29vG5tmY.d.mts} +3 -3
- package/dist/{app-BF-ctoxh.d.ts → app-Cx71s_PT.d.ts} +3 -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-E3RDL2DA.cjs → chunk-2CT6XUNO.cjs} +61 -31
- package/dist/{chunk-R7LCG3BT.cjs → chunk-3TQG7CGC.cjs} +84 -77
- package/dist/{chunk-AXYTGLF3.cjs → chunk-3WSWXPYM.cjs} +4 -4
- package/dist/{chunk-2BIJGZR3.mjs → chunk-74RZNRY6.mjs} +1 -1
- package/dist/{chunk-TTVHACQV.cjs → chunk-ALIFMS4A.cjs} +1 -1
- package/dist/{chunk-T2OPSH6S.mjs → chunk-ARXCHQLX.mjs} +9 -2
- package/dist/{chunk-2KI3CL3N.mjs → chunk-DU2CASV6.mjs} +1 -1
- package/dist/chunk-J63ZH5OQ.cjs +62 -0
- package/dist/{chunk-XM4ZDVD7.mjs → chunk-JM5GQL4H.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-XME4TCLB.mjs → chunk-OFKG57MZ.mjs} +2 -2
- package/dist/{chunk-U4MP7XTD.mjs → chunk-OOIL3BWR.mjs} +168 -16
- package/dist/{chunk-WOI2HOGA.mjs → chunk-PPIW3MH6.mjs} +1 -1
- package/dist/{chunk-2ITKVAIF.cjs → chunk-QIH2HD6H.cjs} +191 -39
- package/dist/{chunk-65P6OGYN.cjs → chunk-QJ4D3UKJ.cjs} +10 -3
- package/dist/{chunk-RYDW7GPR.cjs → chunk-QLXEYIAW.cjs} +13 -13
- package/dist/{chunk-WJYCI56T.mjs → chunk-QPPQHB6X.mjs} +43 -30
- package/dist/{chunk-RR6UGYUT.mjs → chunk-RAI7NULA.mjs} +39 -9
- package/dist/{chunk-6K4SPQWL.cjs → chunk-RCYINC4A.cjs} +3 -3
- package/dist/{chunk-QYMRIVG6.cjs → chunk-SZ4LYNUX.cjs} +110 -97
- package/dist/{chunk-N2Z4ZFDE.mjs → chunk-UXQXGB5A.mjs} +19 -12
- package/dist/{chunk-CFNOGDUS.cjs → chunk-W2HZKYES.cjs} +2 -2
- package/dist/{chunk-O5DVPF3R.cjs → chunk-WFPRVVF2.cjs} +10 -10
- package/dist/{chunk-5YYJ6Q2L.mjs → chunk-YMUH2BLR.mjs} +2 -2
- package/dist/{client-plugins-DPG0NeZN.d.mts → client-plugins-B8RPJnot.d.mts} +90 -3
- package/dist/{client-plugins-Fgni-_25.d.ts → client-plugins-bPBf4haK.d.ts} +90 -3
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client.d.mts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/{devtools-I7TBFOKD.mjs → devtools-5D4ZDRPR.mjs} +5 -3
- package/dist/{devtools-6OA7FEF6.cjs → devtools-QZJEUOJW.cjs} +6 -4
- package/dist/docs.cjs +8 -6
- package/dist/docs.mjs +7 -5
- package/dist/index.cjs +17 -13
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.mjs +16 -12
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -3
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +4 -2
- package/dist/internal/build-runtime.cjs +14 -13
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +13 -12
- package/dist/internal/cli-runtime.cjs +6 -5
- package/dist/internal/cli-runtime.mjs +5 -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 +2 -2
- package/dist/internal/compression-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.cjs +6 -4
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +5 -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 +5 -4
- package/dist/internal/production-runtime.d.mts +11 -9
- package/dist/internal/production-runtime.d.ts +11 -9
- package/dist/internal/production-runtime.mjs +4 -3
- package/dist/markdown.cjs +4 -2
- package/dist/markdown.mjs +3 -1
- package/dist/{metadata-D0EF7esB.d.mts → metadata-C3na4CBj.d.mts} +1 -1
- package/dist/{metadata-CDnRHKVq.d.ts → metadata-CzBP4Mfp.d.ts} +1 -1
- package/dist/middleware.d.mts +4 -4
- package/dist/middleware.d.ts +4 -4
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- 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 +9 -8
- package/dist/plugin.d.mts +2 -2
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.mjs +8 -7
- package/dist/{production-runtime-DpCt0opU.d.ts → production-runtime-CYg4wM4E.d.ts} +1 -1
- package/dist/{production-runtime-x3W4wVqx.d.mts → production-runtime-DP94hPGe.d.mts} +1 -1
- package/dist/{render-plan-D5oFRVBV.d.ts → render-plan-Bl6Fzg5z.d.ts} +1 -1
- package/dist/{render-plan-tazUJalK.d.mts → render-plan-CKAJg0jC.d.mts} +1 -1
- package/dist/renderer-client.d.mts +4 -4
- package/dist/renderer-client.d.ts +4 -4
- package/dist/{request-CzZX0Aew.d.ts → request-CR-Bp1Px.d.ts} +1 -1
- package/dist/{request-CXmQy5ks.d.mts → request-CrBCcPZZ.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/{route-rendering-B-qpe32B.d.mts → route-rendering-C1NAHo-C.d.mts} +1 -1
- package/dist/{route-rendering-Dw3C362T.d.ts → route-rendering-CZH5FegB.d.ts} +1 -1
- package/dist/{router-CafM2jlw.d.mts → router-B57eDJ3u.d.mts} +1 -1
- package/dist/{router-CLl3xHwl.d.ts → router-Cg_kD3Bd.d.ts} +1 -1
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +159 -102
- package/dist/server.d.mts +8 -8
- package/dist/server.d.ts +8 -8
- package/dist/server.mjs +140 -83
- package/dist/{spa-router-DePr2aZ6.d.ts → spa-router-BstQUO6Q.d.ts} +2 -2
- package/dist/{spa-router-6sJfsMlQ.d.mts → spa-router-DTdbuinx.d.mts} +2 -2
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/{utils-BPHr-1mP.d.mts → utils-CS3ZLnEJ.d.mts} +1 -1
- package/dist/{utils-BBKC3cf3.d.ts → utils-D3rdsIvM.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +9 -8
- package/dist/vite.d.mts +2 -2
- package/dist/vite.d.ts +2 -2
- package/dist/vite.mjs +8 -7
- package/package.json +1 -1
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 _chunk3TQG7CGCcjs = require('./chunk-3TQG7CGC.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-QJ4D3UKJ.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-2CT6XUNO.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-W2HZKYES.cjs');
|
|
37
|
+
require('./chunk-RCYINC4A.cjs');
|
|
38
38
|
require('./chunk-OHY2ZWUG.cjs');
|
|
39
|
-
require('./chunk-
|
|
39
|
+
require('./chunk-QIH2HD6H.cjs');
|
|
40
|
+
require('./chunk-J63ZH5OQ.cjs');
|
|
40
41
|
require('./chunk-UYIHRDE4.cjs');
|
|
41
42
|
require('./chunk-MPEYMSCF.cjs');
|
|
42
43
|
require('./chunk-JDNHKPTD.cjs');
|
|
@@ -75,7 +76,7 @@ require('./chunk-HBTUGXHS.cjs');
|
|
|
75
76
|
require('./chunk-5QIKR7RR.cjs');
|
|
76
77
|
require('./chunk-QNPEUFHQ.cjs');
|
|
77
78
|
require('./chunk-UQZ4AYTH.cjs');
|
|
78
|
-
require('./chunk-
|
|
79
|
+
require('./chunk-ALIFMS4A.cjs');
|
|
79
80
|
require('./chunk-OYEUREB6.cjs');
|
|
80
81
|
require('./chunk-7W3CPVXS.cjs');
|
|
81
82
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -111,4 +112,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
|
|
114
|
-
exports.FARM_NODE_RESPONSE_END_PENDING =
|
|
115
|
+
exports.FARM_NODE_RESPONSE_END_PENDING = _chunk3TQG7CGCcjs.FARM_NODE_RESPONSE_END_PENDING; exports.FarmDevEnvironmentError = _chunkBMWDEBXOcjs.FarmDevEnvironmentError; exports.FarmRuntimeShutdownError = _chunk3TQG7CGCcjs.FarmRuntimeShutdownError; exports.PluginManager = _chunk3TQG7CGCcjs.PluginManager; exports.definePlugin = _chunk3TQG7CGCcjs.definePlugin; exports.farmPlugin = _chunk3TQG7CGCcjs.farmPlugin; exports.loadFarmDevModule = _chunkBMWDEBXOcjs.loadFarmDevModule;
|
package/dist/plugin.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { cq as APIHandlerLifecyclePayload, cm as APIRouteDiscoveredPayload, ct as BundleLifecyclePayload, D as BundleResultPayload, cr as ErrorLifecyclePayload, fr as FARM_NODE_RESPONSE_END_PENDING, ft as FarmDevEnvironmentError, fu as FarmDevModuleServer, a as FarmPlugin, cg as FarmPluginBuildHooks, ci as FarmPluginClientConfig, h as FarmPluginContext, b2 as FarmPluginDatabase, b3 as FarmPluginDefinition, ch as FarmPluginDevHooks, cd as FarmPluginDiscoveredRoute, bU as FarmPluginIntegrationContext, bV as FarmPluginLifecycle, cf as FarmPluginRenderHooks, bZ as FarmPluginRouteRuntimePayload, ce as FarmPluginRouterHooks, c5 as FarmPluginRuntimeAfterEvent, c0 as FarmPluginRuntimeBaseEvent, c4 as FarmPluginRuntimeBeforeEvent, c8 as FarmPluginRuntimeCloseEvent, c1 as FarmPluginRuntimeContextEvent, c2 as FarmPluginRuntimeEndpoint, c3 as FarmPluginRuntimeEndpointEvent, c6 as FarmPluginRuntimeErrorEvent, c9 as FarmPluginRuntimeHooks, bY as FarmPluginRuntimeKind, cb as FarmPluginRuntimeRequestHandler, ca as FarmPluginRuntimeRequestOptions, cc as FarmPluginRuntimeSession, c7 as FarmPluginRuntimeStartEvent, b_ as FarmPluginSetupContext, b$ as FarmPluginStateContext, bW as FarmRequestPluginContext, bX as FarmRequestStore, b0 as FarmRuntimeShutdownError, cs as HMRUpdatePayload, cl as MiddlewareDiscoveredPayload, cu as NitroBuildLifecyclePayload, b1 as PluginManager, bT as PluginRequestContext, cp as RenderLifecyclePayload, cj as RouteDiscoveredPayload, cn as RouteMatchPayload, co as RouteMatchResultPayload, ck as RoutesGeneratedPayload, cv as ShutdownPayload, a$ as definePlugin, H as farmPlugin, fs as loadFarmDevModule } from './client-plugins-B8RPJnot.mjs';
|
|
2
2
|
export { i as PluginLocalAPI, h as PluginLocalAPIEndpoint, g as PluginRoutes, P as PluginRoutesFactory, d as RouteDefinition, R as RouteMethod } from './route-B0XrsrFk.mjs';
|
|
3
3
|
export { d as EndpointMCPMetadata, b as EndpointMCPOptions, f as EndpointOpenAPIMetadata, R as RouteSchema } from './endpoint-DAc96i93.mjs';
|
|
4
4
|
import 'vite';
|
|
@@ -17,7 +17,7 @@ import './integration-api-BbaiokCC.mjs';
|
|
|
17
17
|
import '@farming-labs/orm';
|
|
18
18
|
import './types-DFbjpjXX.mjs';
|
|
19
19
|
import '@farming-labs/docs';
|
|
20
|
-
import './observability.mjs';
|
|
20
|
+
import './observability-BupkiN0m.mjs';
|
|
21
21
|
import '@opentelemetry/api';
|
|
22
22
|
import './workflows-CR9ex-gz.mjs';
|
|
23
23
|
import './cron.mjs';
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { cq as APIHandlerLifecyclePayload, cm as APIRouteDiscoveredPayload, ct as BundleLifecyclePayload, D as BundleResultPayload, cr as ErrorLifecyclePayload, fr as FARM_NODE_RESPONSE_END_PENDING, ft as FarmDevEnvironmentError, fu as FarmDevModuleServer, a as FarmPlugin, cg as FarmPluginBuildHooks, ci as FarmPluginClientConfig, h as FarmPluginContext, b2 as FarmPluginDatabase, b3 as FarmPluginDefinition, ch as FarmPluginDevHooks, cd as FarmPluginDiscoveredRoute, bU as FarmPluginIntegrationContext, bV as FarmPluginLifecycle, cf as FarmPluginRenderHooks, bZ as FarmPluginRouteRuntimePayload, ce as FarmPluginRouterHooks, c5 as FarmPluginRuntimeAfterEvent, c0 as FarmPluginRuntimeBaseEvent, c4 as FarmPluginRuntimeBeforeEvent, c8 as FarmPluginRuntimeCloseEvent, c1 as FarmPluginRuntimeContextEvent, c2 as FarmPluginRuntimeEndpoint, c3 as FarmPluginRuntimeEndpointEvent, c6 as FarmPluginRuntimeErrorEvent, c9 as FarmPluginRuntimeHooks, bY as FarmPluginRuntimeKind, cb as FarmPluginRuntimeRequestHandler, ca as FarmPluginRuntimeRequestOptions, cc as FarmPluginRuntimeSession, c7 as FarmPluginRuntimeStartEvent, b_ as FarmPluginSetupContext, b$ as FarmPluginStateContext, bW as FarmRequestPluginContext, bX as FarmRequestStore, b0 as FarmRuntimeShutdownError, cs as HMRUpdatePayload, cl as MiddlewareDiscoveredPayload, cu as NitroBuildLifecyclePayload, b1 as PluginManager, bT as PluginRequestContext, cp as RenderLifecyclePayload, cj as RouteDiscoveredPayload, cn as RouteMatchPayload, co as RouteMatchResultPayload, ck as RoutesGeneratedPayload, cv as ShutdownPayload, a$ as definePlugin, H as farmPlugin, fs as loadFarmDevModule } from './client-plugins-bPBf4haK.js';
|
|
2
2
|
export { i as PluginLocalAPI, h as PluginLocalAPIEndpoint, g as PluginRoutes, P as PluginRoutesFactory, d as RouteDefinition, R as RouteMethod } from './route-DOEpbyWZ.js';
|
|
3
3
|
export { d as EndpointMCPMetadata, b as EndpointMCPOptions, f as EndpointOpenAPIMetadata, R as RouteSchema } from './endpoint-1zA994xL.js';
|
|
4
4
|
import 'vite';
|
|
@@ -17,7 +17,7 @@ import './integration-api-BbaiokCC.js';
|
|
|
17
17
|
import '@farming-labs/orm';
|
|
18
18
|
import './types-DFbjpjXX.js';
|
|
19
19
|
import '@farming-labs/docs';
|
|
20
|
-
import './observability.js';
|
|
20
|
+
import './observability-BupkiN0m.js';
|
|
21
21
|
import '@opentelemetry/api';
|
|
22
22
|
import './workflows-CR9ex-gz.js';
|
|
23
23
|
import './cron.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-UXQXGB5A.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-ARXCHQLX.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-RAI7NULA.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-74RZNRY6.mjs";
|
|
37
|
+
import "./chunk-JM5GQL4H.mjs";
|
|
38
38
|
import "./chunk-FA2W42OV.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-OOIL3BWR.mjs";
|
|
40
|
+
import "./chunk-MVL2RAJW.mjs";
|
|
40
41
|
import "./chunk-SFGWNC43.mjs";
|
|
41
42
|
import "./chunk-3ATMYLLJ.mjs";
|
|
42
43
|
import "./chunk-2UC36WAC.mjs";
|
|
@@ -75,7 +76,7 @@ import "./chunk-YMCXWPWK.mjs";
|
|
|
75
76
|
import "./chunk-KI3MESHB.mjs";
|
|
76
77
|
import "./chunk-QVKYGNVM.mjs";
|
|
77
78
|
import "./chunk-Z2RZJZIZ.mjs";
|
|
78
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-PPIW3MH6.mjs";
|
|
79
80
|
import "./chunk-54UPOYFS.mjs";
|
|
80
81
|
import "./chunk-WNSDDRNU.mjs";
|
|
81
82
|
import "./chunk-JPLUGGRV.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ar as ReadonlyMiddlewareStore, as as FarmMiddlewareConfig, at as MiddlewareModule, au as MiddlewareConfig, av as MiddlewareContext } from './client-plugins-
|
|
1
|
+
import { ar as ReadonlyMiddlewareStore, as as FarmMiddlewareConfig, at as MiddlewareModule, au as MiddlewareConfig, av as MiddlewareContext } from './client-plugins-bPBf4haK.js';
|
|
2
2
|
import { R as ResolvedFarmI18nConfig } from './types-Z0aotQ8w.js';
|
|
3
3
|
import { R as ResolvedFarmServerConfig } from './workflows-CR9ex-gz.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ar as ReadonlyMiddlewareStore, as as FarmMiddlewareConfig, at as MiddlewareModule, au as MiddlewareConfig, av as MiddlewareContext } from './client-plugins-
|
|
1
|
+
import { ar as ReadonlyMiddlewareStore, as as FarmMiddlewareConfig, at as MiddlewareModule, au as MiddlewareConfig, av as MiddlewareContext } from './client-plugins-B8RPJnot.mjs';
|
|
2
2
|
import { R as ResolvedFarmI18nConfig } from './types-Z0aotQ8w.mjs';
|
|
3
3
|
import { R as ResolvedFarmServerConfig } from './workflows-CR9ex-gz.mjs';
|
|
4
4
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-DTdbuinx.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-aP52iuL5.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.mjs';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-Z0aotQ8w.mjs';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-B8RPJnot.mjs';
|
|
10
10
|
import './lifecycle-DK06VuKP.mjs';
|
|
11
11
|
import './route-B0XrsrFk.mjs';
|
|
12
12
|
import './endpoint-DAc96i93.mjs';
|
|
@@ -24,7 +24,7 @@ import './integration-api-BbaiokCC.mjs';
|
|
|
24
24
|
import '@farming-labs/orm';
|
|
25
25
|
import './types-DFbjpjXX.mjs';
|
|
26
26
|
import '@farming-labs/docs';
|
|
27
|
-
import './observability.mjs';
|
|
27
|
+
import './observability-BupkiN0m.mjs';
|
|
28
28
|
import '@opentelemetry/api';
|
|
29
29
|
import 'vite';
|
|
30
30
|
import './workflows-CR9ex-gz.mjs';
|
|
@@ -39,7 +39,7 @@ import './font.mjs';
|
|
|
39
39
|
import './after.mjs';
|
|
40
40
|
import 'node:http';
|
|
41
41
|
import './island-CfGru1MO.mjs';
|
|
42
|
-
import './render-plan-
|
|
42
|
+
import './render-plan-CKAJg0jC.mjs';
|
|
43
43
|
|
|
44
44
|
interface FarmClientStore<TSnapshot> {
|
|
45
45
|
getSnapshot(): TSnapshot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-BstQUO6Q.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-DXRNhX_3.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.js';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-Z0aotQ8w.js';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-bPBf4haK.js';
|
|
10
10
|
import './lifecycle-DK06VuKP.js';
|
|
11
11
|
import './route-DOEpbyWZ.js';
|
|
12
12
|
import './endpoint-1zA994xL.js';
|
|
@@ -24,7 +24,7 @@ import './integration-api-BbaiokCC.js';
|
|
|
24
24
|
import '@farming-labs/orm';
|
|
25
25
|
import './types-DFbjpjXX.js';
|
|
26
26
|
import '@farming-labs/docs';
|
|
27
|
-
import './observability.js';
|
|
27
|
+
import './observability-BupkiN0m.js';
|
|
28
28
|
import '@opentelemetry/api';
|
|
29
29
|
import 'vite';
|
|
30
30
|
import './workflows-CR9ex-gz.js';
|
|
@@ -39,7 +39,7 @@ import './font.js';
|
|
|
39
39
|
import './after.js';
|
|
40
40
|
import 'node:http';
|
|
41
41
|
import './island-CfGru1MO.js';
|
|
42
|
-
import './render-plan-
|
|
42
|
+
import './render-plan-Bl6Fzg5z.js';
|
|
43
43
|
|
|
44
44
|
interface FarmClientStore<TSnapshot> {
|
|
45
45
|
getSnapshot(): TSnapshot;
|