miniflare 0.0.0-e0efb6f17 → 0.0.0-e1df3d831
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 +1031 -35
- package/dist/src/index.js +1228 -788
- 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 +241 -135
- package/dist/src/workers/assets/assets.worker.js.map +1 -1
- 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/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 +3368 -49
- package/dist/src/workers/core/entry.worker.js.map +3 -3
- 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 +32 -15
- package/dist/src/workers/kv/namespace.worker.js.map +1 -1
- 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 +155 -5
- package/dist/src/workers/workflows/binding.worker.js.map +1 -1
- package/package.json +10 -8
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
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"]>>;
|
|
@@ -191,6 +226,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
191
226
|
unset?: string[];
|
|
192
227
|
}>;
|
|
193
228
|
} | undefined;
|
|
229
|
+
debug?: boolean | undefined;
|
|
194
230
|
account_id?: number | undefined;
|
|
195
231
|
script_id?: number | undefined;
|
|
196
232
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -215,6 +251,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
215
251
|
unset?: string[];
|
|
216
252
|
}>;
|
|
217
253
|
} | undefined;
|
|
254
|
+
debug?: boolean | undefined;
|
|
218
255
|
account_id?: number | undefined;
|
|
219
256
|
script_id?: number | undefined;
|
|
220
257
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -239,6 +276,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
239
276
|
routerConfig?: {
|
|
240
277
|
account_id?: number;
|
|
241
278
|
script_id?: number;
|
|
279
|
+
debug?: boolean;
|
|
242
280
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
243
281
|
has_user_worker?: boolean;
|
|
244
282
|
} | undefined;
|
|
@@ -250,6 +288,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
250
288
|
unset?: string[];
|
|
251
289
|
}>;
|
|
252
290
|
} | undefined;
|
|
291
|
+
debug?: boolean | undefined;
|
|
253
292
|
account_id?: number | undefined;
|
|
254
293
|
script_id?: number | undefined;
|
|
255
294
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -274,6 +313,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
274
313
|
routerConfig?: {
|
|
275
314
|
account_id?: number;
|
|
276
315
|
script_id?: number;
|
|
316
|
+
debug?: boolean;
|
|
277
317
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
278
318
|
has_user_worker?: boolean;
|
|
279
319
|
} | undefined;
|
|
@@ -285,6 +325,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
285
325
|
unset?: string[];
|
|
286
326
|
}>;
|
|
287
327
|
} | undefined;
|
|
328
|
+
debug?: boolean | undefined;
|
|
288
329
|
account_id?: number | undefined;
|
|
289
330
|
script_id?: number | undefined;
|
|
290
331
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -313,6 +354,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
313
354
|
routerConfig?: {
|
|
314
355
|
account_id?: number;
|
|
315
356
|
script_id?: number;
|
|
357
|
+
debug?: boolean;
|
|
316
358
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
317
359
|
has_user_worker?: boolean;
|
|
318
360
|
} | undefined;
|
|
@@ -324,6 +366,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
324
366
|
unset?: string[];
|
|
325
367
|
}>;
|
|
326
368
|
} | undefined;
|
|
369
|
+
debug?: boolean | undefined;
|
|
327
370
|
account_id?: number | undefined;
|
|
328
371
|
script_id?: number | undefined;
|
|
329
372
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -352,6 +395,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
352
395
|
routerConfig?: {
|
|
353
396
|
account_id?: number;
|
|
354
397
|
script_id?: number;
|
|
398
|
+
debug?: boolean;
|
|
355
399
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
356
400
|
has_user_worker?: boolean;
|
|
357
401
|
} | undefined;
|
|
@@ -363,6 +407,7 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
363
407
|
unset?: string[];
|
|
364
408
|
}>;
|
|
365
409
|
} | undefined;
|
|
410
|
+
debug?: boolean | undefined;
|
|
366
411
|
account_id?: number | undefined;
|
|
367
412
|
script_id?: number | undefined;
|
|
368
413
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -488,6 +533,8 @@ export declare const CoreBindings: {
|
|
|
488
533
|
readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
|
|
489
534
|
readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
|
|
490
535
|
readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
|
|
536
|
+
readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
|
|
537
|
+
readonly LOG_REQUESTS: "LOG_REQUESTS";
|
|
491
538
|
};
|
|
492
539
|
|
|
493
540
|
export declare const CoreHeaders: {
|
|
@@ -623,12 +670,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
623
670
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
624
671
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
625
672
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
673
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
626
674
|
}, "strip", z.ZodTypeAny, {
|
|
627
675
|
name: string | typeof kCurrentWorker;
|
|
628
676
|
entrypoint?: string | undefined;
|
|
677
|
+
props?: Record<string, unknown> | undefined;
|
|
629
678
|
}, {
|
|
630
679
|
name: string | typeof kCurrentWorker;
|
|
631
680
|
entrypoint?: string | undefined;
|
|
681
|
+
props?: Record<string, unknown> | undefined;
|
|
632
682
|
}>, z.ZodObject<{
|
|
633
683
|
network: z.ZodObject<{
|
|
634
684
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -782,12 +832,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
782
832
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
783
833
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
784
834
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
835
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
785
836
|
}, "strip", z.ZodTypeAny, {
|
|
786
837
|
name: string | typeof kCurrentWorker;
|
|
787
838
|
entrypoint?: string | undefined;
|
|
839
|
+
props?: Record<string, unknown> | undefined;
|
|
788
840
|
}, {
|
|
789
841
|
name: string | typeof kCurrentWorker;
|
|
790
842
|
entrypoint?: string | undefined;
|
|
843
|
+
props?: Record<string, unknown> | undefined;
|
|
791
844
|
}>, z.ZodObject<{
|
|
792
845
|
network: z.ZodObject<{
|
|
793
846
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -950,6 +1003,155 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
950
1003
|
Router Worker)
|
|
951
1004
|
*/
|
|
952
1005
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
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">>;
|
|
953
1155
|
}, "strip", z.ZodTypeAny, {
|
|
954
1156
|
name?: string | undefined;
|
|
955
1157
|
rootPath?: undefined;
|
|
@@ -964,6 +1166,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
964
1166
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
965
1167
|
name: string | typeof kCurrentWorker;
|
|
966
1168
|
entrypoint?: string | undefined;
|
|
1169
|
+
props?: Record<string, unknown> | undefined;
|
|
967
1170
|
} | {
|
|
968
1171
|
network: {
|
|
969
1172
|
allow?: string[] | undefined;
|
|
@@ -996,6 +1199,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
996
1199
|
outboundService?: string | typeof kCurrentWorker | {
|
|
997
1200
|
name: string | typeof kCurrentWorker;
|
|
998
1201
|
entrypoint?: string | undefined;
|
|
1202
|
+
props?: Record<string, unknown> | undefined;
|
|
999
1203
|
} | {
|
|
1000
1204
|
network: {
|
|
1001
1205
|
allow?: string[] | undefined;
|
|
@@ -1031,6 +1235,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1031
1235
|
unsafeEvalBinding?: string | undefined;
|
|
1032
1236
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1033
1237
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1034
1266
|
}, {
|
|
1035
1267
|
name?: string | undefined;
|
|
1036
1268
|
rootPath?: string | undefined;
|
|
@@ -1045,6 +1277,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1045
1277
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1046
1278
|
name: string | typeof kCurrentWorker;
|
|
1047
1279
|
entrypoint?: string | undefined;
|
|
1280
|
+
props?: Record<string, unknown> | undefined;
|
|
1048
1281
|
} | {
|
|
1049
1282
|
network: {
|
|
1050
1283
|
allow?: string[] | undefined;
|
|
@@ -1077,6 +1310,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1077
1310
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1078
1311
|
name: string | typeof kCurrentWorker;
|
|
1079
1312
|
entrypoint?: string | undefined;
|
|
1313
|
+
props?: Record<string, unknown> | undefined;
|
|
1080
1314
|
} | {
|
|
1081
1315
|
network: {
|
|
1082
1316
|
allow?: string[] | undefined;
|
|
@@ -1112,6 +1346,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1112
1346
|
unsafeEvalBinding?: string | undefined;
|
|
1113
1347
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1114
1348
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1115
1377
|
}>>, ({
|
|
1116
1378
|
modules: {
|
|
1117
1379
|
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
@@ -1133,6 +1395,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1133
1395
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1134
1396
|
name: string | typeof kCurrentWorker;
|
|
1135
1397
|
entrypoint?: string | undefined;
|
|
1398
|
+
props?: Record<string, unknown> | undefined;
|
|
1136
1399
|
} | {
|
|
1137
1400
|
network: {
|
|
1138
1401
|
allow?: string[] | undefined;
|
|
@@ -1165,6 +1428,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1165
1428
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1166
1429
|
name: string | typeof kCurrentWorker;
|
|
1167
1430
|
entrypoint?: string | undefined;
|
|
1431
|
+
props?: Record<string, unknown> | undefined;
|
|
1168
1432
|
} | {
|
|
1169
1433
|
network: {
|
|
1170
1434
|
allow?: string[] | undefined;
|
|
@@ -1200,6 +1464,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1200
1464
|
unsafeEvalBinding?: string | undefined;
|
|
1201
1465
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1202
1466
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1203
1495
|
}) | ({
|
|
1204
1496
|
script: string;
|
|
1205
1497
|
scriptPath?: string | undefined;
|
|
@@ -1224,6 +1516,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1224
1516
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1225
1517
|
name: string | typeof kCurrentWorker;
|
|
1226
1518
|
entrypoint?: string | undefined;
|
|
1519
|
+
props?: Record<string, unknown> | undefined;
|
|
1227
1520
|
} | {
|
|
1228
1521
|
network: {
|
|
1229
1522
|
allow?: string[] | undefined;
|
|
@@ -1256,6 +1549,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1256
1549
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1257
1550
|
name: string | typeof kCurrentWorker;
|
|
1258
1551
|
entrypoint?: string | undefined;
|
|
1552
|
+
props?: Record<string, unknown> | undefined;
|
|
1259
1553
|
} | {
|
|
1260
1554
|
network: {
|
|
1261
1555
|
allow?: string[] | undefined;
|
|
@@ -1291,6 +1585,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1291
1585
|
unsafeEvalBinding?: string | undefined;
|
|
1292
1586
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1293
1587
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1294
1616
|
}) | ({
|
|
1295
1617
|
scriptPath: string;
|
|
1296
1618
|
modules?: boolean | undefined;
|
|
@@ -1314,6 +1636,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1314
1636
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1315
1637
|
name: string | typeof kCurrentWorker;
|
|
1316
1638
|
entrypoint?: string | undefined;
|
|
1639
|
+
props?: Record<string, unknown> | undefined;
|
|
1317
1640
|
} | {
|
|
1318
1641
|
network: {
|
|
1319
1642
|
allow?: string[] | undefined;
|
|
@@ -1346,6 +1669,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1346
1669
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1347
1670
|
name: string | typeof kCurrentWorker;
|
|
1348
1671
|
entrypoint?: string | undefined;
|
|
1672
|
+
props?: Record<string, unknown> | undefined;
|
|
1349
1673
|
} | {
|
|
1350
1674
|
network: {
|
|
1351
1675
|
allow?: string[] | undefined;
|
|
@@ -1381,6 +1705,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1381
1705
|
unsafeEvalBinding?: string | undefined;
|
|
1382
1706
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1383
1707
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1384
1736
|
}), ({
|
|
1385
1737
|
modules: {
|
|
1386
1738
|
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
@@ -1421,6 +1773,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1421
1773
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1422
1774
|
name: string | typeof kCurrentWorker;
|
|
1423
1775
|
entrypoint?: string | undefined;
|
|
1776
|
+
props?: Record<string, unknown> | undefined;
|
|
1424
1777
|
} | {
|
|
1425
1778
|
network: {
|
|
1426
1779
|
allow?: string[] | undefined;
|
|
@@ -1453,6 +1806,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1453
1806
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1454
1807
|
name: string | typeof kCurrentWorker;
|
|
1455
1808
|
entrypoint?: string | undefined;
|
|
1809
|
+
props?: Record<string, unknown> | undefined;
|
|
1456
1810
|
} | {
|
|
1457
1811
|
network: {
|
|
1458
1812
|
allow?: string[] | undefined;
|
|
@@ -1488,6 +1842,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1488
1842
|
unsafeEvalBinding?: string | undefined;
|
|
1489
1843
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1490
1844
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
1491
1873
|
}>;
|
|
1492
1874
|
|
|
1493
1875
|
export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
@@ -1509,7 +1891,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1509
1891
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1510
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>>>;
|
|
1511
1893
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1894
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1512
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
logRequests: boolean;
|
|
1513
1898
|
rootPath?: undefined;
|
|
1514
1899
|
host?: string | undefined;
|
|
1515
1900
|
port?: number | undefined;
|
|
@@ -1528,6 +1913,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1528
1913
|
unsafeProxySharedSecret?: string | undefined;
|
|
1529
1914
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1530
1915
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1916
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1531
1917
|
}, {
|
|
1532
1918
|
rootPath?: string | undefined;
|
|
1533
1919
|
host?: string | undefined;
|
|
@@ -1547,6 +1933,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1547
1933
|
unsafeProxySharedSecret?: string | undefined;
|
|
1548
1934
|
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1549
1935
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1936
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1937
|
+
logRequests?: boolean | undefined;
|
|
1550
1938
|
}>;
|
|
1551
1939
|
|
|
1552
1940
|
export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
|
|
@@ -1695,6 +2083,84 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1695
2083
|
durableObjectsPersist?: string | boolean | undefined;
|
|
1696
2084
|
}>;
|
|
1697
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
|
+
|
|
1698
2164
|
/* Excluded from this release type: _enableControlEndpoints */
|
|
1699
2165
|
|
|
1700
2166
|
export declare function encodeSitesKey(key: string): string;
|
|
@@ -1740,7 +2206,7 @@ export declare interface ExternalServer_Tcp {
|
|
|
1740
2206
|
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
1741
2207
|
export { fetch_2 as fetch }
|
|
1742
2208
|
|
|
1743
|
-
export { File }
|
|
2209
|
+
export { File_2 as File }
|
|
1744
2210
|
|
|
1745
2211
|
export declare function _forceColour(enabled?: boolean): void;
|
|
1746
2212
|
|
|
@@ -1918,6 +2384,7 @@ export declare const KVLimits: {
|
|
|
1918
2384
|
readonly MAX_VALUE_SIZE: number;
|
|
1919
2385
|
readonly MAX_VALUE_SIZE_TEST: 1024;
|
|
1920
2386
|
readonly MAX_METADATA_SIZE: 1024;
|
|
2387
|
+
readonly MAX_BULK_SIZE: number;
|
|
1921
2388
|
};
|
|
1922
2389
|
|
|
1923
2390
|
export declare const kVoid: unique symbol;
|
|
@@ -2043,6 +2510,17 @@ export declare class Miniflare {
|
|
|
2043
2510
|
getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
|
|
2044
2511
|
getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
|
|
2045
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>>;
|
|
2046
2524
|
getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
|
|
2047
2525
|
getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
|
|
2048
2526
|
/* Excluded from this release type: _getInternalDurableObjectNamespace */
|
|
@@ -2339,7 +2817,7 @@ export declare const PIPELINES_PLUGIN_NAME = "pipelines";
|
|
|
2339
2817
|
|
|
2340
2818
|
export declare interface PlatformImpl<RS> {
|
|
2341
2819
|
Blob: typeof Blob_2;
|
|
2342
|
-
File: typeof
|
|
2820
|
+
File: typeof File_3;
|
|
2343
2821
|
Headers: typeof Headers_3;
|
|
2344
2822
|
Request: typeof Request_5;
|
|
2345
2823
|
Response: typeof Response_5;
|
|
@@ -2481,12 +2959,15 @@ export declare const PLUGINS: {
|
|
|
2481
2959
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2482
2960
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2483
2961
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2484
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2485
2964
|
name: string | kCurrentWorker_2;
|
|
2486
2965
|
entrypoint?: string | undefined;
|
|
2966
|
+
props?: Record<string, unknown> | undefined;
|
|
2487
2967
|
}, {
|
|
2488
2968
|
name: string | kCurrentWorker_2;
|
|
2489
2969
|
entrypoint?: string | undefined;
|
|
2970
|
+
props?: Record<string, unknown> | undefined;
|
|
2490
2971
|
}>, z.ZodObject<{
|
|
2491
2972
|
network: z.ZodObject<{
|
|
2492
2973
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2627,25 +3108,198 @@ export declare const PLUGINS: {
|
|
|
2627
3108
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2628
3109
|
scriptName: z.ZodString;
|
|
2629
3110
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2630
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
3111
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
3112
|
+
}, "strip", z.ZodTypeAny, {
|
|
3113
|
+
scriptName: string;
|
|
3114
|
+
entrypoint?: string | undefined;
|
|
3115
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3116
|
+
}, {
|
|
3117
|
+
scriptName: string;
|
|
3118
|
+
entrypoint?: string | undefined;
|
|
3119
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3120
|
+
}>]>>>;
|
|
3121
|
+
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
3122
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
3123
|
+
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3125
|
+
}, "strip", z.ZodTypeAny, {
|
|
3126
|
+
name: string | kCurrentWorker_2;
|
|
3127
|
+
entrypoint?: string | undefined;
|
|
3128
|
+
props?: Record<string, unknown> | undefined;
|
|
3129
|
+
}, {
|
|
3130
|
+
name: string | kCurrentWorker_2;
|
|
3131
|
+
entrypoint?: string | undefined;
|
|
3132
|
+
props?: Record<string, unknown> | undefined;
|
|
3133
|
+
}>, z.ZodObject<{
|
|
3134
|
+
network: z.ZodObject<{
|
|
3135
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3136
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3137
|
+
tlsOptions: z.ZodOptional<z.ZodObject<{
|
|
3138
|
+
keypair: z.ZodOptional<z.ZodObject<{
|
|
3139
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
3140
|
+
certificateChain: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
privateKey?: string | undefined;
|
|
3143
|
+
certificateChain?: string | undefined;
|
|
3144
|
+
}, {
|
|
3145
|
+
privateKey?: string | undefined;
|
|
3146
|
+
certificateChain?: string | undefined;
|
|
3147
|
+
}>>;
|
|
3148
|
+
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
3149
|
+
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
3150
|
+
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3151
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
3152
|
+
readonly GOOD_DEFAULT: 0;
|
|
3153
|
+
readonly SSL3: 1;
|
|
3154
|
+
readonly TLS1DOT0: 2;
|
|
3155
|
+
readonly TLS1DOT1: 3;
|
|
3156
|
+
readonly TLS1DOT2: 4;
|
|
3157
|
+
readonly TLS1DOT3: 5;
|
|
3158
|
+
}>>;
|
|
3159
|
+
cipherList: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
}, "strip", z.ZodTypeAny, {
|
|
3161
|
+
keypair?: {
|
|
3162
|
+
privateKey?: string | undefined;
|
|
3163
|
+
certificateChain?: string | undefined;
|
|
3164
|
+
} | undefined;
|
|
3165
|
+
requireClientCerts?: boolean | undefined;
|
|
3166
|
+
trustBrowserCas?: boolean | undefined;
|
|
3167
|
+
trustedCertificates?: string[] | undefined;
|
|
3168
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3169
|
+
cipherList?: string | undefined;
|
|
3170
|
+
}, {
|
|
3171
|
+
keypair?: {
|
|
3172
|
+
privateKey?: string | undefined;
|
|
3173
|
+
certificateChain?: string | undefined;
|
|
3174
|
+
} | undefined;
|
|
3175
|
+
requireClientCerts?: boolean | undefined;
|
|
3176
|
+
trustBrowserCas?: boolean | undefined;
|
|
3177
|
+
trustedCertificates?: string[] | undefined;
|
|
3178
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3179
|
+
cipherList?: string | undefined;
|
|
3180
|
+
}>>;
|
|
3181
|
+
}, "strip", z.ZodTypeAny, {
|
|
3182
|
+
allow?: string[] | undefined;
|
|
3183
|
+
deny?: string[] | undefined;
|
|
3184
|
+
tlsOptions?: {
|
|
3185
|
+
keypair?: {
|
|
3186
|
+
privateKey?: string | undefined;
|
|
3187
|
+
certificateChain?: string | undefined;
|
|
3188
|
+
} | undefined;
|
|
3189
|
+
requireClientCerts?: boolean | undefined;
|
|
3190
|
+
trustBrowserCas?: boolean | undefined;
|
|
3191
|
+
trustedCertificates?: string[] | undefined;
|
|
3192
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3193
|
+
cipherList?: string | undefined;
|
|
3194
|
+
} | undefined;
|
|
3195
|
+
}, {
|
|
3196
|
+
allow?: string[] | undefined;
|
|
3197
|
+
deny?: string[] | undefined;
|
|
3198
|
+
tlsOptions?: {
|
|
3199
|
+
keypair?: {
|
|
3200
|
+
privateKey?: string | undefined;
|
|
3201
|
+
certificateChain?: string | undefined;
|
|
3202
|
+
} | undefined;
|
|
3203
|
+
requireClientCerts?: boolean | undefined;
|
|
3204
|
+
trustBrowserCas?: boolean | undefined;
|
|
3205
|
+
trustedCertificates?: string[] | undefined;
|
|
3206
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3207
|
+
cipherList?: string | undefined;
|
|
3208
|
+
} | undefined;
|
|
3209
|
+
}>;
|
|
3210
|
+
}, "strip", z.ZodTypeAny, {
|
|
3211
|
+
network: {
|
|
3212
|
+
allow?: string[] | undefined;
|
|
3213
|
+
deny?: string[] | undefined;
|
|
3214
|
+
tlsOptions?: {
|
|
3215
|
+
keypair?: {
|
|
3216
|
+
privateKey?: string | undefined;
|
|
3217
|
+
certificateChain?: string | undefined;
|
|
3218
|
+
} | undefined;
|
|
3219
|
+
requireClientCerts?: boolean | undefined;
|
|
3220
|
+
trustBrowserCas?: boolean | undefined;
|
|
3221
|
+
trustedCertificates?: string[] | undefined;
|
|
3222
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3223
|
+
cipherList?: string | undefined;
|
|
3224
|
+
} | undefined;
|
|
3225
|
+
};
|
|
3226
|
+
}, {
|
|
3227
|
+
network: {
|
|
3228
|
+
allow?: string[] | undefined;
|
|
3229
|
+
deny?: string[] | undefined;
|
|
3230
|
+
tlsOptions?: {
|
|
3231
|
+
keypair?: {
|
|
3232
|
+
privateKey?: string | undefined;
|
|
3233
|
+
certificateChain?: string | undefined;
|
|
3234
|
+
} | undefined;
|
|
3235
|
+
requireClientCerts?: boolean | undefined;
|
|
3236
|
+
trustBrowserCas?: boolean | undefined;
|
|
3237
|
+
trustedCertificates?: string[] | undefined;
|
|
3238
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
3239
|
+
cipherList?: string | undefined;
|
|
3240
|
+
} | undefined;
|
|
3241
|
+
};
|
|
3242
|
+
}>, z.ZodObject<{
|
|
3243
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
3244
|
+
}, "strip", z.ZodTypeAny, {
|
|
3245
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3246
|
+
}, {
|
|
3247
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
3248
|
+
}>, z.ZodObject<{
|
|
3249
|
+
disk: z.ZodObject<{
|
|
3250
|
+
path: z.ZodString;
|
|
3251
|
+
writable: z.ZodOptional<z.ZodBoolean>;
|
|
3252
|
+
}, "strip", z.ZodTypeAny, {
|
|
3253
|
+
path: string;
|
|
3254
|
+
writable?: boolean | undefined;
|
|
3255
|
+
}, {
|
|
3256
|
+
path: string;
|
|
3257
|
+
writable?: boolean | undefined;
|
|
3258
|
+
}>;
|
|
3259
|
+
}, "strip", z.ZodTypeAny, {
|
|
3260
|
+
disk: {
|
|
3261
|
+
path: string;
|
|
3262
|
+
writable?: boolean | undefined;
|
|
3263
|
+
};
|
|
3264
|
+
}, {
|
|
3265
|
+
disk: {
|
|
3266
|
+
path: string;
|
|
3267
|
+
writable?: boolean | undefined;
|
|
3268
|
+
};
|
|
3269
|
+
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
|
|
3270
|
+
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
3271
|
+
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
3272
|
+
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3273
|
+
host: z.ZodOptional<z.ZodString>;
|
|
3274
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
3275
|
+
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
proxy: z.ZodOptional<z.ZodBoolean>;
|
|
2631
3277
|
}, "strip", z.ZodTypeAny, {
|
|
2632
|
-
|
|
3278
|
+
host?: string | undefined;
|
|
3279
|
+
port?: number | undefined;
|
|
2633
3280
|
entrypoint?: string | undefined;
|
|
2634
|
-
|
|
3281
|
+
proxy?: boolean | undefined;
|
|
2635
3282
|
}, {
|
|
2636
|
-
|
|
3283
|
+
host?: string | undefined;
|
|
3284
|
+
port?: number | undefined;
|
|
2637
3285
|
entrypoint?: string | undefined;
|
|
2638
|
-
|
|
2639
|
-
}
|
|
2640
|
-
|
|
3286
|
+
proxy?: boolean | undefined;
|
|
3287
|
+
}>, "many">>;
|
|
3288
|
+
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
3289
|
+
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
3290
|
+
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
3291
|
+
tails: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2641
3292
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2642
3293
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3294
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2643
3295
|
}, "strip", z.ZodTypeAny, {
|
|
2644
3296
|
name: string | kCurrentWorker_2;
|
|
2645
3297
|
entrypoint?: string | undefined;
|
|
3298
|
+
props?: Record<string, unknown> | undefined;
|
|
2646
3299
|
}, {
|
|
2647
3300
|
name: string | kCurrentWorker_2;
|
|
2648
3301
|
entrypoint?: string | undefined;
|
|
3302
|
+
props?: Record<string, unknown> | undefined;
|
|
2649
3303
|
}>, z.ZodObject<{
|
|
2650
3304
|
network: z.ZodObject<{
|
|
2651
3305
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2782,28 +3436,7 @@ export declare const PLUGINS: {
|
|
|
2782
3436
|
path: string;
|
|
2783
3437
|
writable?: boolean | undefined;
|
|
2784
3438
|
};
|
|
2785
|
-
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
|
|
2786
|
-
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2787
|
-
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2788
|
-
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2789
|
-
host: z.ZodOptional<z.ZodString>;
|
|
2790
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
2791
|
-
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2792
|
-
proxy: z.ZodOptional<z.ZodBoolean>;
|
|
2793
|
-
}, "strip", z.ZodTypeAny, {
|
|
2794
|
-
host?: string | undefined;
|
|
2795
|
-
port?: number | undefined;
|
|
2796
|
-
entrypoint?: string | undefined;
|
|
2797
|
-
proxy?: boolean | undefined;
|
|
2798
|
-
}, {
|
|
2799
|
-
host?: string | undefined;
|
|
2800
|
-
port?: number | undefined;
|
|
2801
|
-
entrypoint?: string | undefined;
|
|
2802
|
-
proxy?: boolean | undefined;
|
|
2803
|
-
}>, "many">>;
|
|
2804
|
-
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
2805
|
-
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
2806
|
-
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
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">>;
|
|
2807
3440
|
}, "strip", z.ZodTypeAny, {
|
|
2808
3441
|
name?: string | undefined;
|
|
2809
3442
|
rootPath?: undefined;
|
|
@@ -2818,6 +3451,7 @@ export declare const PLUGINS: {
|
|
|
2818
3451
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2819
3452
|
name: string | kCurrentWorker_2;
|
|
2820
3453
|
entrypoint?: string | undefined;
|
|
3454
|
+
props?: Record<string, unknown> | undefined;
|
|
2821
3455
|
} | {
|
|
2822
3456
|
network: {
|
|
2823
3457
|
allow?: string[] | undefined;
|
|
@@ -2850,6 +3484,7 @@ export declare const PLUGINS: {
|
|
|
2850
3484
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2851
3485
|
name: string | kCurrentWorker_2;
|
|
2852
3486
|
entrypoint?: string | undefined;
|
|
3487
|
+
props?: Record<string, unknown> | undefined;
|
|
2853
3488
|
} | {
|
|
2854
3489
|
network: {
|
|
2855
3490
|
allow?: string[] | undefined;
|
|
@@ -2885,6 +3520,34 @@ export declare const PLUGINS: {
|
|
|
2885
3520
|
unsafeEvalBinding?: string | undefined;
|
|
2886
3521
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2887
3522
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
2888
3551
|
}, {
|
|
2889
3552
|
name?: string | undefined;
|
|
2890
3553
|
rootPath?: string | undefined;
|
|
@@ -2899,6 +3562,7 @@ export declare const PLUGINS: {
|
|
|
2899
3562
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2900
3563
|
name: string | kCurrentWorker_2;
|
|
2901
3564
|
entrypoint?: string | undefined;
|
|
3565
|
+
props?: Record<string, unknown> | undefined;
|
|
2902
3566
|
} | {
|
|
2903
3567
|
network: {
|
|
2904
3568
|
allow?: string[] | undefined;
|
|
@@ -2931,6 +3595,7 @@ export declare const PLUGINS: {
|
|
|
2931
3595
|
outboundService?: string | kCurrentWorker_2 | {
|
|
2932
3596
|
name: string | kCurrentWorker_2;
|
|
2933
3597
|
entrypoint?: string | undefined;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
2934
3599
|
} | {
|
|
2935
3600
|
network: {
|
|
2936
3601
|
allow?: string[] | undefined;
|
|
@@ -2966,6 +3631,34 @@ export declare const PLUGINS: {
|
|
|
2966
3631
|
unsafeEvalBinding?: string | undefined;
|
|
2967
3632
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2968
3633
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
2969
3662
|
}>>, ({
|
|
2970
3663
|
modules: {
|
|
2971
3664
|
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
@@ -2987,6 +3680,7 @@ export declare const PLUGINS: {
|
|
|
2987
3680
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2988
3681
|
name: string | kCurrentWorker_2;
|
|
2989
3682
|
entrypoint?: string | undefined;
|
|
3683
|
+
props?: Record<string, unknown> | undefined;
|
|
2990
3684
|
} | {
|
|
2991
3685
|
network: {
|
|
2992
3686
|
allow?: string[] | undefined;
|
|
@@ -3019,6 +3713,7 @@ export declare const PLUGINS: {
|
|
|
3019
3713
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3020
3714
|
name: string | kCurrentWorker_2;
|
|
3021
3715
|
entrypoint?: string | undefined;
|
|
3716
|
+
props?: Record<string, unknown> | undefined;
|
|
3022
3717
|
} | {
|
|
3023
3718
|
network: {
|
|
3024
3719
|
allow?: string[] | undefined;
|
|
@@ -3054,6 +3749,34 @@ export declare const PLUGINS: {
|
|
|
3054
3749
|
unsafeEvalBinding?: string | undefined;
|
|
3055
3750
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3056
3751
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
3057
3780
|
}) | ({
|
|
3058
3781
|
script: string;
|
|
3059
3782
|
scriptPath?: string | undefined;
|
|
@@ -3078,6 +3801,7 @@ export declare const PLUGINS: {
|
|
|
3078
3801
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3079
3802
|
name: string | kCurrentWorker_2;
|
|
3080
3803
|
entrypoint?: string | undefined;
|
|
3804
|
+
props?: Record<string, unknown> | undefined;
|
|
3081
3805
|
} | {
|
|
3082
3806
|
network: {
|
|
3083
3807
|
allow?: string[] | undefined;
|
|
@@ -3110,6 +3834,7 @@ export declare const PLUGINS: {
|
|
|
3110
3834
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3111
3835
|
name: string | kCurrentWorker_2;
|
|
3112
3836
|
entrypoint?: string | undefined;
|
|
3837
|
+
props?: Record<string, unknown> | undefined;
|
|
3113
3838
|
} | {
|
|
3114
3839
|
network: {
|
|
3115
3840
|
allow?: string[] | undefined;
|
|
@@ -3145,6 +3870,34 @@ export declare const PLUGINS: {
|
|
|
3145
3870
|
unsafeEvalBinding?: string | undefined;
|
|
3146
3871
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3147
3872
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
3148
3901
|
}) | ({
|
|
3149
3902
|
scriptPath: string;
|
|
3150
3903
|
modules?: boolean | undefined;
|
|
@@ -3168,6 +3921,7 @@ export declare const PLUGINS: {
|
|
|
3168
3921
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3169
3922
|
name: string | kCurrentWorker_2;
|
|
3170
3923
|
entrypoint?: string | undefined;
|
|
3924
|
+
props?: Record<string, unknown> | undefined;
|
|
3171
3925
|
} | {
|
|
3172
3926
|
network: {
|
|
3173
3927
|
allow?: string[] | undefined;
|
|
@@ -3200,6 +3954,7 @@ export declare const PLUGINS: {
|
|
|
3200
3954
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3201
3955
|
name: string | kCurrentWorker_2;
|
|
3202
3956
|
entrypoint?: string | undefined;
|
|
3957
|
+
props?: Record<string, unknown> | undefined;
|
|
3203
3958
|
} | {
|
|
3204
3959
|
network: {
|
|
3205
3960
|
allow?: string[] | undefined;
|
|
@@ -3235,6 +3990,34 @@ export declare const PLUGINS: {
|
|
|
3235
3990
|
unsafeEvalBinding?: string | undefined;
|
|
3236
3991
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3237
3992
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
3238
4021
|
}), ({
|
|
3239
4022
|
modules: {
|
|
3240
4023
|
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
@@ -3275,6 +4058,7 @@ export declare const PLUGINS: {
|
|
|
3275
4058
|
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3276
4059
|
name: string | kCurrentWorker_2;
|
|
3277
4060
|
entrypoint?: string | undefined;
|
|
4061
|
+
props?: Record<string, unknown> | undefined;
|
|
3278
4062
|
} | {
|
|
3279
4063
|
network: {
|
|
3280
4064
|
allow?: string[] | undefined;
|
|
@@ -3307,6 +4091,7 @@ export declare const PLUGINS: {
|
|
|
3307
4091
|
outboundService?: string | kCurrentWorker_2 | {
|
|
3308
4092
|
name: string | kCurrentWorker_2;
|
|
3309
4093
|
entrypoint?: string | undefined;
|
|
4094
|
+
props?: Record<string, unknown> | undefined;
|
|
3310
4095
|
} | {
|
|
3311
4096
|
network: {
|
|
3312
4097
|
allow?: string[] | undefined;
|
|
@@ -3342,6 +4127,34 @@ export declare const PLUGINS: {
|
|
|
3342
4127
|
unsafeEvalBinding?: string | undefined;
|
|
3343
4128
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
3344
4129
|
hasAssetsAndIsVitest?: boolean | undefined;
|
|
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;
|
|
3345
4158
|
}>, z.ZodObject<{
|
|
3346
4159
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
3347
4160
|
host: z.ZodOptional<z.ZodString>;
|
|
@@ -3361,7 +4174,10 @@ export declare const PLUGINS: {
|
|
|
3361
4174
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
3362
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>>>;
|
|
3363
4176
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
4177
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
3364
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
logRequests: boolean;
|
|
3365
4181
|
rootPath?: undefined;
|
|
3366
4182
|
host?: string | undefined;
|
|
3367
4183
|
port?: number | undefined;
|
|
@@ -3380,6 +4196,7 @@ export declare const PLUGINS: {
|
|
|
3380
4196
|
unsafeProxySharedSecret?: string | undefined;
|
|
3381
4197
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3382
4198
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4199
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
3383
4200
|
}, {
|
|
3384
4201
|
rootPath?: string | undefined;
|
|
3385
4202
|
host?: string | undefined;
|
|
@@ -3399,6 +4216,8 @@ export declare const PLUGINS: {
|
|
|
3399
4216
|
unsafeProxySharedSecret?: string | undefined;
|
|
3400
4217
|
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3401
4218
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4219
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
4220
|
+
logRequests?: boolean | undefined;
|
|
3402
4221
|
}>>;
|
|
3403
4222
|
cache: Plugin_2<z.ZodObject<{
|
|
3404
4223
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3634,22 +4453,26 @@ export declare const PLUGINS: {
|
|
|
3634
4453
|
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
3635
4454
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3636
4455
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4456
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3637
4457
|
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3638
4458
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3639
4459
|
}, "strip", z.ZodTypeAny, {
|
|
3640
4460
|
account_id?: number;
|
|
3641
4461
|
script_id?: number;
|
|
4462
|
+
debug?: boolean;
|
|
3642
4463
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3643
4464
|
has_user_worker?: boolean;
|
|
3644
4465
|
}, {
|
|
3645
4466
|
account_id?: number;
|
|
3646
4467
|
script_id?: number;
|
|
4468
|
+
debug?: boolean;
|
|
3647
4469
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3648
4470
|
has_user_worker?: boolean;
|
|
3649
4471
|
}>>;
|
|
3650
4472
|
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
3651
4473
|
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3652
4474
|
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4475
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
3653
4476
|
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
3654
4477
|
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3655
4478
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
@@ -3735,6 +4558,7 @@ export declare const PLUGINS: {
|
|
|
3735
4558
|
unset?: string[];
|
|
3736
4559
|
}>;
|
|
3737
4560
|
} | undefined;
|
|
4561
|
+
debug?: boolean | undefined;
|
|
3738
4562
|
account_id?: number | undefined;
|
|
3739
4563
|
script_id?: number | undefined;
|
|
3740
4564
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3759,6 +4583,7 @@ export declare const PLUGINS: {
|
|
|
3759
4583
|
unset?: string[];
|
|
3760
4584
|
}>;
|
|
3761
4585
|
} | undefined;
|
|
4586
|
+
debug?: boolean | undefined;
|
|
3762
4587
|
account_id?: number | undefined;
|
|
3763
4588
|
script_id?: number | undefined;
|
|
3764
4589
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3783,6 +4608,7 @@ export declare const PLUGINS: {
|
|
|
3783
4608
|
routerConfig?: {
|
|
3784
4609
|
account_id?: number;
|
|
3785
4610
|
script_id?: number;
|
|
4611
|
+
debug?: boolean;
|
|
3786
4612
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3787
4613
|
has_user_worker?: boolean;
|
|
3788
4614
|
} | undefined;
|
|
@@ -3794,6 +4620,7 @@ export declare const PLUGINS: {
|
|
|
3794
4620
|
unset?: string[];
|
|
3795
4621
|
}>;
|
|
3796
4622
|
} | undefined;
|
|
4623
|
+
debug?: boolean | undefined;
|
|
3797
4624
|
account_id?: number | undefined;
|
|
3798
4625
|
script_id?: number | undefined;
|
|
3799
4626
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3818,6 +4645,7 @@ export declare const PLUGINS: {
|
|
|
3818
4645
|
routerConfig?: {
|
|
3819
4646
|
account_id?: number;
|
|
3820
4647
|
script_id?: number;
|
|
4648
|
+
debug?: boolean;
|
|
3821
4649
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3822
4650
|
has_user_worker?: boolean;
|
|
3823
4651
|
} | undefined;
|
|
@@ -3829,6 +4657,7 @@ export declare const PLUGINS: {
|
|
|
3829
4657
|
unset?: string[];
|
|
3830
4658
|
}>;
|
|
3831
4659
|
} | undefined;
|
|
4660
|
+
debug?: boolean | undefined;
|
|
3832
4661
|
account_id?: number | undefined;
|
|
3833
4662
|
script_id?: number | undefined;
|
|
3834
4663
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3857,6 +4686,7 @@ export declare const PLUGINS: {
|
|
|
3857
4686
|
routerConfig?: {
|
|
3858
4687
|
account_id?: number;
|
|
3859
4688
|
script_id?: number;
|
|
4689
|
+
debug?: boolean;
|
|
3860
4690
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3861
4691
|
has_user_worker?: boolean;
|
|
3862
4692
|
} | undefined;
|
|
@@ -3868,6 +4698,7 @@ export declare const PLUGINS: {
|
|
|
3868
4698
|
unset?: string[];
|
|
3869
4699
|
}>;
|
|
3870
4700
|
} | undefined;
|
|
4701
|
+
debug?: boolean | undefined;
|
|
3871
4702
|
account_id?: number | undefined;
|
|
3872
4703
|
script_id?: number | undefined;
|
|
3873
4704
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3896,6 +4727,7 @@ export declare const PLUGINS: {
|
|
|
3896
4727
|
routerConfig?: {
|
|
3897
4728
|
account_id?: number;
|
|
3898
4729
|
script_id?: number;
|
|
4730
|
+
debug?: boolean;
|
|
3899
4731
|
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3900
4732
|
has_user_worker?: boolean;
|
|
3901
4733
|
} | undefined;
|
|
@@ -3907,6 +4739,7 @@ export declare const PLUGINS: {
|
|
|
3907
4739
|
unset?: string[];
|
|
3908
4740
|
}>;
|
|
3909
4741
|
} | undefined;
|
|
4742
|
+
debug?: boolean | undefined;
|
|
3910
4743
|
account_id?: number | undefined;
|
|
3911
4744
|
script_id?: number | undefined;
|
|
3912
4745
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
@@ -3968,6 +4801,130 @@ export declare const PLUGINS: {
|
|
|
3968
4801
|
}, {
|
|
3969
4802
|
pipelines?: string[] | Record<string, string> | undefined;
|
|
3970
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
|
+
}>>;
|
|
3971
4928
|
};
|
|
3972
4929
|
|
|
3973
4930
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -4536,6 +5493,41 @@ export declare interface RuntimeOptions {
|
|
|
4536
5493
|
|
|
4537
5494
|
export declare function sanitisePath(unsafe: string): string;
|
|
4538
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
|
+
|
|
4539
5531
|
export declare interface SerialisableMatcherRegExps {
|
|
4540
5532
|
include: string[];
|
|
4541
5533
|
exclude: string[];
|
|
@@ -4571,6 +5563,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
|
|
|
4571
5563
|
export declare interface ServiceDesignator {
|
|
4572
5564
|
name?: string;
|
|
4573
5565
|
entrypoint?: string;
|
|
5566
|
+
props?: {
|
|
5567
|
+
json: string;
|
|
5568
|
+
};
|
|
4574
5569
|
}
|
|
4575
5570
|
|
|
4576
5571
|
export declare interface ServicesExtensions {
|
|
@@ -4591,7 +5586,7 @@ export declare const SharedHeaders: {
|
|
|
4591
5586
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
4592
5587
|
};
|
|
4593
5588
|
|
|
4594
|
-
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>;
|
|
4595
5590
|
|
|
4596
5591
|
export declare const SiteBindings: {
|
|
4597
5592
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -4860,6 +5855,7 @@ export declare type Worker = ({
|
|
|
4860
5855
|
durableObjectUniqueKeyModifier?: string;
|
|
4861
5856
|
durableObjectStorage?: Worker_DurableObjectStorage;
|
|
4862
5857
|
moduleFallback?: string;
|
|
5858
|
+
tails?: ServiceDesignator[];
|
|
4863
5859
|
};
|
|
4864
5860
|
|
|
4865
5861
|
export declare type Worker_Binding = {
|
|
@@ -5040,7 +6036,7 @@ export declare type Worker_Module = {
|
|
|
5040
6036
|
pythonRequirement?: string;
|
|
5041
6037
|
});
|
|
5042
6038
|
|
|
5043
|
-
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>;
|
|
5044
6040
|
|
|
5045
6041
|
export declare interface WorkerRoute {
|
|
5046
6042
|
target: string;
|