miniflare 0.0.0-e51304ca0 → 0.0.0-e55f489db
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 +1314 -261
- package/dist/src/index.js +1829 -885
- 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 +392 -193
- package/dist/src/workers/assets/assets.worker.js.map +2 -2
- package/dist/src/workers/assets/router.worker.js +2 -1
- 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 +14 -11
package/dist/src/index.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ import type { DurableObjectNamespace } from '@cloudflare/workers-types/experimen
|
|
|
11
11
|
import { ExternalServer as ExternalServer_2 } from '../..';
|
|
12
12
|
import { ExternalServer as ExternalServer_3 } from '..';
|
|
13
13
|
import type { Fetcher } from '@cloudflare/workers-types/experimental';
|
|
14
|
-
import { File } from 'undici';
|
|
15
|
-
import type { File as
|
|
14
|
+
import { File as File_2 } from 'undici';
|
|
15
|
+
import type { File as File_3 } from '@cloudflare/workers-types/experimental';
|
|
16
16
|
import { FormData as FormData_2 } from 'undici';
|
|
17
17
|
import { Headers as Headers_2 } from 'undici';
|
|
18
18
|
import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimental';
|
|
@@ -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,22 +121,26 @@ 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"]>>;
|
|
@@ -183,13 +218,19 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
183
218
|
unset?: string[];
|
|
184
219
|
}>;
|
|
185
220
|
}>>;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
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;
|
|
193
234
|
redirects?: {
|
|
194
235
|
version?: 1;
|
|
195
236
|
staticRules?: Record<string, {
|
|
@@ -201,21 +242,20 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
201
242
|
status?: number;
|
|
202
243
|
to?: string;
|
|
203
244
|
}>;
|
|
204
|
-
};
|
|
245
|
+
} | undefined;
|
|
246
|
+
}, {
|
|
205
247
|
headers?: {
|
|
206
248
|
version?: 2;
|
|
207
249
|
rules?: Record<string, {
|
|
208
250
|
set?: Record<string, string>;
|
|
209
251
|
unset?: string[];
|
|
210
252
|
}>;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
account_id?: number;
|
|
214
|
-
script_id?: number;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
218
|
-
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
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;
|
|
219
259
|
redirects?: {
|
|
220
260
|
version?: 1;
|
|
221
261
|
staticRules?: Record<string, {
|
|
@@ -227,14 +267,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
227
267
|
status?: number;
|
|
228
268
|
to?: string;
|
|
229
269
|
}>;
|
|
230
|
-
};
|
|
231
|
-
headers?: {
|
|
232
|
-
version?: 2;
|
|
233
|
-
rules?: Record<string, {
|
|
234
|
-
set?: Record<string, string>;
|
|
235
|
-
unset?: string[];
|
|
236
|
-
}>;
|
|
237
|
-
};
|
|
270
|
+
} | undefined;
|
|
238
271
|
}>>;
|
|
239
272
|
}, "strip", z.ZodTypeAny, {
|
|
240
273
|
directory: string;
|
|
@@ -243,16 +276,23 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
243
276
|
routerConfig?: {
|
|
244
277
|
account_id?: number;
|
|
245
278
|
script_id?: number;
|
|
279
|
+
debug?: boolean;
|
|
246
280
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
247
281
|
has_user_worker?: boolean;
|
|
248
282
|
} | undefined;
|
|
249
283
|
assetConfig?: {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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;
|
|
256
296
|
redirects?: {
|
|
257
297
|
version?: 1;
|
|
258
298
|
staticRules?: Record<string, {
|
|
@@ -264,14 +304,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
264
304
|
status?: number;
|
|
265
305
|
to?: string;
|
|
266
306
|
}>;
|
|
267
|
-
};
|
|
268
|
-
headers?: {
|
|
269
|
-
version?: 2;
|
|
270
|
-
rules?: Record<string, {
|
|
271
|
-
set?: Record<string, string>;
|
|
272
|
-
unset?: string[];
|
|
273
|
-
}>;
|
|
274
|
-
};
|
|
307
|
+
} | undefined;
|
|
275
308
|
} | undefined;
|
|
276
309
|
}, {
|
|
277
310
|
directory: string;
|
|
@@ -280,16 +313,23 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
280
313
|
routerConfig?: {
|
|
281
314
|
account_id?: number;
|
|
282
315
|
script_id?: number;
|
|
316
|
+
debug?: boolean;
|
|
283
317
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
284
318
|
has_user_worker?: boolean;
|
|
285
319
|
} | undefined;
|
|
286
320
|
assetConfig?: {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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;
|
|
293
333
|
redirects?: {
|
|
294
334
|
version?: 1;
|
|
295
335
|
staticRules?: Record<string, {
|
|
@@ -301,16 +341,11 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
301
341
|
status?: number;
|
|
302
342
|
to?: string;
|
|
303
343
|
}>;
|
|
304
|
-
};
|
|
305
|
-
headers?: {
|
|
306
|
-
version?: 2;
|
|
307
|
-
rules?: Record<string, {
|
|
308
|
-
set?: Record<string, string>;
|
|
309
|
-
unset?: string[];
|
|
310
|
-
}>;
|
|
311
|
-
};
|
|
344
|
+
} | undefined;
|
|
312
345
|
} | undefined;
|
|
313
346
|
}>>;
|
|
347
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
348
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
314
349
|
}, "strip", z.ZodTypeAny, {
|
|
315
350
|
assets?: {
|
|
316
351
|
directory: string;
|
|
@@ -319,16 +354,23 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
319
354
|
routerConfig?: {
|
|
320
355
|
account_id?: number;
|
|
321
356
|
script_id?: number;
|
|
357
|
+
debug?: boolean;
|
|
322
358
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
323
359
|
has_user_worker?: boolean;
|
|
324
360
|
} | undefined;
|
|
325
361
|
assetConfig?: {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
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;
|
|
332
374
|
redirects?: {
|
|
333
375
|
version?: 1;
|
|
334
376
|
staticRules?: Record<string, {
|
|
@@ -340,16 +382,11 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
340
382
|
status?: number;
|
|
341
383
|
to?: string;
|
|
342
384
|
}>;
|
|
343
|
-
};
|
|
344
|
-
headers?: {
|
|
345
|
-
version?: 2;
|
|
346
|
-
rules?: Record<string, {
|
|
347
|
-
set?: Record<string, string>;
|
|
348
|
-
unset?: string[];
|
|
349
|
-
}>;
|
|
350
|
-
};
|
|
385
|
+
} | undefined;
|
|
351
386
|
} | undefined;
|
|
352
387
|
} | undefined;
|
|
388
|
+
compatibilityDate?: string | undefined;
|
|
389
|
+
compatibilityFlags?: string[] | undefined;
|
|
353
390
|
}, {
|
|
354
391
|
assets?: {
|
|
355
392
|
directory: string;
|
|
@@ -358,16 +395,23 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
358
395
|
routerConfig?: {
|
|
359
396
|
account_id?: number;
|
|
360
397
|
script_id?: number;
|
|
398
|
+
debug?: boolean;
|
|
361
399
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
362
400
|
has_user_worker?: boolean;
|
|
363
401
|
} | undefined;
|
|
364
402
|
assetConfig?: {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
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;
|
|
371
415
|
redirects?: {
|
|
372
416
|
version?: 1;
|
|
373
417
|
staticRules?: Record<string, {
|
|
@@ -379,16 +423,11 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
379
423
|
status?: number;
|
|
380
424
|
to?: string;
|
|
381
425
|
}>;
|
|
382
|
-
};
|
|
383
|
-
headers?: {
|
|
384
|
-
version?: 2;
|
|
385
|
-
rules?: Record<string, {
|
|
386
|
-
set?: Record<string, string>;
|
|
387
|
-
unset?: string[];
|
|
388
|
-
}>;
|
|
389
|
-
};
|
|
426
|
+
} | undefined;
|
|
390
427
|
} | undefined;
|
|
391
428
|
} | undefined;
|
|
429
|
+
compatibilityDate?: string | undefined;
|
|
430
|
+
compatibilityFlags?: string[] | undefined;
|
|
392
431
|
}>;
|
|
393
432
|
|
|
394
433
|
export declare type Awaitable<T> = T | Promise<T>;
|
|
@@ -494,6 +533,8 @@ export declare const CoreBindings: {
|
|
|
494
533
|
readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
|
|
495
534
|
readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
|
|
496
535
|
readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
|
|
536
|
+
readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
|
|
537
|
+
readonly LOG_REQUESTS: "LOG_REQUESTS";
|
|
497
538
|
};
|
|
498
539
|
|
|
499
540
|
export declare const CoreHeaders: {
|
|
@@ -515,29 +556,29 @@ export declare const CoreHeaders: {
|
|
|
515
556
|
|
|
516
557
|
export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
517
558
|
modules: z.ZodArray<z.ZodObject<{
|
|
518
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
559
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
519
560
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
520
561
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
521
562
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
type: "ESModule" | "CommonJS" | "
|
|
563
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
523
564
|
path: string;
|
|
524
565
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
525
566
|
}, {
|
|
526
|
-
type: "ESModule" | "CommonJS" | "
|
|
567
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
527
568
|
path: string;
|
|
528
569
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
529
570
|
}>, "many">;
|
|
530
571
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
531
572
|
}, "strip", z.ZodTypeAny, {
|
|
532
573
|
modules: {
|
|
533
|
-
type: "ESModule" | "CommonJS" | "
|
|
574
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
534
575
|
path: string;
|
|
535
576
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
536
577
|
}[];
|
|
537
578
|
modulesRoot?: string | undefined;
|
|
538
579
|
}, {
|
|
539
580
|
modules: {
|
|
540
|
-
type: "ESModule" | "CommonJS" | "
|
|
581
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
541
582
|
path: string;
|
|
542
583
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
543
584
|
}[];
|
|
@@ -547,15 +588,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
547
588
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
548
589
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
549
590
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
550
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
591
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
551
592
|
include: z.ZodArray<z.ZodString, "many">;
|
|
552
593
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
553
594
|
}, "strip", z.ZodTypeAny, {
|
|
554
|
-
type: "ESModule" | "CommonJS" | "
|
|
595
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
555
596
|
include: string[];
|
|
556
597
|
fallthrough?: boolean | undefined;
|
|
557
598
|
}, {
|
|
558
|
-
type: "ESModule" | "CommonJS" | "
|
|
599
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
559
600
|
include: string[];
|
|
560
601
|
fallthrough?: boolean | undefined;
|
|
561
602
|
}>, "many">>;
|
|
@@ -565,7 +606,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
565
606
|
scriptPath?: string | undefined;
|
|
566
607
|
modules?: boolean | undefined;
|
|
567
608
|
modulesRules?: {
|
|
568
|
-
type: "ESModule" | "CommonJS" | "
|
|
609
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
569
610
|
include: string[];
|
|
570
611
|
fallthrough?: boolean | undefined;
|
|
571
612
|
}[] | undefined;
|
|
@@ -575,7 +616,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
575
616
|
scriptPath?: string | undefined;
|
|
576
617
|
modules?: boolean | undefined;
|
|
577
618
|
modulesRules?: {
|
|
578
|
-
type: "ESModule" | "CommonJS" | "
|
|
619
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
579
620
|
include: string[];
|
|
580
621
|
fallthrough?: boolean | undefined;
|
|
581
622
|
}[] | undefined;
|
|
@@ -584,15 +625,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
584
625
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
585
626
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
586
627
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
587
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
628
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
588
629
|
include: z.ZodArray<z.ZodString, "many">;
|
|
589
630
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
590
631
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
type: "ESModule" | "CommonJS" | "
|
|
632
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
592
633
|
include: string[];
|
|
593
634
|
fallthrough?: boolean | undefined;
|
|
594
635
|
}, {
|
|
595
|
-
type: "ESModule" | "CommonJS" | "
|
|
636
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
596
637
|
include: string[];
|
|
597
638
|
fallthrough?: boolean | undefined;
|
|
598
639
|
}>, "many">>;
|
|
@@ -601,7 +642,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
601
642
|
scriptPath: string;
|
|
602
643
|
modules?: boolean | undefined;
|
|
603
644
|
modulesRules?: {
|
|
604
|
-
type: "ESModule" | "CommonJS" | "
|
|
645
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
605
646
|
include: string[];
|
|
606
647
|
fallthrough?: boolean | undefined;
|
|
607
648
|
}[] | undefined;
|
|
@@ -610,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
610
651
|
scriptPath: string;
|
|
611
652
|
modules?: boolean | undefined;
|
|
612
653
|
modulesRules?: {
|
|
613
|
-
type: "ESModule" | "CommonJS" | "
|
|
654
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
614
655
|
include: string[];
|
|
615
656
|
fallthrough?: boolean | undefined;
|
|
616
657
|
}[] | undefined;
|
|
@@ -620,6 +661,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
620
661
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
621
662
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
622
663
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
664
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
623
665
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
624
666
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
|
|
625
667
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -628,12 +670,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
628
670
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
629
671
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
630
672
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
673
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
631
674
|
}, "strip", z.ZodTypeAny, {
|
|
632
675
|
name: string | typeof kCurrentWorker;
|
|
633
676
|
entrypoint?: string | undefined;
|
|
677
|
+
props?: Record<string, unknown> | undefined;
|
|
634
678
|
}, {
|
|
635
679
|
name: string | typeof kCurrentWorker;
|
|
636
680
|
entrypoint?: string | undefined;
|
|
681
|
+
props?: Record<string, unknown> | undefined;
|
|
637
682
|
}>, z.ZodObject<{
|
|
638
683
|
network: z.ZodObject<{
|
|
639
684
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -787,12 +832,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
787
832
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
788
833
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
789
834
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
835
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
790
836
|
}, "strip", z.ZodTypeAny, {
|
|
791
837
|
name: string | typeof kCurrentWorker;
|
|
792
838
|
entrypoint?: string | undefined;
|
|
839
|
+
props?: Record<string, unknown> | undefined;
|
|
793
840
|
}, {
|
|
794
841
|
name: string | typeof kCurrentWorker;
|
|
795
842
|
entrypoint?: string | undefined;
|
|
843
|
+
props?: Record<string, unknown> | undefined;
|
|
796
844
|
}>, z.ZodObject<{
|
|
797
845
|
network: z.ZodObject<{
|
|
798
846
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -955,12 +1003,161 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
955
1003
|
Router Worker)
|
|
956
1004
|
*/
|
|
957
1005
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
958
|
-
|
|
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">>;
|
|
959
1155
|
}, "strip", z.ZodTypeAny, {
|
|
960
1156
|
name?: string | undefined;
|
|
961
1157
|
rootPath?: undefined;
|
|
962
1158
|
compatibilityDate?: string | undefined;
|
|
963
1159
|
compatibilityFlags?: string[] | undefined;
|
|
1160
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
964
1161
|
routes?: string[] | undefined;
|
|
965
1162
|
bindings?: Record<string, Json> | undefined;
|
|
966
1163
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -969,6 +1166,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
969
1166
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
970
1167
|
name: string | typeof kCurrentWorker;
|
|
971
1168
|
entrypoint?: string | undefined;
|
|
1169
|
+
props?: Record<string, unknown> | undefined;
|
|
972
1170
|
} | {
|
|
973
1171
|
network: {
|
|
974
1172
|
allow?: string[] | undefined;
|
|
@@ -1001,6 +1199,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1001
1199
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1002
1200
|
name: string | typeof kCurrentWorker;
|
|
1003
1201
|
entrypoint?: string | undefined;
|
|
1202
|
+
props?: Record<string, unknown> | undefined;
|
|
1004
1203
|
} | {
|
|
1005
1204
|
network: {
|
|
1006
1205
|
allow?: string[] | undefined;
|
|
@@ -1036,12 +1235,40 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1036
1235
|
unsafeEvalBinding?: string | undefined;
|
|
1037
1236
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1038
1237
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
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;
|
|
1266
|
+
}, {
|
|
1267
|
+
name?: string | undefined;
|
|
1268
|
+
rootPath?: string | undefined;
|
|
1269
|
+
compatibilityDate?: string | undefined;
|
|
1044
1270
|
compatibilityFlags?: string[] | undefined;
|
|
1271
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1045
1272
|
routes?: string[] | undefined;
|
|
1046
1273
|
bindings?: Record<string, Json> | undefined;
|
|
1047
1274
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1050,6 +1277,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1050
1277
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1051
1278
|
name: string | typeof kCurrentWorker;
|
|
1052
1279
|
entrypoint?: string | undefined;
|
|
1280
|
+
props?: Record<string, unknown> | undefined;
|
|
1053
1281
|
} | {
|
|
1054
1282
|
network: {
|
|
1055
1283
|
allow?: string[] | undefined;
|
|
@@ -1082,6 +1310,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1082
1310
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1083
1311
|
name: string | typeof kCurrentWorker;
|
|
1084
1312
|
entrypoint?: string | undefined;
|
|
1313
|
+
props?: Record<string, unknown> | undefined;
|
|
1085
1314
|
} | {
|
|
1086
1315
|
network: {
|
|
1087
1316
|
allow?: string[] | undefined;
|
|
@@ -1117,10 +1346,37 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1117
1346
|
unsafeEvalBinding?: string | undefined;
|
|
1118
1347
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1119
1348
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1120
|
-
|
|
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;
|
|
1121
1377
|
}>>, ({
|
|
1122
1378
|
modules: {
|
|
1123
|
-
type: "ESModule" | "CommonJS" | "
|
|
1379
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1124
1380
|
path: string;
|
|
1125
1381
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1126
1382
|
}[];
|
|
@@ -1130,6 +1386,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1130
1386
|
rootPath?: undefined;
|
|
1131
1387
|
compatibilityDate?: string | undefined;
|
|
1132
1388
|
compatibilityFlags?: string[] | undefined;
|
|
1389
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1133
1390
|
routes?: string[] | undefined;
|
|
1134
1391
|
bindings?: Record<string, Json> | undefined;
|
|
1135
1392
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1138,6 +1395,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1138
1395
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1139
1396
|
name: string | typeof kCurrentWorker;
|
|
1140
1397
|
entrypoint?: string | undefined;
|
|
1398
|
+
props?: Record<string, unknown> | undefined;
|
|
1141
1399
|
} | {
|
|
1142
1400
|
network: {
|
|
1143
1401
|
allow?: string[] | undefined;
|
|
@@ -1170,6 +1428,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1170
1428
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1171
1429
|
name: string | typeof kCurrentWorker;
|
|
1172
1430
|
entrypoint?: string | undefined;
|
|
1431
|
+
props?: Record<string, unknown> | undefined;
|
|
1173
1432
|
} | {
|
|
1174
1433
|
network: {
|
|
1175
1434
|
allow?: string[] | undefined;
|
|
@@ -1205,13 +1464,40 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1205
1464
|
unsafeEvalBinding?: string | undefined;
|
|
1206
1465
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1207
1466
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1208
|
-
|
|
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;
|
|
1209
1495
|
}) | ({
|
|
1210
1496
|
script: string;
|
|
1211
1497
|
scriptPath?: string | undefined;
|
|
1212
1498
|
modules?: boolean | undefined;
|
|
1213
1499
|
modulesRules?: {
|
|
1214
|
-
type: "ESModule" | "CommonJS" | "
|
|
1500
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1215
1501
|
include: string[];
|
|
1216
1502
|
fallthrough?: boolean | undefined;
|
|
1217
1503
|
}[] | undefined;
|
|
@@ -1221,6 +1507,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1221
1507
|
rootPath?: undefined;
|
|
1222
1508
|
compatibilityDate?: string | undefined;
|
|
1223
1509
|
compatibilityFlags?: string[] | undefined;
|
|
1510
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1224
1511
|
routes?: string[] | undefined;
|
|
1225
1512
|
bindings?: Record<string, Json> | undefined;
|
|
1226
1513
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1229,6 +1516,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1229
1516
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1230
1517
|
name: string | typeof kCurrentWorker;
|
|
1231
1518
|
entrypoint?: string | undefined;
|
|
1519
|
+
props?: Record<string, unknown> | undefined;
|
|
1232
1520
|
} | {
|
|
1233
1521
|
network: {
|
|
1234
1522
|
allow?: string[] | undefined;
|
|
@@ -1261,6 +1549,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1261
1549
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1262
1550
|
name: string | typeof kCurrentWorker;
|
|
1263
1551
|
entrypoint?: string | undefined;
|
|
1552
|
+
props?: Record<string, unknown> | undefined;
|
|
1264
1553
|
} | {
|
|
1265
1554
|
network: {
|
|
1266
1555
|
allow?: string[] | undefined;
|
|
@@ -1296,12 +1585,39 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1296
1585
|
unsafeEvalBinding?: string | undefined;
|
|
1297
1586
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1298
1587
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1299
|
-
|
|
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;
|
|
1300
1616
|
}) | ({
|
|
1301
1617
|
scriptPath: string;
|
|
1302
1618
|
modules?: boolean | undefined;
|
|
1303
1619
|
modulesRules?: {
|
|
1304
|
-
type: "ESModule" | "CommonJS" | "
|
|
1620
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1305
1621
|
include: string[];
|
|
1306
1622
|
fallthrough?: boolean | undefined;
|
|
1307
1623
|
}[] | undefined;
|
|
@@ -1311,6 +1627,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1311
1627
|
rootPath?: undefined;
|
|
1312
1628
|
compatibilityDate?: string | undefined;
|
|
1313
1629
|
compatibilityFlags?: string[] | undefined;
|
|
1630
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1314
1631
|
routes?: string[] | undefined;
|
|
1315
1632
|
bindings?: Record<string, Json> | undefined;
|
|
1316
1633
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1319,6 +1636,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1319
1636
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1320
1637
|
name: string | typeof kCurrentWorker;
|
|
1321
1638
|
entrypoint?: string | undefined;
|
|
1639
|
+
props?: Record<string, unknown> | undefined;
|
|
1322
1640
|
} | {
|
|
1323
1641
|
network: {
|
|
1324
1642
|
allow?: string[] | undefined;
|
|
@@ -1351,6 +1669,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1351
1669
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1352
1670
|
name: string | typeof kCurrentWorker;
|
|
1353
1671
|
entrypoint?: string | undefined;
|
|
1672
|
+
props?: Record<string, unknown> | undefined;
|
|
1354
1673
|
} | {
|
|
1355
1674
|
network: {
|
|
1356
1675
|
allow?: string[] | undefined;
|
|
@@ -1386,10 +1705,37 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1386
1705
|
unsafeEvalBinding?: string | undefined;
|
|
1387
1706
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1388
1707
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1389
|
-
|
|
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;
|
|
1390
1736
|
}), ({
|
|
1391
1737
|
modules: {
|
|
1392
|
-
type: "ESModule" | "CommonJS" | "
|
|
1738
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1393
1739
|
path: string;
|
|
1394
1740
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1395
1741
|
}[];
|
|
@@ -1399,7 +1745,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1399
1745
|
scriptPath?: string | undefined;
|
|
1400
1746
|
modules?: boolean | undefined;
|
|
1401
1747
|
modulesRules?: {
|
|
1402
|
-
type: "ESModule" | "CommonJS" | "
|
|
1748
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1403
1749
|
include: string[];
|
|
1404
1750
|
fallthrough?: boolean | undefined;
|
|
1405
1751
|
}[] | undefined;
|
|
@@ -1408,7 +1754,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1408
1754
|
scriptPath: string;
|
|
1409
1755
|
modules?: boolean | undefined;
|
|
1410
1756
|
modulesRules?: {
|
|
1411
|
-
type: "ESModule" | "CommonJS" | "
|
|
1757
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1412
1758
|
include: string[];
|
|
1413
1759
|
fallthrough?: boolean | undefined;
|
|
1414
1760
|
}[] | undefined;
|
|
@@ -1418,6 +1764,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1418
1764
|
rootPath?: string | undefined;
|
|
1419
1765
|
compatibilityDate?: string | undefined;
|
|
1420
1766
|
compatibilityFlags?: string[] | undefined;
|
|
1767
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1421
1768
|
routes?: string[] | undefined;
|
|
1422
1769
|
bindings?: Record<string, Json> | undefined;
|
|
1423
1770
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -1426,6 +1773,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1426
1773
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1427
1774
|
name: string | typeof kCurrentWorker;
|
|
1428
1775
|
entrypoint?: string | undefined;
|
|
1776
|
+
props?: Record<string, unknown> | undefined;
|
|
1429
1777
|
} | {
|
|
1430
1778
|
network: {
|
|
1431
1779
|
allow?: string[] | undefined;
|
|
@@ -1458,6 +1806,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1458
1806
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1459
1807
|
name: string | typeof kCurrentWorker;
|
|
1460
1808
|
entrypoint?: string | undefined;
|
|
1809
|
+
props?: Record<string, unknown> | undefined;
|
|
1461
1810
|
} | {
|
|
1462
1811
|
network: {
|
|
1463
1812
|
allow?: string[] | undefined;
|
|
@@ -1493,7 +1842,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1493
1842
|
unsafeEvalBinding?: string | undefined;
|
|
1494
1843
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1495
1844
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
1496
|
-
|
|
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;
|
|
1497
1873
|
}>;
|
|
1498
1874
|
|
|
1499
1875
|
export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
@@ -1515,8 +1891,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1515
1891
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1516
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>>>;
|
|
1517
1893
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1518
|
-
|
|
1894
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1519
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
logRequests: boolean;
|
|
1520
1898
|
rootPath?: undefined;
|
|
1521
1899
|
host?: string | undefined;
|
|
1522
1900
|
port?: number | undefined;
|
|
@@ -1535,7 +1913,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1535
1913
|
unsafeProxySharedSecret?: string | undefined;
|
|
1536
1914
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1537
1915
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1538
|
-
|
|
1916
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1539
1917
|
}, {
|
|
1540
1918
|
rootPath?: string | undefined;
|
|
1541
1919
|
host?: string | undefined;
|
|
@@ -1555,7 +1933,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1555
1933
|
unsafeProxySharedSecret?: string | undefined;
|
|
1556
1934
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1557
1935
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1558
|
-
|
|
1936
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1937
|
+
logRequests?: boolean | undefined;
|
|
1559
1938
|
}>;
|
|
1560
1939
|
|
|
1561
1940
|
export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
|
|
@@ -1607,6 +1986,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
|
|
|
1607
1986
|
export declare interface DiskDirectory {
|
|
1608
1987
|
path?: string;
|
|
1609
1988
|
writable?: boolean;
|
|
1989
|
+
allowDotfiles?: boolean;
|
|
1610
1990
|
}
|
|
1611
1991
|
|
|
1612
1992
|
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
@@ -1703,6 +2083,84 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1703
2083
|
durableObjectsPersist?: string | boolean | undefined;
|
|
1704
2084
|
}>;
|
|
1705
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;
|
|
2162
|
+
}>;
|
|
2163
|
+
|
|
1706
2164
|
/* Excluded from this release type: _enableControlEndpoints */
|
|
1707
2165
|
|
|
1708
2166
|
export declare function encodeSitesKey(key: string): string;
|
|
@@ -1748,7 +2206,7 @@ export declare interface ExternalServer_Tcp {
|
|
|
1748
2206
|
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
1749
2207
|
export { fetch_2 as fetch }
|
|
1750
2208
|
|
|
1751
|
-
export { File }
|
|
2209
|
+
export { File_2 as File }
|
|
1752
2210
|
|
|
1753
2211
|
export declare function _forceColour(enabled?: boolean): void;
|
|
1754
2212
|
|
|
@@ -1926,6 +2384,7 @@ export declare const KVLimits: {
|
|
|
1926
2384
|
readonly MAX_VALUE_SIZE: number;
|
|
1927
2385
|
readonly MAX_VALUE_SIZE_TEST: 1024;
|
|
1928
2386
|
readonly MAX_METADATA_SIZE: 1024;
|
|
2387
|
+
readonly MAX_BULK_SIZE: number;
|
|
1929
2388
|
};
|
|
1930
2389
|
|
|
1931
2390
|
export declare const kVoid: unique symbol;
|
|
@@ -2012,6 +2471,8 @@ export declare interface MatcherRegExps {
|
|
|
2012
2471
|
|
|
2013
2472
|
export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
|
|
2014
2473
|
|
|
2474
|
+
export declare const MAX_BULK_GET_KEYS = 100;
|
|
2475
|
+
|
|
2015
2476
|
export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
|
|
2016
2477
|
|
|
2017
2478
|
export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
@@ -2049,6 +2510,17 @@ export declare class Miniflare {
|
|
|
2049
2510
|
getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
|
|
2050
2511
|
getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
|
|
2051
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>>;
|
|
2052
2524
|
getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
|
|
2053
2525
|
getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
|
|
2054
2526
|
/* Excluded from this release type: _getInternalDurableObjectNamespace */
|
|
@@ -2059,7 +2531,7 @@ export declare class Miniflare {
|
|
|
2059
2531
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
2060
2532
|
}
|
|
2061
2533
|
|
|
2062
|
-
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";
|
|
2063
2535
|
|
|
2064
2536
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
2065
2537
|
readonly code: Code;
|
|
@@ -2074,15 +2546,15 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
|
|
|
2074
2546
|
export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
2075
2547
|
|
|
2076
2548
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
2077
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2549
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2078
2550
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2079
2551
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2080
2552
|
}, "strip", z.ZodTypeAny, {
|
|
2081
|
-
type: "ESModule" | "CommonJS" | "
|
|
2553
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2082
2554
|
path: string;
|
|
2083
2555
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2084
2556
|
}, {
|
|
2085
|
-
type: "ESModule" | "CommonJS" | "
|
|
2557
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2086
2558
|
path: string;
|
|
2087
2559
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2088
2560
|
}>;
|
|
@@ -2090,22 +2562,22 @@ export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
|
2090
2562
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
2091
2563
|
|
|
2092
2564
|
export declare const ModuleRuleSchema: z.ZodObject<{
|
|
2093
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2565
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2094
2566
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2095
2567
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2096
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2097
|
-
type: "ESModule" | "CommonJS" | "
|
|
2569
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2098
2570
|
include: string[];
|
|
2099
2571
|
fallthrough?: boolean | undefined;
|
|
2100
2572
|
}, {
|
|
2101
|
-
type: "ESModule" | "CommonJS" | "
|
|
2573
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2102
2574
|
include: string[];
|
|
2103
2575
|
fallthrough?: boolean | undefined;
|
|
2104
2576
|
}>;
|
|
2105
2577
|
|
|
2106
2578
|
export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
|
|
2107
2579
|
|
|
2108
|
-
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2580
|
+
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2109
2581
|
|
|
2110
2582
|
export declare class Mutex {
|
|
2111
2583
|
private locked;
|
|
@@ -2160,7 +2632,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
|
|
|
2160
2632
|
|
|
2161
2633
|
export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
|
|
2162
2634
|
|
|
2163
|
-
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>;
|
|
2164
2711
|
|
|
2165
2712
|
export declare type OverloadUnion2<T> = T extends {
|
|
2166
2713
|
(...args: infer P1): infer R1;
|
|
@@ -2270,7 +2817,7 @@ export declare const PIPELINES_PLUGIN_NAME = "pipelines";
|
|
|
2270
2817
|
|
|
2271
2818
|
export declare interface PlatformImpl<RS> {
|
|
2272
2819
|
Blob: typeof Blob_2;
|
|
2273
|
-
File: typeof
|
|
2820
|
+
File: typeof File_3;
|
|
2274
2821
|
Headers: typeof Headers_3;
|
|
2275
2822
|
Request: typeof Request_5;
|
|
2276
2823
|
Response: typeof Response_5;
|
|
@@ -2298,29 +2845,29 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2298
2845
|
export declare const PLUGINS: {
|
|
2299
2846
|
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2300
2847
|
modules: z.ZodArray<z.ZodObject<{
|
|
2301
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2848
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2302
2849
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2303
2850
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2304
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2305
|
-
type: "ESModule" | "CommonJS" | "
|
|
2852
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2306
2853
|
path: string;
|
|
2307
2854
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2308
2855
|
}, {
|
|
2309
|
-
type: "ESModule" | "CommonJS" | "
|
|
2856
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2310
2857
|
path: string;
|
|
2311
2858
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2312
2859
|
}>, "many">;
|
|
2313
2860
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2314
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2315
2862
|
modules: {
|
|
2316
|
-
type: "ESModule" | "CommonJS" | "
|
|
2863
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2317
2864
|
path: string;
|
|
2318
2865
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2319
2866
|
}[];
|
|
2320
2867
|
modulesRoot?: string | undefined;
|
|
2321
2868
|
}, {
|
|
2322
2869
|
modules: {
|
|
2323
|
-
type: "ESModule" | "CommonJS" | "
|
|
2870
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2324
2871
|
path: string;
|
|
2325
2872
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2326
2873
|
}[];
|
|
@@ -2330,15 +2877,15 @@ export declare const PLUGINS: {
|
|
|
2330
2877
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2331
2878
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2332
2879
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2333
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2880
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2334
2881
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2335
2882
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2336
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2337
|
-
type: "ESModule" | "CommonJS" | "
|
|
2884
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2338
2885
|
include: string[];
|
|
2339
2886
|
fallthrough?: boolean | undefined;
|
|
2340
2887
|
}, {
|
|
2341
|
-
type: "ESModule" | "CommonJS" | "
|
|
2888
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2342
2889
|
include: string[];
|
|
2343
2890
|
fallthrough?: boolean | undefined;
|
|
2344
2891
|
}>, "many">>;
|
|
@@ -2348,7 +2895,7 @@ export declare const PLUGINS: {
|
|
|
2348
2895
|
scriptPath?: string | undefined;
|
|
2349
2896
|
modules?: boolean | undefined;
|
|
2350
2897
|
modulesRules?: {
|
|
2351
|
-
type: "ESModule" | "CommonJS" | "
|
|
2898
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2352
2899
|
include: string[];
|
|
2353
2900
|
fallthrough?: boolean | undefined;
|
|
2354
2901
|
}[] | undefined;
|
|
@@ -2358,7 +2905,7 @@ export declare const PLUGINS: {
|
|
|
2358
2905
|
scriptPath?: string | undefined;
|
|
2359
2906
|
modules?: boolean | undefined;
|
|
2360
2907
|
modulesRules?: {
|
|
2361
|
-
type: "ESModule" | "CommonJS" | "
|
|
2908
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2362
2909
|
include: string[];
|
|
2363
2910
|
fallthrough?: boolean | undefined;
|
|
2364
2911
|
}[] | undefined;
|
|
@@ -2367,15 +2914,15 @@ export declare const PLUGINS: {
|
|
|
2367
2914
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
2368
2915
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2369
2916
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2370
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2917
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2371
2918
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2372
2919
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2373
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2374
|
-
type: "ESModule" | "CommonJS" | "
|
|
2921
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2375
2922
|
include: string[];
|
|
2376
2923
|
fallthrough?: boolean | undefined;
|
|
2377
2924
|
}, {
|
|
2378
|
-
type: "ESModule" | "CommonJS" | "
|
|
2925
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2379
2926
|
include: string[];
|
|
2380
2927
|
fallthrough?: boolean | undefined;
|
|
2381
2928
|
}>, "many">>;
|
|
@@ -2384,7 +2931,7 @@ export declare const PLUGINS: {
|
|
|
2384
2931
|
scriptPath: string;
|
|
2385
2932
|
modules?: boolean | undefined;
|
|
2386
2933
|
modulesRules?: {
|
|
2387
|
-
type: "ESModule" | "CommonJS" | "
|
|
2934
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2388
2935
|
include: string[];
|
|
2389
2936
|
fallthrough?: boolean | undefined;
|
|
2390
2937
|
}[] | undefined;
|
|
@@ -2393,7 +2940,7 @@ export declare const PLUGINS: {
|
|
|
2393
2940
|
scriptPath: string;
|
|
2394
2941
|
modules?: boolean | undefined;
|
|
2395
2942
|
modulesRules?: {
|
|
2396
|
-
type: "ESModule" | "CommonJS" | "
|
|
2943
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2397
2944
|
include: string[];
|
|
2398
2945
|
fallthrough?: boolean | undefined;
|
|
2399
2946
|
}[] | undefined;
|
|
@@ -2403,6 +2950,7 @@ export declare const PLUGINS: {
|
|
|
2403
2950
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2404
2951
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2405
2952
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2953
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2406
2954
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2407
2955
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2408
2956
|
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
@@ -2411,12 +2959,15 @@ export declare const PLUGINS: {
|
|
|
2411
2959
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2412
2960
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2413
2961
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2414
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2964
|
name: string | kCurrentWorker_2;
|
|
2416
2965
|
entrypoint?: string | undefined;
|
|
2966
|
+
props?: Record<string, unknown> | undefined;
|
|
2417
2967
|
}, {
|
|
2418
2968
|
name: string | kCurrentWorker_2;
|
|
2419
2969
|
entrypoint?: string | undefined;
|
|
2970
|
+
props?: Record<string, unknown> | undefined;
|
|
2420
2971
|
}>, z.ZodObject<{
|
|
2421
2972
|
network: z.ZodObject<{
|
|
2422
2973
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2570,12 +3121,15 @@ export declare const PLUGINS: {
|
|
|
2570
3121
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2571
3122
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2572
3123
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2573
3125
|
}, "strip", z.ZodTypeAny, {
|
|
2574
3126
|
name: string | kCurrentWorker_2;
|
|
2575
3127
|
entrypoint?: string | undefined;
|
|
3128
|
+
props?: Record<string, unknown> | undefined;
|
|
2576
3129
|
}, {
|
|
2577
3130
|
name: string | kCurrentWorker_2;
|
|
2578
3131
|
entrypoint?: string | undefined;
|
|
3132
|
+
props?: Record<string, unknown> | undefined;
|
|
2579
3133
|
}>, z.ZodObject<{
|
|
2580
3134
|
network: z.ZodObject<{
|
|
2581
3135
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2734,12 +3288,161 @@ export declare const PLUGINS: {
|
|
|
2734
3288
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
2735
3289
|
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
2736
3290
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
2737
|
-
|
|
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">>;
|
|
2738
3440
|
}, "strip", z.ZodTypeAny, {
|
|
2739
3441
|
name?: string | undefined;
|
|
2740
3442
|
rootPath?: undefined;
|
|
2741
3443
|
compatibilityDate?: string | undefined;
|
|
2742
3444
|
compatibilityFlags?: string[] | undefined;
|
|
3445
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2743
3446
|
routes?: string[] | undefined;
|
|
2744
3447
|
bindings?: Record<string, Json_2> | undefined;
|
|
2745
3448
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2748,6 +3451,7 @@ export declare const PLUGINS: {
|
|
|
2748
3451
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2749
3452
|
name: string | kCurrentWorker_2;
|
|
2750
3453
|
entrypoint?: string | undefined;
|
|
3454
|
+
props?: Record<string, unknown> | undefined;
|
|
2751
3455
|
} | {
|
|
2752
3456
|
network: {
|
|
2753
3457
|
allow?: string[] | undefined;
|
|
@@ -2780,6 +3484,7 @@ export declare const PLUGINS: {
|
|
|
2780
3484
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2781
3485
|
name: string | kCurrentWorker_2;
|
|
2782
3486
|
entrypoint?: string | undefined;
|
|
3487
|
+
props?: Record<string, unknown> | undefined;
|
|
2783
3488
|
} | {
|
|
2784
3489
|
network: {
|
|
2785
3490
|
allow?: string[] | undefined;
|
|
@@ -2815,12 +3520,40 @@ export declare const PLUGINS: {
|
|
|
2815
3520
|
unsafeEvalBinding?: string | undefined;
|
|
2816
3521
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2817
3522
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2818
|
-
|
|
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;
|
|
2819
3551
|
}, {
|
|
2820
3552
|
name?: string | undefined;
|
|
2821
3553
|
rootPath?: string | undefined;
|
|
2822
3554
|
compatibilityDate?: string | undefined;
|
|
2823
3555
|
compatibilityFlags?: string[] | undefined;
|
|
3556
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2824
3557
|
routes?: string[] | undefined;
|
|
2825
3558
|
bindings?: Record<string, Json_2> | undefined;
|
|
2826
3559
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2829,6 +3562,7 @@ export declare const PLUGINS: {
|
|
|
2829
3562
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2830
3563
|
name: string | kCurrentWorker_2;
|
|
2831
3564
|
entrypoint?: string | undefined;
|
|
3565
|
+
props?: Record<string, unknown> | undefined;
|
|
2832
3566
|
} | {
|
|
2833
3567
|
network: {
|
|
2834
3568
|
allow?: string[] | undefined;
|
|
@@ -2861,6 +3595,7 @@ export declare const PLUGINS: {
|
|
|
2861
3595
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2862
3596
|
name: string | kCurrentWorker_2;
|
|
2863
3597
|
entrypoint?: string | undefined;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
2864
3599
|
} | {
|
|
2865
3600
|
network: {
|
|
2866
3601
|
allow?: string[] | undefined;
|
|
@@ -2896,10 +3631,37 @@ export declare const PLUGINS: {
|
|
|
2896
3631
|
unsafeEvalBinding?: string | undefined;
|
|
2897
3632
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2898
3633
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2899
|
-
|
|
3634
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
3635
|
+
name: string | kCurrentWorker_2;
|
|
3636
|
+
entrypoint?: string | undefined;
|
|
3637
|
+
props?: Record<string, unknown> | undefined;
|
|
3638
|
+
} | {
|
|
3639
|
+
network: {
|
|
3640
|
+
allow?: string[] | undefined;
|
|
3641
|
+
deny?: string[] | undefined;
|
|
3642
|
+
tlsOptions?: {
|
|
3643
|
+
keypair?: {
|
|
3644
|
+
privateKey?: string | undefined;
|
|
3645
|
+
certificateChain?: string | undefined;
|
|
3646
|
+
} | undefined;
|
|
3647
|
+
requireClientCerts?: boolean | undefined;
|
|
3648
|
+
trustBrowserCas?: boolean | undefined;
|
|
3649
|
+
trustedCertificates?: string[] | undefined;
|
|
3650
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3651
|
+
cipherList?: string | undefined;
|
|
3652
|
+
} | undefined;
|
|
3653
|
+
};
|
|
3654
|
+
} | {
|
|
3655
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3656
|
+
} | {
|
|
3657
|
+
disk: {
|
|
3658
|
+
path: string;
|
|
3659
|
+
writable?: boolean | undefined;
|
|
3660
|
+
};
|
|
3661
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2900
3662
|
}>>, ({
|
|
2901
3663
|
modules: {
|
|
2902
|
-
type: "ESModule" | "CommonJS" | "
|
|
3664
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2903
3665
|
path: string;
|
|
2904
3666
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2905
3667
|
}[];
|
|
@@ -2909,6 +3671,7 @@ export declare const PLUGINS: {
|
|
|
2909
3671
|
rootPath?: undefined;
|
|
2910
3672
|
compatibilityDate?: string | undefined;
|
|
2911
3673
|
compatibilityFlags?: string[] | undefined;
|
|
3674
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2912
3675
|
routes?: string[] | undefined;
|
|
2913
3676
|
bindings?: Record<string, Json_2> | undefined;
|
|
2914
3677
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -2917,6 +3680,7 @@ export declare const PLUGINS: {
|
|
|
2917
3680
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2918
3681
|
name: string | kCurrentWorker_2;
|
|
2919
3682
|
entrypoint?: string | undefined;
|
|
3683
|
+
props?: Record<string, unknown> | undefined;
|
|
2920
3684
|
} | {
|
|
2921
3685
|
network: {
|
|
2922
3686
|
allow?: string[] | undefined;
|
|
@@ -2949,6 +3713,7 @@ export declare const PLUGINS: {
|
|
|
2949
3713
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2950
3714
|
name: string | kCurrentWorker_2;
|
|
2951
3715
|
entrypoint?: string | undefined;
|
|
3716
|
+
props?: Record<string, unknown> | undefined;
|
|
2952
3717
|
} | {
|
|
2953
3718
|
network: {
|
|
2954
3719
|
allow?: string[] | undefined;
|
|
@@ -2984,13 +3749,40 @@ export declare const PLUGINS: {
|
|
|
2984
3749
|
unsafeEvalBinding?: string | undefined;
|
|
2985
3750
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2986
3751
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
2987
|
-
|
|
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;
|
|
2988
3780
|
}) | ({
|
|
2989
3781
|
script: string;
|
|
2990
3782
|
scriptPath?: string | undefined;
|
|
2991
3783
|
modules?: boolean | undefined;
|
|
2992
3784
|
modulesRules?: {
|
|
2993
|
-
type: "ESModule" | "CommonJS" | "
|
|
3785
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2994
3786
|
include: string[];
|
|
2995
3787
|
fallthrough?: boolean | undefined;
|
|
2996
3788
|
}[] | undefined;
|
|
@@ -3000,6 +3792,7 @@ export declare const PLUGINS: {
|
|
|
3000
3792
|
rootPath?: undefined;
|
|
3001
3793
|
compatibilityDate?: string | undefined;
|
|
3002
3794
|
compatibilityFlags?: string[] | undefined;
|
|
3795
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
3003
3796
|
routes?: string[] | undefined;
|
|
3004
3797
|
bindings?: Record<string, Json_2> | undefined;
|
|
3005
3798
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3008,6 +3801,7 @@ export declare const PLUGINS: {
|
|
|
3008
3801
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3009
3802
|
name: string | kCurrentWorker_2;
|
|
3010
3803
|
entrypoint?: string | undefined;
|
|
3804
|
+
props?: Record<string, unknown> | undefined;
|
|
3011
3805
|
} | {
|
|
3012
3806
|
network: {
|
|
3013
3807
|
allow?: string[] | undefined;
|
|
@@ -3040,6 +3834,7 @@ export declare const PLUGINS: {
|
|
|
3040
3834
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3041
3835
|
name: string | kCurrentWorker_2;
|
|
3042
3836
|
entrypoint?: string | undefined;
|
|
3837
|
+
props?: Record<string, unknown> | undefined;
|
|
3043
3838
|
} | {
|
|
3044
3839
|
network: {
|
|
3045
3840
|
allow?: string[] | undefined;
|
|
@@ -3075,12 +3870,39 @@ export declare const PLUGINS: {
|
|
|
3075
3870
|
unsafeEvalBinding?: string | undefined;
|
|
3076
3871
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3077
3872
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
3078
|
-
|
|
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;
|
|
3079
3901
|
}) | ({
|
|
3080
3902
|
scriptPath: string;
|
|
3081
3903
|
modules?: boolean | undefined;
|
|
3082
3904
|
modulesRules?: {
|
|
3083
|
-
type: "ESModule" | "CommonJS" | "
|
|
3905
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3084
3906
|
include: string[];
|
|
3085
3907
|
fallthrough?: boolean | undefined;
|
|
3086
3908
|
}[] | undefined;
|
|
@@ -3090,6 +3912,7 @@ export declare const PLUGINS: {
|
|
|
3090
3912
|
rootPath?: undefined;
|
|
3091
3913
|
compatibilityDate?: string | undefined;
|
|
3092
3914
|
compatibilityFlags?: string[] | undefined;
|
|
3915
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
3093
3916
|
routes?: string[] | undefined;
|
|
3094
3917
|
bindings?: Record<string, Json_2> | undefined;
|
|
3095
3918
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3098,6 +3921,7 @@ export declare const PLUGINS: {
|
|
|
3098
3921
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3099
3922
|
name: string | kCurrentWorker_2;
|
|
3100
3923
|
entrypoint?: string | undefined;
|
|
3924
|
+
props?: Record<string, unknown> | undefined;
|
|
3101
3925
|
} | {
|
|
3102
3926
|
network: {
|
|
3103
3927
|
allow?: string[] | undefined;
|
|
@@ -3130,6 +3954,7 @@ export declare const PLUGINS: {
|
|
|
3130
3954
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3131
3955
|
name: string | kCurrentWorker_2;
|
|
3132
3956
|
entrypoint?: string | undefined;
|
|
3957
|
+
props?: Record<string, unknown> | undefined;
|
|
3133
3958
|
} | {
|
|
3134
3959
|
network: {
|
|
3135
3960
|
allow?: string[] | undefined;
|
|
@@ -3165,10 +3990,37 @@ export declare const PLUGINS: {
|
|
|
3165
3990
|
unsafeEvalBinding?: string | undefined;
|
|
3166
3991
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3167
3992
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
3168
|
-
|
|
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;
|
|
3169
4021
|
}), ({
|
|
3170
4022
|
modules: {
|
|
3171
|
-
type: "ESModule" | "CommonJS" | "
|
|
4023
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3172
4024
|
path: string;
|
|
3173
4025
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3174
4026
|
}[];
|
|
@@ -3178,7 +4030,7 @@ export declare const PLUGINS: {
|
|
|
3178
4030
|
scriptPath?: string | undefined;
|
|
3179
4031
|
modules?: boolean | undefined;
|
|
3180
4032
|
modulesRules?: {
|
|
3181
|
-
type: "ESModule" | "CommonJS" | "
|
|
4033
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3182
4034
|
include: string[];
|
|
3183
4035
|
fallthrough?: boolean | undefined;
|
|
3184
4036
|
}[] | undefined;
|
|
@@ -3187,7 +4039,7 @@ export declare const PLUGINS: {
|
|
|
3187
4039
|
scriptPath: string;
|
|
3188
4040
|
modules?: boolean | undefined;
|
|
3189
4041
|
modulesRules?: {
|
|
3190
|
-
type: "ESModule" | "CommonJS" | "
|
|
4042
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3191
4043
|
include: string[];
|
|
3192
4044
|
fallthrough?: boolean | undefined;
|
|
3193
4045
|
}[] | undefined;
|
|
@@ -3197,6 +4049,7 @@ export declare const PLUGINS: {
|
|
|
3197
4049
|
rootPath?: string | undefined;
|
|
3198
4050
|
compatibilityDate?: string | undefined;
|
|
3199
4051
|
compatibilityFlags?: string[] | undefined;
|
|
4052
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
3200
4053
|
routes?: string[] | undefined;
|
|
3201
4054
|
bindings?: Record<string, Json_2> | undefined;
|
|
3202
4055
|
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
@@ -3205,6 +4058,7 @@ export declare const PLUGINS: {
|
|
|
3205
4058
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3206
4059
|
name: string | kCurrentWorker_2;
|
|
3207
4060
|
entrypoint?: string | undefined;
|
|
4061
|
+
props?: Record<string, unknown> | undefined;
|
|
3208
4062
|
} | {
|
|
3209
4063
|
network: {
|
|
3210
4064
|
allow?: string[] | undefined;
|
|
@@ -3237,6 +4091,7 @@ export declare const PLUGINS: {
|
|
|
3237
4091
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3238
4092
|
name: string | kCurrentWorker_2;
|
|
3239
4093
|
entrypoint?: string | undefined;
|
|
4094
|
+
props?: Record<string, unknown> | undefined;
|
|
3240
4095
|
} | {
|
|
3241
4096
|
network: {
|
|
3242
4097
|
allow?: string[] | undefined;
|
|
@@ -3272,7 +4127,34 @@ export declare const PLUGINS: {
|
|
|
3272
4127
|
unsafeEvalBinding?: string | undefined;
|
|
3273
4128
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3274
4129
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
3275
|
-
|
|
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;
|
|
3276
4158
|
}>, z.ZodObject<{
|
|
3277
4159
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
3278
4160
|
host: z.ZodOptional<z.ZodString>;
|
|
@@ -3292,8 +4174,10 @@ export declare const PLUGINS: {
|
|
|
3292
4174
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
3293
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>>>;
|
|
3294
4176
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
3295
|
-
|
|
4177
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
3296
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
logRequests: boolean;
|
|
3297
4181
|
rootPath?: undefined;
|
|
3298
4182
|
host?: string | undefined;
|
|
3299
4183
|
port?: number | undefined;
|
|
@@ -3312,7 +4196,7 @@ export declare const PLUGINS: {
|
|
|
3312
4196
|
unsafeProxySharedSecret?: string | undefined;
|
|
3313
4197
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3314
4198
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3315
|
-
|
|
4199
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
3316
4200
|
}, {
|
|
3317
4201
|
rootPath?: string | undefined;
|
|
3318
4202
|
host?: string | undefined;
|
|
@@ -3332,7 +4216,8 @@ export declare const PLUGINS: {
|
|
|
3332
4216
|
unsafeProxySharedSecret?: string | undefined;
|
|
3333
4217
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3334
4218
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3335
|
-
|
|
4219
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
4220
|
+
logRequests?: boolean | undefined;
|
|
3336
4221
|
}>>;
|
|
3337
4222
|
cache: Plugin_2<z.ZodObject<{
|
|
3338
4223
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3568,22 +4453,26 @@ export declare const PLUGINS: {
|
|
|
3568
4453
|
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
3569
4454
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3570
4455
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4456
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3571
4457
|
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3572
4458
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3573
4459
|
}, "strip", z.ZodTypeAny, {
|
|
3574
4460
|
account_id?: number;
|
|
3575
4461
|
script_id?: number;
|
|
4462
|
+
debug?: boolean;
|
|
3576
4463
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3577
4464
|
has_user_worker?: boolean;
|
|
3578
4465
|
}, {
|
|
3579
4466
|
account_id?: number;
|
|
3580
4467
|
script_id?: number;
|
|
4468
|
+
debug?: boolean;
|
|
3581
4469
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3582
4470
|
has_user_worker?: boolean;
|
|
3583
4471
|
}>>;
|
|
3584
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
4472
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
3585
4473
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3586
4474
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4475
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3587
4476
|
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
3588
4477
|
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3589
4478
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
@@ -3661,13 +4550,19 @@ export declare const PLUGINS: {
|
|
|
3661
4550
|
unset?: string[];
|
|
3662
4551
|
}>;
|
|
3663
4552
|
}>>;
|
|
3664
|
-
}, "strip", z.ZodTypeAny, {
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
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;
|
|
3671
4566
|
redirects?: {
|
|
3672
4567
|
version?: 1;
|
|
3673
4568
|
staticRules?: Record<string, {
|
|
@@ -3679,21 +4574,20 @@ export declare const PLUGINS: {
|
|
|
3679
4574
|
status?: number;
|
|
3680
4575
|
to?: string;
|
|
3681
4576
|
}>;
|
|
3682
|
-
};
|
|
4577
|
+
} | undefined;
|
|
4578
|
+
}, {
|
|
3683
4579
|
headers?: {
|
|
3684
4580
|
version?: 2;
|
|
3685
4581
|
rules?: Record<string, {
|
|
3686
4582
|
set?: Record<string, string>;
|
|
3687
4583
|
unset?: string[];
|
|
3688
4584
|
}>;
|
|
3689
|
-
};
|
|
3690
|
-
|
|
3691
|
-
account_id?: number;
|
|
3692
|
-
script_id?: number;
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3696
|
-
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
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;
|
|
3697
4591
|
redirects?: {
|
|
3698
4592
|
version?: 1;
|
|
3699
4593
|
staticRules?: Record<string, {
|
|
@@ -3705,14 +4599,7 @@ export declare const PLUGINS: {
|
|
|
3705
4599
|
status?: number;
|
|
3706
4600
|
to?: string;
|
|
3707
4601
|
}>;
|
|
3708
|
-
};
|
|
3709
|
-
headers?: {
|
|
3710
|
-
version?: 2;
|
|
3711
|
-
rules?: Record<string, {
|
|
3712
|
-
set?: Record<string, string>;
|
|
3713
|
-
unset?: string[];
|
|
3714
|
-
}>;
|
|
3715
|
-
};
|
|
4602
|
+
} | undefined;
|
|
3716
4603
|
}>>;
|
|
3717
4604
|
}, "strip", z.ZodTypeAny, {
|
|
3718
4605
|
directory: string;
|
|
@@ -3721,16 +4608,23 @@ export declare const PLUGINS: {
|
|
|
3721
4608
|
routerConfig?: {
|
|
3722
4609
|
account_id?: number;
|
|
3723
4610
|
script_id?: number;
|
|
4611
|
+
debug?: boolean;
|
|
3724
4612
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3725
4613
|
has_user_worker?: boolean;
|
|
3726
4614
|
} | undefined;
|
|
3727
4615
|
assetConfig?: {
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
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;
|
|
3734
4628
|
redirects?: {
|
|
3735
4629
|
version?: 1;
|
|
3736
4630
|
staticRules?: Record<string, {
|
|
@@ -3742,14 +4636,7 @@ export declare const PLUGINS: {
|
|
|
3742
4636
|
status?: number;
|
|
3743
4637
|
to?: string;
|
|
3744
4638
|
}>;
|
|
3745
|
-
};
|
|
3746
|
-
headers?: {
|
|
3747
|
-
version?: 2;
|
|
3748
|
-
rules?: Record<string, {
|
|
3749
|
-
set?: Record<string, string>;
|
|
3750
|
-
unset?: string[];
|
|
3751
|
-
}>;
|
|
3752
|
-
};
|
|
4639
|
+
} | undefined;
|
|
3753
4640
|
} | undefined;
|
|
3754
4641
|
}, {
|
|
3755
4642
|
directory: string;
|
|
@@ -3758,16 +4645,23 @@ export declare const PLUGINS: {
|
|
|
3758
4645
|
routerConfig?: {
|
|
3759
4646
|
account_id?: number;
|
|
3760
4647
|
script_id?: number;
|
|
4648
|
+
debug?: boolean;
|
|
3761
4649
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3762
4650
|
has_user_worker?: boolean;
|
|
3763
4651
|
} | undefined;
|
|
3764
4652
|
assetConfig?: {
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
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;
|
|
3771
4665
|
redirects?: {
|
|
3772
4666
|
version?: 1;
|
|
3773
4667
|
staticRules?: Record<string, {
|
|
@@ -3779,16 +4673,11 @@ export declare const PLUGINS: {
|
|
|
3779
4673
|
status?: number;
|
|
3780
4674
|
to?: string;
|
|
3781
4675
|
}>;
|
|
3782
|
-
};
|
|
3783
|
-
headers?: {
|
|
3784
|
-
version?: 2;
|
|
3785
|
-
rules?: Record<string, {
|
|
3786
|
-
set?: Record<string, string>;
|
|
3787
|
-
unset?: string[];
|
|
3788
|
-
}>;
|
|
3789
|
-
};
|
|
4676
|
+
} | undefined;
|
|
3790
4677
|
} | undefined;
|
|
3791
4678
|
}>>;
|
|
4679
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
4680
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3792
4681
|
}, "strip", z.ZodTypeAny, {
|
|
3793
4682
|
assets?: {
|
|
3794
4683
|
directory: string;
|
|
@@ -3797,16 +4686,23 @@ export declare const PLUGINS: {
|
|
|
3797
4686
|
routerConfig?: {
|
|
3798
4687
|
account_id?: number;
|
|
3799
4688
|
script_id?: number;
|
|
4689
|
+
debug?: boolean;
|
|
3800
4690
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3801
4691
|
has_user_worker?: boolean;
|
|
3802
4692
|
} | undefined;
|
|
3803
4693
|
assetConfig?: {
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
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;
|
|
3810
4706
|
redirects?: {
|
|
3811
4707
|
version?: 1;
|
|
3812
4708
|
staticRules?: Record<string, {
|
|
@@ -3818,16 +4714,11 @@ export declare const PLUGINS: {
|
|
|
3818
4714
|
status?: number;
|
|
3819
4715
|
to?: string;
|
|
3820
4716
|
}>;
|
|
3821
|
-
};
|
|
3822
|
-
headers?: {
|
|
3823
|
-
version?: 2;
|
|
3824
|
-
rules?: Record<string, {
|
|
3825
|
-
set?: Record<string, string>;
|
|
3826
|
-
unset?: string[];
|
|
3827
|
-
}>;
|
|
3828
|
-
};
|
|
3829
4717
|
} | undefined;
|
|
3830
4718
|
} | undefined;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
compatibilityDate?: string | undefined;
|
|
4721
|
+
compatibilityFlags?: string[] | undefined;
|
|
3831
4722
|
}, {
|
|
3832
4723
|
assets?: {
|
|
3833
4724
|
directory: string;
|
|
@@ -3836,16 +4727,23 @@ export declare const PLUGINS: {
|
|
|
3836
4727
|
routerConfig?: {
|
|
3837
4728
|
account_id?: number;
|
|
3838
4729
|
script_id?: number;
|
|
4730
|
+
debug?: boolean;
|
|
3839
4731
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3840
4732
|
has_user_worker?: boolean;
|
|
3841
4733
|
} | undefined;
|
|
3842
4734
|
assetConfig?: {
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
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;
|
|
3849
4747
|
redirects?: {
|
|
3850
4748
|
version?: 1;
|
|
3851
4749
|
staticRules?: Record<string, {
|
|
@@ -3857,16 +4755,11 @@ export declare const PLUGINS: {
|
|
|
3857
4755
|
status?: number;
|
|
3858
4756
|
to?: string;
|
|
3859
4757
|
}>;
|
|
3860
|
-
};
|
|
3861
|
-
headers?: {
|
|
3862
|
-
version?: 2;
|
|
3863
|
-
rules?: Record<string, {
|
|
3864
|
-
set?: Record<string, string>;
|
|
3865
|
-
unset?: string[];
|
|
3866
|
-
}>;
|
|
3867
|
-
};
|
|
3868
4758
|
} | undefined;
|
|
3869
4759
|
} | undefined;
|
|
4760
|
+
} | undefined;
|
|
4761
|
+
compatibilityDate?: string | undefined;
|
|
4762
|
+
compatibilityFlags?: string[] | undefined;
|
|
3870
4763
|
}>>;
|
|
3871
4764
|
workflows: Plugin_2<z.ZodObject<{
|
|
3872
4765
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3908,6 +4801,130 @@ export declare const PLUGINS: {
|
|
|
3908
4801
|
}, {
|
|
3909
4802
|
pipelines?: string[] | Record<string, string> | undefined;
|
|
3910
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
|
+
}>>;
|
|
3911
4928
|
};
|
|
3912
4929
|
|
|
3913
4930
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -3928,7 +4945,6 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
|
|
|
3928
4945
|
unsafeEphemeralDurableObjects: boolean;
|
|
3929
4946
|
queueProducers: QueueProducers;
|
|
3930
4947
|
queueConsumers: QueueConsumers;
|
|
3931
|
-
unsafeEnableAssetsRpc: boolean;
|
|
3932
4948
|
}
|
|
3933
4949
|
|
|
3934
4950
|
export declare function prefixError(prefix: string, e: any): Error;
|
|
@@ -4477,6 +5493,41 @@ export declare interface RuntimeOptions {
|
|
|
4477
5493
|
|
|
4478
5494
|
export declare function sanitisePath(unsafe: string): string;
|
|
4479
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
|
+
|
|
4480
5531
|
export declare interface SerialisableMatcherRegExps {
|
|
4481
5532
|
include: string[];
|
|
4482
5533
|
exclude: string[];
|
|
@@ -4512,6 +5563,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
|
|
|
4512
5563
|
export declare interface ServiceDesignator {
|
|
4513
5564
|
name?: string;
|
|
4514
5565
|
entrypoint?: string;
|
|
5566
|
+
props?: {
|
|
5567
|
+
json: string;
|
|
5568
|
+
};
|
|
4515
5569
|
}
|
|
4516
5570
|
|
|
4517
5571
|
export declare interface ServicesExtensions {
|
|
@@ -4532,7 +5586,7 @@ export declare const SharedHeaders: {
|
|
|
4532
5586
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
4533
5587
|
};
|
|
4534
5588
|
|
|
4535
|
-
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>;
|
|
4536
5590
|
|
|
4537
5591
|
export declare const SiteBindings: {
|
|
4538
5592
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -4574,29 +5628,29 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
|
|
|
4574
5628
|
|
|
4575
5629
|
export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
4576
5630
|
modules: z.ZodArray<z.ZodObject<{
|
|
4577
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5631
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4578
5632
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
4579
5633
|
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
4580
5634
|
}, "strip", z.ZodTypeAny, {
|
|
4581
|
-
type: "ESModule" | "CommonJS" | "
|
|
5635
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4582
5636
|
path: string;
|
|
4583
5637
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4584
5638
|
}, {
|
|
4585
|
-
type: "ESModule" | "CommonJS" | "
|
|
5639
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4586
5640
|
path: string;
|
|
4587
5641
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4588
5642
|
}>, "many">;
|
|
4589
5643
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4590
5644
|
}, "strip", z.ZodTypeAny, {
|
|
4591
5645
|
modules: {
|
|
4592
|
-
type: "ESModule" | "CommonJS" | "
|
|
5646
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4593
5647
|
path: string;
|
|
4594
5648
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4595
5649
|
}[];
|
|
4596
5650
|
modulesRoot?: string | undefined;
|
|
4597
5651
|
}, {
|
|
4598
5652
|
modules: {
|
|
4599
|
-
type: "ESModule" | "CommonJS" | "
|
|
5653
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4600
5654
|
path: string;
|
|
4601
5655
|
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4602
5656
|
}[];
|
|
@@ -4606,15 +5660,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4606
5660
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4607
5661
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4608
5662
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4609
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5663
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4610
5664
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4611
5665
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4612
5666
|
}, "strip", z.ZodTypeAny, {
|
|
4613
|
-
type: "ESModule" | "CommonJS" | "
|
|
5667
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4614
5668
|
include: string[];
|
|
4615
5669
|
fallthrough?: boolean | undefined;
|
|
4616
5670
|
}, {
|
|
4617
|
-
type: "ESModule" | "CommonJS" | "
|
|
5671
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4618
5672
|
include: string[];
|
|
4619
5673
|
fallthrough?: boolean | undefined;
|
|
4620
5674
|
}>, "many">>;
|
|
@@ -4624,7 +5678,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4624
5678
|
scriptPath?: string | undefined;
|
|
4625
5679
|
modules?: boolean | undefined;
|
|
4626
5680
|
modulesRules?: {
|
|
4627
|
-
type: "ESModule" | "CommonJS" | "
|
|
5681
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4628
5682
|
include: string[];
|
|
4629
5683
|
fallthrough?: boolean | undefined;
|
|
4630
5684
|
}[] | undefined;
|
|
@@ -4634,7 +5688,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4634
5688
|
scriptPath?: string | undefined;
|
|
4635
5689
|
modules?: boolean | undefined;
|
|
4636
5690
|
modulesRules?: {
|
|
4637
|
-
type: "ESModule" | "CommonJS" | "
|
|
5691
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4638
5692
|
include: string[];
|
|
4639
5693
|
fallthrough?: boolean | undefined;
|
|
4640
5694
|
}[] | undefined;
|
|
@@ -4643,15 +5697,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4643
5697
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
4644
5698
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4645
5699
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4646
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5700
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4647
5701
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4648
5702
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4649
5703
|
}, "strip", z.ZodTypeAny, {
|
|
4650
|
-
type: "ESModule" | "CommonJS" | "
|
|
5704
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4651
5705
|
include: string[];
|
|
4652
5706
|
fallthrough?: boolean | undefined;
|
|
4653
5707
|
}, {
|
|
4654
|
-
type: "ESModule" | "CommonJS" | "
|
|
5708
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4655
5709
|
include: string[];
|
|
4656
5710
|
fallthrough?: boolean | undefined;
|
|
4657
5711
|
}>, "many">>;
|
|
@@ -4660,7 +5714,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4660
5714
|
scriptPath: string;
|
|
4661
5715
|
modules?: boolean | undefined;
|
|
4662
5716
|
modulesRules?: {
|
|
4663
|
-
type: "ESModule" | "CommonJS" | "
|
|
5717
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4664
5718
|
include: string[];
|
|
4665
5719
|
fallthrough?: boolean | undefined;
|
|
4666
5720
|
}[] | undefined;
|
|
@@ -4669,7 +5723,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4669
5723
|
scriptPath: string;
|
|
4670
5724
|
modules?: boolean | undefined;
|
|
4671
5725
|
modulesRules?: {
|
|
4672
|
-
type: "ESModule" | "CommonJS" | "
|
|
5726
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4673
5727
|
include: string[];
|
|
4674
5728
|
fallthrough?: boolean | undefined;
|
|
4675
5729
|
}[] | undefined;
|
|
@@ -4801,6 +5855,7 @@ export declare type Worker = ({
|
|
|
4801
5855
|
durableObjectUniqueKeyModifier?: string;
|
|
4802
5856
|
durableObjectStorage?: Worker_DurableObjectStorage;
|
|
4803
5857
|
moduleFallback?: string;
|
|
5858
|
+
tails?: ServiceDesignator[];
|
|
4804
5859
|
};
|
|
4805
5860
|
|
|
4806
5861
|
export declare type Worker_Binding = {
|
|
@@ -4975,15 +6030,13 @@ export declare type Worker_Module = {
|
|
|
4975
6030
|
wasm?: Uint8Array;
|
|
4976
6031
|
} | {
|
|
4977
6032
|
json?: string;
|
|
4978
|
-
} | {
|
|
4979
|
-
nodeJsCompatModule?: string;
|
|
4980
6033
|
} | {
|
|
4981
6034
|
pythonModule?: string;
|
|
4982
6035
|
} | {
|
|
4983
6036
|
pythonRequirement?: string;
|
|
4984
6037
|
});
|
|
4985
6038
|
|
|
4986
|
-
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>;
|
|
4987
6040
|
|
|
4988
6041
|
export declare interface WorkerRoute {
|
|
4989
6042
|
target: string;
|