miniflare 0.0.0-e5037b92a → 0.0.0-e5dbedd78
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 +1157 -375
- package/dist/src/index.js +10712 -4990
- package/dist/src/index.js.map +3 -3
- 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 +4631 -5045
- package/dist/src/workers/assets/assets.worker.js.map +3 -3
- package/dist/src/workers/assets/router.worker.js +5048 -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 +18 -29
- package/dist/src/workers/cache/cache.worker.js.map +2 -2
- package/dist/src/workers/core/entry.worker.js +43 -70
- package/dist/src/workers/core/entry.worker.js.map +1 -1
- 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/kv/namespace.worker.js +2 -4
- package/dist/src/workers/kv/namespace.worker.js.map +1 -1
- package/dist/src/workers/kv/sites.worker.js +3 -6
- 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/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 +1949 -0
- package/dist/src/workers/workflows/binding.worker.js.map +6 -0
- package/package.json +26 -25
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,54 @@ 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
14
|
import { File } from 'undici';
|
|
12
15
|
import type { File as File_2 } from '@cloudflare/workers-types/experimental';
|
|
13
|
-
import { FormData } from 'undici';
|
|
14
|
-
import { Headers } from 'undici';
|
|
15
|
-
import type { Headers as
|
|
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 { Log as Log_2 } from '..';
|
|
27
|
+
import { Miniflare as Miniflare_2 } from '../..';
|
|
28
|
+
import { Miniflare as Miniflare_3 } from '..';
|
|
20
29
|
import { MockAgent } from 'undici';
|
|
21
30
|
import NodeWebSocket from 'ws';
|
|
22
31
|
import { ParseParams } from 'zod';
|
|
32
|
+
import { PeriodType as PeriodType_2 } from './ratelimit';
|
|
33
|
+
import { Plugin as Plugin_2 } from './shared';
|
|
23
34
|
import type { Queue } from '@cloudflare/workers-types/experimental';
|
|
24
35
|
import type { R2Bucket } from '@cloudflare/workers-types/experimental';
|
|
25
36
|
import { Readable } from 'stream';
|
|
26
|
-
import type { ReadableStream } from '@cloudflare/workers-types/experimental';
|
|
27
|
-
import { ReadableStream as
|
|
37
|
+
import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
|
|
38
|
+
import { ReadableStream as ReadableStream_3 } from 'stream/web';
|
|
28
39
|
import { ReferrerPolicy } from 'undici';
|
|
29
|
-
import { Request as
|
|
30
|
-
import
|
|
40
|
+
import { Request as Request_3 } from '../..';
|
|
41
|
+
import { Request as Request_4 } from 'undici';
|
|
42
|
+
import type { Request as Request_5 } from '@cloudflare/workers-types/experimental';
|
|
43
|
+
import { Request as Request_6 } from '..';
|
|
31
44
|
import { RequestCache } from 'undici';
|
|
32
45
|
import { RequestCredentials } from 'undici';
|
|
33
46
|
import { RequestDestination } from 'undici';
|
|
34
47
|
import { RequestDuplex } from 'undici';
|
|
35
48
|
import { RequestInfo as RequestInfo_2 } from 'undici';
|
|
36
|
-
import { RequestInit as
|
|
37
|
-
import type { RequestInit as
|
|
49
|
+
import { RequestInit as RequestInit_3 } from 'undici';
|
|
50
|
+
import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/experimental';
|
|
38
51
|
import type { RequestInitCfProperties } from '@cloudflare/workers-types/experimental';
|
|
39
52
|
import { RequestMode } from 'undici';
|
|
40
53
|
import { RequestRedirect } from 'undici';
|
|
41
|
-
import { Response as
|
|
42
|
-
import
|
|
43
|
-
import {
|
|
54
|
+
import { Response as Response_3 } from '../..';
|
|
55
|
+
import { Response as Response_4 } from 'undici';
|
|
56
|
+
import type { Response as Response_5 } from '@cloudflare/workers-types/experimental';
|
|
57
|
+
import { Response as Response_6 } from '..';
|
|
58
|
+
import { ResponseInit as ResponseInit_3 } from 'undici';
|
|
44
59
|
import { ResponseRedirectStatus } from 'undici';
|
|
45
60
|
import { ResponseType } from 'undici';
|
|
46
61
|
import type { ServiceWorkerGlobalScope } from '@cloudflare/workers-types/experimental';
|
|
@@ -61,7 +76,7 @@ export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
|
|
|
61
76
|
export declare type AssetReverseMap = {
|
|
62
77
|
[pathHash: string]: {
|
|
63
78
|
filePath: string;
|
|
64
|
-
contentType: string;
|
|
79
|
+
contentType: string | null;
|
|
65
80
|
};
|
|
66
81
|
};
|
|
67
82
|
|
|
@@ -72,72 +87,302 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
72
87
|
workerName: z.ZodOptional<z.ZodString>;
|
|
73
88
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
74
89
|
binding: z.ZodOptional<z.ZodString>;
|
|
75
|
-
|
|
90
|
+
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
76
94
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
77
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
account_id?: number;
|
|
97
|
+
script_id?: number;
|
|
98
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
78
99
|
has_user_worker?: boolean;
|
|
79
100
|
}, {
|
|
101
|
+
account_id?: number;
|
|
102
|
+
script_id?: number;
|
|
103
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
80
104
|
has_user_worker?: boolean;
|
|
81
105
|
}>>;
|
|
82
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
107
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
110
|
+
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
111
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
84
112
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
113
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
version: z.ZodLiteral<1>;
|
|
115
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
116
|
+
status: z.ZodNumber;
|
|
117
|
+
to: z.ZodString;
|
|
118
|
+
lineNumber: z.ZodNumber;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
status?: number;
|
|
121
|
+
to?: string;
|
|
122
|
+
lineNumber?: number;
|
|
123
|
+
}, {
|
|
124
|
+
status?: number;
|
|
125
|
+
to?: string;
|
|
126
|
+
lineNumber?: number;
|
|
127
|
+
}>>;
|
|
128
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
129
|
+
status: z.ZodNumber;
|
|
130
|
+
to: z.ZodString;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
status?: number;
|
|
133
|
+
to?: string;
|
|
134
|
+
}, {
|
|
135
|
+
status?: number;
|
|
136
|
+
to?: string;
|
|
137
|
+
}>>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
version?: 1;
|
|
140
|
+
staticRules?: Record<string, {
|
|
141
|
+
status?: number;
|
|
142
|
+
to?: string;
|
|
143
|
+
lineNumber?: number;
|
|
144
|
+
}>;
|
|
145
|
+
rules?: Record<string, {
|
|
146
|
+
status?: number;
|
|
147
|
+
to?: string;
|
|
148
|
+
}>;
|
|
149
|
+
}, {
|
|
150
|
+
version?: 1;
|
|
151
|
+
staticRules?: Record<string, {
|
|
152
|
+
status?: number;
|
|
153
|
+
to?: string;
|
|
154
|
+
lineNumber?: number;
|
|
155
|
+
}>;
|
|
156
|
+
rules?: Record<string, {
|
|
157
|
+
status?: number;
|
|
158
|
+
to?: string;
|
|
159
|
+
}>;
|
|
160
|
+
}>>;
|
|
161
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
version: z.ZodLiteral<2>;
|
|
163
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
164
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
set?: Record<string, string>;
|
|
168
|
+
unset?: string[];
|
|
169
|
+
}, {
|
|
170
|
+
set?: Record<string, string>;
|
|
171
|
+
unset?: string[];
|
|
172
|
+
}>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
version?: 2;
|
|
175
|
+
rules?: Record<string, {
|
|
176
|
+
set?: Record<string, string>;
|
|
177
|
+
unset?: string[];
|
|
178
|
+
}>;
|
|
179
|
+
}, {
|
|
180
|
+
version?: 2;
|
|
181
|
+
rules?: Record<string, {
|
|
182
|
+
set?: Record<string, string>;
|
|
183
|
+
unset?: string[];
|
|
184
|
+
}>;
|
|
185
|
+
}>>;
|
|
186
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
187
|
+
headers?: {
|
|
188
|
+
version?: 2;
|
|
189
|
+
rules?: Record<string, {
|
|
190
|
+
set?: Record<string, string>;
|
|
191
|
+
unset?: string[];
|
|
192
|
+
}>;
|
|
193
|
+
} | undefined;
|
|
194
|
+
account_id?: number | undefined;
|
|
195
|
+
script_id?: number | undefined;
|
|
196
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
197
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
198
|
+
redirects?: {
|
|
199
|
+
version?: 1;
|
|
200
|
+
staticRules?: Record<string, {
|
|
201
|
+
status?: number;
|
|
202
|
+
to?: string;
|
|
203
|
+
lineNumber?: number;
|
|
204
|
+
}>;
|
|
205
|
+
rules?: Record<string, {
|
|
206
|
+
status?: number;
|
|
207
|
+
to?: string;
|
|
208
|
+
}>;
|
|
209
|
+
} | undefined;
|
|
88
210
|
}, {
|
|
89
|
-
|
|
90
|
-
|
|
211
|
+
headers?: {
|
|
212
|
+
version?: 2;
|
|
213
|
+
rules?: Record<string, {
|
|
214
|
+
set?: Record<string, string>;
|
|
215
|
+
unset?: string[];
|
|
216
|
+
}>;
|
|
217
|
+
} | undefined;
|
|
218
|
+
account_id?: number | undefined;
|
|
219
|
+
script_id?: number | undefined;
|
|
220
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
221
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
222
|
+
redirects?: {
|
|
223
|
+
version?: 1;
|
|
224
|
+
staticRules?: Record<string, {
|
|
225
|
+
status?: number;
|
|
226
|
+
to?: string;
|
|
227
|
+
lineNumber?: number;
|
|
228
|
+
}>;
|
|
229
|
+
rules?: Record<string, {
|
|
230
|
+
status?: number;
|
|
231
|
+
to?: string;
|
|
232
|
+
}>;
|
|
233
|
+
} | undefined;
|
|
91
234
|
}>>;
|
|
92
235
|
}, "strip", z.ZodTypeAny, {
|
|
93
236
|
directory: string;
|
|
94
237
|
workerName?: string | undefined;
|
|
95
238
|
binding?: string | undefined;
|
|
96
|
-
|
|
239
|
+
routerConfig?: {
|
|
240
|
+
account_id?: number;
|
|
241
|
+
script_id?: number;
|
|
242
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
97
243
|
has_user_worker?: boolean;
|
|
98
244
|
} | undefined;
|
|
99
245
|
assetConfig?: {
|
|
100
|
-
|
|
101
|
-
|
|
246
|
+
headers?: {
|
|
247
|
+
version?: 2;
|
|
248
|
+
rules?: Record<string, {
|
|
249
|
+
set?: Record<string, string>;
|
|
250
|
+
unset?: string[];
|
|
251
|
+
}>;
|
|
252
|
+
} | undefined;
|
|
253
|
+
account_id?: number | undefined;
|
|
254
|
+
script_id?: number | undefined;
|
|
255
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
256
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
257
|
+
redirects?: {
|
|
258
|
+
version?: 1;
|
|
259
|
+
staticRules?: Record<string, {
|
|
260
|
+
status?: number;
|
|
261
|
+
to?: string;
|
|
262
|
+
lineNumber?: number;
|
|
263
|
+
}>;
|
|
264
|
+
rules?: Record<string, {
|
|
265
|
+
status?: number;
|
|
266
|
+
to?: string;
|
|
267
|
+
}>;
|
|
268
|
+
} | undefined;
|
|
102
269
|
} | undefined;
|
|
103
270
|
}, {
|
|
104
271
|
directory: string;
|
|
105
272
|
workerName?: string | undefined;
|
|
106
273
|
binding?: string | undefined;
|
|
107
|
-
|
|
274
|
+
routerConfig?: {
|
|
275
|
+
account_id?: number;
|
|
276
|
+
script_id?: number;
|
|
277
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
108
278
|
has_user_worker?: boolean;
|
|
109
279
|
} | undefined;
|
|
110
280
|
assetConfig?: {
|
|
111
|
-
|
|
112
|
-
|
|
281
|
+
headers?: {
|
|
282
|
+
version?: 2;
|
|
283
|
+
rules?: Record<string, {
|
|
284
|
+
set?: Record<string, string>;
|
|
285
|
+
unset?: string[];
|
|
286
|
+
}>;
|
|
287
|
+
} | undefined;
|
|
288
|
+
account_id?: number | undefined;
|
|
289
|
+
script_id?: number | undefined;
|
|
290
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
291
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
292
|
+
redirects?: {
|
|
293
|
+
version?: 1;
|
|
294
|
+
staticRules?: Record<string, {
|
|
295
|
+
status?: number;
|
|
296
|
+
to?: string;
|
|
297
|
+
lineNumber?: number;
|
|
298
|
+
}>;
|
|
299
|
+
rules?: Record<string, {
|
|
300
|
+
status?: number;
|
|
301
|
+
to?: string;
|
|
302
|
+
}>;
|
|
303
|
+
} | undefined;
|
|
113
304
|
} | undefined;
|
|
114
305
|
}>>;
|
|
306
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
307
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
308
|
}, "strip", z.ZodTypeAny, {
|
|
116
309
|
assets?: {
|
|
117
310
|
directory: string;
|
|
118
311
|
workerName?: string | undefined;
|
|
119
312
|
binding?: string | undefined;
|
|
120
|
-
|
|
313
|
+
routerConfig?: {
|
|
314
|
+
account_id?: number;
|
|
315
|
+
script_id?: number;
|
|
316
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
121
317
|
has_user_worker?: boolean;
|
|
122
318
|
} | undefined;
|
|
123
319
|
assetConfig?: {
|
|
124
|
-
|
|
125
|
-
|
|
320
|
+
headers?: {
|
|
321
|
+
version?: 2;
|
|
322
|
+
rules?: Record<string, {
|
|
323
|
+
set?: Record<string, string>;
|
|
324
|
+
unset?: string[];
|
|
325
|
+
}>;
|
|
326
|
+
} | undefined;
|
|
327
|
+
account_id?: number | undefined;
|
|
328
|
+
script_id?: number | undefined;
|
|
329
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
330
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
331
|
+
redirects?: {
|
|
332
|
+
version?: 1;
|
|
333
|
+
staticRules?: Record<string, {
|
|
334
|
+
status?: number;
|
|
335
|
+
to?: string;
|
|
336
|
+
lineNumber?: number;
|
|
337
|
+
}>;
|
|
338
|
+
rules?: Record<string, {
|
|
339
|
+
status?: number;
|
|
340
|
+
to?: string;
|
|
341
|
+
}>;
|
|
342
|
+
} | undefined;
|
|
126
343
|
} | undefined;
|
|
127
344
|
} | undefined;
|
|
345
|
+
compatibilityDate?: string | undefined;
|
|
346
|
+
compatibilityFlags?: string[] | undefined;
|
|
128
347
|
}, {
|
|
129
348
|
assets?: {
|
|
130
349
|
directory: string;
|
|
131
350
|
workerName?: string | undefined;
|
|
132
351
|
binding?: string | undefined;
|
|
133
|
-
|
|
352
|
+
routerConfig?: {
|
|
353
|
+
account_id?: number;
|
|
354
|
+
script_id?: number;
|
|
355
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
134
356
|
has_user_worker?: boolean;
|
|
135
357
|
} | undefined;
|
|
136
358
|
assetConfig?: {
|
|
137
|
-
|
|
138
|
-
|
|
359
|
+
headers?: {
|
|
360
|
+
version?: 2;
|
|
361
|
+
rules?: Record<string, {
|
|
362
|
+
set?: Record<string, string>;
|
|
363
|
+
unset?: string[];
|
|
364
|
+
}>;
|
|
365
|
+
} | undefined;
|
|
366
|
+
account_id?: number | undefined;
|
|
367
|
+
script_id?: number | undefined;
|
|
368
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
369
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
370
|
+
redirects?: {
|
|
371
|
+
version?: 1;
|
|
372
|
+
staticRules?: Record<string, {
|
|
373
|
+
status?: number;
|
|
374
|
+
to?: string;
|
|
375
|
+
lineNumber?: number;
|
|
376
|
+
}>;
|
|
377
|
+
rules?: Record<string, {
|
|
378
|
+
status?: number;
|
|
379
|
+
to?: string;
|
|
380
|
+
}>;
|
|
381
|
+
} | undefined;
|
|
139
382
|
} | undefined;
|
|
140
383
|
} | undefined;
|
|
384
|
+
compatibilityDate?: string | undefined;
|
|
385
|
+
compatibilityFlags?: string[] | undefined;
|
|
141
386
|
}>;
|
|
142
387
|
|
|
143
388
|
export declare type Awaitable<T> = T | Promise<T>;
|
|
@@ -158,7 +403,7 @@ export { BodyInit }
|
|
|
158
403
|
* Use content hash to get file path from asset reverse map.
|
|
159
404
|
*/
|
|
160
405
|
export declare const buildAssetManifest: (dir: string) => Promise<{
|
|
161
|
-
encodedAssetManifest: Uint8Array
|
|
406
|
+
encodedAssetManifest: Uint8Array<ArrayBuffer>;
|
|
162
407
|
assetsReverseMap: AssetReverseMap;
|
|
163
408
|
}>;
|
|
164
409
|
|
|
@@ -266,29 +511,29 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
266
511
|
modules: z.ZodArray<z.ZodObject<{
|
|
267
512
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
268
513
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
269
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
514
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
270
515
|
}, "strip", z.ZodTypeAny, {
|
|
271
516
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
272
517
|
path: string;
|
|
273
|
-
contents?: string | Uint8Array | undefined;
|
|
518
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
274
519
|
}, {
|
|
275
520
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
276
521
|
path: string;
|
|
277
|
-
contents?: string | Uint8Array | undefined;
|
|
522
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
278
523
|
}>, "many">;
|
|
279
524
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
280
525
|
}, "strip", z.ZodTypeAny, {
|
|
281
526
|
modules: {
|
|
282
527
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
283
528
|
path: string;
|
|
284
|
-
contents?: string | Uint8Array | undefined;
|
|
529
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
285
530
|
}[];
|
|
286
531
|
modulesRoot?: string | undefined;
|
|
287
532
|
}, {
|
|
288
533
|
modules: {
|
|
289
534
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
290
535
|
path: string;
|
|
291
|
-
contents?: string | Uint8Array | undefined;
|
|
536
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
292
537
|
}[];
|
|
293
538
|
modulesRoot?: string | undefined;
|
|
294
539
|
}>, z.ZodObject<{
|
|
@@ -369,11 +614,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
369
614
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
370
615
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
371
616
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
617
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
372
618
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
373
619
|
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
|
|
620
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
375
621
|
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
|
|
622
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
377
623
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
378
624
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
379
625
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -401,7 +647,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
401
647
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
402
648
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
403
649
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
650
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
651
|
+
readonly GOOD_DEFAULT: 0;
|
|
652
|
+
readonly SSL3: 1;
|
|
653
|
+
readonly TLS1DOT0: 2;
|
|
654
|
+
readonly TLS1DOT1: 3;
|
|
655
|
+
readonly TLS1DOT2: 4;
|
|
656
|
+
readonly TLS1DOT3: 5;
|
|
657
|
+
}>>;
|
|
405
658
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
406
659
|
}, "strip", z.ZodTypeAny, {
|
|
407
660
|
keypair?: {
|
|
@@ -411,7 +664,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
411
664
|
requireClientCerts?: boolean | undefined;
|
|
412
665
|
trustBrowserCas?: boolean | undefined;
|
|
413
666
|
trustedCertificates?: string[] | undefined;
|
|
414
|
-
minVersion?:
|
|
667
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
415
668
|
cipherList?: string | undefined;
|
|
416
669
|
}, {
|
|
417
670
|
keypair?: {
|
|
@@ -421,7 +674,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
421
674
|
requireClientCerts?: boolean | undefined;
|
|
422
675
|
trustBrowserCas?: boolean | undefined;
|
|
423
676
|
trustedCertificates?: string[] | undefined;
|
|
424
|
-
minVersion?:
|
|
677
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
425
678
|
cipherList?: string | undefined;
|
|
426
679
|
}>>;
|
|
427
680
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -435,7 +688,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
435
688
|
requireClientCerts?: boolean | undefined;
|
|
436
689
|
trustBrowserCas?: boolean | undefined;
|
|
437
690
|
trustedCertificates?: string[] | undefined;
|
|
438
|
-
minVersion?:
|
|
691
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
439
692
|
cipherList?: string | undefined;
|
|
440
693
|
} | undefined;
|
|
441
694
|
}, {
|
|
@@ -449,7 +702,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
449
702
|
requireClientCerts?: boolean | undefined;
|
|
450
703
|
trustBrowserCas?: boolean | undefined;
|
|
451
704
|
trustedCertificates?: string[] | undefined;
|
|
452
|
-
minVersion?:
|
|
705
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
453
706
|
cipherList?: string | undefined;
|
|
454
707
|
} | undefined;
|
|
455
708
|
}>;
|
|
@@ -465,7 +718,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
465
718
|
requireClientCerts?: boolean | undefined;
|
|
466
719
|
trustBrowserCas?: boolean | undefined;
|
|
467
720
|
trustedCertificates?: string[] | undefined;
|
|
468
|
-
minVersion?:
|
|
721
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
469
722
|
cipherList?: string | undefined;
|
|
470
723
|
} | undefined;
|
|
471
724
|
};
|
|
@@ -481,16 +734,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
481
734
|
requireClientCerts?: boolean | undefined;
|
|
482
735
|
trustBrowserCas?: boolean | undefined;
|
|
483
736
|
trustedCertificates?: string[] | undefined;
|
|
484
|
-
minVersion?:
|
|
737
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
485
738
|
cipherList?: string | undefined;
|
|
486
739
|
} | undefined;
|
|
487
740
|
};
|
|
488
741
|
}>, z.ZodObject<{
|
|
489
|
-
external: z.ZodType<
|
|
742
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
490
743
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
external:
|
|
744
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
492
745
|
}, {
|
|
493
|
-
external:
|
|
746
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
494
747
|
}>, z.ZodObject<{
|
|
495
748
|
disk: z.ZodObject<{
|
|
496
749
|
path: z.ZodString;
|
|
@@ -512,7 +765,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
512
765
|
path: string;
|
|
513
766
|
writable?: boolean | undefined;
|
|
514
767
|
};
|
|
515
|
-
}>, z.ZodType<(request:
|
|
768
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
|
|
516
769
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
517
770
|
scriptName: z.ZodString;
|
|
518
771
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -553,7 +806,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
553
806
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
554
807
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
555
808
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
556
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
809
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
810
|
+
readonly GOOD_DEFAULT: 0;
|
|
811
|
+
readonly SSL3: 1;
|
|
812
|
+
readonly TLS1DOT0: 2;
|
|
813
|
+
readonly TLS1DOT1: 3;
|
|
814
|
+
readonly TLS1DOT2: 4;
|
|
815
|
+
readonly TLS1DOT3: 5;
|
|
816
|
+
}>>;
|
|
557
817
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
558
818
|
}, "strip", z.ZodTypeAny, {
|
|
559
819
|
keypair?: {
|
|
@@ -563,7 +823,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
563
823
|
requireClientCerts?: boolean | undefined;
|
|
564
824
|
trustBrowserCas?: boolean | undefined;
|
|
565
825
|
trustedCertificates?: string[] | undefined;
|
|
566
|
-
minVersion?:
|
|
826
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
567
827
|
cipherList?: string | undefined;
|
|
568
828
|
}, {
|
|
569
829
|
keypair?: {
|
|
@@ -573,7 +833,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
573
833
|
requireClientCerts?: boolean | undefined;
|
|
574
834
|
trustBrowserCas?: boolean | undefined;
|
|
575
835
|
trustedCertificates?: string[] | undefined;
|
|
576
|
-
minVersion?:
|
|
836
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
577
837
|
cipherList?: string | undefined;
|
|
578
838
|
}>>;
|
|
579
839
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -587,7 +847,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
587
847
|
requireClientCerts?: boolean | undefined;
|
|
588
848
|
trustBrowserCas?: boolean | undefined;
|
|
589
849
|
trustedCertificates?: string[] | undefined;
|
|
590
|
-
minVersion?:
|
|
850
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
591
851
|
cipherList?: string | undefined;
|
|
592
852
|
} | undefined;
|
|
593
853
|
}, {
|
|
@@ -601,7 +861,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
601
861
|
requireClientCerts?: boolean | undefined;
|
|
602
862
|
trustBrowserCas?: boolean | undefined;
|
|
603
863
|
trustedCertificates?: string[] | undefined;
|
|
604
|
-
minVersion?:
|
|
864
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
605
865
|
cipherList?: string | undefined;
|
|
606
866
|
} | undefined;
|
|
607
867
|
}>;
|
|
@@ -617,7 +877,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
617
877
|
requireClientCerts?: boolean | undefined;
|
|
618
878
|
trustBrowserCas?: boolean | undefined;
|
|
619
879
|
trustedCertificates?: string[] | undefined;
|
|
620
|
-
minVersion?:
|
|
880
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
621
881
|
cipherList?: string | undefined;
|
|
622
882
|
} | undefined;
|
|
623
883
|
};
|
|
@@ -633,16 +893,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
633
893
|
requireClientCerts?: boolean | undefined;
|
|
634
894
|
trustBrowserCas?: boolean | undefined;
|
|
635
895
|
trustedCertificates?: string[] | undefined;
|
|
636
|
-
minVersion?:
|
|
896
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
637
897
|
cipherList?: string | undefined;
|
|
638
898
|
} | undefined;
|
|
639
899
|
};
|
|
640
900
|
}>, z.ZodObject<{
|
|
641
|
-
external: z.ZodType<
|
|
901
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
642
902
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
-
external:
|
|
903
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
644
904
|
}, {
|
|
645
|
-
external:
|
|
905
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
646
906
|
}>, z.ZodObject<{
|
|
647
907
|
disk: z.ZodObject<{
|
|
648
908
|
path: z.ZodString;
|
|
@@ -664,7 +924,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
664
924
|
path: string;
|
|
665
925
|
writable?: boolean | undefined;
|
|
666
926
|
};
|
|
667
|
-
}>, z.ZodType<(request:
|
|
927
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
|
|
668
928
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
|
|
669
929
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
670
930
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -685,8 +945,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
685
945
|
}>, "many">>;
|
|
686
946
|
unsafeEvalBinding: z.ZodOptional<z.ZodString>;
|
|
687
947
|
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
|
|
948
|
+
/** Used to set the vitest pool worker SELF binding to point to the Router Worker if there are assets.
|
|
949
|
+
(If there are assets but we're not using vitest, the miniflare entry worker can point directly to
|
|
950
|
+
Router Worker)
|
|
690
951
|
*/
|
|
691
952
|
hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
|
|
692
953
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -694,11 +955,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
694
955
|
rootPath?: undefined;
|
|
695
956
|
compatibilityDate?: string | undefined;
|
|
696
957
|
compatibilityFlags?: string[] | undefined;
|
|
958
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
697
959
|
routes?: string[] | undefined;
|
|
698
960
|
bindings?: Record<string, Json> | undefined;
|
|
699
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
961
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
700
962
|
textBlobBindings?: Record<string, string> | undefined;
|
|
701
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
963
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
702
964
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
703
965
|
name: string | typeof kCurrentWorker;
|
|
704
966
|
entrypoint?: string | undefined;
|
|
@@ -714,18 +976,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
714
976
|
requireClientCerts?: boolean | undefined;
|
|
715
977
|
trustBrowserCas?: boolean | undefined;
|
|
716
978
|
trustedCertificates?: string[] | undefined;
|
|
717
|
-
minVersion?:
|
|
979
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
718
980
|
cipherList?: string | undefined;
|
|
719
981
|
} | undefined;
|
|
720
982
|
};
|
|
721
983
|
} | {
|
|
722
|
-
external:
|
|
984
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
723
985
|
} | {
|
|
724
986
|
disk: {
|
|
725
987
|
path: string;
|
|
726
988
|
writable?: boolean | undefined;
|
|
727
989
|
};
|
|
728
|
-
} | ((request:
|
|
990
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
729
991
|
wrappedBindings?: Record<string, string | {
|
|
730
992
|
scriptName: string;
|
|
731
993
|
entrypoint?: string | undefined;
|
|
@@ -746,18 +1008,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
746
1008
|
requireClientCerts?: boolean | undefined;
|
|
747
1009
|
trustBrowserCas?: boolean | undefined;
|
|
748
1010
|
trustedCertificates?: string[] | undefined;
|
|
749
|
-
minVersion?:
|
|
1011
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
750
1012
|
cipherList?: string | undefined;
|
|
751
1013
|
} | undefined;
|
|
752
1014
|
};
|
|
753
1015
|
} | {
|
|
754
|
-
external:
|
|
1016
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
755
1017
|
} | {
|
|
756
1018
|
disk: {
|
|
757
1019
|
path: string;
|
|
758
1020
|
writable?: boolean | undefined;
|
|
759
1021
|
};
|
|
760
|
-
} | ((request:
|
|
1022
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
761
1023
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
762
1024
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
763
1025
|
unsafeDirectSockets?: {
|
|
@@ -774,11 +1036,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
774
1036
|
rootPath?: string | undefined;
|
|
775
1037
|
compatibilityDate?: string | undefined;
|
|
776
1038
|
compatibilityFlags?: string[] | undefined;
|
|
1039
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
777
1040
|
routes?: string[] | undefined;
|
|
778
1041
|
bindings?: Record<string, Json> | undefined;
|
|
779
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1042
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
780
1043
|
textBlobBindings?: Record<string, string> | undefined;
|
|
781
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1044
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
782
1045
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
783
1046
|
name: string | typeof kCurrentWorker;
|
|
784
1047
|
entrypoint?: string | undefined;
|
|
@@ -794,18 +1057,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
794
1057
|
requireClientCerts?: boolean | undefined;
|
|
795
1058
|
trustBrowserCas?: boolean | undefined;
|
|
796
1059
|
trustedCertificates?: string[] | undefined;
|
|
797
|
-
minVersion?:
|
|
1060
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
798
1061
|
cipherList?: string | undefined;
|
|
799
1062
|
} | undefined;
|
|
800
1063
|
};
|
|
801
1064
|
} | {
|
|
802
|
-
external:
|
|
1065
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
803
1066
|
} | {
|
|
804
1067
|
disk: {
|
|
805
1068
|
path: string;
|
|
806
1069
|
writable?: boolean | undefined;
|
|
807
1070
|
};
|
|
808
|
-
} | ((request:
|
|
1071
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
809
1072
|
wrappedBindings?: Record<string, string | {
|
|
810
1073
|
scriptName: string;
|
|
811
1074
|
entrypoint?: string | undefined;
|
|
@@ -826,18 +1089,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
826
1089
|
requireClientCerts?: boolean | undefined;
|
|
827
1090
|
trustBrowserCas?: boolean | undefined;
|
|
828
1091
|
trustedCertificates?: string[] | undefined;
|
|
829
|
-
minVersion?:
|
|
1092
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
830
1093
|
cipherList?: string | undefined;
|
|
831
1094
|
} | undefined;
|
|
832
1095
|
};
|
|
833
1096
|
} | {
|
|
834
|
-
external:
|
|
1097
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
835
1098
|
} | {
|
|
836
1099
|
disk: {
|
|
837
1100
|
path: string;
|
|
838
1101
|
writable?: boolean | undefined;
|
|
839
1102
|
};
|
|
840
|
-
} | ((request:
|
|
1103
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
841
1104
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
842
1105
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
843
1106
|
unsafeDirectSockets?: {
|
|
@@ -853,7 +1116,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
853
1116
|
modules: {
|
|
854
1117
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
855
1118
|
path: string;
|
|
856
|
-
contents?: string | Uint8Array | undefined;
|
|
1119
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
857
1120
|
}[];
|
|
858
1121
|
modulesRoot?: string | undefined;
|
|
859
1122
|
} & {
|
|
@@ -861,11 +1124,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
861
1124
|
rootPath?: undefined;
|
|
862
1125
|
compatibilityDate?: string | undefined;
|
|
863
1126
|
compatibilityFlags?: string[] | undefined;
|
|
1127
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
864
1128
|
routes?: string[] | undefined;
|
|
865
1129
|
bindings?: Record<string, Json> | undefined;
|
|
866
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1130
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
867
1131
|
textBlobBindings?: Record<string, string> | undefined;
|
|
868
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1132
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
869
1133
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
870
1134
|
name: string | typeof kCurrentWorker;
|
|
871
1135
|
entrypoint?: string | undefined;
|
|
@@ -881,18 +1145,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
881
1145
|
requireClientCerts?: boolean | undefined;
|
|
882
1146
|
trustBrowserCas?: boolean | undefined;
|
|
883
1147
|
trustedCertificates?: string[] | undefined;
|
|
884
|
-
minVersion?:
|
|
1148
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
885
1149
|
cipherList?: string | undefined;
|
|
886
1150
|
} | undefined;
|
|
887
1151
|
};
|
|
888
1152
|
} | {
|
|
889
|
-
external:
|
|
1153
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
890
1154
|
} | {
|
|
891
1155
|
disk: {
|
|
892
1156
|
path: string;
|
|
893
1157
|
writable?: boolean | undefined;
|
|
894
1158
|
};
|
|
895
|
-
} | ((request:
|
|
1159
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
896
1160
|
wrappedBindings?: Record<string, string | {
|
|
897
1161
|
scriptName: string;
|
|
898
1162
|
entrypoint?: string | undefined;
|
|
@@ -913,18 +1177,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
913
1177
|
requireClientCerts?: boolean | undefined;
|
|
914
1178
|
trustBrowserCas?: boolean | undefined;
|
|
915
1179
|
trustedCertificates?: string[] | undefined;
|
|
916
|
-
minVersion?:
|
|
1180
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
917
1181
|
cipherList?: string | undefined;
|
|
918
1182
|
} | undefined;
|
|
919
1183
|
};
|
|
920
1184
|
} | {
|
|
921
|
-
external:
|
|
1185
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
922
1186
|
} | {
|
|
923
1187
|
disk: {
|
|
924
1188
|
path: string;
|
|
925
1189
|
writable?: boolean | undefined;
|
|
926
1190
|
};
|
|
927
|
-
} | ((request:
|
|
1191
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
928
1192
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
929
1193
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
930
1194
|
unsafeDirectSockets?: {
|
|
@@ -951,11 +1215,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
951
1215
|
rootPath?: undefined;
|
|
952
1216
|
compatibilityDate?: string | undefined;
|
|
953
1217
|
compatibilityFlags?: string[] | undefined;
|
|
1218
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
954
1219
|
routes?: string[] | undefined;
|
|
955
1220
|
bindings?: Record<string, Json> | undefined;
|
|
956
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1221
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
957
1222
|
textBlobBindings?: Record<string, string> | undefined;
|
|
958
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1223
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
959
1224
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
960
1225
|
name: string | typeof kCurrentWorker;
|
|
961
1226
|
entrypoint?: string | undefined;
|
|
@@ -971,18 +1236,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
971
1236
|
requireClientCerts?: boolean | undefined;
|
|
972
1237
|
trustBrowserCas?: boolean | undefined;
|
|
973
1238
|
trustedCertificates?: string[] | undefined;
|
|
974
|
-
minVersion?:
|
|
1239
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
975
1240
|
cipherList?: string | undefined;
|
|
976
1241
|
} | undefined;
|
|
977
1242
|
};
|
|
978
1243
|
} | {
|
|
979
|
-
external:
|
|
1244
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
980
1245
|
} | {
|
|
981
1246
|
disk: {
|
|
982
1247
|
path: string;
|
|
983
1248
|
writable?: boolean | undefined;
|
|
984
1249
|
};
|
|
985
|
-
} | ((request:
|
|
1250
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
986
1251
|
wrappedBindings?: Record<string, string | {
|
|
987
1252
|
scriptName: string;
|
|
988
1253
|
entrypoint?: string | undefined;
|
|
@@ -1003,18 +1268,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1003
1268
|
requireClientCerts?: boolean | undefined;
|
|
1004
1269
|
trustBrowserCas?: boolean | undefined;
|
|
1005
1270
|
trustedCertificates?: string[] | undefined;
|
|
1006
|
-
minVersion?:
|
|
1271
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1007
1272
|
cipherList?: string | undefined;
|
|
1008
1273
|
} | undefined;
|
|
1009
1274
|
};
|
|
1010
1275
|
} | {
|
|
1011
|
-
external:
|
|
1276
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1012
1277
|
} | {
|
|
1013
1278
|
disk: {
|
|
1014
1279
|
path: string;
|
|
1015
1280
|
writable?: boolean | undefined;
|
|
1016
1281
|
};
|
|
1017
|
-
} | ((request:
|
|
1282
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1018
1283
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1019
1284
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1020
1285
|
unsafeDirectSockets?: {
|
|
@@ -1040,11 +1305,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1040
1305
|
rootPath?: undefined;
|
|
1041
1306
|
compatibilityDate?: string | undefined;
|
|
1042
1307
|
compatibilityFlags?: string[] | undefined;
|
|
1308
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1043
1309
|
routes?: string[] | undefined;
|
|
1044
1310
|
bindings?: Record<string, Json> | undefined;
|
|
1045
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1311
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1046
1312
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1047
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1313
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1048
1314
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1049
1315
|
name: string | typeof kCurrentWorker;
|
|
1050
1316
|
entrypoint?: string | undefined;
|
|
@@ -1060,18 +1326,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1060
1326
|
requireClientCerts?: boolean | undefined;
|
|
1061
1327
|
trustBrowserCas?: boolean | undefined;
|
|
1062
1328
|
trustedCertificates?: string[] | undefined;
|
|
1063
|
-
minVersion?:
|
|
1329
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1064
1330
|
cipherList?: string | undefined;
|
|
1065
1331
|
} | undefined;
|
|
1066
1332
|
};
|
|
1067
1333
|
} | {
|
|
1068
|
-
external:
|
|
1334
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1069
1335
|
} | {
|
|
1070
1336
|
disk: {
|
|
1071
1337
|
path: string;
|
|
1072
1338
|
writable?: boolean | undefined;
|
|
1073
1339
|
};
|
|
1074
|
-
} | ((request:
|
|
1340
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1075
1341
|
wrappedBindings?: Record<string, string | {
|
|
1076
1342
|
scriptName: string;
|
|
1077
1343
|
entrypoint?: string | undefined;
|
|
@@ -1092,18 +1358,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1092
1358
|
requireClientCerts?: boolean | undefined;
|
|
1093
1359
|
trustBrowserCas?: boolean | undefined;
|
|
1094
1360
|
trustedCertificates?: string[] | undefined;
|
|
1095
|
-
minVersion?:
|
|
1361
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1096
1362
|
cipherList?: string | undefined;
|
|
1097
1363
|
} | undefined;
|
|
1098
1364
|
};
|
|
1099
1365
|
} | {
|
|
1100
|
-
external:
|
|
1366
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1101
1367
|
} | {
|
|
1102
1368
|
disk: {
|
|
1103
1369
|
path: string;
|
|
1104
1370
|
writable?: boolean | undefined;
|
|
1105
1371
|
};
|
|
1106
|
-
} | ((request:
|
|
1372
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1107
1373
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1108
1374
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1109
1375
|
unsafeDirectSockets?: {
|
|
@@ -1119,7 +1385,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1119
1385
|
modules: {
|
|
1120
1386
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1121
1387
|
path: string;
|
|
1122
|
-
contents?: string | Uint8Array | undefined;
|
|
1388
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1123
1389
|
}[];
|
|
1124
1390
|
modulesRoot?: string | undefined;
|
|
1125
1391
|
} | {
|
|
@@ -1146,11 +1412,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1146
1412
|
rootPath?: string | undefined;
|
|
1147
1413
|
compatibilityDate?: string | undefined;
|
|
1148
1414
|
compatibilityFlags?: string[] | undefined;
|
|
1415
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
1149
1416
|
routes?: string[] | undefined;
|
|
1150
1417
|
bindings?: Record<string, Json> | undefined;
|
|
1151
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1418
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1152
1419
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1153
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1420
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1154
1421
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1155
1422
|
name: string | typeof kCurrentWorker;
|
|
1156
1423
|
entrypoint?: string | undefined;
|
|
@@ -1166,18 +1433,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1166
1433
|
requireClientCerts?: boolean | undefined;
|
|
1167
1434
|
trustBrowserCas?: boolean | undefined;
|
|
1168
1435
|
trustedCertificates?: string[] | undefined;
|
|
1169
|
-
minVersion?:
|
|
1436
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1170
1437
|
cipherList?: string | undefined;
|
|
1171
1438
|
} | undefined;
|
|
1172
1439
|
};
|
|
1173
1440
|
} | {
|
|
1174
|
-
external:
|
|
1441
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1175
1442
|
} | {
|
|
1176
1443
|
disk: {
|
|
1177
1444
|
path: string;
|
|
1178
1445
|
writable?: boolean | undefined;
|
|
1179
1446
|
};
|
|
1180
|
-
} | ((request:
|
|
1447
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1181
1448
|
wrappedBindings?: Record<string, string | {
|
|
1182
1449
|
scriptName: string;
|
|
1183
1450
|
entrypoint?: string | undefined;
|
|
@@ -1198,18 +1465,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1198
1465
|
requireClientCerts?: boolean | undefined;
|
|
1199
1466
|
trustBrowserCas?: boolean | undefined;
|
|
1200
1467
|
trustedCertificates?: string[] | undefined;
|
|
1201
|
-
minVersion?:
|
|
1468
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1202
1469
|
cipherList?: string | undefined;
|
|
1203
1470
|
} | undefined;
|
|
1204
1471
|
};
|
|
1205
1472
|
} | {
|
|
1206
|
-
external:
|
|
1473
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1207
1474
|
} | {
|
|
1208
1475
|
disk: {
|
|
1209
1476
|
path: string;
|
|
1210
1477
|
writable?: boolean | undefined;
|
|
1211
1478
|
};
|
|
1212
|
-
} | ((request:
|
|
1479
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1213
1480
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1214
1481
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1215
1482
|
unsafeDirectSockets?: {
|
|
@@ -1240,7 +1507,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1240
1507
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
1241
1508
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1509
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
1510
|
+
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
1511
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1245
1512
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1513
|
rootPath?: undefined;
|
|
@@ -1259,7 +1526,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1259
1526
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1260
1527
|
liveReload?: boolean | undefined;
|
|
1261
1528
|
unsafeProxySharedSecret?: string | undefined;
|
|
1262
|
-
unsafeModuleFallbackService?: ((request:
|
|
1529
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1263
1530
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1264
1531
|
}, {
|
|
1265
1532
|
rootPath?: string | undefined;
|
|
@@ -1278,7 +1545,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1278
1545
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1279
1546
|
liveReload?: boolean | undefined;
|
|
1280
1547
|
unsafeProxySharedSecret?: string | undefined;
|
|
1281
|
-
unsafeModuleFallbackService?: ((request:
|
|
1548
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1282
1549
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1283
1550
|
}>;
|
|
1284
1551
|
|
|
@@ -1333,7 +1600,7 @@ export declare interface DiskDirectory {
|
|
|
1333
1600
|
writable?: boolean;
|
|
1334
1601
|
}
|
|
1335
1602
|
|
|
1336
|
-
export declare type DispatchFetch = (input: RequestInfo, init?:
|
|
1603
|
+
export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
|
|
1337
1604
|
|
|
1338
1605
|
/**
|
|
1339
1606
|
* Dispatcher created for each `dispatchFetch()` call. Ensures request origin
|
|
@@ -1431,8 +1698,6 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1431
1698
|
|
|
1432
1699
|
export declare function encodeSitesKey(key: string): string;
|
|
1433
1700
|
|
|
1434
|
-
export declare const ENTRY_SOCKET_HTTP_OPTIONS: HttpOptions;
|
|
1435
|
-
|
|
1436
1701
|
export declare class ErrorEvent extends Event {
|
|
1437
1702
|
readonly error: Error | null;
|
|
1438
1703
|
constructor(type: "error", init?: {
|
|
@@ -1471,7 +1736,8 @@ export declare interface ExternalServer_Tcp {
|
|
|
1471
1736
|
certificateHost?: string;
|
|
1472
1737
|
}
|
|
1473
1738
|
|
|
1474
|
-
|
|
1739
|
+
declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
|
|
1740
|
+
export { fetch_2 as fetch }
|
|
1475
1741
|
|
|
1476
1742
|
export { File }
|
|
1477
1743
|
|
|
@@ -1479,7 +1745,7 @@ export declare function _forceColour(enabled?: boolean): void;
|
|
|
1479
1745
|
|
|
1480
1746
|
export declare function formatZodError(error: z.ZodError, input: unknown): string;
|
|
1481
1747
|
|
|
1482
|
-
export { FormData }
|
|
1748
|
+
export { FormData_2 as FormData }
|
|
1483
1749
|
|
|
1484
1750
|
export declare function getAccessibleHosts(ipv4Only?: boolean): string[];
|
|
1485
1751
|
|
|
@@ -1513,13 +1779,10 @@ export declare function getMiniflareObjectBindings(unsafeStickyBlobs: boolean):
|
|
|
1513
1779
|
*
|
|
1514
1780
|
* @param compatibilityDateStr The compatibility date
|
|
1515
1781
|
* @param compatibilityFlags The compatibility flags
|
|
1516
|
-
* @param opts.nodeCompat Whether the legacy node_compat arg is being used
|
|
1517
1782
|
* @returns the mode and flags to indicate specific configuration for validating.
|
|
1518
1783
|
*/
|
|
1519
1784
|
export declare function getNodeCompat(compatibilityDate: string | undefined, // Default to some arbitrary old date
|
|
1520
|
-
compatibilityFlags: string[]
|
|
1521
|
-
nodeCompat?: boolean;
|
|
1522
|
-
}): {
|
|
1785
|
+
compatibilityFlags: string[]): {
|
|
1523
1786
|
mode: NodeJSCompatMode;
|
|
1524
1787
|
hasNodejsAlsFlag: boolean;
|
|
1525
1788
|
hasNodejsCompatFlag: boolean;
|
|
@@ -1543,7 +1806,7 @@ export declare interface GlobalServicesOptions {
|
|
|
1543
1806
|
|
|
1544
1807
|
export declare function globsToRegExps(globs?: string[]): MatcherRegExps;
|
|
1545
1808
|
|
|
1546
|
-
export { Headers }
|
|
1809
|
+
export { Headers_2 as Headers }
|
|
1547
1810
|
|
|
1548
1811
|
export { HeadersInit }
|
|
1549
1812
|
|
|
@@ -1563,10 +1826,12 @@ export declare interface HttpOptions_Header {
|
|
|
1563
1826
|
value?: string;
|
|
1564
1827
|
}
|
|
1565
1828
|
|
|
1566
|
-
export declare
|
|
1567
|
-
HOST
|
|
1568
|
-
PROXY
|
|
1569
|
-
}
|
|
1829
|
+
export declare const HttpOptions_Style: {
|
|
1830
|
+
readonly HOST: 0;
|
|
1831
|
+
readonly PROXY: 1;
|
|
1832
|
+
};
|
|
1833
|
+
|
|
1834
|
+
export declare type HttpOptions_Style = (typeof HttpOptions_Style)[keyof typeof HttpOptions_Style];
|
|
1570
1835
|
|
|
1571
1836
|
export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
|
|
1572
1837
|
|
|
@@ -1749,12 +2014,13 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
|
1749
2014
|
*/
|
|
1750
2015
|
export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
|
|
1751
2016
|
|
|
1752
|
-
|
|
1753
|
-
readonly data: ArrayBuffer |
|
|
2017
|
+
declare class MessageEvent_2 extends Event {
|
|
2018
|
+
readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1754
2019
|
constructor(type: "message", init: {
|
|
1755
|
-
data: ArrayBuffer |
|
|
2020
|
+
data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1756
2021
|
});
|
|
1757
2022
|
}
|
|
2023
|
+
export { MessageEvent_2 as MessageEvent }
|
|
1758
2024
|
|
|
1759
2025
|
export declare function migrateDatabase(log: Log, uniqueKey: string, persistPath: string, namespace: string): Promise<void>;
|
|
1760
2026
|
|
|
@@ -1784,7 +2050,7 @@ export declare class Miniflare {
|
|
|
1784
2050
|
export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
|
|
1785
2051
|
}
|
|
1786
2052
|
|
|
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";
|
|
2053
|
+
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
2054
|
|
|
1789
2055
|
export declare class MiniflareError<Code extends string | number = string | number> extends Error {
|
|
1790
2056
|
readonly code: Code;
|
|
@@ -1801,15 +2067,15 @@ export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
|
1801
2067
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
1802
2068
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1803
2069
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1804
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
2070
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
1805
2071
|
}, "strip", z.ZodTypeAny, {
|
|
1806
2072
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1807
2073
|
path: string;
|
|
1808
|
-
contents?: string | Uint8Array | undefined;
|
|
2074
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1809
2075
|
}, {
|
|
1810
2076
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1811
2077
|
path: string;
|
|
1812
|
-
contents?: string | Uint8Array | undefined;
|
|
2078
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1813
2079
|
}>;
|
|
1814
2080
|
|
|
1815
2081
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
@@ -1853,18 +2119,17 @@ export declare interface Network {
|
|
|
1853
2119
|
tlsOptions?: TlsOptions;
|
|
1854
2120
|
}
|
|
1855
2121
|
|
|
1856
|
-
export declare const NODE_PLATFORM_IMPL: PlatformImpl<
|
|
2122
|
+
export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
|
|
1857
2123
|
|
|
1858
2124
|
/**
|
|
1859
2125
|
* 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
2126
|
* - "als": this mode tells the workerd runtime to enable only the Async Local Storage builtin library (accessible via `node:async_hooks`).
|
|
1862
2127
|
* - "v1" - this mode tells the workerd runtime to enable some Node.js builtin libraries (accessible only via `node:...` imports) but no globals.
|
|
1863
2128
|
* - "v2" - this mode tells the workerd runtime to enable more Node.js builtin libraries (accessible both with and without the `node:` prefix)
|
|
1864
2129
|
* 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
2130
|
* - null - no Node.js compatibility.
|
|
1866
2131
|
*/
|
|
1867
|
-
export declare type NodeJSCompatMode = "
|
|
2132
|
+
export declare type NodeJSCompatMode = "als" | "v1" | "v2" | null;
|
|
1868
2133
|
|
|
1869
2134
|
export declare class NoOpLog extends Log {
|
|
1870
2135
|
constructor();
|
|
@@ -1886,7 +2151,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
|
|
|
1886
2151
|
|
|
1887
2152
|
export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
|
|
1888
2153
|
|
|
1889
|
-
export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T :
|
|
2154
|
+
export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion14<T>;
|
|
2155
|
+
|
|
2156
|
+
export declare type OverloadUnion10<T> = T extends {
|
|
2157
|
+
(...args: infer P1): infer R1;
|
|
2158
|
+
(...args: infer P2): infer R2;
|
|
2159
|
+
(...args: infer P3): infer R3;
|
|
2160
|
+
(...args: infer P4): infer R4;
|
|
2161
|
+
(...args: infer P5): infer R5;
|
|
2162
|
+
(...args: infer P6): infer R6;
|
|
2163
|
+
(...args: infer P7): infer R7;
|
|
2164
|
+
(...args: infer P8): infer R8;
|
|
2165
|
+
(...args: infer P9): infer R9;
|
|
2166
|
+
(...args: infer P10): infer R10;
|
|
2167
|
+
} ? ((...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>;
|
|
2168
|
+
|
|
2169
|
+
export declare type OverloadUnion11<T> = T extends {
|
|
2170
|
+
(...args: infer P1): infer R1;
|
|
2171
|
+
(...args: infer P2): infer R2;
|
|
2172
|
+
(...args: infer P3): infer R3;
|
|
2173
|
+
(...args: infer P4): infer R4;
|
|
2174
|
+
(...args: infer P5): infer R5;
|
|
2175
|
+
(...args: infer P6): infer R6;
|
|
2176
|
+
(...args: infer P7): infer R7;
|
|
2177
|
+
(...args: infer P8): infer R8;
|
|
2178
|
+
(...args: infer P9): infer R9;
|
|
2179
|
+
(...args: infer P10): infer R10;
|
|
2180
|
+
(...args: infer P11): infer R11;
|
|
2181
|
+
} ? ((...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>;
|
|
2182
|
+
|
|
2183
|
+
export declare type OverloadUnion12<T> = T extends {
|
|
2184
|
+
(...args: infer P1): infer R1;
|
|
2185
|
+
(...args: infer P2): infer R2;
|
|
2186
|
+
(...args: infer P3): infer R3;
|
|
2187
|
+
(...args: infer P4): infer R4;
|
|
2188
|
+
(...args: infer P5): infer R5;
|
|
2189
|
+
(...args: infer P6): infer R6;
|
|
2190
|
+
(...args: infer P7): infer R7;
|
|
2191
|
+
(...args: infer P8): infer R8;
|
|
2192
|
+
(...args: infer P9): infer R9;
|
|
2193
|
+
(...args: infer P10): infer R10;
|
|
2194
|
+
(...args: infer P11): infer R11;
|
|
2195
|
+
(...args: infer P12): infer R12;
|
|
2196
|
+
} ? ((...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>;
|
|
2197
|
+
|
|
2198
|
+
export declare type OverloadUnion13<T> = T extends {
|
|
2199
|
+
(...args: infer P1): infer R1;
|
|
2200
|
+
(...args: infer P2): infer R2;
|
|
2201
|
+
(...args: infer P3): infer R3;
|
|
2202
|
+
(...args: infer P4): infer R4;
|
|
2203
|
+
(...args: infer P5): infer R5;
|
|
2204
|
+
(...args: infer P6): infer R6;
|
|
2205
|
+
(...args: infer P7): infer R7;
|
|
2206
|
+
(...args: infer P8): infer R8;
|
|
2207
|
+
(...args: infer P9): infer R9;
|
|
2208
|
+
(...args: infer P10): infer R10;
|
|
2209
|
+
(...args: infer P11): infer R11;
|
|
2210
|
+
(...args: infer P12): infer R12;
|
|
2211
|
+
(...args: infer P13): infer R13;
|
|
2212
|
+
} ? ((...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>;
|
|
2213
|
+
|
|
2214
|
+
export declare type OverloadUnion14<T> = T extends {
|
|
2215
|
+
(...args: infer P1): infer R1;
|
|
2216
|
+
(...args: infer P2): infer R2;
|
|
2217
|
+
(...args: infer P3): infer R3;
|
|
2218
|
+
(...args: infer P4): infer R4;
|
|
2219
|
+
(...args: infer P5): infer R5;
|
|
2220
|
+
(...args: infer P6): infer R6;
|
|
2221
|
+
(...args: infer P7): infer R7;
|
|
2222
|
+
(...args: infer P8): infer R8;
|
|
2223
|
+
(...args: infer P9): infer R9;
|
|
2224
|
+
(...args: infer P10): infer R10;
|
|
2225
|
+
(...args: infer P11): infer R11;
|
|
2226
|
+
(...args: infer P12): infer R12;
|
|
2227
|
+
(...args: infer P13): infer R13;
|
|
2228
|
+
(...args: infer P14): infer R14;
|
|
2229
|
+
} ? ((...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
2230
|
|
|
1891
2231
|
export declare type OverloadUnion2<T> = T extends {
|
|
1892
2232
|
(...args: infer P1): infer R1;
|
|
@@ -1982,12 +2322,24 @@ export declare type Persistence = z.infer<typeof PersistenceSchema>;
|
|
|
1982
2322
|
|
|
1983
2323
|
export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
1984
2324
|
|
|
2325
|
+
export declare const PIPELINE_PLUGIN: Plugin<typeof PipelineOptionsSchema>;
|
|
2326
|
+
|
|
2327
|
+
export declare const PipelineOptionsSchema: z.ZodObject<{
|
|
2328
|
+
pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
2329
|
+
}, "strip", z.ZodTypeAny, {
|
|
2330
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
2331
|
+
}, {
|
|
2332
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
2333
|
+
}>;
|
|
2334
|
+
|
|
2335
|
+
export declare const PIPELINES_PLUGIN_NAME = "pipelines";
|
|
2336
|
+
|
|
1985
2337
|
export declare interface PlatformImpl<RS> {
|
|
1986
2338
|
Blob: typeof Blob_2;
|
|
1987
2339
|
File: typeof File_2;
|
|
1988
|
-
Headers: typeof
|
|
1989
|
-
Request: typeof
|
|
1990
|
-
Response: typeof
|
|
2340
|
+
Headers: typeof Headers_3;
|
|
2341
|
+
Request: typeof Request_5;
|
|
2342
|
+
Response: typeof Response_5;
|
|
1991
2343
|
isReadableStream(value: unknown): value is RS;
|
|
1992
2344
|
bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
|
|
1993
2345
|
unbufferReadableStream(buffer: ArrayBuffer): RS;
|
|
@@ -2010,33 +2362,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2010
2362
|
}
|
|
2011
2363
|
|
|
2012
2364
|
export declare const PLUGINS: {
|
|
2013
|
-
core:
|
|
2365
|
+
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2014
2366
|
modules: z.ZodArray<z.ZodObject<{
|
|
2015
2367
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2016
2368
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2017
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
2369
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2018
2370
|
}, "strip", z.ZodTypeAny, {
|
|
2019
2371
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2020
2372
|
path: string;
|
|
2021
|
-
contents?: string | Uint8Array | undefined;
|
|
2373
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2022
2374
|
}, {
|
|
2023
2375
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2024
2376
|
path: string;
|
|
2025
|
-
contents?: string | Uint8Array | undefined;
|
|
2377
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2026
2378
|
}>, "many">;
|
|
2027
2379
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2028
2380
|
}, "strip", z.ZodTypeAny, {
|
|
2029
2381
|
modules: {
|
|
2030
2382
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2031
2383
|
path: string;
|
|
2032
|
-
contents?: string | Uint8Array | undefined;
|
|
2384
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2033
2385
|
}[];
|
|
2034
2386
|
modulesRoot?: string | undefined;
|
|
2035
2387
|
}, {
|
|
2036
2388
|
modules: {
|
|
2037
2389
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2038
2390
|
path: string;
|
|
2039
|
-
contents?: string | Uint8Array | undefined;
|
|
2391
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2040
2392
|
}[];
|
|
2041
2393
|
modulesRoot?: string | undefined;
|
|
2042
2394
|
}>, z.ZodObject<{
|
|
@@ -2117,19 +2469,20 @@ export declare const PLUGINS: {
|
|
|
2117
2469
|
rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
|
|
2118
2470
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2119
2471
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2472
|
+
unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
|
|
2120
2473
|
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
|
|
2474
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2475
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2123
2476
|
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<
|
|
2477
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2478
|
+
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2479
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2127
2480
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2128
2481
|
}, "strip", z.ZodTypeAny, {
|
|
2129
|
-
name: string |
|
|
2482
|
+
name: string | kCurrentWorker_2;
|
|
2130
2483
|
entrypoint?: string | undefined;
|
|
2131
2484
|
}, {
|
|
2132
|
-
name: string |
|
|
2485
|
+
name: string | kCurrentWorker_2;
|
|
2133
2486
|
entrypoint?: string | undefined;
|
|
2134
2487
|
}>, z.ZodObject<{
|
|
2135
2488
|
network: z.ZodObject<{
|
|
@@ -2149,7 +2502,14 @@ export declare const PLUGINS: {
|
|
|
2149
2502
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2150
2503
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2151
2504
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2152
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
2505
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
2506
|
+
readonly GOOD_DEFAULT: 0;
|
|
2507
|
+
readonly SSL3: 1;
|
|
2508
|
+
readonly TLS1DOT0: 2;
|
|
2509
|
+
readonly TLS1DOT1: 3;
|
|
2510
|
+
readonly TLS1DOT2: 4;
|
|
2511
|
+
readonly TLS1DOT3: 5;
|
|
2512
|
+
}>>;
|
|
2153
2513
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2154
2514
|
}, "strip", z.ZodTypeAny, {
|
|
2155
2515
|
keypair?: {
|
|
@@ -2159,7 +2519,7 @@ export declare const PLUGINS: {
|
|
|
2159
2519
|
requireClientCerts?: boolean | undefined;
|
|
2160
2520
|
trustBrowserCas?: boolean | undefined;
|
|
2161
2521
|
trustedCertificates?: string[] | undefined;
|
|
2162
|
-
minVersion?:
|
|
2522
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2163
2523
|
cipherList?: string | undefined;
|
|
2164
2524
|
}, {
|
|
2165
2525
|
keypair?: {
|
|
@@ -2169,7 +2529,7 @@ export declare const PLUGINS: {
|
|
|
2169
2529
|
requireClientCerts?: boolean | undefined;
|
|
2170
2530
|
trustBrowserCas?: boolean | undefined;
|
|
2171
2531
|
trustedCertificates?: string[] | undefined;
|
|
2172
|
-
minVersion?:
|
|
2532
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2173
2533
|
cipherList?: string | undefined;
|
|
2174
2534
|
}>>;
|
|
2175
2535
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2183,7 +2543,7 @@ export declare const PLUGINS: {
|
|
|
2183
2543
|
requireClientCerts?: boolean | undefined;
|
|
2184
2544
|
trustBrowserCas?: boolean | undefined;
|
|
2185
2545
|
trustedCertificates?: string[] | undefined;
|
|
2186
|
-
minVersion?:
|
|
2546
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2187
2547
|
cipherList?: string | undefined;
|
|
2188
2548
|
} | undefined;
|
|
2189
2549
|
}, {
|
|
@@ -2197,7 +2557,7 @@ export declare const PLUGINS: {
|
|
|
2197
2557
|
requireClientCerts?: boolean | undefined;
|
|
2198
2558
|
trustBrowserCas?: boolean | undefined;
|
|
2199
2559
|
trustedCertificates?: string[] | undefined;
|
|
2200
|
-
minVersion?:
|
|
2560
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2201
2561
|
cipherList?: string | undefined;
|
|
2202
2562
|
} | undefined;
|
|
2203
2563
|
}>;
|
|
@@ -2213,7 +2573,7 @@ export declare const PLUGINS: {
|
|
|
2213
2573
|
requireClientCerts?: boolean | undefined;
|
|
2214
2574
|
trustBrowserCas?: boolean | undefined;
|
|
2215
2575
|
trustedCertificates?: string[] | undefined;
|
|
2216
|
-
minVersion?:
|
|
2576
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2217
2577
|
cipherList?: string | undefined;
|
|
2218
2578
|
} | undefined;
|
|
2219
2579
|
};
|
|
@@ -2229,16 +2589,16 @@ export declare const PLUGINS: {
|
|
|
2229
2589
|
requireClientCerts?: boolean | undefined;
|
|
2230
2590
|
trustBrowserCas?: boolean | undefined;
|
|
2231
2591
|
trustedCertificates?: string[] | undefined;
|
|
2232
|
-
minVersion?:
|
|
2592
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2233
2593
|
cipherList?: string | undefined;
|
|
2234
2594
|
} | undefined;
|
|
2235
2595
|
};
|
|
2236
2596
|
}>, z.ZodObject<{
|
|
2237
|
-
external: z.ZodType<
|
|
2597
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2238
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2239
|
-
external:
|
|
2599
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2240
2600
|
}, {
|
|
2241
|
-
external:
|
|
2601
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2242
2602
|
}>, z.ZodObject<{
|
|
2243
2603
|
disk: z.ZodObject<{
|
|
2244
2604
|
path: z.ZodString;
|
|
@@ -2260,28 +2620,28 @@ export declare const PLUGINS: {
|
|
|
2260
2620
|
path: string;
|
|
2261
2621
|
writable?: boolean | undefined;
|
|
2262
2622
|
};
|
|
2263
|
-
}>, z.ZodType<(request:
|
|
2623
|
+
}>, 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
2624
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2265
2625
|
scriptName: z.ZodString;
|
|
2266
2626
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2267
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
2627
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2268
2628
|
}, "strip", z.ZodTypeAny, {
|
|
2269
2629
|
scriptName: string;
|
|
2270
2630
|
entrypoint?: string | undefined;
|
|
2271
|
-
bindings?: Record<string,
|
|
2631
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2272
2632
|
}, {
|
|
2273
2633
|
scriptName: string;
|
|
2274
2634
|
entrypoint?: string | undefined;
|
|
2275
|
-
bindings?: Record<string,
|
|
2635
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2276
2636
|
}>]>>>;
|
|
2277
|
-
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2278
|
-
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2637
|
+
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2638
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2279
2639
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2280
2640
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
name: string |
|
|
2641
|
+
name: string | kCurrentWorker_2;
|
|
2282
2642
|
entrypoint?: string | undefined;
|
|
2283
2643
|
}, {
|
|
2284
|
-
name: string |
|
|
2644
|
+
name: string | kCurrentWorker_2;
|
|
2285
2645
|
entrypoint?: string | undefined;
|
|
2286
2646
|
}>, z.ZodObject<{
|
|
2287
2647
|
network: z.ZodObject<{
|
|
@@ -2301,7 +2661,14 @@ export declare const PLUGINS: {
|
|
|
2301
2661
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2302
2662
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2303
2663
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2304
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
2664
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
2665
|
+
readonly GOOD_DEFAULT: 0;
|
|
2666
|
+
readonly SSL3: 1;
|
|
2667
|
+
readonly TLS1DOT0: 2;
|
|
2668
|
+
readonly TLS1DOT1: 3;
|
|
2669
|
+
readonly TLS1DOT2: 4;
|
|
2670
|
+
readonly TLS1DOT3: 5;
|
|
2671
|
+
}>>;
|
|
2305
2672
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2306
2673
|
}, "strip", z.ZodTypeAny, {
|
|
2307
2674
|
keypair?: {
|
|
@@ -2311,7 +2678,7 @@ export declare const PLUGINS: {
|
|
|
2311
2678
|
requireClientCerts?: boolean | undefined;
|
|
2312
2679
|
trustBrowserCas?: boolean | undefined;
|
|
2313
2680
|
trustedCertificates?: string[] | undefined;
|
|
2314
|
-
minVersion?:
|
|
2681
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2315
2682
|
cipherList?: string | undefined;
|
|
2316
2683
|
}, {
|
|
2317
2684
|
keypair?: {
|
|
@@ -2321,7 +2688,7 @@ export declare const PLUGINS: {
|
|
|
2321
2688
|
requireClientCerts?: boolean | undefined;
|
|
2322
2689
|
trustBrowserCas?: boolean | undefined;
|
|
2323
2690
|
trustedCertificates?: string[] | undefined;
|
|
2324
|
-
minVersion?:
|
|
2691
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2325
2692
|
cipherList?: string | undefined;
|
|
2326
2693
|
}>>;
|
|
2327
2694
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2335,7 +2702,7 @@ export declare const PLUGINS: {
|
|
|
2335
2702
|
requireClientCerts?: boolean | undefined;
|
|
2336
2703
|
trustBrowserCas?: boolean | undefined;
|
|
2337
2704
|
trustedCertificates?: string[] | undefined;
|
|
2338
|
-
minVersion?:
|
|
2705
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2339
2706
|
cipherList?: string | undefined;
|
|
2340
2707
|
} | undefined;
|
|
2341
2708
|
}, {
|
|
@@ -2349,7 +2716,7 @@ export declare const PLUGINS: {
|
|
|
2349
2716
|
requireClientCerts?: boolean | undefined;
|
|
2350
2717
|
trustBrowserCas?: boolean | undefined;
|
|
2351
2718
|
trustedCertificates?: string[] | undefined;
|
|
2352
|
-
minVersion?:
|
|
2719
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2353
2720
|
cipherList?: string | undefined;
|
|
2354
2721
|
} | undefined;
|
|
2355
2722
|
}>;
|
|
@@ -2365,7 +2732,7 @@ export declare const PLUGINS: {
|
|
|
2365
2732
|
requireClientCerts?: boolean | undefined;
|
|
2366
2733
|
trustBrowserCas?: boolean | undefined;
|
|
2367
2734
|
trustedCertificates?: string[] | undefined;
|
|
2368
|
-
minVersion?:
|
|
2735
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2369
2736
|
cipherList?: string | undefined;
|
|
2370
2737
|
} | undefined;
|
|
2371
2738
|
};
|
|
@@ -2381,16 +2748,16 @@ export declare const PLUGINS: {
|
|
|
2381
2748
|
requireClientCerts?: boolean | undefined;
|
|
2382
2749
|
trustBrowserCas?: boolean | undefined;
|
|
2383
2750
|
trustedCertificates?: string[] | undefined;
|
|
2384
|
-
minVersion?:
|
|
2751
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2385
2752
|
cipherList?: string | undefined;
|
|
2386
2753
|
} | undefined;
|
|
2387
2754
|
};
|
|
2388
2755
|
}>, z.ZodObject<{
|
|
2389
|
-
external: z.ZodType<
|
|
2756
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2390
2757
|
}, "strip", z.ZodTypeAny, {
|
|
2391
|
-
external:
|
|
2758
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2392
2759
|
}, {
|
|
2393
|
-
external:
|
|
2760
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2394
2761
|
}>, z.ZodObject<{
|
|
2395
2762
|
disk: z.ZodObject<{
|
|
2396
2763
|
path: z.ZodString;
|
|
@@ -2412,7 +2779,7 @@ export declare const PLUGINS: {
|
|
|
2412
2779
|
path: string;
|
|
2413
2780
|
writable?: boolean | undefined;
|
|
2414
2781
|
};
|
|
2415
|
-
}>, z.ZodType<(request:
|
|
2782
|
+
}>, 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
2783
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2417
2784
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2418
2785
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2439,13 +2806,14 @@ export declare const PLUGINS: {
|
|
|
2439
2806
|
rootPath?: undefined;
|
|
2440
2807
|
compatibilityDate?: string | undefined;
|
|
2441
2808
|
compatibilityFlags?: string[] | undefined;
|
|
2809
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2442
2810
|
routes?: string[] | undefined;
|
|
2443
|
-
bindings?: Record<string,
|
|
2444
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2811
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2812
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2445
2813
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2446
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2447
|
-
serviceBindings?: Record<string, string |
|
|
2448
|
-
name: string |
|
|
2814
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2815
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2816
|
+
name: string | kCurrentWorker_2;
|
|
2449
2817
|
entrypoint?: string | undefined;
|
|
2450
2818
|
} | {
|
|
2451
2819
|
network: {
|
|
@@ -2459,25 +2827,25 @@ export declare const PLUGINS: {
|
|
|
2459
2827
|
requireClientCerts?: boolean | undefined;
|
|
2460
2828
|
trustBrowserCas?: boolean | undefined;
|
|
2461
2829
|
trustedCertificates?: string[] | undefined;
|
|
2462
|
-
minVersion?:
|
|
2830
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2463
2831
|
cipherList?: string | undefined;
|
|
2464
2832
|
} | undefined;
|
|
2465
2833
|
};
|
|
2466
2834
|
} | {
|
|
2467
|
-
external:
|
|
2835
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2468
2836
|
} | {
|
|
2469
2837
|
disk: {
|
|
2470
2838
|
path: string;
|
|
2471
2839
|
writable?: boolean | undefined;
|
|
2472
2840
|
};
|
|
2473
|
-
} | ((request:
|
|
2841
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2474
2842
|
wrappedBindings?: Record<string, string | {
|
|
2475
2843
|
scriptName: string;
|
|
2476
2844
|
entrypoint?: string | undefined;
|
|
2477
|
-
bindings?: Record<string,
|
|
2845
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2478
2846
|
}> | undefined;
|
|
2479
|
-
outboundService?: string |
|
|
2480
|
-
name: string |
|
|
2847
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2848
|
+
name: string | kCurrentWorker_2;
|
|
2481
2849
|
entrypoint?: string | undefined;
|
|
2482
2850
|
} | {
|
|
2483
2851
|
network: {
|
|
@@ -2491,18 +2859,18 @@ export declare const PLUGINS: {
|
|
|
2491
2859
|
requireClientCerts?: boolean | undefined;
|
|
2492
2860
|
trustBrowserCas?: boolean | undefined;
|
|
2493
2861
|
trustedCertificates?: string[] | undefined;
|
|
2494
|
-
minVersion?:
|
|
2862
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2495
2863
|
cipherList?: string | undefined;
|
|
2496
2864
|
} | undefined;
|
|
2497
2865
|
};
|
|
2498
2866
|
} | {
|
|
2499
|
-
external:
|
|
2867
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2500
2868
|
} | {
|
|
2501
2869
|
disk: {
|
|
2502
2870
|
path: string;
|
|
2503
2871
|
writable?: boolean | undefined;
|
|
2504
2872
|
};
|
|
2505
|
-
} | ((request:
|
|
2873
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2506
2874
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2507
2875
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2508
2876
|
unsafeDirectSockets?: {
|
|
@@ -2519,13 +2887,14 @@ export declare const PLUGINS: {
|
|
|
2519
2887
|
rootPath?: string | undefined;
|
|
2520
2888
|
compatibilityDate?: string | undefined;
|
|
2521
2889
|
compatibilityFlags?: string[] | undefined;
|
|
2890
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2522
2891
|
routes?: string[] | undefined;
|
|
2523
|
-
bindings?: Record<string,
|
|
2524
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2892
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2893
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2525
2894
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2526
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2527
|
-
serviceBindings?: Record<string, string |
|
|
2528
|
-
name: string |
|
|
2895
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2896
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2897
|
+
name: string | kCurrentWorker_2;
|
|
2529
2898
|
entrypoint?: string | undefined;
|
|
2530
2899
|
} | {
|
|
2531
2900
|
network: {
|
|
@@ -2539,25 +2908,25 @@ export declare const PLUGINS: {
|
|
|
2539
2908
|
requireClientCerts?: boolean | undefined;
|
|
2540
2909
|
trustBrowserCas?: boolean | undefined;
|
|
2541
2910
|
trustedCertificates?: string[] | undefined;
|
|
2542
|
-
minVersion?:
|
|
2911
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2543
2912
|
cipherList?: string | undefined;
|
|
2544
2913
|
} | undefined;
|
|
2545
2914
|
};
|
|
2546
2915
|
} | {
|
|
2547
|
-
external:
|
|
2916
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2548
2917
|
} | {
|
|
2549
2918
|
disk: {
|
|
2550
2919
|
path: string;
|
|
2551
2920
|
writable?: boolean | undefined;
|
|
2552
2921
|
};
|
|
2553
|
-
} | ((request:
|
|
2922
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2554
2923
|
wrappedBindings?: Record<string, string | {
|
|
2555
2924
|
scriptName: string;
|
|
2556
2925
|
entrypoint?: string | undefined;
|
|
2557
|
-
bindings?: Record<string,
|
|
2926
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2558
2927
|
}> | undefined;
|
|
2559
|
-
outboundService?: string |
|
|
2560
|
-
name: string |
|
|
2928
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2929
|
+
name: string | kCurrentWorker_2;
|
|
2561
2930
|
entrypoint?: string | undefined;
|
|
2562
2931
|
} | {
|
|
2563
2932
|
network: {
|
|
@@ -2571,18 +2940,18 @@ export declare const PLUGINS: {
|
|
|
2571
2940
|
requireClientCerts?: boolean | undefined;
|
|
2572
2941
|
trustBrowserCas?: boolean | undefined;
|
|
2573
2942
|
trustedCertificates?: string[] | undefined;
|
|
2574
|
-
minVersion?:
|
|
2943
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2575
2944
|
cipherList?: string | undefined;
|
|
2576
2945
|
} | undefined;
|
|
2577
2946
|
};
|
|
2578
2947
|
} | {
|
|
2579
|
-
external:
|
|
2948
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2580
2949
|
} | {
|
|
2581
2950
|
disk: {
|
|
2582
2951
|
path: string;
|
|
2583
2952
|
writable?: boolean | undefined;
|
|
2584
2953
|
};
|
|
2585
|
-
} | ((request:
|
|
2954
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2586
2955
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2587
2956
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2588
2957
|
unsafeDirectSockets?: {
|
|
@@ -2598,7 +2967,7 @@ export declare const PLUGINS: {
|
|
|
2598
2967
|
modules: {
|
|
2599
2968
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2600
2969
|
path: string;
|
|
2601
|
-
contents?: string | Uint8Array | undefined;
|
|
2970
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2602
2971
|
}[];
|
|
2603
2972
|
modulesRoot?: string | undefined;
|
|
2604
2973
|
} & {
|
|
@@ -2606,13 +2975,14 @@ export declare const PLUGINS: {
|
|
|
2606
2975
|
rootPath?: undefined;
|
|
2607
2976
|
compatibilityDate?: string | undefined;
|
|
2608
2977
|
compatibilityFlags?: string[] | undefined;
|
|
2978
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2609
2979
|
routes?: string[] | undefined;
|
|
2610
|
-
bindings?: Record<string,
|
|
2611
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2980
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2981
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2612
2982
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2613
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2614
|
-
serviceBindings?: Record<string, string |
|
|
2615
|
-
name: string |
|
|
2983
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2984
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2985
|
+
name: string | kCurrentWorker_2;
|
|
2616
2986
|
entrypoint?: string | undefined;
|
|
2617
2987
|
} | {
|
|
2618
2988
|
network: {
|
|
@@ -2626,25 +2996,25 @@ export declare const PLUGINS: {
|
|
|
2626
2996
|
requireClientCerts?: boolean | undefined;
|
|
2627
2997
|
trustBrowserCas?: boolean | undefined;
|
|
2628
2998
|
trustedCertificates?: string[] | undefined;
|
|
2629
|
-
minVersion?:
|
|
2999
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2630
3000
|
cipherList?: string | undefined;
|
|
2631
3001
|
} | undefined;
|
|
2632
3002
|
};
|
|
2633
3003
|
} | {
|
|
2634
|
-
external:
|
|
3004
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2635
3005
|
} | {
|
|
2636
3006
|
disk: {
|
|
2637
3007
|
path: string;
|
|
2638
3008
|
writable?: boolean | undefined;
|
|
2639
3009
|
};
|
|
2640
|
-
} | ((request:
|
|
3010
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2641
3011
|
wrappedBindings?: Record<string, string | {
|
|
2642
3012
|
scriptName: string;
|
|
2643
3013
|
entrypoint?: string | undefined;
|
|
2644
|
-
bindings?: Record<string,
|
|
3014
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2645
3015
|
}> | undefined;
|
|
2646
|
-
outboundService?: string |
|
|
2647
|
-
name: string |
|
|
3016
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3017
|
+
name: string | kCurrentWorker_2;
|
|
2648
3018
|
entrypoint?: string | undefined;
|
|
2649
3019
|
} | {
|
|
2650
3020
|
network: {
|
|
@@ -2658,18 +3028,18 @@ export declare const PLUGINS: {
|
|
|
2658
3028
|
requireClientCerts?: boolean | undefined;
|
|
2659
3029
|
trustBrowserCas?: boolean | undefined;
|
|
2660
3030
|
trustedCertificates?: string[] | undefined;
|
|
2661
|
-
minVersion?:
|
|
3031
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2662
3032
|
cipherList?: string | undefined;
|
|
2663
3033
|
} | undefined;
|
|
2664
3034
|
};
|
|
2665
3035
|
} | {
|
|
2666
|
-
external:
|
|
3036
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2667
3037
|
} | {
|
|
2668
3038
|
disk: {
|
|
2669
3039
|
path: string;
|
|
2670
3040
|
writable?: boolean | undefined;
|
|
2671
3041
|
};
|
|
2672
|
-
} | ((request:
|
|
3042
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2673
3043
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2674
3044
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2675
3045
|
unsafeDirectSockets?: {
|
|
@@ -2696,13 +3066,14 @@ export declare const PLUGINS: {
|
|
|
2696
3066
|
rootPath?: undefined;
|
|
2697
3067
|
compatibilityDate?: string | undefined;
|
|
2698
3068
|
compatibilityFlags?: string[] | undefined;
|
|
3069
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2699
3070
|
routes?: string[] | undefined;
|
|
2700
|
-
bindings?: Record<string,
|
|
2701
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3071
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3072
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2702
3073
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2703
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2704
|
-
serviceBindings?: Record<string, string |
|
|
2705
|
-
name: string |
|
|
3074
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3075
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3076
|
+
name: string | kCurrentWorker_2;
|
|
2706
3077
|
entrypoint?: string | undefined;
|
|
2707
3078
|
} | {
|
|
2708
3079
|
network: {
|
|
@@ -2716,25 +3087,25 @@ export declare const PLUGINS: {
|
|
|
2716
3087
|
requireClientCerts?: boolean | undefined;
|
|
2717
3088
|
trustBrowserCas?: boolean | undefined;
|
|
2718
3089
|
trustedCertificates?: string[] | undefined;
|
|
2719
|
-
minVersion?:
|
|
3090
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2720
3091
|
cipherList?: string | undefined;
|
|
2721
3092
|
} | undefined;
|
|
2722
3093
|
};
|
|
2723
3094
|
} | {
|
|
2724
|
-
external:
|
|
3095
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2725
3096
|
} | {
|
|
2726
3097
|
disk: {
|
|
2727
3098
|
path: string;
|
|
2728
3099
|
writable?: boolean | undefined;
|
|
2729
3100
|
};
|
|
2730
|
-
} | ((request:
|
|
3101
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2731
3102
|
wrappedBindings?: Record<string, string | {
|
|
2732
3103
|
scriptName: string;
|
|
2733
3104
|
entrypoint?: string | undefined;
|
|
2734
|
-
bindings?: Record<string,
|
|
3105
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2735
3106
|
}> | undefined;
|
|
2736
|
-
outboundService?: string |
|
|
2737
|
-
name: string |
|
|
3107
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3108
|
+
name: string | kCurrentWorker_2;
|
|
2738
3109
|
entrypoint?: string | undefined;
|
|
2739
3110
|
} | {
|
|
2740
3111
|
network: {
|
|
@@ -2748,18 +3119,18 @@ export declare const PLUGINS: {
|
|
|
2748
3119
|
requireClientCerts?: boolean | undefined;
|
|
2749
3120
|
trustBrowserCas?: boolean | undefined;
|
|
2750
3121
|
trustedCertificates?: string[] | undefined;
|
|
2751
|
-
minVersion?:
|
|
3122
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2752
3123
|
cipherList?: string | undefined;
|
|
2753
3124
|
} | undefined;
|
|
2754
3125
|
};
|
|
2755
3126
|
} | {
|
|
2756
|
-
external:
|
|
3127
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2757
3128
|
} | {
|
|
2758
3129
|
disk: {
|
|
2759
3130
|
path: string;
|
|
2760
3131
|
writable?: boolean | undefined;
|
|
2761
3132
|
};
|
|
2762
|
-
} | ((request:
|
|
3133
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2763
3134
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2764
3135
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2765
3136
|
unsafeDirectSockets?: {
|
|
@@ -2785,13 +3156,14 @@ export declare const PLUGINS: {
|
|
|
2785
3156
|
rootPath?: undefined;
|
|
2786
3157
|
compatibilityDate?: string | undefined;
|
|
2787
3158
|
compatibilityFlags?: string[] | undefined;
|
|
3159
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2788
3160
|
routes?: string[] | undefined;
|
|
2789
|
-
bindings?: Record<string,
|
|
2790
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3161
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3162
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2791
3163
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2792
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2793
|
-
serviceBindings?: Record<string, string |
|
|
2794
|
-
name: string |
|
|
3164
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3165
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3166
|
+
name: string | kCurrentWorker_2;
|
|
2795
3167
|
entrypoint?: string | undefined;
|
|
2796
3168
|
} | {
|
|
2797
3169
|
network: {
|
|
@@ -2805,25 +3177,25 @@ export declare const PLUGINS: {
|
|
|
2805
3177
|
requireClientCerts?: boolean | undefined;
|
|
2806
3178
|
trustBrowserCas?: boolean | undefined;
|
|
2807
3179
|
trustedCertificates?: string[] | undefined;
|
|
2808
|
-
minVersion?:
|
|
3180
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2809
3181
|
cipherList?: string | undefined;
|
|
2810
3182
|
} | undefined;
|
|
2811
3183
|
};
|
|
2812
3184
|
} | {
|
|
2813
|
-
external:
|
|
3185
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2814
3186
|
} | {
|
|
2815
3187
|
disk: {
|
|
2816
3188
|
path: string;
|
|
2817
3189
|
writable?: boolean | undefined;
|
|
2818
3190
|
};
|
|
2819
|
-
} | ((request:
|
|
3191
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2820
3192
|
wrappedBindings?: Record<string, string | {
|
|
2821
3193
|
scriptName: string;
|
|
2822
3194
|
entrypoint?: string | undefined;
|
|
2823
|
-
bindings?: Record<string,
|
|
3195
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2824
3196
|
}> | undefined;
|
|
2825
|
-
outboundService?: string |
|
|
2826
|
-
name: string |
|
|
3197
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3198
|
+
name: string | kCurrentWorker_2;
|
|
2827
3199
|
entrypoint?: string | undefined;
|
|
2828
3200
|
} | {
|
|
2829
3201
|
network: {
|
|
@@ -2837,18 +3209,18 @@ export declare const PLUGINS: {
|
|
|
2837
3209
|
requireClientCerts?: boolean | undefined;
|
|
2838
3210
|
trustBrowserCas?: boolean | undefined;
|
|
2839
3211
|
trustedCertificates?: string[] | undefined;
|
|
2840
|
-
minVersion?:
|
|
3212
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2841
3213
|
cipherList?: string | undefined;
|
|
2842
3214
|
} | undefined;
|
|
2843
3215
|
};
|
|
2844
3216
|
} | {
|
|
2845
|
-
external:
|
|
3217
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2846
3218
|
} | {
|
|
2847
3219
|
disk: {
|
|
2848
3220
|
path: string;
|
|
2849
3221
|
writable?: boolean | undefined;
|
|
2850
3222
|
};
|
|
2851
|
-
} | ((request:
|
|
3223
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2852
3224
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2853
3225
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2854
3226
|
unsafeDirectSockets?: {
|
|
@@ -2864,7 +3236,7 @@ export declare const PLUGINS: {
|
|
|
2864
3236
|
modules: {
|
|
2865
3237
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2866
3238
|
path: string;
|
|
2867
|
-
contents?: string | Uint8Array | undefined;
|
|
3239
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2868
3240
|
}[];
|
|
2869
3241
|
modulesRoot?: string | undefined;
|
|
2870
3242
|
} | {
|
|
@@ -2891,13 +3263,14 @@ export declare const PLUGINS: {
|
|
|
2891
3263
|
rootPath?: string | undefined;
|
|
2892
3264
|
compatibilityDate?: string | undefined;
|
|
2893
3265
|
compatibilityFlags?: string[] | undefined;
|
|
3266
|
+
unsafeInspectorProxy?: boolean | undefined;
|
|
2894
3267
|
routes?: string[] | undefined;
|
|
2895
|
-
bindings?: Record<string,
|
|
2896
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
3268
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
3269
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2897
3270
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2898
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2899
|
-
serviceBindings?: Record<string, string |
|
|
2900
|
-
name: string |
|
|
3271
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
3272
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
3273
|
+
name: string | kCurrentWorker_2;
|
|
2901
3274
|
entrypoint?: string | undefined;
|
|
2902
3275
|
} | {
|
|
2903
3276
|
network: {
|
|
@@ -2911,25 +3284,25 @@ export declare const PLUGINS: {
|
|
|
2911
3284
|
requireClientCerts?: boolean | undefined;
|
|
2912
3285
|
trustBrowserCas?: boolean | undefined;
|
|
2913
3286
|
trustedCertificates?: string[] | undefined;
|
|
2914
|
-
minVersion?:
|
|
3287
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2915
3288
|
cipherList?: string | undefined;
|
|
2916
3289
|
} | undefined;
|
|
2917
3290
|
};
|
|
2918
3291
|
} | {
|
|
2919
|
-
external:
|
|
3292
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2920
3293
|
} | {
|
|
2921
3294
|
disk: {
|
|
2922
3295
|
path: string;
|
|
2923
3296
|
writable?: boolean | undefined;
|
|
2924
3297
|
};
|
|
2925
|
-
} | ((request:
|
|
3298
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2926
3299
|
wrappedBindings?: Record<string, string | {
|
|
2927
3300
|
scriptName: string;
|
|
2928
3301
|
entrypoint?: string | undefined;
|
|
2929
|
-
bindings?: Record<string,
|
|
3302
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2930
3303
|
}> | undefined;
|
|
2931
|
-
outboundService?: string |
|
|
2932
|
-
name: string |
|
|
3304
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3305
|
+
name: string | kCurrentWorker_2;
|
|
2933
3306
|
entrypoint?: string | undefined;
|
|
2934
3307
|
} | {
|
|
2935
3308
|
network: {
|
|
@@ -2943,18 +3316,18 @@ export declare const PLUGINS: {
|
|
|
2943
3316
|
requireClientCerts?: boolean | undefined;
|
|
2944
3317
|
trustBrowserCas?: boolean | undefined;
|
|
2945
3318
|
trustedCertificates?: string[] | undefined;
|
|
2946
|
-
minVersion?:
|
|
3319
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2947
3320
|
cipherList?: string | undefined;
|
|
2948
3321
|
} | undefined;
|
|
2949
3322
|
};
|
|
2950
3323
|
} | {
|
|
2951
|
-
external:
|
|
3324
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2952
3325
|
} | {
|
|
2953
3326
|
disk: {
|
|
2954
3327
|
path: string;
|
|
2955
3328
|
writable?: boolean | undefined;
|
|
2956
3329
|
};
|
|
2957
|
-
} | ((request:
|
|
3330
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2958
3331
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2959
3332
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2960
3333
|
unsafeDirectSockets?: {
|
|
@@ -2977,13 +3350,13 @@ export declare const PLUGINS: {
|
|
|
2977
3350
|
httpsCertPath: z.ZodOptional<z.ZodString>;
|
|
2978
3351
|
inspectorPort: z.ZodOptional<z.ZodNumber>;
|
|
2979
3352
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
2980
|
-
log: z.ZodOptional<z.ZodType<
|
|
3353
|
+
log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
|
|
2981
3354
|
handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
|
|
2982
3355
|
upstream: z.ZodOptional<z.ZodString>;
|
|
2983
3356
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2984
3357
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
2985
3358
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
2986
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
3359
|
+
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
3360
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
2988
3361
|
}, "strip", z.ZodTypeAny, {
|
|
2989
3362
|
rootPath?: undefined;
|
|
@@ -2996,13 +3369,13 @@ export declare const PLUGINS: {
|
|
|
2996
3369
|
httpsCertPath?: string | undefined;
|
|
2997
3370
|
inspectorPort?: number | undefined;
|
|
2998
3371
|
verbose?: boolean | undefined;
|
|
2999
|
-
log?:
|
|
3372
|
+
log?: Log_2 | undefined;
|
|
3000
3373
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3001
3374
|
upstream?: string | undefined;
|
|
3002
3375
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3003
3376
|
liveReload?: boolean | undefined;
|
|
3004
3377
|
unsafeProxySharedSecret?: string | undefined;
|
|
3005
|
-
unsafeModuleFallbackService?: ((request:
|
|
3378
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3006
3379
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3007
3380
|
}, {
|
|
3008
3381
|
rootPath?: string | undefined;
|
|
@@ -3015,16 +3388,16 @@ export declare const PLUGINS: {
|
|
|
3015
3388
|
httpsCertPath?: string | undefined;
|
|
3016
3389
|
inspectorPort?: number | undefined;
|
|
3017
3390
|
verbose?: boolean | undefined;
|
|
3018
|
-
log?:
|
|
3391
|
+
log?: Log_2 | undefined;
|
|
3019
3392
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3020
3393
|
upstream?: string | undefined;
|
|
3021
3394
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3022
3395
|
liveReload?: boolean | undefined;
|
|
3023
3396
|
unsafeProxySharedSecret?: string | undefined;
|
|
3024
|
-
unsafeModuleFallbackService?: ((request:
|
|
3397
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3025
3398
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3026
3399
|
}>>;
|
|
3027
|
-
cache:
|
|
3400
|
+
cache: Plugin_2<z.ZodObject<{
|
|
3028
3401
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
3029
3402
|
cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
|
|
3030
3403
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3040,7 +3413,7 @@ export declare const PLUGINS: {
|
|
|
3040
3413
|
}, {
|
|
3041
3414
|
cachePersist?: string | boolean | undefined;
|
|
3042
3415
|
}>>;
|
|
3043
|
-
d1:
|
|
3416
|
+
d1: Plugin_2<z.ZodObject<{
|
|
3044
3417
|
d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3045
3418
|
}, "strip", z.ZodTypeAny, {
|
|
3046
3419
|
d1Databases?: string[] | Record<string, string> | undefined;
|
|
@@ -3053,24 +3426,24 @@ export declare const PLUGINS: {
|
|
|
3053
3426
|
}, {
|
|
3054
3427
|
d1Persist?: string | boolean | undefined;
|
|
3055
3428
|
}>>;
|
|
3056
|
-
do:
|
|
3429
|
+
do: Plugin_2<z.ZodObject<{
|
|
3057
3430
|
durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3058
3431
|
className: z.ZodString;
|
|
3059
3432
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
3060
3433
|
useSQLite: z.ZodOptional<z.ZodBoolean>;
|
|
3061
|
-
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
3434
|
+
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
|
|
3062
3435
|
unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
|
|
3063
3436
|
}, "strip", z.ZodTypeAny, {
|
|
3064
3437
|
className: string;
|
|
3065
3438
|
scriptName?: string | undefined;
|
|
3066
3439
|
useSQLite?: boolean | undefined;
|
|
3067
|
-
unsafeUniqueKey?: string |
|
|
3440
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3068
3441
|
unsafePreventEviction?: boolean | undefined;
|
|
3069
3442
|
}, {
|
|
3070
3443
|
className: string;
|
|
3071
3444
|
scriptName?: string | undefined;
|
|
3072
3445
|
useSQLite?: boolean | undefined;
|
|
3073
|
-
unsafeUniqueKey?: string |
|
|
3446
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3074
3447
|
unsafePreventEviction?: boolean | undefined;
|
|
3075
3448
|
}>]>>>;
|
|
3076
3449
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3078,7 +3451,7 @@ export declare const PLUGINS: {
|
|
|
3078
3451
|
className: string;
|
|
3079
3452
|
scriptName?: string | undefined;
|
|
3080
3453
|
useSQLite?: boolean | undefined;
|
|
3081
|
-
unsafeUniqueKey?: string |
|
|
3454
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3082
3455
|
unsafePreventEviction?: boolean | undefined;
|
|
3083
3456
|
}> | undefined;
|
|
3084
3457
|
}, {
|
|
@@ -3086,7 +3459,7 @@ export declare const PLUGINS: {
|
|
|
3086
3459
|
className: string;
|
|
3087
3460
|
scriptName?: string | undefined;
|
|
3088
3461
|
useSQLite?: boolean | undefined;
|
|
3089
|
-
unsafeUniqueKey?: string |
|
|
3462
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3090
3463
|
unsafePreventEviction?: boolean | undefined;
|
|
3091
3464
|
}> | undefined;
|
|
3092
3465
|
}>, z.ZodObject<{
|
|
@@ -3096,7 +3469,7 @@ export declare const PLUGINS: {
|
|
|
3096
3469
|
}, {
|
|
3097
3470
|
durableObjectsPersist?: string | boolean | undefined;
|
|
3098
3471
|
}>>;
|
|
3099
|
-
kv:
|
|
3472
|
+
kv: Plugin_2<z.ZodObject<{
|
|
3100
3473
|
kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3101
3474
|
sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3102
3475
|
siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3118,7 +3491,7 @@ export declare const PLUGINS: {
|
|
|
3118
3491
|
}, {
|
|
3119
3492
|
kvPersist?: string | boolean | undefined;
|
|
3120
3493
|
}>>;
|
|
3121
|
-
queues:
|
|
3494
|
+
queues: Plugin_2<z.ZodObject<{
|
|
3122
3495
|
queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3123
3496
|
queueName: z.ZodString;
|
|
3124
3497
|
deliveryDelay: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3129,22 +3502,39 @@ export declare const PLUGINS: {
|
|
|
3129
3502
|
queueName: string;
|
|
3130
3503
|
deliveryDelay?: number | undefined;
|
|
3131
3504
|
}>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3132
|
-
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3505
|
+
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3133
3506
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3134
3507
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3135
3508
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
3509
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3136
3510
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3137
3511
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3138
3512
|
}, "strip", z.ZodTypeAny, {
|
|
3139
3513
|
maxBatchSize?: number | undefined;
|
|
3140
3514
|
maxBatchTimeout?: number | undefined;
|
|
3141
3515
|
maxRetires?: number | undefined;
|
|
3516
|
+
maxRetries?: number | undefined;
|
|
3142
3517
|
deadLetterQueue?: string | undefined;
|
|
3143
3518
|
retryDelay?: number | undefined;
|
|
3144
3519
|
}, {
|
|
3145
3520
|
maxBatchSize?: number | undefined;
|
|
3146
3521
|
maxBatchTimeout?: number | undefined;
|
|
3147
3522
|
maxRetires?: number | undefined;
|
|
3523
|
+
maxRetries?: number | undefined;
|
|
3524
|
+
deadLetterQueue?: string | undefined;
|
|
3525
|
+
retryDelay?: number | undefined;
|
|
3526
|
+
}>, Omit<{
|
|
3527
|
+
maxBatchSize?: number | undefined;
|
|
3528
|
+
maxBatchTimeout?: number | undefined;
|
|
3529
|
+
maxRetires?: number | undefined;
|
|
3530
|
+
maxRetries?: number | undefined;
|
|
3531
|
+
deadLetterQueue?: string | undefined;
|
|
3532
|
+
retryDelay?: number | undefined;
|
|
3533
|
+
}, "maxRetires">, {
|
|
3534
|
+
maxBatchSize?: number | undefined;
|
|
3535
|
+
maxBatchTimeout?: number | undefined;
|
|
3536
|
+
maxRetires?: number | undefined;
|
|
3537
|
+
maxRetries?: number | undefined;
|
|
3148
3538
|
deadLetterQueue?: string | undefined;
|
|
3149
3539
|
retryDelay?: number | undefined;
|
|
3150
3540
|
}>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3153,13 +3543,14 @@ export declare const PLUGINS: {
|
|
|
3153
3543
|
queueName: string;
|
|
3154
3544
|
deliveryDelay?: number | undefined;
|
|
3155
3545
|
}> | undefined;
|
|
3156
|
-
queueConsumers?: string[] | Record<string, {
|
|
3546
|
+
queueConsumers?: string[] | Record<string, Omit<{
|
|
3157
3547
|
maxBatchSize?: number | undefined;
|
|
3158
3548
|
maxBatchTimeout?: number | undefined;
|
|
3159
3549
|
maxRetires?: number | undefined;
|
|
3550
|
+
maxRetries?: number | undefined;
|
|
3160
3551
|
deadLetterQueue?: string | undefined;
|
|
3161
3552
|
retryDelay?: number | undefined;
|
|
3162
|
-
}
|
|
3553
|
+
}, "maxRetires">> | undefined;
|
|
3163
3554
|
}, {
|
|
3164
3555
|
queueProducers?: string[] | Record<string, string> | Record<string, {
|
|
3165
3556
|
queueName: string;
|
|
@@ -3169,11 +3560,12 @@ export declare const PLUGINS: {
|
|
|
3169
3560
|
maxBatchSize?: number | undefined;
|
|
3170
3561
|
maxBatchTimeout?: number | undefined;
|
|
3171
3562
|
maxRetires?: number | undefined;
|
|
3563
|
+
maxRetries?: number | undefined;
|
|
3172
3564
|
deadLetterQueue?: string | undefined;
|
|
3173
3565
|
retryDelay?: number | undefined;
|
|
3174
3566
|
}> | undefined;
|
|
3175
3567
|
}>>;
|
|
3176
|
-
r2:
|
|
3568
|
+
r2: Plugin_2<z.ZodObject<{
|
|
3177
3569
|
r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3178
3570
|
}, "strip", z.ZodTypeAny, {
|
|
3179
3571
|
r2Buckets?: string[] | Record<string, string> | undefined;
|
|
@@ -3186,122 +3578,392 @@ export declare const PLUGINS: {
|
|
|
3186
3578
|
}, {
|
|
3187
3579
|
r2Persist?: string | boolean | undefined;
|
|
3188
3580
|
}>>;
|
|
3189
|
-
hyperdrive:
|
|
3581
|
+
hyperdrive: Plugin_2<z.ZodObject<{
|
|
3190
3582
|
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
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3192
3584
|
hyperdrives?: Record<string, URL_2> | undefined;
|
|
3193
3585
|
}, {
|
|
3194
3586
|
hyperdrives?: Record<string, string | URL_2> | undefined;
|
|
3195
3587
|
}>>;
|
|
3196
|
-
ratelimit:
|
|
3588
|
+
ratelimit: Plugin_2<z.ZodObject<{
|
|
3197
3589
|
ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3198
3590
|
simple: z.ZodObject<{
|
|
3199
3591
|
limit: z.ZodNumber;
|
|
3200
|
-
period: z.ZodOptional<z.ZodNativeEnum<
|
|
3592
|
+
period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
|
|
3201
3593
|
}, "strip", z.ZodTypeAny, {
|
|
3202
3594
|
limit: number;
|
|
3203
|
-
period?:
|
|
3595
|
+
period?: PeriodType_2 | undefined;
|
|
3204
3596
|
}, {
|
|
3205
3597
|
limit: number;
|
|
3206
|
-
period?:
|
|
3598
|
+
period?: PeriodType_2 | undefined;
|
|
3207
3599
|
}>;
|
|
3208
3600
|
}, "strip", z.ZodTypeAny, {
|
|
3209
3601
|
simple: {
|
|
3210
3602
|
limit: number;
|
|
3211
|
-
period?:
|
|
3603
|
+
period?: PeriodType_2 | undefined;
|
|
3212
3604
|
};
|
|
3213
3605
|
}, {
|
|
3214
3606
|
simple: {
|
|
3215
3607
|
limit: number;
|
|
3216
|
-
period?:
|
|
3608
|
+
period?: PeriodType_2 | undefined;
|
|
3217
3609
|
};
|
|
3218
3610
|
}>>>;
|
|
3219
3611
|
}, "strip", z.ZodTypeAny, {
|
|
3220
3612
|
ratelimits?: Record<string, {
|
|
3221
3613
|
simple: {
|
|
3222
3614
|
limit: number;
|
|
3223
|
-
period?:
|
|
3615
|
+
period?: PeriodType_2 | undefined;
|
|
3224
3616
|
};
|
|
3225
3617
|
}> | undefined;
|
|
3226
3618
|
}, {
|
|
3227
3619
|
ratelimits?: Record<string, {
|
|
3228
3620
|
simple: {
|
|
3229
3621
|
limit: number;
|
|
3230
|
-
period?:
|
|
3622
|
+
period?: PeriodType_2 | undefined;
|
|
3231
3623
|
};
|
|
3232
3624
|
}> | undefined;
|
|
3233
3625
|
}>>;
|
|
3234
|
-
assets:
|
|
3626
|
+
assets: Plugin_2<z.ZodObject<{
|
|
3235
3627
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3236
3628
|
workerName: z.ZodOptional<z.ZodString>;
|
|
3237
3629
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
3238
3630
|
binding: z.ZodOptional<z.ZodString>;
|
|
3239
|
-
|
|
3631
|
+
routerConfig: z.ZodOptional<z.ZodObject<{
|
|
3632
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3633
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
3634
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3240
3635
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3241
3636
|
}, "strip", z.ZodTypeAny, {
|
|
3637
|
+
account_id?: number;
|
|
3638
|
+
script_id?: number;
|
|
3639
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3242
3640
|
has_user_worker?: boolean;
|
|
3243
3641
|
}, {
|
|
3642
|
+
account_id?: number;
|
|
3643
|
+
script_id?: number;
|
|
3644
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3244
3645
|
has_user_worker?: boolean;
|
|
3245
3646
|
}>>;
|
|
3246
|
-
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
3647
|
+
assetConfig: z.ZodOptional<z.ZodObject<Omit<{
|
|
3648
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3649
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
3650
|
+
compatibility_date: z.ZodOptional<z.ZodString>;
|
|
3651
|
+
compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3247
3652
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
3248
3653
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
3654
|
+
redirects: z.ZodOptional<z.ZodObject<{
|
|
3655
|
+
version: z.ZodLiteral<1>;
|
|
3656
|
+
staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3657
|
+
status: z.ZodNumber;
|
|
3658
|
+
to: z.ZodString;
|
|
3659
|
+
lineNumber: z.ZodNumber;
|
|
3660
|
+
}, "strip", z.ZodTypeAny, {
|
|
3661
|
+
status?: number;
|
|
3662
|
+
to?: string;
|
|
3663
|
+
lineNumber?: number;
|
|
3664
|
+
}, {
|
|
3665
|
+
status?: number;
|
|
3666
|
+
to?: string;
|
|
3667
|
+
lineNumber?: number;
|
|
3668
|
+
}>>;
|
|
3669
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3670
|
+
status: z.ZodNumber;
|
|
3671
|
+
to: z.ZodString;
|
|
3672
|
+
}, "strip", z.ZodTypeAny, {
|
|
3673
|
+
status?: number;
|
|
3674
|
+
to?: string;
|
|
3675
|
+
}, {
|
|
3676
|
+
status?: number;
|
|
3677
|
+
to?: string;
|
|
3678
|
+
}>>;
|
|
3249
3679
|
}, "strip", z.ZodTypeAny, {
|
|
3250
|
-
|
|
3251
|
-
|
|
3680
|
+
version?: 1;
|
|
3681
|
+
staticRules?: Record<string, {
|
|
3682
|
+
status?: number;
|
|
3683
|
+
to?: string;
|
|
3684
|
+
lineNumber?: number;
|
|
3685
|
+
}>;
|
|
3686
|
+
rules?: Record<string, {
|
|
3687
|
+
status?: number;
|
|
3688
|
+
to?: string;
|
|
3689
|
+
}>;
|
|
3252
3690
|
}, {
|
|
3253
|
-
|
|
3254
|
-
|
|
3691
|
+
version?: 1;
|
|
3692
|
+
staticRules?: Record<string, {
|
|
3693
|
+
status?: number;
|
|
3694
|
+
to?: string;
|
|
3695
|
+
lineNumber?: number;
|
|
3696
|
+
}>;
|
|
3697
|
+
rules?: Record<string, {
|
|
3698
|
+
status?: number;
|
|
3699
|
+
to?: string;
|
|
3700
|
+
}>;
|
|
3701
|
+
}>>;
|
|
3702
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
3703
|
+
version: z.ZodLiteral<2>;
|
|
3704
|
+
rules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3705
|
+
set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3706
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3707
|
+
}, "strip", z.ZodTypeAny, {
|
|
3708
|
+
set?: Record<string, string>;
|
|
3709
|
+
unset?: string[];
|
|
3710
|
+
}, {
|
|
3711
|
+
set?: Record<string, string>;
|
|
3712
|
+
unset?: string[];
|
|
3713
|
+
}>>;
|
|
3714
|
+
}, "strip", z.ZodTypeAny, {
|
|
3715
|
+
version?: 2;
|
|
3716
|
+
rules?: Record<string, {
|
|
3717
|
+
set?: Record<string, string>;
|
|
3718
|
+
unset?: string[];
|
|
3719
|
+
}>;
|
|
3720
|
+
}, {
|
|
3721
|
+
version?: 2;
|
|
3722
|
+
rules?: Record<string, {
|
|
3723
|
+
set?: Record<string, string>;
|
|
3724
|
+
unset?: string[];
|
|
3725
|
+
}>;
|
|
3726
|
+
}>>;
|
|
3727
|
+
}, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
|
|
3728
|
+
headers?: {
|
|
3729
|
+
version?: 2;
|
|
3730
|
+
rules?: Record<string, {
|
|
3731
|
+
set?: Record<string, string>;
|
|
3732
|
+
unset?: string[];
|
|
3733
|
+
}>;
|
|
3734
|
+
} | undefined;
|
|
3735
|
+
account_id?: number | undefined;
|
|
3736
|
+
script_id?: number | undefined;
|
|
3737
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3738
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3739
|
+
redirects?: {
|
|
3740
|
+
version?: 1;
|
|
3741
|
+
staticRules?: Record<string, {
|
|
3742
|
+
status?: number;
|
|
3743
|
+
to?: string;
|
|
3744
|
+
lineNumber?: number;
|
|
3745
|
+
}>;
|
|
3746
|
+
rules?: Record<string, {
|
|
3747
|
+
status?: number;
|
|
3748
|
+
to?: string;
|
|
3749
|
+
}>;
|
|
3750
|
+
} | undefined;
|
|
3751
|
+
}, {
|
|
3752
|
+
headers?: {
|
|
3753
|
+
version?: 2;
|
|
3754
|
+
rules?: Record<string, {
|
|
3755
|
+
set?: Record<string, string>;
|
|
3756
|
+
unset?: string[];
|
|
3757
|
+
}>;
|
|
3758
|
+
} | undefined;
|
|
3759
|
+
account_id?: number | undefined;
|
|
3760
|
+
script_id?: number | undefined;
|
|
3761
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3762
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3763
|
+
redirects?: {
|
|
3764
|
+
version?: 1;
|
|
3765
|
+
staticRules?: Record<string, {
|
|
3766
|
+
status?: number;
|
|
3767
|
+
to?: string;
|
|
3768
|
+
lineNumber?: number;
|
|
3769
|
+
}>;
|
|
3770
|
+
rules?: Record<string, {
|
|
3771
|
+
status?: number;
|
|
3772
|
+
to?: string;
|
|
3773
|
+
}>;
|
|
3774
|
+
} | undefined;
|
|
3255
3775
|
}>>;
|
|
3256
3776
|
}, "strip", z.ZodTypeAny, {
|
|
3257
3777
|
directory: string;
|
|
3258
3778
|
workerName?: string | undefined;
|
|
3259
3779
|
binding?: string | undefined;
|
|
3260
|
-
|
|
3780
|
+
routerConfig?: {
|
|
3781
|
+
account_id?: number;
|
|
3782
|
+
script_id?: number;
|
|
3783
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3261
3784
|
has_user_worker?: boolean;
|
|
3262
3785
|
} | undefined;
|
|
3263
3786
|
assetConfig?: {
|
|
3264
|
-
|
|
3265
|
-
|
|
3787
|
+
headers?: {
|
|
3788
|
+
version?: 2;
|
|
3789
|
+
rules?: Record<string, {
|
|
3790
|
+
set?: Record<string, string>;
|
|
3791
|
+
unset?: string[];
|
|
3792
|
+
}>;
|
|
3793
|
+
} | undefined;
|
|
3794
|
+
account_id?: number | undefined;
|
|
3795
|
+
script_id?: number | undefined;
|
|
3796
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3797
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3798
|
+
redirects?: {
|
|
3799
|
+
version?: 1;
|
|
3800
|
+
staticRules?: Record<string, {
|
|
3801
|
+
status?: number;
|
|
3802
|
+
to?: string;
|
|
3803
|
+
lineNumber?: number;
|
|
3804
|
+
}>;
|
|
3805
|
+
rules?: Record<string, {
|
|
3806
|
+
status?: number;
|
|
3807
|
+
to?: string;
|
|
3808
|
+
}>;
|
|
3809
|
+
} | undefined;
|
|
3266
3810
|
} | undefined;
|
|
3267
3811
|
}, {
|
|
3268
3812
|
directory: string;
|
|
3269
3813
|
workerName?: string | undefined;
|
|
3270
3814
|
binding?: string | undefined;
|
|
3271
|
-
|
|
3815
|
+
routerConfig?: {
|
|
3816
|
+
account_id?: number;
|
|
3817
|
+
script_id?: number;
|
|
3818
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3272
3819
|
has_user_worker?: boolean;
|
|
3273
3820
|
} | undefined;
|
|
3274
3821
|
assetConfig?: {
|
|
3275
|
-
|
|
3276
|
-
|
|
3822
|
+
headers?: {
|
|
3823
|
+
version?: 2;
|
|
3824
|
+
rules?: Record<string, {
|
|
3825
|
+
set?: Record<string, string>;
|
|
3826
|
+
unset?: string[];
|
|
3827
|
+
}>;
|
|
3828
|
+
} | undefined;
|
|
3829
|
+
account_id?: number | undefined;
|
|
3830
|
+
script_id?: number | undefined;
|
|
3831
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3832
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3833
|
+
redirects?: {
|
|
3834
|
+
version?: 1;
|
|
3835
|
+
staticRules?: Record<string, {
|
|
3836
|
+
status?: number;
|
|
3837
|
+
to?: string;
|
|
3838
|
+
lineNumber?: number;
|
|
3839
|
+
}>;
|
|
3840
|
+
rules?: Record<string, {
|
|
3841
|
+
status?: number;
|
|
3842
|
+
to?: string;
|
|
3843
|
+
}>;
|
|
3844
|
+
} | undefined;
|
|
3277
3845
|
} | undefined;
|
|
3278
3846
|
}>>;
|
|
3847
|
+
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
3848
|
+
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3279
3849
|
}, "strip", z.ZodTypeAny, {
|
|
3280
3850
|
assets?: {
|
|
3281
3851
|
directory: string;
|
|
3282
3852
|
workerName?: string | undefined;
|
|
3283
3853
|
binding?: string | undefined;
|
|
3284
|
-
|
|
3854
|
+
routerConfig?: {
|
|
3855
|
+
account_id?: number;
|
|
3856
|
+
script_id?: number;
|
|
3857
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3285
3858
|
has_user_worker?: boolean;
|
|
3286
3859
|
} | undefined;
|
|
3287
3860
|
assetConfig?: {
|
|
3288
|
-
|
|
3289
|
-
|
|
3861
|
+
headers?: {
|
|
3862
|
+
version?: 2;
|
|
3863
|
+
rules?: Record<string, {
|
|
3864
|
+
set?: Record<string, string>;
|
|
3865
|
+
unset?: string[];
|
|
3866
|
+
}>;
|
|
3867
|
+
} | undefined;
|
|
3868
|
+
account_id?: number | undefined;
|
|
3869
|
+
script_id?: number | undefined;
|
|
3870
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3871
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3872
|
+
redirects?: {
|
|
3873
|
+
version?: 1;
|
|
3874
|
+
staticRules?: Record<string, {
|
|
3875
|
+
status?: number;
|
|
3876
|
+
to?: string;
|
|
3877
|
+
lineNumber?: number;
|
|
3878
|
+
}>;
|
|
3879
|
+
rules?: Record<string, {
|
|
3880
|
+
status?: number;
|
|
3881
|
+
to?: string;
|
|
3882
|
+
}>;
|
|
3883
|
+
} | undefined;
|
|
3290
3884
|
} | undefined;
|
|
3291
3885
|
} | undefined;
|
|
3886
|
+
compatibilityDate?: string | undefined;
|
|
3887
|
+
compatibilityFlags?: string[] | undefined;
|
|
3292
3888
|
}, {
|
|
3293
3889
|
assets?: {
|
|
3294
3890
|
directory: string;
|
|
3295
3891
|
workerName?: string | undefined;
|
|
3296
3892
|
binding?: string | undefined;
|
|
3297
|
-
|
|
3893
|
+
routerConfig?: {
|
|
3894
|
+
account_id?: number;
|
|
3895
|
+
script_id?: number;
|
|
3896
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3298
3897
|
has_user_worker?: boolean;
|
|
3299
3898
|
} | undefined;
|
|
3300
3899
|
assetConfig?: {
|
|
3301
|
-
|
|
3302
|
-
|
|
3900
|
+
headers?: {
|
|
3901
|
+
version?: 2;
|
|
3902
|
+
rules?: Record<string, {
|
|
3903
|
+
set?: Record<string, string>;
|
|
3904
|
+
unset?: string[];
|
|
3905
|
+
}>;
|
|
3906
|
+
} | undefined;
|
|
3907
|
+
account_id?: number | undefined;
|
|
3908
|
+
script_id?: number | undefined;
|
|
3909
|
+
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
|
|
3910
|
+
not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
|
|
3911
|
+
redirects?: {
|
|
3912
|
+
version?: 1;
|
|
3913
|
+
staticRules?: Record<string, {
|
|
3914
|
+
status?: number;
|
|
3915
|
+
to?: string;
|
|
3916
|
+
lineNumber?: number;
|
|
3917
|
+
}>;
|
|
3918
|
+
rules?: Record<string, {
|
|
3919
|
+
status?: number;
|
|
3920
|
+
to?: string;
|
|
3921
|
+
}>;
|
|
3922
|
+
} | undefined;
|
|
3303
3923
|
} | undefined;
|
|
3304
3924
|
} | undefined;
|
|
3925
|
+
compatibilityDate?: string | undefined;
|
|
3926
|
+
compatibilityFlags?: string[] | undefined;
|
|
3927
|
+
}>>;
|
|
3928
|
+
workflows: Plugin_2<z.ZodObject<{
|
|
3929
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3930
|
+
name: z.ZodString;
|
|
3931
|
+
className: z.ZodString;
|
|
3932
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
}, "strip", z.ZodTypeAny, {
|
|
3934
|
+
name: string;
|
|
3935
|
+
className: string;
|
|
3936
|
+
scriptName?: string | undefined;
|
|
3937
|
+
}, {
|
|
3938
|
+
name: string;
|
|
3939
|
+
className: string;
|
|
3940
|
+
scriptName?: string | undefined;
|
|
3941
|
+
}>>>;
|
|
3942
|
+
}, "strip", z.ZodTypeAny, {
|
|
3943
|
+
workflows?: Record<string, {
|
|
3944
|
+
name: string;
|
|
3945
|
+
className: string;
|
|
3946
|
+
scriptName?: string | undefined;
|
|
3947
|
+
}> | undefined;
|
|
3948
|
+
}, {
|
|
3949
|
+
workflows?: Record<string, {
|
|
3950
|
+
name: string;
|
|
3951
|
+
className: string;
|
|
3952
|
+
scriptName?: string | undefined;
|
|
3953
|
+
}> | undefined;
|
|
3954
|
+
}>, z.ZodObject<{
|
|
3955
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
3956
|
+
}, "strip", z.ZodTypeAny, {
|
|
3957
|
+
workflowsPersist?: string | boolean | undefined;
|
|
3958
|
+
}, {
|
|
3959
|
+
workflowsPersist?: string | boolean | undefined;
|
|
3960
|
+
}>>;
|
|
3961
|
+
pipelines: Plugin_2<z.ZodObject<{
|
|
3962
|
+
pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3963
|
+
}, "strip", z.ZodTypeAny, {
|
|
3964
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
3965
|
+
}, {
|
|
3966
|
+
pipelines?: string[] | Record<string, string> | undefined;
|
|
3305
3967
|
}>>;
|
|
3306
3968
|
};
|
|
3307
3969
|
|
|
@@ -3327,7 +3989,7 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
|
|
|
3327
3989
|
|
|
3328
3990
|
export declare function prefixError(prefix: string, e: any): Error;
|
|
3329
3991
|
|
|
3330
|
-
export declare function prefixStream(prefix: Uint8Array, stream:
|
|
3992
|
+
export declare function prefixStream(prefix: Uint8Array, stream: ReadableStream_3<Uint8Array>): ReadableStream_3<Uint8Array>;
|
|
3331
3993
|
|
|
3332
3994
|
export declare const ProxyAddresses: {
|
|
3333
3995
|
readonly GLOBAL: 0;
|
|
@@ -3366,44 +4028,78 @@ export declare const QueueBindings: {
|
|
|
3366
4028
|
|
|
3367
4029
|
export declare type QueueConsumer = z.infer<typeof QueueConsumerSchema>;
|
|
3368
4030
|
|
|
3369
|
-
export declare const QueueConsumerOptionsSchema: z.ZodObject<{
|
|
4031
|
+
export declare const QueueConsumerOptionsSchema: z.ZodEffects<z.ZodObject<{
|
|
3370
4032
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3371
4033
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3372
4034
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4035
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3373
4036
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3374
4037
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3375
4038
|
}, "strip", z.ZodTypeAny, {
|
|
3376
4039
|
maxBatchSize?: number | undefined;
|
|
3377
4040
|
maxBatchTimeout?: number | undefined;
|
|
3378
4041
|
maxRetires?: number | undefined;
|
|
4042
|
+
maxRetries?: number | undefined;
|
|
3379
4043
|
deadLetterQueue?: string | undefined;
|
|
3380
4044
|
retryDelay?: number | undefined;
|
|
3381
4045
|
}, {
|
|
3382
4046
|
maxBatchSize?: number | undefined;
|
|
3383
4047
|
maxBatchTimeout?: number | undefined;
|
|
3384
4048
|
maxRetires?: number | undefined;
|
|
4049
|
+
maxRetries?: number | undefined;
|
|
4050
|
+
deadLetterQueue?: string | undefined;
|
|
4051
|
+
retryDelay?: number | undefined;
|
|
4052
|
+
}>, Omit<{
|
|
4053
|
+
maxBatchSize?: number | undefined;
|
|
4054
|
+
maxBatchTimeout?: number | undefined;
|
|
4055
|
+
maxRetires?: number | undefined;
|
|
4056
|
+
maxRetries?: number | undefined;
|
|
4057
|
+
deadLetterQueue?: string | undefined;
|
|
4058
|
+
retryDelay?: number | undefined;
|
|
4059
|
+
}, "maxRetires">, {
|
|
4060
|
+
maxBatchSize?: number | undefined;
|
|
4061
|
+
maxBatchTimeout?: number | undefined;
|
|
4062
|
+
maxRetires?: number | undefined;
|
|
4063
|
+
maxRetries?: number | undefined;
|
|
3385
4064
|
deadLetterQueue?: string | undefined;
|
|
3386
4065
|
retryDelay?: number | undefined;
|
|
3387
4066
|
}>;
|
|
3388
4067
|
|
|
3389
4068
|
export declare type QueueConsumers = Map<string, z.infer<typeof QueueConsumerSchema>>;
|
|
3390
4069
|
|
|
3391
|
-
export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
|
|
4070
|
+
export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
3392
4071
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3393
4072
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3394
4073
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4074
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3395
4075
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3396
4076
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3397
4077
|
}, "strip", z.ZodTypeAny, {
|
|
3398
4078
|
maxBatchSize?: number | undefined;
|
|
3399
4079
|
maxBatchTimeout?: number | undefined;
|
|
3400
4080
|
maxRetires?: number | undefined;
|
|
4081
|
+
maxRetries?: number | undefined;
|
|
3401
4082
|
deadLetterQueue?: string | undefined;
|
|
3402
4083
|
retryDelay?: number | undefined;
|
|
3403
4084
|
}, {
|
|
3404
4085
|
maxBatchSize?: number | undefined;
|
|
3405
4086
|
maxBatchTimeout?: number | undefined;
|
|
3406
4087
|
maxRetires?: number | undefined;
|
|
4088
|
+
maxRetries?: number | undefined;
|
|
4089
|
+
deadLetterQueue?: string | undefined;
|
|
4090
|
+
retryDelay?: number | undefined;
|
|
4091
|
+
}>, Omit<{
|
|
4092
|
+
maxBatchSize?: number | undefined;
|
|
4093
|
+
maxBatchTimeout?: number | undefined;
|
|
4094
|
+
maxRetires?: number | undefined;
|
|
4095
|
+
maxRetries?: number | undefined;
|
|
4096
|
+
deadLetterQueue?: string | undefined;
|
|
4097
|
+
retryDelay?: number | undefined;
|
|
4098
|
+
}, "maxRetires">, {
|
|
4099
|
+
maxBatchSize?: number | undefined;
|
|
4100
|
+
maxBatchTimeout?: number | undefined;
|
|
4101
|
+
maxRetires?: number | undefined;
|
|
4102
|
+
maxRetries?: number | undefined;
|
|
3407
4103
|
deadLetterQueue?: string | undefined;
|
|
3408
4104
|
retryDelay?: number | undefined;
|
|
3409
4105
|
}>, z.ZodObject<{
|
|
@@ -3414,22 +4110,39 @@ export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
3414
4110
|
workerName: string;
|
|
3415
4111
|
}>>;
|
|
3416
4112
|
|
|
3417
|
-
export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
4113
|
+
export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
3418
4114
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3419
4115
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3420
4116
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4117
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3421
4118
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3422
4119
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3423
4120
|
}, "strip", z.ZodTypeAny, {
|
|
3424
4121
|
maxBatchSize?: number | undefined;
|
|
3425
4122
|
maxBatchTimeout?: number | undefined;
|
|
3426
4123
|
maxRetires?: number | undefined;
|
|
4124
|
+
maxRetries?: number | undefined;
|
|
3427
4125
|
deadLetterQueue?: string | undefined;
|
|
3428
4126
|
retryDelay?: number | undefined;
|
|
3429
4127
|
}, {
|
|
3430
4128
|
maxBatchSize?: number | undefined;
|
|
3431
4129
|
maxBatchTimeout?: number | undefined;
|
|
3432
4130
|
maxRetires?: number | undefined;
|
|
4131
|
+
maxRetries?: number | undefined;
|
|
4132
|
+
deadLetterQueue?: string | undefined;
|
|
4133
|
+
retryDelay?: number | undefined;
|
|
4134
|
+
}>, Omit<{
|
|
4135
|
+
maxBatchSize?: number | undefined;
|
|
4136
|
+
maxBatchTimeout?: number | undefined;
|
|
4137
|
+
maxRetires?: number | undefined;
|
|
4138
|
+
maxRetries?: number | undefined;
|
|
4139
|
+
deadLetterQueue?: string | undefined;
|
|
4140
|
+
retryDelay?: number | undefined;
|
|
4141
|
+
}, "maxRetires">, {
|
|
4142
|
+
maxBatchSize?: number | undefined;
|
|
4143
|
+
maxBatchTimeout?: number | undefined;
|
|
4144
|
+
maxRetires?: number | undefined;
|
|
4145
|
+
maxRetries?: number | undefined;
|
|
3433
4146
|
deadLetterQueue?: string | undefined;
|
|
3434
4147
|
retryDelay?: number | undefined;
|
|
3435
4148
|
}>, z.ZodObject<{
|
|
@@ -3449,11 +4162,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
|
|
|
3449
4162
|
export declare const QueueIncomingMessageSchema: z.ZodObject<{
|
|
3450
4163
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3451
4164
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3452
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
4165
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3453
4166
|
id: z.ZodOptional<z.ZodString>;
|
|
3454
4167
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3455
4168
|
}, "strip", z.ZodTypeAny, {
|
|
3456
|
-
body: Buffer
|
|
4169
|
+
body: Buffer<ArrayBuffer>;
|
|
3457
4170
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3458
4171
|
delaySecs?: number | undefined;
|
|
3459
4172
|
id?: string | undefined;
|
|
@@ -3529,11 +4242,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3529
4242
|
messages: z.ZodArray<z.ZodObject<{
|
|
3530
4243
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3531
4244
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3532
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
4245
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3533
4246
|
id: z.ZodOptional<z.ZodString>;
|
|
3534
4247
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3535
4248
|
}, "strip", z.ZodTypeAny, {
|
|
3536
|
-
body: Buffer
|
|
4249
|
+
body: Buffer<ArrayBuffer>;
|
|
3537
4250
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3538
4251
|
delaySecs?: number | undefined;
|
|
3539
4252
|
id?: string | undefined;
|
|
@@ -3547,7 +4260,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3547
4260
|
}>, "many">;
|
|
3548
4261
|
}, "strip", z.ZodTypeAny, {
|
|
3549
4262
|
messages: {
|
|
3550
|
-
body: Buffer
|
|
4263
|
+
body: Buffer<ArrayBuffer>;
|
|
3551
4264
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3552
4265
|
delaySecs?: number | undefined;
|
|
3553
4266
|
id?: string | undefined;
|
|
@@ -3579,22 +4292,39 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3579
4292
|
queueName: string;
|
|
3580
4293
|
deliveryDelay?: number | undefined;
|
|
3581
4294
|
}>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3582
|
-
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4295
|
+
queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3583
4296
|
maxBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
3584
4297
|
maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3585
4298
|
maxRetires: z.ZodOptional<z.ZodNumber>;
|
|
4299
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
3586
4300
|
deadLetterQueue: z.ZodOptional<z.ZodString>;
|
|
3587
4301
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
3588
4302
|
}, "strip", z.ZodTypeAny, {
|
|
3589
4303
|
maxBatchSize?: number | undefined;
|
|
3590
4304
|
maxBatchTimeout?: number | undefined;
|
|
3591
4305
|
maxRetires?: number | undefined;
|
|
4306
|
+
maxRetries?: number | undefined;
|
|
3592
4307
|
deadLetterQueue?: string | undefined;
|
|
3593
4308
|
retryDelay?: number | undefined;
|
|
3594
4309
|
}, {
|
|
3595
4310
|
maxBatchSize?: number | undefined;
|
|
3596
4311
|
maxBatchTimeout?: number | undefined;
|
|
3597
4312
|
maxRetires?: number | undefined;
|
|
4313
|
+
maxRetries?: number | undefined;
|
|
4314
|
+
deadLetterQueue?: string | undefined;
|
|
4315
|
+
retryDelay?: number | undefined;
|
|
4316
|
+
}>, Omit<{
|
|
4317
|
+
maxBatchSize?: number | undefined;
|
|
4318
|
+
maxBatchTimeout?: number | undefined;
|
|
4319
|
+
maxRetires?: number | undefined;
|
|
4320
|
+
maxRetries?: number | undefined;
|
|
4321
|
+
deadLetterQueue?: string | undefined;
|
|
4322
|
+
retryDelay?: number | undefined;
|
|
4323
|
+
}, "maxRetires">, {
|
|
4324
|
+
maxBatchSize?: number | undefined;
|
|
4325
|
+
maxBatchTimeout?: number | undefined;
|
|
4326
|
+
maxRetires?: number | undefined;
|
|
4327
|
+
maxRetries?: number | undefined;
|
|
3598
4328
|
deadLetterQueue?: string | undefined;
|
|
3599
4329
|
retryDelay?: number | undefined;
|
|
3600
4330
|
}>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3603,13 +4333,14 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3603
4333
|
queueName: string;
|
|
3604
4334
|
deliveryDelay?: number | undefined;
|
|
3605
4335
|
}> | undefined;
|
|
3606
|
-
queueConsumers?: string[] | Record<string, {
|
|
4336
|
+
queueConsumers?: string[] | Record<string, Omit<{
|
|
3607
4337
|
maxBatchSize?: number | undefined;
|
|
3608
4338
|
maxBatchTimeout?: number | undefined;
|
|
3609
4339
|
maxRetires?: number | undefined;
|
|
4340
|
+
maxRetries?: number | undefined;
|
|
3610
4341
|
deadLetterQueue?: string | undefined;
|
|
3611
4342
|
retryDelay?: number | undefined;
|
|
3612
|
-
}
|
|
4343
|
+
}, "maxRetires">> | undefined;
|
|
3613
4344
|
}, {
|
|
3614
4345
|
queueProducers?: string[] | Record<string, string> | Record<string, {
|
|
3615
4346
|
queueName: string;
|
|
@@ -3619,6 +4350,7 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
|
|
|
3619
4350
|
maxBatchSize?: number | undefined;
|
|
3620
4351
|
maxBatchTimeout?: number | undefined;
|
|
3621
4352
|
maxRetires?: number | undefined;
|
|
4353
|
+
maxRetries?: number | undefined;
|
|
3622
4354
|
deadLetterQueue?: string | undefined;
|
|
3623
4355
|
retryDelay?: number | undefined;
|
|
3624
4356
|
}> | undefined;
|
|
@@ -3712,7 +4444,7 @@ export declare const RatelimitOptionsSchema: z.ZodObject<{
|
|
|
3712
4444
|
}> | undefined;
|
|
3713
4445
|
}>;
|
|
3714
4446
|
|
|
3715
|
-
export declare function readPrefix(stream:
|
|
4447
|
+
export declare function readPrefix(stream: ReadableStream_3<Uint8Array>, prefixLength: number): Promise<[prefix: Buffer, rest: ReadableStream_3<Uint8Array>]>;
|
|
3716
4448
|
|
|
3717
4449
|
export declare function reduceError(e: any): JsonError;
|
|
3718
4450
|
|
|
@@ -3722,17 +4454,18 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
|
|
|
3722
4454
|
|
|
3723
4455
|
export { ReferrerPolicy }
|
|
3724
4456
|
|
|
3725
|
-
export declare type ReplaceWorkersTypes<T> = T extends
|
|
4457
|
+
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
4458
|
[K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
|
|
3727
4459
|
} : T;
|
|
3728
4460
|
|
|
3729
|
-
|
|
4461
|
+
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
|
|
3730
4462
|
[kCf]?: CfType;
|
|
3731
|
-
constructor(input: RequestInfo, init?:
|
|
4463
|
+
constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
|
|
3732
4464
|
get cf(): CfType | undefined;
|
|
3733
4465
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3734
|
-
clone():
|
|
4466
|
+
clone(): Request_2<CfType>;
|
|
3735
4467
|
}
|
|
4468
|
+
export { Request_2 as Request }
|
|
3736
4469
|
|
|
3737
4470
|
export { RequestCache }
|
|
3738
4471
|
|
|
@@ -3742,11 +4475,12 @@ export { RequestDestination }
|
|
|
3742
4475
|
|
|
3743
4476
|
export { RequestDuplex }
|
|
3744
4477
|
|
|
3745
|
-
export declare type RequestInfo = RequestInfo_2 |
|
|
4478
|
+
export declare type RequestInfo = RequestInfo_2 | Request_2;
|
|
3746
4479
|
|
|
3747
|
-
|
|
4480
|
+
declare interface RequestInit_2<CfType extends RequestInitCfType = RequestInitCfType> extends RequestInit_3 {
|
|
3748
4481
|
cf?: CfType;
|
|
3749
4482
|
}
|
|
4483
|
+
export { RequestInit_2 as RequestInit }
|
|
3750
4484
|
|
|
3751
4485
|
export declare type RequestInitCfType = Partial<IncomingRequestCfProperties> | RequestInitCfProperties;
|
|
3752
4486
|
|
|
@@ -3754,22 +4488,24 @@ export { RequestMode }
|
|
|
3754
4488
|
|
|
3755
4489
|
export { RequestRedirect }
|
|
3756
4490
|
|
|
3757
|
-
|
|
4491
|
+
declare class Response_2 extends Response_4 {
|
|
3758
4492
|
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?:
|
|
4493
|
+
static error(): Response_2;
|
|
4494
|
+
static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
|
|
4495
|
+
static json(data: any, init?: ResponseInit_2): Response_2;
|
|
4496
|
+
constructor(body?: BodyInit, init?: ResponseInit_2);
|
|
3763
4497
|
/** @ts-expect-error `status` is actually defined as a getter internally */
|
|
3764
4498
|
get status(): number;
|
|
3765
4499
|
get webSocket(): WebSocket | null;
|
|
3766
4500
|
/** @ts-expect-error `clone` is actually defined as a method internally */
|
|
3767
|
-
clone():
|
|
4501
|
+
clone(): Response_2;
|
|
3768
4502
|
}
|
|
4503
|
+
export { Response_2 as Response }
|
|
3769
4504
|
|
|
3770
|
-
|
|
4505
|
+
declare interface ResponseInit_2 extends ResponseInit_3 {
|
|
3771
4506
|
webSocket?: WebSocket | null;
|
|
3772
4507
|
}
|
|
4508
|
+
export { ResponseInit_2 as ResponseInit }
|
|
3773
4509
|
|
|
3774
4510
|
export { ResponseRedirectStatus }
|
|
3775
4511
|
|
|
@@ -3852,7 +4588,7 @@ export declare const SharedHeaders: {
|
|
|
3852
4588
|
readonly LOG_LEVEL: "MF-Log-Level";
|
|
3853
4589
|
};
|
|
3854
4590
|
|
|
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>;
|
|
4591
|
+
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>;
|
|
3856
4592
|
|
|
3857
4593
|
export declare const SiteBindings: {
|
|
3858
4594
|
readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
|
|
@@ -3896,29 +4632,29 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3896
4632
|
modules: z.ZodArray<z.ZodObject<{
|
|
3897
4633
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
3898
4634
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
3899
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
4635
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
3900
4636
|
}, "strip", z.ZodTypeAny, {
|
|
3901
4637
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3902
4638
|
path: string;
|
|
3903
|
-
contents?: string | Uint8Array | undefined;
|
|
4639
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3904
4640
|
}, {
|
|
3905
4641
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3906
4642
|
path: string;
|
|
3907
|
-
contents?: string | Uint8Array | undefined;
|
|
4643
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3908
4644
|
}>, "many">;
|
|
3909
4645
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3910
4646
|
}, "strip", z.ZodTypeAny, {
|
|
3911
4647
|
modules: {
|
|
3912
4648
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3913
4649
|
path: string;
|
|
3914
|
-
contents?: string | Uint8Array | undefined;
|
|
4650
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3915
4651
|
}[];
|
|
3916
4652
|
modulesRoot?: string | undefined;
|
|
3917
4653
|
}, {
|
|
3918
4654
|
modules: {
|
|
3919
4655
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
3920
4656
|
path: string;
|
|
3921
|
-
contents?: string | Uint8Array | undefined;
|
|
4657
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
3922
4658
|
}[];
|
|
3923
4659
|
modulesRoot?: string | undefined;
|
|
3924
4660
|
}>, z.ZodObject<{
|
|
@@ -4029,14 +4765,16 @@ export declare interface TlsOptions_Keypair {
|
|
|
4029
4765
|
certificateChain?: string;
|
|
4030
4766
|
}
|
|
4031
4767
|
|
|
4032
|
-
export declare
|
|
4033
|
-
GOOD_DEFAULT
|
|
4034
|
-
SSL3
|
|
4035
|
-
TLS1DOT0
|
|
4036
|
-
TLS1DOT1
|
|
4037
|
-
TLS1DOT2
|
|
4038
|
-
TLS1DOT3
|
|
4039
|
-
}
|
|
4768
|
+
export declare const TlsOptions_Version: {
|
|
4769
|
+
readonly GOOD_DEFAULT: 0;
|
|
4770
|
+
readonly SSL3: 1;
|
|
4771
|
+
readonly TLS1DOT0: 2;
|
|
4772
|
+
readonly TLS1DOT1: 3;
|
|
4773
|
+
readonly TLS1DOT2: 4;
|
|
4774
|
+
readonly TLS1DOT3: 5;
|
|
4775
|
+
};
|
|
4776
|
+
|
|
4777
|
+
export declare type TlsOptions_Version = (typeof TlsOptions_Version)[keyof typeof TlsOptions_Version];
|
|
4040
4778
|
|
|
4041
4779
|
export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
|
|
4042
4780
|
|
|
@@ -4081,15 +4819,15 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
|
|
|
4081
4819
|
[kClosedIncoming]: boolean;
|
|
4082
4820
|
get readyState(): number;
|
|
4083
4821
|
accept(): void;
|
|
4084
|
-
send(message: ArrayBuffer |
|
|
4085
|
-
[kSend](message: ArrayBuffer |
|
|
4822
|
+
send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4823
|
+
[kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4086
4824
|
close(code?: number, reason?: string): void;
|
|
4087
4825
|
[kClose](code?: number, reason?: string): void;
|
|
4088
4826
|
[kError](error?: Error): void;
|
|
4089
4827
|
}
|
|
4090
4828
|
|
|
4091
4829
|
export declare type WebSocketEventMap = {
|
|
4092
|
-
message:
|
|
4830
|
+
message: MessageEvent_2;
|
|
4093
4831
|
close: CloseEvent;
|
|
4094
4832
|
error: ErrorEvent;
|
|
4095
4833
|
};
|
|
@@ -4183,16 +4921,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
|
|
|
4183
4921
|
json?: string;
|
|
4184
4922
|
};
|
|
4185
4923
|
|
|
4186
|
-
export declare
|
|
4187
|
-
ENCRYPT
|
|
4188
|
-
DECRYPT
|
|
4189
|
-
SIGN
|
|
4190
|
-
VERIFY
|
|
4191
|
-
DERIVE_KEY
|
|
4192
|
-
DERIVE_BITS
|
|
4193
|
-
WRAP_KEY
|
|
4194
|
-
UNWRAP_KEY
|
|
4195
|
-
}
|
|
4924
|
+
export declare const Worker_Binding_CryptoKey_Usage: {
|
|
4925
|
+
readonly ENCRYPT: 0;
|
|
4926
|
+
readonly DECRYPT: 1;
|
|
4927
|
+
readonly SIGN: 2;
|
|
4928
|
+
readonly VERIFY: 3;
|
|
4929
|
+
readonly DERIVE_KEY: 4;
|
|
4930
|
+
readonly DERIVE_BITS: 5;
|
|
4931
|
+
readonly WRAP_KEY: 6;
|
|
4932
|
+
readonly UNWRAP_KEY: 7;
|
|
4933
|
+
};
|
|
4934
|
+
|
|
4935
|
+
export declare type Worker_Binding_CryptoKey_Usage = (typeof Worker_Binding_CryptoKey_Usage)[keyof typeof Worker_Binding_CryptoKey_Usage];
|
|
4196
4936
|
|
|
4197
4937
|
export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
|
|
4198
4938
|
className?: string;
|
|
@@ -4299,7 +5039,7 @@ export declare type Worker_Module = {
|
|
|
4299
5039
|
pythonRequirement?: string;
|
|
4300
5040
|
});
|
|
4301
5041
|
|
|
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>;
|
|
5042
|
+
export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options>;
|
|
4303
5043
|
|
|
4304
5044
|
export declare interface WorkerRoute {
|
|
4305
5045
|
target: string;
|
|
@@ -4312,6 +5052,48 @@ export declare interface WorkerRoute {
|
|
|
4312
5052
|
allowPathSuffix: boolean;
|
|
4313
5053
|
}
|
|
4314
5054
|
|
|
5055
|
+
export declare const WORKFLOWS_PLUGIN: Plugin<typeof WorkflowsOptionsSchema, typeof WorkflowsSharedOptionsSchema>;
|
|
5056
|
+
|
|
5057
|
+
export declare const WORKFLOWS_PLUGIN_NAME = "workflows";
|
|
5058
|
+
|
|
5059
|
+
export declare const WORKFLOWS_STORAGE_SERVICE_NAME = "workflows:storage";
|
|
5060
|
+
|
|
5061
|
+
export declare const WorkflowsOptionsSchema: z.ZodObject<{
|
|
5062
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5063
|
+
name: z.ZodString;
|
|
5064
|
+
className: z.ZodString;
|
|
5065
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
5066
|
+
}, "strip", z.ZodTypeAny, {
|
|
5067
|
+
name: string;
|
|
5068
|
+
className: string;
|
|
5069
|
+
scriptName?: string | undefined;
|
|
5070
|
+
}, {
|
|
5071
|
+
name: string;
|
|
5072
|
+
className: string;
|
|
5073
|
+
scriptName?: string | undefined;
|
|
5074
|
+
}>>>;
|
|
5075
|
+
}, "strip", z.ZodTypeAny, {
|
|
5076
|
+
workflows?: Record<string, {
|
|
5077
|
+
name: string;
|
|
5078
|
+
className: string;
|
|
5079
|
+
scriptName?: string | undefined;
|
|
5080
|
+
}> | undefined;
|
|
5081
|
+
}, {
|
|
5082
|
+
workflows?: Record<string, {
|
|
5083
|
+
name: string;
|
|
5084
|
+
className: string;
|
|
5085
|
+
scriptName?: string | undefined;
|
|
5086
|
+
}> | undefined;
|
|
5087
|
+
}>;
|
|
5088
|
+
|
|
5089
|
+
export declare const WorkflowsSharedOptionsSchema: z.ZodObject<{
|
|
5090
|
+
workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
5091
|
+
}, "strip", z.ZodTypeAny, {
|
|
5092
|
+
workflowsPersist?: string | boolean | undefined;
|
|
5093
|
+
}, {
|
|
5094
|
+
workflowsPersist?: string | boolean | undefined;
|
|
5095
|
+
}>;
|
|
5096
|
+
|
|
4315
5097
|
export declare type WrappedBindingNames = Set<string>;
|
|
4316
5098
|
|
|
4317
5099
|
export declare function zAwaitable<T extends z.ZodTypeAny>(type: T): z.ZodUnion<[T, z.ZodPromise<T>]>;
|