miniflare 0.0.0-2bc289e2e → 0.0.0-2be85d77d
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/src/index.d.ts +1609 -182
- package/dist/src/index.js +2819 -959
- package/dist/src/index.js.map +3 -3
- package/dist/src/workers/analytics-engine/analytics-engine.worker.js +10 -0
- package/dist/src/workers/analytics-engine/analytics-engine.worker.js.map +6 -0
- package/dist/src/workers/assets/assets.worker.js +650 -242
- package/dist/src/workers/assets/assets.worker.js.map +2 -2
- package/dist/src/workers/assets/router.worker.js +3 -4
- package/dist/src/workers/assets/router.worker.js.map +1 -1
- package/dist/src/workers/assets/rpc-proxy.worker.js +7 -0
- package/dist/src/workers/assets/rpc-proxy.worker.js.map +1 -1
- package/dist/src/workers/cache/cache.worker.js +2 -1
- package/dist/src/workers/cache/cache.worker.js.map +1 -1
- package/dist/src/workers/core/entry.worker.js +3371 -50
- package/dist/src/workers/core/entry.worker.js.map +3 -3
- package/dist/src/workers/d1/database.worker.js +6 -2
- package/dist/src/workers/d1/database.worker.js.map +1 -1
- package/dist/src/workers/email/email.worker.js +23 -0
- package/dist/src/workers/email/email.worker.js.map +6 -0
- package/dist/src/workers/email/send_email.worker.js +3180 -0
- package/dist/src/workers/email/send_email.worker.js.map +6 -0
- package/dist/src/workers/kv/namespace.worker.js +67 -2
- package/dist/src/workers/kv/namespace.worker.js.map +2 -2
- package/dist/src/workers/kv/sites.worker.js +2 -1
- package/dist/src/workers/kv/sites.worker.js.map +1 -1
- package/dist/src/workers/secrets-store/secret.worker.js +65 -0
- package/dist/src/workers/secrets-store/secret.worker.js.map +6 -0
- package/dist/src/workers/workflows/binding.worker.js +162 -5
- package/dist/src/workers/workflows/binding.worker.js.map +1 -1
- package/package.json +13 -10
package/dist/src/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { Json as Json_2 } from '..';
|
|
|
23
23
|
import { kCurrentWorker as kCurrentWorker_2 } from '..';
|
|
24
24
|
import { kUnsafeEphemeralUniqueKey as kUnsafeEphemeralUniqueKey_2 } from './shared';
|
|
25
25
|
import type { KVNamespace } from '@cloudflare/workers-types/experimental';
|
|
26
|
+
import type { KVNamespaceListKey } from '@cloudflare/workers-types/experimental';
|
|
26
27
|
import { Log as Log_2 } from '..';
|
|
27
28
|
import { Miniflare as Miniflare_2 } from '../..';
|
|
28
29
|
import { Miniflare as Miniflare_3 } from '..';
|
|
@@ -71,6 +72,36 @@ export declare class __MiniflareFunctionWrapper {
|
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
74
|
|
|
75
|
+
export declare const ANALYTICS_ENGINE_PLUGIN: Plugin<typeof AnalyticsEngineSchemaOptionsSchema, typeof AnalyticsEngineSchemaSharedOptionsSchema>;
|
|
76
|
+
|
|
77
|
+
export declare const ANALYTICS_ENGINE_PLUGIN_NAME = "analytics-engine";
|
|
78
|
+
|
|
79
|
+
export declare const AnalyticsEngineSchemaOptionsSchema: z.ZodObject<{
|
|
80
|
+
analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
81
|
+
dataset: z.ZodString;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
dataset: string;
|
|
84
|
+
}, {
|
|
85
|
+
dataset: string;
|
|
86
|
+
}>>>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
analyticsEngineDatasets?: Record<string, {
|
|
89
|
+
dataset: string;
|
|
90
|
+
}> | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
analyticsEngineDatasets?: Record<string, {
|
|
93
|
+
dataset: string;
|
|
94
|
+
}> | undefined;
|
|
95
|
+
}>;
|
|
96
|
+
|
|
97
|
+
export declare const AnalyticsEngineSchemaSharedOptionsSchema: z.ZodObject<{
|
|
98
|
+
analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
analyticsEngineDatasetsPersist?: string | boolean | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
analyticsEngineDatasetsPersist?: string | boolean | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
|
|
74
105
|
export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
|
|
75
106
|
|
|
76
107
|
export declare type AssetReverseMap = {
|
|
@@ -90,40 +121,153 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
90
121
|
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
91
122
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
92
123
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
93
125
|
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
94
126
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
95
127
|
}, "strip", z.ZodTypeAny, {
|
|
96
128
|
account_id?: number;
|
|
97
129
|
script_id?: number;
|
|
130
|
+
debug?: boolean;
|
|
98
131
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
99
132
|
has_user_worker?: boolean;
|
|
100
133
|
}, {
|
|
101
134
|
account_id?: number;
|
|
102
135
|
script_id?: number;
|
|
136
|
+
debug?: boolean;
|
|
103
137
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
104
138
|
has_user_worker?: boolean;
|
|
105
139
|
}>>;
|
|
106
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
107
141
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
108
142
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
109
144
|
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
110
145
|
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111
146
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
112
147
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
148
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
version: z.ZodLiteral<1>;
|
|
150
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
151
|
+
status: z.ZodNumber;
|
|
152
|
+
to: z.ZodString;
|
|
153
|
+
lineNumber: z.ZodNumber;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
status?: number;
|
|
156
|
+
to?: string;
|
|
157
|
+
lineNumber?: number;
|
|
158
|
+
}, {
|
|
159
|
+
status?: number;
|
|
160
|
+
to?: string;
|
|
161
|
+
lineNumber?: number;
|
|
162
|
+
}>>;
|
|
163
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
164
|
+
status: z.ZodNumber;
|
|
165
|
+
to: z.ZodString;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
status?: number;
|
|
168
|
+
to?: string;
|
|
169
|
+
}, {
|
|
170
|
+
status?: number;
|
|
171
|
+
to?: string;
|
|
172
|
+
}>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
version?: 1;
|
|
175
|
+
staticRules?: Record<string, {
|
|
176
|
+
status?: number;
|
|
177
|
+
to?: string;
|
|
178
|
+
lineNumber?: number;
|
|
179
|
+
}>;
|
|
180
|
+
rules?: Record<string, {
|
|
181
|
+
status?: number;
|
|
182
|
+
to?: string;
|
|
183
|
+
}>;
|
|
184
|
+
}, {
|
|
185
|
+
version?: 1;
|
|
186
|
+
staticRules?: Record<string, {
|
|
187
|
+
status?: number;
|
|
188
|
+
to?: string;
|
|
189
|
+
lineNumber?: number;
|
|
190
|
+
}>;
|
|
191
|
+
rules?: Record<string, {
|
|
192
|
+
status?: number;
|
|
193
|
+
to?: string;
|
|
194
|
+
}>;
|
|
195
|
+
}>>;
|
|
196
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
version: z.ZodLiteral<2>;
|
|
198
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
199
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
set?: Record<string, string>;
|
|
203
|
+
unset?: string[];
|
|
204
|
+
}, {
|
|
205
|
+
set?: Record<string, string>;
|
|
206
|
+
unset?: string[];
|
|
207
|
+
}>>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
version?: 2;
|
|
210
|
+
rules?: Record<string, {
|
|
211
|
+
set?: Record<string, string>;
|
|
212
|
+
unset?: string[];
|
|
213
|
+
}>;
|
|
214
|
+
}, {
|
|
215
|
+
version?: 2;
|
|
216
|
+
rules?: Record<string, {
|
|
217
|
+
set?: Record<string, string>;
|
|
218
|
+
unset?: string[];
|
|
219
|
+
}>;
|
|
220
|
+
}>>;
|
|
221
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
222
|
+
headers?: {
|
|
223
|
+
version?: 2;
|
|
224
|
+
rules?: Record<string, {
|
|
225
|
+
set?: Record<string, string>;
|
|
226
|
+
unset?: string[];
|
|
227
|
+
}>;
|
|
228
|
+
} | undefined;
|
|
229
|
+
debug?: boolean | undefined;
|
|
230
|
+
account_id?: number | undefined;
|
|
231
|
+
script_id?: number | undefined;
|
|
232
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
233
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
234
|
+
redirects?: {
|
|
235
|
+
version?: 1;
|
|
236
|
+
staticRules?: Record<string, {
|
|
237
|
+
status?: number;
|
|
238
|
+
to?: string;
|
|
239
|
+
lineNumber?: number;
|
|
240
|
+
}>;
|
|
241
|
+
rules?: Record<string, {
|
|
242
|
+
status?: number;
|
|
243
|
+
to?: string;
|
|
244
|
+
}>;
|
|
245
|
+
} | undefined;
|
|
120
246
|
}, {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
247
|
+
headers?: {
|
|
248
|
+
version?: 2;
|
|
249
|
+
rules?: Record<string, {
|
|
250
|
+
set?: Record<string, string>;
|
|
251
|
+
unset?: string[];
|
|
252
|
+
}>;
|
|
253
|
+
} | undefined;
|
|
254
|
+
debug?: boolean | undefined;
|
|
255
|
+
account_id?: number | undefined;
|
|
256
|
+
script_id?: number | undefined;
|
|
257
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
258
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
259
|
+
redirects?: {
|
|
260
|
+
version?: 1;
|
|
261
|
+
staticRules?: Record<string, {
|
|
262
|
+
status?: number;
|
|
263
|
+
to?: string;
|
|
264
|
+
lineNumber?: number;
|
|
265
|
+
}>;
|
|
266
|
+
rules?: Record<string, {
|
|
267
|
+
status?: number;
|
|
268
|
+
to?: string;
|
|
269
|
+
}>;
|
|
270
|
+
} | undefined;
|
|
127
271
|
}>>;
|
|
128
272
|
}, "strip", z.ZodTypeAny, {
|
|
129
273
|
directory: string;
|
|
@@ -132,16 +276,35 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
132
276
|
routerConfig?: {
|
|
133
277
|
account_id?: number;
|
|
134
278
|
script_id?: number;
|
|
279
|
+
debug?: boolean;
|
|
135
280
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
136
281
|
has_user_worker?: boolean;
|
|
137
282
|
} | undefined;
|
|
138
283
|
assetConfig?: {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
284
|
+
headers?: {
|
|
285
|
+
version?: 2;
|
|
286
|
+
rules?: Record<string, {
|
|
287
|
+
set?: Record<string, string>;
|
|
288
|
+
unset?: string[];
|
|
289
|
+
}>;
|
|
290
|
+
} | undefined;
|
|
291
|
+
debug?: boolean | undefined;
|
|
292
|
+
account_id?: number | undefined;
|
|
293
|
+
script_id?: number | undefined;
|
|
294
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
295
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
296
|
+
redirects?: {
|
|
297
|
+
version?: 1;
|
|
298
|
+
staticRules?: Record<string, {
|
|
299
|
+
status?: number;
|
|
300
|
+
to?: string;
|
|
301
|
+
lineNumber?: number;
|
|
302
|
+
}>;
|
|
303
|
+
rules?: Record<string, {
|
|
304
|
+
status?: number;
|
|
305
|
+
to?: string;
|
|
306
|
+
}>;
|
|
307
|
+
} | undefined;
|
|
145
308
|
} | undefined;
|
|
146
309
|
}, {
|
|
147
310
|
directory: string;
|
|
@@ -150,18 +313,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
150
313
|
routerConfig?: {
|
|
151
314
|
account_id?: number;
|
|
152
315
|
script_id?: number;
|
|
316
|
+
debug?: boolean;
|
|
153
317
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
154
318
|
has_user_worker?: boolean;
|
|
155
319
|
} | undefined;
|
|
156
320
|
assetConfig?: {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
321
|
+
headers?: {
|
|
322
|
+
version?: 2;
|
|
323
|
+
rules?: Record<string, {
|
|
324
|
+
set?: Record<string, string>;
|
|
325
|
+
unset?: string[];
|
|
326
|
+
}>;
|
|
327
|
+
} | undefined;
|
|
328
|
+
debug?: boolean | undefined;
|
|
329
|
+
account_id?: number | undefined;
|
|
330
|
+
script_id?: number | undefined;
|
|
331
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
332
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
333
|
+
redirects?: {
|
|
334
|
+
version?: 1;
|
|
335
|
+
staticRules?: Record<string, {
|
|
336
|
+
status?: number;
|
|
337
|
+
to?: string;
|
|
338
|
+
lineNumber?: number;
|
|
339
|
+
}>;
|
|
340
|
+
rules?: Record<string, {
|
|
341
|
+
status?: number;
|
|
342
|
+
to?: string;
|
|
343
|
+
}>;
|
|
344
|
+
} | undefined;
|
|
163
345
|
} | undefined;
|
|
164
346
|
}>>;
|
|
347
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
348
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
349
|
}, "strip", z.ZodTypeAny, {
|
|
166
350
|
assets?: {
|
|
167
351
|
directory: string;
|
|
@@ -170,18 +354,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
170
354
|
routerConfig?: {
|
|
171
355
|
account_id?: number;
|
|
172
356
|
script_id?: number;
|
|
357
|
+
debug?: boolean;
|
|
173
358
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
174
359
|
has_user_worker?: boolean;
|
|
175
360
|
} | undefined;
|
|
176
361
|
assetConfig?: {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
362
|
+
headers?: {
|
|
363
|
+
version?: 2;
|
|
364
|
+
rules?: Record<string, {
|
|
365
|
+
set?: Record<string, string>;
|
|
366
|
+
unset?: string[];
|
|
367
|
+
}>;
|
|
368
|
+
} | undefined;
|
|
369
|
+
debug?: boolean | undefined;
|
|
370
|
+
account_id?: number | undefined;
|
|
371
|
+
script_id?: number | undefined;
|
|
372
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
373
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
374
|
+
redirects?: {
|
|
375
|
+
version?: 1;
|
|
376
|
+
staticRules?: Record<string, {
|
|
377
|
+
status?: number;
|
|
378
|
+
to?: string;
|
|
379
|
+
lineNumber?: number;
|
|
380
|
+
}>;
|
|
381
|
+
rules?: Record<string, {
|
|
382
|
+
status?: number;
|
|
383
|
+
to?: string;
|
|
384
|
+
}>;
|
|
385
|
+
} | undefined;
|
|
183
386
|
} | undefined;
|
|
184
387
|
} | undefined;
|
|
388
|
+
compatibilityDate?: string | undefined;
|
|
389
|
+
compatibilityFlags?: string[] | undefined;
|
|
185
390
|
}, {
|
|
186
391
|
assets?: {
|
|
187
392
|
directory: string;
|
|
@@ -190,18 +395,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
190
395
|
routerConfig?: {
|
|
191
396
|
account_id?: number;
|
|
192
397
|
script_id?: number;
|
|
398
|
+
debug?: boolean;
|
|
193
399
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
194
400
|
has_user_worker?: boolean;
|
|
195
401
|
} | undefined;
|
|
196
402
|
assetConfig?: {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
403
|
+
headers?: {
|
|
404
|
+
version?: 2;
|
|
405
|
+
rules?: Record<string, {
|
|
406
|
+
set?: Record<string, string>;
|
|
407
|
+
unset?: string[];
|
|
408
|
+
}>;
|
|
409
|
+
} | undefined;
|
|
410
|
+
debug?: boolean | undefined;
|
|
411
|
+
account_id?: number | undefined;
|
|
412
|
+
script_id?: number | undefined;
|
|
413
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
414
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
415
|
+
redirects?: {
|
|
416
|
+
version?: 1;
|
|
417
|
+
staticRules?: Record<string, {
|
|
418
|
+
status?: number;
|
|
419
|
+
to?: string;
|
|
420
|
+
lineNumber?: number;
|
|
421
|
+
}>;
|
|
422
|
+
rules?: Record<string, {
|
|
423
|
+
status?: number;
|
|
424
|
+
to?: string;
|
|
425
|
+
}>;
|
|
426
|
+
} | undefined;
|
|
203
427
|
} | undefined;
|
|
204
428
|
} | undefined;
|
|
429
|
+
compatibilityDate?: string | undefined;
|
|
430
|
+
compatibilityFlags?: string[] | undefined;
|
|
205
431
|
}>;
|
|
206
432
|
|
|
207
433
|
export declare type Awaitable<T> = T | Promise<T>;
|
|
@@ -307,6 +533,8 @@ export declare const CoreBindings: {
|
|
|
307
533
|
readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
|
|
308
534
|
readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
|
|
309
535
|
readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
|
|
536
|
+
readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
|
|
537
|
+
readonly LOG_REQUESTS: "LOG_REQUESTS";
|
|
310
538
|
};
|
|
311
539
|
|
|
312
540
|
export declare const CoreHeaders: {
|
|
@@ -328,29 +556,29 @@ export declare const CoreHeaders: {
|
|
|
328
556
|
|
|
329
557
|
export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
330
558
|
modules: z.ZodArray<z.ZodObject<{
|
|
331
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
559
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
332
560
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
333
561
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
334
562
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
type: "ESModule" | "CommonJS" | "
|
|
563
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
336
564
|
path: string;
|
|
337
565
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
338
566
|
}, {
|
|
339
|
-
type: "ESModule" | "CommonJS" | "
|
|
567
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
340
568
|
path: string;
|
|
341
569
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
342
570
|
}>, "many">;
|
|
343
571
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
344
572
|
}, "strip", z.ZodTypeAny, {
|
|
345
573
|
modules: {
|
|
346
|
-
type: "ESModule" | "CommonJS" | "
|
|
574
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
347
575
|
path: string;
|
|
348
576
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
349
577
|
}[];
|
|
350
578
|
modulesRoot?: string | undefined;
|
|
351
579
|
}, {
|
|
352
580
|
modules: {
|
|
353
|
-
type: "ESModule" | "CommonJS" | "
|
|
581
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
354
582
|
path: string;
|
|
355
583
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
356
584
|
}[];
|
|
@@ -360,15 +588,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
360
588
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
361
589
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
362
590
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
591
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
364
592
|
include: z.ZodArray<z.ZodString, "many">;
|
|
365
593
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
366
594
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
type: "ESModule" | "CommonJS" | "
|
|
595
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
368
596
|
include: string[];
|
|
369
597
|
fallthrough?: boolean | undefined;
|
|
370
598
|
}, {
|
|
371
|
-
type: "ESModule" | "CommonJS" | "
|
|
599
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
372
600
|
include: string[];
|
|
373
601
|
fallthrough?: boolean | undefined;
|
|
374
602
|
}>, "many">>;
|
|
@@ -378,7 +606,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
378
606
|
scriptPath?: string | undefined;
|
|
379
607
|
modules?: boolean | undefined;
|
|
380
608
|
modulesRules?: {
|
|
381
|
-
type: "ESModule" | "CommonJS" | "
|
|
609
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
382
610
|
include: string[];
|
|
383
611
|
fallthrough?: boolean | undefined;
|
|
384
612
|
}[] | undefined;
|
|
@@ -388,7 +616,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
388
616
|
scriptPath?: string | undefined;
|
|
389
617
|
modules?: boolean | undefined;
|
|
390
618
|
modulesRules?: {
|
|
391
|
-
type: "ESModule" | "CommonJS" | "
|
|
619
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
392
620
|
include: string[];
|
|
393
621
|
fallthrough?: boolean | undefined;
|
|
394
622
|
}[] | undefined;
|
|
@@ -397,15 +625,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
397
625
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
398
626
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
399
627
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
628
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
401
629
|
include: z.ZodArray<z.ZodString, "many">;
|
|
402
630
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
403
631
|
}, "strip", z.ZodTypeAny, {
|
|
404
|
-
type: "ESModule" | "CommonJS" | "
|
|
632
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
405
633
|
include: string[];
|
|
406
634
|
fallthrough?: boolean | undefined;
|
|
407
635
|
}, {
|
|
408
|
-
type: "ESModule" | "CommonJS" | "
|
|
636
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
409
637
|
include: string[];
|
|
410
638
|
fallthrough?: boolean | undefined;
|
|
411
639
|
}>, "many">>;
|
|
@@ -414,7 +642,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
414
642
|
scriptPath: string;
|
|
415
643
|
modules?: boolean | undefined;
|
|
416
644
|
modulesRules?: {
|
|
417
|
-
type: "ESModule" | "CommonJS" | "
|
|
645
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
418
646
|
include: string[];
|
|
419
647
|
fallthrough?: boolean | undefined;
|
|
420
648
|
}[] | undefined;
|
|
@@ -423,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
423
651
|
scriptPath: string;
|
|
424
652
|
modules?: boolean | undefined;
|
|
425
653
|
modulesRules?: {
|
|
426
|
-
type: "ESModule" | "CommonJS" | "
|
|
654
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
427
655
|
include: string[];
|
|
428
656
|
fallthrough?: boolean | undefined;
|
|
429
657
|
}[] | undefined;
|
|
@@ -433,6 +661,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
433
661
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
434
662
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
435
663
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
664
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
436
665
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
437
666
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
|
|
438
667
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -441,12 +670,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
441
670
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
442
671
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
443
672
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
673
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
444
674
|
}, "strip", z.ZodTypeAny, {
|
|
445
675
|
name: string | typeof kCurrentWorker;
|
|
446
676
|
entrypoint?: string | undefined;
|
|
677
|
+
props?: Record<string, unknown> | undefined;
|
|
447
678
|
}, {
|
|
448
679
|
name: string | typeof kCurrentWorker;
|
|
449
680
|
entrypoint?: string | undefined;
|
|
681
|
+
props?: Record<string, unknown> | undefined;
|
|
450
682
|
}>, z.ZodObject<{
|
|
451
683
|
network: z.ZodObject<{
|
|
452
684
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -600,12 +832,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
600
832
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
601
833
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
602
834
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
835
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
603
836
|
}, "strip", z.ZodTypeAny, {
|
|
604
837
|
name: string | typeof kCurrentWorker;
|
|
605
838
|
entrypoint?: string | undefined;
|
|
839
|
+
props?: Record<string, unknown> | undefined;
|
|
606
840
|
}, {
|
|
607
841
|
name: string | typeof kCurrentWorker;
|
|
608
842
|
entrypoint?: string | undefined;
|
|
843
|
+
props?: Record<string, unknown> | undefined;
|
|
609
844
|
}>, z.ZodObject<{
|
|
610
845
|
network: z.ZodObject<{
|
|
611
846
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -768,12 +1003,161 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
768
1003
|
Router Worker)
|
|
769
1004
|
*/
|
|
770
1005
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
771
|
-
|
|
1006
|
+
tails: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
1007
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
1008
|
+
entrypoint: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1010
|
+
}, "strip", z.ZodTypeAny, {
|
|
1011
|
+
name: string | typeof kCurrentWorker;
|
|
1012
|
+
entrypoint?: string | undefined;
|
|
1013
|
+
props?: Record<string, unknown> | undefined;
|
|
1014
|
+
}, {
|
|
1015
|
+
name: string | typeof kCurrentWorker;
|
|
1016
|
+
entrypoint?: string | undefined;
|
|
1017
|
+
props?: Record<string, unknown> | undefined;
|
|
1018
|
+
}>, z.ZodObject<{
|
|
1019
|
+
network: z.ZodObject<{
|
|
1020
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1021
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1022
|
+
tlsOptions: z.ZodOptional<z.ZodObject<{
|
|
1023
|
+
keypair: z.ZodOptional<z.ZodObject<{
|
|
1024
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
certificateChain: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
}, "strip", z.ZodTypeAny, {
|
|
1027
|
+
privateKey?: string | undefined;
|
|
1028
|
+
certificateChain?: string | undefined;
|
|
1029
|
+
}, {
|
|
1030
|
+
privateKey?: string | undefined;
|
|
1031
|
+
certificateChain?: string | undefined;
|
|
1032
|
+
}>>;
|
|
1033
|
+
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
1034
|
+
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1036
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
1037
|
+
readonly GOOD_DEFAULT: 0;
|
|
1038
|
+
readonly SSL3: 1;
|
|
1039
|
+
readonly TLS1DOT0: 2;
|
|
1040
|
+
readonly TLS1DOT1: 3;
|
|
1041
|
+
readonly TLS1DOT2: 4;
|
|
1042
|
+
readonly TLS1DOT3: 5;
|
|
1043
|
+
}>>;
|
|
1044
|
+
cipherList: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
}, "strip", z.ZodTypeAny, {
|
|
1046
|
+
keypair?: {
|
|
1047
|
+
privateKey?: string | undefined;
|
|
1048
|
+
certificateChain?: string | undefined;
|
|
1049
|
+
} | undefined;
|
|
1050
|
+
requireClientCerts?: boolean | undefined;
|
|
1051
|
+
trustBrowserCas?: boolean | undefined;
|
|
1052
|
+
trustedCertificates?: string[] | undefined;
|
|
1053
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1054
|
+
cipherList?: string | undefined;
|
|
1055
|
+
}, {
|
|
1056
|
+
keypair?: {
|
|
1057
|
+
privateKey?: string | undefined;
|
|
1058
|
+
certificateChain?: string | undefined;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
requireClientCerts?: boolean | undefined;
|
|
1061
|
+
trustBrowserCas?: boolean | undefined;
|
|
1062
|
+
trustedCertificates?: string[] | undefined;
|
|
1063
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1064
|
+
cipherList?: string | undefined;
|
|
1065
|
+
}>>;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
allow?: string[] | undefined;
|
|
1068
|
+
deny?: string[] | undefined;
|
|
1069
|
+
tlsOptions?: {
|
|
1070
|
+
keypair?: {
|
|
1071
|
+
privateKey?: string | undefined;
|
|
1072
|
+
certificateChain?: string | undefined;
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
requireClientCerts?: boolean | undefined;
|
|
1075
|
+
trustBrowserCas?: boolean | undefined;
|
|
1076
|
+
trustedCertificates?: string[] | undefined;
|
|
1077
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1078
|
+
cipherList?: string | undefined;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
}, {
|
|
1081
|
+
allow?: string[] | undefined;
|
|
1082
|
+
deny?: string[] | undefined;
|
|
1083
|
+
tlsOptions?: {
|
|
1084
|
+
keypair?: {
|
|
1085
|
+
privateKey?: string | undefined;
|
|
1086
|
+
certificateChain?: string | undefined;
|
|
1087
|
+
} | undefined;
|
|
1088
|
+
requireClientCerts?: boolean | undefined;
|
|
1089
|
+
trustBrowserCas?: boolean | undefined;
|
|
1090
|
+
trustedCertificates?: string[] | undefined;
|
|
1091
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1092
|
+
cipherList?: string | undefined;
|
|
1093
|
+
} | undefined;
|
|
1094
|
+
}>;
|
|
1095
|
+
}, "strip", z.ZodTypeAny, {
|
|
1096
|
+
network: {
|
|
1097
|
+
allow?: string[] | undefined;
|
|
1098
|
+
deny?: string[] | undefined;
|
|
1099
|
+
tlsOptions?: {
|
|
1100
|
+
keypair?: {
|
|
1101
|
+
privateKey?: string | undefined;
|
|
1102
|
+
certificateChain?: string | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
requireClientCerts?: boolean | undefined;
|
|
1105
|
+
trustBrowserCas?: boolean | undefined;
|
|
1106
|
+
trustedCertificates?: string[] | undefined;
|
|
1107
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1108
|
+
cipherList?: string | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
};
|
|
1111
|
+
}, {
|
|
1112
|
+
network: {
|
|
1113
|
+
allow?: string[] | undefined;
|
|
1114
|
+
deny?: string[] | undefined;
|
|
1115
|
+
tlsOptions?: {
|
|
1116
|
+
keypair?: {
|
|
1117
|
+
privateKey?: string | undefined;
|
|
1118
|
+
certificateChain?: string | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
requireClientCerts?: boolean | undefined;
|
|
1121
|
+
trustBrowserCas?: boolean | undefined;
|
|
1122
|
+
trustedCertificates?: string[] | undefined;
|
|
1123
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1124
|
+
cipherList?: string | undefined;
|
|
1125
|
+
} | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
}>, z.ZodObject<{
|
|
1128
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
1129
|
+
}, "strip", z.ZodTypeAny, {
|
|
1130
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1131
|
+
}, {
|
|
1132
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1133
|
+
}>, z.ZodObject<{
|
|
1134
|
+
disk: z.ZodObject<{
|
|
1135
|
+
path: z.ZodString;
|
|
1136
|
+
writable: z.ZodOptional<z.ZodBoolean>;
|
|
1137
|
+
}, "strip", z.ZodTypeAny, {
|
|
1138
|
+
path: string;
|
|
1139
|
+
writable?: boolean | undefined;
|
|
1140
|
+
}, {
|
|
1141
|
+
path: string;
|
|
1142
|
+
writable?: boolean | undefined;
|
|
1143
|
+
}>;
|
|
1144
|
+
}, "strip", z.ZodTypeAny, {
|
|
1145
|
+
disk: {
|
|
1146
|
+
path: string;
|
|
1147
|
+
writable?: boolean | undefined;
|
|
1148
|
+
};
|
|
1149
|
+
}, {
|
|
1150
|
+
disk: {
|
|
1151
|
+
path: string;
|
|
1152
|
+
writable?: boolean | undefined;
|
|
1153
|
+
};
|
|
1154
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>, "many">>;
|
|
772
1155
|
}, "strip", z.ZodTypeAny, {
|
|
773
1156
|
name?: string | undefined;
|
|
774
1157
|
rootPath?: undefined;
|
|
775
1158
|
compatibilityDate?: string | undefined;
|
|
776
1159
|
compatibilityFlags?: string[] | undefined;
|
|
1160
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
777
1161
|
routes?: string[] | undefined;
|
|
778
1162
|
bindings?: Record<string, Json> | undefined;
|
|
779
1163
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -782,6 +1166,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
782
1166
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
783
1167
|
name: string | typeof kCurrentWorker;
|
|
784
1168
|
entrypoint?: string | undefined;
|
|
1169
|
+
props?: Record<string, unknown> | undefined;
|
|
785
1170
|
} | {
|
|
786
1171
|
network: {
|
|
787
1172
|
allow?: string[] | undefined;
|
|
@@ -814,6 +1199,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
814
1199
|
outboundService?: string | typeof kCurrentWorker | {
|
|
815
1200
|
name: string | typeof kCurrentWorker;
|
|
816
1201
|
entrypoint?: string | undefined;
|
|
1202
|
+
props?: Record<string, unknown> | undefined;
|
|
817
1203
|
} | {
|
|
818
1204
|
network: {
|
|
819
1205
|
allow?: string[] | undefined;
|
|
@@ -849,12 +1235,40 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
849
1235
|
unsafeEvalBinding?: string | undefined;
|
|
850
1236
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
851
1237
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
852
|
-
|
|
1238
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1239
|
+
name: string | typeof kCurrentWorker;
|
|
1240
|
+
entrypoint?: string | undefined;
|
|
1241
|
+
props?: Record<string, unknown> | undefined;
|
|
1242
|
+
} | {
|
|
1243
|
+
network: {
|
|
1244
|
+
allow?: string[] | undefined;
|
|
1245
|
+
deny?: string[] | undefined;
|
|
1246
|
+
tlsOptions?: {
|
|
1247
|
+
keypair?: {
|
|
1248
|
+
privateKey?: string | undefined;
|
|
1249
|
+
certificateChain?: string | undefined;
|
|
1250
|
+
} | undefined;
|
|
1251
|
+
requireClientCerts?: boolean | undefined;
|
|
1252
|
+
trustBrowserCas?: boolean | undefined;
|
|
1253
|
+
trustedCertificates?: string[] | undefined;
|
|
1254
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1255
|
+
cipherList?: string | undefined;
|
|
1256
|
+
} | undefined;
|
|
1257
|
+
};
|
|
1258
|
+
} | {
|
|
1259
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1260
|
+
} | {
|
|
1261
|
+
disk: {
|
|
1262
|
+
path: string;
|
|
1263
|
+
writable?: boolean | undefined;
|
|
1264
|
+
};
|
|
1265
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
853
1266
|
}, {
|
|
854
1267
|
name?: string | undefined;
|
|
855
1268
|
rootPath?: string | undefined;
|
|
856
1269
|
compatibilityDate?: string | undefined;
|
|
857
1270
|
compatibilityFlags?: string[] | undefined;
|
|
1271
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
858
1272
|
routes?: string[] | undefined;
|
|
859
1273
|
bindings?: Record<string, Json> | undefined;
|
|
860
1274
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -863,6 +1277,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
863
1277
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
864
1278
|
name: string | typeof kCurrentWorker;
|
|
865
1279
|
entrypoint?: string | undefined;
|
|
1280
|
+
props?: Record<string, unknown> | undefined;
|
|
866
1281
|
} | {
|
|
867
1282
|
network: {
|
|
868
1283
|
allow?: string[] | undefined;
|
|
@@ -895,6 +1310,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
895
1310
|
outboundService?: string | typeof kCurrentWorker | {
|
|
896
1311
|
name: string | typeof kCurrentWorker;
|
|
897
1312
|
entrypoint?: string | undefined;
|
|
1313
|
+
props?: Record<string, unknown> | undefined;
|
|
898
1314
|
} | {
|
|
899
1315
|
network: {
|
|
900
1316
|
allow?: string[] | undefined;
|
|
@@ -930,10 +1346,37 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
930
1346
|
unsafeEvalBinding?: string | undefined;
|
|
931
1347
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
932
1348
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
933
|
-
|
|
1349
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1350
|
+
name: string | typeof kCurrentWorker;
|
|
1351
|
+
entrypoint?: string | undefined;
|
|
1352
|
+
props?: Record<string, unknown> | undefined;
|
|
1353
|
+
} | {
|
|
1354
|
+
network: {
|
|
1355
|
+
allow?: string[] | undefined;
|
|
1356
|
+
deny?: string[] | undefined;
|
|
1357
|
+
tlsOptions?: {
|
|
1358
|
+
keypair?: {
|
|
1359
|
+
privateKey?: string | undefined;
|
|
1360
|
+
certificateChain?: string | undefined;
|
|
1361
|
+
} | undefined;
|
|
1362
|
+
requireClientCerts?: boolean | undefined;
|
|
1363
|
+
trustBrowserCas?: boolean | undefined;
|
|
1364
|
+
trustedCertificates?: string[] | undefined;
|
|
1365
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1366
|
+
cipherList?: string | undefined;
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
};
|
|
1369
|
+
} | {
|
|
1370
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1371
|
+
} | {
|
|
1372
|
+
disk: {
|
|
1373
|
+
path: string;
|
|
1374
|
+
writable?: boolean | undefined;
|
|
1375
|
+
};
|
|
1376
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
934
1377
|
}>>, ({
|
|
935
1378
|
modules: {
|
|
936
|
-
type: "ESModule" | "CommonJS" | "
|
|
1379
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
937
1380
|
path: string;
|
|
938
1381
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
939
1382
|
}[];
|
|
@@ -943,6 +1386,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
943
1386
|
rootPath?: undefined;
|
|
944
1387
|
compatibilityDate?: string | undefined;
|
|
945
1388
|
compatibilityFlags?: string[] | undefined;
|
|
1389
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
946
1390
|
routes?: string[] | undefined;
|
|
947
1391
|
bindings?: Record<string, Json> | undefined;
|
|
948
1392
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -951,6 +1395,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
951
1395
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
952
1396
|
name: string | typeof kCurrentWorker;
|
|
953
1397
|
entrypoint?: string | undefined;
|
|
1398
|
+
props?: Record<string, unknown> | undefined;
|
|
954
1399
|
} | {
|
|
955
1400
|
network: {
|
|
956
1401
|
allow?: string[] | undefined;
|
|
@@ -983,6 +1428,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
983
1428
|
outboundService?: string | typeof kCurrentWorker | {
|
|
984
1429
|
name: string | typeof kCurrentWorker;
|
|
985
1430
|
entrypoint?: string | undefined;
|
|
1431
|
+
props?: Record<string, unknown> | undefined;
|
|
986
1432
|
} | {
|
|
987
1433
|
network: {
|
|
988
1434
|
allow?: string[] | undefined;
|
|
@@ -1018,13 +1464,40 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1018
1464
|
unsafeEvalBinding?: string | undefined;
|
|
1019
1465
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1020
1466
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1021
|
-
|
|
1467
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1468
|
+
name: string | typeof kCurrentWorker;
|
|
1469
|
+
entrypoint?: string | undefined;
|
|
1470
|
+
props?: Record<string, unknown> | undefined;
|
|
1471
|
+
} | {
|
|
1472
|
+
network: {
|
|
1473
|
+
allow?: string[] | undefined;
|
|
1474
|
+
deny?: string[] | undefined;
|
|
1475
|
+
tlsOptions?: {
|
|
1476
|
+
keypair?: {
|
|
1477
|
+
privateKey?: string | undefined;
|
|
1478
|
+
certificateChain?: string | undefined;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
requireClientCerts?: boolean | undefined;
|
|
1481
|
+
trustBrowserCas?: boolean | undefined;
|
|
1482
|
+
trustedCertificates?: string[] | undefined;
|
|
1483
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1484
|
+
cipherList?: string | undefined;
|
|
1485
|
+
} | undefined;
|
|
1486
|
+
};
|
|
1487
|
+
} | {
|
|
1488
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1489
|
+
} | {
|
|
1490
|
+
disk: {
|
|
1491
|
+
path: string;
|
|
1492
|
+
writable?: boolean | undefined;
|
|
1493
|
+
};
|
|
1494
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
1022
1495
|
}) | ({
|
|
1023
1496
|
script: string;
|
|
1024
1497
|
scriptPath?: string | undefined;
|
|
1025
1498
|
modules?: boolean | undefined;
|
|
1026
1499
|
modulesRules?: {
|
|
1027
|
-
type: "ESModule" | "CommonJS" | "
|
|
1500
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1028
1501
|
include: string[];
|
|
1029
1502
|
fallthrough?: boolean | undefined;
|
|
1030
1503
|
}[] | undefined;
|
|
@@ -1034,6 +1507,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1034
1507
|
rootPath?: undefined;
|
|
1035
1508
|
compatibilityDate?: string | undefined;
|
|
1036
1509
|
compatibilityFlags?: string[] | undefined;
|
|
1510
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1037
1511
|
routes?: string[] | undefined;
|
|
1038
1512
|
bindings?: Record<string, Json> | undefined;
|
|
1039
1513
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1042,6 +1516,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1042
1516
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1043
1517
|
name: string | typeof kCurrentWorker;
|
|
1044
1518
|
entrypoint?: string | undefined;
|
|
1519
|
+
props?: Record<string, unknown> | undefined;
|
|
1045
1520
|
} | {
|
|
1046
1521
|
network: {
|
|
1047
1522
|
allow?: string[] | undefined;
|
|
@@ -1074,6 +1549,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1074
1549
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1075
1550
|
name: string | typeof kCurrentWorker;
|
|
1076
1551
|
entrypoint?: string | undefined;
|
|
1552
|
+
props?: Record<string, unknown> | undefined;
|
|
1077
1553
|
} | {
|
|
1078
1554
|
network: {
|
|
1079
1555
|
allow?: string[] | undefined;
|
|
@@ -1109,12 +1585,39 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1109
1585
|
unsafeEvalBinding?: string | undefined;
|
|
1110
1586
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1111
1587
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1112
|
-
|
|
1588
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1589
|
+
name: string | typeof kCurrentWorker;
|
|
1590
|
+
entrypoint?: string | undefined;
|
|
1591
|
+
props?: Record<string, unknown> | undefined;
|
|
1592
|
+
} | {
|
|
1593
|
+
network: {
|
|
1594
|
+
allow?: string[] | undefined;
|
|
1595
|
+
deny?: string[] | undefined;
|
|
1596
|
+
tlsOptions?: {
|
|
1597
|
+
keypair?: {
|
|
1598
|
+
privateKey?: string | undefined;
|
|
1599
|
+
certificateChain?: string | undefined;
|
|
1600
|
+
} | undefined;
|
|
1601
|
+
requireClientCerts?: boolean | undefined;
|
|
1602
|
+
trustBrowserCas?: boolean | undefined;
|
|
1603
|
+
trustedCertificates?: string[] | undefined;
|
|
1604
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1605
|
+
cipherList?: string | undefined;
|
|
1606
|
+
} | undefined;
|
|
1607
|
+
};
|
|
1608
|
+
} | {
|
|
1609
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1610
|
+
} | {
|
|
1611
|
+
disk: {
|
|
1612
|
+
path: string;
|
|
1613
|
+
writable?: boolean | undefined;
|
|
1614
|
+
};
|
|
1615
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
1113
1616
|
}) | ({
|
|
1114
1617
|
scriptPath: string;
|
|
1115
1618
|
modules?: boolean | undefined;
|
|
1116
1619
|
modulesRules?: {
|
|
1117
|
-
type: "ESModule" | "CommonJS" | "
|
|
1620
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1118
1621
|
include: string[];
|
|
1119
1622
|
fallthrough?: boolean | undefined;
|
|
1120
1623
|
}[] | undefined;
|
|
@@ -1124,6 +1627,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1124
1627
|
rootPath?: undefined;
|
|
1125
1628
|
compatibilityDate?: string | undefined;
|
|
1126
1629
|
compatibilityFlags?: string[] | undefined;
|
|
1630
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1127
1631
|
routes?: string[] | undefined;
|
|
1128
1632
|
bindings?: Record<string, Json> | undefined;
|
|
1129
1633
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1132,6 +1636,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1132
1636
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1133
1637
|
name: string | typeof kCurrentWorker;
|
|
1134
1638
|
entrypoint?: string | undefined;
|
|
1639
|
+
props?: Record<string, unknown> | undefined;
|
|
1135
1640
|
} | {
|
|
1136
1641
|
network: {
|
|
1137
1642
|
allow?: string[] | undefined;
|
|
@@ -1164,6 +1669,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1164
1669
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1165
1670
|
name: string | typeof kCurrentWorker;
|
|
1166
1671
|
entrypoint?: string | undefined;
|
|
1672
|
+
props?: Record<string, unknown> | undefined;
|
|
1167
1673
|
} | {
|
|
1168
1674
|
network: {
|
|
1169
1675
|
allow?: string[] | undefined;
|
|
@@ -1199,10 +1705,37 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1199
1705
|
unsafeEvalBinding?: string | undefined;
|
|
1200
1706
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1201
1707
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1202
|
-
|
|
1708
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1709
|
+
name: string | typeof kCurrentWorker;
|
|
1710
|
+
entrypoint?: string | undefined;
|
|
1711
|
+
props?: Record<string, unknown> | undefined;
|
|
1712
|
+
} | {
|
|
1713
|
+
network: {
|
|
1714
|
+
allow?: string[] | undefined;
|
|
1715
|
+
deny?: string[] | undefined;
|
|
1716
|
+
tlsOptions?: {
|
|
1717
|
+
keypair?: {
|
|
1718
|
+
privateKey?: string | undefined;
|
|
1719
|
+
certificateChain?: string | undefined;
|
|
1720
|
+
} | undefined;
|
|
1721
|
+
requireClientCerts?: boolean | undefined;
|
|
1722
|
+
trustBrowserCas?: boolean | undefined;
|
|
1723
|
+
trustedCertificates?: string[] | undefined;
|
|
1724
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1725
|
+
cipherList?: string | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
};
|
|
1728
|
+
} | {
|
|
1729
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1730
|
+
} | {
|
|
1731
|
+
disk: {
|
|
1732
|
+
path: string;
|
|
1733
|
+
writable?: boolean | undefined;
|
|
1734
|
+
};
|
|
1735
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
1203
1736
|
}), ({
|
|
1204
1737
|
modules: {
|
|
1205
|
-
type: "ESModule" | "CommonJS" | "
|
|
1738
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1206
1739
|
path: string;
|
|
1207
1740
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1208
1741
|
}[];
|
|
@@ -1212,7 +1745,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1212
1745
|
scriptPath?: string | undefined;
|
|
1213
1746
|
modules?: boolean | undefined;
|
|
1214
1747
|
modulesRules?: {
|
|
1215
|
-
type: "ESModule" | "CommonJS" | "
|
|
1748
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1216
1749
|
include: string[];
|
|
1217
1750
|
fallthrough?: boolean | undefined;
|
|
1218
1751
|
}[] | undefined;
|
|
@@ -1221,7 +1754,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1221
1754
|
scriptPath: string;
|
|
1222
1755
|
modules?: boolean | undefined;
|
|
1223
1756
|
modulesRules?: {
|
|
1224
|
-
type: "ESModule" | "CommonJS" | "
|
|
1757
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1225
1758
|
include: string[];
|
|
1226
1759
|
fallthrough?: boolean | undefined;
|
|
1227
1760
|
}[] | undefined;
|
|
@@ -1231,6 +1764,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1231
1764
|
rootPath?: string | undefined;
|
|
1232
1765
|
compatibilityDate?: string | undefined;
|
|
1233
1766
|
compatibilityFlags?: string[] | undefined;
|
|
1767
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1234
1768
|
routes?: string[] | undefined;
|
|
1235
1769
|
bindings?: Record<string, Json> | undefined;
|
|
1236
1770
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1239,6 +1773,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1239
1773
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1240
1774
|
name: string | typeof kCurrentWorker;
|
|
1241
1775
|
entrypoint?: string | undefined;
|
|
1776
|
+
props?: Record<string, unknown> | undefined;
|
|
1242
1777
|
} | {
|
|
1243
1778
|
network: {
|
|
1244
1779
|
allow?: string[] | undefined;
|
|
@@ -1271,6 +1806,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1271
1806
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1272
1807
|
name: string | typeof kCurrentWorker;
|
|
1273
1808
|
entrypoint?: string | undefined;
|
|
1809
|
+
props?: Record<string, unknown> | undefined;
|
|
1274
1810
|
} | {
|
|
1275
1811
|
network: {
|
|
1276
1812
|
allow?: string[] | undefined;
|
|
@@ -1306,7 +1842,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1306
1842
|
unsafeEvalBinding?: string | undefined;
|
|
1307
1843
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1308
1844
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1309
|
-
|
|
1845
|
+
tails?: (string | typeof kCurrentWorker | {
|
|
1846
|
+
name: string | typeof kCurrentWorker;
|
|
1847
|
+
entrypoint?: string | undefined;
|
|
1848
|
+
props?: Record<string, unknown> | undefined;
|
|
1849
|
+
} | {
|
|
1850
|
+
network: {
|
|
1851
|
+
allow?: string[] | undefined;
|
|
1852
|
+
deny?: string[] | undefined;
|
|
1853
|
+
tlsOptions?: {
|
|
1854
|
+
keypair?: {
|
|
1855
|
+
privateKey?: string | undefined;
|
|
1856
|
+
certificateChain?: string | undefined;
|
|
1857
|
+
} | undefined;
|
|
1858
|
+
requireClientCerts?: boolean | undefined;
|
|
1859
|
+
trustBrowserCas?: boolean | undefined;
|
|
1860
|
+
trustedCertificates?: string[] | undefined;
|
|
1861
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1862
|
+
cipherList?: string | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
};
|
|
1865
|
+
} | {
|
|
1866
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1867
|
+
} | {
|
|
1868
|
+
disk: {
|
|
1869
|
+
path: string;
|
|
1870
|
+
writable?: boolean | undefined;
|
|
1871
|
+
};
|
|
1872
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
|
|
1310
1873
|
}>;
|
|
1311
1874
|
|
|
1312
1875
|
export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
@@ -1328,8 +1891,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1328
1891
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1329
1892
|
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>>;
|
|
1330
1893
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1331
|
-
|
|
1894
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1332
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
logRequests: boolean;
|
|
1333
1898
|
rootPath?: undefined;
|
|
1334
1899
|
host?: string | undefined;
|
|
1335
1900
|
port?: number | undefined;
|
|
@@ -1348,7 +1913,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1348
1913
|
unsafeProxySharedSecret?: string | undefined;
|
|
1349
1914
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1350
1915
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1351
|
-
|
|
1916
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1352
1917
|
}, {
|
|
1353
1918
|
rootPath?: string | undefined;
|
|
1354
1919
|
host?: string | undefined;
|
|
@@ -1368,7 +1933,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1368
1933
|
unsafeProxySharedSecret?: string | undefined;
|
|
1369
1934
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1370
1935
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1371
|
-
|
|
1936
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1937
|
+
logRequests?: boolean | undefined;
|
|
1372
1938
|
}>;
|
|
1373
1939
|
|
|
1374
1940
|
export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
|
|
@@ -1420,6 +1986,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
|
|
|
1420
1986
|
export declare interface DiskDirectory {
|
|
1421
1987
|
path?: string;
|
|
1422
1988
|
writable?: boolean;
|
|
1989
|
+
allowDotfiles?: boolean;
|
|
1423
1990
|
}
|
|
1424
1991
|
|
|
1425
1992
|
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
@@ -1513,7 +2080,85 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1513
2080
|
}, "strip", z.ZodTypeAny, {
|
|
1514
2081
|
durableObjectsPersist?: string | boolean | undefined;
|
|
1515
2082
|
}, {
|
|
1516
|
-
durableObjectsPersist?: string | boolean | undefined;
|
|
2083
|
+
durableObjectsPersist?: string | boolean | undefined;
|
|
2084
|
+
}>;
|
|
2085
|
+
|
|
2086
|
+
export declare const EMAIL_PLUGIN: Plugin<typeof EmailOptionsSchema>;
|
|
2087
|
+
|
|
2088
|
+
export declare const EMAIL_PLUGIN_NAME = "email";
|
|
2089
|
+
|
|
2090
|
+
export declare const EmailOptionsSchema: z.ZodObject<{
|
|
2091
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
2092
|
+
send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
2093
|
+
name: z.ZodString;
|
|
2094
|
+
}, "strip", z.ZodTypeAny, {
|
|
2095
|
+
name: string;
|
|
2096
|
+
}, {
|
|
2097
|
+
name: string;
|
|
2098
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
2099
|
+
destination_address: z.ZodOptional<z.ZodString>;
|
|
2100
|
+
allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
destination_address?: string | undefined;
|
|
2103
|
+
allowed_destination_addresses?: undefined;
|
|
2104
|
+
}, {
|
|
2105
|
+
destination_address?: string | undefined;
|
|
2106
|
+
allowed_destination_addresses?: undefined;
|
|
2107
|
+
}>, z.ZodObject<{
|
|
2108
|
+
allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2109
|
+
destination_address: z.ZodOptional<z.ZodNever>;
|
|
2110
|
+
}, "strip", z.ZodTypeAny, {
|
|
2111
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2112
|
+
destination_address?: undefined;
|
|
2113
|
+
}, {
|
|
2114
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2115
|
+
destination_address?: undefined;
|
|
2116
|
+
}>]>>, "many">>;
|
|
2117
|
+
}, "strip", z.ZodTypeAny, {
|
|
2118
|
+
send_email?: ({
|
|
2119
|
+
name: string;
|
|
2120
|
+
} & ({
|
|
2121
|
+
destination_address?: string | undefined;
|
|
2122
|
+
allowed_destination_addresses?: undefined;
|
|
2123
|
+
} | {
|
|
2124
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2125
|
+
destination_address?: undefined;
|
|
2126
|
+
}))[] | undefined;
|
|
2127
|
+
}, {
|
|
2128
|
+
send_email?: ({
|
|
2129
|
+
name: string;
|
|
2130
|
+
} & ({
|
|
2131
|
+
destination_address?: string | undefined;
|
|
2132
|
+
allowed_destination_addresses?: undefined;
|
|
2133
|
+
} | {
|
|
2134
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2135
|
+
destination_address?: undefined;
|
|
2136
|
+
}))[] | undefined;
|
|
2137
|
+
}>>;
|
|
2138
|
+
}, "strip", z.ZodTypeAny, {
|
|
2139
|
+
email?: {
|
|
2140
|
+
send_email?: ({
|
|
2141
|
+
name: string;
|
|
2142
|
+
} & ({
|
|
2143
|
+
destination_address?: string | undefined;
|
|
2144
|
+
allowed_destination_addresses?: undefined;
|
|
2145
|
+
} | {
|
|
2146
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2147
|
+
destination_address?: undefined;
|
|
2148
|
+
}))[] | undefined;
|
|
2149
|
+
} | undefined;
|
|
2150
|
+
}, {
|
|
2151
|
+
email?: {
|
|
2152
|
+
send_email?: ({
|
|
2153
|
+
name: string;
|
|
2154
|
+
} & ({
|
|
2155
|
+
destination_address?: string | undefined;
|
|
2156
|
+
allowed_destination_addresses?: undefined;
|
|
2157
|
+
} | {
|
|
2158
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
2159
|
+
destination_address?: undefined;
|
|
2160
|
+
}))[] | undefined;
|
|
2161
|
+
} | undefined;
|
|
1517
2162
|
}>;
|
|
1518
2163
|
|
|
1519
2164
|
/* Excluded from this release type: _enableControlEndpoints */
|
|
@@ -1739,6 +2384,7 @@ export declare const KVLimits: {
|
|
|
1739
2384
|
readonly MAX_VALUE_SIZE: number;
|
|
1740
2385
|
readonly MAX_VALUE_SIZE_TEST: 1024;
|
|
1741
2386
|
readonly MAX_METADATA_SIZE: 1024;
|
|
2387
|
+
readonly MAX_BULK_SIZE: number;
|
|
1742
2388
|
};
|
|
1743
2389
|
|
|
1744
2390
|
export declare const kVoid: unique symbol;
|
|
@@ -1825,6 +2471,8 @@ export declare interface MatcherRegExps {
|
|
|
1825
2471
|
|
|
1826
2472
|
export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
|
|
1827
2473
|
|
|
2474
|
+
export declare const MAX_BULK_GET_KEYS = 100;
|
|
2475
|
+
|
|
1828
2476
|
export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
|
|
1829
2477
|
|
|
1830
2478
|
export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
@@ -1862,6 +2510,17 @@ export declare class Miniflare {
|
|
|
1862
2510
|
getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
|
|
1863
2511
|
getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
|
|
1864
2512
|
getKVNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
|
|
2513
|
+
getSecretsStoreSecretAPI(bindingName: string, workerName?: string): Promise<() => {
|
|
2514
|
+
create: (value: string) => Promise<string>;
|
|
2515
|
+
update: (value: string, id: string) => Promise<string>;
|
|
2516
|
+
duplicate: (id: string, newName: string) => Promise<string>;
|
|
2517
|
+
delete: (id: string) => Promise<void>;
|
|
2518
|
+
list: () => Promise<KVNamespaceListKey<{
|
|
2519
|
+
uuid: string;
|
|
2520
|
+
}, string>[]>;
|
|
2521
|
+
get: (id: string) => Promise<string>;
|
|
2522
|
+
}>;
|
|
2523
|
+
getSecretsStoreSecret(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
|
|
1865
2524
|
getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
|
|
1866
2525
|
getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
|
|
1867
2526
|
/* Excluded from this release type: _getInternalDurableObjectNamespace */
|
|
@@ -1872,7 +2531,7 @@ export declare class Miniflare {
|
|
|
1872
2531
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
1873
2532
|
}
|
|
1874
2533
|
|
|
1875
|
-
export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC";
|
|
2534
|
+
export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC" | "ERR_MISSING_INSPECTOR_PROXY_PORT";
|
|
1876
2535
|
|
|
1877
2536
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
1878
2537
|
readonly code: Code;
|
|
@@ -1887,15 +2546,15 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
|
|
|
1887
2546
|
export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
1888
2547
|
|
|
1889
2548
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
1890
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2549
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1891
2550
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1892
2551
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
1893
2552
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
type: "ESModule" | "CommonJS" | "
|
|
2553
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1895
2554
|
path: string;
|
|
1896
2555
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1897
2556
|
}, {
|
|
1898
|
-
type: "ESModule" | "CommonJS" | "
|
|
2557
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1899
2558
|
path: string;
|
|
1900
2559
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1901
2560
|
}>;
|
|
@@ -1903,22 +2562,22 @@ export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
|
1903
2562
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
1904
2563
|
|
|
1905
2564
|
export declare const ModuleRuleSchema: z.ZodObject<{
|
|
1906
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2565
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1907
2566
|
include: z.ZodArray<z.ZodString, "many">;
|
|
1908
2567
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
1909
2568
|
}, "strip", z.ZodTypeAny, {
|
|
1910
|
-
type: "ESModule" | "CommonJS" | "
|
|
2569
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1911
2570
|
include: string[];
|
|
1912
2571
|
fallthrough?: boolean | undefined;
|
|
1913
2572
|
}, {
|
|
1914
|
-
type: "ESModule" | "CommonJS" | "
|
|
2573
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1915
2574
|
include: string[];
|
|
1916
2575
|
fallthrough?: boolean | undefined;
|
|
1917
2576
|
}>;
|
|
1918
2577
|
|
|
1919
2578
|
export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
|
|
1920
2579
|
|
|
1921
|
-
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2580
|
+
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1922
2581
|
|
|
1923
2582
|
export declare class Mutex {
|
|
1924
2583
|
private locked;
|
|
@@ -1973,7 +2632,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
|
|
|
1973
2632
|
|
|
1974
2633
|
export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
|
|
1975
2634
|
|
|
1976
|
-
export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T :
|
|
2635
|
+
export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion14<T>;
|
|
2636
|
+
|
|
2637
|
+
export declare type OverloadUnion10<T> = T extends {
|
|
2638
|
+
(...args: infer P1): infer R1;
|
|
2639
|
+
(...args: infer P2): infer R2;
|
|
2640
|
+
(...args: infer P3): infer R3;
|
|
2641
|
+
(...args: infer P4): infer R4;
|
|
2642
|
+
(...args: infer P5): infer R5;
|
|
2643
|
+
(...args: infer P6): infer R6;
|
|
2644
|
+
(...args: infer P7): infer R7;
|
|
2645
|
+
(...args: infer P8): infer R8;
|
|
2646
|
+
(...args: infer P9): infer R9;
|
|
2647
|
+
(...args: infer P10): infer R10;
|
|
2648
|
+
} ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) : OverloadUnion9<T>;
|
|
2649
|
+
|
|
2650
|
+
export declare type OverloadUnion11<T> = T extends {
|
|
2651
|
+
(...args: infer P1): infer R1;
|
|
2652
|
+
(...args: infer P2): infer R2;
|
|
2653
|
+
(...args: infer P3): infer R3;
|
|
2654
|
+
(...args: infer P4): infer R4;
|
|
2655
|
+
(...args: infer P5): infer R5;
|
|
2656
|
+
(...args: infer P6): infer R6;
|
|
2657
|
+
(...args: infer P7): infer R7;
|
|
2658
|
+
(...args: infer P8): infer R8;
|
|
2659
|
+
(...args: infer P9): infer R9;
|
|
2660
|
+
(...args: infer P10): infer R10;
|
|
2661
|
+
(...args: infer P11): infer R11;
|
|
2662
|
+
} ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) : OverloadUnion10<T>;
|
|
2663
|
+
|
|
2664
|
+
export declare type OverloadUnion12<T> = T extends {
|
|
2665
|
+
(...args: infer P1): infer R1;
|
|
2666
|
+
(...args: infer P2): infer R2;
|
|
2667
|
+
(...args: infer P3): infer R3;
|
|
2668
|
+
(...args: infer P4): infer R4;
|
|
2669
|
+
(...args: infer P5): infer R5;
|
|
2670
|
+
(...args: infer P6): infer R6;
|
|
2671
|
+
(...args: infer P7): infer R7;
|
|
2672
|
+
(...args: infer P8): infer R8;
|
|
2673
|
+
(...args: infer P9): infer R9;
|
|
2674
|
+
(...args: infer P10): infer R10;
|
|
2675
|
+
(...args: infer P11): infer R11;
|
|
2676
|
+
(...args: infer P12): infer R12;
|
|
2677
|
+
} ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) : OverloadUnion11<T>;
|
|
2678
|
+
|
|
2679
|
+
export declare type OverloadUnion13<T> = T extends {
|
|
2680
|
+
(...args: infer P1): infer R1;
|
|
2681
|
+
(...args: infer P2): infer R2;
|
|
2682
|
+
(...args: infer P3): infer R3;
|
|
2683
|
+
(...args: infer P4): infer R4;
|
|
2684
|
+
(...args: infer P5): infer R5;
|
|
2685
|
+
(...args: infer P6): infer R6;
|
|
2686
|
+
(...args: infer P7): infer R7;
|
|
2687
|
+
(...args: infer P8): infer R8;
|
|
2688
|
+
(...args: infer P9): infer R9;
|
|
2689
|
+
(...args: infer P10): infer R10;
|
|
2690
|
+
(...args: infer P11): infer R11;
|
|
2691
|
+
(...args: infer P12): infer R12;
|
|
2692
|
+
(...args: infer P13): infer R13;
|
|
2693
|
+
} ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) : OverloadUnion12<T>;
|
|
2694
|
+
|
|
2695
|
+
export declare type OverloadUnion14<T> = T extends {
|
|
2696
|
+
(...args: infer P1): infer R1;
|
|
2697
|
+
(...args: infer P2): infer R2;
|
|
2698
|
+
(...args: infer P3): infer R3;
|
|
2699
|
+
(...args: infer P4): infer R4;
|
|
2700
|
+
(...args: infer P5): infer R5;
|
|
2701
|
+
(...args: infer P6): infer R6;
|
|
2702
|
+
(...args: infer P7): infer R7;
|
|
2703
|
+
(...args: infer P8): infer R8;
|
|
2704
|
+
(...args: infer P9): infer R9;
|
|
2705
|
+
(...args: infer P10): infer R10;
|
|
2706
|
+
(...args: infer P11): infer R11;
|
|
2707
|
+
(...args: infer P12): infer R12;
|
|
2708
|
+
(...args: infer P13): infer R13;
|
|
2709
|
+
(...args: infer P14): infer R14;
|
|
2710
|
+
} ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) | ((...args: P14) => R14) : OverloadUnion13<T>;
|
|
1977
2711
|
|
|
1978
2712
|
export declare type OverloadUnion2<T> = T extends {
|
|
1979
2713
|
(...args: infer P1): infer R1;
|
|
@@ -2111,29 +2845,29 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2111
2845
|
export declare const PLUGINS: {
|
|
2112
2846
|
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2113
2847
|
modules: z.ZodArray<z.ZodObject<{
|
|
2114
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2848
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2115
2849
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2116
2850
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2117
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
-
type: "ESModule" | "CommonJS" | "
|
|
2852
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2119
2853
|
path: string;
|
|
2120
2854
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2121
2855
|
}, {
|
|
2122
|
-
type: "ESModule" | "CommonJS" | "
|
|
2856
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2123
2857
|
path: string;
|
|
2124
2858
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2125
2859
|
}>, "many">;
|
|
2126
2860
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2127
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2128
2862
|
modules: {
|
|
2129
|
-
type: "ESModule" | "CommonJS" | "
|
|
2863
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2130
2864
|
path: string;
|
|
2131
2865
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2132
2866
|
}[];
|
|
2133
2867
|
modulesRoot?: string | undefined;
|
|
2134
2868
|
}, {
|
|
2135
2869
|
modules: {
|
|
2136
|
-
type: "ESModule" | "CommonJS" | "
|
|
2870
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2137
2871
|
path: string;
|
|
2138
2872
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2139
2873
|
}[];
|
|
@@ -2143,15 +2877,15 @@ export declare const PLUGINS: {
|
|
|
2143
2877
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2144
2878
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2145
2879
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2146
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2880
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2147
2881
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2148
2882
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2149
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2150
|
-
type: "ESModule" | "CommonJS" | "
|
|
2884
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2151
2885
|
include: string[];
|
|
2152
2886
|
fallthrough?: boolean | undefined;
|
|
2153
2887
|
}, {
|
|
2154
|
-
type: "ESModule" | "CommonJS" | "
|
|
2888
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2155
2889
|
include: string[];
|
|
2156
2890
|
fallthrough?: boolean | undefined;
|
|
2157
2891
|
}>, "many">>;
|
|
@@ -2161,7 +2895,7 @@ export declare const PLUGINS: {
|
|
|
2161
2895
|
scriptPath?: string | undefined;
|
|
2162
2896
|
modules?: boolean | undefined;
|
|
2163
2897
|
modulesRules?: {
|
|
2164
|
-
type: "ESModule" | "CommonJS" | "
|
|
2898
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2165
2899
|
include: string[];
|
|
2166
2900
|
fallthrough?: boolean | undefined;
|
|
2167
2901
|
}[] | undefined;
|
|
@@ -2171,7 +2905,7 @@ export declare const PLUGINS: {
|
|
|
2171
2905
|
scriptPath?: string | undefined;
|
|
2172
2906
|
modules?: boolean | undefined;
|
|
2173
2907
|
modulesRules?: {
|
|
2174
|
-
type: "ESModule" | "CommonJS" | "
|
|
2908
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2175
2909
|
include: string[];
|
|
2176
2910
|
fallthrough?: boolean | undefined;
|
|
2177
2911
|
}[] | undefined;
|
|
@@ -2180,15 +2914,15 @@ export declare const PLUGINS: {
|
|
|
2180
2914
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
2181
2915
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2182
2916
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2183
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2917
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2184
2918
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2185
2919
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2186
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2187
|
-
type: "ESModule" | "CommonJS" | "
|
|
2921
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2188
2922
|
include: string[];
|
|
2189
2923
|
fallthrough?: boolean | undefined;
|
|
2190
2924
|
}, {
|
|
2191
|
-
type: "ESModule" | "CommonJS" | "
|
|
2925
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2192
2926
|
include: string[];
|
|
2193
2927
|
fallthrough?: boolean | undefined;
|
|
2194
2928
|
}>, "many">>;
|
|
@@ -2197,7 +2931,7 @@ export declare const PLUGINS: {
|
|
|
2197
2931
|
scriptPath: string;
|
|
2198
2932
|
modules?: boolean | undefined;
|
|
2199
2933
|
modulesRules?: {
|
|
2200
|
-
type: "ESModule" | "CommonJS" | "
|
|
2934
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2201
2935
|
include: string[];
|
|
2202
2936
|
fallthrough?: boolean | undefined;
|
|
2203
2937
|
}[] | undefined;
|
|
@@ -2206,7 +2940,7 @@ export declare const PLUGINS: {
|
|
|
2206
2940
|
scriptPath: string;
|
|
2207
2941
|
modules?: boolean | undefined;
|
|
2208
2942
|
modulesRules?: {
|
|
2209
|
-
type: "ESModule" | "CommonJS" | "
|
|
2943
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2210
2944
|
include: string[];
|
|
2211
2945
|
fallthrough?: boolean | undefined;
|
|
2212
2946
|
}[] | undefined;
|
|
@@ -2216,6 +2950,7 @@ export declare const PLUGINS: {
|
|
|
2216
2950
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2217
2951
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2218
2952
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2953
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2219
2954
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2220
2955
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2221
2956
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -2224,12 +2959,15 @@ export declare const PLUGINS: {
|
|
|
2224
2959
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2225
2960
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2226
2961
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2227
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2228
2964
|
name: string | kCurrentWorker_2;
|
|
2229
2965
|
entrypoint?: string | undefined;
|
|
2966
|
+
props?: Record<string, unknown> | undefined;
|
|
2230
2967
|
}, {
|
|
2231
2968
|
name: string | kCurrentWorker_2;
|
|
2232
2969
|
entrypoint?: string | undefined;
|
|
2970
|
+
props?: Record<string, unknown> | undefined;
|
|
2233
2971
|
}>, z.ZodObject<{
|
|
2234
2972
|
network: z.ZodObject<{
|
|
2235
2973
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2383,12 +3121,15 @@ export declare const PLUGINS: {
|
|
|
2383
3121
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2384
3122
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2385
3123
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2386
3125
|
}, "strip", z.ZodTypeAny, {
|
|
2387
3126
|
name: string | kCurrentWorker_2;
|
|
2388
3127
|
entrypoint?: string | undefined;
|
|
3128
|
+
props?: Record<string, unknown> | undefined;
|
|
2389
3129
|
}, {
|
|
2390
3130
|
name: string | kCurrentWorker_2;
|
|
2391
3131
|
entrypoint?: string | undefined;
|
|
3132
|
+
props?: Record<string, unknown> | undefined;
|
|
2392
3133
|
}>, z.ZodObject<{
|
|
2393
3134
|
network: z.ZodObject<{
|
|
2394
3135
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2547,12 +3288,161 @@ export declare const PLUGINS: {
|
|
|
2547
3288
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
2548
3289
|
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
2549
3290
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
2550
|
-
|
|
3291
|
+
tails: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
3292
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
3293
|
+
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3294
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3295
|
+
}, "strip", z.ZodTypeAny, {
|
|
3296
|
+
name: string | kCurrentWorker_2;
|
|
3297
|
+
entrypoint?: string | undefined;
|
|
3298
|
+
props?: Record<string, unknown> | undefined;
|
|
3299
|
+
}, {
|
|
3300
|
+
name: string | kCurrentWorker_2;
|
|
3301
|
+
entrypoint?: string | undefined;
|
|
3302
|
+
props?: Record<string, unknown> | undefined;
|
|
3303
|
+
}>, z.ZodObject<{
|
|
3304
|
+
network: z.ZodObject<{
|
|
3305
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3306
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3307
|
+
tlsOptions: z.ZodOptional<z.ZodObject<{
|
|
3308
|
+
keypair: z.ZodOptional<z.ZodObject<{
|
|
3309
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
certificateChain: z.ZodOptional<z.ZodString>;
|
|
3311
|
+
}, "strip", z.ZodTypeAny, {
|
|
3312
|
+
privateKey?: string | undefined;
|
|
3313
|
+
certificateChain?: string | undefined;
|
|
3314
|
+
}, {
|
|
3315
|
+
privateKey?: string | undefined;
|
|
3316
|
+
certificateChain?: string | undefined;
|
|
3317
|
+
}>>;
|
|
3318
|
+
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
3319
|
+
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
3320
|
+
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3321
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
3322
|
+
readonly GOOD_DEFAULT: 0;
|
|
3323
|
+
readonly SSL3: 1;
|
|
3324
|
+
readonly TLS1DOT0: 2;
|
|
3325
|
+
readonly TLS1DOT1: 3;
|
|
3326
|
+
readonly TLS1DOT2: 4;
|
|
3327
|
+
readonly TLS1DOT3: 5;
|
|
3328
|
+
}>>;
|
|
3329
|
+
cipherList: z.ZodOptional<z.ZodString>;
|
|
3330
|
+
}, "strip", z.ZodTypeAny, {
|
|
3331
|
+
keypair?: {
|
|
3332
|
+
privateKey?: string | undefined;
|
|
3333
|
+
certificateChain?: string | undefined;
|
|
3334
|
+
} | undefined;
|
|
3335
|
+
requireClientCerts?: boolean | undefined;
|
|
3336
|
+
trustBrowserCas?: boolean | undefined;
|
|
3337
|
+
trustedCertificates?: string[] | undefined;
|
|
3338
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3339
|
+
cipherList?: string | undefined;
|
|
3340
|
+
}, {
|
|
3341
|
+
keypair?: {
|
|
3342
|
+
privateKey?: string | undefined;
|
|
3343
|
+
certificateChain?: string | undefined;
|
|
3344
|
+
} | undefined;
|
|
3345
|
+
requireClientCerts?: boolean | undefined;
|
|
3346
|
+
trustBrowserCas?: boolean | undefined;
|
|
3347
|
+
trustedCertificates?: string[] | undefined;
|
|
3348
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3349
|
+
cipherList?: string | undefined;
|
|
3350
|
+
}>>;
|
|
3351
|
+
}, "strip", z.ZodTypeAny, {
|
|
3352
|
+
allow?: string[] | undefined;
|
|
3353
|
+
deny?: string[] | undefined;
|
|
3354
|
+
tlsOptions?: {
|
|
3355
|
+
keypair?: {
|
|
3356
|
+
privateKey?: string | undefined;
|
|
3357
|
+
certificateChain?: string | undefined;
|
|
3358
|
+
} | undefined;
|
|
3359
|
+
requireClientCerts?: boolean | undefined;
|
|
3360
|
+
trustBrowserCas?: boolean | undefined;
|
|
3361
|
+
trustedCertificates?: string[] | undefined;
|
|
3362
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3363
|
+
cipherList?: string | undefined;
|
|
3364
|
+
} | undefined;
|
|
3365
|
+
}, {
|
|
3366
|
+
allow?: string[] | undefined;
|
|
3367
|
+
deny?: string[] | undefined;
|
|
3368
|
+
tlsOptions?: {
|
|
3369
|
+
keypair?: {
|
|
3370
|
+
privateKey?: string | undefined;
|
|
3371
|
+
certificateChain?: string | undefined;
|
|
3372
|
+
} | undefined;
|
|
3373
|
+
requireClientCerts?: boolean | undefined;
|
|
3374
|
+
trustBrowserCas?: boolean | undefined;
|
|
3375
|
+
trustedCertificates?: string[] | undefined;
|
|
3376
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3377
|
+
cipherList?: string | undefined;
|
|
3378
|
+
} | undefined;
|
|
3379
|
+
}>;
|
|
3380
|
+
}, "strip", z.ZodTypeAny, {
|
|
3381
|
+
network: {
|
|
3382
|
+
allow?: string[] | undefined;
|
|
3383
|
+
deny?: string[] | undefined;
|
|
3384
|
+
tlsOptions?: {
|
|
3385
|
+
keypair?: {
|
|
3386
|
+
privateKey?: string | undefined;
|
|
3387
|
+
certificateChain?: string | undefined;
|
|
3388
|
+
} | undefined;
|
|
3389
|
+
requireClientCerts?: boolean | undefined;
|
|
3390
|
+
trustBrowserCas?: boolean | undefined;
|
|
3391
|
+
trustedCertificates?: string[] | undefined;
|
|
3392
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3393
|
+
cipherList?: string | undefined;
|
|
3394
|
+
} | undefined;
|
|
3395
|
+
};
|
|
3396
|
+
}, {
|
|
3397
|
+
network: {
|
|
3398
|
+
allow?: string[] | undefined;
|
|
3399
|
+
deny?: string[] | undefined;
|
|
3400
|
+
tlsOptions?: {
|
|
3401
|
+
keypair?: {
|
|
3402
|
+
privateKey?: string | undefined;
|
|
3403
|
+
certificateChain?: string | undefined;
|
|
3404
|
+
} | undefined;
|
|
3405
|
+
requireClientCerts?: boolean | undefined;
|
|
3406
|
+
trustBrowserCas?: boolean | undefined;
|
|
3407
|
+
trustedCertificates?: string[] | undefined;
|
|
3408
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3409
|
+
cipherList?: string | undefined;
|
|
3410
|
+
} | undefined;
|
|
3411
|
+
};
|
|
3412
|
+
}>, z.ZodObject<{
|
|
3413
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
3414
|
+
}, "strip", z.ZodTypeAny, {
|
|
3415
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3416
|
+
}, {
|
|
3417
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3418
|
+
}>, z.ZodObject<{
|
|
3419
|
+
disk: z.ZodObject<{
|
|
3420
|
+
path: z.ZodString;
|
|
3421
|
+
writable: z.ZodOptional<z.ZodBoolean>;
|
|
3422
|
+
}, "strip", z.ZodTypeAny, {
|
|
3423
|
+
path: string;
|
|
3424
|
+
writable?: boolean | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
path: string;
|
|
3427
|
+
writable?: boolean | undefined;
|
|
3428
|
+
}>;
|
|
3429
|
+
}, "strip", z.ZodTypeAny, {
|
|
3430
|
+
disk: {
|
|
3431
|
+
path: string;
|
|
3432
|
+
writable?: boolean | undefined;
|
|
3433
|
+
};
|
|
3434
|
+
}, {
|
|
3435
|
+
disk: {
|
|
3436
|
+
path: string;
|
|
3437
|
+
writable?: boolean | undefined;
|
|
3438
|
+
};
|
|
3439
|
+
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>, "many">>;
|
|
2551
3440
|
}, "strip", z.ZodTypeAny, {
|
|
2552
3441
|
name?: string | undefined;
|
|
2553
3442
|
rootPath?: undefined;
|
|
2554
3443
|
compatibilityDate?: string | undefined;
|
|
2555
3444
|
compatibilityFlags?: string[] | undefined;
|
|
3445
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2556
3446
|
routes?: string[] | undefined;
|
|
2557
3447
|
bindings?: Record<string, Json_2> | undefined;
|
|
2558
3448
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2561,6 +3451,7 @@ export declare const PLUGINS: {
|
|
|
2561
3451
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2562
3452
|
name: string | kCurrentWorker_2;
|
|
2563
3453
|
entrypoint?: string | undefined;
|
|
3454
|
+
props?: Record<string, unknown> | undefined;
|
|
2564
3455
|
} | {
|
|
2565
3456
|
network: {
|
|
2566
3457
|
allow?: string[] | undefined;
|
|
@@ -2593,6 +3484,7 @@ export declare const PLUGINS: {
|
|
|
2593
3484
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2594
3485
|
name: string | kCurrentWorker_2;
|
|
2595
3486
|
entrypoint?: string | undefined;
|
|
3487
|
+
props?: Record<string, unknown> | undefined;
|
|
2596
3488
|
} | {
|
|
2597
3489
|
network: {
|
|
2598
3490
|
allow?: string[] | undefined;
|
|
@@ -2628,12 +3520,40 @@ export declare const PLUGINS: {
|
|
|
2628
3520
|
unsafeEvalBinding?: string | undefined;
|
|
2629
3521
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2630
3522
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2631
|
-
|
|
3523
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
3524
|
+
name: string | kCurrentWorker_2;
|
|
3525
|
+
entrypoint?: string | undefined;
|
|
3526
|
+
props?: Record<string, unknown> | undefined;
|
|
3527
|
+
} | {
|
|
3528
|
+
network: {
|
|
3529
|
+
allow?: string[] | undefined;
|
|
3530
|
+
deny?: string[] | undefined;
|
|
3531
|
+
tlsOptions?: {
|
|
3532
|
+
keypair?: {
|
|
3533
|
+
privateKey?: string | undefined;
|
|
3534
|
+
certificateChain?: string | undefined;
|
|
3535
|
+
} | undefined;
|
|
3536
|
+
requireClientCerts?: boolean | undefined;
|
|
3537
|
+
trustBrowserCas?: boolean | undefined;
|
|
3538
|
+
trustedCertificates?: string[] | undefined;
|
|
3539
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3540
|
+
cipherList?: string | undefined;
|
|
3541
|
+
} | undefined;
|
|
3542
|
+
};
|
|
3543
|
+
} | {
|
|
3544
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3545
|
+
} | {
|
|
3546
|
+
disk: {
|
|
3547
|
+
path: string;
|
|
3548
|
+
writable?: boolean | undefined;
|
|
3549
|
+
};
|
|
3550
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2632
3551
|
}, {
|
|
2633
3552
|
name?: string | undefined;
|
|
2634
3553
|
rootPath?: string | undefined;
|
|
2635
3554
|
compatibilityDate?: string | undefined;
|
|
2636
3555
|
compatibilityFlags?: string[] | undefined;
|
|
3556
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2637
3557
|
routes?: string[] | undefined;
|
|
2638
3558
|
bindings?: Record<string, Json_2> | undefined;
|
|
2639
3559
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2642,6 +3562,7 @@ export declare const PLUGINS: {
|
|
|
2642
3562
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2643
3563
|
name: string | kCurrentWorker_2;
|
|
2644
3564
|
entrypoint?: string | undefined;
|
|
3565
|
+
props?: Record<string, unknown> | undefined;
|
|
2645
3566
|
} | {
|
|
2646
3567
|
network: {
|
|
2647
3568
|
allow?: string[] | undefined;
|
|
@@ -2669,11 +3590,51 @@ export declare const PLUGINS: {
|
|
|
2669
3590
|
wrappedBindings?: Record<string, string | {
|
|
2670
3591
|
scriptName: string;
|
|
2671
3592
|
entrypoint?: string | undefined;
|
|
2672
|
-
bindings?: Record<string, Json_2> | undefined;
|
|
2673
|
-
}> | undefined;
|
|
2674
|
-
outboundService?: string | kCurrentWorker_2 | {
|
|
3593
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3594
|
+
}> | undefined;
|
|
3595
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3596
|
+
name: string | kCurrentWorker_2;
|
|
3597
|
+
entrypoint?: string | undefined;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
3599
|
+
} | {
|
|
3600
|
+
network: {
|
|
3601
|
+
allow?: string[] | undefined;
|
|
3602
|
+
deny?: string[] | undefined;
|
|
3603
|
+
tlsOptions?: {
|
|
3604
|
+
keypair?: {
|
|
3605
|
+
privateKey?: string | undefined;
|
|
3606
|
+
certificateChain?: string | undefined;
|
|
3607
|
+
} | undefined;
|
|
3608
|
+
requireClientCerts?: boolean | undefined;
|
|
3609
|
+
trustBrowserCas?: boolean | undefined;
|
|
3610
|
+
trustedCertificates?: string[] | undefined;
|
|
3611
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3612
|
+
cipherList?: string | undefined;
|
|
3613
|
+
} | undefined;
|
|
3614
|
+
};
|
|
3615
|
+
} | {
|
|
3616
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3617
|
+
} | {
|
|
3618
|
+
disk: {
|
|
3619
|
+
path: string;
|
|
3620
|
+
writable?: boolean | undefined;
|
|
3621
|
+
};
|
|
3622
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3623
|
+
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
3624
|
+
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
3625
|
+
unsafeDirectSockets?: {
|
|
3626
|
+
host?: string | undefined;
|
|
3627
|
+
port?: number | undefined;
|
|
3628
|
+
entrypoint?: string | undefined;
|
|
3629
|
+
proxy?: boolean | undefined;
|
|
3630
|
+
}[] | undefined;
|
|
3631
|
+
unsafeEvalBinding?: string | undefined;
|
|
3632
|
+
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3633
|
+
hasAssetsAndIsVitest?: boolean | undefined;
|
|
3634
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
2675
3635
|
name: string | kCurrentWorker_2;
|
|
2676
3636
|
entrypoint?: string | undefined;
|
|
3637
|
+
props?: Record<string, unknown> | undefined;
|
|
2677
3638
|
} | {
|
|
2678
3639
|
network: {
|
|
2679
3640
|
allow?: string[] | undefined;
|
|
@@ -2697,22 +3658,10 @@ export declare const PLUGINS: {
|
|
|
2697
3658
|
path: string;
|
|
2698
3659
|
writable?: boolean | undefined;
|
|
2699
3660
|
};
|
|
2700
|
-
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2701
|
-
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2702
|
-
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2703
|
-
unsafeDirectSockets?: {
|
|
2704
|
-
host?: string | undefined;
|
|
2705
|
-
port?: number | undefined;
|
|
2706
|
-
entrypoint?: string | undefined;
|
|
2707
|
-
proxy?: boolean | undefined;
|
|
2708
|
-
}[] | undefined;
|
|
2709
|
-
unsafeEvalBinding?: string | undefined;
|
|
2710
|
-
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2711
|
-
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2712
|
-
unsafeEnableAssetsRpc?: boolean | undefined;
|
|
3661
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2713
3662
|
}>>, ({
|
|
2714
3663
|
modules: {
|
|
2715
|
-
type: "ESModule" | "CommonJS" | "
|
|
3664
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2716
3665
|
path: string;
|
|
2717
3666
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2718
3667
|
}[];
|
|
@@ -2722,6 +3671,7 @@ export declare const PLUGINS: {
|
|
|
2722
3671
|
rootPath?: undefined;
|
|
2723
3672
|
compatibilityDate?: string | undefined;
|
|
2724
3673
|
compatibilityFlags?: string[] | undefined;
|
|
3674
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2725
3675
|
routes?: string[] | undefined;
|
|
2726
3676
|
bindings?: Record<string, Json_2> | undefined;
|
|
2727
3677
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2730,6 +3680,7 @@ export declare const PLUGINS: {
|
|
|
2730
3680
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2731
3681
|
name: string | kCurrentWorker_2;
|
|
2732
3682
|
entrypoint?: string | undefined;
|
|
3683
|
+
props?: Record<string, unknown> | undefined;
|
|
2733
3684
|
} | {
|
|
2734
3685
|
network: {
|
|
2735
3686
|
allow?: string[] | undefined;
|
|
@@ -2762,6 +3713,7 @@ export declare const PLUGINS: {
|
|
|
2762
3713
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2763
3714
|
name: string | kCurrentWorker_2;
|
|
2764
3715
|
entrypoint?: string | undefined;
|
|
3716
|
+
props?: Record<string, unknown> | undefined;
|
|
2765
3717
|
} | {
|
|
2766
3718
|
network: {
|
|
2767
3719
|
allow?: string[] | undefined;
|
|
@@ -2797,13 +3749,40 @@ export declare const PLUGINS: {
|
|
|
2797
3749
|
unsafeEvalBinding?: string | undefined;
|
|
2798
3750
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2799
3751
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2800
|
-
|
|
3752
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
3753
|
+
name: string | kCurrentWorker_2;
|
|
3754
|
+
entrypoint?: string | undefined;
|
|
3755
|
+
props?: Record<string, unknown> | undefined;
|
|
3756
|
+
} | {
|
|
3757
|
+
network: {
|
|
3758
|
+
allow?: string[] | undefined;
|
|
3759
|
+
deny?: string[] | undefined;
|
|
3760
|
+
tlsOptions?: {
|
|
3761
|
+
keypair?: {
|
|
3762
|
+
privateKey?: string | undefined;
|
|
3763
|
+
certificateChain?: string | undefined;
|
|
3764
|
+
} | undefined;
|
|
3765
|
+
requireClientCerts?: boolean | undefined;
|
|
3766
|
+
trustBrowserCas?: boolean | undefined;
|
|
3767
|
+
trustedCertificates?: string[] | undefined;
|
|
3768
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3769
|
+
cipherList?: string | undefined;
|
|
3770
|
+
} | undefined;
|
|
3771
|
+
};
|
|
3772
|
+
} | {
|
|
3773
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3774
|
+
} | {
|
|
3775
|
+
disk: {
|
|
3776
|
+
path: string;
|
|
3777
|
+
writable?: boolean | undefined;
|
|
3778
|
+
};
|
|
3779
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2801
3780
|
}) | ({
|
|
2802
3781
|
script: string;
|
|
2803
3782
|
scriptPath?: string | undefined;
|
|
2804
3783
|
modules?: boolean | undefined;
|
|
2805
3784
|
modulesRules?: {
|
|
2806
|
-
type: "ESModule" | "CommonJS" | "
|
|
3785
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2807
3786
|
include: string[];
|
|
2808
3787
|
fallthrough?: boolean | undefined;
|
|
2809
3788
|
}[] | undefined;
|
|
@@ -2813,6 +3792,7 @@ export declare const PLUGINS: {
|
|
|
2813
3792
|
rootPath?: undefined;
|
|
2814
3793
|
compatibilityDate?: string | undefined;
|
|
2815
3794
|
compatibilityFlags?: string[] | undefined;
|
|
3795
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2816
3796
|
routes?: string[] | undefined;
|
|
2817
3797
|
bindings?: Record<string, Json_2> | undefined;
|
|
2818
3798
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2821,6 +3801,7 @@ export declare const PLUGINS: {
|
|
|
2821
3801
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2822
3802
|
name: string | kCurrentWorker_2;
|
|
2823
3803
|
entrypoint?: string | undefined;
|
|
3804
|
+
props?: Record<string, unknown> | undefined;
|
|
2824
3805
|
} | {
|
|
2825
3806
|
network: {
|
|
2826
3807
|
allow?: string[] | undefined;
|
|
@@ -2853,6 +3834,7 @@ export declare const PLUGINS: {
|
|
|
2853
3834
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2854
3835
|
name: string | kCurrentWorker_2;
|
|
2855
3836
|
entrypoint?: string | undefined;
|
|
3837
|
+
props?: Record<string, unknown> | undefined;
|
|
2856
3838
|
} | {
|
|
2857
3839
|
network: {
|
|
2858
3840
|
allow?: string[] | undefined;
|
|
@@ -2888,12 +3870,39 @@ export declare const PLUGINS: {
|
|
|
2888
3870
|
unsafeEvalBinding?: string | undefined;
|
|
2889
3871
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2890
3872
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2891
|
-
|
|
3873
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
3874
|
+
name: string | kCurrentWorker_2;
|
|
3875
|
+
entrypoint?: string | undefined;
|
|
3876
|
+
props?: Record<string, unknown> | undefined;
|
|
3877
|
+
} | {
|
|
3878
|
+
network: {
|
|
3879
|
+
allow?: string[] | undefined;
|
|
3880
|
+
deny?: string[] | undefined;
|
|
3881
|
+
tlsOptions?: {
|
|
3882
|
+
keypair?: {
|
|
3883
|
+
privateKey?: string | undefined;
|
|
3884
|
+
certificateChain?: string | undefined;
|
|
3885
|
+
} | undefined;
|
|
3886
|
+
requireClientCerts?: boolean | undefined;
|
|
3887
|
+
trustBrowserCas?: boolean | undefined;
|
|
3888
|
+
trustedCertificates?: string[] | undefined;
|
|
3889
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3890
|
+
cipherList?: string | undefined;
|
|
3891
|
+
} | undefined;
|
|
3892
|
+
};
|
|
3893
|
+
} | {
|
|
3894
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3895
|
+
} | {
|
|
3896
|
+
disk: {
|
|
3897
|
+
path: string;
|
|
3898
|
+
writable?: boolean | undefined;
|
|
3899
|
+
};
|
|
3900
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2892
3901
|
}) | ({
|
|
2893
3902
|
scriptPath: string;
|
|
2894
3903
|
modules?: boolean | undefined;
|
|
2895
3904
|
modulesRules?: {
|
|
2896
|
-
type: "ESModule" | "CommonJS" | "
|
|
3905
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2897
3906
|
include: string[];
|
|
2898
3907
|
fallthrough?: boolean | undefined;
|
|
2899
3908
|
}[] | undefined;
|
|
@@ -2903,6 +3912,7 @@ export declare const PLUGINS: {
|
|
|
2903
3912
|
rootPath?: undefined;
|
|
2904
3913
|
compatibilityDate?: string | undefined;
|
|
2905
3914
|
compatibilityFlags?: string[] | undefined;
|
|
3915
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2906
3916
|
routes?: string[] | undefined;
|
|
2907
3917
|
bindings?: Record<string, Json_2> | undefined;
|
|
2908
3918
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2911,6 +3921,7 @@ export declare const PLUGINS: {
|
|
|
2911
3921
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2912
3922
|
name: string | kCurrentWorker_2;
|
|
2913
3923
|
entrypoint?: string | undefined;
|
|
3924
|
+
props?: Record<string, unknown> | undefined;
|
|
2914
3925
|
} | {
|
|
2915
3926
|
network: {
|
|
2916
3927
|
allow?: string[] | undefined;
|
|
@@ -2943,6 +3954,7 @@ export declare const PLUGINS: {
|
|
|
2943
3954
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2944
3955
|
name: string | kCurrentWorker_2;
|
|
2945
3956
|
entrypoint?: string | undefined;
|
|
3957
|
+
props?: Record<string, unknown> | undefined;
|
|
2946
3958
|
} | {
|
|
2947
3959
|
network: {
|
|
2948
3960
|
allow?: string[] | undefined;
|
|
@@ -2978,10 +3990,37 @@ export declare const PLUGINS: {
|
|
|
2978
3990
|
unsafeEvalBinding?: string | undefined;
|
|
2979
3991
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2980
3992
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2981
|
-
|
|
3993
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
3994
|
+
name: string | kCurrentWorker_2;
|
|
3995
|
+
entrypoint?: string | undefined;
|
|
3996
|
+
props?: Record<string, unknown> | undefined;
|
|
3997
|
+
} | {
|
|
3998
|
+
network: {
|
|
3999
|
+
allow?: string[] | undefined;
|
|
4000
|
+
deny?: string[] | undefined;
|
|
4001
|
+
tlsOptions?: {
|
|
4002
|
+
keypair?: {
|
|
4003
|
+
privateKey?: string | undefined;
|
|
4004
|
+
certificateChain?: string | undefined;
|
|
4005
|
+
} | undefined;
|
|
4006
|
+
requireClientCerts?: boolean | undefined;
|
|
4007
|
+
trustBrowserCas?: boolean | undefined;
|
|
4008
|
+
trustedCertificates?: string[] | undefined;
|
|
4009
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
4010
|
+
cipherList?: string | undefined;
|
|
4011
|
+
} | undefined;
|
|
4012
|
+
};
|
|
4013
|
+
} | {
|
|
4014
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
4015
|
+
} | {
|
|
4016
|
+
disk: {
|
|
4017
|
+
path: string;
|
|
4018
|
+
writable?: boolean | undefined;
|
|
4019
|
+
};
|
|
4020
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2982
4021
|
}), ({
|
|
2983
4022
|
modules: {
|
|
2984
|
-
type: "ESModule" | "CommonJS" | "
|
|
4023
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2985
4024
|
path: string;
|
|
2986
4025
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2987
4026
|
}[];
|
|
@@ -2991,7 +4030,7 @@ export declare const PLUGINS: {
|
|
|
2991
4030
|
scriptPath?: string | undefined;
|
|
2992
4031
|
modules?: boolean | undefined;
|
|
2993
4032
|
modulesRules?: {
|
|
2994
|
-
type: "ESModule" | "CommonJS" | "
|
|
4033
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2995
4034
|
include: string[];
|
|
2996
4035
|
fallthrough?: boolean | undefined;
|
|
2997
4036
|
}[] | undefined;
|
|
@@ -3000,7 +4039,7 @@ export declare const PLUGINS: {
|
|
|
3000
4039
|
scriptPath: string;
|
|
3001
4040
|
modules?: boolean | undefined;
|
|
3002
4041
|
modulesRules?: {
|
|
3003
|
-
type: "ESModule" | "CommonJS" | "
|
|
4042
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3004
4043
|
include: string[];
|
|
3005
4044
|
fallthrough?: boolean | undefined;
|
|
3006
4045
|
}[] | undefined;
|
|
@@ -3010,6 +4049,7 @@ export declare const PLUGINS: {
|
|
|
3010
4049
|
rootPath?: string | undefined;
|
|
3011
4050
|
compatibilityDate?: string | undefined;
|
|
3012
4051
|
compatibilityFlags?: string[] | undefined;
|
|
4052
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
3013
4053
|
routes?: string[] | undefined;
|
|
3014
4054
|
bindings?: Record<string, Json_2> | undefined;
|
|
3015
4055
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3018,6 +4058,7 @@ export declare const PLUGINS: {
|
|
|
3018
4058
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3019
4059
|
name: string | kCurrentWorker_2;
|
|
3020
4060
|
entrypoint?: string | undefined;
|
|
4061
|
+
props?: Record<string, unknown> | undefined;
|
|
3021
4062
|
} | {
|
|
3022
4063
|
network: {
|
|
3023
4064
|
allow?: string[] | undefined;
|
|
@@ -3050,6 +4091,7 @@ export declare const PLUGINS: {
|
|
|
3050
4091
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3051
4092
|
name: string | kCurrentWorker_2;
|
|
3052
4093
|
entrypoint?: string | undefined;
|
|
4094
|
+
props?: Record<string, unknown> | undefined;
|
|
3053
4095
|
} | {
|
|
3054
4096
|
network: {
|
|
3055
4097
|
allow?: string[] | undefined;
|
|
@@ -3085,7 +4127,34 @@ export declare const PLUGINS: {
|
|
|
3085
4127
|
unsafeEvalBinding?: string | undefined;
|
|
3086
4128
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3087
4129
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
3088
|
-
|
|
4130
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
4131
|
+
name: string | kCurrentWorker_2;
|
|
4132
|
+
entrypoint?: string | undefined;
|
|
4133
|
+
props?: Record<string, unknown> | undefined;
|
|
4134
|
+
} | {
|
|
4135
|
+
network: {
|
|
4136
|
+
allow?: string[] | undefined;
|
|
4137
|
+
deny?: string[] | undefined;
|
|
4138
|
+
tlsOptions?: {
|
|
4139
|
+
keypair?: {
|
|
4140
|
+
privateKey?: string | undefined;
|
|
4141
|
+
certificateChain?: string | undefined;
|
|
4142
|
+
} | undefined;
|
|
4143
|
+
requireClientCerts?: boolean | undefined;
|
|
4144
|
+
trustBrowserCas?: boolean | undefined;
|
|
4145
|
+
trustedCertificates?: string[] | undefined;
|
|
4146
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
4147
|
+
cipherList?: string | undefined;
|
|
4148
|
+
} | undefined;
|
|
4149
|
+
};
|
|
4150
|
+
} | {
|
|
4151
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
4152
|
+
} | {
|
|
4153
|
+
disk: {
|
|
4154
|
+
path: string;
|
|
4155
|
+
writable?: boolean | undefined;
|
|
4156
|
+
};
|
|
4157
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
3089
4158
|
}>, z.ZodObject<{
|
|
3090
4159
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
3091
4160
|
host: z.ZodOptional<z.ZodString>;
|
|
@@ -3105,8 +4174,10 @@ export declare const PLUGINS: {
|
|
|
3105
4174
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
3106
4175
|
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>>;
|
|
3107
4176
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
3108
|
-
|
|
4177
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
3109
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
logRequests: boolean;
|
|
3110
4181
|
rootPath?: undefined;
|
|
3111
4182
|
host?: string | undefined;
|
|
3112
4183
|
port?: number | undefined;
|
|
@@ -3125,7 +4196,7 @@ export declare const PLUGINS: {
|
|
|
3125
4196
|
unsafeProxySharedSecret?: string | undefined;
|
|
3126
4197
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3127
4198
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3128
|
-
|
|
4199
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
3129
4200
|
}, {
|
|
3130
4201
|
rootPath?: string | undefined;
|
|
3131
4202
|
host?: string | undefined;
|
|
@@ -3145,7 +4216,8 @@ export declare const PLUGINS: {
|
|
|
3145
4216
|
unsafeProxySharedSecret?: string | undefined;
|
|
3146
4217
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3147
4218
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3148
|
-
|
|
4219
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
4220
|
+
logRequests?: boolean | undefined;
|
|
3149
4221
|
}>>;
|
|
3150
4222
|
cache: Plugin_2<z.ZodObject<{
|
|
3151
4223
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3381,40 +4453,153 @@ export declare const PLUGINS: {
|
|
|
3381
4453
|
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
3382
4454
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3383
4455
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4456
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3384
4457
|
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3385
4458
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3386
4459
|
}, "strip", z.ZodTypeAny, {
|
|
3387
4460
|
account_id?: number;
|
|
3388
4461
|
script_id?: number;
|
|
4462
|
+
debug?: boolean;
|
|
3389
4463
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3390
4464
|
has_user_worker?: boolean;
|
|
3391
4465
|
}, {
|
|
3392
4466
|
account_id?: number;
|
|
3393
4467
|
script_id?: number;
|
|
4468
|
+
debug?: boolean;
|
|
3394
4469
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3395
4470
|
has_user_worker?: boolean;
|
|
3396
4471
|
}>>;
|
|
3397
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
4472
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
3398
4473
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3399
4474
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4475
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3400
4476
|
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
3401
4477
|
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3402
4478
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
3403
4479
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
4480
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
4481
|
+
version: z.ZodLiteral<1>;
|
|
4482
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4483
|
+
status: z.ZodNumber;
|
|
4484
|
+
to: z.ZodString;
|
|
4485
|
+
lineNumber: z.ZodNumber;
|
|
3404
4486
|
}, "strip", z.ZodTypeAny, {
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
compatibility_flags?: string[];
|
|
3409
|
-
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3410
|
-
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
4487
|
+
status?: number;
|
|
4488
|
+
to?: string;
|
|
4489
|
+
lineNumber?: number;
|
|
3411
4490
|
}, {
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
4491
|
+
status?: number;
|
|
4492
|
+
to?: string;
|
|
4493
|
+
lineNumber?: number;
|
|
4494
|
+
}>>;
|
|
4495
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4496
|
+
status: z.ZodNumber;
|
|
4497
|
+
to: z.ZodString;
|
|
4498
|
+
}, "strip", z.ZodTypeAny, {
|
|
4499
|
+
status?: number;
|
|
4500
|
+
to?: string;
|
|
4501
|
+
}, {
|
|
4502
|
+
status?: number;
|
|
4503
|
+
to?: string;
|
|
4504
|
+
}>>;
|
|
4505
|
+
}, "strip", z.ZodTypeAny, {
|
|
4506
|
+
version?: 1;
|
|
4507
|
+
staticRules?: Record<string, {
|
|
4508
|
+
status?: number;
|
|
4509
|
+
to?: string;
|
|
4510
|
+
lineNumber?: number;
|
|
4511
|
+
}>;
|
|
4512
|
+
rules?: Record<string, {
|
|
4513
|
+
status?: number;
|
|
4514
|
+
to?: string;
|
|
4515
|
+
}>;
|
|
4516
|
+
}, {
|
|
4517
|
+
version?: 1;
|
|
4518
|
+
staticRules?: Record<string, {
|
|
4519
|
+
status?: number;
|
|
4520
|
+
to?: string;
|
|
4521
|
+
lineNumber?: number;
|
|
4522
|
+
}>;
|
|
4523
|
+
rules?: Record<string, {
|
|
4524
|
+
status?: number;
|
|
4525
|
+
to?: string;
|
|
4526
|
+
}>;
|
|
4527
|
+
}>>;
|
|
4528
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
4529
|
+
version: z.ZodLiteral<2>;
|
|
4530
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4531
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4532
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4533
|
+
}, "strip", z.ZodTypeAny, {
|
|
4534
|
+
set?: Record<string, string>;
|
|
4535
|
+
unset?: string[];
|
|
4536
|
+
}, {
|
|
4537
|
+
set?: Record<string, string>;
|
|
4538
|
+
unset?: string[];
|
|
4539
|
+
}>>;
|
|
4540
|
+
}, "strip", z.ZodTypeAny, {
|
|
4541
|
+
version?: 2;
|
|
4542
|
+
rules?: Record<string, {
|
|
4543
|
+
set?: Record<string, string>;
|
|
4544
|
+
unset?: string[];
|
|
4545
|
+
}>;
|
|
4546
|
+
}, {
|
|
4547
|
+
version?: 2;
|
|
4548
|
+
rules?: Record<string, {
|
|
4549
|
+
set?: Record<string, string>;
|
|
4550
|
+
unset?: string[];
|
|
4551
|
+
}>;
|
|
4552
|
+
}>>;
|
|
4553
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
4554
|
+
headers?: {
|
|
4555
|
+
version?: 2;
|
|
4556
|
+
rules?: Record<string, {
|
|
4557
|
+
set?: Record<string, string>;
|
|
4558
|
+
unset?: string[];
|
|
4559
|
+
}>;
|
|
4560
|
+
} | undefined;
|
|
4561
|
+
debug?: boolean | undefined;
|
|
4562
|
+
account_id?: number | undefined;
|
|
4563
|
+
script_id?: number | undefined;
|
|
4564
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4565
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4566
|
+
redirects?: {
|
|
4567
|
+
version?: 1;
|
|
4568
|
+
staticRules?: Record<string, {
|
|
4569
|
+
status?: number;
|
|
4570
|
+
to?: string;
|
|
4571
|
+
lineNumber?: number;
|
|
4572
|
+
}>;
|
|
4573
|
+
rules?: Record<string, {
|
|
4574
|
+
status?: number;
|
|
4575
|
+
to?: string;
|
|
4576
|
+
}>;
|
|
4577
|
+
} | undefined;
|
|
4578
|
+
}, {
|
|
4579
|
+
headers?: {
|
|
4580
|
+
version?: 2;
|
|
4581
|
+
rules?: Record<string, {
|
|
4582
|
+
set?: Record<string, string>;
|
|
4583
|
+
unset?: string[];
|
|
4584
|
+
}>;
|
|
4585
|
+
} | undefined;
|
|
4586
|
+
debug?: boolean | undefined;
|
|
4587
|
+
account_id?: number | undefined;
|
|
4588
|
+
script_id?: number | undefined;
|
|
4589
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4590
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4591
|
+
redirects?: {
|
|
4592
|
+
version?: 1;
|
|
4593
|
+
staticRules?: Record<string, {
|
|
4594
|
+
status?: number;
|
|
4595
|
+
to?: string;
|
|
4596
|
+
lineNumber?: number;
|
|
4597
|
+
}>;
|
|
4598
|
+
rules?: Record<string, {
|
|
4599
|
+
status?: number;
|
|
4600
|
+
to?: string;
|
|
4601
|
+
}>;
|
|
4602
|
+
} | undefined;
|
|
3418
4603
|
}>>;
|
|
3419
4604
|
}, "strip", z.ZodTypeAny, {
|
|
3420
4605
|
directory: string;
|
|
@@ -3423,16 +4608,35 @@ export declare const PLUGINS: {
|
|
|
3423
4608
|
routerConfig?: {
|
|
3424
4609
|
account_id?: number;
|
|
3425
4610
|
script_id?: number;
|
|
4611
|
+
debug?: boolean;
|
|
3426
4612
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3427
4613
|
has_user_worker?: boolean;
|
|
3428
4614
|
} | undefined;
|
|
3429
4615
|
assetConfig?: {
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
4616
|
+
headers?: {
|
|
4617
|
+
version?: 2;
|
|
4618
|
+
rules?: Record<string, {
|
|
4619
|
+
set?: Record<string, string>;
|
|
4620
|
+
unset?: string[];
|
|
4621
|
+
}>;
|
|
4622
|
+
} | undefined;
|
|
4623
|
+
debug?: boolean | undefined;
|
|
4624
|
+
account_id?: number | undefined;
|
|
4625
|
+
script_id?: number | undefined;
|
|
4626
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4627
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4628
|
+
redirects?: {
|
|
4629
|
+
version?: 1;
|
|
4630
|
+
staticRules?: Record<string, {
|
|
4631
|
+
status?: number;
|
|
4632
|
+
to?: string;
|
|
4633
|
+
lineNumber?: number;
|
|
4634
|
+
}>;
|
|
4635
|
+
rules?: Record<string, {
|
|
4636
|
+
status?: number;
|
|
4637
|
+
to?: string;
|
|
4638
|
+
}>;
|
|
4639
|
+
} | undefined;
|
|
3436
4640
|
} | undefined;
|
|
3437
4641
|
}, {
|
|
3438
4642
|
directory: string;
|
|
@@ -3441,18 +4645,39 @@ export declare const PLUGINS: {
|
|
|
3441
4645
|
routerConfig?: {
|
|
3442
4646
|
account_id?: number;
|
|
3443
4647
|
script_id?: number;
|
|
4648
|
+
debug?: boolean;
|
|
3444
4649
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3445
4650
|
has_user_worker?: boolean;
|
|
3446
4651
|
} | undefined;
|
|
3447
4652
|
assetConfig?: {
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
4653
|
+
headers?: {
|
|
4654
|
+
version?: 2;
|
|
4655
|
+
rules?: Record<string, {
|
|
4656
|
+
set?: Record<string, string>;
|
|
4657
|
+
unset?: string[];
|
|
4658
|
+
}>;
|
|
4659
|
+
} | undefined;
|
|
4660
|
+
debug?: boolean | undefined;
|
|
4661
|
+
account_id?: number | undefined;
|
|
4662
|
+
script_id?: number | undefined;
|
|
4663
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4664
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4665
|
+
redirects?: {
|
|
4666
|
+
version?: 1;
|
|
4667
|
+
staticRules?: Record<string, {
|
|
4668
|
+
status?: number;
|
|
4669
|
+
to?: string;
|
|
4670
|
+
lineNumber?: number;
|
|
4671
|
+
}>;
|
|
4672
|
+
rules?: Record<string, {
|
|
4673
|
+
status?: number;
|
|
4674
|
+
to?: string;
|
|
4675
|
+
}>;
|
|
4676
|
+
} | undefined;
|
|
3454
4677
|
} | undefined;
|
|
3455
4678
|
}>>;
|
|
4679
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
4680
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3456
4681
|
}, "strip", z.ZodTypeAny, {
|
|
3457
4682
|
assets?: {
|
|
3458
4683
|
directory: string;
|
|
@@ -3461,18 +4686,39 @@ export declare const PLUGINS: {
|
|
|
3461
4686
|
routerConfig?: {
|
|
3462
4687
|
account_id?: number;
|
|
3463
4688
|
script_id?: number;
|
|
4689
|
+
debug?: boolean;
|
|
3464
4690
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3465
4691
|
has_user_worker?: boolean;
|
|
3466
4692
|
} | undefined;
|
|
3467
4693
|
assetConfig?: {
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
4694
|
+
headers?: {
|
|
4695
|
+
version?: 2;
|
|
4696
|
+
rules?: Record<string, {
|
|
4697
|
+
set?: Record<string, string>;
|
|
4698
|
+
unset?: string[];
|
|
4699
|
+
}>;
|
|
4700
|
+
} | undefined;
|
|
4701
|
+
debug?: boolean | undefined;
|
|
4702
|
+
account_id?: number | undefined;
|
|
4703
|
+
script_id?: number | undefined;
|
|
4704
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4705
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4706
|
+
redirects?: {
|
|
4707
|
+
version?: 1;
|
|
4708
|
+
staticRules?: Record<string, {
|
|
4709
|
+
status?: number;
|
|
4710
|
+
to?: string;
|
|
4711
|
+
lineNumber?: number;
|
|
4712
|
+
}>;
|
|
4713
|
+
rules?: Record<string, {
|
|
4714
|
+
status?: number;
|
|
4715
|
+
to?: string;
|
|
4716
|
+
}>;
|
|
4717
|
+
} | undefined;
|
|
3474
4718
|
} | undefined;
|
|
3475
4719
|
} | undefined;
|
|
4720
|
+
compatibilityDate?: string | undefined;
|
|
4721
|
+
compatibilityFlags?: string[] | undefined;
|
|
3476
4722
|
}, {
|
|
3477
4723
|
assets?: {
|
|
3478
4724
|
directory: string;
|
|
@@ -3481,18 +4727,39 @@ export declare const PLUGINS: {
|
|
|
3481
4727
|
routerConfig?: {
|
|
3482
4728
|
account_id?: number;
|
|
3483
4729
|
script_id?: number;
|
|
4730
|
+
debug?: boolean;
|
|
3484
4731
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3485
4732
|
has_user_worker?: boolean;
|
|
3486
4733
|
} | undefined;
|
|
3487
4734
|
assetConfig?: {
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
4735
|
+
headers?: {
|
|
4736
|
+
version?: 2;
|
|
4737
|
+
rules?: Record<string, {
|
|
4738
|
+
set?: Record<string, string>;
|
|
4739
|
+
unset?: string[];
|
|
4740
|
+
}>;
|
|
4741
|
+
} | undefined;
|
|
4742
|
+
debug?: boolean | undefined;
|
|
4743
|
+
account_id?: number | undefined;
|
|
4744
|
+
script_id?: number | undefined;
|
|
4745
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4746
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4747
|
+
redirects?: {
|
|
4748
|
+
version?: 1;
|
|
4749
|
+
staticRules?: Record<string, {
|
|
4750
|
+
status?: number;
|
|
4751
|
+
to?: string;
|
|
4752
|
+
lineNumber?: number;
|
|
4753
|
+
}>;
|
|
4754
|
+
rules?: Record<string, {
|
|
4755
|
+
status?: number;
|
|
4756
|
+
to?: string;
|
|
4757
|
+
}>;
|
|
3494
4758
|
} | undefined;
|
|
3495
4759
|
} | undefined;
|
|
4760
|
+
} | undefined;
|
|
4761
|
+
compatibilityDate?: string | undefined;
|
|
4762
|
+
compatibilityFlags?: string[] | undefined;
|
|
3496
4763
|
}>>;
|
|
3497
4764
|
workflows: Plugin_2<z.ZodObject<{
|
|
3498
4765
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3534,6 +4801,130 @@ export declare const PLUGINS: {
|
|
|
3534
4801
|
}, {
|
|
3535
4802
|
pipelines?: string[] | Record<string, string> | undefined;
|
|
3536
4803
|
}>>;
|
|
4804
|
+
"secrets-store": Plugin_2<z.ZodObject<{
|
|
4805
|
+
secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4806
|
+
store_id: z.ZodString;
|
|
4807
|
+
secret_name: z.ZodString;
|
|
4808
|
+
}, "strip", z.ZodTypeAny, {
|
|
4809
|
+
store_id: string;
|
|
4810
|
+
secret_name: string;
|
|
4811
|
+
}, {
|
|
4812
|
+
store_id: string;
|
|
4813
|
+
secret_name: string;
|
|
4814
|
+
}>>>;
|
|
4815
|
+
}, "strip", z.ZodTypeAny, {
|
|
4816
|
+
secretsStoreSecrets?: Record<string, {
|
|
4817
|
+
store_id: string;
|
|
4818
|
+
secret_name: string;
|
|
4819
|
+
}> | undefined;
|
|
4820
|
+
}, {
|
|
4821
|
+
secretsStoreSecrets?: Record<string, {
|
|
4822
|
+
store_id: string;
|
|
4823
|
+
secret_name: string;
|
|
4824
|
+
}> | undefined;
|
|
4825
|
+
}>, z.ZodObject<{
|
|
4826
|
+
secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
4827
|
+
}, "strip", z.ZodTypeAny, {
|
|
4828
|
+
secretsStorePersist?: string | boolean | undefined;
|
|
4829
|
+
}, {
|
|
4830
|
+
secretsStorePersist?: string | boolean | undefined;
|
|
4831
|
+
}>>;
|
|
4832
|
+
email: Plugin_2<z.ZodObject<{
|
|
4833
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
4834
|
+
send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
4835
|
+
name: z.ZodString;
|
|
4836
|
+
}, "strip", z.ZodTypeAny, {
|
|
4837
|
+
name: string;
|
|
4838
|
+
}, {
|
|
4839
|
+
name: string;
|
|
4840
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
4841
|
+
destination_address: z.ZodOptional<z.ZodString>;
|
|
4842
|
+
allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
|
|
4843
|
+
}, "strip", z.ZodTypeAny, {
|
|
4844
|
+
destination_address?: string | undefined;
|
|
4845
|
+
allowed_destination_addresses?: undefined;
|
|
4846
|
+
}, {
|
|
4847
|
+
destination_address?: string | undefined;
|
|
4848
|
+
allowed_destination_addresses?: undefined;
|
|
4849
|
+
}>, z.ZodObject<{
|
|
4850
|
+
allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4851
|
+
destination_address: z.ZodOptional<z.ZodNever>;
|
|
4852
|
+
}, "strip", z.ZodTypeAny, {
|
|
4853
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4854
|
+
destination_address?: undefined;
|
|
4855
|
+
}, {
|
|
4856
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4857
|
+
destination_address?: undefined;
|
|
4858
|
+
}>]>>, "many">>;
|
|
4859
|
+
}, "strip", z.ZodTypeAny, {
|
|
4860
|
+
send_email?: ({
|
|
4861
|
+
name: string;
|
|
4862
|
+
} & ({
|
|
4863
|
+
destination_address?: string | undefined;
|
|
4864
|
+
allowed_destination_addresses?: undefined;
|
|
4865
|
+
} | {
|
|
4866
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4867
|
+
destination_address?: undefined;
|
|
4868
|
+
}))[] | undefined;
|
|
4869
|
+
}, {
|
|
4870
|
+
send_email?: ({
|
|
4871
|
+
name: string;
|
|
4872
|
+
} & ({
|
|
4873
|
+
destination_address?: string | undefined;
|
|
4874
|
+
allowed_destination_addresses?: undefined;
|
|
4875
|
+
} | {
|
|
4876
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4877
|
+
destination_address?: undefined;
|
|
4878
|
+
}))[] | undefined;
|
|
4879
|
+
}>>;
|
|
4880
|
+
}, "strip", z.ZodTypeAny, {
|
|
4881
|
+
email?: {
|
|
4882
|
+
send_email?: ({
|
|
4883
|
+
name: string;
|
|
4884
|
+
} & ({
|
|
4885
|
+
destination_address?: string | undefined;
|
|
4886
|
+
allowed_destination_addresses?: undefined;
|
|
4887
|
+
} | {
|
|
4888
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4889
|
+
destination_address?: undefined;
|
|
4890
|
+
}))[] | undefined;
|
|
4891
|
+
} | undefined;
|
|
4892
|
+
}, {
|
|
4893
|
+
email?: {
|
|
4894
|
+
send_email?: ({
|
|
4895
|
+
name: string;
|
|
4896
|
+
} & ({
|
|
4897
|
+
destination_address?: string | undefined;
|
|
4898
|
+
allowed_destination_addresses?: undefined;
|
|
4899
|
+
} | {
|
|
4900
|
+
allowed_destination_addresses?: string[] | undefined;
|
|
4901
|
+
destination_address?: undefined;
|
|
4902
|
+
}))[] | undefined;
|
|
4903
|
+
} | undefined;
|
|
4904
|
+
}>>;
|
|
4905
|
+
"analytics-engine": Plugin_2<z.ZodObject<{
|
|
4906
|
+
analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4907
|
+
dataset: z.ZodString;
|
|
4908
|
+
}, "strip", z.ZodTypeAny, {
|
|
4909
|
+
dataset: string;
|
|
4910
|
+
}, {
|
|
4911
|
+
dataset: string;
|
|
4912
|
+
}>>>;
|
|
4913
|
+
}, "strip", z.ZodTypeAny, {
|
|
4914
|
+
analyticsEngineDatasets?: Record<string, {
|
|
4915
|
+
dataset: string;
|
|
4916
|
+
}> | undefined;
|
|
4917
|
+
}, {
|
|
4918
|
+
analyticsEngineDatasets?: Record<string, {
|
|
4919
|
+
dataset: string;
|
|
4920
|
+
}> | undefined;
|
|
4921
|
+
}>, z.ZodObject<{
|
|
4922
|
+
analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
4923
|
+
}, "strip", z.ZodTypeAny, {
|
|
4924
|
+
analyticsEngineDatasetsPersist?: string | boolean | undefined;
|
|
4925
|
+
}, {
|
|
4926
|
+
analyticsEngineDatasetsPersist?: string | boolean | undefined;
|
|
4927
|
+
}>>;
|
|
3537
4928
|
};
|
|
3538
4929
|
|
|
3539
4930
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -3554,7 +4945,6 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
|
|
|
3554
4945
|
unsafeEphemeralDurableObjects: boolean;
|
|
3555
4946
|
queueProducers: QueueProducers;
|
|
3556
4947
|
queueConsumers: QueueConsumers;
|
|
3557
|
-
unsafeEnableAssetsRpc: boolean;
|
|
3558
4948
|
}
|
|
3559
4949
|
|
|
3560
4950
|
export declare function prefixError(prefix: string, e: any): Error;
|
|
@@ -4103,6 +5493,41 @@ export declare interface RuntimeOptions {
|
|
|
4103
5493
|
|
|
4104
5494
|
export declare function sanitisePath(unsafe: string): string;
|
|
4105
5495
|
|
|
5496
|
+
export declare const SECRET_STORE_PLUGIN: Plugin<typeof SecretsStoreSecretsOptionsSchema, typeof SecretsStoreSecretsSharedOptionsSchema>;
|
|
5497
|
+
|
|
5498
|
+
export declare const SECRET_STORE_PLUGIN_NAME = "secrets-store";
|
|
5499
|
+
|
|
5500
|
+
export declare const SecretsStoreSecretsOptionsSchema: z.ZodObject<{
|
|
5501
|
+
secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5502
|
+
store_id: z.ZodString;
|
|
5503
|
+
secret_name: z.ZodString;
|
|
5504
|
+
}, "strip", z.ZodTypeAny, {
|
|
5505
|
+
store_id: string;
|
|
5506
|
+
secret_name: string;
|
|
5507
|
+
}, {
|
|
5508
|
+
store_id: string;
|
|
5509
|
+
secret_name: string;
|
|
5510
|
+
}>>>;
|
|
5511
|
+
}, "strip", z.ZodTypeAny, {
|
|
5512
|
+
secretsStoreSecrets?: Record<string, {
|
|
5513
|
+
store_id: string;
|
|
5514
|
+
secret_name: string;
|
|
5515
|
+
}> | undefined;
|
|
5516
|
+
}, {
|
|
5517
|
+
secretsStoreSecrets?: Record<string, {
|
|
5518
|
+
store_id: string;
|
|
5519
|
+
secret_name: string;
|
|
5520
|
+
}> | undefined;
|
|
5521
|
+
}>;
|
|
5522
|
+
|
|
5523
|
+
export declare const SecretsStoreSecretsSharedOptionsSchema: z.ZodObject<{
|
|
5524
|
+
secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
5525
|
+
}, "strip", z.ZodTypeAny, {
|
|
5526
|
+
secretsStorePersist?: string | boolean | undefined;
|
|
5527
|
+
}, {
|
|
5528
|
+
secretsStorePersist?: string | boolean | undefined;
|
|
5529
|
+
}>;
|
|
5530
|
+
|
|
4106
5531
|
export declare interface SerialisableMatcherRegExps {
|
|
4107
5532
|
include: string[];
|
|
4108
5533
|
exclude: string[];
|
|
@@ -4138,6 +5563,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
|
|
|
4138
5563
|
export declare interface ServiceDesignator {
|
|
4139
5564
|
name?: string;
|
|
4140
5565
|
entrypoint?: string;
|
|
5566
|
+
props?: {
|
|
5567
|
+
json: string;
|
|
5568
|
+
};
|
|
4141
5569
|
}
|
|
4142
5570
|
|
|
4143
5571
|
export declare interface ServicesExtensions {
|
|
@@ -4158,7 +5586,7 @@ export declare const SharedHeaders: {
|
|
|
4158
5586
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
4159
5587
|
};
|
|
4160
5588
|
|
|
4161
|
-
export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions> & z.input<typeof WORKFLOWS_PLUGIN.sharedOptions>;
|
|
5589
|
+
export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions> & z.input<typeof WORKFLOWS_PLUGIN.sharedOptions> & z.input<typeof SECRET_STORE_PLUGIN.sharedOptions> & z.input<typeof ANALYTICS_ENGINE_PLUGIN.sharedOptions>;
|
|
4162
5590
|
|
|
4163
5591
|
export declare const SiteBindings: {
|
|
4164
5592
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -4200,29 +5628,29 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
|
|
|
4200
5628
|
|
|
4201
5629
|
export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
4202
5630
|
modules: z.ZodArray<z.ZodObject<{
|
|
4203
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5631
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4204
5632
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
4205
5633
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
4206
5634
|
}, "strip", z.ZodTypeAny, {
|
|
4207
|
-
type: "ESModule" | "CommonJS" | "
|
|
5635
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4208
5636
|
path: string;
|
|
4209
5637
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4210
5638
|
}, {
|
|
4211
|
-
type: "ESModule" | "CommonJS" | "
|
|
5639
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4212
5640
|
path: string;
|
|
4213
5641
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4214
5642
|
}>, "many">;
|
|
4215
5643
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4216
5644
|
}, "strip", z.ZodTypeAny, {
|
|
4217
5645
|
modules: {
|
|
4218
|
-
type: "ESModule" | "CommonJS" | "
|
|
5646
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4219
5647
|
path: string;
|
|
4220
5648
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4221
5649
|
}[];
|
|
4222
5650
|
modulesRoot?: string | undefined;
|
|
4223
5651
|
}, {
|
|
4224
5652
|
modules: {
|
|
4225
|
-
type: "ESModule" | "CommonJS" | "
|
|
5653
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4226
5654
|
path: string;
|
|
4227
5655
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4228
5656
|
}[];
|
|
@@ -4232,15 +5660,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4232
5660
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4233
5661
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4234
5662
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4235
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5663
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4236
5664
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4237
5665
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4238
5666
|
}, "strip", z.ZodTypeAny, {
|
|
4239
|
-
type: "ESModule" | "CommonJS" | "
|
|
5667
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4240
5668
|
include: string[];
|
|
4241
5669
|
fallthrough?: boolean | undefined;
|
|
4242
5670
|
}, {
|
|
4243
|
-
type: "ESModule" | "CommonJS" | "
|
|
5671
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4244
5672
|
include: string[];
|
|
4245
5673
|
fallthrough?: boolean | undefined;
|
|
4246
5674
|
}>, "many">>;
|
|
@@ -4250,7 +5678,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4250
5678
|
scriptPath?: string | undefined;
|
|
4251
5679
|
modules?: boolean | undefined;
|
|
4252
5680
|
modulesRules?: {
|
|
4253
|
-
type: "ESModule" | "CommonJS" | "
|
|
5681
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4254
5682
|
include: string[];
|
|
4255
5683
|
fallthrough?: boolean | undefined;
|
|
4256
5684
|
}[] | undefined;
|
|
@@ -4260,7 +5688,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4260
5688
|
scriptPath?: string | undefined;
|
|
4261
5689
|
modules?: boolean | undefined;
|
|
4262
5690
|
modulesRules?: {
|
|
4263
|
-
type: "ESModule" | "CommonJS" | "
|
|
5691
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4264
5692
|
include: string[];
|
|
4265
5693
|
fallthrough?: boolean | undefined;
|
|
4266
5694
|
}[] | undefined;
|
|
@@ -4269,15 +5697,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4269
5697
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
4270
5698
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4271
5699
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4272
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5700
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4273
5701
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4274
5702
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4275
5703
|
}, "strip", z.ZodTypeAny, {
|
|
4276
|
-
type: "ESModule" | "CommonJS" | "
|
|
5704
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4277
5705
|
include: string[];
|
|
4278
5706
|
fallthrough?: boolean | undefined;
|
|
4279
5707
|
}, {
|
|
4280
|
-
type: "ESModule" | "CommonJS" | "
|
|
5708
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4281
5709
|
include: string[];
|
|
4282
5710
|
fallthrough?: boolean | undefined;
|
|
4283
5711
|
}>, "many">>;
|
|
@@ -4286,7 +5714,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4286
5714
|
scriptPath: string;
|
|
4287
5715
|
modules?: boolean | undefined;
|
|
4288
5716
|
modulesRules?: {
|
|
4289
|
-
type: "ESModule" | "CommonJS" | "
|
|
5717
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4290
5718
|
include: string[];
|
|
4291
5719
|
fallthrough?: boolean | undefined;
|
|
4292
5720
|
}[] | undefined;
|
|
@@ -4295,7 +5723,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4295
5723
|
scriptPath: string;
|
|
4296
5724
|
modules?: boolean | undefined;
|
|
4297
5725
|
modulesRules?: {
|
|
4298
|
-
type: "ESModule" | "CommonJS" | "
|
|
5726
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4299
5727
|
include: string[];
|
|
4300
5728
|
fallthrough?: boolean | undefined;
|
|
4301
5729
|
}[] | undefined;
|
|
@@ -4427,6 +5855,7 @@ export declare type Worker = ({
|
|
|
4427
5855
|
durableObjectUniqueKeyModifier?: string;
|
|
4428
5856
|
durableObjectStorage?: Worker_DurableObjectStorage;
|
|
4429
5857
|
moduleFallback?: string;
|
|
5858
|
+
tails?: ServiceDesignator[];
|
|
4430
5859
|
};
|
|
4431
5860
|
|
|
4432
5861
|
export declare type Worker_Binding = {
|
|
@@ -4601,15 +6030,13 @@ export declare type Worker_Module = {
|
|
|
4601
6030
|
wasm?: Uint8Array;
|
|
4602
6031
|
} | {
|
|
4603
6032
|
json?: string;
|
|
4604
|
-
} | {
|
|
4605
|
-
nodeJsCompatModule?: string;
|
|
4606
6033
|
} | {
|
|
4607
6034
|
pythonModule?: string;
|
|
4608
6035
|
} | {
|
|
4609
6036
|
pythonRequirement?: string;
|
|
4610
6037
|
});
|
|
4611
6038
|
|
|
4612
|
-
export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options>;
|
|
6039
|
+
export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof EMAIL_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options> & z.input<typeof SECRET_STORE_PLUGIN.options> & z.input<typeof ANALYTICS_ENGINE_PLUGIN.options>;
|
|
4613
6040
|
|
|
4614
6041
|
export declare interface WorkerRoute {
|
|
4615
6042
|
target: string;
|