miniflare 0.0.0-e5037b92a → 0.0.0-e55f489db
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/src/index.d.ts +2244 -465
- package/dist/src/index.js +11687 -5493
- 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 +5005 -5270
- package/dist/src/workers/assets/assets.worker.js.map +3 -3
- package/dist/src/workers/assets/router.worker.js +5049 -5884
- 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 +20 -30
- package/dist/src/workers/cache/cache.worker.js.map +2 -2
- 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 +17 -20
- 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 +2103 -0
- package/dist/src/workers/workflows/binding.worker.js.map +6 -0
- package/package.json +29 -26
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,40 +8,55 @@ 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
|
|
13
|
-
import { FormData } from 'undici';
|
|
14
|
-
import { Headers } from 'undici';
|
|
15
|
-
import type { Headers as
|
|
14
|
+
import { File as File_2 } from 'undici';
|
|
15
|
+
import type { File as File_3 } from '@cloudflare/workers-types/experimental';
|
|
16
|
+
import { FormData as FormData_2 } from 'undici';
|
|
17
|
+
import { Headers as Headers_2 } from 'undici';
|
|
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
|
-
import type { ReadableStream } from '@cloudflare/workers-types/experimental';
|
|
27
|
-
import { ReadableStream as
|
|
38
|
+
import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
|
|
39
|
+
import { ReadableStream as ReadableStream_3 } from 'stream/web';
|
|
28
40
|
import { ReferrerPolicy } from 'undici';
|
|
29
|
-
import { Request as
|
|
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';
|
|
34
48
|
import { RequestDuplex } from 'undici';
|
|
35
49
|
import { RequestInfo as RequestInfo_2 } from 'undici';
|
|
36
|
-
import { RequestInit as
|
|
37
|
-
import type { RequestInit as
|
|
50
|
+
import { RequestInit as RequestInit_3 } from 'undici';
|
|
51
|
+
import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/experimental';
|
|
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
|
|
42
|
-
import
|
|
43
|
-
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 '..';
|
|
59
|
+
import { ResponseInit as ResponseInit_3 } from 'undici';
|
|
44
60
|
import { ResponseRedirectStatus } from 'undici';
|
|
45
61
|
import { ResponseType } from 'undici';
|
|
46
62
|
import type { ServiceWorkerGlobalScope } from '@cloudflare/workers-types/experimental';
|
|
@@ -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,28 +1585,58 @@ 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;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
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;
|
|
1616
|
+
}) | ({
|
|
1617
|
+
scriptPath: string;
|
|
1618
|
+
modules?: boolean | undefined;
|
|
1619
|
+
modulesRules?: {
|
|
1620
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1621
|
+
include: string[];
|
|
1622
|
+
fallthrough?: boolean | undefined;
|
|
1623
|
+
}[] | undefined;
|
|
1624
|
+
modulesRoot?: string | undefined;
|
|
1038
1625
|
} & {
|
|
1039
1626
|
name?: string | undefined;
|
|
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,9 +1986,10 @@ 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
|
-
export declare type DispatchFetch = (input: RequestInfo, init?:
|
|
1992
|
+
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
1337
1993
|
|
|
1338
1994
|
/**
|
|
1339
1995
|
* Dispatcher created for each `dispatchFetch()` call. Ensures request origin
|
|
@@ -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?: {
|
|
@@ -1471,15 +2203,16 @@ export declare interface ExternalServer_Tcp {
|
|
|
1471
2203
|
certificateHost?: string;
|
|
1472
2204
|
}
|
|
1473
2205
|
|
|
1474
|
-
|
|
2206
|
+
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
2207
|
+
export { fetch_2 as fetch }
|
|
1475
2208
|
|
|
1476
|
-
export { File }
|
|
2209
|
+
export { File_2 as File }
|
|
1477
2210
|
|
|
1478
2211
|
export declare function _forceColour(enabled?: boolean): void;
|
|
1479
2212
|
|
|
1480
2213
|
export declare function formatZodError(error: z.ZodError, input: unknown): string;
|
|
1481
2214
|
|
|
1482
|
-
export { FormData }
|
|
2215
|
+
export { FormData_2 as FormData }
|
|
1483
2216
|
|
|
1484
2217
|
export declare function getAccessibleHosts(ipv4Only?: boolean): string[];
|
|
1485
2218
|
|
|
@@ -1513,13 +2246,10 @@ export declare function getMiniflareObjectBindings(unsafeStickyBlobs: boolean):
|
|
|
1513
2246
|
*
|
|
1514
2247
|
* @param compatibilityDateStr The compatibility date
|
|
1515
2248
|
* @param compatibilityFlags The compatibility flags
|
|
1516
|
-
* @param opts.nodeCompat Whether the legacy node_compat arg is being used
|
|
1517
2249
|
* @returns the mode and flags to indicate specific configuration for validating.
|
|
1518
2250
|
*/
|
|
1519
2251
|
export declare function getNodeCompat(compatibilityDate: string | undefined, // Default to some arbitrary old date
|
|
1520
|
-
compatibilityFlags: string[]
|
|
1521
|
-
nodeCompat?: boolean;
|
|
1522
|
-
}): {
|
|
2252
|
+
compatibilityFlags: string[]): {
|
|
1523
2253
|
mode: NodeJSCompatMode;
|
|
1524
2254
|
hasNodejsAlsFlag: boolean;
|
|
1525
2255
|
hasNodejsCompatFlag: boolean;
|
|
@@ -1543,7 +2273,7 @@ export declare interface GlobalServicesOptions {
|
|
|
1543
2273
|
|
|
1544
2274
|
export declare function globsToRegExps(globs?: string[]): MatcherRegExps;
|
|
1545
2275
|
|
|
1546
|
-
export { Headers }
|
|
2276
|
+
export { Headers_2 as Headers }
|
|
1547
2277
|
|
|
1548
2278
|
export { HeadersInit }
|
|
1549
2279
|
|
|
@@ -1563,10 +2293,12 @@ export declare interface HttpOptions_Header {
|
|
|
1563
2293
|
value?: string;
|
|
1564
2294
|
}
|
|
1565
2295
|
|
|
1566
|
-
export declare
|
|
1567
|
-
HOST
|
|
1568
|
-
PROXY
|
|
1569
|
-
}
|
|
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];
|
|
1570
2302
|
|
|
1571
2303
|
export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
|
|
1572
2304
|
|
|
@@ -1652,6 +2384,7 @@ export declare const KVLimits: {
|
|
|
1652
2384
|
readonly MAX_VALUE_SIZE: number;
|
|
1653
2385
|
readonly MAX_VALUE_SIZE_TEST: 1024;
|
|
1654
2386
|
readonly MAX_METADATA_SIZE: 1024;
|
|
2387
|
+
readonly MAX_BULK_SIZE: number;
|
|
1655
2388
|
};
|
|
1656
2389
|
|
|
1657
2390
|
export declare const kVoid: unique symbol;
|
|
@@ -1738,6 +2471,8 @@ export declare interface MatcherRegExps {
|
|
|
1738
2471
|
|
|
1739
2472
|
export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
|
|
1740
2473
|
|
|
2474
|
+
export declare const MAX_BULK_GET_KEYS = 100;
|
|
2475
|
+
|
|
1741
2476
|
export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
|
|
1742
2477
|
|
|
1743
2478
|
export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
@@ -1749,12 +2484,13 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
|
1749
2484
|
*/
|
|
1750
2485
|
export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
|
|
1751
2486
|
|
|
1752
|
-
|
|
1753
|
-
readonly data: ArrayBuffer |
|
|
2487
|
+
declare class MessageEvent_2 extends Event {
|
|
2488
|
+
readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1754
2489
|
constructor(type: "message", init: {
|
|
1755
|
-
data: ArrayBuffer |
|
|
2490
|
+
data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1756
2491
|
});
|
|
1757
2492
|
}
|
|
2493
|
+
export { MessageEvent_2 as MessageEvent }
|
|
1758
2494
|
|
|
1759
2495
|
export declare function migrateDatabase(log: Log, uniqueKey: string, persistPath: string, namespace: string): Promise<void>;
|
|
1760
2496
|
|
|
@@ -1774,6 +2510,17 @@ export declare class Miniflare {
|
|
|
1774
2510
|
getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
|
|
1775
2511
|
getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
|
|
1776
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>>;
|
|
1777
2524
|
getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
|
|
1778
2525
|
getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
|
|
1779
2526
|
/* Excluded from this release type: _getInternalDurableObjectNamespace */
|
|
@@ -1784,7 +2531,7 @@ export declare class Miniflare {
|
|
|
1784
2531
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
1785
2532
|
}
|
|
1786
2533
|
|
|
1787
|
-
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";
|
|
1788
2535
|
|
|
1789
2536
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
1790
2537
|
readonly code: Code;
|
|
@@ -1799,38 +2546,38 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
|
|
|
1799
2546
|
export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
1800
2547
|
|
|
1801
2548
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
1802
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2549
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1803
2550
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1804
|
-
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>>]>>;
|
|
1805
2552
|
}, "strip", z.ZodTypeAny, {
|
|
1806
|
-
type: "ESModule" | "CommonJS" | "
|
|
2553
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1807
2554
|
path: string;
|
|
1808
|
-
contents?: string | Uint8Array | undefined;
|
|
2555
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1809
2556
|
}, {
|
|
1810
|
-
type: "ESModule" | "CommonJS" | "
|
|
2557
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1811
2558
|
path: string;
|
|
1812
|
-
contents?: string | Uint8Array | undefined;
|
|
2559
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1813
2560
|
}>;
|
|
1814
2561
|
|
|
1815
2562
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
1816
2563
|
|
|
1817
2564
|
export declare const ModuleRuleSchema: z.ZodObject<{
|
|
1818
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2565
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1819
2566
|
include: z.ZodArray<z.ZodString, "many">;
|
|
1820
2567
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
1821
2568
|
}, "strip", z.ZodTypeAny, {
|
|
1822
|
-
type: "ESModule" | "CommonJS" | "
|
|
2569
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1823
2570
|
include: string[];
|
|
1824
2571
|
fallthrough?: boolean | undefined;
|
|
1825
2572
|
}, {
|
|
1826
|
-
type: "ESModule" | "CommonJS" | "
|
|
2573
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1827
2574
|
include: string[];
|
|
1828
2575
|
fallthrough?: boolean | undefined;
|
|
1829
2576
|
}>;
|
|
1830
2577
|
|
|
1831
2578
|
export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
|
|
1832
2579
|
|
|
1833
|
-
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2580
|
+
export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1834
2581
|
|
|
1835
2582
|
export declare class Mutex {
|
|
1836
2583
|
private locked;
|
|
@@ -1853,18 +2600,17 @@ export declare interface Network {
|
|
|
1853
2600
|
tlsOptions?: TlsOptions;
|
|
1854
2601
|
}
|
|
1855
2602
|
|
|
1856
|
-
export declare const NODE_PLATFORM_IMPL: PlatformImpl<
|
|
2603
|
+
export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
|
|
1857
2604
|
|
|
1858
2605
|
/**
|
|
1859
2606
|
* We can provide Node.js compatibility in a number of different modes:
|
|
1860
|
-
* - "legacy" - this mode adds compile-time polyfills that are not well maintained and cannot work with workerd runtime builtins.
|
|
1861
2607
|
* - "als": this mode tells the workerd runtime to enable only the Async Local Storage builtin library (accessible via `node:async_hooks`).
|
|
1862
2608
|
* - "v1" - this mode tells the workerd runtime to enable some Node.js builtin libraries (accessible only via `node:...` imports) but no globals.
|
|
1863
2609
|
* - "v2" - this mode tells the workerd runtime to enable more Node.js builtin libraries (accessible both with and without the `node:` prefix)
|
|
1864
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.
|
|
1865
2611
|
* - null - no Node.js compatibility.
|
|
1866
2612
|
*/
|
|
1867
|
-
export declare type NodeJSCompatMode = "
|
|
2613
|
+
export declare type NodeJSCompatMode = "als" | "v1" | "v2" | null;
|
|
1868
2614
|
|
|
1869
2615
|
export declare class NoOpLog extends Log {
|
|
1870
2616
|
constructor();
|
|
@@ -1886,7 +2632,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
|
|
|
1886
2632
|
|
|
1887
2633
|
export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
|
|
1888
2634
|
|
|
1889
|
-
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>;
|
|
1890
2711
|
|
|
1891
2712
|
export declare type OverloadUnion2<T> = T extends {
|
|
1892
2713
|
(...args: infer P1): infer R1;
|
|
@@ -1982,12 +2803,24 @@ export declare type Persistence = z.infer<typeof PersistenceSchema>;
|
|
|
1982
2803
|
|
|
1983
2804
|
export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
1984
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
|
+
|
|
1985
2818
|
export declare interface PlatformImpl<RS> {
|
|
1986
2819
|
Blob: typeof Blob_2;
|
|
1987
|
-
File: typeof
|
|
1988
|
-
Headers: typeof
|
|
1989
|
-
Request: typeof
|
|
1990
|
-
Response: typeof
|
|
2820
|
+
File: typeof File_3;
|
|
2821
|
+
Headers: typeof Headers_3;
|
|
2822
|
+
Request: typeof Request_5;
|
|
2823
|
+
Response: typeof Response_5;
|
|
1991
2824
|
isReadableStream(value: unknown): value is RS;
|
|
1992
2825
|
bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
|
|
1993
2826
|
unbufferReadableStream(buffer: ArrayBuffer): RS;
|
|
@@ -2010,33 +2843,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2010
2843
|
}
|
|
2011
2844
|
|
|
2012
2845
|
export declare const PLUGINS: {
|
|
2013
|
-
core:
|
|
2846
|
+
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2014
2847
|
modules: z.ZodArray<z.ZodObject<{
|
|
2015
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2848
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2016
2849
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2017
|
-
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>>]>>;
|
|
2018
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2019
|
-
type: "ESModule" | "CommonJS" | "
|
|
2852
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2020
2853
|
path: string;
|
|
2021
|
-
contents?: string | Uint8Array | undefined;
|
|
2854
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2022
2855
|
}, {
|
|
2023
|
-
type: "ESModule" | "CommonJS" | "
|
|
2856
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2024
2857
|
path: string;
|
|
2025
|
-
contents?: string | Uint8Array | undefined;
|
|
2858
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2026
2859
|
}>, "many">;
|
|
2027
2860
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2028
2861
|
}, "strip", z.ZodTypeAny, {
|
|
2029
2862
|
modules: {
|
|
2030
|
-
type: "ESModule" | "CommonJS" | "
|
|
2863
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2031
2864
|
path: string;
|
|
2032
|
-
contents?: string | Uint8Array | undefined;
|
|
2865
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2033
2866
|
}[];
|
|
2034
2867
|
modulesRoot?: string | undefined;
|
|
2035
2868
|
}, {
|
|
2036
2869
|
modules: {
|
|
2037
|
-
type: "ESModule" | "CommonJS" | "
|
|
2870
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2038
2871
|
path: string;
|
|
2039
|
-
contents?: string | Uint8Array | undefined;
|
|
2872
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2040
2873
|
}[];
|
|
2041
2874
|
modulesRoot?: string | undefined;
|
|
2042
2875
|
}>, z.ZodObject<{
|
|
@@ -2044,15 +2877,15 @@ export declare const PLUGINS: {
|
|
|
2044
2877
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2045
2878
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2046
2879
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2047
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2880
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2048
2881
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2049
2882
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2050
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2051
|
-
type: "ESModule" | "CommonJS" | "
|
|
2884
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2052
2885
|
include: string[];
|
|
2053
2886
|
fallthrough?: boolean | undefined;
|
|
2054
2887
|
}, {
|
|
2055
|
-
type: "ESModule" | "CommonJS" | "
|
|
2888
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2056
2889
|
include: string[];
|
|
2057
2890
|
fallthrough?: boolean | undefined;
|
|
2058
2891
|
}>, "many">>;
|
|
@@ -2062,7 +2895,7 @@ export declare const PLUGINS: {
|
|
|
2062
2895
|
scriptPath?: string | undefined;
|
|
2063
2896
|
modules?: boolean | undefined;
|
|
2064
2897
|
modulesRules?: {
|
|
2065
|
-
type: "ESModule" | "CommonJS" | "
|
|
2898
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2066
2899
|
include: string[];
|
|
2067
2900
|
fallthrough?: boolean | undefined;
|
|
2068
2901
|
}[] | undefined;
|
|
@@ -2072,7 +2905,7 @@ export declare const PLUGINS: {
|
|
|
2072
2905
|
scriptPath?: string | undefined;
|
|
2073
2906
|
modules?: boolean | undefined;
|
|
2074
2907
|
modulesRules?: {
|
|
2075
|
-
type: "ESModule" | "CommonJS" | "
|
|
2908
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2076
2909
|
include: string[];
|
|
2077
2910
|
fallthrough?: boolean | undefined;
|
|
2078
2911
|
}[] | undefined;
|
|
@@ -2081,15 +2914,15 @@ export declare const PLUGINS: {
|
|
|
2081
2914
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
2082
2915
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
2083
2916
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2084
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
2917
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2085
2918
|
include: z.ZodArray<z.ZodString, "many">;
|
|
2086
2919
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2087
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2088
|
-
type: "ESModule" | "CommonJS" | "
|
|
2921
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2089
2922
|
include: string[];
|
|
2090
2923
|
fallthrough?: boolean | undefined;
|
|
2091
2924
|
}, {
|
|
2092
|
-
type: "ESModule" | "CommonJS" | "
|
|
2925
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2093
2926
|
include: string[];
|
|
2094
2927
|
fallthrough?: boolean | undefined;
|
|
2095
2928
|
}>, "many">>;
|
|
@@ -2098,7 +2931,7 @@ export declare const PLUGINS: {
|
|
|
2098
2931
|
scriptPath: string;
|
|
2099
2932
|
modules?: boolean | undefined;
|
|
2100
2933
|
modulesRules?: {
|
|
2101
|
-
type: "ESModule" | "CommonJS" | "
|
|
2934
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2102
2935
|
include: string[];
|
|
2103
2936
|
fallthrough?: boolean | undefined;
|
|
2104
2937
|
}[] | undefined;
|
|
@@ -2107,7 +2940,7 @@ export declare const PLUGINS: {
|
|
|
2107
2940
|
scriptPath: string;
|
|
2108
2941
|
modules?: boolean | undefined;
|
|
2109
2942
|
modulesRules?: {
|
|
2110
|
-
type: "ESModule" | "CommonJS" | "
|
|
2943
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2111
2944
|
include: string[];
|
|
2112
2945
|
fallthrough?: boolean | undefined;
|
|
2113
2946
|
}[] | undefined;
|
|
@@ -2117,20 +2950,24 @@ export declare const PLUGINS: {
|
|
|
2117
2950
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2118
2951
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2119
2952
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2953
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2120
2954
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2121
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
2122
|
-
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>>]>>>;
|
|
2123
2957
|
textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
2124
|
-
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
2125
|
-
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2126
|
-
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>]>;
|
|
2127
2961
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2128
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2129
|
-
name: string |
|
|
2964
|
+
name: string | kCurrentWorker_2;
|
|
2130
2965
|
entrypoint?: string | undefined;
|
|
2966
|
+
props?: Record<string, unknown> | undefined;
|
|
2131
2967
|
}, {
|
|
2132
|
-
name: string |
|
|
2968
|
+
name: string | kCurrentWorker_2;
|
|
2133
2969
|
entrypoint?: string | undefined;
|
|
2970
|
+
props?: Record<string, unknown> | undefined;
|
|
2134
2971
|
}>, z.ZodObject<{
|
|
2135
2972
|
network: z.ZodObject<{
|
|
2136
2973
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2149,7 +2986,14 @@ export declare const PLUGINS: {
|
|
|
2149
2986
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2150
2987
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2151
2988
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2152
|
-
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
|
+
}>>;
|
|
2153
2997
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2154
2998
|
}, "strip", z.ZodTypeAny, {
|
|
2155
2999
|
keypair?: {
|
|
@@ -2159,7 +3003,7 @@ export declare const PLUGINS: {
|
|
|
2159
3003
|
requireClientCerts?: boolean | undefined;
|
|
2160
3004
|
trustBrowserCas?: boolean | undefined;
|
|
2161
3005
|
trustedCertificates?: string[] | undefined;
|
|
2162
|
-
minVersion?:
|
|
3006
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2163
3007
|
cipherList?: string | undefined;
|
|
2164
3008
|
}, {
|
|
2165
3009
|
keypair?: {
|
|
@@ -2169,7 +3013,7 @@ export declare const PLUGINS: {
|
|
|
2169
3013
|
requireClientCerts?: boolean | undefined;
|
|
2170
3014
|
trustBrowserCas?: boolean | undefined;
|
|
2171
3015
|
trustedCertificates?: string[] | undefined;
|
|
2172
|
-
minVersion?:
|
|
3016
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2173
3017
|
cipherList?: string | undefined;
|
|
2174
3018
|
}>>;
|
|
2175
3019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2183,7 +3027,7 @@ export declare const PLUGINS: {
|
|
|
2183
3027
|
requireClientCerts?: boolean | undefined;
|
|
2184
3028
|
trustBrowserCas?: boolean | undefined;
|
|
2185
3029
|
trustedCertificates?: string[] | undefined;
|
|
2186
|
-
minVersion?:
|
|
3030
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2187
3031
|
cipherList?: string | undefined;
|
|
2188
3032
|
} | undefined;
|
|
2189
3033
|
}, {
|
|
@@ -2197,7 +3041,7 @@ export declare const PLUGINS: {
|
|
|
2197
3041
|
requireClientCerts?: boolean | undefined;
|
|
2198
3042
|
trustBrowserCas?: boolean | undefined;
|
|
2199
3043
|
trustedCertificates?: string[] | undefined;
|
|
2200
|
-
minVersion?:
|
|
3044
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2201
3045
|
cipherList?: string | undefined;
|
|
2202
3046
|
} | undefined;
|
|
2203
3047
|
}>;
|
|
@@ -2213,7 +3057,7 @@ export declare const PLUGINS: {
|
|
|
2213
3057
|
requireClientCerts?: boolean | undefined;
|
|
2214
3058
|
trustBrowserCas?: boolean | undefined;
|
|
2215
3059
|
trustedCertificates?: string[] | undefined;
|
|
2216
|
-
minVersion?:
|
|
3060
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2217
3061
|
cipherList?: string | undefined;
|
|
2218
3062
|
} | undefined;
|
|
2219
3063
|
};
|
|
@@ -2229,16 +3073,16 @@ export declare const PLUGINS: {
|
|
|
2229
3073
|
requireClientCerts?: boolean | undefined;
|
|
2230
3074
|
trustBrowserCas?: boolean | undefined;
|
|
2231
3075
|
trustedCertificates?: string[] | undefined;
|
|
2232
|
-
minVersion?:
|
|
3076
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2233
3077
|
cipherList?: string | undefined;
|
|
2234
3078
|
} | undefined;
|
|
2235
3079
|
};
|
|
2236
3080
|
}>, z.ZodObject<{
|
|
2237
|
-
external: z.ZodType<
|
|
3081
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2238
3082
|
}, "strip", z.ZodTypeAny, {
|
|
2239
|
-
external:
|
|
3083
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2240
3084
|
}, {
|
|
2241
|
-
external:
|
|
3085
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2242
3086
|
}>, z.ZodObject<{
|
|
2243
3087
|
disk: z.ZodObject<{
|
|
2244
3088
|
path: z.ZodString;
|
|
@@ -2260,29 +3104,32 @@ export declare const PLUGINS: {
|
|
|
2260
3104
|
path: string;
|
|
2261
3105
|
writable?: boolean | undefined;
|
|
2262
3106
|
};
|
|
2263
|
-
}>, 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>>]>>>;
|
|
2264
3108
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2265
3109
|
scriptName: z.ZodString;
|
|
2266
3110
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2267
|
-
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>>>;
|
|
2268
3112
|
}, "strip", z.ZodTypeAny, {
|
|
2269
3113
|
scriptName: string;
|
|
2270
3114
|
entrypoint?: string | undefined;
|
|
2271
|
-
bindings?: Record<string,
|
|
3115
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2272
3116
|
}, {
|
|
2273
3117
|
scriptName: string;
|
|
2274
3118
|
entrypoint?: string | undefined;
|
|
2275
|
-
bindings?: Record<string,
|
|
3119
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2276
3120
|
}>]>>>;
|
|
2277
|
-
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2278
|
-
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>]>;
|
|
2279
3123
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
3124
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2280
3125
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
name: string |
|
|
3126
|
+
name: string | kCurrentWorker_2;
|
|
2282
3127
|
entrypoint?: string | undefined;
|
|
3128
|
+
props?: Record<string, unknown> | undefined;
|
|
2283
3129
|
}, {
|
|
2284
|
-
name: string |
|
|
3130
|
+
name: string | kCurrentWorker_2;
|
|
2285
3131
|
entrypoint?: string | undefined;
|
|
3132
|
+
props?: Record<string, unknown> | undefined;
|
|
2286
3133
|
}>, z.ZodObject<{
|
|
2287
3134
|
network: z.ZodObject<{
|
|
2288
3135
|
allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2301,7 +3148,14 @@ export declare const PLUGINS: {
|
|
|
2301
3148
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2302
3149
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2303
3150
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2304
|
-
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
|
+
}>>;
|
|
2305
3159
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2306
3160
|
}, "strip", z.ZodTypeAny, {
|
|
2307
3161
|
keypair?: {
|
|
@@ -2311,7 +3165,7 @@ export declare const PLUGINS: {
|
|
|
2311
3165
|
requireClientCerts?: boolean | undefined;
|
|
2312
3166
|
trustBrowserCas?: boolean | undefined;
|
|
2313
3167
|
trustedCertificates?: string[] | undefined;
|
|
2314
|
-
minVersion?:
|
|
3168
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2315
3169
|
cipherList?: string | undefined;
|
|
2316
3170
|
}, {
|
|
2317
3171
|
keypair?: {
|
|
@@ -2321,7 +3175,7 @@ export declare const PLUGINS: {
|
|
|
2321
3175
|
requireClientCerts?: boolean | undefined;
|
|
2322
3176
|
trustBrowserCas?: boolean | undefined;
|
|
2323
3177
|
trustedCertificates?: string[] | undefined;
|
|
2324
|
-
minVersion?:
|
|
3178
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2325
3179
|
cipherList?: string | undefined;
|
|
2326
3180
|
}>>;
|
|
2327
3181
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2335,7 +3189,7 @@ export declare const PLUGINS: {
|
|
|
2335
3189
|
requireClientCerts?: boolean | undefined;
|
|
2336
3190
|
trustBrowserCas?: boolean | undefined;
|
|
2337
3191
|
trustedCertificates?: string[] | undefined;
|
|
2338
|
-
minVersion?:
|
|
3192
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2339
3193
|
cipherList?: string | undefined;
|
|
2340
3194
|
} | undefined;
|
|
2341
3195
|
}, {
|
|
@@ -2349,7 +3203,7 @@ export declare const PLUGINS: {
|
|
|
2349
3203
|
requireClientCerts?: boolean | undefined;
|
|
2350
3204
|
trustBrowserCas?: boolean | undefined;
|
|
2351
3205
|
trustedCertificates?: string[] | undefined;
|
|
2352
|
-
minVersion?:
|
|
3206
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2353
3207
|
cipherList?: string | undefined;
|
|
2354
3208
|
} | undefined;
|
|
2355
3209
|
}>;
|
|
@@ -2365,7 +3219,7 @@ export declare const PLUGINS: {
|
|
|
2365
3219
|
requireClientCerts?: boolean | undefined;
|
|
2366
3220
|
trustBrowserCas?: boolean | undefined;
|
|
2367
3221
|
trustedCertificates?: string[] | undefined;
|
|
2368
|
-
minVersion?:
|
|
3222
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2369
3223
|
cipherList?: string | undefined;
|
|
2370
3224
|
} | undefined;
|
|
2371
3225
|
};
|
|
@@ -2381,16 +3235,16 @@ export declare const PLUGINS: {
|
|
|
2381
3235
|
requireClientCerts?: boolean | undefined;
|
|
2382
3236
|
trustBrowserCas?: boolean | undefined;
|
|
2383
3237
|
trustedCertificates?: string[] | undefined;
|
|
2384
|
-
minVersion?:
|
|
3238
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2385
3239
|
cipherList?: string | undefined;
|
|
2386
3240
|
} | undefined;
|
|
2387
3241
|
};
|
|
2388
3242
|
}>, z.ZodObject<{
|
|
2389
|
-
external: z.ZodType<
|
|
3243
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2390
3244
|
}, "strip", z.ZodTypeAny, {
|
|
2391
|
-
external:
|
|
3245
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2392
3246
|
}, {
|
|
2393
|
-
external:
|
|
3247
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2394
3248
|
}>, z.ZodObject<{
|
|
2395
3249
|
disk: z.ZodObject<{
|
|
2396
3250
|
path: z.ZodString;
|
|
@@ -2412,7 +3266,7 @@ export declare const PLUGINS: {
|
|
|
2412
3266
|
path: string;
|
|
2413
3267
|
writable?: boolean | undefined;
|
|
2414
3268
|
};
|
|
2415
|
-
}>, 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>>]>>;
|
|
2416
3270
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2417
3271
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2418
3272
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2434,19 +3288,170 @@ export declare const PLUGINS: {
|
|
|
2434
3288
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
2435
3289
|
unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
|
|
2436
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">>;
|
|
2437
3440
|
}, "strip", z.ZodTypeAny, {
|
|
2438
3441
|
name?: string | undefined;
|
|
2439
3442
|
rootPath?: undefined;
|
|
2440
3443
|
compatibilityDate?: string | undefined;
|
|
2441
3444
|
compatibilityFlags?: string[] | undefined;
|
|
3445
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2442
3446
|
routes?: string[] | undefined;
|
|
2443
|
-
bindings?: Record<string,
|
|
2444
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3447
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3448
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2445
3449
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2446
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2447
|
-
serviceBindings?: Record<string, string |
|
|
2448
|
-
name: string |
|
|
3450
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3451
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3452
|
+
name: string | kCurrentWorker_2;
|
|
2449
3453
|
entrypoint?: string | undefined;
|
|
3454
|
+
props?: Record<string, unknown> | undefined;
|
|
2450
3455
|
} | {
|
|
2451
3456
|
network: {
|
|
2452
3457
|
allow?: string[] | undefined;
|
|
@@ -2459,26 +3464,27 @@ export declare const PLUGINS: {
|
|
|
2459
3464
|
requireClientCerts?: boolean | undefined;
|
|
2460
3465
|
trustBrowserCas?: boolean | undefined;
|
|
2461
3466
|
trustedCertificates?: string[] | undefined;
|
|
2462
|
-
minVersion?:
|
|
3467
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2463
3468
|
cipherList?: string | undefined;
|
|
2464
3469
|
} | undefined;
|
|
2465
3470
|
};
|
|
2466
3471
|
} | {
|
|
2467
|
-
external:
|
|
3472
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2468
3473
|
} | {
|
|
2469
3474
|
disk: {
|
|
2470
3475
|
path: string;
|
|
2471
3476
|
writable?: boolean | undefined;
|
|
2472
3477
|
};
|
|
2473
|
-
} | ((request:
|
|
3478
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2474
3479
|
wrappedBindings?: Record<string, string | {
|
|
2475
3480
|
scriptName: string;
|
|
2476
3481
|
entrypoint?: string | undefined;
|
|
2477
|
-
bindings?: Record<string,
|
|
3482
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2478
3483
|
}> | undefined;
|
|
2479
|
-
outboundService?: string |
|
|
2480
|
-
name: string |
|
|
3484
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3485
|
+
name: string | kCurrentWorker_2;
|
|
2481
3486
|
entrypoint?: string | undefined;
|
|
3487
|
+
props?: Record<string, unknown> | undefined;
|
|
2482
3488
|
} | {
|
|
2483
3489
|
network: {
|
|
2484
3490
|
allow?: string[] | undefined;
|
|
@@ -2491,18 +3497,18 @@ export declare const PLUGINS: {
|
|
|
2491
3497
|
requireClientCerts?: boolean | undefined;
|
|
2492
3498
|
trustBrowserCas?: boolean | undefined;
|
|
2493
3499
|
trustedCertificates?: string[] | undefined;
|
|
2494
|
-
minVersion?:
|
|
3500
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2495
3501
|
cipherList?: string | undefined;
|
|
2496
3502
|
} | undefined;
|
|
2497
3503
|
};
|
|
2498
3504
|
} | {
|
|
2499
|
-
external:
|
|
3505
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2500
3506
|
} | {
|
|
2501
3507
|
disk: {
|
|
2502
3508
|
path: string;
|
|
2503
3509
|
writable?: boolean | undefined;
|
|
2504
3510
|
};
|
|
2505
|
-
} | ((request:
|
|
3511
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2506
3512
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2507
3513
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2508
3514
|
unsafeDirectSockets?: {
|
|
@@ -2514,19 +3520,49 @@ export declare const PLUGINS: {
|
|
|
2514
3520
|
unsafeEvalBinding?: string | undefined;
|
|
2515
3521
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2516
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;
|
|
2517
3551
|
}, {
|
|
2518
3552
|
name?: string | undefined;
|
|
2519
3553
|
rootPath?: string | undefined;
|
|
2520
3554
|
compatibilityDate?: string | undefined;
|
|
2521
3555
|
compatibilityFlags?: string[] | undefined;
|
|
3556
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2522
3557
|
routes?: string[] | undefined;
|
|
2523
|
-
bindings?: Record<string,
|
|
2524
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3558
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3559
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2525
3560
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2526
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2527
|
-
serviceBindings?: Record<string, string |
|
|
2528
|
-
name: string |
|
|
3561
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3562
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3563
|
+
name: string | kCurrentWorker_2;
|
|
2529
3564
|
entrypoint?: string | undefined;
|
|
3565
|
+
props?: Record<string, unknown> | undefined;
|
|
2530
3566
|
} | {
|
|
2531
3567
|
network: {
|
|
2532
3568
|
allow?: string[] | undefined;
|
|
@@ -2539,26 +3575,27 @@ export declare const PLUGINS: {
|
|
|
2539
3575
|
requireClientCerts?: boolean | undefined;
|
|
2540
3576
|
trustBrowserCas?: boolean | undefined;
|
|
2541
3577
|
trustedCertificates?: string[] | undefined;
|
|
2542
|
-
minVersion?:
|
|
3578
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2543
3579
|
cipherList?: string | undefined;
|
|
2544
3580
|
} | undefined;
|
|
2545
3581
|
};
|
|
2546
3582
|
} | {
|
|
2547
|
-
external:
|
|
3583
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2548
3584
|
} | {
|
|
2549
3585
|
disk: {
|
|
2550
3586
|
path: string;
|
|
2551
3587
|
writable?: boolean | undefined;
|
|
2552
3588
|
};
|
|
2553
|
-
} | ((request:
|
|
3589
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2554
3590
|
wrappedBindings?: Record<string, string | {
|
|
2555
3591
|
scriptName: string;
|
|
2556
3592
|
entrypoint?: string | undefined;
|
|
2557
|
-
bindings?: Record<string,
|
|
3593
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2558
3594
|
}> | undefined;
|
|
2559
|
-
outboundService?: string |
|
|
2560
|
-
name: string |
|
|
3595
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3596
|
+
name: string | kCurrentWorker_2;
|
|
2561
3597
|
entrypoint?: string | undefined;
|
|
3598
|
+
props?: Record<string, unknown> | undefined;
|
|
2562
3599
|
} | {
|
|
2563
3600
|
network: {
|
|
2564
3601
|
allow?: string[] | undefined;
|
|
@@ -2571,18 +3608,18 @@ export declare const PLUGINS: {
|
|
|
2571
3608
|
requireClientCerts?: boolean | undefined;
|
|
2572
3609
|
trustBrowserCas?: boolean | undefined;
|
|
2573
3610
|
trustedCertificates?: string[] | undefined;
|
|
2574
|
-
minVersion?:
|
|
3611
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2575
3612
|
cipherList?: string | undefined;
|
|
2576
3613
|
} | undefined;
|
|
2577
3614
|
};
|
|
2578
3615
|
} | {
|
|
2579
|
-
external:
|
|
3616
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2580
3617
|
} | {
|
|
2581
3618
|
disk: {
|
|
2582
3619
|
path: string;
|
|
2583
3620
|
writable?: boolean | undefined;
|
|
2584
3621
|
};
|
|
2585
|
-
} | ((request:
|
|
3622
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2586
3623
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2587
3624
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2588
3625
|
unsafeDirectSockets?: {
|
|
@@ -2594,11 +3631,39 @@ export declare const PLUGINS: {
|
|
|
2594
3631
|
unsafeEvalBinding?: string | undefined;
|
|
2595
3632
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2596
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;
|
|
2597
3662
|
}>>, ({
|
|
2598
3663
|
modules: {
|
|
2599
|
-
type: "ESModule" | "CommonJS" | "
|
|
3664
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2600
3665
|
path: string;
|
|
2601
|
-
contents?: string | Uint8Array | undefined;
|
|
3666
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2602
3667
|
}[];
|
|
2603
3668
|
modulesRoot?: string | undefined;
|
|
2604
3669
|
} & {
|
|
@@ -2606,14 +3671,16 @@ export declare const PLUGINS: {
|
|
|
2606
3671
|
rootPath?: undefined;
|
|
2607
3672
|
compatibilityDate?: string | undefined;
|
|
2608
3673
|
compatibilityFlags?: string[] | undefined;
|
|
3674
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2609
3675
|
routes?: string[] | undefined;
|
|
2610
|
-
bindings?: Record<string,
|
|
2611
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3676
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3677
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2612
3678
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2613
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2614
|
-
serviceBindings?: Record<string, string |
|
|
2615
|
-
name: string |
|
|
3679
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3680
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3681
|
+
name: string | kCurrentWorker_2;
|
|
2616
3682
|
entrypoint?: string | undefined;
|
|
3683
|
+
props?: Record<string, unknown> | undefined;
|
|
2617
3684
|
} | {
|
|
2618
3685
|
network: {
|
|
2619
3686
|
allow?: string[] | undefined;
|
|
@@ -2626,26 +3693,27 @@ export declare const PLUGINS: {
|
|
|
2626
3693
|
requireClientCerts?: boolean | undefined;
|
|
2627
3694
|
trustBrowserCas?: boolean | undefined;
|
|
2628
3695
|
trustedCertificates?: string[] | undefined;
|
|
2629
|
-
minVersion?:
|
|
3696
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2630
3697
|
cipherList?: string | undefined;
|
|
2631
3698
|
} | undefined;
|
|
2632
3699
|
};
|
|
2633
3700
|
} | {
|
|
2634
|
-
external:
|
|
3701
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2635
3702
|
} | {
|
|
2636
3703
|
disk: {
|
|
2637
3704
|
path: string;
|
|
2638
3705
|
writable?: boolean | undefined;
|
|
2639
3706
|
};
|
|
2640
|
-
} | ((request:
|
|
3707
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2641
3708
|
wrappedBindings?: Record<string, string | {
|
|
2642
3709
|
scriptName: string;
|
|
2643
3710
|
entrypoint?: string | undefined;
|
|
2644
|
-
bindings?: Record<string,
|
|
3711
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2645
3712
|
}> | undefined;
|
|
2646
|
-
outboundService?: string |
|
|
2647
|
-
name: string |
|
|
3713
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3714
|
+
name: string | kCurrentWorker_2;
|
|
2648
3715
|
entrypoint?: string | undefined;
|
|
3716
|
+
props?: Record<string, unknown> | undefined;
|
|
2649
3717
|
} | {
|
|
2650
3718
|
network: {
|
|
2651
3719
|
allow?: string[] | undefined;
|
|
@@ -2658,18 +3726,18 @@ export declare const PLUGINS: {
|
|
|
2658
3726
|
requireClientCerts?: boolean | undefined;
|
|
2659
3727
|
trustBrowserCas?: boolean | undefined;
|
|
2660
3728
|
trustedCertificates?: string[] | undefined;
|
|
2661
|
-
minVersion?:
|
|
3729
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2662
3730
|
cipherList?: string | undefined;
|
|
2663
3731
|
} | undefined;
|
|
2664
3732
|
};
|
|
2665
3733
|
} | {
|
|
2666
|
-
external:
|
|
3734
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2667
3735
|
} | {
|
|
2668
3736
|
disk: {
|
|
2669
3737
|
path: string;
|
|
2670
3738
|
writable?: boolean | undefined;
|
|
2671
3739
|
};
|
|
2672
|
-
} | ((request:
|
|
3740
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2673
3741
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2674
3742
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2675
3743
|
unsafeDirectSockets?: {
|
|
@@ -2681,12 +3749,40 @@ export declare const PLUGINS: {
|
|
|
2681
3749
|
unsafeEvalBinding?: string | undefined;
|
|
2682
3750
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2683
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;
|
|
2684
3780
|
}) | ({
|
|
2685
3781
|
script: string;
|
|
2686
3782
|
scriptPath?: string | undefined;
|
|
2687
3783
|
modules?: boolean | undefined;
|
|
2688
3784
|
modulesRules?: {
|
|
2689
|
-
type: "ESModule" | "CommonJS" | "
|
|
3785
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2690
3786
|
include: string[];
|
|
2691
3787
|
fallthrough?: boolean | undefined;
|
|
2692
3788
|
}[] | undefined;
|
|
@@ -2696,14 +3792,16 @@ export declare const PLUGINS: {
|
|
|
2696
3792
|
rootPath?: undefined;
|
|
2697
3793
|
compatibilityDate?: string | undefined;
|
|
2698
3794
|
compatibilityFlags?: string[] | undefined;
|
|
3795
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2699
3796
|
routes?: string[] | undefined;
|
|
2700
|
-
bindings?: Record<string,
|
|
2701
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3797
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3798
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2702
3799
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2703
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2704
|
-
serviceBindings?: Record<string, string |
|
|
2705
|
-
name: string |
|
|
3800
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3801
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3802
|
+
name: string | kCurrentWorker_2;
|
|
2706
3803
|
entrypoint?: string | undefined;
|
|
3804
|
+
props?: Record<string, unknown> | undefined;
|
|
2707
3805
|
} | {
|
|
2708
3806
|
network: {
|
|
2709
3807
|
allow?: string[] | undefined;
|
|
@@ -2716,26 +3814,27 @@ export declare const PLUGINS: {
|
|
|
2716
3814
|
requireClientCerts?: boolean | undefined;
|
|
2717
3815
|
trustBrowserCas?: boolean | undefined;
|
|
2718
3816
|
trustedCertificates?: string[] | undefined;
|
|
2719
|
-
minVersion?:
|
|
3817
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2720
3818
|
cipherList?: string | undefined;
|
|
2721
3819
|
} | undefined;
|
|
2722
3820
|
};
|
|
2723
3821
|
} | {
|
|
2724
|
-
external:
|
|
3822
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2725
3823
|
} | {
|
|
2726
3824
|
disk: {
|
|
2727
3825
|
path: string;
|
|
2728
3826
|
writable?: boolean | undefined;
|
|
2729
3827
|
};
|
|
2730
|
-
} | ((request:
|
|
3828
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2731
3829
|
wrappedBindings?: Record<string, string | {
|
|
2732
3830
|
scriptName: string;
|
|
2733
3831
|
entrypoint?: string | undefined;
|
|
2734
|
-
bindings?: Record<string,
|
|
3832
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2735
3833
|
}> | undefined;
|
|
2736
|
-
outboundService?: string |
|
|
2737
|
-
name: string |
|
|
3834
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3835
|
+
name: string | kCurrentWorker_2;
|
|
2738
3836
|
entrypoint?: string | undefined;
|
|
3837
|
+
props?: Record<string, unknown> | undefined;
|
|
2739
3838
|
} | {
|
|
2740
3839
|
network: {
|
|
2741
3840
|
allow?: string[] | undefined;
|
|
@@ -2748,18 +3847,18 @@ export declare const PLUGINS: {
|
|
|
2748
3847
|
requireClientCerts?: boolean | undefined;
|
|
2749
3848
|
trustBrowserCas?: boolean | undefined;
|
|
2750
3849
|
trustedCertificates?: string[] | undefined;
|
|
2751
|
-
minVersion?:
|
|
3850
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2752
3851
|
cipherList?: string | undefined;
|
|
2753
3852
|
} | undefined;
|
|
2754
3853
|
};
|
|
2755
3854
|
} | {
|
|
2756
|
-
external:
|
|
3855
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2757
3856
|
} | {
|
|
2758
3857
|
disk: {
|
|
2759
3858
|
path: string;
|
|
2760
3859
|
writable?: boolean | undefined;
|
|
2761
3860
|
};
|
|
2762
|
-
} | ((request:
|
|
3861
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2763
3862
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2764
3863
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2765
3864
|
unsafeDirectSockets?: {
|
|
@@ -2771,11 +3870,39 @@ export declare const PLUGINS: {
|
|
|
2771
3870
|
unsafeEvalBinding?: string | undefined;
|
|
2772
3871
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2773
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;
|
|
2774
3901
|
}) | ({
|
|
2775
3902
|
scriptPath: string;
|
|
2776
3903
|
modules?: boolean | undefined;
|
|
2777
3904
|
modulesRules?: {
|
|
2778
|
-
type: "ESModule" | "CommonJS" | "
|
|
3905
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2779
3906
|
include: string[];
|
|
2780
3907
|
fallthrough?: boolean | undefined;
|
|
2781
3908
|
}[] | undefined;
|
|
@@ -2785,14 +3912,16 @@ export declare const PLUGINS: {
|
|
|
2785
3912
|
rootPath?: undefined;
|
|
2786
3913
|
compatibilityDate?: string | undefined;
|
|
2787
3914
|
compatibilityFlags?: string[] | undefined;
|
|
3915
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2788
3916
|
routes?: string[] | undefined;
|
|
2789
|
-
bindings?: Record<string,
|
|
2790
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3917
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3918
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2791
3919
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2792
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2793
|
-
serviceBindings?: Record<string, string |
|
|
2794
|
-
name: string |
|
|
3920
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3921
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3922
|
+
name: string | kCurrentWorker_2;
|
|
2795
3923
|
entrypoint?: string | undefined;
|
|
3924
|
+
props?: Record<string, unknown> | undefined;
|
|
2796
3925
|
} | {
|
|
2797
3926
|
network: {
|
|
2798
3927
|
allow?: string[] | undefined;
|
|
@@ -2805,26 +3934,27 @@ export declare const PLUGINS: {
|
|
|
2805
3934
|
requireClientCerts?: boolean | undefined;
|
|
2806
3935
|
trustBrowserCas?: boolean | undefined;
|
|
2807
3936
|
trustedCertificates?: string[] | undefined;
|
|
2808
|
-
minVersion?:
|
|
3937
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2809
3938
|
cipherList?: string | undefined;
|
|
2810
3939
|
} | undefined;
|
|
2811
3940
|
};
|
|
2812
3941
|
} | {
|
|
2813
|
-
external:
|
|
3942
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2814
3943
|
} | {
|
|
2815
3944
|
disk: {
|
|
2816
3945
|
path: string;
|
|
2817
3946
|
writable?: boolean | undefined;
|
|
2818
3947
|
};
|
|
2819
|
-
} | ((request:
|
|
3948
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2820
3949
|
wrappedBindings?: Record<string, string | {
|
|
2821
3950
|
scriptName: string;
|
|
2822
3951
|
entrypoint?: string | undefined;
|
|
2823
|
-
bindings?: Record<string,
|
|
3952
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2824
3953
|
}> | undefined;
|
|
2825
|
-
outboundService?: string |
|
|
2826
|
-
name: string |
|
|
3954
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3955
|
+
name: string | kCurrentWorker_2;
|
|
2827
3956
|
entrypoint?: string | undefined;
|
|
3957
|
+
props?: Record<string, unknown> | undefined;
|
|
2828
3958
|
} | {
|
|
2829
3959
|
network: {
|
|
2830
3960
|
allow?: string[] | undefined;
|
|
@@ -2837,18 +3967,18 @@ export declare const PLUGINS: {
|
|
|
2837
3967
|
requireClientCerts?: boolean | undefined;
|
|
2838
3968
|
trustBrowserCas?: boolean | undefined;
|
|
2839
3969
|
trustedCertificates?: string[] | undefined;
|
|
2840
|
-
minVersion?:
|
|
3970
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2841
3971
|
cipherList?: string | undefined;
|
|
2842
3972
|
} | undefined;
|
|
2843
3973
|
};
|
|
2844
3974
|
} | {
|
|
2845
|
-
external:
|
|
3975
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2846
3976
|
} | {
|
|
2847
3977
|
disk: {
|
|
2848
3978
|
path: string;
|
|
2849
3979
|
writable?: boolean | undefined;
|
|
2850
3980
|
};
|
|
2851
|
-
} | ((request:
|
|
3981
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2852
3982
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2853
3983
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2854
3984
|
unsafeDirectSockets?: {
|
|
@@ -2860,11 +3990,39 @@ export declare const PLUGINS: {
|
|
|
2860
3990
|
unsafeEvalBinding?: string | undefined;
|
|
2861
3991
|
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2862
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;
|
|
2863
4021
|
}), ({
|
|
2864
4022
|
modules: {
|
|
2865
|
-
type: "ESModule" | "CommonJS" | "
|
|
4023
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2866
4024
|
path: string;
|
|
2867
|
-
contents?: string | Uint8Array | undefined;
|
|
4025
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2868
4026
|
}[];
|
|
2869
4027
|
modulesRoot?: string | undefined;
|
|
2870
4028
|
} | {
|
|
@@ -2872,7 +4030,7 @@ export declare const PLUGINS: {
|
|
|
2872
4030
|
scriptPath?: string | undefined;
|
|
2873
4031
|
modules?: boolean | undefined;
|
|
2874
4032
|
modulesRules?: {
|
|
2875
|
-
type: "ESModule" | "CommonJS" | "
|
|
4033
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2876
4034
|
include: string[];
|
|
2877
4035
|
fallthrough?: boolean | undefined;
|
|
2878
4036
|
}[] | undefined;
|
|
@@ -2881,7 +4039,7 @@ export declare const PLUGINS: {
|
|
|
2881
4039
|
scriptPath: string;
|
|
2882
4040
|
modules?: boolean | undefined;
|
|
2883
4041
|
modulesRules?: {
|
|
2884
|
-
type: "ESModule" | "CommonJS" | "
|
|
4042
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2885
4043
|
include: string[];
|
|
2886
4044
|
fallthrough?: boolean | undefined;
|
|
2887
4045
|
}[] | undefined;
|
|
@@ -2891,14 +4049,16 @@ export declare const PLUGINS: {
|
|
|
2891
4049
|
rootPath?: string | undefined;
|
|
2892
4050
|
compatibilityDate?: string | undefined;
|
|
2893
4051
|
compatibilityFlags?: string[] | undefined;
|
|
4052
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2894
4053
|
routes?: string[] | undefined;
|
|
2895
|
-
bindings?: Record<string,
|
|
2896
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
4054
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
4055
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2897
4056
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2898
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2899
|
-
serviceBindings?: Record<string, string |
|
|
2900
|
-
name: string |
|
|
4057
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
4058
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
4059
|
+
name: string | kCurrentWorker_2;
|
|
2901
4060
|
entrypoint?: string | undefined;
|
|
4061
|
+
props?: Record<string, unknown> | undefined;
|
|
2902
4062
|
} | {
|
|
2903
4063
|
network: {
|
|
2904
4064
|
allow?: string[] | undefined;
|
|
@@ -2911,26 +4071,66 @@ export declare const PLUGINS: {
|
|
|
2911
4071
|
requireClientCerts?: boolean | undefined;
|
|
2912
4072
|
trustBrowserCas?: boolean | undefined;
|
|
2913
4073
|
trustedCertificates?: string[] | undefined;
|
|
2914
|
-
minVersion?:
|
|
4074
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2915
4075
|
cipherList?: string | undefined;
|
|
2916
4076
|
} | undefined;
|
|
2917
4077
|
};
|
|
2918
4078
|
} | {
|
|
2919
|
-
external:
|
|
4079
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2920
4080
|
} | {
|
|
2921
4081
|
disk: {
|
|
2922
4082
|
path: string;
|
|
2923
4083
|
writable?: boolean | undefined;
|
|
2924
4084
|
};
|
|
2925
|
-
} | ((request:
|
|
4085
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2926
4086
|
wrappedBindings?: Record<string, string | {
|
|
2927
4087
|
scriptName: string;
|
|
2928
4088
|
entrypoint?: string | undefined;
|
|
2929
|
-
bindings?: Record<string,
|
|
2930
|
-
}> | undefined;
|
|
2931
|
-
outboundService?: string |
|
|
2932
|
-
name: string |
|
|
4089
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
4090
|
+
}> | undefined;
|
|
4091
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
4092
|
+
name: string | kCurrentWorker_2;
|
|
4093
|
+
entrypoint?: string | undefined;
|
|
4094
|
+
props?: Record<string, unknown> | undefined;
|
|
4095
|
+
} | {
|
|
4096
|
+
network: {
|
|
4097
|
+
allow?: string[] | undefined;
|
|
4098
|
+
deny?: string[] | undefined;
|
|
4099
|
+
tlsOptions?: {
|
|
4100
|
+
keypair?: {
|
|
4101
|
+
privateKey?: string | undefined;
|
|
4102
|
+
certificateChain?: string | undefined;
|
|
4103
|
+
} | undefined;
|
|
4104
|
+
requireClientCerts?: boolean | undefined;
|
|
4105
|
+
trustBrowserCas?: boolean | undefined;
|
|
4106
|
+
trustedCertificates?: string[] | undefined;
|
|
4107
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
4108
|
+
cipherList?: string | undefined;
|
|
4109
|
+
} | undefined;
|
|
4110
|
+
};
|
|
4111
|
+
} | {
|
|
4112
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
4113
|
+
} | {
|
|
4114
|
+
disk: {
|
|
4115
|
+
path: string;
|
|
4116
|
+
writable?: boolean | undefined;
|
|
4117
|
+
};
|
|
4118
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
4119
|
+
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
4120
|
+
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
4121
|
+
unsafeDirectSockets?: {
|
|
4122
|
+
host?: string | undefined;
|
|
4123
|
+
port?: number | undefined;
|
|
4124
|
+
entrypoint?: string | undefined;
|
|
4125
|
+
proxy?: boolean | undefined;
|
|
4126
|
+
}[] | undefined;
|
|
4127
|
+
unsafeEvalBinding?: string | undefined;
|
|
4128
|
+
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
4129
|
+
hasAssetsAndIsVitest?: boolean | undefined;
|
|
4130
|
+
tails?: (string | kCurrentWorker_2 | {
|
|
4131
|
+
name: string | kCurrentWorker_2;
|
|
2933
4132
|
entrypoint?: string | undefined;
|
|
4133
|
+
props?: Record<string, unknown> | undefined;
|
|
2934
4134
|
} | {
|
|
2935
4135
|
network: {
|
|
2936
4136
|
allow?: string[] | undefined;
|
|
@@ -2943,29 +4143,18 @@ export declare const PLUGINS: {
|
|
|
2943
4143
|
requireClientCerts?: boolean | undefined;
|
|
2944
4144
|
trustBrowserCas?: boolean | undefined;
|
|
2945
4145
|
trustedCertificates?: string[] | undefined;
|
|
2946
|
-
minVersion?:
|
|
4146
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2947
4147
|
cipherList?: string | undefined;
|
|
2948
4148
|
} | undefined;
|
|
2949
4149
|
};
|
|
2950
4150
|
} | {
|
|
2951
|
-
external:
|
|
4151
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2952
4152
|
} | {
|
|
2953
4153
|
disk: {
|
|
2954
4154
|
path: string;
|
|
2955
4155
|
writable?: boolean | undefined;
|
|
2956
4156
|
};
|
|
2957
|
-
} | ((request:
|
|
2958
|
-
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2959
|
-
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2960
|
-
unsafeDirectSockets?: {
|
|
2961
|
-
host?: string | undefined;
|
|
2962
|
-
port?: number | undefined;
|
|
2963
|
-
entrypoint?: string | undefined;
|
|
2964
|
-
proxy?: boolean | undefined;
|
|
2965
|
-
}[] | undefined;
|
|
2966
|
-
unsafeEvalBinding?: string | undefined;
|
|
2967
|
-
unsafeUseModuleFallbackService?: boolean | undefined;
|
|
2968
|
-
hasAssetsAndIsVitest?: boolean | undefined;
|
|
4157
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
|
|
2969
4158
|
}>, z.ZodObject<{
|
|
2970
4159
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2971
4160
|
host: z.ZodOptional<z.ZodString>;
|
|
@@ -2977,15 +4166,18 @@ export declare const PLUGINS: {
|
|
|
2977
4166
|
httpsCertPath: z.ZodOptional<z.ZodString>;
|
|
2978
4167
|
inspectorPort: z.ZodOptional<z.ZodNumber>;
|
|
2979
4168
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
2980
|
-
log: z.ZodOptional<z.ZodType<
|
|
4169
|
+
log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
|
|
2981
4170
|
handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
|
|
2982
4171
|
upstream: z.ZodOptional<z.ZodString>;
|
|
2983
4172
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2984
4173
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
2985
4174
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
2986
|
-
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>>>;
|
|
2987
4176
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
4177
|
+
unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
+
logRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2988
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4180
|
+
logRequests: boolean;
|
|
2989
4181
|
rootPath?: undefined;
|
|
2990
4182
|
host?: string | undefined;
|
|
2991
4183
|
port?: number | undefined;
|
|
@@ -2996,14 +4188,15 @@ export declare const PLUGINS: {
|
|
|
2996
4188
|
httpsCertPath?: string | undefined;
|
|
2997
4189
|
inspectorPort?: number | undefined;
|
|
2998
4190
|
verbose?: boolean | undefined;
|
|
2999
|
-
log?:
|
|
4191
|
+
log?: Log_2 | undefined;
|
|
3000
4192
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3001
4193
|
upstream?: string | undefined;
|
|
3002
4194
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3003
4195
|
liveReload?: boolean | undefined;
|
|
3004
4196
|
unsafeProxySharedSecret?: string | undefined;
|
|
3005
|
-
unsafeModuleFallbackService?: ((request:
|
|
4197
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3006
4198
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4199
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
3007
4200
|
}, {
|
|
3008
4201
|
rootPath?: string | undefined;
|
|
3009
4202
|
host?: string | undefined;
|
|
@@ -3015,16 +4208,18 @@ export declare const PLUGINS: {
|
|
|
3015
4208
|
httpsCertPath?: string | undefined;
|
|
3016
4209
|
inspectorPort?: number | undefined;
|
|
3017
4210
|
verbose?: boolean | undefined;
|
|
3018
|
-
log?:
|
|
4211
|
+
log?: Log_2 | undefined;
|
|
3019
4212
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3020
4213
|
upstream?: string | undefined;
|
|
3021
4214
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3022
4215
|
liveReload?: boolean | undefined;
|
|
3023
4216
|
unsafeProxySharedSecret?: string | undefined;
|
|
3024
|
-
unsafeModuleFallbackService?: ((request:
|
|
4217
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3025
4218
|
unsafeStickyBlobs?: boolean | undefined;
|
|
4219
|
+
unsafeTriggerHandlers?: boolean | undefined;
|
|
4220
|
+
logRequests?: boolean | undefined;
|
|
3026
4221
|
}>>;
|
|
3027
|
-
cache:
|
|
4222
|
+
cache: Plugin_2<z.ZodObject<{
|
|
3028
4223
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
3029
4224
|
cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
|
|
3030
4225
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3040,7 +4235,7 @@ export declare const PLUGINS: {
|
|
|
3040
4235
|
}, {
|
|
3041
4236
|
cachePersist?: string | boolean | undefined;
|
|
3042
4237
|
}>>;
|
|
3043
|
-
d1:
|
|
4238
|
+
d1: Plugin_2<z.ZodObject<{
|
|
3044
4239
|
d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3045
4240
|
}, "strip", z.ZodTypeAny, {
|
|
3046
4241
|
d1Databases?: string[] | Record<string, string> | undefined;
|
|
@@ -3053,24 +4248,24 @@ export declare const PLUGINS: {
|
|
|
3053
4248
|
}, {
|
|
3054
4249
|
d1Persist?: string | boolean | undefined;
|
|
3055
4250
|
}>>;
|
|
3056
|
-
do:
|
|
4251
|
+
do: Plugin_2<z.ZodObject<{
|
|
3057
4252
|
durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3058
4253
|
className: z.ZodString;
|
|
3059
4254
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
3060
4255
|
useSQLite: z.ZodOptional<z.ZodBoolean>;
|
|
3061
|
-
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
4256
|
+
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
|
|
3062
4257
|
unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
|
|
3063
4258
|
}, "strip", z.ZodTypeAny, {
|
|
3064
4259
|
className: string;
|
|
3065
4260
|
scriptName?: string | undefined;
|
|
3066
4261
|
useSQLite?: boolean | undefined;
|
|
3067
|
-
unsafeUniqueKey?: string |
|
|
4262
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3068
4263
|
unsafePreventEviction?: boolean | undefined;
|
|
3069
4264
|
}, {
|
|
3070
4265
|
className: string;
|
|
3071
4266
|
scriptName?: string | undefined;
|
|
3072
4267
|
useSQLite?: boolean | undefined;
|
|
3073
|
-
unsafeUniqueKey?: string |
|
|
4268
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3074
4269
|
unsafePreventEviction?: boolean | undefined;
|
|
3075
4270
|
}>]>>>;
|
|
3076
4271
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3078,7 +4273,7 @@ export declare const PLUGINS: {
|
|
|
3078
4273
|
className: string;
|
|
3079
4274
|
scriptName?: string | undefined;
|
|
3080
4275
|
useSQLite?: boolean | undefined;
|
|
3081
|
-
unsafeUniqueKey?: string |
|
|
4276
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3082
4277
|
unsafePreventEviction?: boolean | undefined;
|
|
3083
4278
|
}> | undefined;
|
|
3084
4279
|
}, {
|
|
@@ -3086,7 +4281,7 @@ export declare const PLUGINS: {
|
|
|
3086
4281
|
className: string;
|
|
3087
4282
|
scriptName?: string | undefined;
|
|
3088
4283
|
useSQLite?: boolean | undefined;
|
|
3089
|
-
unsafeUniqueKey?: string |
|
|
4284
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3090
4285
|
unsafePreventEviction?: boolean | undefined;
|
|
3091
4286
|
}> | undefined;
|
|
3092
4287
|
}>, z.ZodObject<{
|
|
@@ -3096,7 +4291,7 @@ export declare const PLUGINS: {
|
|
|
3096
4291
|
}, {
|
|
3097
4292
|
durableObjectsPersist?: string | boolean | undefined;
|
|
3098
4293
|
}>>;
|
|
3099
|
-
kv:
|
|
4294
|
+
kv: Plugin_2<z.ZodObject<{
|
|
3100
4295
|
kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3101
4296
|
sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3102
4297
|
siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3118,7 +4313,7 @@ export declare const PLUGINS: {
|
|
|
3118
4313
|
}, {
|
|
3119
4314
|
kvPersist?: string | boolean | undefined;
|
|
3120
4315
|
}>>;
|
|
3121
|
-
queues:
|
|
4316
|
+
queues: Plugin_2<z.ZodObject<{
|
|
3122
4317
|
queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3123
4318
|
queueName: z.ZodString;
|
|
3124
4319
|
deliveryDelay: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3129,22 +4324,39 @@ export declare const PLUGINS: {
|
|
|
3129
4324
|
queueName: string;
|
|
3130
4325
|
deliveryDelay?: number | undefined;
|
|
3131
4326
|
}>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3132
|
-
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4327
|
+
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3133
4328
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3134
4329
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3135
4330
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4331
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3136
4332
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3137
4333
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3138
4334
|
}, "strip", z.ZodTypeAny, {
|
|
3139
4335
|
maxBatchSize?: number | undefined;
|
|
3140
4336
|
maxBatchTimeout?: number | undefined;
|
|
3141
4337
|
maxRetires?: number | undefined;
|
|
4338
|
+
maxRetries?: number | undefined;
|
|
3142
4339
|
deadLetterQueue?: string | undefined;
|
|
3143
4340
|
retryDelay?: number | undefined;
|
|
3144
4341
|
}, {
|
|
3145
4342
|
maxBatchSize?: number | undefined;
|
|
3146
4343
|
maxBatchTimeout?: number | undefined;
|
|
3147
4344
|
maxRetires?: number | undefined;
|
|
4345
|
+
maxRetries?: number | undefined;
|
|
4346
|
+
deadLetterQueue?: string | undefined;
|
|
4347
|
+
retryDelay?: number | undefined;
|
|
4348
|
+
}>, Omit<{
|
|
4349
|
+
maxBatchSize?: number | undefined;
|
|
4350
|
+
maxBatchTimeout?: number | undefined;
|
|
4351
|
+
maxRetires?: number | undefined;
|
|
4352
|
+
maxRetries?: number | undefined;
|
|
4353
|
+
deadLetterQueue?: string | undefined;
|
|
4354
|
+
retryDelay?: number | undefined;
|
|
4355
|
+
}, "maxRetires">, {
|
|
4356
|
+
maxBatchSize?: number | undefined;
|
|
4357
|
+
maxBatchTimeout?: number | undefined;
|
|
4358
|
+
maxRetires?: number | undefined;
|
|
4359
|
+
maxRetries?: number | undefined;
|
|
3148
4360
|
deadLetterQueue?: string | undefined;
|
|
3149
4361
|
retryDelay?: number | undefined;
|
|
3150
4362
|
}>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3153,13 +4365,14 @@ export declare const PLUGINS: {
|
|
|
3153
4365
|
queueName: string;
|
|
3154
4366
|
deliveryDelay?: number | undefined;
|
|
3155
4367
|
}> | undefined;
|
|
3156
|
-
queueConsumers?: string[] | Record<string, {
|
|
4368
|
+
queueConsumers?: string[] | Record<string, Omit<{
|
|
3157
4369
|
maxBatchSize?: number | undefined;
|
|
3158
4370
|
maxBatchTimeout?: number | undefined;
|
|
3159
4371
|
maxRetires?: number | undefined;
|
|
4372
|
+
maxRetries?: number | undefined;
|
|
3160
4373
|
deadLetterQueue?: string | undefined;
|
|
3161
4374
|
retryDelay?: number | undefined;
|
|
3162
|
-
}
|
|
4375
|
+
}, "maxRetires">> | undefined;
|
|
3163
4376
|
}, {
|
|
3164
4377
|
queueProducers?: string[] | Record<string, string> | Record<string, {
|
|
3165
4378
|
queueName: string;
|
|
@@ -3169,11 +4382,12 @@ export declare const PLUGINS: {
|
|
|
3169
4382
|
maxBatchSize?: number | undefined;
|
|
3170
4383
|
maxBatchTimeout?: number | undefined;
|
|
3171
4384
|
maxRetires?: number | undefined;
|
|
4385
|
+
maxRetries?: number | undefined;
|
|
3172
4386
|
deadLetterQueue?: string | undefined;
|
|
3173
4387
|
retryDelay?: number | undefined;
|
|
3174
4388
|
}> | undefined;
|
|
3175
4389
|
}>>;
|
|
3176
|
-
r2:
|
|
4390
|
+
r2: Plugin_2<z.ZodObject<{
|
|
3177
4391
|
r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3178
4392
|
}, "strip", z.ZodTypeAny, {
|
|
3179
4393
|
r2Buckets?: string[] | Record<string, string> | undefined;
|
|
@@ -3186,123 +4400,531 @@ export declare const PLUGINS: {
|
|
|
3186
4400
|
}, {
|
|
3187
4401
|
r2Persist?: string | boolean | undefined;
|
|
3188
4402
|
}>>;
|
|
3189
|
-
hyperdrive:
|
|
4403
|
+
hyperdrive: Plugin_2<z.ZodObject<{
|
|
3190
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>>>;
|
|
3191
4405
|
}, "strip", z.ZodTypeAny, {
|
|
3192
4406
|
hyperdrives?: Record<string, URL_2> | undefined;
|
|
3193
4407
|
}, {
|
|
3194
4408
|
hyperdrives?: Record<string, string | URL_2> | undefined;
|
|
3195
4409
|
}>>;
|
|
3196
|
-
ratelimit:
|
|
4410
|
+
ratelimit: Plugin_2<z.ZodObject<{
|
|
3197
4411
|
ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3198
4412
|
simple: z.ZodObject<{
|
|
3199
4413
|
limit: z.ZodNumber;
|
|
3200
|
-
period: z.ZodOptional<z.ZodNativeEnum<
|
|
4414
|
+
period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
|
|
3201
4415
|
}, "strip", z.ZodTypeAny, {
|
|
3202
4416
|
limit: number;
|
|
3203
|
-
period?:
|
|
4417
|
+
period?: PeriodType_2 | undefined;
|
|
3204
4418
|
}, {
|
|
3205
4419
|
limit: number;
|
|
3206
|
-
period?:
|
|
4420
|
+
period?: PeriodType_2 | undefined;
|
|
3207
4421
|
}>;
|
|
3208
4422
|
}, "strip", z.ZodTypeAny, {
|
|
3209
4423
|
simple: {
|
|
3210
4424
|
limit: number;
|
|
3211
|
-
period?:
|
|
4425
|
+
period?: PeriodType_2 | undefined;
|
|
3212
4426
|
};
|
|
3213
4427
|
}, {
|
|
3214
4428
|
simple: {
|
|
3215
4429
|
limit: number;
|
|
3216
|
-
period?:
|
|
4430
|
+
period?: PeriodType_2 | undefined;
|
|
3217
4431
|
};
|
|
3218
4432
|
}>>>;
|
|
3219
4433
|
}, "strip", z.ZodTypeAny, {
|
|
3220
4434
|
ratelimits?: Record<string, {
|
|
3221
4435
|
simple: {
|
|
3222
4436
|
limit: number;
|
|
3223
|
-
period?:
|
|
4437
|
+
period?: PeriodType_2 | undefined;
|
|
3224
4438
|
};
|
|
3225
4439
|
}> | undefined;
|
|
3226
4440
|
}, {
|
|
3227
4441
|
ratelimits?: Record<string, {
|
|
3228
4442
|
simple: {
|
|
3229
4443
|
limit: number;
|
|
3230
|
-
period?:
|
|
4444
|
+
period?: PeriodType_2 | undefined;
|
|
3231
4445
|
};
|
|
3232
4446
|
}> | undefined;
|
|
3233
4447
|
}>>;
|
|
3234
|
-
assets:
|
|
4448
|
+
assets: Plugin_2<z.ZodObject<{
|
|
3235
4449
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3236
4450
|
workerName: z.ZodOptional<z.ZodString>;
|
|
3237
4451
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
3238
4452
|
binding: z.ZodOptional<z.ZodString>;
|
|
3239
|
-
|
|
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>;
|
|
3240
4458
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3241
4459
|
}, "strip", z.ZodTypeAny, {
|
|
4460
|
+
account_id?: number;
|
|
4461
|
+
script_id?: number;
|
|
4462
|
+
debug?: boolean;
|
|
4463
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3242
4464
|
has_user_worker?: boolean;
|
|
3243
4465
|
}, {
|
|
4466
|
+
account_id?: number;
|
|
4467
|
+
script_id?: number;
|
|
4468
|
+
debug?: boolean;
|
|
4469
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3244
4470
|
has_user_worker?: boolean;
|
|
3245
4471
|
}>>;
|
|
3246
|
-
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">>;
|
|
3247
4478
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
3248
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
|
+
}>>;
|
|
3249
4540
|
}, "strip", z.ZodTypeAny, {
|
|
3250
|
-
|
|
3251
|
-
|
|
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;
|
|
3252
4578
|
}, {
|
|
3253
|
-
|
|
3254
|
-
|
|
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;
|
|
3255
4603
|
}>>;
|
|
3256
4604
|
}, "strip", z.ZodTypeAny, {
|
|
3257
4605
|
directory: string;
|
|
3258
4606
|
workerName?: string | undefined;
|
|
3259
4607
|
binding?: string | undefined;
|
|
3260
|
-
|
|
4608
|
+
routerConfig?: {
|
|
4609
|
+
account_id?: number;
|
|
4610
|
+
script_id?: number;
|
|
4611
|
+
debug?: boolean;
|
|
4612
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3261
4613
|
has_user_worker?: boolean;
|
|
3262
4614
|
} | undefined;
|
|
3263
4615
|
assetConfig?: {
|
|
3264
|
-
|
|
3265
|
-
|
|
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;
|
|
3266
4640
|
} | undefined;
|
|
3267
4641
|
}, {
|
|
3268
4642
|
directory: string;
|
|
3269
4643
|
workerName?: string | undefined;
|
|
3270
4644
|
binding?: string | undefined;
|
|
3271
|
-
|
|
4645
|
+
routerConfig?: {
|
|
4646
|
+
account_id?: number;
|
|
4647
|
+
script_id?: number;
|
|
4648
|
+
debug?: boolean;
|
|
4649
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3272
4650
|
has_user_worker?: boolean;
|
|
3273
4651
|
} | undefined;
|
|
3274
4652
|
assetConfig?: {
|
|
3275
|
-
|
|
3276
|
-
|
|
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;
|
|
3277
4677
|
} | undefined;
|
|
3278
4678
|
}>>;
|
|
4679
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
4680
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3279
4681
|
}, "strip", z.ZodTypeAny, {
|
|
3280
4682
|
assets?: {
|
|
3281
4683
|
directory: string;
|
|
3282
4684
|
workerName?: string | undefined;
|
|
3283
4685
|
binding?: string | undefined;
|
|
3284
|
-
|
|
4686
|
+
routerConfig?: {
|
|
4687
|
+
account_id?: number;
|
|
4688
|
+
script_id?: number;
|
|
4689
|
+
debug?: boolean;
|
|
4690
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3285
4691
|
has_user_worker?: boolean;
|
|
3286
4692
|
} | undefined;
|
|
3287
4693
|
assetConfig?: {
|
|
3288
|
-
|
|
3289
|
-
|
|
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
|
+
}>;
|
|
3290
4717
|
} | undefined;
|
|
3291
4718
|
} | undefined;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
compatibilityDate?: string | undefined;
|
|
4721
|
+
compatibilityFlags?: string[] | undefined;
|
|
3292
4722
|
}, {
|
|
3293
4723
|
assets?: {
|
|
3294
4724
|
directory: string;
|
|
3295
4725
|
workerName?: string | undefined;
|
|
3296
4726
|
binding?: string | undefined;
|
|
3297
|
-
|
|
4727
|
+
routerConfig?: {
|
|
4728
|
+
account_id?: number;
|
|
4729
|
+
script_id?: number;
|
|
4730
|
+
debug?: boolean;
|
|
4731
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3298
4732
|
has_user_worker?: boolean;
|
|
3299
4733
|
} | undefined;
|
|
3300
4734
|
assetConfig?: {
|
|
3301
|
-
|
|
3302
|
-
|
|
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;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
} | undefined;
|
|
4761
|
+
compatibilityDate?: string | undefined;
|
|
4762
|
+
compatibilityFlags?: string[] | undefined;
|
|
4763
|
+
}>>;
|
|
4764
|
+
workflows: Plugin_2<z.ZodObject<{
|
|
4765
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4766
|
+
name: z.ZodString;
|
|
4767
|
+
className: z.ZodString;
|
|
4768
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
4769
|
+
}, "strip", z.ZodTypeAny, {
|
|
4770
|
+
name: string;
|
|
4771
|
+
className: string;
|
|
4772
|
+
scriptName?: string | undefined;
|
|
4773
|
+
}, {
|
|
4774
|
+
name: string;
|
|
4775
|
+
className: string;
|
|
4776
|
+
scriptName?: string | undefined;
|
|
4777
|
+
}>>>;
|
|
4778
|
+
}, "strip", z.ZodTypeAny, {
|
|
4779
|
+
workflows?: Record<string, {
|
|
4780
|
+
name: string;
|
|
4781
|
+
className: string;
|
|
4782
|
+
scriptName?: string | undefined;
|
|
4783
|
+
}> | undefined;
|
|
4784
|
+
}, {
|
|
4785
|
+
workflows?: Record<string, {
|
|
4786
|
+
name: string;
|
|
4787
|
+
className: string;
|
|
4788
|
+
scriptName?: string | undefined;
|
|
4789
|
+
}> | undefined;
|
|
4790
|
+
}>, z.ZodObject<{
|
|
4791
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
4792
|
+
}, "strip", z.ZodTypeAny, {
|
|
4793
|
+
workflowsPersist?: string | boolean | undefined;
|
|
4794
|
+
}, {
|
|
4795
|
+
workflowsPersist?: string | boolean | undefined;
|
|
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;
|
|
3303
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;
|
|
3304
4903
|
} | undefined;
|
|
3305
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
|
+
}>>;
|
|
3306
4928
|
};
|
|
3307
4929
|
|
|
3308
4930
|
export declare type Plugins = typeof PLUGINS;
|
|
@@ -3327,7 +4949,7 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
|
|
|
3327
4949
|
|
|
3328
4950
|
export declare function prefixError(prefix: string, e: any): Error;
|
|
3329
4951
|
|
|
3330
|
-
export declare function prefixStream(prefix: Uint8Array, stream:
|
|
4952
|
+
export declare function prefixStream(prefix: Uint8Array, stream: ReadableStream_3<Uint8Array>): ReadableStream_3<Uint8Array>;
|
|
3331
4953
|
|
|
3332
4954
|
export declare const ProxyAddresses: {
|
|
3333
4955
|
readonly GLOBAL: 0;
|
|
@@ -3366,44 +4988,78 @@ export declare const QueueBindings: {
|
|
|
3366
4988
|
|
|
3367
4989
|
export declare type QueueConsumer = z.infer<typeof QueueConsumerSchema>;
|
|
3368
4990
|
|
|
3369
|
-
export declare const QueueConsumerOptionsSchema: z.ZodObject<{
|
|
4991
|
+
export declare const QueueConsumerOptionsSchema: z.ZodEffects<z.ZodObject<{
|
|
3370
4992
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3371
4993
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3372
4994
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4995
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3373
4996
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3374
4997
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3375
4998
|
}, "strip", z.ZodTypeAny, {
|
|
3376
4999
|
maxBatchSize?: number | undefined;
|
|
3377
5000
|
maxBatchTimeout?: number | undefined;
|
|
3378
5001
|
maxRetires?: number | undefined;
|
|
5002
|
+
maxRetries?: number | undefined;
|
|
3379
5003
|
deadLetterQueue?: string | undefined;
|
|
3380
5004
|
retryDelay?: number | undefined;
|
|
3381
5005
|
}, {
|
|
3382
5006
|
maxBatchSize?: number | undefined;
|
|
3383
5007
|
maxBatchTimeout?: number | undefined;
|
|
3384
5008
|
maxRetires?: number | undefined;
|
|
5009
|
+
maxRetries?: number | undefined;
|
|
5010
|
+
deadLetterQueue?: string | undefined;
|
|
5011
|
+
retryDelay?: number | undefined;
|
|
5012
|
+
}>, Omit<{
|
|
5013
|
+
maxBatchSize?: number | undefined;
|
|
5014
|
+
maxBatchTimeout?: number | undefined;
|
|
5015
|
+
maxRetires?: number | undefined;
|
|
5016
|
+
maxRetries?: number | undefined;
|
|
5017
|
+
deadLetterQueue?: string | undefined;
|
|
5018
|
+
retryDelay?: number | undefined;
|
|
5019
|
+
}, "maxRetires">, {
|
|
5020
|
+
maxBatchSize?: number | undefined;
|
|
5021
|
+
maxBatchTimeout?: number | undefined;
|
|
5022
|
+
maxRetires?: number | undefined;
|
|
5023
|
+
maxRetries?: number | undefined;
|
|
3385
5024
|
deadLetterQueue?: string | undefined;
|
|
3386
5025
|
retryDelay?: number | undefined;
|
|
3387
5026
|
}>;
|
|
3388
5027
|
|
|
3389
5028
|
export declare type QueueConsumers = Map<string, z.infer<typeof QueueConsumerSchema>>;
|
|
3390
5029
|
|
|
3391
|
-
export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
|
|
5030
|
+
export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
3392
5031
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3393
5032
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3394
5033
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
5034
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3395
5035
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3396
5036
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3397
5037
|
}, "strip", z.ZodTypeAny, {
|
|
3398
5038
|
maxBatchSize?: number | undefined;
|
|
3399
5039
|
maxBatchTimeout?: number | undefined;
|
|
3400
5040
|
maxRetires?: number | undefined;
|
|
5041
|
+
maxRetries?: number | undefined;
|
|
3401
5042
|
deadLetterQueue?: string | undefined;
|
|
3402
5043
|
retryDelay?: number | undefined;
|
|
3403
5044
|
}, {
|
|
3404
5045
|
maxBatchSize?: number | undefined;
|
|
3405
5046
|
maxBatchTimeout?: number | undefined;
|
|
3406
5047
|
maxRetires?: number | undefined;
|
|
5048
|
+
maxRetries?: number | undefined;
|
|
5049
|
+
deadLetterQueue?: string | undefined;
|
|
5050
|
+
retryDelay?: number | undefined;
|
|
5051
|
+
}>, Omit<{
|
|
5052
|
+
maxBatchSize?: number | undefined;
|
|
5053
|
+
maxBatchTimeout?: number | undefined;
|
|
5054
|
+
maxRetires?: number | undefined;
|
|
5055
|
+
maxRetries?: number | undefined;
|
|
5056
|
+
deadLetterQueue?: string | undefined;
|
|
5057
|
+
retryDelay?: number | undefined;
|
|
5058
|
+
}, "maxRetires">, {
|
|
5059
|
+
maxBatchSize?: number | undefined;
|
|
5060
|
+
maxBatchTimeout?: number | undefined;
|
|
5061
|
+
maxRetires?: number | undefined;
|
|
5062
|
+
maxRetries?: number | undefined;
|
|
3407
5063
|
deadLetterQueue?: string | undefined;
|
|
3408
5064
|
retryDelay?: number | undefined;
|
|
3409
5065
|
}>, z.ZodObject<{
|
|
@@ -3414,22 +5070,39 @@ export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
3414
5070
|
workerName: string;
|
|
3415
5071
|
}>>;
|
|
3416
5072
|
|
|
3417
|
-
export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
5073
|
+
export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
3418
5074
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3419
5075
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3420
5076
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
5077
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3421
5078
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3422
5079
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3423
5080
|
}, "strip", z.ZodTypeAny, {
|
|
3424
5081
|
maxBatchSize?: number | undefined;
|
|
3425
5082
|
maxBatchTimeout?: number | undefined;
|
|
3426
5083
|
maxRetires?: number | undefined;
|
|
5084
|
+
maxRetries?: number | undefined;
|
|
3427
5085
|
deadLetterQueue?: string | undefined;
|
|
3428
5086
|
retryDelay?: number | undefined;
|
|
3429
5087
|
}, {
|
|
3430
5088
|
maxBatchSize?: number | undefined;
|
|
3431
5089
|
maxBatchTimeout?: number | undefined;
|
|
3432
5090
|
maxRetires?: number | undefined;
|
|
5091
|
+
maxRetries?: number | undefined;
|
|
5092
|
+
deadLetterQueue?: string | undefined;
|
|
5093
|
+
retryDelay?: number | undefined;
|
|
5094
|
+
}>, Omit<{
|
|
5095
|
+
maxBatchSize?: number | undefined;
|
|
5096
|
+
maxBatchTimeout?: number | undefined;
|
|
5097
|
+
maxRetires?: number | undefined;
|
|
5098
|
+
maxRetries?: number | undefined;
|
|
5099
|
+
deadLetterQueue?: string | undefined;
|
|
5100
|
+
retryDelay?: number | undefined;
|
|
5101
|
+
}, "maxRetires">, {
|
|
5102
|
+
maxBatchSize?: number | undefined;
|
|
5103
|
+
maxBatchTimeout?: number | undefined;
|
|
5104
|
+
maxRetires?: number | undefined;
|
|
5105
|
+
maxRetries?: number | undefined;
|
|
3433
5106
|
deadLetterQueue?: string | undefined;
|
|
3434
5107
|
retryDelay?: number | undefined;
|
|
3435
5108
|
}>, z.ZodObject<{
|
|
@@ -3449,11 +5122,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
|
|
|
3449
5122
|
export declare const QueueIncomingMessageSchema: z.ZodObject<{
|
|
3450
5123
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3451
5124
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3452
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
5125
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3453
5126
|
id: z.ZodOptional<z.ZodString>;
|
|
3454
5127
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3455
5128
|
}, "strip", z.ZodTypeAny, {
|
|
3456
|
-
body: Buffer
|
|
5129
|
+
body: Buffer<ArrayBuffer>;
|
|
3457
5130
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3458
5131
|
delaySecs?: number | undefined;
|
|
3459
5132
|
id?: string | undefined;
|
|
@@ -3529,11 +5202,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3529
5202
|
messages: z.ZodArray<z.ZodObject<{
|
|
3530
5203
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3531
5204
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3532
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
5205
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3533
5206
|
id: z.ZodOptional<z.ZodString>;
|
|
3534
5207
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3535
5208
|
}, "strip", z.ZodTypeAny, {
|
|
3536
|
-
body: Buffer
|
|
5209
|
+
body: Buffer<ArrayBuffer>;
|
|
3537
5210
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3538
5211
|
delaySecs?: number | undefined;
|
|
3539
5212
|
id?: string | undefined;
|
|
@@ -3547,7 +5220,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3547
5220
|
}>, "many">;
|
|
3548
5221
|
}, "strip", z.ZodTypeAny, {
|
|
3549
5222
|
messages: {
|
|
3550
|
-
body: Buffer
|
|
5223
|
+
body: Buffer<ArrayBuffer>;
|
|
3551
5224
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3552
5225
|
delaySecs?: number | undefined;
|
|
3553
5226
|
id?: string | undefined;
|
|
@@ -3579,22 +5252,39 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3579
5252
|
queueName: string;
|
|
3580
5253
|
deliveryDelay?: number | undefined;
|
|
3581
5254
|
}>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3582
|
-
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5255
|
+
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3583
5256
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3584
5257
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3585
5258
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
5259
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3586
5260
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3587
5261
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3588
5262
|
}, "strip", z.ZodTypeAny, {
|
|
3589
5263
|
maxBatchSize?: number | undefined;
|
|
3590
5264
|
maxBatchTimeout?: number | undefined;
|
|
3591
5265
|
maxRetires?: number | undefined;
|
|
5266
|
+
maxRetries?: number | undefined;
|
|
3592
5267
|
deadLetterQueue?: string | undefined;
|
|
3593
5268
|
retryDelay?: number | undefined;
|
|
3594
5269
|
}, {
|
|
3595
5270
|
maxBatchSize?: number | undefined;
|
|
3596
5271
|
maxBatchTimeout?: number | undefined;
|
|
3597
5272
|
maxRetires?: number | undefined;
|
|
5273
|
+
maxRetries?: number | undefined;
|
|
5274
|
+
deadLetterQueue?: string | undefined;
|
|
5275
|
+
retryDelay?: number | undefined;
|
|
5276
|
+
}>, Omit<{
|
|
5277
|
+
maxBatchSize?: number | undefined;
|
|
5278
|
+
maxBatchTimeout?: number | undefined;
|
|
5279
|
+
maxRetires?: number | undefined;
|
|
5280
|
+
maxRetries?: number | undefined;
|
|
5281
|
+
deadLetterQueue?: string | undefined;
|
|
5282
|
+
retryDelay?: number | undefined;
|
|
5283
|
+
}, "maxRetires">, {
|
|
5284
|
+
maxBatchSize?: number | undefined;
|
|
5285
|
+
maxBatchTimeout?: number | undefined;
|
|
5286
|
+
maxRetires?: number | undefined;
|
|
5287
|
+
maxRetries?: number | undefined;
|
|
3598
5288
|
deadLetterQueue?: string | undefined;
|
|
3599
5289
|
retryDelay?: number | undefined;
|
|
3600
5290
|
}>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3603,13 +5293,14 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3603
5293
|
queueName: string;
|
|
3604
5294
|
deliveryDelay?: number | undefined;
|
|
3605
5295
|
}> | undefined;
|
|
3606
|
-
queueConsumers?: string[] | Record<string, {
|
|
5296
|
+
queueConsumers?: string[] | Record<string, Omit<{
|
|
3607
5297
|
maxBatchSize?: number | undefined;
|
|
3608
5298
|
maxBatchTimeout?: number | undefined;
|
|
3609
5299
|
maxRetires?: number | undefined;
|
|
5300
|
+
maxRetries?: number | undefined;
|
|
3610
5301
|
deadLetterQueue?: string | undefined;
|
|
3611
5302
|
retryDelay?: number | undefined;
|
|
3612
|
-
}
|
|
5303
|
+
}, "maxRetires">> | undefined;
|
|
3613
5304
|
}, {
|
|
3614
5305
|
queueProducers?: string[] | Record<string, string> | Record<string, {
|
|
3615
5306
|
queueName: string;
|
|
@@ -3619,6 +5310,7 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3619
5310
|
maxBatchSize?: number | undefined;
|
|
3620
5311
|
maxBatchTimeout?: number | undefined;
|
|
3621
5312
|
maxRetires?: number | undefined;
|
|
5313
|
+
maxRetries?: number | undefined;
|
|
3622
5314
|
deadLetterQueue?: string | undefined;
|
|
3623
5315
|
retryDelay?: number | undefined;
|
|
3624
5316
|
}> | undefined;
|
|
@@ -3712,7 +5404,7 @@ export declare const RatelimitOptionsSchema: z.ZodObject<{
|
|
|
3712
5404
|
}> | undefined;
|
|
3713
5405
|
}>;
|
|
3714
5406
|
|
|
3715
|
-
export declare function readPrefix(stream:
|
|
5407
|
+
export declare function readPrefix(stream: ReadableStream_3<Uint8Array>, prefixLength: number): Promise<[prefix: Buffer, rest: ReadableStream_3<Uint8Array>]>;
|
|
3716
5408
|
|
|
3717
5409
|
export declare function reduceError(e: any): JsonError;
|
|
3718
5410
|
|
|
@@ -3722,17 +5414,18 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
|
|
|
3722
5414
|
|
|
3723
5415
|
export { ReferrerPolicy }
|
|
3724
5416
|
|
|
3725
|
-
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 ? {
|
|
3726
5418
|
[K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
|
|
3727
5419
|
} : T;
|
|
3728
5420
|
|
|
3729
|
-
|
|
5421
|
+
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
|
|
3730
5422
|
[kCf]?: CfType;
|
|
3731
|
-
constructor(input: RequestInfo, init?:
|
|
5423
|
+
constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
|
|
3732
5424
|
get cf(): CfType | undefined;
|
|
3733
5425
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3734
|
-
clone():
|
|
5426
|
+
clone(): Request_2<CfType>;
|
|
3735
5427
|
}
|
|
5428
|
+
export { Request_2 as Request }
|
|
3736
5429
|
|
|
3737
5430
|
export { RequestCache }
|
|
3738
5431
|
|
|
@@ -3742,11 +5435,12 @@ export { RequestDestination }
|
|
|
3742
5435
|
|
|
3743
5436
|
export { RequestDuplex }
|
|
3744
5437
|
|
|
3745
|
-
export declare type RequestInfo = RequestInfo_2 |
|
|
5438
|
+
export declare type RequestInfo = RequestInfo_2 | Request_2;
|
|
3746
5439
|
|
|
3747
|
-
|
|
5440
|
+
declare interface RequestInit_2<CfType extends RequestInitCfType = RequestInitCfType> extends RequestInit_3 {
|
|
3748
5441
|
cf?: CfType;
|
|
3749
5442
|
}
|
|
5443
|
+
export { RequestInit_2 as RequestInit }
|
|
3750
5444
|
|
|
3751
5445
|
export declare type RequestInitCfType = Partial<IncomingRequestCfProperties> | RequestInitCfProperties;
|
|
3752
5446
|
|
|
@@ -3754,22 +5448,24 @@ export { RequestMode }
|
|
|
3754
5448
|
|
|
3755
5449
|
export { RequestRedirect }
|
|
3756
5450
|
|
|
3757
|
-
|
|
5451
|
+
declare class Response_2 extends Response_4 {
|
|
3758
5452
|
readonly [kWebSocket]: WebSocket | null;
|
|
3759
|
-
static error():
|
|
3760
|
-
static redirect(url: string | URL, status: ResponseRedirectStatus):
|
|
3761
|
-
static json(data: any, init?:
|
|
3762
|
-
constructor(body?: BodyInit, init?:
|
|
5453
|
+
static error(): Response_2;
|
|
5454
|
+
static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
|
|
5455
|
+
static json(data: any, init?: ResponseInit_2): Response_2;
|
|
5456
|
+
constructor(body?: BodyInit, init?: ResponseInit_2);
|
|
3763
5457
|
/** @ts-expect-error `status` is actually defined as a getter internally */
|
|
3764
5458
|
get status(): number;
|
|
3765
5459
|
get webSocket(): WebSocket | null;
|
|
3766
5460
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3767
|
-
clone():
|
|
5461
|
+
clone(): Response_2;
|
|
3768
5462
|
}
|
|
5463
|
+
export { Response_2 as Response }
|
|
3769
5464
|
|
|
3770
|
-
|
|
5465
|
+
declare interface ResponseInit_2 extends ResponseInit_3 {
|
|
3771
5466
|
webSocket?: WebSocket | null;
|
|
3772
5467
|
}
|
|
5468
|
+
export { ResponseInit_2 as ResponseInit }
|
|
3773
5469
|
|
|
3774
5470
|
export { ResponseRedirectStatus }
|
|
3775
5471
|
|
|
@@ -3797,6 +5493,41 @@ export declare interface RuntimeOptions {
|
|
|
3797
5493
|
|
|
3798
5494
|
export declare function sanitisePath(unsafe: string): string;
|
|
3799
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
|
+
|
|
3800
5531
|
export declare interface SerialisableMatcherRegExps {
|
|
3801
5532
|
include: string[];
|
|
3802
5533
|
exclude: string[];
|
|
@@ -3832,6 +5563,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
|
|
|
3832
5563
|
export declare interface ServiceDesignator {
|
|
3833
5564
|
name?: string;
|
|
3834
5565
|
entrypoint?: string;
|
|
5566
|
+
props?: {
|
|
5567
|
+
json: string;
|
|
5568
|
+
};
|
|
3835
5569
|
}
|
|
3836
5570
|
|
|
3837
5571
|
export declare interface ServicesExtensions {
|
|
@@ -3852,7 +5586,7 @@ export declare const SharedHeaders: {
|
|
|
3852
5586
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
3853
5587
|
};
|
|
3854
5588
|
|
|
3855
|
-
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>;
|
|
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>;
|
|
3856
5590
|
|
|
3857
5591
|
export declare const SiteBindings: {
|
|
3858
5592
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -3894,31 +5628,31 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
|
|
|
3894
5628
|
|
|
3895
5629
|
export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
3896
5630
|
modules: z.ZodArray<z.ZodObject<{
|
|
3897
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5631
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
3898
5632
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
3899
|
-
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>>]>>;
|
|
3900
5634
|
}, "strip", z.ZodTypeAny, {
|
|
3901
|
-
type: "ESModule" | "CommonJS" | "
|
|
5635
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3902
5636
|
path: string;
|
|
3903
|
-
contents?: string | Uint8Array | undefined;
|
|
5637
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3904
5638
|
}, {
|
|
3905
|
-
type: "ESModule" | "CommonJS" | "
|
|
5639
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3906
5640
|
path: string;
|
|
3907
|
-
contents?: string | Uint8Array | undefined;
|
|
5641
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3908
5642
|
}>, "many">;
|
|
3909
5643
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3910
5644
|
}, "strip", z.ZodTypeAny, {
|
|
3911
5645
|
modules: {
|
|
3912
|
-
type: "ESModule" | "CommonJS" | "
|
|
5646
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3913
5647
|
path: string;
|
|
3914
|
-
contents?: string | Uint8Array | undefined;
|
|
5648
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3915
5649
|
}[];
|
|
3916
5650
|
modulesRoot?: string | undefined;
|
|
3917
5651
|
}, {
|
|
3918
5652
|
modules: {
|
|
3919
|
-
type: "ESModule" | "CommonJS" | "
|
|
5653
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3920
5654
|
path: string;
|
|
3921
|
-
contents?: string | Uint8Array | undefined;
|
|
5655
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3922
5656
|
}[];
|
|
3923
5657
|
modulesRoot?: string | undefined;
|
|
3924
5658
|
}>, z.ZodObject<{
|
|
@@ -3926,15 +5660,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3926
5660
|
scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3927
5661
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
3928
5662
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3929
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5663
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
3930
5664
|
include: z.ZodArray<z.ZodString, "many">;
|
|
3931
5665
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
3932
5666
|
}, "strip", z.ZodTypeAny, {
|
|
3933
|
-
type: "ESModule" | "CommonJS" | "
|
|
5667
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3934
5668
|
include: string[];
|
|
3935
5669
|
fallthrough?: boolean | undefined;
|
|
3936
5670
|
}, {
|
|
3937
|
-
type: "ESModule" | "CommonJS" | "
|
|
5671
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3938
5672
|
include: string[];
|
|
3939
5673
|
fallthrough?: boolean | undefined;
|
|
3940
5674
|
}>, "many">>;
|
|
@@ -3944,7 +5678,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3944
5678
|
scriptPath?: string | undefined;
|
|
3945
5679
|
modules?: boolean | undefined;
|
|
3946
5680
|
modulesRules?: {
|
|
3947
|
-
type: "ESModule" | "CommonJS" | "
|
|
5681
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3948
5682
|
include: string[];
|
|
3949
5683
|
fallthrough?: boolean | undefined;
|
|
3950
5684
|
}[] | undefined;
|
|
@@ -3954,7 +5688,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3954
5688
|
scriptPath?: string | undefined;
|
|
3955
5689
|
modules?: boolean | undefined;
|
|
3956
5690
|
modulesRules?: {
|
|
3957
|
-
type: "ESModule" | "CommonJS" | "
|
|
5691
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3958
5692
|
include: string[];
|
|
3959
5693
|
fallthrough?: boolean | undefined;
|
|
3960
5694
|
}[] | undefined;
|
|
@@ -3963,15 +5697,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3963
5697
|
scriptPath: z.ZodEffects<z.ZodString, string, string>;
|
|
3964
5698
|
modules: z.ZodOptional<z.ZodBoolean>;
|
|
3965
5699
|
modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3966
|
-
type: z.ZodEnum<["ESModule", "CommonJS", "
|
|
5700
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
3967
5701
|
include: z.ZodArray<z.ZodString, "many">;
|
|
3968
5702
|
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
3969
5703
|
}, "strip", z.ZodTypeAny, {
|
|
3970
|
-
type: "ESModule" | "CommonJS" | "
|
|
5704
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3971
5705
|
include: string[];
|
|
3972
5706
|
fallthrough?: boolean | undefined;
|
|
3973
5707
|
}, {
|
|
3974
|
-
type: "ESModule" | "CommonJS" | "
|
|
5708
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3975
5709
|
include: string[];
|
|
3976
5710
|
fallthrough?: boolean | undefined;
|
|
3977
5711
|
}>, "many">>;
|
|
@@ -3980,7 +5714,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3980
5714
|
scriptPath: string;
|
|
3981
5715
|
modules?: boolean | undefined;
|
|
3982
5716
|
modulesRules?: {
|
|
3983
|
-
type: "ESModule" | "CommonJS" | "
|
|
5717
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3984
5718
|
include: string[];
|
|
3985
5719
|
fallthrough?: boolean | undefined;
|
|
3986
5720
|
}[] | undefined;
|
|
@@ -3989,7 +5723,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3989
5723
|
scriptPath: string;
|
|
3990
5724
|
modules?: boolean | undefined;
|
|
3991
5725
|
modulesRules?: {
|
|
3992
|
-
type: "ESModule" | "CommonJS" | "
|
|
5726
|
+
type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3993
5727
|
include: string[];
|
|
3994
5728
|
fallthrough?: boolean | undefined;
|
|
3995
5729
|
}[] | undefined;
|
|
@@ -4029,14 +5763,16 @@ export declare interface TlsOptions_Keypair {
|
|
|
4029
5763
|
certificateChain?: string;
|
|
4030
5764
|
}
|
|
4031
5765
|
|
|
4032
|
-
export declare
|
|
4033
|
-
GOOD_DEFAULT
|
|
4034
|
-
SSL3
|
|
4035
|
-
TLS1DOT0
|
|
4036
|
-
TLS1DOT1
|
|
4037
|
-
TLS1DOT2
|
|
4038
|
-
TLS1DOT3
|
|
4039
|
-
}
|
|
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];
|
|
4040
5776
|
|
|
4041
5777
|
export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
|
|
4042
5778
|
|
|
@@ -4081,15 +5817,15 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
|
|
|
4081
5817
|
[kClosedIncoming]: boolean;
|
|
4082
5818
|
get readyState(): number;
|
|
4083
5819
|
accept(): void;
|
|
4084
|
-
send(message: ArrayBuffer |
|
|
4085
|
-
[kSend](message: ArrayBuffer |
|
|
5820
|
+
send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
5821
|
+
[kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4086
5822
|
close(code?: number, reason?: string): void;
|
|
4087
5823
|
[kClose](code?: number, reason?: string): void;
|
|
4088
5824
|
[kError](error?: Error): void;
|
|
4089
5825
|
}
|
|
4090
5826
|
|
|
4091
5827
|
export declare type WebSocketEventMap = {
|
|
4092
|
-
message:
|
|
5828
|
+
message: MessageEvent_2;
|
|
4093
5829
|
close: CloseEvent;
|
|
4094
5830
|
error: ErrorEvent;
|
|
4095
5831
|
};
|
|
@@ -4119,6 +5855,7 @@ export declare type Worker = ({
|
|
|
4119
5855
|
durableObjectUniqueKeyModifier?: string;
|
|
4120
5856
|
durableObjectStorage?: Worker_DurableObjectStorage;
|
|
4121
5857
|
moduleFallback?: string;
|
|
5858
|
+
tails?: ServiceDesignator[];
|
|
4122
5859
|
};
|
|
4123
5860
|
|
|
4124
5861
|
export declare type Worker_Binding = {
|
|
@@ -4183,16 +5920,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
|
|
|
4183
5920
|
json?: string;
|
|
4184
5921
|
};
|
|
4185
5922
|
|
|
4186
|
-
export declare
|
|
4187
|
-
ENCRYPT
|
|
4188
|
-
DECRYPT
|
|
4189
|
-
SIGN
|
|
4190
|
-
VERIFY
|
|
4191
|
-
DERIVE_KEY
|
|
4192
|
-
DERIVE_BITS
|
|
4193
|
-
WRAP_KEY
|
|
4194
|
-
UNWRAP_KEY
|
|
4195
|
-
}
|
|
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];
|
|
4196
5935
|
|
|
4197
5936
|
export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
|
|
4198
5937
|
className?: string;
|
|
@@ -4291,15 +6030,13 @@ export declare type Worker_Module = {
|
|
|
4291
6030
|
wasm?: Uint8Array;
|
|
4292
6031
|
} | {
|
|
4293
6032
|
json?: string;
|
|
4294
|
-
} | {
|
|
4295
|
-
nodeJsCompatModule?: string;
|
|
4296
6033
|
} | {
|
|
4297
6034
|
pythonModule?: string;
|
|
4298
6035
|
} | {
|
|
4299
6036
|
pythonRequirement?: string;
|
|
4300
6037
|
});
|
|
4301
6038
|
|
|
4302
|
-
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>;
|
|
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>;
|
|
4303
6040
|
|
|
4304
6041
|
export declare interface WorkerRoute {
|
|
4305
6042
|
target: string;
|
|
@@ -4312,6 +6049,48 @@ export declare interface WorkerRoute {
|
|
|
4312
6049
|
allowPathSuffix: boolean;
|
|
4313
6050
|
}
|
|
4314
6051
|
|
|
6052
|
+
export declare const WORKFLOWS_PLUGIN: Plugin<typeof WorkflowsOptionsSchema, typeof WorkflowsSharedOptionsSchema>;
|
|
6053
|
+
|
|
6054
|
+
export declare const WORKFLOWS_PLUGIN_NAME = "workflows";
|
|
6055
|
+
|
|
6056
|
+
export declare const WORKFLOWS_STORAGE_SERVICE_NAME = "workflows:storage";
|
|
6057
|
+
|
|
6058
|
+
export declare const WorkflowsOptionsSchema: z.ZodObject<{
|
|
6059
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6060
|
+
name: z.ZodString;
|
|
6061
|
+
className: z.ZodString;
|
|
6062
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
6063
|
+
}, "strip", z.ZodTypeAny, {
|
|
6064
|
+
name: string;
|
|
6065
|
+
className: string;
|
|
6066
|
+
scriptName?: string | undefined;
|
|
6067
|
+
}, {
|
|
6068
|
+
name: string;
|
|
6069
|
+
className: string;
|
|
6070
|
+
scriptName?: string | undefined;
|
|
6071
|
+
}>>>;
|
|
6072
|
+
}, "strip", z.ZodTypeAny, {
|
|
6073
|
+
workflows?: Record<string, {
|
|
6074
|
+
name: string;
|
|
6075
|
+
className: string;
|
|
6076
|
+
scriptName?: string | undefined;
|
|
6077
|
+
}> | undefined;
|
|
6078
|
+
}, {
|
|
6079
|
+
workflows?: Record<string, {
|
|
6080
|
+
name: string;
|
|
6081
|
+
className: string;
|
|
6082
|
+
scriptName?: string | undefined;
|
|
6083
|
+
}> | undefined;
|
|
6084
|
+
}>;
|
|
6085
|
+
|
|
6086
|
+
export declare const WorkflowsSharedOptionsSchema: z.ZodObject<{
|
|
6087
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
6088
|
+
}, "strip", z.ZodTypeAny, {
|
|
6089
|
+
workflowsPersist?: string | boolean | undefined;
|
|
6090
|
+
}, {
|
|
6091
|
+
workflowsPersist?: string | boolean | undefined;
|
|
6092
|
+
}>;
|
|
6093
|
+
|
|
4315
6094
|
export declare type WrappedBindingNames = Set<string>;
|
|
4316
6095
|
|
|
4317
6096
|
export declare function zAwaitable<T extends z.ZodTypeAny>(type: T): z.ZodUnion<[T, z.ZodPromise<T>]>;
|