miniflare 0.0.0-e1d2fd668 → 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/README.md +7 -0
- package/dist/src/index.d.ts +2018 -409
- package/dist/src/index.js +11422 -5371
- 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-kv.worker.js +1 -1
- package/dist/src/workers/assets/assets-kv.worker.js.map +1 -1
- package/dist/src/workers/assets/assets.worker.js +4941 -5288
- package/dist/src/workers/assets/assets.worker.js.map +3 -3
- package/dist/src/workers/assets/router.worker.js +5096 -5931
- package/dist/src/workers/assets/router.worker.js.map +3 -3
- package/dist/src/workers/assets/rpc-proxy.worker.js +18 -0
- package/dist/src/workers/assets/rpc-proxy.worker.js.map +6 -0
- package/dist/src/workers/cache/cache-entry.worker.js.map +1 -1
- package/dist/src/workers/cache/cache.worker.js +14 -25
- package/dist/src/workers/cache/cache.worker.js.map +1 -1
- package/dist/src/workers/core/entry.worker.js +3410 -118
- package/dist/src/workers/core/entry.worker.js.map +3 -3
- package/dist/src/workers/d1/database.worker.js +9 -7
- 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 +69 -6
- package/dist/src/workers/kv/namespace.worker.js.map +2 -2
- package/dist/src/workers/kv/sites.worker.js +5 -7
- package/dist/src/workers/kv/sites.worker.js.map +1 -1
- package/dist/src/workers/pipelines/pipeline.worker.js +11 -0
- package/dist/src/workers/pipelines/pipeline.worker.js.map +6 -0
- package/dist/src/workers/queues/broker.worker.js +13 -18
- package/dist/src/workers/queues/broker.worker.js.map +1 -1
- package/dist/src/workers/r2/bucket.worker.js +23 -46
- package/dist/src/workers/r2/bucket.worker.js.map +1 -1
- package/dist/src/workers/ratelimit/ratelimit.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/shared/index.worker.js +28 -51
- package/dist/src/workers/shared/index.worker.js.map +1 -1
- package/dist/src/workers/shared/zod.worker.js +80 -84
- package/dist/src/workers/shared/zod.worker.js.map +1 -1
- package/dist/src/workers/workflows/binding.worker.js +370 -194
- package/dist/src/workers/workflows/binding.worker.js.map +1 -1
- package/package.json +28 -27
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Abortable } from 'events';
|
|
2
2
|
import type { AbortSignal as AbortSignal_2 } from '@cloudflare/workers-types/experimental';
|
|
3
|
+
import { Awaitable as Awaitable_2 } from '..';
|
|
3
4
|
import type { Blob as Blob_2 } from '@cloudflare/workers-types/experimental';
|
|
4
5
|
import { Blob as Blob_3 } from 'buffer';
|
|
5
6
|
import { BodyInit } from 'undici';
|
|
@@ -7,27 +8,40 @@ import type { CacheStorage } from '@cloudflare/workers-types/experimental';
|
|
|
7
8
|
import { cspotcodeSourceMapSupport } from '@cspotcode/source-map-support';
|
|
8
9
|
import type { D1Database } from '@cloudflare/workers-types/experimental';
|
|
9
10
|
import type { DurableObjectNamespace } from '@cloudflare/workers-types/experimental';
|
|
11
|
+
import { ExternalServer as ExternalServer_2 } from '../..';
|
|
12
|
+
import { ExternalServer as ExternalServer_3 } from '..';
|
|
10
13
|
import type { Fetcher } from '@cloudflare/workers-types/experimental';
|
|
11
|
-
import { File } from 'undici';
|
|
12
|
-
import type { File as
|
|
14
|
+
import { File as File_2 } from 'undici';
|
|
15
|
+
import type { File as File_3 } from '@cloudflare/workers-types/experimental';
|
|
13
16
|
import { FormData as FormData_2 } from 'undici';
|
|
14
17
|
import { Headers as Headers_2 } from 'undici';
|
|
15
18
|
import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimental';
|
|
16
19
|
import { HeadersInit } from 'undici';
|
|
17
20
|
import http from 'http';
|
|
18
21
|
import { IncomingRequestCfProperties } from '@cloudflare/workers-types/experimental';
|
|
22
|
+
import { Json as Json_2 } from '..';
|
|
23
|
+
import { kCurrentWorker as kCurrentWorker_2 } from '..';
|
|
24
|
+
import { kUnsafeEphemeralUniqueKey as kUnsafeEphemeralUniqueKey_2 } from './shared';
|
|
19
25
|
import type { KVNamespace } from '@cloudflare/workers-types/experimental';
|
|
26
|
+
import type { KVNamespaceListKey } from '@cloudflare/workers-types/experimental';
|
|
27
|
+
import { Log as Log_2 } from '..';
|
|
28
|
+
import { Miniflare as Miniflare_2 } from '../..';
|
|
29
|
+
import { Miniflare as Miniflare_3 } from '..';
|
|
20
30
|
import { MockAgent } from 'undici';
|
|
21
31
|
import NodeWebSocket from 'ws';
|
|
22
32
|
import { ParseParams } from 'zod';
|
|
33
|
+
import { PeriodType as PeriodType_2 } from './ratelimit';
|
|
34
|
+
import { Plugin as Plugin_2 } from './shared';
|
|
23
35
|
import type { Queue } from '@cloudflare/workers-types/experimental';
|
|
24
36
|
import type { R2Bucket } from '@cloudflare/workers-types/experimental';
|
|
25
37
|
import { Readable } from 'stream';
|
|
26
38
|
import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
|
|
27
39
|
import { ReadableStream as ReadableStream_3 } from 'stream/web';
|
|
28
40
|
import { ReferrerPolicy } from 'undici';
|
|
29
|
-
import { Request as Request_3 } from '
|
|
30
|
-
import
|
|
41
|
+
import { Request as Request_3 } from '../..';
|
|
42
|
+
import { Request as Request_4 } from 'undici';
|
|
43
|
+
import type { Request as Request_5 } from '@cloudflare/workers-types/experimental';
|
|
44
|
+
import { Request as Request_6 } from '..';
|
|
31
45
|
import { RequestCache } from 'undici';
|
|
32
46
|
import { RequestCredentials } from 'undici';
|
|
33
47
|
import { RequestDestination } from 'undici';
|
|
@@ -38,8 +52,10 @@ import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/exp
|
|
|
38
52
|
import type { RequestInitCfProperties } from '@cloudflare/workers-types/experimental';
|
|
39
53
|
import { RequestMode } from 'undici';
|
|
40
54
|
import { RequestRedirect } from 'undici';
|
|
41
|
-
import { Response as Response_3 } from '
|
|
42
|
-
import
|
|
55
|
+
import { Response as Response_3 } from '../..';
|
|
56
|
+
import { Response as Response_4 } from 'undici';
|
|
57
|
+
import type { Response as Response_5 } from '@cloudflare/workers-types/experimental';
|
|
58
|
+
import { Response as Response_6 } from '..';
|
|
43
59
|
import { ResponseInit as ResponseInit_3 } from 'undici';
|
|
44
60
|
import { ResponseRedirectStatus } from 'undici';
|
|
45
61
|
import { ResponseType } from 'undici';
|
|
@@ -56,12 +72,42 @@ export declare class __MiniflareFunctionWrapper {
|
|
|
56
72
|
});
|
|
57
73
|
}
|
|
58
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
|
+
|
|
59
105
|
export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
|
|
60
106
|
|
|
61
107
|
export declare type AssetReverseMap = {
|
|
62
108
|
[pathHash: string]: {
|
|
63
109
|
filePath: string;
|
|
64
|
-
contentType: string;
|
|
110
|
+
contentType: string | null;
|
|
65
111
|
};
|
|
66
112
|
};
|
|
67
113
|
|
|
@@ -72,72 +118,316 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
72
118
|
workerName: z.ZodOptional<z.ZodString>;
|
|
73
119
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
74
120
|
binding: z.ZodOptional<z.ZodString>;
|
|
75
|
-
|
|
121
|
+
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
123
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
76
126
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
77
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
account_id?: number;
|
|
129
|
+
script_id?: number;
|
|
130
|
+
debug?: boolean;
|
|
131
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
78
132
|
has_user_worker?: boolean;
|
|
79
133
|
}, {
|
|
134
|
+
account_id?: number;
|
|
135
|
+
script_id?: number;
|
|
136
|
+
debug?: boolean;
|
|
137
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
80
138
|
has_user_worker?: boolean;
|
|
81
139
|
}>>;
|
|
82
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
141
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
145
|
+
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
146
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
84
147
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
148
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
version: z.ZodLiteral<1>;
|
|
150
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
151
|
+
status: z.ZodNumber;
|
|
152
|
+
to: z.ZodString;
|
|
153
|
+
lineNumber: z.ZodNumber;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
status?: number;
|
|
156
|
+
to?: string;
|
|
157
|
+
lineNumber?: number;
|
|
158
|
+
}, {
|
|
159
|
+
status?: number;
|
|
160
|
+
to?: string;
|
|
161
|
+
lineNumber?: number;
|
|
162
|
+
}>>;
|
|
163
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
164
|
+
status: z.ZodNumber;
|
|
165
|
+
to: z.ZodString;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
status?: number;
|
|
168
|
+
to?: string;
|
|
169
|
+
}, {
|
|
170
|
+
status?: number;
|
|
171
|
+
to?: string;
|
|
172
|
+
}>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
version?: 1;
|
|
175
|
+
staticRules?: Record<string, {
|
|
176
|
+
status?: number;
|
|
177
|
+
to?: string;
|
|
178
|
+
lineNumber?: number;
|
|
179
|
+
}>;
|
|
180
|
+
rules?: Record<string, {
|
|
181
|
+
status?: number;
|
|
182
|
+
to?: string;
|
|
183
|
+
}>;
|
|
184
|
+
}, {
|
|
185
|
+
version?: 1;
|
|
186
|
+
staticRules?: Record<string, {
|
|
187
|
+
status?: number;
|
|
188
|
+
to?: string;
|
|
189
|
+
lineNumber?: number;
|
|
190
|
+
}>;
|
|
191
|
+
rules?: Record<string, {
|
|
192
|
+
status?: number;
|
|
193
|
+
to?: string;
|
|
194
|
+
}>;
|
|
195
|
+
}>>;
|
|
196
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
version: z.ZodLiteral<2>;
|
|
198
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
199
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
set?: Record<string, string>;
|
|
203
|
+
unset?: string[];
|
|
204
|
+
}, {
|
|
205
|
+
set?: Record<string, string>;
|
|
206
|
+
unset?: string[];
|
|
207
|
+
}>>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
version?: 2;
|
|
210
|
+
rules?: Record<string, {
|
|
211
|
+
set?: Record<string, string>;
|
|
212
|
+
unset?: string[];
|
|
213
|
+
}>;
|
|
214
|
+
}, {
|
|
215
|
+
version?: 2;
|
|
216
|
+
rules?: Record<string, {
|
|
217
|
+
set?: Record<string, string>;
|
|
218
|
+
unset?: string[];
|
|
219
|
+
}>;
|
|
220
|
+
}>>;
|
|
221
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
222
|
+
headers?: {
|
|
223
|
+
version?: 2;
|
|
224
|
+
rules?: Record<string, {
|
|
225
|
+
set?: Record<string, string>;
|
|
226
|
+
unset?: string[];
|
|
227
|
+
}>;
|
|
228
|
+
} | undefined;
|
|
229
|
+
debug?: boolean | undefined;
|
|
230
|
+
account_id?: number | undefined;
|
|
231
|
+
script_id?: number | undefined;
|
|
232
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
233
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
234
|
+
redirects?: {
|
|
235
|
+
version?: 1;
|
|
236
|
+
staticRules?: Record<string, {
|
|
237
|
+
status?: number;
|
|
238
|
+
to?: string;
|
|
239
|
+
lineNumber?: number;
|
|
240
|
+
}>;
|
|
241
|
+
rules?: Record<string, {
|
|
242
|
+
status?: number;
|
|
243
|
+
to?: string;
|
|
244
|
+
}>;
|
|
245
|
+
} | undefined;
|
|
88
246
|
}, {
|
|
89
|
-
|
|
90
|
-
|
|
247
|
+
headers?: {
|
|
248
|
+
version?: 2;
|
|
249
|
+
rules?: Record<string, {
|
|
250
|
+
set?: Record<string, string>;
|
|
251
|
+
unset?: string[];
|
|
252
|
+
}>;
|
|
253
|
+
} | undefined;
|
|
254
|
+
debug?: boolean | undefined;
|
|
255
|
+
account_id?: number | undefined;
|
|
256
|
+
script_id?: number | undefined;
|
|
257
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
258
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
259
|
+
redirects?: {
|
|
260
|
+
version?: 1;
|
|
261
|
+
staticRules?: Record<string, {
|
|
262
|
+
status?: number;
|
|
263
|
+
to?: string;
|
|
264
|
+
lineNumber?: number;
|
|
265
|
+
}>;
|
|
266
|
+
rules?: Record<string, {
|
|
267
|
+
status?: number;
|
|
268
|
+
to?: string;
|
|
269
|
+
}>;
|
|
270
|
+
} | undefined;
|
|
91
271
|
}>>;
|
|
92
272
|
}, "strip", z.ZodTypeAny, {
|
|
93
273
|
directory: string;
|
|
94
274
|
workerName?: string | undefined;
|
|
95
275
|
binding?: string | undefined;
|
|
96
|
-
|
|
276
|
+
routerConfig?: {
|
|
277
|
+
account_id?: number;
|
|
278
|
+
script_id?: number;
|
|
279
|
+
debug?: boolean;
|
|
280
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
97
281
|
has_user_worker?: boolean;
|
|
98
282
|
} | undefined;
|
|
99
283
|
assetConfig?: {
|
|
100
|
-
|
|
101
|
-
|
|
284
|
+
headers?: {
|
|
285
|
+
version?: 2;
|
|
286
|
+
rules?: Record<string, {
|
|
287
|
+
set?: Record<string, string>;
|
|
288
|
+
unset?: string[];
|
|
289
|
+
}>;
|
|
290
|
+
} | undefined;
|
|
291
|
+
debug?: boolean | undefined;
|
|
292
|
+
account_id?: number | undefined;
|
|
293
|
+
script_id?: number | undefined;
|
|
294
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
295
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
296
|
+
redirects?: {
|
|
297
|
+
version?: 1;
|
|
298
|
+
staticRules?: Record<string, {
|
|
299
|
+
status?: number;
|
|
300
|
+
to?: string;
|
|
301
|
+
lineNumber?: number;
|
|
302
|
+
}>;
|
|
303
|
+
rules?: Record<string, {
|
|
304
|
+
status?: number;
|
|
305
|
+
to?: string;
|
|
306
|
+
}>;
|
|
307
|
+
} | undefined;
|
|
102
308
|
} | undefined;
|
|
103
309
|
}, {
|
|
104
310
|
directory: string;
|
|
105
311
|
workerName?: string | undefined;
|
|
106
312
|
binding?: string | undefined;
|
|
107
|
-
|
|
313
|
+
routerConfig?: {
|
|
314
|
+
account_id?: number;
|
|
315
|
+
script_id?: number;
|
|
316
|
+
debug?: boolean;
|
|
317
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
108
318
|
has_user_worker?: boolean;
|
|
109
319
|
} | undefined;
|
|
110
320
|
assetConfig?: {
|
|
111
|
-
|
|
112
|
-
|
|
321
|
+
headers?: {
|
|
322
|
+
version?: 2;
|
|
323
|
+
rules?: Record<string, {
|
|
324
|
+
set?: Record<string, string>;
|
|
325
|
+
unset?: string[];
|
|
326
|
+
}>;
|
|
327
|
+
} | undefined;
|
|
328
|
+
debug?: boolean | undefined;
|
|
329
|
+
account_id?: number | undefined;
|
|
330
|
+
script_id?: number | undefined;
|
|
331
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
332
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
333
|
+
redirects?: {
|
|
334
|
+
version?: 1;
|
|
335
|
+
staticRules?: Record<string, {
|
|
336
|
+
status?: number;
|
|
337
|
+
to?: string;
|
|
338
|
+
lineNumber?: number;
|
|
339
|
+
}>;
|
|
340
|
+
rules?: Record<string, {
|
|
341
|
+
status?: number;
|
|
342
|
+
to?: string;
|
|
343
|
+
}>;
|
|
344
|
+
} | undefined;
|
|
113
345
|
} | undefined;
|
|
114
346
|
}>>;
|
|
347
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
348
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
349
|
}, "strip", z.ZodTypeAny, {
|
|
116
350
|
assets?: {
|
|
117
351
|
directory: string;
|
|
118
352
|
workerName?: string | undefined;
|
|
119
353
|
binding?: string | undefined;
|
|
120
|
-
|
|
354
|
+
routerConfig?: {
|
|
355
|
+
account_id?: number;
|
|
356
|
+
script_id?: number;
|
|
357
|
+
debug?: boolean;
|
|
358
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
121
359
|
has_user_worker?: boolean;
|
|
122
360
|
} | undefined;
|
|
123
361
|
assetConfig?: {
|
|
124
|
-
|
|
125
|
-
|
|
362
|
+
headers?: {
|
|
363
|
+
version?: 2;
|
|
364
|
+
rules?: Record<string, {
|
|
365
|
+
set?: Record<string, string>;
|
|
366
|
+
unset?: string[];
|
|
367
|
+
}>;
|
|
368
|
+
} | undefined;
|
|
369
|
+
debug?: boolean | undefined;
|
|
370
|
+
account_id?: number | undefined;
|
|
371
|
+
script_id?: number | undefined;
|
|
372
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
373
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
374
|
+
redirects?: {
|
|
375
|
+
version?: 1;
|
|
376
|
+
staticRules?: Record<string, {
|
|
377
|
+
status?: number;
|
|
378
|
+
to?: string;
|
|
379
|
+
lineNumber?: number;
|
|
380
|
+
}>;
|
|
381
|
+
rules?: Record<string, {
|
|
382
|
+
status?: number;
|
|
383
|
+
to?: string;
|
|
384
|
+
}>;
|
|
385
|
+
} | undefined;
|
|
126
386
|
} | undefined;
|
|
127
387
|
} | undefined;
|
|
388
|
+
compatibilityDate?: string | undefined;
|
|
389
|
+
compatibilityFlags?: string[] | undefined;
|
|
128
390
|
}, {
|
|
129
391
|
assets?: {
|
|
130
392
|
directory: string;
|
|
131
393
|
workerName?: string | undefined;
|
|
132
394
|
binding?: string | undefined;
|
|
133
|
-
|
|
395
|
+
routerConfig?: {
|
|
396
|
+
account_id?: number;
|
|
397
|
+
script_id?: number;
|
|
398
|
+
debug?: boolean;
|
|
399
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
134
400
|
has_user_worker?: boolean;
|
|
135
401
|
} | undefined;
|
|
136
402
|
assetConfig?: {
|
|
137
|
-
|
|
138
|
-
|
|
403
|
+
headers?: {
|
|
404
|
+
version?: 2;
|
|
405
|
+
rules?: Record<string, {
|
|
406
|
+
set?: Record<string, string>;
|
|
407
|
+
unset?: string[];
|
|
408
|
+
}>;
|
|
409
|
+
} | undefined;
|
|
410
|
+
debug?: boolean | undefined;
|
|
411
|
+
account_id?: number | undefined;
|
|
412
|
+
script_id?: number | undefined;
|
|
413
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
414
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
415
|
+
redirects?: {
|
|
416
|
+
version?: 1;
|
|
417
|
+
staticRules?: Record<string, {
|
|
418
|
+
status?: number;
|
|
419
|
+
to?: string;
|
|
420
|
+
lineNumber?: number;
|
|
421
|
+
}>;
|
|
422
|
+
rules?: Record<string, {
|
|
423
|
+
status?: number;
|
|
424
|
+
to?: string;
|
|
425
|
+
}>;
|
|
426
|
+
} | undefined;
|
|
139
427
|
} | undefined;
|
|
140
428
|
} | undefined;
|
|
429
|
+
compatibilityDate?: string | undefined;
|
|
430
|
+
compatibilityFlags?: string[] | undefined;
|
|
141
431
|
}>;
|
|
142
432
|
|
|
143
433
|
export declare type Awaitable<T> = T | Promise<T>;
|
|
@@ -158,7 +448,7 @@ export { BodyInit }
|
|
|
158
448
|
* Use content hash to get file path from asset reverse map.
|
|
159
449
|
*/
|
|
160
450
|
export declare const buildAssetManifest: (dir: string) => Promise<{
|
|
161
|
-
encodedAssetManifest: Uint8Array
|
|
451
|
+
encodedAssetManifest: Uint8Array<ArrayBuffer>;
|
|
162
452
|
assetsReverseMap: AssetReverseMap;
|
|
163
453
|
}>;
|
|
164
454
|
|
|
@@ -243,6 +533,8 @@ export declare const CoreBindings: {
|
|
|
243
533
|
readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
|
|
244
534
|
readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
|
|
245
535
|
readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
|
|
536
|
+
readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
|
|
537
|
+
readonly LOG_REQUESTS: "LOG_REQUESTS";
|
|
246
538
|
};
|
|
247
539
|
|
|
248
540
|
export declare const CoreHeaders: {
|
|
@@ -264,31 +556,31 @@ export declare const CoreHeaders: {
|
|
|
264
556
|
|
|
265
557
|
export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
266
558
|
modules: z.ZodArray<z.ZodObject<{
|
|
267
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
559
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
268
560
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
269
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
561
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
270
562
|
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
type: "ESModule" | "CommonJS" | "
|
|
563
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
272
564
|
path: string;
|
|
273
|
-
contents?: string | Uint8Array | undefined;
|
|
565
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
274
566
|
}, {
|
|
275
|
-
type: "ESModule" | "CommonJS" | "
|
|
567
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
276
568
|
path: string;
|
|
277
|
-
contents?: string | Uint8Array | undefined;
|
|
569
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
278
570
|
}>, "many">;
|
|
279
571
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
280
572
|
}, "strip", z.ZodTypeAny, {
|
|
281
573
|
modules: {
|
|
282
|
-
type: "ESModule" | "CommonJS" | "
|
|
574
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
283
575
|
path: string;
|
|
284
|
-
contents?: string | Uint8Array | undefined;
|
|
576
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
285
577
|
}[];
|
|
286
578
|
modulesRoot?: string | undefined;
|
|
287
579
|
}, {
|
|
288
580
|
modules: {
|
|
289
|
-
type: "ESModule" | "CommonJS" | "
|
|
581
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
290
582
|
path: string;
|
|
291
|
-
contents?: string | Uint8Array | undefined;
|
|
583
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
292
584
|
}[];
|
|
293
585
|
modulesRoot?: string | undefined;
|
|
294
586
|
}>, z.ZodObject<{
|
|
@@ -296,15 +588,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
296
588
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
297
589
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
298
590
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
591
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
300
592
|
include: z.ZodArray<z.ZodString, "many">;
|
|
301
593
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
302
594
|
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
type: "ESModule" | "CommonJS" | "
|
|
595
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
304
596
|
include: string[];
|
|
305
597
|
fallthrough?: boolean | undefined;
|
|
306
598
|
}, {
|
|
307
|
-
type: "ESModule" | "CommonJS" | "
|
|
599
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
308
600
|
include: string[];
|
|
309
601
|
fallthrough?: boolean | undefined;
|
|
310
602
|
}>, "many">>;
|
|
@@ -314,7 +606,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
314
606
|
scriptPath?: string | undefined;
|
|
315
607
|
modules?: boolean | undefined;
|
|
316
608
|
modulesRules?: {
|
|
317
|
-
type: "ESModule" | "CommonJS" | "
|
|
609
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
318
610
|
include: string[];
|
|
319
611
|
fallthrough?: boolean | undefined;
|
|
320
612
|
}[] | undefined;
|
|
@@ -324,7 +616,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
324
616
|
scriptPath?: string | undefined;
|
|
325
617
|
modules?: boolean | undefined;
|
|
326
618
|
modulesRules?: {
|
|
327
|
-
type: "ESModule" | "CommonJS" | "
|
|
619
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
328
620
|
include: string[];
|
|
329
621
|
fallthrough?: boolean | undefined;
|
|
330
622
|
}[] | undefined;
|
|
@@ -333,15 +625,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
333
625
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
334
626
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
335
627
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
628
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
337
629
|
include: z.ZodArray<z.ZodString, "many">;
|
|
338
630
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
339
631
|
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
type: "ESModule" | "CommonJS" | "
|
|
632
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
341
633
|
include: string[];
|
|
342
634
|
fallthrough?: boolean | undefined;
|
|
343
635
|
}, {
|
|
344
|
-
type: "ESModule" | "CommonJS" | "
|
|
636
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
345
637
|
include: string[];
|
|
346
638
|
fallthrough?: boolean | undefined;
|
|
347
639
|
}>, "many">>;
|
|
@@ -350,7 +642,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
350
642
|
scriptPath: string;
|
|
351
643
|
modules?: boolean | undefined;
|
|
352
644
|
modulesRules?: {
|
|
353
|
-
type: "ESModule" | "CommonJS" | "
|
|
645
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
354
646
|
include: string[];
|
|
355
647
|
fallthrough?: boolean | undefined;
|
|
356
648
|
}[] | undefined;
|
|
@@ -359,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
359
651
|
scriptPath: string;
|
|
360
652
|
modules?: boolean | undefined;
|
|
361
653
|
modulesRules?: {
|
|
362
|
-
type: "ESModule" | "CommonJS" | "
|
|
654
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
363
655
|
include: string[];
|
|
364
656
|
fallthrough?: boolean | undefined;
|
|
365
657
|
}[] | undefined;
|
|
@@ -369,20 +661,24 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
369
661
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
370
662
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
371
663
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
664
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
372
665
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
373
666
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
|
|
374
|
-
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
667
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
375
668
|
textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
376
|
-
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
669
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
377
670
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
378
671
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
379
672
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
673
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
380
674
|
}, "strip", z.ZodTypeAny, {
|
|
381
675
|
name: string | typeof kCurrentWorker;
|
|
382
676
|
entrypoint?: string | undefined;
|
|
677
|
+
props?: Record<string, unknown> | undefined;
|
|
383
678
|
}, {
|
|
384
679
|
name: string | typeof kCurrentWorker;
|
|
385
680
|
entrypoint?: string | undefined;
|
|
681
|
+
props?: Record<string, unknown> | undefined;
|
|
386
682
|
}>, z.ZodObject<{
|
|
387
683
|
network: z.ZodObject<{
|
|
388
684
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -401,7 +697,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
401
697
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
402
698
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
403
699
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
700
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
701
|
+
readonly GOOD_DEFAULT: 0;
|
|
702
|
+
readonly SSL3: 1;
|
|
703
|
+
readonly TLS1DOT0: 2;
|
|
704
|
+
readonly TLS1DOT1: 3;
|
|
705
|
+
readonly TLS1DOT2: 4;
|
|
706
|
+
readonly TLS1DOT3: 5;
|
|
707
|
+
}>>;
|
|
405
708
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
406
709
|
}, "strip", z.ZodTypeAny, {
|
|
407
710
|
keypair?: {
|
|
@@ -411,7 +714,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
411
714
|
requireClientCerts?: boolean | undefined;
|
|
412
715
|
trustBrowserCas?: boolean | undefined;
|
|
413
716
|
trustedCertificates?: string[] | undefined;
|
|
414
|
-
minVersion?:
|
|
717
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
415
718
|
cipherList?: string | undefined;
|
|
416
719
|
}, {
|
|
417
720
|
keypair?: {
|
|
@@ -421,7 +724,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
421
724
|
requireClientCerts?: boolean | undefined;
|
|
422
725
|
trustBrowserCas?: boolean | undefined;
|
|
423
726
|
trustedCertificates?: string[] | undefined;
|
|
424
|
-
minVersion?:
|
|
727
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
425
728
|
cipherList?: string | undefined;
|
|
426
729
|
}>>;
|
|
427
730
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -435,7 +738,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
435
738
|
requireClientCerts?: boolean | undefined;
|
|
436
739
|
trustBrowserCas?: boolean | undefined;
|
|
437
740
|
trustedCertificates?: string[] | undefined;
|
|
438
|
-
minVersion?:
|
|
741
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
439
742
|
cipherList?: string | undefined;
|
|
440
743
|
} | undefined;
|
|
441
744
|
}, {
|
|
@@ -449,7 +752,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
449
752
|
requireClientCerts?: boolean | undefined;
|
|
450
753
|
trustBrowserCas?: boolean | undefined;
|
|
451
754
|
trustedCertificates?: string[] | undefined;
|
|
452
|
-
minVersion?:
|
|
755
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
453
756
|
cipherList?: string | undefined;
|
|
454
757
|
} | undefined;
|
|
455
758
|
}>;
|
|
@@ -465,7 +768,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
465
768
|
requireClientCerts?: boolean | undefined;
|
|
466
769
|
trustBrowserCas?: boolean | undefined;
|
|
467
770
|
trustedCertificates?: string[] | undefined;
|
|
468
|
-
minVersion?:
|
|
771
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
469
772
|
cipherList?: string | undefined;
|
|
470
773
|
} | undefined;
|
|
471
774
|
};
|
|
@@ -481,16 +784,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
481
784
|
requireClientCerts?: boolean | undefined;
|
|
482
785
|
trustBrowserCas?: boolean | undefined;
|
|
483
786
|
trustedCertificates?: string[] | undefined;
|
|
484
|
-
minVersion?:
|
|
787
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
485
788
|
cipherList?: string | undefined;
|
|
486
789
|
} | undefined;
|
|
487
790
|
};
|
|
488
791
|
}>, z.ZodObject<{
|
|
489
|
-
external: z.ZodType<
|
|
792
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
490
793
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
external:
|
|
794
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
492
795
|
}, {
|
|
493
|
-
external:
|
|
796
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
494
797
|
}>, z.ZodObject<{
|
|
495
798
|
disk: z.ZodObject<{
|
|
496
799
|
path: z.ZodString;
|
|
@@ -512,7 +815,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
512
815
|
path: string;
|
|
513
816
|
writable?: boolean | undefined;
|
|
514
817
|
};
|
|
515
|
-
}>, z.ZodType<(request:
|
|
818
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
|
|
516
819
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
517
820
|
scriptName: z.ZodString;
|
|
518
821
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -529,12 +832,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
529
832
|
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
530
833
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
531
834
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
835
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
532
836
|
}, "strip", z.ZodTypeAny, {
|
|
533
837
|
name: string | typeof kCurrentWorker;
|
|
534
838
|
entrypoint?: string | undefined;
|
|
839
|
+
props?: Record<string, unknown> | undefined;
|
|
535
840
|
}, {
|
|
536
841
|
name: string | typeof kCurrentWorker;
|
|
537
842
|
entrypoint?: string | undefined;
|
|
843
|
+
props?: Record<string, unknown> | undefined;
|
|
538
844
|
}>, z.ZodObject<{
|
|
539
845
|
network: z.ZodObject<{
|
|
540
846
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -553,7 +859,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
553
859
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
554
860
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
555
861
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
556
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
862
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
863
|
+
readonly GOOD_DEFAULT: 0;
|
|
864
|
+
readonly SSL3: 1;
|
|
865
|
+
readonly TLS1DOT0: 2;
|
|
866
|
+
readonly TLS1DOT1: 3;
|
|
867
|
+
readonly TLS1DOT2: 4;
|
|
868
|
+
readonly TLS1DOT3: 5;
|
|
869
|
+
}>>;
|
|
557
870
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
558
871
|
}, "strip", z.ZodTypeAny, {
|
|
559
872
|
keypair?: {
|
|
@@ -563,7 +876,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
563
876
|
requireClientCerts?: boolean | undefined;
|
|
564
877
|
trustBrowserCas?: boolean | undefined;
|
|
565
878
|
trustedCertificates?: string[] | undefined;
|
|
566
|
-
minVersion?:
|
|
879
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
567
880
|
cipherList?: string | undefined;
|
|
568
881
|
}, {
|
|
569
882
|
keypair?: {
|
|
@@ -573,7 +886,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
573
886
|
requireClientCerts?: boolean | undefined;
|
|
574
887
|
trustBrowserCas?: boolean | undefined;
|
|
575
888
|
trustedCertificates?: string[] | undefined;
|
|
576
|
-
minVersion?:
|
|
889
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
577
890
|
cipherList?: string | undefined;
|
|
578
891
|
}>>;
|
|
579
892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -587,7 +900,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
587
900
|
requireClientCerts?: boolean | undefined;
|
|
588
901
|
trustBrowserCas?: boolean | undefined;
|
|
589
902
|
trustedCertificates?: string[] | undefined;
|
|
590
|
-
minVersion?:
|
|
903
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
591
904
|
cipherList?: string | undefined;
|
|
592
905
|
} | undefined;
|
|
593
906
|
}, {
|
|
@@ -601,7 +914,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
601
914
|
requireClientCerts?: boolean | undefined;
|
|
602
915
|
trustBrowserCas?: boolean | undefined;
|
|
603
916
|
trustedCertificates?: string[] | undefined;
|
|
604
|
-
minVersion?:
|
|
917
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
605
918
|
cipherList?: string | undefined;
|
|
606
919
|
} | undefined;
|
|
607
920
|
}>;
|
|
@@ -617,7 +930,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
617
930
|
requireClientCerts?: boolean | undefined;
|
|
618
931
|
trustBrowserCas?: boolean | undefined;
|
|
619
932
|
trustedCertificates?: string[] | undefined;
|
|
620
|
-
minVersion?:
|
|
933
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
621
934
|
cipherList?: string | undefined;
|
|
622
935
|
} | undefined;
|
|
623
936
|
};
|
|
@@ -633,16 +946,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
633
946
|
requireClientCerts?: boolean | undefined;
|
|
634
947
|
trustBrowserCas?: boolean | undefined;
|
|
635
948
|
trustedCertificates?: string[] | undefined;
|
|
636
|
-
minVersion?:
|
|
949
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
637
950
|
cipherList?: string | undefined;
|
|
638
951
|
} | undefined;
|
|
639
952
|
};
|
|
640
953
|
}>, z.ZodObject<{
|
|
641
|
-
external: z.ZodType<
|
|
954
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
642
955
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
-
external:
|
|
956
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
644
957
|
}, {
|
|
645
|
-
external:
|
|
958
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
646
959
|
}>, z.ZodObject<{
|
|
647
960
|
disk: z.ZodObject<{
|
|
648
961
|
path: z.ZodString;
|
|
@@ -664,7 +977,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
664
977
|
path: string;
|
|
665
978
|
writable?: boolean | undefined;
|
|
666
979
|
};
|
|
667
|
-
}>, z.ZodType<(request:
|
|
980
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
|
|
668
981
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
|
|
669
982
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
670
983
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -685,23 +998,175 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
685
998
|
}>, "many">>;
|
|
686
999
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
687
1000
|
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
-
/** Used to set the vitest pool worker SELF binding to point to the
|
|
689
|
-
(If there are assets but we're not using vitest, the miniflare entry worker can point directly to
|
|
1001
|
+
/** Used to set the vitest pool worker SELF binding to point to the Router Worker if there are assets.
|
|
1002
|
+
(If there are assets but we're not using vitest, the miniflare entry worker can point directly to
|
|
1003
|
+
Router Worker)
|
|
690
1004
|
*/
|
|
691
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">>;
|
|
692
1155
|
}, "strip", z.ZodTypeAny, {
|
|
693
1156
|
name?: string | undefined;
|
|
694
1157
|
rootPath?: undefined;
|
|
695
1158
|
compatibilityDate?: string | undefined;
|
|
696
1159
|
compatibilityFlags?: string[] | undefined;
|
|
1160
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
697
1161
|
routes?: string[] | undefined;
|
|
698
1162
|
bindings?: Record<string, Json> | undefined;
|
|
699
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1163
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
700
1164
|
textBlobBindings?: Record<string, string> | undefined;
|
|
701
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1165
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
702
1166
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
703
1167
|
name: string | typeof kCurrentWorker;
|
|
704
1168
|
entrypoint?: string | undefined;
|
|
1169
|
+
props?: Record<string, unknown> | undefined;
|
|
705
1170
|
} | {
|
|
706
1171
|
network: {
|
|
707
1172
|
allow?: string[] | undefined;
|
|
@@ -714,18 +1179,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
714
1179
|
requireClientCerts?: boolean | undefined;
|
|
715
1180
|
trustBrowserCas?: boolean | undefined;
|
|
716
1181
|
trustedCertificates?: string[] | undefined;
|
|
717
|
-
minVersion?:
|
|
1182
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
718
1183
|
cipherList?: string | undefined;
|
|
719
1184
|
} | undefined;
|
|
720
1185
|
};
|
|
721
1186
|
} | {
|
|
722
|
-
external:
|
|
1187
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
723
1188
|
} | {
|
|
724
1189
|
disk: {
|
|
725
1190
|
path: string;
|
|
726
1191
|
writable?: boolean | undefined;
|
|
727
1192
|
};
|
|
728
|
-
} | ((request:
|
|
1193
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
729
1194
|
wrappedBindings?: Record<string, string | {
|
|
730
1195
|
scriptName: string;
|
|
731
1196
|
entrypoint?: string | undefined;
|
|
@@ -734,6 +1199,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
734
1199
|
outboundService?: string | typeof kCurrentWorker | {
|
|
735
1200
|
name: string | typeof kCurrentWorker;
|
|
736
1201
|
entrypoint?: string | undefined;
|
|
1202
|
+
props?: Record<string, unknown> | undefined;
|
|
737
1203
|
} | {
|
|
738
1204
|
network: {
|
|
739
1205
|
allow?: string[] | undefined;
|
|
@@ -746,18 +1212,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
746
1212
|
requireClientCerts?: boolean | undefined;
|
|
747
1213
|
trustBrowserCas?: boolean | undefined;
|
|
748
1214
|
trustedCertificates?: string[] | undefined;
|
|
749
|
-
minVersion?:
|
|
1215
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
750
1216
|
cipherList?: string | undefined;
|
|
751
1217
|
} | undefined;
|
|
752
1218
|
};
|
|
753
1219
|
} | {
|
|
754
|
-
external:
|
|
1220
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
755
1221
|
} | {
|
|
756
1222
|
disk: {
|
|
757
1223
|
path: string;
|
|
758
1224
|
writable?: boolean | undefined;
|
|
759
1225
|
};
|
|
760
|
-
} | ((request:
|
|
1226
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
761
1227
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
762
1228
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
763
1229
|
unsafeDirectSockets?: {
|
|
@@ -769,19 +1235,49 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
769
1235
|
unsafeEvalBinding?: string | undefined;
|
|
770
1236
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
771
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;
|
|
772
1266
|
}, {
|
|
773
1267
|
name?: string | undefined;
|
|
774
1268
|
rootPath?: string | undefined;
|
|
775
1269
|
compatibilityDate?: string | undefined;
|
|
776
1270
|
compatibilityFlags?: string[] | undefined;
|
|
1271
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
777
1272
|
routes?: string[] | undefined;
|
|
778
1273
|
bindings?: Record<string, Json> | undefined;
|
|
779
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1274
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
780
1275
|
textBlobBindings?: Record<string, string> | undefined;
|
|
781
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1276
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
782
1277
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
783
1278
|
name: string | typeof kCurrentWorker;
|
|
784
1279
|
entrypoint?: string | undefined;
|
|
1280
|
+
props?: Record<string, unknown> | undefined;
|
|
785
1281
|
} | {
|
|
786
1282
|
network: {
|
|
787
1283
|
allow?: string[] | undefined;
|
|
@@ -794,18 +1290,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
794
1290
|
requireClientCerts?: boolean | undefined;
|
|
795
1291
|
trustBrowserCas?: boolean | undefined;
|
|
796
1292
|
trustedCertificates?: string[] | undefined;
|
|
797
|
-
minVersion?:
|
|
1293
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
798
1294
|
cipherList?: string | undefined;
|
|
799
1295
|
} | undefined;
|
|
800
1296
|
};
|
|
801
1297
|
} | {
|
|
802
|
-
external:
|
|
1298
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
803
1299
|
} | {
|
|
804
1300
|
disk: {
|
|
805
1301
|
path: string;
|
|
806
1302
|
writable?: boolean | undefined;
|
|
807
1303
|
};
|
|
808
|
-
} | ((request:
|
|
1304
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
809
1305
|
wrappedBindings?: Record<string, string | {
|
|
810
1306
|
scriptName: string;
|
|
811
1307
|
entrypoint?: string | undefined;
|
|
@@ -814,6 +1310,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
814
1310
|
outboundService?: string | typeof kCurrentWorker | {
|
|
815
1311
|
name: string | typeof kCurrentWorker;
|
|
816
1312
|
entrypoint?: string | undefined;
|
|
1313
|
+
props?: Record<string, unknown> | undefined;
|
|
817
1314
|
} | {
|
|
818
1315
|
network: {
|
|
819
1316
|
allow?: string[] | undefined;
|
|
@@ -826,18 +1323,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
826
1323
|
requireClientCerts?: boolean | undefined;
|
|
827
1324
|
trustBrowserCas?: boolean | undefined;
|
|
828
1325
|
trustedCertificates?: string[] | undefined;
|
|
829
|
-
minVersion?:
|
|
1326
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
830
1327
|
cipherList?: string | undefined;
|
|
831
1328
|
} | undefined;
|
|
832
1329
|
};
|
|
833
1330
|
} | {
|
|
834
|
-
external:
|
|
1331
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
835
1332
|
} | {
|
|
836
1333
|
disk: {
|
|
837
1334
|
path: string;
|
|
838
1335
|
writable?: boolean | undefined;
|
|
839
1336
|
};
|
|
840
|
-
} | ((request:
|
|
1337
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
841
1338
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
842
1339
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
843
1340
|
unsafeDirectSockets?: {
|
|
@@ -849,11 +1346,39 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
849
1346
|
unsafeEvalBinding?: string | undefined;
|
|
850
1347
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
851
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;
|
|
852
1377
|
}>>, ({
|
|
853
1378
|
modules: {
|
|
854
|
-
type: "ESModule" | "CommonJS" | "
|
|
1379
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
855
1380
|
path: string;
|
|
856
|
-
contents?: string | Uint8Array | undefined;
|
|
1381
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
857
1382
|
}[];
|
|
858
1383
|
modulesRoot?: string | undefined;
|
|
859
1384
|
} & {
|
|
@@ -861,14 +1386,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
861
1386
|
rootPath?: undefined;
|
|
862
1387
|
compatibilityDate?: string | undefined;
|
|
863
1388
|
compatibilityFlags?: string[] | undefined;
|
|
1389
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
864
1390
|
routes?: string[] | undefined;
|
|
865
1391
|
bindings?: Record<string, Json> | undefined;
|
|
866
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1392
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
867
1393
|
textBlobBindings?: Record<string, string> | undefined;
|
|
868
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1394
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
869
1395
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
870
1396
|
name: string | typeof kCurrentWorker;
|
|
871
1397
|
entrypoint?: string | undefined;
|
|
1398
|
+
props?: Record<string, unknown> | undefined;
|
|
872
1399
|
} | {
|
|
873
1400
|
network: {
|
|
874
1401
|
allow?: string[] | undefined;
|
|
@@ -881,18 +1408,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
881
1408
|
requireClientCerts?: boolean | undefined;
|
|
882
1409
|
trustBrowserCas?: boolean | undefined;
|
|
883
1410
|
trustedCertificates?: string[] | undefined;
|
|
884
|
-
minVersion?:
|
|
1411
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
885
1412
|
cipherList?: string | undefined;
|
|
886
1413
|
} | undefined;
|
|
887
1414
|
};
|
|
888
1415
|
} | {
|
|
889
|
-
external:
|
|
1416
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
890
1417
|
} | {
|
|
891
1418
|
disk: {
|
|
892
1419
|
path: string;
|
|
893
1420
|
writable?: boolean | undefined;
|
|
894
1421
|
};
|
|
895
|
-
} | ((request:
|
|
1422
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
896
1423
|
wrappedBindings?: Record<string, string | {
|
|
897
1424
|
scriptName: string;
|
|
898
1425
|
entrypoint?: string | undefined;
|
|
@@ -901,6 +1428,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
901
1428
|
outboundService?: string | typeof kCurrentWorker | {
|
|
902
1429
|
name: string | typeof kCurrentWorker;
|
|
903
1430
|
entrypoint?: string | undefined;
|
|
1431
|
+
props?: Record<string, unknown> | undefined;
|
|
904
1432
|
} | {
|
|
905
1433
|
network: {
|
|
906
1434
|
allow?: string[] | undefined;
|
|
@@ -913,18 +1441,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
913
1441
|
requireClientCerts?: boolean | undefined;
|
|
914
1442
|
trustBrowserCas?: boolean | undefined;
|
|
915
1443
|
trustedCertificates?: string[] | undefined;
|
|
916
|
-
minVersion?:
|
|
1444
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
917
1445
|
cipherList?: string | undefined;
|
|
918
1446
|
} | undefined;
|
|
919
1447
|
};
|
|
920
1448
|
} | {
|
|
921
|
-
external:
|
|
1449
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
922
1450
|
} | {
|
|
923
1451
|
disk: {
|
|
924
1452
|
path: string;
|
|
925
1453
|
writable?: boolean | undefined;
|
|
926
1454
|
};
|
|
927
|
-
} | ((request:
|
|
1455
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
928
1456
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
929
1457
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
930
1458
|
unsafeDirectSockets?: {
|
|
@@ -936,12 +1464,40 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
936
1464
|
unsafeEvalBinding?: string | undefined;
|
|
937
1465
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
938
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;
|
|
939
1495
|
}) | ({
|
|
940
1496
|
script: string;
|
|
941
1497
|
scriptPath?: string | undefined;
|
|
942
1498
|
modules?: boolean | undefined;
|
|
943
1499
|
modulesRules?: {
|
|
944
|
-
type: "ESModule" | "CommonJS" | "
|
|
1500
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
945
1501
|
include: string[];
|
|
946
1502
|
fallthrough?: boolean | undefined;
|
|
947
1503
|
}[] | undefined;
|
|
@@ -951,14 +1507,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
951
1507
|
rootPath?: undefined;
|
|
952
1508
|
compatibilityDate?: string | undefined;
|
|
953
1509
|
compatibilityFlags?: string[] | undefined;
|
|
1510
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
954
1511
|
routes?: string[] | undefined;
|
|
955
1512
|
bindings?: Record<string, Json> | undefined;
|
|
956
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1513
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
957
1514
|
textBlobBindings?: Record<string, string> | undefined;
|
|
958
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1515
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
959
1516
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
960
1517
|
name: string | typeof kCurrentWorker;
|
|
961
1518
|
entrypoint?: string | undefined;
|
|
1519
|
+
props?: Record<string, unknown> | undefined;
|
|
962
1520
|
} | {
|
|
963
1521
|
network: {
|
|
964
1522
|
allow?: string[] | undefined;
|
|
@@ -971,18 +1529,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
971
1529
|
requireClientCerts?: boolean | undefined;
|
|
972
1530
|
trustBrowserCas?: boolean | undefined;
|
|
973
1531
|
trustedCertificates?: string[] | undefined;
|
|
974
|
-
minVersion?:
|
|
1532
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
975
1533
|
cipherList?: string | undefined;
|
|
976
1534
|
} | undefined;
|
|
977
1535
|
};
|
|
978
1536
|
} | {
|
|
979
|
-
external:
|
|
1537
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
980
1538
|
} | {
|
|
981
1539
|
disk: {
|
|
982
1540
|
path: string;
|
|
983
1541
|
writable?: boolean | undefined;
|
|
984
1542
|
};
|
|
985
|
-
} | ((request:
|
|
1543
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
986
1544
|
wrappedBindings?: Record<string, string | {
|
|
987
1545
|
scriptName: string;
|
|
988
1546
|
entrypoint?: string | undefined;
|
|
@@ -991,6 +1549,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
991
1549
|
outboundService?: string | typeof kCurrentWorker | {
|
|
992
1550
|
name: string | typeof kCurrentWorker;
|
|
993
1551
|
entrypoint?: string | undefined;
|
|
1552
|
+
props?: Record<string, unknown> | undefined;
|
|
994
1553
|
} | {
|
|
995
1554
|
network: {
|
|
996
1555
|
allow?: string[] | undefined;
|
|
@@ -1003,18 +1562,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1003
1562
|
requireClientCerts?: boolean | undefined;
|
|
1004
1563
|
trustBrowserCas?: boolean | undefined;
|
|
1005
1564
|
trustedCertificates?: string[] | undefined;
|
|
1006
|
-
minVersion?:
|
|
1565
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1007
1566
|
cipherList?: string | undefined;
|
|
1008
1567
|
} | undefined;
|
|
1009
1568
|
};
|
|
1010
1569
|
} | {
|
|
1011
|
-
external:
|
|
1570
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1012
1571
|
} | {
|
|
1013
1572
|
disk: {
|
|
1014
1573
|
path: string;
|
|
1015
1574
|
writable?: boolean | undefined;
|
|
1016
1575
|
};
|
|
1017
|
-
} | ((request:
|
|
1576
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1018
1577
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1019
1578
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1020
1579
|
unsafeDirectSockets?: {
|
|
@@ -1026,11 +1585,39 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1026
1585
|
unsafeEvalBinding?: string | undefined;
|
|
1027
1586
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1028
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;
|
|
1029
1616
|
}) | ({
|
|
1030
1617
|
scriptPath: string;
|
|
1031
1618
|
modules?: boolean | undefined;
|
|
1032
1619
|
modulesRules?: {
|
|
1033
|
-
type: "ESModule" | "CommonJS" | "
|
|
1620
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1034
1621
|
include: string[];
|
|
1035
1622
|
fallthrough?: boolean | undefined;
|
|
1036
1623
|
}[] | undefined;
|
|
@@ -1040,14 +1627,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1040
1627
|
rootPath?: undefined;
|
|
1041
1628
|
compatibilityDate?: string | undefined;
|
|
1042
1629
|
compatibilityFlags?: string[] | undefined;
|
|
1630
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1043
1631
|
routes?: string[] | undefined;
|
|
1044
1632
|
bindings?: Record<string, Json> | undefined;
|
|
1045
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1633
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1046
1634
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1047
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1635
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1048
1636
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1049
1637
|
name: string | typeof kCurrentWorker;
|
|
1050
1638
|
entrypoint?: string | undefined;
|
|
1639
|
+
props?: Record<string, unknown> | undefined;
|
|
1051
1640
|
} | {
|
|
1052
1641
|
network: {
|
|
1053
1642
|
allow?: string[] | undefined;
|
|
@@ -1060,18 +1649,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1060
1649
|
requireClientCerts?: boolean | undefined;
|
|
1061
1650
|
trustBrowserCas?: boolean | undefined;
|
|
1062
1651
|
trustedCertificates?: string[] | undefined;
|
|
1063
|
-
minVersion?:
|
|
1652
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1064
1653
|
cipherList?: string | undefined;
|
|
1065
1654
|
} | undefined;
|
|
1066
1655
|
};
|
|
1067
1656
|
} | {
|
|
1068
|
-
external:
|
|
1657
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1069
1658
|
} | {
|
|
1070
1659
|
disk: {
|
|
1071
1660
|
path: string;
|
|
1072
1661
|
writable?: boolean | undefined;
|
|
1073
1662
|
};
|
|
1074
|
-
} | ((request:
|
|
1663
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1075
1664
|
wrappedBindings?: Record<string, string | {
|
|
1076
1665
|
scriptName: string;
|
|
1077
1666
|
entrypoint?: string | undefined;
|
|
@@ -1080,6 +1669,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1080
1669
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1081
1670
|
name: string | typeof kCurrentWorker;
|
|
1082
1671
|
entrypoint?: string | undefined;
|
|
1672
|
+
props?: Record<string, unknown> | undefined;
|
|
1083
1673
|
} | {
|
|
1084
1674
|
network: {
|
|
1085
1675
|
allow?: string[] | undefined;
|
|
@@ -1092,18 +1682,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1092
1682
|
requireClientCerts?: boolean | undefined;
|
|
1093
1683
|
trustBrowserCas?: boolean | undefined;
|
|
1094
1684
|
trustedCertificates?: string[] | undefined;
|
|
1095
|
-
minVersion?:
|
|
1685
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1096
1686
|
cipherList?: string | undefined;
|
|
1097
1687
|
} | undefined;
|
|
1098
1688
|
};
|
|
1099
1689
|
} | {
|
|
1100
|
-
external:
|
|
1690
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1101
1691
|
} | {
|
|
1102
1692
|
disk: {
|
|
1103
1693
|
path: string;
|
|
1104
1694
|
writable?: boolean | undefined;
|
|
1105
1695
|
};
|
|
1106
|
-
} | ((request:
|
|
1696
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1107
1697
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1108
1698
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1109
1699
|
unsafeDirectSockets?: {
|
|
@@ -1115,11 +1705,39 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1115
1705
|
unsafeEvalBinding?: string | undefined;
|
|
1116
1706
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1117
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;
|
|
1118
1736
|
}), ({
|
|
1119
1737
|
modules: {
|
|
1120
|
-
type: "ESModule" | "CommonJS" | "
|
|
1738
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1121
1739
|
path: string;
|
|
1122
|
-
contents?: string | Uint8Array | undefined;
|
|
1740
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1123
1741
|
}[];
|
|
1124
1742
|
modulesRoot?: string | undefined;
|
|
1125
1743
|
} | {
|
|
@@ -1127,7 +1745,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1127
1745
|
scriptPath?: string | undefined;
|
|
1128
1746
|
modules?: boolean | undefined;
|
|
1129
1747
|
modulesRules?: {
|
|
1130
|
-
type: "ESModule" | "CommonJS" | "
|
|
1748
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1131
1749
|
include: string[];
|
|
1132
1750
|
fallthrough?: boolean | undefined;
|
|
1133
1751
|
}[] | undefined;
|
|
@@ -1136,7 +1754,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1136
1754
|
scriptPath: string;
|
|
1137
1755
|
modules?: boolean | undefined;
|
|
1138
1756
|
modulesRules?: {
|
|
1139
|
-
type: "ESModule" | "CommonJS" | "
|
|
1757
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1140
1758
|
include: string[];
|
|
1141
1759
|
fallthrough?: boolean | undefined;
|
|
1142
1760
|
}[] | undefined;
|
|
@@ -1146,14 +1764,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1146
1764
|
rootPath?: string | undefined;
|
|
1147
1765
|
compatibilityDate?: string | undefined;
|
|
1148
1766
|
compatibilityFlags?: string[] | undefined;
|
|
1767
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1149
1768
|
routes?: string[] | undefined;
|
|
1150
1769
|
bindings?: Record<string, Json> | undefined;
|
|
1151
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1770
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1152
1771
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1153
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1772
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1154
1773
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1155
1774
|
name: string | typeof kCurrentWorker;
|
|
1156
1775
|
entrypoint?: string | undefined;
|
|
1776
|
+
props?: Record<string, unknown> | undefined;
|
|
1157
1777
|
} | {
|
|
1158
1778
|
network: {
|
|
1159
1779
|
allow?: string[] | undefined;
|
|
@@ -1166,18 +1786,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1166
1786
|
requireClientCerts?: boolean | undefined;
|
|
1167
1787
|
trustBrowserCas?: boolean | undefined;
|
|
1168
1788
|
trustedCertificates?: string[] | undefined;
|
|
1169
|
-
minVersion?:
|
|
1789
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1170
1790
|
cipherList?: string | undefined;
|
|
1171
1791
|
} | undefined;
|
|
1172
1792
|
};
|
|
1173
1793
|
} | {
|
|
1174
|
-
external:
|
|
1794
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1175
1795
|
} | {
|
|
1176
1796
|
disk: {
|
|
1177
1797
|
path: string;
|
|
1178
1798
|
writable?: boolean | undefined;
|
|
1179
1799
|
};
|
|
1180
|
-
} | ((request:
|
|
1800
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1181
1801
|
wrappedBindings?: Record<string, string | {
|
|
1182
1802
|
scriptName: string;
|
|
1183
1803
|
entrypoint?: string | undefined;
|
|
@@ -1186,6 +1806,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1186
1806
|
outboundService?: string | typeof kCurrentWorker | {
|
|
1187
1807
|
name: string | typeof kCurrentWorker;
|
|
1188
1808
|
entrypoint?: string | undefined;
|
|
1809
|
+
props?: Record<string, unknown> | undefined;
|
|
1189
1810
|
} | {
|
|
1190
1811
|
network: {
|
|
1191
1812
|
allow?: string[] | undefined;
|
|
@@ -1198,18 +1819,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1198
1819
|
requireClientCerts?: boolean | undefined;
|
|
1199
1820
|
trustBrowserCas?: boolean | undefined;
|
|
1200
1821
|
trustedCertificates?: string[] | undefined;
|
|
1201
|
-
minVersion?:
|
|
1822
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1202
1823
|
cipherList?: string | undefined;
|
|
1203
1824
|
} | undefined;
|
|
1204
1825
|
};
|
|
1205
1826
|
} | {
|
|
1206
|
-
external:
|
|
1827
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1207
1828
|
} | {
|
|
1208
1829
|
disk: {
|
|
1209
1830
|
path: string;
|
|
1210
1831
|
writable?: boolean | undefined;
|
|
1211
1832
|
};
|
|
1212
|
-
} | ((request:
|
|
1833
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1213
1834
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1214
1835
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1215
1836
|
unsafeDirectSockets?: {
|
|
@@ -1221,6 +1842,34 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1221
1842
|
unsafeEvalBinding?: string | undefined;
|
|
1222
1843
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
1223
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;
|
|
1224
1873
|
}>;
|
|
1225
1874
|
|
|
1226
1875
|
export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
@@ -1240,9 +1889,12 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1240
1889
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
1241
1890
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1891
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
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>>>;
|
|
1244
1893
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1894
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1245
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
logRequests: boolean;
|
|
1246
1898
|
rootPath?: undefined;
|
|
1247
1899
|
host?: string | undefined;
|
|
1248
1900
|
port?: number | undefined;
|
|
@@ -1259,8 +1911,9 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1259
1911
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1260
1912
|
liveReload?: boolean | undefined;
|
|
1261
1913
|
unsafeProxySharedSecret?: string | undefined;
|
|
1262
|
-
unsafeModuleFallbackService?: ((request:
|
|
1914
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1263
1915
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1916
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1264
1917
|
}, {
|
|
1265
1918
|
rootPath?: string | undefined;
|
|
1266
1919
|
host?: string | undefined;
|
|
@@ -1278,8 +1931,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1278
1931
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1279
1932
|
liveReload?: boolean | undefined;
|
|
1280
1933
|
unsafeProxySharedSecret?: string | undefined;
|
|
1281
|
-
unsafeModuleFallbackService?: ((request:
|
|
1934
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1282
1935
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1936
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
1937
|
+
logRequests?: boolean | undefined;
|
|
1283
1938
|
}>;
|
|
1284
1939
|
|
|
1285
1940
|
export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
|
|
@@ -1331,6 +1986,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
|
|
|
1331
1986
|
export declare interface DiskDirectory {
|
|
1332
1987
|
path?: string;
|
|
1333
1988
|
writable?: boolean;
|
|
1989
|
+
allowDotfiles?: boolean;
|
|
1334
1990
|
}
|
|
1335
1991
|
|
|
1336
1992
|
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
@@ -1427,12 +2083,88 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1427
2083
|
durableObjectsPersist?: string | boolean | undefined;
|
|
1428
2084
|
}>;
|
|
1429
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
|
+
|
|
1430
2164
|
/* Excluded from this release type: _enableControlEndpoints */
|
|
1431
2165
|
|
|
1432
2166
|
export declare function encodeSitesKey(key: string): string;
|
|
1433
2167
|
|
|
1434
|
-
export declare const ENTRY_SOCKET_HTTP_OPTIONS: HttpOptions;
|
|
1435
|
-
|
|
1436
2168
|
export declare class ErrorEvent extends Event {
|
|
1437
2169
|
readonly error: Error | null;
|
|
1438
2170
|
constructor(type: "error", init?: {
|
|
@@ -1474,7 +2206,7 @@ export declare interface ExternalServer_Tcp {
|
|
|
1474
2206
|
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
1475
2207
|
export { fetch_2 as fetch }
|
|
1476
2208
|
|
|
1477
|
-
export { File }
|
|
2209
|
+
export { File_2 as File }
|
|
1478
2210
|
|
|
1479
2211
|
export declare function _forceColour(enabled?: boolean): void;
|
|
1480
2212
|
|
|
@@ -1514,13 +2246,10 @@ export declare function getMiniflareObjectBindings(unsafeStickyBlobs: boolean):
|
|
|
1514
2246
|
*
|
|
1515
2247
|
* @param compatibilityDateStr The compatibility date
|
|
1516
2248
|
* @param compatibilityFlags The compatibility flags
|
|
1517
|
-
* @param opts.nodeCompat Whether the legacy node_compat arg is being used
|
|
1518
2249
|
* @returns the mode and flags to indicate specific configuration for validating.
|
|
1519
2250
|
*/
|
|
1520
2251
|
export declare function getNodeCompat(compatibilityDate: string | undefined, // Default to some arbitrary old date
|
|
1521
|
-
compatibilityFlags: string[]
|
|
1522
|
-
nodeCompat?: boolean;
|
|
1523
|
-
}): {
|
|
2252
|
+
compatibilityFlags: string[]): {
|
|
1524
2253
|
mode: NodeJSCompatMode;
|
|
1525
2254
|
hasNodejsAlsFlag: boolean;
|
|
1526
2255
|
hasNodejsCompatFlag: boolean;
|
|
@@ -1564,10 +2293,12 @@ export declare interface HttpOptions_Header {
|
|
|
1564
2293
|
value?: string;
|
|
1565
2294
|
}
|
|
1566
2295
|
|
|
1567
|
-
export declare
|
|
1568
|
-
HOST
|
|
1569
|
-
PROXY
|
|
1570
|
-
}
|
|
2296
|
+
export declare const HttpOptions_Style: {
|
|
2297
|
+
readonly HOST: 0;
|
|
2298
|
+
readonly PROXY: 1;
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2301
|
+
export declare type HttpOptions_Style = (typeof HttpOptions_Style)[keyof typeof HttpOptions_Style];
|
|
1571
2302
|
|
|
1572
2303
|
export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
|
|
1573
2304
|
|
|
@@ -1653,6 +2384,7 @@ export declare const KVLimits: {
|
|
|
1653
2384
|
readonly MAX_VALUE_SIZE: number;
|
|
1654
2385
|
readonly MAX_VALUE_SIZE_TEST: 1024;
|
|
1655
2386
|
readonly MAX_METADATA_SIZE: 1024;
|
|
2387
|
+
readonly MAX_BULK_SIZE: number;
|
|
1656
2388
|
};
|
|
1657
2389
|
|
|
1658
2390
|
export declare const kVoid: unique symbol;
|
|
@@ -1739,6 +2471,8 @@ export declare interface MatcherRegExps {
|
|
|
1739
2471
|
|
|
1740
2472
|
export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
|
|
1741
2473
|
|
|
2474
|
+
export declare const MAX_BULK_GET_KEYS = 100;
|
|
2475
|
+
|
|
1742
2476
|
export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
|
|
1743
2477
|
|
|
1744
2478
|
export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
@@ -1751,9 +2485,9 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
|
1751
2485
|
export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
|
|
1752
2486
|
|
|
1753
2487
|
declare class MessageEvent_2 extends Event {
|
|
1754
|
-
readonly data: ArrayBuffer |
|
|
2488
|
+
readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1755
2489
|
constructor(type: "message", init: {
|
|
1756
|
-
data: ArrayBuffer |
|
|
2490
|
+
data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1757
2491
|
});
|
|
1758
2492
|
}
|
|
1759
2493
|
export { MessageEvent_2 as MessageEvent }
|
|
@@ -1776,6 +2510,17 @@ export declare class Miniflare {
|
|
|
1776
2510
|
getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
|
|
1777
2511
|
getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
|
|
1778
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>>;
|
|
1779
2524
|
getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
|
|
1780
2525
|
getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
|
|
1781
2526
|
/* Excluded from this release type: _getInternalDurableObjectNamespace */
|
|
@@ -1786,7 +2531,7 @@ export declare class Miniflare {
|
|
|
1786
2531
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
1787
2532
|
}
|
|
1788
2533
|
|
|
1789
|
-
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";
|
|
1790
2535
|
|
|
1791
2536
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
1792
2537
|
readonly code: Code;
|
|
@@ -1801,38 +2546,38 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
|
|
|
1801
2546
|
export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
1802
2547
|
|
|
1803
2548
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
1804
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2549
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1805
2550
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1806
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
2551
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
1807
2552
|
}, "strip", z.ZodTypeAny, {
|
|
1808
|
-
type: "ESModule" | "CommonJS" | "
|
|
2553
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1809
2554
|
path: string;
|
|
1810
|
-
contents?: string | Uint8Array | undefined;
|
|
2555
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1811
2556
|
}, {
|
|
1812
|
-
type: "ESModule" | "CommonJS" | "
|
|
2557
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1813
2558
|
path: string;
|
|
1814
|
-
contents?: string | Uint8Array | undefined;
|
|
2559
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1815
2560
|
}>;
|
|
1816
2561
|
|
|
1817
2562
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
1818
2563
|
|
|
1819
2564
|
export declare const ModuleRuleSchema: z.ZodObject<{
|
|
1820
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2565
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1821
2566
|
include: z.ZodArray<z.ZodString, "many">;
|
|
1822
2567
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
1823
2568
|
}, "strip", z.ZodTypeAny, {
|
|
1824
|
-
type: "ESModule" | "CommonJS" | "
|
|
2569
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1825
2570
|
include: string[];
|
|
1826
2571
|
fallthrough?: boolean | undefined;
|
|
1827
2572
|
}, {
|
|
1828
|
-
type: "ESModule" | "CommonJS" | "
|
|
2573
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1829
2574
|
include: string[];
|
|
1830
2575
|
fallthrough?: boolean | undefined;
|
|
1831
2576
|
}>;
|
|
1832
2577
|
|
|
1833
2578
|
export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
|
|
1834
2579
|
|
|
1835
|
-
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2580
|
+
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1836
2581
|
|
|
1837
2582
|
export declare class Mutex {
|
|
1838
2583
|
private locked;
|
|
@@ -1859,14 +2604,13 @@ export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
|
|
|
1859
2604
|
|
|
1860
2605
|
/**
|
|
1861
2606
|
* We can provide Node.js compatibility in a number of different modes:
|
|
1862
|
-
* - "legacy" - this mode adds compile-time polyfills that are not well maintained and cannot work with workerd runtime builtins.
|
|
1863
2607
|
* - "als": this mode tells the workerd runtime to enable only the Async Local Storage builtin library (accessible via `node:async_hooks`).
|
|
1864
2608
|
* - "v1" - this mode tells the workerd runtime to enable some Node.js builtin libraries (accessible only via `node:...` imports) but no globals.
|
|
1865
2609
|
* - "v2" - this mode tells the workerd runtime to enable more Node.js builtin libraries (accessible both with and without the `node:` prefix)
|
|
1866
2610
|
* and also some Node.js globals such as `Buffer`; it also turns on additional compile-time polyfills for those that are not provided by the runtime.
|
|
1867
2611
|
* - null - no Node.js compatibility.
|
|
1868
2612
|
*/
|
|
1869
|
-
export declare type NodeJSCompatMode = "
|
|
2613
|
+
export declare type NodeJSCompatMode = "als" | "v1" | "v2" | null;
|
|
1870
2614
|
|
|
1871
2615
|
export declare class NoOpLog extends Log {
|
|
1872
2616
|
constructor();
|
|
@@ -1888,7 +2632,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
|
|
|
1888
2632
|
|
|
1889
2633
|
export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
|
|
1890
2634
|
|
|
1891
|
-
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>;
|
|
1892
2711
|
|
|
1893
2712
|
export declare type OverloadUnion2<T> = T extends {
|
|
1894
2713
|
(...args: infer P1): infer R1;
|
|
@@ -1984,12 +2803,24 @@ export declare type Persistence = z.infer<typeof PersistenceSchema>;
|
|
|
1984
2803
|
|
|
1985
2804
|
export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
1986
2805
|
|
|
2806
|
+
export declare const PIPELINE_PLUGIN: Plugin<typeof PipelineOptionsSchema>;
|
|
2807
|
+
|
|
2808
|
+
export declare const PipelineOptionsSchema: z.ZodObject<{
|
|
2809
|
+
pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
2810
|
+
}, "strip", z.ZodTypeAny, {
|
|
2811
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
2812
|
+
}, {
|
|
2813
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
2814
|
+
}>;
|
|
2815
|
+
|
|
2816
|
+
export declare const PIPELINES_PLUGIN_NAME = "pipelines";
|
|
2817
|
+
|
|
1987
2818
|
export declare interface PlatformImpl<RS> {
|
|
1988
2819
|
Blob: typeof Blob_2;
|
|
1989
|
-
File: typeof
|
|
2820
|
+
File: typeof File_3;
|
|
1990
2821
|
Headers: typeof Headers_3;
|
|
1991
|
-
Request: typeof
|
|
1992
|
-
Response: typeof
|
|
2822
|
+
Request: typeof Request_5;
|
|
2823
|
+
Response: typeof Response_5;
|
|
1993
2824
|
isReadableStream(value: unknown): value is RS;
|
|
1994
2825
|
bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
|
|
1995
2826
|
unbufferReadableStream(buffer: ArrayBuffer): RS;
|
|
@@ -2012,33 +2843,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2012
2843
|
}
|
|
2013
2844
|
|
|
2014
2845
|
export declare const PLUGINS: {
|
|
2015
|
-
core:
|
|
2846
|
+
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2016
2847
|
modules: z.ZodArray<z.ZodObject<{
|
|
2017
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2848
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2018
2849
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2019
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
2850
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2020
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2021
|
-
type: "ESModule" | "CommonJS" | "
|
|
2852
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2022
2853
|
path: string;
|
|
2023
|
-
contents?: string | Uint8Array | undefined;
|
|
2854
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2024
2855
|
}, {
|
|
2025
|
-
type: "ESModule" | "CommonJS" | "
|
|
2856
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2026
2857
|
path: string;
|
|
2027
|
-
contents?: string | Uint8Array | undefined;
|
|
2858
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2028
2859
|
}>, "many">;
|
|
2029
2860
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2030
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2031
2862
|
modules: {
|
|
2032
|
-
type: "ESModule" | "CommonJS" | "
|
|
2863
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2033
2864
|
path: string;
|
|
2034
|
-
contents?: string | Uint8Array | undefined;
|
|
2865
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2035
2866
|
}[];
|
|
2036
2867
|
modulesRoot?: string | undefined;
|
|
2037
2868
|
}, {
|
|
2038
2869
|
modules: {
|
|
2039
|
-
type: "ESModule" | "CommonJS" | "
|
|
2870
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2040
2871
|
path: string;
|
|
2041
|
-
contents?: string | Uint8Array | undefined;
|
|
2872
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2042
2873
|
}[];
|
|
2043
2874
|
modulesRoot?: string | undefined;
|
|
2044
2875
|
}>, z.ZodObject<{
|
|
@@ -2046,15 +2877,15 @@ export declare const PLUGINS: {
|
|
|
2046
2877
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2047
2878
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2048
2879
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2049
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2880
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2050
2881
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2051
2882
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2052
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2053
|
-
type: "ESModule" | "CommonJS" | "
|
|
2884
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2054
2885
|
include: string[];
|
|
2055
2886
|
fallthrough?: boolean | undefined;
|
|
2056
2887
|
}, {
|
|
2057
|
-
type: "ESModule" | "CommonJS" | "
|
|
2888
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2058
2889
|
include: string[];
|
|
2059
2890
|
fallthrough?: boolean | undefined;
|
|
2060
2891
|
}>, "many">>;
|
|
@@ -2064,7 +2895,7 @@ export declare const PLUGINS: {
|
|
|
2064
2895
|
scriptPath?: string | undefined;
|
|
2065
2896
|
modules?: boolean | undefined;
|
|
2066
2897
|
modulesRules?: {
|
|
2067
|
-
type: "ESModule" | "CommonJS" | "
|
|
2898
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2068
2899
|
include: string[];
|
|
2069
2900
|
fallthrough?: boolean | undefined;
|
|
2070
2901
|
}[] | undefined;
|
|
@@ -2074,7 +2905,7 @@ export declare const PLUGINS: {
|
|
|
2074
2905
|
scriptPath?: string | undefined;
|
|
2075
2906
|
modules?: boolean | undefined;
|
|
2076
2907
|
modulesRules?: {
|
|
2077
|
-
type: "ESModule" | "CommonJS" | "
|
|
2908
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2078
2909
|
include: string[];
|
|
2079
2910
|
fallthrough?: boolean | undefined;
|
|
2080
2911
|
}[] | undefined;
|
|
@@ -2083,15 +2914,15 @@ export declare const PLUGINS: {
|
|
|
2083
2914
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
2084
2915
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2085
2916
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2086
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2917
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2087
2918
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2088
2919
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2089
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2090
|
-
type: "ESModule" | "CommonJS" | "
|
|
2921
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2091
2922
|
include: string[];
|
|
2092
2923
|
fallthrough?: boolean | undefined;
|
|
2093
2924
|
}, {
|
|
2094
|
-
type: "ESModule" | "CommonJS" | "
|
|
2925
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2095
2926
|
include: string[];
|
|
2096
2927
|
fallthrough?: boolean | undefined;
|
|
2097
2928
|
}>, "many">>;
|
|
@@ -2100,7 +2931,7 @@ export declare const PLUGINS: {
|
|
|
2100
2931
|
scriptPath: string;
|
|
2101
2932
|
modules?: boolean | undefined;
|
|
2102
2933
|
modulesRules?: {
|
|
2103
|
-
type: "ESModule" | "CommonJS" | "
|
|
2934
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2104
2935
|
include: string[];
|
|
2105
2936
|
fallthrough?: boolean | undefined;
|
|
2106
2937
|
}[] | undefined;
|
|
@@ -2109,7 +2940,7 @@ export declare const PLUGINS: {
|
|
|
2109
2940
|
scriptPath: string;
|
|
2110
2941
|
modules?: boolean | undefined;
|
|
2111
2942
|
modulesRules?: {
|
|
2112
|
-
type: "ESModule" | "CommonJS" | "
|
|
2943
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2113
2944
|
include: string[];
|
|
2114
2945
|
fallthrough?: boolean | undefined;
|
|
2115
2946
|
}[] | undefined;
|
|
@@ -2119,20 +2950,24 @@ export declare const PLUGINS: {
|
|
|
2119
2950
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2120
2951
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2121
2952
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2953
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2122
2954
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2123
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
2124
|
-
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
2955
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2956
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2125
2957
|
textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
2126
|
-
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
2127
|
-
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2128
|
-
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2958
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2959
|
+
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2960
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2129
2961
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2130
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2131
|
-
name: string |
|
|
2964
|
+
name: string | kCurrentWorker_2;
|
|
2132
2965
|
entrypoint?: string | undefined;
|
|
2966
|
+
props?: Record<string, unknown> | undefined;
|
|
2133
2967
|
}, {
|
|
2134
|
-
name: string |
|
|
2968
|
+
name: string | kCurrentWorker_2;
|
|
2135
2969
|
entrypoint?: string | undefined;
|
|
2970
|
+
props?: Record<string, unknown> | undefined;
|
|
2136
2971
|
}>, z.ZodObject<{
|
|
2137
2972
|
network: z.ZodObject<{
|
|
2138
2973
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2151,7 +2986,14 @@ export declare const PLUGINS: {
|
|
|
2151
2986
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2152
2987
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2153
2988
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2154
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
2989
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
2990
|
+
readonly GOOD_DEFAULT: 0;
|
|
2991
|
+
readonly SSL3: 1;
|
|
2992
|
+
readonly TLS1DOT0: 2;
|
|
2993
|
+
readonly TLS1DOT1: 3;
|
|
2994
|
+
readonly TLS1DOT2: 4;
|
|
2995
|
+
readonly TLS1DOT3: 5;
|
|
2996
|
+
}>>;
|
|
2155
2997
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2156
2998
|
}, "strip", z.ZodTypeAny, {
|
|
2157
2999
|
keypair?: {
|
|
@@ -2161,7 +3003,7 @@ export declare const PLUGINS: {
|
|
|
2161
3003
|
requireClientCerts?: boolean | undefined;
|
|
2162
3004
|
trustBrowserCas?: boolean | undefined;
|
|
2163
3005
|
trustedCertificates?: string[] | undefined;
|
|
2164
|
-
minVersion?:
|
|
3006
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2165
3007
|
cipherList?: string | undefined;
|
|
2166
3008
|
}, {
|
|
2167
3009
|
keypair?: {
|
|
@@ -2171,7 +3013,7 @@ export declare const PLUGINS: {
|
|
|
2171
3013
|
requireClientCerts?: boolean | undefined;
|
|
2172
3014
|
trustBrowserCas?: boolean | undefined;
|
|
2173
3015
|
trustedCertificates?: string[] | undefined;
|
|
2174
|
-
minVersion?:
|
|
3016
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2175
3017
|
cipherList?: string | undefined;
|
|
2176
3018
|
}>>;
|
|
2177
3019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2185,7 +3027,7 @@ export declare const PLUGINS: {
|
|
|
2185
3027
|
requireClientCerts?: boolean | undefined;
|
|
2186
3028
|
trustBrowserCas?: boolean | undefined;
|
|
2187
3029
|
trustedCertificates?: string[] | undefined;
|
|
2188
|
-
minVersion?:
|
|
3030
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2189
3031
|
cipherList?: string | undefined;
|
|
2190
3032
|
} | undefined;
|
|
2191
3033
|
}, {
|
|
@@ -2199,7 +3041,7 @@ export declare const PLUGINS: {
|
|
|
2199
3041
|
requireClientCerts?: boolean | undefined;
|
|
2200
3042
|
trustBrowserCas?: boolean | undefined;
|
|
2201
3043
|
trustedCertificates?: string[] | undefined;
|
|
2202
|
-
minVersion?:
|
|
3044
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2203
3045
|
cipherList?: string | undefined;
|
|
2204
3046
|
} | undefined;
|
|
2205
3047
|
}>;
|
|
@@ -2215,7 +3057,7 @@ export declare const PLUGINS: {
|
|
|
2215
3057
|
requireClientCerts?: boolean | undefined;
|
|
2216
3058
|
trustBrowserCas?: boolean | undefined;
|
|
2217
3059
|
trustedCertificates?: string[] | undefined;
|
|
2218
|
-
minVersion?:
|
|
3060
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2219
3061
|
cipherList?: string | undefined;
|
|
2220
3062
|
} | undefined;
|
|
2221
3063
|
};
|
|
@@ -2231,16 +3073,16 @@ export declare const PLUGINS: {
|
|
|
2231
3073
|
requireClientCerts?: boolean | undefined;
|
|
2232
3074
|
trustBrowserCas?: boolean | undefined;
|
|
2233
3075
|
trustedCertificates?: string[] | undefined;
|
|
2234
|
-
minVersion?:
|
|
3076
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2235
3077
|
cipherList?: string | undefined;
|
|
2236
3078
|
} | undefined;
|
|
2237
3079
|
};
|
|
2238
3080
|
}>, z.ZodObject<{
|
|
2239
|
-
external: z.ZodType<
|
|
3081
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2240
3082
|
}, "strip", z.ZodTypeAny, {
|
|
2241
|
-
external:
|
|
3083
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2242
3084
|
}, {
|
|
2243
|
-
external:
|
|
3085
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2244
3086
|
}>, z.ZodObject<{
|
|
2245
3087
|
disk: z.ZodObject<{
|
|
2246
3088
|
path: z.ZodString;
|
|
@@ -2262,29 +3104,32 @@ export declare const PLUGINS: {
|
|
|
2262
3104
|
path: string;
|
|
2263
3105
|
writable?: boolean | undefined;
|
|
2264
3106
|
};
|
|
2265
|
-
}>, z.ZodType<(request:
|
|
3107
|
+
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>>;
|
|
2266
3108
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2267
3109
|
scriptName: z.ZodString;
|
|
2268
3110
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2269
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
3111
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2270
3112
|
}, "strip", z.ZodTypeAny, {
|
|
2271
3113
|
scriptName: string;
|
|
2272
3114
|
entrypoint?: string | undefined;
|
|
2273
|
-
bindings?: Record<string,
|
|
3115
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2274
3116
|
}, {
|
|
2275
3117
|
scriptName: string;
|
|
2276
3118
|
entrypoint?: string | undefined;
|
|
2277
|
-
bindings?: Record<string,
|
|
3119
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2278
3120
|
}>]>>>;
|
|
2279
|
-
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2280
|
-
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
3121
|
+
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
3122
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2281
3123
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2282
3125
|
}, "strip", z.ZodTypeAny, {
|
|
2283
|
-
name: string |
|
|
3126
|
+
name: string | kCurrentWorker_2;
|
|
2284
3127
|
entrypoint?: string | undefined;
|
|
3128
|
+
props?: Record<string, unknown> | undefined;
|
|
2285
3129
|
}, {
|
|
2286
|
-
name: string |
|
|
3130
|
+
name: string | kCurrentWorker_2;
|
|
2287
3131
|
entrypoint?: string | undefined;
|
|
3132
|
+
props?: Record<string, unknown> | undefined;
|
|
2288
3133
|
}>, z.ZodObject<{
|
|
2289
3134
|
network: z.ZodObject<{
|
|
2290
3135
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2303,7 +3148,14 @@ export declare const PLUGINS: {
|
|
|
2303
3148
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2304
3149
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2305
3150
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2306
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
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
|
+
}>>;
|
|
2307
3159
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2308
3160
|
}, "strip", z.ZodTypeAny, {
|
|
2309
3161
|
keypair?: {
|
|
@@ -2313,7 +3165,7 @@ export declare const PLUGINS: {
|
|
|
2313
3165
|
requireClientCerts?: boolean | undefined;
|
|
2314
3166
|
trustBrowserCas?: boolean | undefined;
|
|
2315
3167
|
trustedCertificates?: string[] | undefined;
|
|
2316
|
-
minVersion?:
|
|
3168
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2317
3169
|
cipherList?: string | undefined;
|
|
2318
3170
|
}, {
|
|
2319
3171
|
keypair?: {
|
|
@@ -2323,7 +3175,7 @@ export declare const PLUGINS: {
|
|
|
2323
3175
|
requireClientCerts?: boolean | undefined;
|
|
2324
3176
|
trustBrowserCas?: boolean | undefined;
|
|
2325
3177
|
trustedCertificates?: string[] | undefined;
|
|
2326
|
-
minVersion?:
|
|
3178
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2327
3179
|
cipherList?: string | undefined;
|
|
2328
3180
|
}>>;
|
|
2329
3181
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2337,7 +3189,7 @@ export declare const PLUGINS: {
|
|
|
2337
3189
|
requireClientCerts?: boolean | undefined;
|
|
2338
3190
|
trustBrowserCas?: boolean | undefined;
|
|
2339
3191
|
trustedCertificates?: string[] | undefined;
|
|
2340
|
-
minVersion?:
|
|
3192
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2341
3193
|
cipherList?: string | undefined;
|
|
2342
3194
|
} | undefined;
|
|
2343
3195
|
}, {
|
|
@@ -2351,7 +3203,7 @@ export declare const PLUGINS: {
|
|
|
2351
3203
|
requireClientCerts?: boolean | undefined;
|
|
2352
3204
|
trustBrowserCas?: boolean | undefined;
|
|
2353
3205
|
trustedCertificates?: string[] | undefined;
|
|
2354
|
-
minVersion?:
|
|
3206
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2355
3207
|
cipherList?: string | undefined;
|
|
2356
3208
|
} | undefined;
|
|
2357
3209
|
}>;
|
|
@@ -2367,7 +3219,7 @@ export declare const PLUGINS: {
|
|
|
2367
3219
|
requireClientCerts?: boolean | undefined;
|
|
2368
3220
|
trustBrowserCas?: boolean | undefined;
|
|
2369
3221
|
trustedCertificates?: string[] | undefined;
|
|
2370
|
-
minVersion?:
|
|
3222
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2371
3223
|
cipherList?: string | undefined;
|
|
2372
3224
|
} | undefined;
|
|
2373
3225
|
};
|
|
@@ -2383,16 +3235,16 @@ export declare const PLUGINS: {
|
|
|
2383
3235
|
requireClientCerts?: boolean | undefined;
|
|
2384
3236
|
trustBrowserCas?: boolean | undefined;
|
|
2385
3237
|
trustedCertificates?: string[] | undefined;
|
|
2386
|
-
minVersion?:
|
|
3238
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2387
3239
|
cipherList?: string | undefined;
|
|
2388
3240
|
} | undefined;
|
|
2389
3241
|
};
|
|
2390
3242
|
}>, z.ZodObject<{
|
|
2391
|
-
external: z.ZodType<
|
|
3243
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2392
3244
|
}, "strip", z.ZodTypeAny, {
|
|
2393
|
-
external:
|
|
3245
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2394
3246
|
}, {
|
|
2395
|
-
external:
|
|
3247
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2396
3248
|
}>, z.ZodObject<{
|
|
2397
3249
|
disk: z.ZodObject<{
|
|
2398
3250
|
path: z.ZodString;
|
|
@@ -2414,7 +3266,7 @@ export declare const PLUGINS: {
|
|
|
2414
3266
|
path: string;
|
|
2415
3267
|
writable?: boolean | undefined;
|
|
2416
3268
|
};
|
|
2417
|
-
}>, z.ZodType<(request:
|
|
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>>]>>;
|
|
2418
3270
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2419
3271
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2420
3272
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2436,19 +3288,170 @@ export declare const PLUGINS: {
|
|
|
2436
3288
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
2437
3289
|
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
2438
3290
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
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">>;
|
|
2439
3440
|
}, "strip", z.ZodTypeAny, {
|
|
2440
3441
|
name?: string | undefined;
|
|
2441
3442
|
rootPath?: undefined;
|
|
2442
3443
|
compatibilityDate?: string | undefined;
|
|
2443
3444
|
compatibilityFlags?: string[] | undefined;
|
|
3445
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2444
3446
|
routes?: string[] | undefined;
|
|
2445
|
-
bindings?: Record<string,
|
|
2446
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3447
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3448
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2447
3449
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2448
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2449
|
-
serviceBindings?: Record<string, string |
|
|
2450
|
-
name: string |
|
|
3450
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3451
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3452
|
+
name: string | kCurrentWorker_2;
|
|
2451
3453
|
entrypoint?: string | undefined;
|
|
3454
|
+
props?: Record<string, unknown> | undefined;
|
|
2452
3455
|
} | {
|
|
2453
3456
|
network: {
|
|
2454
3457
|
allow?: string[] | undefined;
|
|
@@ -2461,26 +3464,27 @@ export declare const PLUGINS: {
|
|
|
2461
3464
|
requireClientCerts?: boolean | undefined;
|
|
2462
3465
|
trustBrowserCas?: boolean | undefined;
|
|
2463
3466
|
trustedCertificates?: string[] | undefined;
|
|
2464
|
-
minVersion?:
|
|
3467
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2465
3468
|
cipherList?: string | undefined;
|
|
2466
3469
|
} | undefined;
|
|
2467
3470
|
};
|
|
2468
3471
|
} | {
|
|
2469
|
-
external:
|
|
3472
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2470
3473
|
} | {
|
|
2471
3474
|
disk: {
|
|
2472
3475
|
path: string;
|
|
2473
3476
|
writable?: boolean | undefined;
|
|
2474
3477
|
};
|
|
2475
|
-
} | ((request:
|
|
3478
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2476
3479
|
wrappedBindings?: Record<string, string | {
|
|
2477
3480
|
scriptName: string;
|
|
2478
3481
|
entrypoint?: string | undefined;
|
|
2479
|
-
bindings?: Record<string,
|
|
3482
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2480
3483
|
}> | undefined;
|
|
2481
|
-
outboundService?: string |
|
|
2482
|
-
name: string |
|
|
3484
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3485
|
+
name: string | kCurrentWorker_2;
|
|
2483
3486
|
entrypoint?: string | undefined;
|
|
3487
|
+
props?: Record<string, unknown> | undefined;
|
|
2484
3488
|
} | {
|
|
2485
3489
|
network: {
|
|
2486
3490
|
allow?: string[] | undefined;
|
|
@@ -2493,18 +3497,18 @@ export declare const PLUGINS: {
|
|
|
2493
3497
|
requireClientCerts?: boolean | undefined;
|
|
2494
3498
|
trustBrowserCas?: boolean | undefined;
|
|
2495
3499
|
trustedCertificates?: string[] | undefined;
|
|
2496
|
-
minVersion?:
|
|
3500
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2497
3501
|
cipherList?: string | undefined;
|
|
2498
3502
|
} | undefined;
|
|
2499
3503
|
};
|
|
2500
3504
|
} | {
|
|
2501
|
-
external:
|
|
3505
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2502
3506
|
} | {
|
|
2503
3507
|
disk: {
|
|
2504
3508
|
path: string;
|
|
2505
3509
|
writable?: boolean | undefined;
|
|
2506
3510
|
};
|
|
2507
|
-
} | ((request:
|
|
3511
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2508
3512
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2509
3513
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2510
3514
|
unsafeDirectSockets?: {
|
|
@@ -2516,19 +3520,49 @@ export declare const PLUGINS: {
|
|
|
2516
3520
|
unsafeEvalBinding?: string | undefined;
|
|
2517
3521
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2518
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;
|
|
2519
3551
|
}, {
|
|
2520
3552
|
name?: string | undefined;
|
|
2521
3553
|
rootPath?: string | undefined;
|
|
2522
3554
|
compatibilityDate?: string | undefined;
|
|
2523
3555
|
compatibilityFlags?: string[] | undefined;
|
|
3556
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2524
3557
|
routes?: string[] | undefined;
|
|
2525
|
-
bindings?: Record<string,
|
|
2526
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3558
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3559
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2527
3560
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2528
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2529
|
-
serviceBindings?: Record<string, string |
|
|
2530
|
-
name: string |
|
|
3561
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3562
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3563
|
+
name: string | kCurrentWorker_2;
|
|
2531
3564
|
entrypoint?: string | undefined;
|
|
3565
|
+
props?: Record<string, unknown> | undefined;
|
|
2532
3566
|
} | {
|
|
2533
3567
|
network: {
|
|
2534
3568
|
allow?: string[] | undefined;
|
|
@@ -2541,26 +3575,27 @@ export declare const PLUGINS: {
|
|
|
2541
3575
|
requireClientCerts?: boolean | undefined;
|
|
2542
3576
|
trustBrowserCas?: boolean | undefined;
|
|
2543
3577
|
trustedCertificates?: string[] | undefined;
|
|
2544
|
-
minVersion?:
|
|
3578
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2545
3579
|
cipherList?: string | undefined;
|
|
2546
3580
|
} | undefined;
|
|
2547
3581
|
};
|
|
2548
3582
|
} | {
|
|
2549
|
-
external:
|
|
3583
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2550
3584
|
} | {
|
|
2551
3585
|
disk: {
|
|
2552
3586
|
path: string;
|
|
2553
3587
|
writable?: boolean | undefined;
|
|
2554
3588
|
};
|
|
2555
|
-
} | ((request:
|
|
3589
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2556
3590
|
wrappedBindings?: Record<string, string | {
|
|
2557
3591
|
scriptName: string;
|
|
2558
3592
|
entrypoint?: string | undefined;
|
|
2559
|
-
bindings?: Record<string,
|
|
3593
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2560
3594
|
}> | undefined;
|
|
2561
|
-
outboundService?: string |
|
|
2562
|
-
name: string |
|
|
3595
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3596
|
+
name: string | kCurrentWorker_2;
|
|
2563
3597
|
entrypoint?: string | undefined;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
2564
3599
|
} | {
|
|
2565
3600
|
network: {
|
|
2566
3601
|
allow?: string[] | undefined;
|
|
@@ -2573,18 +3608,18 @@ export declare const PLUGINS: {
|
|
|
2573
3608
|
requireClientCerts?: boolean | undefined;
|
|
2574
3609
|
trustBrowserCas?: boolean | undefined;
|
|
2575
3610
|
trustedCertificates?: string[] | undefined;
|
|
2576
|
-
minVersion?:
|
|
3611
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2577
3612
|
cipherList?: string | undefined;
|
|
2578
3613
|
} | undefined;
|
|
2579
3614
|
};
|
|
2580
3615
|
} | {
|
|
2581
|
-
external:
|
|
3616
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2582
3617
|
} | {
|
|
2583
3618
|
disk: {
|
|
2584
3619
|
path: string;
|
|
2585
3620
|
writable?: boolean | undefined;
|
|
2586
3621
|
};
|
|
2587
|
-
} | ((request:
|
|
3622
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2588
3623
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2589
3624
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2590
3625
|
unsafeDirectSockets?: {
|
|
@@ -2596,11 +3631,39 @@ export declare const PLUGINS: {
|
|
|
2596
3631
|
unsafeEvalBinding?: string | undefined;
|
|
2597
3632
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2598
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;
|
|
2599
3662
|
}>>, ({
|
|
2600
3663
|
modules: {
|
|
2601
|
-
type: "ESModule" | "CommonJS" | "
|
|
3664
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2602
3665
|
path: string;
|
|
2603
|
-
contents?: string | Uint8Array | undefined;
|
|
3666
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2604
3667
|
}[];
|
|
2605
3668
|
modulesRoot?: string | undefined;
|
|
2606
3669
|
} & {
|
|
@@ -2608,14 +3671,16 @@ export declare const PLUGINS: {
|
|
|
2608
3671
|
rootPath?: undefined;
|
|
2609
3672
|
compatibilityDate?: string | undefined;
|
|
2610
3673
|
compatibilityFlags?: string[] | undefined;
|
|
3674
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2611
3675
|
routes?: string[] | undefined;
|
|
2612
|
-
bindings?: Record<string,
|
|
2613
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3676
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3677
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2614
3678
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2615
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2616
|
-
serviceBindings?: Record<string, string |
|
|
2617
|
-
name: string |
|
|
3679
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3680
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3681
|
+
name: string | kCurrentWorker_2;
|
|
2618
3682
|
entrypoint?: string | undefined;
|
|
3683
|
+
props?: Record<string, unknown> | undefined;
|
|
2619
3684
|
} | {
|
|
2620
3685
|
network: {
|
|
2621
3686
|
allow?: string[] | undefined;
|
|
@@ -2628,26 +3693,27 @@ export declare const PLUGINS: {
|
|
|
2628
3693
|
requireClientCerts?: boolean | undefined;
|
|
2629
3694
|
trustBrowserCas?: boolean | undefined;
|
|
2630
3695
|
trustedCertificates?: string[] | undefined;
|
|
2631
|
-
minVersion?:
|
|
3696
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2632
3697
|
cipherList?: string | undefined;
|
|
2633
3698
|
} | undefined;
|
|
2634
3699
|
};
|
|
2635
3700
|
} | {
|
|
2636
|
-
external:
|
|
3701
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2637
3702
|
} | {
|
|
2638
3703
|
disk: {
|
|
2639
3704
|
path: string;
|
|
2640
3705
|
writable?: boolean | undefined;
|
|
2641
3706
|
};
|
|
2642
|
-
} | ((request:
|
|
3707
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2643
3708
|
wrappedBindings?: Record<string, string | {
|
|
2644
3709
|
scriptName: string;
|
|
2645
3710
|
entrypoint?: string | undefined;
|
|
2646
|
-
bindings?: Record<string,
|
|
3711
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2647
3712
|
}> | undefined;
|
|
2648
|
-
outboundService?: string |
|
|
2649
|
-
name: string |
|
|
3713
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3714
|
+
name: string | kCurrentWorker_2;
|
|
2650
3715
|
entrypoint?: string | undefined;
|
|
3716
|
+
props?: Record<string, unknown> | undefined;
|
|
2651
3717
|
} | {
|
|
2652
3718
|
network: {
|
|
2653
3719
|
allow?: string[] | undefined;
|
|
@@ -2660,18 +3726,18 @@ export declare const PLUGINS: {
|
|
|
2660
3726
|
requireClientCerts?: boolean | undefined;
|
|
2661
3727
|
trustBrowserCas?: boolean | undefined;
|
|
2662
3728
|
trustedCertificates?: string[] | undefined;
|
|
2663
|
-
minVersion?:
|
|
3729
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2664
3730
|
cipherList?: string | undefined;
|
|
2665
3731
|
} | undefined;
|
|
2666
3732
|
};
|
|
2667
3733
|
} | {
|
|
2668
|
-
external:
|
|
3734
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2669
3735
|
} | {
|
|
2670
3736
|
disk: {
|
|
2671
3737
|
path: string;
|
|
2672
3738
|
writable?: boolean | undefined;
|
|
2673
3739
|
};
|
|
2674
|
-
} | ((request:
|
|
3740
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2675
3741
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2676
3742
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2677
3743
|
unsafeDirectSockets?: {
|
|
@@ -2683,12 +3749,40 @@ export declare const PLUGINS: {
|
|
|
2683
3749
|
unsafeEvalBinding?: string | undefined;
|
|
2684
3750
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2685
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;
|
|
2686
3780
|
}) | ({
|
|
2687
3781
|
script: string;
|
|
2688
3782
|
scriptPath?: string | undefined;
|
|
2689
3783
|
modules?: boolean | undefined;
|
|
2690
3784
|
modulesRules?: {
|
|
2691
|
-
type: "ESModule" | "CommonJS" | "
|
|
3785
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2692
3786
|
include: string[];
|
|
2693
3787
|
fallthrough?: boolean | undefined;
|
|
2694
3788
|
}[] | undefined;
|
|
@@ -2698,14 +3792,16 @@ export declare const PLUGINS: {
|
|
|
2698
3792
|
rootPath?: undefined;
|
|
2699
3793
|
compatibilityDate?: string | undefined;
|
|
2700
3794
|
compatibilityFlags?: string[] | undefined;
|
|
3795
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2701
3796
|
routes?: string[] | undefined;
|
|
2702
|
-
bindings?: Record<string,
|
|
2703
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3797
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3798
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2704
3799
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2705
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2706
|
-
serviceBindings?: Record<string, string |
|
|
2707
|
-
name: string |
|
|
3800
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3801
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3802
|
+
name: string | kCurrentWorker_2;
|
|
2708
3803
|
entrypoint?: string | undefined;
|
|
3804
|
+
props?: Record<string, unknown> | undefined;
|
|
2709
3805
|
} | {
|
|
2710
3806
|
network: {
|
|
2711
3807
|
allow?: string[] | undefined;
|
|
@@ -2718,26 +3814,27 @@ export declare const PLUGINS: {
|
|
|
2718
3814
|
requireClientCerts?: boolean | undefined;
|
|
2719
3815
|
trustBrowserCas?: boolean | undefined;
|
|
2720
3816
|
trustedCertificates?: string[] | undefined;
|
|
2721
|
-
minVersion?:
|
|
3817
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2722
3818
|
cipherList?: string | undefined;
|
|
2723
3819
|
} | undefined;
|
|
2724
3820
|
};
|
|
2725
3821
|
} | {
|
|
2726
|
-
external:
|
|
3822
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2727
3823
|
} | {
|
|
2728
3824
|
disk: {
|
|
2729
3825
|
path: string;
|
|
2730
3826
|
writable?: boolean | undefined;
|
|
2731
3827
|
};
|
|
2732
|
-
} | ((request:
|
|
3828
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2733
3829
|
wrappedBindings?: Record<string, string | {
|
|
2734
3830
|
scriptName: string;
|
|
2735
3831
|
entrypoint?: string | undefined;
|
|
2736
|
-
bindings?: Record<string,
|
|
3832
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2737
3833
|
}> | undefined;
|
|
2738
|
-
outboundService?: string |
|
|
2739
|
-
name: string |
|
|
3834
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3835
|
+
name: string | kCurrentWorker_2;
|
|
2740
3836
|
entrypoint?: string | undefined;
|
|
3837
|
+
props?: Record<string, unknown> | undefined;
|
|
2741
3838
|
} | {
|
|
2742
3839
|
network: {
|
|
2743
3840
|
allow?: string[] | undefined;
|
|
@@ -2750,18 +3847,18 @@ export declare const PLUGINS: {
|
|
|
2750
3847
|
requireClientCerts?: boolean | undefined;
|
|
2751
3848
|
trustBrowserCas?: boolean | undefined;
|
|
2752
3849
|
trustedCertificates?: string[] | undefined;
|
|
2753
|
-
minVersion?:
|
|
3850
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2754
3851
|
cipherList?: string | undefined;
|
|
2755
3852
|
} | undefined;
|
|
2756
3853
|
};
|
|
2757
3854
|
} | {
|
|
2758
|
-
external:
|
|
3855
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2759
3856
|
} | {
|
|
2760
3857
|
disk: {
|
|
2761
3858
|
path: string;
|
|
2762
3859
|
writable?: boolean | undefined;
|
|
2763
3860
|
};
|
|
2764
|
-
} | ((request:
|
|
3861
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2765
3862
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2766
3863
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2767
3864
|
unsafeDirectSockets?: {
|
|
@@ -2773,11 +3870,39 @@ export declare const PLUGINS: {
|
|
|
2773
3870
|
unsafeEvalBinding?: string | undefined;
|
|
2774
3871
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2775
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;
|
|
2776
3901
|
}) | ({
|
|
2777
3902
|
scriptPath: string;
|
|
2778
3903
|
modules?: boolean | undefined;
|
|
2779
3904
|
modulesRules?: {
|
|
2780
|
-
type: "ESModule" | "CommonJS" | "
|
|
3905
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2781
3906
|
include: string[];
|
|
2782
3907
|
fallthrough?: boolean | undefined;
|
|
2783
3908
|
}[] | undefined;
|
|
@@ -2787,14 +3912,16 @@ export declare const PLUGINS: {
|
|
|
2787
3912
|
rootPath?: undefined;
|
|
2788
3913
|
compatibilityDate?: string | undefined;
|
|
2789
3914
|
compatibilityFlags?: string[] | undefined;
|
|
3915
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2790
3916
|
routes?: string[] | undefined;
|
|
2791
|
-
bindings?: Record<string,
|
|
2792
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3917
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3918
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2793
3919
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2794
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2795
|
-
serviceBindings?: Record<string, string |
|
|
2796
|
-
name: string |
|
|
3920
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3921
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3922
|
+
name: string | kCurrentWorker_2;
|
|
2797
3923
|
entrypoint?: string | undefined;
|
|
3924
|
+
props?: Record<string, unknown> | undefined;
|
|
2798
3925
|
} | {
|
|
2799
3926
|
network: {
|
|
2800
3927
|
allow?: string[] | undefined;
|
|
@@ -2807,26 +3934,27 @@ export declare const PLUGINS: {
|
|
|
2807
3934
|
requireClientCerts?: boolean | undefined;
|
|
2808
3935
|
trustBrowserCas?: boolean | undefined;
|
|
2809
3936
|
trustedCertificates?: string[] | undefined;
|
|
2810
|
-
minVersion?:
|
|
3937
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2811
3938
|
cipherList?: string | undefined;
|
|
2812
3939
|
} | undefined;
|
|
2813
3940
|
};
|
|
2814
3941
|
} | {
|
|
2815
|
-
external:
|
|
3942
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2816
3943
|
} | {
|
|
2817
3944
|
disk: {
|
|
2818
3945
|
path: string;
|
|
2819
3946
|
writable?: boolean | undefined;
|
|
2820
3947
|
};
|
|
2821
|
-
} | ((request:
|
|
3948
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2822
3949
|
wrappedBindings?: Record<string, string | {
|
|
2823
3950
|
scriptName: string;
|
|
2824
3951
|
entrypoint?: string | undefined;
|
|
2825
|
-
bindings?: Record<string,
|
|
3952
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2826
3953
|
}> | undefined;
|
|
2827
|
-
outboundService?: string |
|
|
2828
|
-
name: string |
|
|
3954
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3955
|
+
name: string | kCurrentWorker_2;
|
|
2829
3956
|
entrypoint?: string | undefined;
|
|
3957
|
+
props?: Record<string, unknown> | undefined;
|
|
2830
3958
|
} | {
|
|
2831
3959
|
network: {
|
|
2832
3960
|
allow?: string[] | undefined;
|
|
@@ -2839,18 +3967,18 @@ export declare const PLUGINS: {
|
|
|
2839
3967
|
requireClientCerts?: boolean | undefined;
|
|
2840
3968
|
trustBrowserCas?: boolean | undefined;
|
|
2841
3969
|
trustedCertificates?: string[] | undefined;
|
|
2842
|
-
minVersion?:
|
|
3970
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2843
3971
|
cipherList?: string | undefined;
|
|
2844
3972
|
} | undefined;
|
|
2845
3973
|
};
|
|
2846
3974
|
} | {
|
|
2847
|
-
external:
|
|
3975
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2848
3976
|
} | {
|
|
2849
3977
|
disk: {
|
|
2850
3978
|
path: string;
|
|
2851
3979
|
writable?: boolean | undefined;
|
|
2852
3980
|
};
|
|
2853
|
-
} | ((request:
|
|
3981
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2854
3982
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2855
3983
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2856
3984
|
unsafeDirectSockets?: {
|
|
@@ -2862,11 +3990,39 @@ export declare const PLUGINS: {
|
|
|
2862
3990
|
unsafeEvalBinding?: string | undefined;
|
|
2863
3991
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2864
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;
|
|
2865
4021
|
}), ({
|
|
2866
4022
|
modules: {
|
|
2867
|
-
type: "ESModule" | "CommonJS" | "
|
|
4023
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2868
4024
|
path: string;
|
|
2869
|
-
contents?: string | Uint8Array | undefined;
|
|
4025
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2870
4026
|
}[];
|
|
2871
4027
|
modulesRoot?: string | undefined;
|
|
2872
4028
|
} | {
|
|
@@ -2874,7 +4030,7 @@ export declare const PLUGINS: {
|
|
|
2874
4030
|
scriptPath?: string | undefined;
|
|
2875
4031
|
modules?: boolean | undefined;
|
|
2876
4032
|
modulesRules?: {
|
|
2877
|
-
type: "ESModule" | "CommonJS" | "
|
|
4033
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2878
4034
|
include: string[];
|
|
2879
4035
|
fallthrough?: boolean | undefined;
|
|
2880
4036
|
}[] | undefined;
|
|
@@ -2883,7 +4039,7 @@ export declare const PLUGINS: {
|
|
|
2883
4039
|
scriptPath: string;
|
|
2884
4040
|
modules?: boolean | undefined;
|
|
2885
4041
|
modulesRules?: {
|
|
2886
|
-
type: "ESModule" | "CommonJS" | "
|
|
4042
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2887
4043
|
include: string[];
|
|
2888
4044
|
fallthrough?: boolean | undefined;
|
|
2889
4045
|
}[] | undefined;
|
|
@@ -2893,14 +4049,16 @@ export declare const PLUGINS: {
|
|
|
2893
4049
|
rootPath?: string | undefined;
|
|
2894
4050
|
compatibilityDate?: string | undefined;
|
|
2895
4051
|
compatibilityFlags?: string[] | undefined;
|
|
4052
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2896
4053
|
routes?: string[] | undefined;
|
|
2897
|
-
bindings?: Record<string,
|
|
2898
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
4054
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
4055
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2899
4056
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2900
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2901
|
-
serviceBindings?: Record<string, string |
|
|
2902
|
-
name: string |
|
|
4057
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
4058
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
4059
|
+
name: string | kCurrentWorker_2;
|
|
2903
4060
|
entrypoint?: string | undefined;
|
|
4061
|
+
props?: Record<string, unknown> | undefined;
|
|
2904
4062
|
} | {
|
|
2905
4063
|
network: {
|
|
2906
4064
|
allow?: string[] | undefined;
|
|
@@ -2913,26 +4071,27 @@ export declare const PLUGINS: {
|
|
|
2913
4071
|
requireClientCerts?: boolean | undefined;
|
|
2914
4072
|
trustBrowserCas?: boolean | undefined;
|
|
2915
4073
|
trustedCertificates?: string[] | undefined;
|
|
2916
|
-
minVersion?:
|
|
4074
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2917
4075
|
cipherList?: string | undefined;
|
|
2918
4076
|
} | undefined;
|
|
2919
4077
|
};
|
|
2920
4078
|
} | {
|
|
2921
|
-
external:
|
|
4079
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2922
4080
|
} | {
|
|
2923
4081
|
disk: {
|
|
2924
4082
|
path: string;
|
|
2925
4083
|
writable?: boolean | undefined;
|
|
2926
4084
|
};
|
|
2927
|
-
} | ((request:
|
|
4085
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2928
4086
|
wrappedBindings?: Record<string, string | {
|
|
2929
4087
|
scriptName: string;
|
|
2930
4088
|
entrypoint?: string | undefined;
|
|
2931
|
-
bindings?: Record<string,
|
|
4089
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2932
4090
|
}> | undefined;
|
|
2933
|
-
outboundService?: string |
|
|
2934
|
-
name: string |
|
|
4091
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
4092
|
+
name: string | kCurrentWorker_2;
|
|
2935
4093
|
entrypoint?: string | undefined;
|
|
4094
|
+
props?: Record<string, unknown> | undefined;
|
|
2936
4095
|
} | {
|
|
2937
4096
|
network: {
|
|
2938
4097
|
allow?: string[] | undefined;
|
|
@@ -2945,18 +4104,18 @@ export declare const PLUGINS: {
|
|
|
2945
4104
|
requireClientCerts?: boolean | undefined;
|
|
2946
4105
|
trustBrowserCas?: boolean | undefined;
|
|
2947
4106
|
trustedCertificates?: string[] | undefined;
|
|
2948
|
-
minVersion?:
|
|
4107
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2949
4108
|
cipherList?: string | undefined;
|
|
2950
4109
|
} | undefined;
|
|
2951
4110
|
};
|
|
2952
4111
|
} | {
|
|
2953
|
-
external:
|
|
4112
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2954
4113
|
} | {
|
|
2955
4114
|
disk: {
|
|
2956
4115
|
path: string;
|
|
2957
4116
|
writable?: boolean | undefined;
|
|
2958
4117
|
};
|
|
2959
|
-
} | ((request:
|
|
4118
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2960
4119
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2961
4120
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2962
4121
|
unsafeDirectSockets?: {
|
|
@@ -2968,6 +4127,34 @@ export declare const PLUGINS: {
|
|
|
2968
4127
|
unsafeEvalBinding?: string | undefined;
|
|
2969
4128
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2970
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;
|
|
2971
4158
|
}>, z.ZodObject<{
|
|
2972
4159
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2973
4160
|
host: z.ZodOptional<z.ZodString>;
|
|
@@ -2979,15 +4166,18 @@ export declare const PLUGINS: {
|
|
|
2979
4166
|
httpsCertPath: z.ZodOptional<z.ZodString>;
|
|
2980
4167
|
inspectorPort: z.ZodOptional<z.ZodNumber>;
|
|
2981
4168
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
2982
|
-
log: z.ZodOptional<z.ZodType<
|
|
4169
|
+
log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
|
|
2983
4170
|
handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
|
|
2984
4171
|
upstream: z.ZodOptional<z.ZodString>;
|
|
2985
4172
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2986
4173
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
2987
4174
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
2988
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
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>>>;
|
|
2989
4176
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
4177
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2990
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
logRequests: boolean;
|
|
2991
4181
|
rootPath?: undefined;
|
|
2992
4182
|
host?: string | undefined;
|
|
2993
4183
|
port?: number | undefined;
|
|
@@ -2998,14 +4188,15 @@ export declare const PLUGINS: {
|
|
|
2998
4188
|
httpsCertPath?: string | undefined;
|
|
2999
4189
|
inspectorPort?: number | undefined;
|
|
3000
4190
|
verbose?: boolean | undefined;
|
|
3001
|
-
log?:
|
|
4191
|
+
log?: Log_2 | undefined;
|
|
3002
4192
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3003
4193
|
upstream?: string | undefined;
|
|
3004
4194
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3005
4195
|
liveReload?: boolean | undefined;
|
|
3006
4196
|
unsafeProxySharedSecret?: string | undefined;
|
|
3007
|
-
unsafeModuleFallbackService?: ((request:
|
|
4197
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3008
4198
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4199
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
3009
4200
|
}, {
|
|
3010
4201
|
rootPath?: string | undefined;
|
|
3011
4202
|
host?: string | undefined;
|
|
@@ -3017,16 +4208,18 @@ export declare const PLUGINS: {
|
|
|
3017
4208
|
httpsCertPath?: string | undefined;
|
|
3018
4209
|
inspectorPort?: number | undefined;
|
|
3019
4210
|
verbose?: boolean | undefined;
|
|
3020
|
-
log?:
|
|
4211
|
+
log?: Log_2 | undefined;
|
|
3021
4212
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3022
4213
|
upstream?: string | undefined;
|
|
3023
4214
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3024
4215
|
liveReload?: boolean | undefined;
|
|
3025
4216
|
unsafeProxySharedSecret?: string | undefined;
|
|
3026
|
-
unsafeModuleFallbackService?: ((request:
|
|
4217
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3027
4218
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4219
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
4220
|
+
logRequests?: boolean | undefined;
|
|
3028
4221
|
}>>;
|
|
3029
|
-
cache:
|
|
4222
|
+
cache: Plugin_2<z.ZodObject<{
|
|
3030
4223
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
3031
4224
|
cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
|
|
3032
4225
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3042,7 +4235,7 @@ export declare const PLUGINS: {
|
|
|
3042
4235
|
}, {
|
|
3043
4236
|
cachePersist?: string | boolean | undefined;
|
|
3044
4237
|
}>>;
|
|
3045
|
-
d1:
|
|
4238
|
+
d1: Plugin_2<z.ZodObject<{
|
|
3046
4239
|
d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3047
4240
|
}, "strip", z.ZodTypeAny, {
|
|
3048
4241
|
d1Databases?: string[] | Record<string, string> | undefined;
|
|
@@ -3055,24 +4248,24 @@ export declare const PLUGINS: {
|
|
|
3055
4248
|
}, {
|
|
3056
4249
|
d1Persist?: string | boolean | undefined;
|
|
3057
4250
|
}>>;
|
|
3058
|
-
do:
|
|
4251
|
+
do: Plugin_2<z.ZodObject<{
|
|
3059
4252
|
durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3060
4253
|
className: z.ZodString;
|
|
3061
4254
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
3062
4255
|
useSQLite: z.ZodOptional<z.ZodBoolean>;
|
|
3063
|
-
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
4256
|
+
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
|
|
3064
4257
|
unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
|
|
3065
4258
|
}, "strip", z.ZodTypeAny, {
|
|
3066
4259
|
className: string;
|
|
3067
4260
|
scriptName?: string | undefined;
|
|
3068
4261
|
useSQLite?: boolean | undefined;
|
|
3069
|
-
unsafeUniqueKey?: string |
|
|
4262
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3070
4263
|
unsafePreventEviction?: boolean | undefined;
|
|
3071
4264
|
}, {
|
|
3072
4265
|
className: string;
|
|
3073
4266
|
scriptName?: string | undefined;
|
|
3074
4267
|
useSQLite?: boolean | undefined;
|
|
3075
|
-
unsafeUniqueKey?: string |
|
|
4268
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3076
4269
|
unsafePreventEviction?: boolean | undefined;
|
|
3077
4270
|
}>]>>>;
|
|
3078
4271
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3080,7 +4273,7 @@ export declare const PLUGINS: {
|
|
|
3080
4273
|
className: string;
|
|
3081
4274
|
scriptName?: string | undefined;
|
|
3082
4275
|
useSQLite?: boolean | undefined;
|
|
3083
|
-
unsafeUniqueKey?: string |
|
|
4276
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3084
4277
|
unsafePreventEviction?: boolean | undefined;
|
|
3085
4278
|
}> | undefined;
|
|
3086
4279
|
}, {
|
|
@@ -3088,7 +4281,7 @@ export declare const PLUGINS: {
|
|
|
3088
4281
|
className: string;
|
|
3089
4282
|
scriptName?: string | undefined;
|
|
3090
4283
|
useSQLite?: boolean | undefined;
|
|
3091
|
-
unsafeUniqueKey?: string |
|
|
4284
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3092
4285
|
unsafePreventEviction?: boolean | undefined;
|
|
3093
4286
|
}> | undefined;
|
|
3094
4287
|
}>, z.ZodObject<{
|
|
@@ -3098,7 +4291,7 @@ export declare const PLUGINS: {
|
|
|
3098
4291
|
}, {
|
|
3099
4292
|
durableObjectsPersist?: string | boolean | undefined;
|
|
3100
4293
|
}>>;
|
|
3101
|
-
kv:
|
|
4294
|
+
kv: Plugin_2<z.ZodObject<{
|
|
3102
4295
|
kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3103
4296
|
sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3104
4297
|
siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3120,7 +4313,7 @@ export declare const PLUGINS: {
|
|
|
3120
4313
|
}, {
|
|
3121
4314
|
kvPersist?: string | boolean | undefined;
|
|
3122
4315
|
}>>;
|
|
3123
|
-
queues:
|
|
4316
|
+
queues: Plugin_2<z.ZodObject<{
|
|
3124
4317
|
queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3125
4318
|
queueName: z.ZodString;
|
|
3126
4319
|
deliveryDelay: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3194,7 +4387,7 @@ export declare const PLUGINS: {
|
|
|
3194
4387
|
retryDelay?: number | undefined;
|
|
3195
4388
|
}> | undefined;
|
|
3196
4389
|
}>>;
|
|
3197
|
-
r2:
|
|
4390
|
+
r2: Plugin_2<z.ZodObject<{
|
|
3198
4391
|
r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3199
4392
|
}, "strip", z.ZodTypeAny, {
|
|
3200
4393
|
r2Buckets?: string[] | Record<string, string> | undefined;
|
|
@@ -3207,124 +4400,368 @@ export declare const PLUGINS: {
|
|
|
3207
4400
|
}, {
|
|
3208
4401
|
r2Persist?: string | boolean | undefined;
|
|
3209
4402
|
}>>;
|
|
3210
|
-
hyperdrive:
|
|
4403
|
+
hyperdrive: Plugin_2<z.ZodObject<{
|
|
3211
4404
|
hyperdrives: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodType<URL_2, z.ZodTypeDef, URL_2>]>, URL_2, string | URL_2>>>;
|
|
3212
4405
|
}, "strip", z.ZodTypeAny, {
|
|
3213
4406
|
hyperdrives?: Record<string, URL_2> | undefined;
|
|
3214
4407
|
}, {
|
|
3215
4408
|
hyperdrives?: Record<string, string | URL_2> | undefined;
|
|
3216
4409
|
}>>;
|
|
3217
|
-
ratelimit:
|
|
4410
|
+
ratelimit: Plugin_2<z.ZodObject<{
|
|
3218
4411
|
ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3219
4412
|
simple: z.ZodObject<{
|
|
3220
4413
|
limit: z.ZodNumber;
|
|
3221
|
-
period: z.ZodOptional<z.ZodNativeEnum<
|
|
4414
|
+
period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
|
|
3222
4415
|
}, "strip", z.ZodTypeAny, {
|
|
3223
4416
|
limit: number;
|
|
3224
|
-
period?:
|
|
4417
|
+
period?: PeriodType_2 | undefined;
|
|
3225
4418
|
}, {
|
|
3226
4419
|
limit: number;
|
|
3227
|
-
period?:
|
|
4420
|
+
period?: PeriodType_2 | undefined;
|
|
3228
4421
|
}>;
|
|
3229
4422
|
}, "strip", z.ZodTypeAny, {
|
|
3230
4423
|
simple: {
|
|
3231
4424
|
limit: number;
|
|
3232
|
-
period?:
|
|
4425
|
+
period?: PeriodType_2 | undefined;
|
|
3233
4426
|
};
|
|
3234
4427
|
}, {
|
|
3235
4428
|
simple: {
|
|
3236
4429
|
limit: number;
|
|
3237
|
-
period?:
|
|
4430
|
+
period?: PeriodType_2 | undefined;
|
|
3238
4431
|
};
|
|
3239
4432
|
}>>>;
|
|
3240
4433
|
}, "strip", z.ZodTypeAny, {
|
|
3241
4434
|
ratelimits?: Record<string, {
|
|
3242
4435
|
simple: {
|
|
3243
4436
|
limit: number;
|
|
3244
|
-
period?:
|
|
4437
|
+
period?: PeriodType_2 | undefined;
|
|
3245
4438
|
};
|
|
3246
4439
|
}> | undefined;
|
|
3247
4440
|
}, {
|
|
3248
4441
|
ratelimits?: Record<string, {
|
|
3249
4442
|
simple: {
|
|
3250
4443
|
limit: number;
|
|
3251
|
-
period?:
|
|
4444
|
+
period?: PeriodType_2 | undefined;
|
|
3252
4445
|
};
|
|
3253
4446
|
}> | undefined;
|
|
3254
4447
|
}>>;
|
|
3255
|
-
assets:
|
|
4448
|
+
assets: Plugin_2<z.ZodObject<{
|
|
3256
4449
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3257
4450
|
workerName: z.ZodOptional<z.ZodString>;
|
|
3258
4451
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
3259
4452
|
binding: z.ZodOptional<z.ZodString>;
|
|
3260
|
-
|
|
4453
|
+
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
4454
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
4455
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4456
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
4457
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3261
4458
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3262
4459
|
}, "strip", z.ZodTypeAny, {
|
|
4460
|
+
account_id?: number;
|
|
4461
|
+
script_id?: number;
|
|
4462
|
+
debug?: boolean;
|
|
4463
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3263
4464
|
has_user_worker?: boolean;
|
|
3264
4465
|
}, {
|
|
4466
|
+
account_id?: number;
|
|
4467
|
+
script_id?: number;
|
|
4468
|
+
debug?: boolean;
|
|
4469
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3265
4470
|
has_user_worker?: boolean;
|
|
3266
4471
|
}>>;
|
|
3267
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
4472
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
4473
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
4474
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
4475
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
4476
|
+
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
4477
|
+
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3268
4478
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
3269
4479
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
4480
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
4481
|
+
version: z.ZodLiteral<1>;
|
|
4482
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4483
|
+
status: z.ZodNumber;
|
|
4484
|
+
to: z.ZodString;
|
|
4485
|
+
lineNumber: z.ZodNumber;
|
|
4486
|
+
}, "strip", z.ZodTypeAny, {
|
|
4487
|
+
status?: number;
|
|
4488
|
+
to?: string;
|
|
4489
|
+
lineNumber?: number;
|
|
4490
|
+
}, {
|
|
4491
|
+
status?: number;
|
|
4492
|
+
to?: string;
|
|
4493
|
+
lineNumber?: number;
|
|
4494
|
+
}>>;
|
|
4495
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4496
|
+
status: z.ZodNumber;
|
|
4497
|
+
to: z.ZodString;
|
|
4498
|
+
}, "strip", z.ZodTypeAny, {
|
|
4499
|
+
status?: number;
|
|
4500
|
+
to?: string;
|
|
4501
|
+
}, {
|
|
4502
|
+
status?: number;
|
|
4503
|
+
to?: string;
|
|
4504
|
+
}>>;
|
|
4505
|
+
}, "strip", z.ZodTypeAny, {
|
|
4506
|
+
version?: 1;
|
|
4507
|
+
staticRules?: Record<string, {
|
|
4508
|
+
status?: number;
|
|
4509
|
+
to?: string;
|
|
4510
|
+
lineNumber?: number;
|
|
4511
|
+
}>;
|
|
4512
|
+
rules?: Record<string, {
|
|
4513
|
+
status?: number;
|
|
4514
|
+
to?: string;
|
|
4515
|
+
}>;
|
|
4516
|
+
}, {
|
|
4517
|
+
version?: 1;
|
|
4518
|
+
staticRules?: Record<string, {
|
|
4519
|
+
status?: number;
|
|
4520
|
+
to?: string;
|
|
4521
|
+
lineNumber?: number;
|
|
4522
|
+
}>;
|
|
4523
|
+
rules?: Record<string, {
|
|
4524
|
+
status?: number;
|
|
4525
|
+
to?: string;
|
|
4526
|
+
}>;
|
|
4527
|
+
}>>;
|
|
4528
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
4529
|
+
version: z.ZodLiteral<2>;
|
|
4530
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4531
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4532
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4533
|
+
}, "strip", z.ZodTypeAny, {
|
|
4534
|
+
set?: Record<string, string>;
|
|
4535
|
+
unset?: string[];
|
|
4536
|
+
}, {
|
|
4537
|
+
set?: Record<string, string>;
|
|
4538
|
+
unset?: string[];
|
|
4539
|
+
}>>;
|
|
3270
4540
|
}, "strip", z.ZodTypeAny, {
|
|
3271
|
-
|
|
3272
|
-
|
|
4541
|
+
version?: 2;
|
|
4542
|
+
rules?: Record<string, {
|
|
4543
|
+
set?: Record<string, string>;
|
|
4544
|
+
unset?: string[];
|
|
4545
|
+
}>;
|
|
4546
|
+
}, {
|
|
4547
|
+
version?: 2;
|
|
4548
|
+
rules?: Record<string, {
|
|
4549
|
+
set?: Record<string, string>;
|
|
4550
|
+
unset?: string[];
|
|
4551
|
+
}>;
|
|
4552
|
+
}>>;
|
|
4553
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
4554
|
+
headers?: {
|
|
4555
|
+
version?: 2;
|
|
4556
|
+
rules?: Record<string, {
|
|
4557
|
+
set?: Record<string, string>;
|
|
4558
|
+
unset?: string[];
|
|
4559
|
+
}>;
|
|
4560
|
+
} | undefined;
|
|
4561
|
+
debug?: boolean | undefined;
|
|
4562
|
+
account_id?: number | undefined;
|
|
4563
|
+
script_id?: number | undefined;
|
|
4564
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4565
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4566
|
+
redirects?: {
|
|
4567
|
+
version?: 1;
|
|
4568
|
+
staticRules?: Record<string, {
|
|
4569
|
+
status?: number;
|
|
4570
|
+
to?: string;
|
|
4571
|
+
lineNumber?: number;
|
|
4572
|
+
}>;
|
|
4573
|
+
rules?: Record<string, {
|
|
4574
|
+
status?: number;
|
|
4575
|
+
to?: string;
|
|
4576
|
+
}>;
|
|
4577
|
+
} | undefined;
|
|
3273
4578
|
}, {
|
|
3274
|
-
|
|
3275
|
-
|
|
4579
|
+
headers?: {
|
|
4580
|
+
version?: 2;
|
|
4581
|
+
rules?: Record<string, {
|
|
4582
|
+
set?: Record<string, string>;
|
|
4583
|
+
unset?: string[];
|
|
4584
|
+
}>;
|
|
4585
|
+
} | undefined;
|
|
4586
|
+
debug?: boolean | undefined;
|
|
4587
|
+
account_id?: number | undefined;
|
|
4588
|
+
script_id?: number | undefined;
|
|
4589
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4590
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4591
|
+
redirects?: {
|
|
4592
|
+
version?: 1;
|
|
4593
|
+
staticRules?: Record<string, {
|
|
4594
|
+
status?: number;
|
|
4595
|
+
to?: string;
|
|
4596
|
+
lineNumber?: number;
|
|
4597
|
+
}>;
|
|
4598
|
+
rules?: Record<string, {
|
|
4599
|
+
status?: number;
|
|
4600
|
+
to?: string;
|
|
4601
|
+
}>;
|
|
4602
|
+
} | undefined;
|
|
3276
4603
|
}>>;
|
|
3277
4604
|
}, "strip", z.ZodTypeAny, {
|
|
3278
4605
|
directory: string;
|
|
3279
4606
|
workerName?: string | undefined;
|
|
3280
4607
|
binding?: string | undefined;
|
|
3281
|
-
|
|
4608
|
+
routerConfig?: {
|
|
4609
|
+
account_id?: number;
|
|
4610
|
+
script_id?: number;
|
|
4611
|
+
debug?: boolean;
|
|
4612
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3282
4613
|
has_user_worker?: boolean;
|
|
3283
4614
|
} | undefined;
|
|
3284
4615
|
assetConfig?: {
|
|
3285
|
-
|
|
3286
|
-
|
|
4616
|
+
headers?: {
|
|
4617
|
+
version?: 2;
|
|
4618
|
+
rules?: Record<string, {
|
|
4619
|
+
set?: Record<string, string>;
|
|
4620
|
+
unset?: string[];
|
|
4621
|
+
}>;
|
|
4622
|
+
} | undefined;
|
|
4623
|
+
debug?: boolean | undefined;
|
|
4624
|
+
account_id?: number | undefined;
|
|
4625
|
+
script_id?: number | undefined;
|
|
4626
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4627
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4628
|
+
redirects?: {
|
|
4629
|
+
version?: 1;
|
|
4630
|
+
staticRules?: Record<string, {
|
|
4631
|
+
status?: number;
|
|
4632
|
+
to?: string;
|
|
4633
|
+
lineNumber?: number;
|
|
4634
|
+
}>;
|
|
4635
|
+
rules?: Record<string, {
|
|
4636
|
+
status?: number;
|
|
4637
|
+
to?: string;
|
|
4638
|
+
}>;
|
|
4639
|
+
} | undefined;
|
|
3287
4640
|
} | undefined;
|
|
3288
4641
|
}, {
|
|
3289
4642
|
directory: string;
|
|
3290
4643
|
workerName?: string | undefined;
|
|
3291
4644
|
binding?: string | undefined;
|
|
3292
|
-
|
|
4645
|
+
routerConfig?: {
|
|
4646
|
+
account_id?: number;
|
|
4647
|
+
script_id?: number;
|
|
4648
|
+
debug?: boolean;
|
|
4649
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3293
4650
|
has_user_worker?: boolean;
|
|
3294
4651
|
} | undefined;
|
|
3295
4652
|
assetConfig?: {
|
|
3296
|
-
|
|
3297
|
-
|
|
4653
|
+
headers?: {
|
|
4654
|
+
version?: 2;
|
|
4655
|
+
rules?: Record<string, {
|
|
4656
|
+
set?: Record<string, string>;
|
|
4657
|
+
unset?: string[];
|
|
4658
|
+
}>;
|
|
4659
|
+
} | undefined;
|
|
4660
|
+
debug?: boolean | undefined;
|
|
4661
|
+
account_id?: number | undefined;
|
|
4662
|
+
script_id?: number | undefined;
|
|
4663
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4664
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4665
|
+
redirects?: {
|
|
4666
|
+
version?: 1;
|
|
4667
|
+
staticRules?: Record<string, {
|
|
4668
|
+
status?: number;
|
|
4669
|
+
to?: string;
|
|
4670
|
+
lineNumber?: number;
|
|
4671
|
+
}>;
|
|
4672
|
+
rules?: Record<string, {
|
|
4673
|
+
status?: number;
|
|
4674
|
+
to?: string;
|
|
4675
|
+
}>;
|
|
4676
|
+
} | undefined;
|
|
3298
4677
|
} | undefined;
|
|
3299
4678
|
}>>;
|
|
4679
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
4680
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3300
4681
|
}, "strip", z.ZodTypeAny, {
|
|
3301
4682
|
assets?: {
|
|
3302
4683
|
directory: string;
|
|
3303
4684
|
workerName?: string | undefined;
|
|
3304
4685
|
binding?: string | undefined;
|
|
3305
|
-
|
|
4686
|
+
routerConfig?: {
|
|
4687
|
+
account_id?: number;
|
|
4688
|
+
script_id?: number;
|
|
4689
|
+
debug?: boolean;
|
|
4690
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3306
4691
|
has_user_worker?: boolean;
|
|
3307
4692
|
} | undefined;
|
|
3308
4693
|
assetConfig?: {
|
|
3309
|
-
|
|
3310
|
-
|
|
4694
|
+
headers?: {
|
|
4695
|
+
version?: 2;
|
|
4696
|
+
rules?: Record<string, {
|
|
4697
|
+
set?: Record<string, string>;
|
|
4698
|
+
unset?: string[];
|
|
4699
|
+
}>;
|
|
4700
|
+
} | undefined;
|
|
4701
|
+
debug?: boolean | undefined;
|
|
4702
|
+
account_id?: number | undefined;
|
|
4703
|
+
script_id?: number | undefined;
|
|
4704
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4705
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4706
|
+
redirects?: {
|
|
4707
|
+
version?: 1;
|
|
4708
|
+
staticRules?: Record<string, {
|
|
4709
|
+
status?: number;
|
|
4710
|
+
to?: string;
|
|
4711
|
+
lineNumber?: number;
|
|
4712
|
+
}>;
|
|
4713
|
+
rules?: Record<string, {
|
|
4714
|
+
status?: number;
|
|
4715
|
+
to?: string;
|
|
4716
|
+
}>;
|
|
3311
4717
|
} | undefined;
|
|
3312
4718
|
} | undefined;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
compatibilityDate?: string | undefined;
|
|
4721
|
+
compatibilityFlags?: string[] | undefined;
|
|
3313
4722
|
}, {
|
|
3314
4723
|
assets?: {
|
|
3315
4724
|
directory: string;
|
|
3316
4725
|
workerName?: string | undefined;
|
|
3317
4726
|
binding?: string | undefined;
|
|
3318
|
-
|
|
4727
|
+
routerConfig?: {
|
|
4728
|
+
account_id?: number;
|
|
4729
|
+
script_id?: number;
|
|
4730
|
+
debug?: boolean;
|
|
4731
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3319
4732
|
has_user_worker?: boolean;
|
|
3320
4733
|
} | undefined;
|
|
3321
4734
|
assetConfig?: {
|
|
3322
|
-
|
|
3323
|
-
|
|
4735
|
+
headers?: {
|
|
4736
|
+
version?: 2;
|
|
4737
|
+
rules?: Record<string, {
|
|
4738
|
+
set?: Record<string, string>;
|
|
4739
|
+
unset?: string[];
|
|
4740
|
+
}>;
|
|
4741
|
+
} | undefined;
|
|
4742
|
+
debug?: boolean | undefined;
|
|
4743
|
+
account_id?: number | undefined;
|
|
4744
|
+
script_id?: number | undefined;
|
|
4745
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
4746
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
4747
|
+
redirects?: {
|
|
4748
|
+
version?: 1;
|
|
4749
|
+
staticRules?: Record<string, {
|
|
4750
|
+
status?: number;
|
|
4751
|
+
to?: string;
|
|
4752
|
+
lineNumber?: number;
|
|
4753
|
+
}>;
|
|
4754
|
+
rules?: Record<string, {
|
|
4755
|
+
status?: number;
|
|
4756
|
+
to?: string;
|
|
4757
|
+
}>;
|
|
4758
|
+
} | undefined;
|
|
3324
4759
|
} | undefined;
|
|
3325
4760
|
} | undefined;
|
|
4761
|
+
compatibilityDate?: string | undefined;
|
|
4762
|
+
compatibilityFlags?: string[] | undefined;
|
|
3326
4763
|
}>>;
|
|
3327
|
-
workflows:
|
|
4764
|
+
workflows: Plugin_2<z.ZodObject<{
|
|
3328
4765
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3329
4766
|
name: z.ZodString;
|
|
3330
4767
|
className: z.ZodString;
|
|
@@ -3357,6 +4794,137 @@ export declare const PLUGINS: {
|
|
|
3357
4794
|
}, {
|
|
3358
4795
|
workflowsPersist?: string | boolean | undefined;
|
|
3359
4796
|
}>>;
|
|
4797
|
+
pipelines: Plugin_2<z.ZodObject<{
|
|
4798
|
+
pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
4799
|
+
}, "strip", z.ZodTypeAny, {
|
|
4800
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
4801
|
+
}, {
|
|
4802
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
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
|
+
}>>;
|
|
3360
4928
|
};
|
|
3361
4929
|
|
|
3362
4930
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -3554,11 +5122,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
|
|
|
3554
5122
|
export declare const QueueIncomingMessageSchema: z.ZodObject<{
|
|
3555
5123
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3556
5124
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3557
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
5125
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3558
5126
|
id: z.ZodOptional<z.ZodString>;
|
|
3559
5127
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3560
5128
|
}, "strip", z.ZodTypeAny, {
|
|
3561
|
-
body: Buffer
|
|
5129
|
+
body: Buffer<ArrayBuffer>;
|
|
3562
5130
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3563
5131
|
delaySecs?: number | undefined;
|
|
3564
5132
|
id?: string | undefined;
|
|
@@ -3634,11 +5202,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3634
5202
|
messages: z.ZodArray<z.ZodObject<{
|
|
3635
5203
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3636
5204
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3637
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
5205
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3638
5206
|
id: z.ZodOptional<z.ZodString>;
|
|
3639
5207
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3640
5208
|
}, "strip", z.ZodTypeAny, {
|
|
3641
|
-
body: Buffer
|
|
5209
|
+
body: Buffer<ArrayBuffer>;
|
|
3642
5210
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3643
5211
|
delaySecs?: number | undefined;
|
|
3644
5212
|
id?: string | undefined;
|
|
@@ -3652,7 +5220,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3652
5220
|
}>, "many">;
|
|
3653
5221
|
}, "strip", z.ZodTypeAny, {
|
|
3654
5222
|
messages: {
|
|
3655
|
-
body: Buffer
|
|
5223
|
+
body: Buffer<ArrayBuffer>;
|
|
3656
5224
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3657
5225
|
delaySecs?: number | undefined;
|
|
3658
5226
|
id?: string | undefined;
|
|
@@ -3846,11 +5414,11 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
|
|
|
3846
5414
|
|
|
3847
5415
|
export { ReferrerPolicy }
|
|
3848
5416
|
|
|
3849
|
-
export declare type ReplaceWorkersTypes<T> = T extends
|
|
5417
|
+
export declare type ReplaceWorkersTypes<T> = T extends Request_5 ? Request_2 : T extends Response_5 ? Response_2 : T extends ReadableStream_2 ? ReadableStream_3 : Required<T> extends Required<RequestInit_4> ? RequestInit_2 : T extends Headers_3 ? Headers_2 : T extends Blob_2 ? Blob_3 : T extends AbortSignal_2 ? AbortSignal : T extends Promise<infer P> ? Promise<ReplaceWorkersTypes<P>> : T extends (...args: infer P) => infer R ? (...args: ReplaceWorkersTypes<P>) => ReplaceWorkersTypes<R> : T extends object ? {
|
|
3850
5418
|
[K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
|
|
3851
5419
|
} : T;
|
|
3852
5420
|
|
|
3853
|
-
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends
|
|
5421
|
+
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
|
|
3854
5422
|
[kCf]?: CfType;
|
|
3855
5423
|
constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
|
|
3856
5424
|
get cf(): CfType | undefined;
|
|
@@ -3880,7 +5448,7 @@ export { RequestMode }
|
|
|
3880
5448
|
|
|
3881
5449
|
export { RequestRedirect }
|
|
3882
5450
|
|
|
3883
|
-
declare class Response_2 extends
|
|
5451
|
+
declare class Response_2 extends Response_4 {
|
|
3884
5452
|
readonly [kWebSocket]: WebSocket | null;
|
|
3885
5453
|
static error(): Response_2;
|
|
3886
5454
|
static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
|
|
@@ -3925,6 +5493,41 @@ export declare interface RuntimeOptions {
|
|
|
3925
5493
|
|
|
3926
5494
|
export declare function sanitisePath(unsafe: string): string;
|
|
3927
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
|
+
|
|
3928
5531
|
export declare interface SerialisableMatcherRegExps {
|
|
3929
5532
|
include: string[];
|
|
3930
5533
|
exclude: string[];
|
|
@@ -3960,6 +5563,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
|
|
|
3960
5563
|
export declare interface ServiceDesignator {
|
|
3961
5564
|
name?: string;
|
|
3962
5565
|
entrypoint?: string;
|
|
5566
|
+
props?: {
|
|
5567
|
+
json: string;
|
|
5568
|
+
};
|
|
3963
5569
|
}
|
|
3964
5570
|
|
|
3965
5571
|
export declare interface ServicesExtensions {
|
|
@@ -3980,7 +5586,7 @@ export declare const SharedHeaders: {
|
|
|
3980
5586
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
3981
5587
|
};
|
|
3982
5588
|
|
|
3983
|
-
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>;
|
|
3984
5590
|
|
|
3985
5591
|
export declare const SiteBindings: {
|
|
3986
5592
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -4022,31 +5628,31 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
|
|
|
4022
5628
|
|
|
4023
5629
|
export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
4024
5630
|
modules: z.ZodArray<z.ZodObject<{
|
|
4025
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5631
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4026
5632
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
4027
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
5633
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
4028
5634
|
}, "strip", z.ZodTypeAny, {
|
|
4029
|
-
type: "ESModule" | "CommonJS" | "
|
|
5635
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4030
5636
|
path: string;
|
|
4031
|
-
contents?: string | Uint8Array | undefined;
|
|
5637
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4032
5638
|
}, {
|
|
4033
|
-
type: "ESModule" | "CommonJS" | "
|
|
5639
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4034
5640
|
path: string;
|
|
4035
|
-
contents?: string | Uint8Array | undefined;
|
|
5641
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4036
5642
|
}>, "many">;
|
|
4037
5643
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4038
5644
|
}, "strip", z.ZodTypeAny, {
|
|
4039
5645
|
modules: {
|
|
4040
|
-
type: "ESModule" | "CommonJS" | "
|
|
5646
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4041
5647
|
path: string;
|
|
4042
|
-
contents?: string | Uint8Array | undefined;
|
|
5648
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4043
5649
|
}[];
|
|
4044
5650
|
modulesRoot?: string | undefined;
|
|
4045
5651
|
}, {
|
|
4046
5652
|
modules: {
|
|
4047
|
-
type: "ESModule" | "CommonJS" | "
|
|
5653
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4048
5654
|
path: string;
|
|
4049
|
-
contents?: string | Uint8Array | undefined;
|
|
5655
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4050
5656
|
}[];
|
|
4051
5657
|
modulesRoot?: string | undefined;
|
|
4052
5658
|
}>, z.ZodObject<{
|
|
@@ -4054,15 +5660,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4054
5660
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4055
5661
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4056
5662
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4057
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5663
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4058
5664
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4059
5665
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4060
5666
|
}, "strip", z.ZodTypeAny, {
|
|
4061
|
-
type: "ESModule" | "CommonJS" | "
|
|
5667
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4062
5668
|
include: string[];
|
|
4063
5669
|
fallthrough?: boolean | undefined;
|
|
4064
5670
|
}, {
|
|
4065
|
-
type: "ESModule" | "CommonJS" | "
|
|
5671
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4066
5672
|
include: string[];
|
|
4067
5673
|
fallthrough?: boolean | undefined;
|
|
4068
5674
|
}>, "many">>;
|
|
@@ -4072,7 +5678,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4072
5678
|
scriptPath?: string | undefined;
|
|
4073
5679
|
modules?: boolean | undefined;
|
|
4074
5680
|
modulesRules?: {
|
|
4075
|
-
type: "ESModule" | "CommonJS" | "
|
|
5681
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4076
5682
|
include: string[];
|
|
4077
5683
|
fallthrough?: boolean | undefined;
|
|
4078
5684
|
}[] | undefined;
|
|
@@ -4082,7 +5688,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4082
5688
|
scriptPath?: string | undefined;
|
|
4083
5689
|
modules?: boolean | undefined;
|
|
4084
5690
|
modulesRules?: {
|
|
4085
|
-
type: "ESModule" | "CommonJS" | "
|
|
5691
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4086
5692
|
include: string[];
|
|
4087
5693
|
fallthrough?: boolean | undefined;
|
|
4088
5694
|
}[] | undefined;
|
|
@@ -4091,15 +5697,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4091
5697
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
4092
5698
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
4093
5699
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4094
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5700
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4095
5701
|
include: z.ZodArray<z.ZodString, "many">;
|
|
4096
5702
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
4097
5703
|
}, "strip", z.ZodTypeAny, {
|
|
4098
|
-
type: "ESModule" | "CommonJS" | "
|
|
5704
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4099
5705
|
include: string[];
|
|
4100
5706
|
fallthrough?: boolean | undefined;
|
|
4101
5707
|
}, {
|
|
4102
|
-
type: "ESModule" | "CommonJS" | "
|
|
5708
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4103
5709
|
include: string[];
|
|
4104
5710
|
fallthrough?: boolean | undefined;
|
|
4105
5711
|
}>, "many">>;
|
|
@@ -4108,7 +5714,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4108
5714
|
scriptPath: string;
|
|
4109
5715
|
modules?: boolean | undefined;
|
|
4110
5716
|
modulesRules?: {
|
|
4111
|
-
type: "ESModule" | "CommonJS" | "
|
|
5717
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4112
5718
|
include: string[];
|
|
4113
5719
|
fallthrough?: boolean | undefined;
|
|
4114
5720
|
}[] | undefined;
|
|
@@ -4117,7 +5723,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4117
5723
|
scriptPath: string;
|
|
4118
5724
|
modules?: boolean | undefined;
|
|
4119
5725
|
modulesRules?: {
|
|
4120
|
-
type: "ESModule" | "CommonJS" | "
|
|
5726
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4121
5727
|
include: string[];
|
|
4122
5728
|
fallthrough?: boolean | undefined;
|
|
4123
5729
|
}[] | undefined;
|
|
@@ -4157,14 +5763,16 @@ export declare interface TlsOptions_Keypair {
|
|
|
4157
5763
|
certificateChain?: string;
|
|
4158
5764
|
}
|
|
4159
5765
|
|
|
4160
|
-
export declare
|
|
4161
|
-
GOOD_DEFAULT
|
|
4162
|
-
SSL3
|
|
4163
|
-
TLS1DOT0
|
|
4164
|
-
TLS1DOT1
|
|
4165
|
-
TLS1DOT2
|
|
4166
|
-
TLS1DOT3
|
|
4167
|
-
}
|
|
5766
|
+
export declare const TlsOptions_Version: {
|
|
5767
|
+
readonly GOOD_DEFAULT: 0;
|
|
5768
|
+
readonly SSL3: 1;
|
|
5769
|
+
readonly TLS1DOT0: 2;
|
|
5770
|
+
readonly TLS1DOT1: 3;
|
|
5771
|
+
readonly TLS1DOT2: 4;
|
|
5772
|
+
readonly TLS1DOT3: 5;
|
|
5773
|
+
};
|
|
5774
|
+
|
|
5775
|
+
export declare type TlsOptions_Version = (typeof TlsOptions_Version)[keyof typeof TlsOptions_Version];
|
|
4168
5776
|
|
|
4169
5777
|
export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
|
|
4170
5778
|
|
|
@@ -4209,8 +5817,8 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
|
|
|
4209
5817
|
[kClosedIncoming]: boolean;
|
|
4210
5818
|
get readyState(): number;
|
|
4211
5819
|
accept(): void;
|
|
4212
|
-
send(message: ArrayBuffer |
|
|
4213
|
-
[kSend](message: ArrayBuffer |
|
|
5820
|
+
send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
5821
|
+
[kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4214
5822
|
close(code?: number, reason?: string): void;
|
|
4215
5823
|
[kClose](code?: number, reason?: string): void;
|
|
4216
5824
|
[kError](error?: Error): void;
|
|
@@ -4247,6 +5855,7 @@ export declare type Worker = ({
|
|
|
4247
5855
|
durableObjectUniqueKeyModifier?: string;
|
|
4248
5856
|
durableObjectStorage?: Worker_DurableObjectStorage;
|
|
4249
5857
|
moduleFallback?: string;
|
|
5858
|
+
tails?: ServiceDesignator[];
|
|
4250
5859
|
};
|
|
4251
5860
|
|
|
4252
5861
|
export declare type Worker_Binding = {
|
|
@@ -4311,16 +5920,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
|
|
|
4311
5920
|
json?: string;
|
|
4312
5921
|
};
|
|
4313
5922
|
|
|
4314
|
-
export declare
|
|
4315
|
-
ENCRYPT
|
|
4316
|
-
DECRYPT
|
|
4317
|
-
SIGN
|
|
4318
|
-
VERIFY
|
|
4319
|
-
DERIVE_KEY
|
|
4320
|
-
DERIVE_BITS
|
|
4321
|
-
WRAP_KEY
|
|
4322
|
-
UNWRAP_KEY
|
|
4323
|
-
}
|
|
5923
|
+
export declare const Worker_Binding_CryptoKey_Usage: {
|
|
5924
|
+
readonly ENCRYPT: 0;
|
|
5925
|
+
readonly DECRYPT: 1;
|
|
5926
|
+
readonly SIGN: 2;
|
|
5927
|
+
readonly VERIFY: 3;
|
|
5928
|
+
readonly DERIVE_KEY: 4;
|
|
5929
|
+
readonly DERIVE_BITS: 5;
|
|
5930
|
+
readonly WRAP_KEY: 6;
|
|
5931
|
+
readonly UNWRAP_KEY: 7;
|
|
5932
|
+
};
|
|
5933
|
+
|
|
5934
|
+
export declare type Worker_Binding_CryptoKey_Usage = (typeof Worker_Binding_CryptoKey_Usage)[keyof typeof Worker_Binding_CryptoKey_Usage];
|
|
4324
5935
|
|
|
4325
5936
|
export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
|
|
4326
5937
|
className?: string;
|
|
@@ -4419,15 +6030,13 @@ export declare type Worker_Module = {
|
|
|
4419
6030
|
wasm?: Uint8Array;
|
|
4420
6031
|
} | {
|
|
4421
6032
|
json?: string;
|
|
4422
|
-
} | {
|
|
4423
|
-
nodeJsCompatModule?: string;
|
|
4424
6033
|
} | {
|
|
4425
6034
|
pythonModule?: string;
|
|
4426
6035
|
} | {
|
|
4427
6036
|
pythonRequirement?: string;
|
|
4428
6037
|
});
|
|
4429
6038
|
|
|
4430
|
-
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>;
|
|
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>;
|
|
4431
6040
|
|
|
4432
6041
|
export declare interface WorkerRoute {
|
|
4433
6042
|
target: string;
|