miniflare 0.0.0-e1d2fd668 → 0.0.0-e2b3306e1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/index.d.ts +406 -289
- package/dist/src/index.js +8787 -4498
- package/dist/src/index.js.map +3 -3
- package/dist/src/workers/assets/assets.worker.js +224 -117
- package/dist/src/workers/assets/assets.worker.js.map +2 -2
- package/dist/src/workers/assets/router.worker.js +79 -19
- package/dist/src/workers/assets/router.worker.js.map +2 -2
- package/dist/src/workers/core/entry.worker.js +13 -13
- package/dist/src/workers/core/entry.worker.js.map +1 -1
- package/dist/src/workers/d1/database.worker.js +1 -1
- package/dist/src/workers/d1/database.worker.js.map +1 -1
- package/dist/src/workers/queues/broker.worker.js +1 -1
- package/dist/src/workers/shared/index.worker.js +4 -1
- package/dist/src/workers/shared/index.worker.js.map +1 -1
- package/dist/src/workers/workflows/binding.worker.js +78 -34
- package/dist/src/workers/workflows/binding.worker.js.map +1 -1
- package/package.json +11 -12
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,6 +8,8 @@ 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';
|
|
@@ -16,18 +19,28 @@ import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimenta
|
|
|
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
37
|
import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
|
|
27
38
|
import { ReadableStream as ReadableStream_3 } from 'stream/web';
|
|
28
39
|
import { ReferrerPolicy } from 'undici';
|
|
29
|
-
import { Request as Request_3 } from '
|
|
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';
|
|
@@ -38,8 +51,10 @@ import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/exp
|
|
|
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 Response_3 } from '
|
|
42
|
-
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 '..';
|
|
43
58
|
import { ResponseInit as ResponseInit_3 } from 'undici';
|
|
44
59
|
import { ResponseRedirectStatus } from 'undici';
|
|
45
60
|
import { ResponseType } from 'undici';
|
|
@@ -74,20 +89,35 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
74
89
|
binding: z.ZodOptional<z.ZodString>;
|
|
75
90
|
routingConfig: z.ZodOptional<z.ZodObject<{
|
|
76
91
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
77
95
|
}, "strip", z.ZodTypeAny, {
|
|
78
96
|
has_user_worker?: boolean;
|
|
97
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
98
|
+
account_id?: number;
|
|
99
|
+
script_id?: number;
|
|
79
100
|
}, {
|
|
80
101
|
has_user_worker?: boolean;
|
|
102
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
103
|
+
account_id?: number;
|
|
104
|
+
script_id?: number;
|
|
81
105
|
}>>;
|
|
82
106
|
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
83
107
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
84
108
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
109
|
+
serve_directly: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
run_worker_first: z.ZodOptional<z.ZodBoolean>;
|
|
85
111
|
}, "strip", z.ZodTypeAny, {
|
|
86
112
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
87
113
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
114
|
+
serve_directly?: boolean;
|
|
115
|
+
run_worker_first?: boolean;
|
|
88
116
|
}, {
|
|
89
117
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
90
118
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
119
|
+
serve_directly?: boolean;
|
|
120
|
+
run_worker_first?: boolean;
|
|
91
121
|
}>>;
|
|
92
122
|
}, "strip", z.ZodTypeAny, {
|
|
93
123
|
directory: string;
|
|
@@ -95,10 +125,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
95
125
|
binding?: string | undefined;
|
|
96
126
|
routingConfig?: {
|
|
97
127
|
has_user_worker?: boolean;
|
|
128
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
129
|
+
account_id?: number;
|
|
130
|
+
script_id?: number;
|
|
98
131
|
} | undefined;
|
|
99
132
|
assetConfig?: {
|
|
100
133
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
101
134
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
135
|
+
serve_directly?: boolean;
|
|
136
|
+
run_worker_first?: boolean;
|
|
102
137
|
} | undefined;
|
|
103
138
|
}, {
|
|
104
139
|
directory: string;
|
|
@@ -106,10 +141,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
106
141
|
binding?: string | undefined;
|
|
107
142
|
routingConfig?: {
|
|
108
143
|
has_user_worker?: boolean;
|
|
144
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
145
|
+
account_id?: number;
|
|
146
|
+
script_id?: number;
|
|
109
147
|
} | undefined;
|
|
110
148
|
assetConfig?: {
|
|
111
149
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
112
150
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
151
|
+
serve_directly?: boolean;
|
|
152
|
+
run_worker_first?: boolean;
|
|
113
153
|
} | undefined;
|
|
114
154
|
}>>;
|
|
115
155
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -119,10 +159,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
119
159
|
binding?: string | undefined;
|
|
120
160
|
routingConfig?: {
|
|
121
161
|
has_user_worker?: boolean;
|
|
162
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
163
|
+
account_id?: number;
|
|
164
|
+
script_id?: number;
|
|
122
165
|
} | undefined;
|
|
123
166
|
assetConfig?: {
|
|
124
167
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
125
168
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
169
|
+
serve_directly?: boolean;
|
|
170
|
+
run_worker_first?: boolean;
|
|
126
171
|
} | undefined;
|
|
127
172
|
} | undefined;
|
|
128
173
|
}, {
|
|
@@ -132,10 +177,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
|
|
|
132
177
|
binding?: string | undefined;
|
|
133
178
|
routingConfig?: {
|
|
134
179
|
has_user_worker?: boolean;
|
|
180
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
181
|
+
account_id?: number;
|
|
182
|
+
script_id?: number;
|
|
135
183
|
} | undefined;
|
|
136
184
|
assetConfig?: {
|
|
137
185
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
138
186
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
187
|
+
serve_directly?: boolean;
|
|
188
|
+
run_worker_first?: boolean;
|
|
139
189
|
} | undefined;
|
|
140
190
|
} | undefined;
|
|
141
191
|
}>;
|
|
@@ -158,7 +208,7 @@ export { BodyInit }
|
|
|
158
208
|
* Use content hash to get file path from asset reverse map.
|
|
159
209
|
*/
|
|
160
210
|
export declare const buildAssetManifest: (dir: string) => Promise<{
|
|
161
|
-
encodedAssetManifest: Uint8Array
|
|
211
|
+
encodedAssetManifest: Uint8Array<ArrayBuffer>;
|
|
162
212
|
assetsReverseMap: AssetReverseMap;
|
|
163
213
|
}>;
|
|
164
214
|
|
|
@@ -266,29 +316,29 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
266
316
|
modules: z.ZodArray<z.ZodObject<{
|
|
267
317
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
268
318
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
269
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
319
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
270
320
|
}, "strip", z.ZodTypeAny, {
|
|
271
321
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
272
322
|
path: string;
|
|
273
|
-
contents?: string | Uint8Array | undefined;
|
|
323
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
274
324
|
}, {
|
|
275
325
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
276
326
|
path: string;
|
|
277
|
-
contents?: string | Uint8Array | undefined;
|
|
327
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
278
328
|
}>, "many">;
|
|
279
329
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
280
330
|
}, "strip", z.ZodTypeAny, {
|
|
281
331
|
modules: {
|
|
282
332
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
283
333
|
path: string;
|
|
284
|
-
contents?: string | Uint8Array | undefined;
|
|
334
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
285
335
|
}[];
|
|
286
336
|
modulesRoot?: string | undefined;
|
|
287
337
|
}, {
|
|
288
338
|
modules: {
|
|
289
339
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
290
340
|
path: string;
|
|
291
|
-
contents?: string | Uint8Array | undefined;
|
|
341
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
292
342
|
}[];
|
|
293
343
|
modulesRoot?: string | undefined;
|
|
294
344
|
}>, z.ZodObject<{
|
|
@@ -371,9 +421,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
371
421
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
372
422
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
373
423
|
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
|
|
424
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
375
425
|
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
|
|
426
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
377
427
|
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
|
|
378
428
|
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
|
|
379
429
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -401,7 +451,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
401
451
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
402
452
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
403
453
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
454
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
455
|
+
readonly GOOD_DEFAULT: 0;
|
|
456
|
+
readonly SSL3: 1;
|
|
457
|
+
readonly TLS1DOT0: 2;
|
|
458
|
+
readonly TLS1DOT1: 3;
|
|
459
|
+
readonly TLS1DOT2: 4;
|
|
460
|
+
readonly TLS1DOT3: 5;
|
|
461
|
+
}>>;
|
|
405
462
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
406
463
|
}, "strip", z.ZodTypeAny, {
|
|
407
464
|
keypair?: {
|
|
@@ -411,7 +468,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
411
468
|
requireClientCerts?: boolean | undefined;
|
|
412
469
|
trustBrowserCas?: boolean | undefined;
|
|
413
470
|
trustedCertificates?: string[] | undefined;
|
|
414
|
-
minVersion?:
|
|
471
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
415
472
|
cipherList?: string | undefined;
|
|
416
473
|
}, {
|
|
417
474
|
keypair?: {
|
|
@@ -421,7 +478,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
421
478
|
requireClientCerts?: boolean | undefined;
|
|
422
479
|
trustBrowserCas?: boolean | undefined;
|
|
423
480
|
trustedCertificates?: string[] | undefined;
|
|
424
|
-
minVersion?:
|
|
481
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
425
482
|
cipherList?: string | undefined;
|
|
426
483
|
}>>;
|
|
427
484
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -435,7 +492,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
435
492
|
requireClientCerts?: boolean | undefined;
|
|
436
493
|
trustBrowserCas?: boolean | undefined;
|
|
437
494
|
trustedCertificates?: string[] | undefined;
|
|
438
|
-
minVersion?:
|
|
495
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
439
496
|
cipherList?: string | undefined;
|
|
440
497
|
} | undefined;
|
|
441
498
|
}, {
|
|
@@ -449,7 +506,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
449
506
|
requireClientCerts?: boolean | undefined;
|
|
450
507
|
trustBrowserCas?: boolean | undefined;
|
|
451
508
|
trustedCertificates?: string[] | undefined;
|
|
452
|
-
minVersion?:
|
|
509
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
453
510
|
cipherList?: string | undefined;
|
|
454
511
|
} | undefined;
|
|
455
512
|
}>;
|
|
@@ -465,7 +522,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
465
522
|
requireClientCerts?: boolean | undefined;
|
|
466
523
|
trustBrowserCas?: boolean | undefined;
|
|
467
524
|
trustedCertificates?: string[] | undefined;
|
|
468
|
-
minVersion?:
|
|
525
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
469
526
|
cipherList?: string | undefined;
|
|
470
527
|
} | undefined;
|
|
471
528
|
};
|
|
@@ -481,16 +538,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
481
538
|
requireClientCerts?: boolean | undefined;
|
|
482
539
|
trustBrowserCas?: boolean | undefined;
|
|
483
540
|
trustedCertificates?: string[] | undefined;
|
|
484
|
-
minVersion?:
|
|
541
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
485
542
|
cipherList?: string | undefined;
|
|
486
543
|
} | undefined;
|
|
487
544
|
};
|
|
488
545
|
}>, z.ZodObject<{
|
|
489
|
-
external: z.ZodType<
|
|
546
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
490
547
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
external:
|
|
548
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
492
549
|
}, {
|
|
493
|
-
external:
|
|
550
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
494
551
|
}>, z.ZodObject<{
|
|
495
552
|
disk: z.ZodObject<{
|
|
496
553
|
path: z.ZodString;
|
|
@@ -512,7 +569,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
512
569
|
path: string;
|
|
513
570
|
writable?: boolean | undefined;
|
|
514
571
|
};
|
|
515
|
-
}>, z.ZodType<(request:
|
|
572
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
|
|
516
573
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
517
574
|
scriptName: z.ZodString;
|
|
518
575
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
@@ -553,7 +610,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
553
610
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
554
611
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
555
612
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
556
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
613
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
614
|
+
readonly GOOD_DEFAULT: 0;
|
|
615
|
+
readonly SSL3: 1;
|
|
616
|
+
readonly TLS1DOT0: 2;
|
|
617
|
+
readonly TLS1DOT1: 3;
|
|
618
|
+
readonly TLS1DOT2: 4;
|
|
619
|
+
readonly TLS1DOT3: 5;
|
|
620
|
+
}>>;
|
|
557
621
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
558
622
|
}, "strip", z.ZodTypeAny, {
|
|
559
623
|
keypair?: {
|
|
@@ -563,7 +627,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
563
627
|
requireClientCerts?: boolean | undefined;
|
|
564
628
|
trustBrowserCas?: boolean | undefined;
|
|
565
629
|
trustedCertificates?: string[] | undefined;
|
|
566
|
-
minVersion?:
|
|
630
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
567
631
|
cipherList?: string | undefined;
|
|
568
632
|
}, {
|
|
569
633
|
keypair?: {
|
|
@@ -573,7 +637,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
573
637
|
requireClientCerts?: boolean | undefined;
|
|
574
638
|
trustBrowserCas?: boolean | undefined;
|
|
575
639
|
trustedCertificates?: string[] | undefined;
|
|
576
|
-
minVersion?:
|
|
640
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
577
641
|
cipherList?: string | undefined;
|
|
578
642
|
}>>;
|
|
579
643
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -587,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
587
651
|
requireClientCerts?: boolean | undefined;
|
|
588
652
|
trustBrowserCas?: boolean | undefined;
|
|
589
653
|
trustedCertificates?: string[] | undefined;
|
|
590
|
-
minVersion?:
|
|
654
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
591
655
|
cipherList?: string | undefined;
|
|
592
656
|
} | undefined;
|
|
593
657
|
}, {
|
|
@@ -601,7 +665,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
601
665
|
requireClientCerts?: boolean | undefined;
|
|
602
666
|
trustBrowserCas?: boolean | undefined;
|
|
603
667
|
trustedCertificates?: string[] | undefined;
|
|
604
|
-
minVersion?:
|
|
668
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
605
669
|
cipherList?: string | undefined;
|
|
606
670
|
} | undefined;
|
|
607
671
|
}>;
|
|
@@ -617,7 +681,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
617
681
|
requireClientCerts?: boolean | undefined;
|
|
618
682
|
trustBrowserCas?: boolean | undefined;
|
|
619
683
|
trustedCertificates?: string[] | undefined;
|
|
620
|
-
minVersion?:
|
|
684
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
621
685
|
cipherList?: string | undefined;
|
|
622
686
|
} | undefined;
|
|
623
687
|
};
|
|
@@ -633,16 +697,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
633
697
|
requireClientCerts?: boolean | undefined;
|
|
634
698
|
trustBrowserCas?: boolean | undefined;
|
|
635
699
|
trustedCertificates?: string[] | undefined;
|
|
636
|
-
minVersion?:
|
|
700
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
637
701
|
cipherList?: string | undefined;
|
|
638
702
|
} | undefined;
|
|
639
703
|
};
|
|
640
704
|
}>, z.ZodObject<{
|
|
641
|
-
external: z.ZodType<
|
|
705
|
+
external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
|
|
642
706
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
-
external:
|
|
707
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
644
708
|
}, {
|
|
645
|
-
external:
|
|
709
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
646
710
|
}>, z.ZodObject<{
|
|
647
711
|
disk: z.ZodObject<{
|
|
648
712
|
path: z.ZodString;
|
|
@@ -664,7 +728,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
664
728
|
path: string;
|
|
665
729
|
writable?: boolean | undefined;
|
|
666
730
|
};
|
|
667
|
-
}>, z.ZodType<(request:
|
|
731
|
+
}>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
|
|
668
732
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
|
|
669
733
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
670
734
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -696,9 +760,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
696
760
|
compatibilityFlags?: string[] | undefined;
|
|
697
761
|
routes?: string[] | undefined;
|
|
698
762
|
bindings?: Record<string, Json> | undefined;
|
|
699
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
763
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
700
764
|
textBlobBindings?: Record<string, string> | undefined;
|
|
701
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
765
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
702
766
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
703
767
|
name: string | typeof kCurrentWorker;
|
|
704
768
|
entrypoint?: string | undefined;
|
|
@@ -714,18 +778,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
714
778
|
requireClientCerts?: boolean | undefined;
|
|
715
779
|
trustBrowserCas?: boolean | undefined;
|
|
716
780
|
trustedCertificates?: string[] | undefined;
|
|
717
|
-
minVersion?:
|
|
781
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
718
782
|
cipherList?: string | undefined;
|
|
719
783
|
} | undefined;
|
|
720
784
|
};
|
|
721
785
|
} | {
|
|
722
|
-
external:
|
|
786
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
723
787
|
} | {
|
|
724
788
|
disk: {
|
|
725
789
|
path: string;
|
|
726
790
|
writable?: boolean | undefined;
|
|
727
791
|
};
|
|
728
|
-
} | ((request:
|
|
792
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
729
793
|
wrappedBindings?: Record<string, string | {
|
|
730
794
|
scriptName: string;
|
|
731
795
|
entrypoint?: string | undefined;
|
|
@@ -746,18 +810,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
746
810
|
requireClientCerts?: boolean | undefined;
|
|
747
811
|
trustBrowserCas?: boolean | undefined;
|
|
748
812
|
trustedCertificates?: string[] | undefined;
|
|
749
|
-
minVersion?:
|
|
813
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
750
814
|
cipherList?: string | undefined;
|
|
751
815
|
} | undefined;
|
|
752
816
|
};
|
|
753
817
|
} | {
|
|
754
|
-
external:
|
|
818
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
755
819
|
} | {
|
|
756
820
|
disk: {
|
|
757
821
|
path: string;
|
|
758
822
|
writable?: boolean | undefined;
|
|
759
823
|
};
|
|
760
|
-
} | ((request:
|
|
824
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
761
825
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
762
826
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
763
827
|
unsafeDirectSockets?: {
|
|
@@ -776,9 +840,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
776
840
|
compatibilityFlags?: string[] | undefined;
|
|
777
841
|
routes?: string[] | undefined;
|
|
778
842
|
bindings?: Record<string, Json> | undefined;
|
|
779
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
843
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
780
844
|
textBlobBindings?: Record<string, string> | undefined;
|
|
781
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
845
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
782
846
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
783
847
|
name: string | typeof kCurrentWorker;
|
|
784
848
|
entrypoint?: string | undefined;
|
|
@@ -794,18 +858,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
794
858
|
requireClientCerts?: boolean | undefined;
|
|
795
859
|
trustBrowserCas?: boolean | undefined;
|
|
796
860
|
trustedCertificates?: string[] | undefined;
|
|
797
|
-
minVersion?:
|
|
861
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
798
862
|
cipherList?: string | undefined;
|
|
799
863
|
} | undefined;
|
|
800
864
|
};
|
|
801
865
|
} | {
|
|
802
|
-
external:
|
|
866
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
803
867
|
} | {
|
|
804
868
|
disk: {
|
|
805
869
|
path: string;
|
|
806
870
|
writable?: boolean | undefined;
|
|
807
871
|
};
|
|
808
|
-
} | ((request:
|
|
872
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
809
873
|
wrappedBindings?: Record<string, string | {
|
|
810
874
|
scriptName: string;
|
|
811
875
|
entrypoint?: string | undefined;
|
|
@@ -826,18 +890,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
826
890
|
requireClientCerts?: boolean | undefined;
|
|
827
891
|
trustBrowserCas?: boolean | undefined;
|
|
828
892
|
trustedCertificates?: string[] | undefined;
|
|
829
|
-
minVersion?:
|
|
893
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
830
894
|
cipherList?: string | undefined;
|
|
831
895
|
} | undefined;
|
|
832
896
|
};
|
|
833
897
|
} | {
|
|
834
|
-
external:
|
|
898
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
835
899
|
} | {
|
|
836
900
|
disk: {
|
|
837
901
|
path: string;
|
|
838
902
|
writable?: boolean | undefined;
|
|
839
903
|
};
|
|
840
|
-
} | ((request:
|
|
904
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
841
905
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
842
906
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
843
907
|
unsafeDirectSockets?: {
|
|
@@ -853,7 +917,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
853
917
|
modules: {
|
|
854
918
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
855
919
|
path: string;
|
|
856
|
-
contents?: string | Uint8Array | undefined;
|
|
920
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
857
921
|
}[];
|
|
858
922
|
modulesRoot?: string | undefined;
|
|
859
923
|
} & {
|
|
@@ -863,9 +927,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
863
927
|
compatibilityFlags?: string[] | undefined;
|
|
864
928
|
routes?: string[] | undefined;
|
|
865
929
|
bindings?: Record<string, Json> | undefined;
|
|
866
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
930
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
867
931
|
textBlobBindings?: Record<string, string> | undefined;
|
|
868
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
932
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
869
933
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
870
934
|
name: string | typeof kCurrentWorker;
|
|
871
935
|
entrypoint?: string | undefined;
|
|
@@ -881,18 +945,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
881
945
|
requireClientCerts?: boolean | undefined;
|
|
882
946
|
trustBrowserCas?: boolean | undefined;
|
|
883
947
|
trustedCertificates?: string[] | undefined;
|
|
884
|
-
minVersion?:
|
|
948
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
885
949
|
cipherList?: string | undefined;
|
|
886
950
|
} | undefined;
|
|
887
951
|
};
|
|
888
952
|
} | {
|
|
889
|
-
external:
|
|
953
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
890
954
|
} | {
|
|
891
955
|
disk: {
|
|
892
956
|
path: string;
|
|
893
957
|
writable?: boolean | undefined;
|
|
894
958
|
};
|
|
895
|
-
} | ((request:
|
|
959
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
896
960
|
wrappedBindings?: Record<string, string | {
|
|
897
961
|
scriptName: string;
|
|
898
962
|
entrypoint?: string | undefined;
|
|
@@ -913,18 +977,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
913
977
|
requireClientCerts?: boolean | undefined;
|
|
914
978
|
trustBrowserCas?: boolean | undefined;
|
|
915
979
|
trustedCertificates?: string[] | undefined;
|
|
916
|
-
minVersion?:
|
|
980
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
917
981
|
cipherList?: string | undefined;
|
|
918
982
|
} | undefined;
|
|
919
983
|
};
|
|
920
984
|
} | {
|
|
921
|
-
external:
|
|
985
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
922
986
|
} | {
|
|
923
987
|
disk: {
|
|
924
988
|
path: string;
|
|
925
989
|
writable?: boolean | undefined;
|
|
926
990
|
};
|
|
927
|
-
} | ((request:
|
|
991
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
928
992
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
929
993
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
930
994
|
unsafeDirectSockets?: {
|
|
@@ -953,9 +1017,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
953
1017
|
compatibilityFlags?: string[] | undefined;
|
|
954
1018
|
routes?: string[] | undefined;
|
|
955
1019
|
bindings?: Record<string, Json> | undefined;
|
|
956
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1020
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
957
1021
|
textBlobBindings?: Record<string, string> | undefined;
|
|
958
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1022
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
959
1023
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
960
1024
|
name: string | typeof kCurrentWorker;
|
|
961
1025
|
entrypoint?: string | undefined;
|
|
@@ -971,18 +1035,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
971
1035
|
requireClientCerts?: boolean | undefined;
|
|
972
1036
|
trustBrowserCas?: boolean | undefined;
|
|
973
1037
|
trustedCertificates?: string[] | undefined;
|
|
974
|
-
minVersion?:
|
|
1038
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
975
1039
|
cipherList?: string | undefined;
|
|
976
1040
|
} | undefined;
|
|
977
1041
|
};
|
|
978
1042
|
} | {
|
|
979
|
-
external:
|
|
1043
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
980
1044
|
} | {
|
|
981
1045
|
disk: {
|
|
982
1046
|
path: string;
|
|
983
1047
|
writable?: boolean | undefined;
|
|
984
1048
|
};
|
|
985
|
-
} | ((request:
|
|
1049
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
986
1050
|
wrappedBindings?: Record<string, string | {
|
|
987
1051
|
scriptName: string;
|
|
988
1052
|
entrypoint?: string | undefined;
|
|
@@ -1003,18 +1067,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1003
1067
|
requireClientCerts?: boolean | undefined;
|
|
1004
1068
|
trustBrowserCas?: boolean | undefined;
|
|
1005
1069
|
trustedCertificates?: string[] | undefined;
|
|
1006
|
-
minVersion?:
|
|
1070
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1007
1071
|
cipherList?: string | undefined;
|
|
1008
1072
|
} | undefined;
|
|
1009
1073
|
};
|
|
1010
1074
|
} | {
|
|
1011
|
-
external:
|
|
1075
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1012
1076
|
} | {
|
|
1013
1077
|
disk: {
|
|
1014
1078
|
path: string;
|
|
1015
1079
|
writable?: boolean | undefined;
|
|
1016
1080
|
};
|
|
1017
|
-
} | ((request:
|
|
1081
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1018
1082
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1019
1083
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1020
1084
|
unsafeDirectSockets?: {
|
|
@@ -1042,9 +1106,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1042
1106
|
compatibilityFlags?: string[] | undefined;
|
|
1043
1107
|
routes?: string[] | undefined;
|
|
1044
1108
|
bindings?: Record<string, Json> | undefined;
|
|
1045
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1109
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1046
1110
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1047
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1111
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1048
1112
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1049
1113
|
name: string | typeof kCurrentWorker;
|
|
1050
1114
|
entrypoint?: string | undefined;
|
|
@@ -1060,18 +1124,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1060
1124
|
requireClientCerts?: boolean | undefined;
|
|
1061
1125
|
trustBrowserCas?: boolean | undefined;
|
|
1062
1126
|
trustedCertificates?: string[] | undefined;
|
|
1063
|
-
minVersion?:
|
|
1127
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1064
1128
|
cipherList?: string | undefined;
|
|
1065
1129
|
} | undefined;
|
|
1066
1130
|
};
|
|
1067
1131
|
} | {
|
|
1068
|
-
external:
|
|
1132
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1069
1133
|
} | {
|
|
1070
1134
|
disk: {
|
|
1071
1135
|
path: string;
|
|
1072
1136
|
writable?: boolean | undefined;
|
|
1073
1137
|
};
|
|
1074
|
-
} | ((request:
|
|
1138
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1075
1139
|
wrappedBindings?: Record<string, string | {
|
|
1076
1140
|
scriptName: string;
|
|
1077
1141
|
entrypoint?: string | undefined;
|
|
@@ -1092,18 +1156,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1092
1156
|
requireClientCerts?: boolean | undefined;
|
|
1093
1157
|
trustBrowserCas?: boolean | undefined;
|
|
1094
1158
|
trustedCertificates?: string[] | undefined;
|
|
1095
|
-
minVersion?:
|
|
1159
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1096
1160
|
cipherList?: string | undefined;
|
|
1097
1161
|
} | undefined;
|
|
1098
1162
|
};
|
|
1099
1163
|
} | {
|
|
1100
|
-
external:
|
|
1164
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1101
1165
|
} | {
|
|
1102
1166
|
disk: {
|
|
1103
1167
|
path: string;
|
|
1104
1168
|
writable?: boolean | undefined;
|
|
1105
1169
|
};
|
|
1106
|
-
} | ((request:
|
|
1170
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1107
1171
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1108
1172
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1109
1173
|
unsafeDirectSockets?: {
|
|
@@ -1119,7 +1183,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1119
1183
|
modules: {
|
|
1120
1184
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1121
1185
|
path: string;
|
|
1122
|
-
contents?: string | Uint8Array | undefined;
|
|
1186
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1123
1187
|
}[];
|
|
1124
1188
|
modulesRoot?: string | undefined;
|
|
1125
1189
|
} | {
|
|
@@ -1148,9 +1212,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1148
1212
|
compatibilityFlags?: string[] | undefined;
|
|
1149
1213
|
routes?: string[] | undefined;
|
|
1150
1214
|
bindings?: Record<string, Json> | undefined;
|
|
1151
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
1215
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1152
1216
|
textBlobBindings?: Record<string, string> | undefined;
|
|
1153
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
1217
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
1154
1218
|
serviceBindings?: Record<string, string | typeof kCurrentWorker | {
|
|
1155
1219
|
name: string | typeof kCurrentWorker;
|
|
1156
1220
|
entrypoint?: string | undefined;
|
|
@@ -1166,18 +1230,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1166
1230
|
requireClientCerts?: boolean | undefined;
|
|
1167
1231
|
trustBrowserCas?: boolean | undefined;
|
|
1168
1232
|
trustedCertificates?: string[] | undefined;
|
|
1169
|
-
minVersion?:
|
|
1233
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1170
1234
|
cipherList?: string | undefined;
|
|
1171
1235
|
} | undefined;
|
|
1172
1236
|
};
|
|
1173
1237
|
} | {
|
|
1174
|
-
external:
|
|
1238
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1175
1239
|
} | {
|
|
1176
1240
|
disk: {
|
|
1177
1241
|
path: string;
|
|
1178
1242
|
writable?: boolean | undefined;
|
|
1179
1243
|
};
|
|
1180
|
-
} | ((request:
|
|
1244
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
|
|
1181
1245
|
wrappedBindings?: Record<string, string | {
|
|
1182
1246
|
scriptName: string;
|
|
1183
1247
|
entrypoint?: string | undefined;
|
|
@@ -1198,18 +1262,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
|
|
|
1198
1262
|
requireClientCerts?: boolean | undefined;
|
|
1199
1263
|
trustBrowserCas?: boolean | undefined;
|
|
1200
1264
|
trustedCertificates?: string[] | undefined;
|
|
1201
|
-
minVersion?:
|
|
1265
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1202
1266
|
cipherList?: string | undefined;
|
|
1203
1267
|
} | undefined;
|
|
1204
1268
|
};
|
|
1205
1269
|
} | {
|
|
1206
|
-
external:
|
|
1270
|
+
external: ExternalServer_2 & (ExternalServer_2 | undefined);
|
|
1207
1271
|
} | {
|
|
1208
1272
|
disk: {
|
|
1209
1273
|
path: string;
|
|
1210
1274
|
writable?: boolean | undefined;
|
|
1211
1275
|
};
|
|
1212
|
-
} | ((request:
|
|
1276
|
+
} | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1213
1277
|
fetchMock?: MockAgent<MockAgent.Options> | undefined;
|
|
1214
1278
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
1215
1279
|
unsafeDirectSockets?: {
|
|
@@ -1240,7 +1304,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1240
1304
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
1241
1305
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1306
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
1307
|
+
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
1308
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
1245
1309
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1310
|
rootPath?: undefined;
|
|
@@ -1259,7 +1323,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1259
1323
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1260
1324
|
liveReload?: boolean | undefined;
|
|
1261
1325
|
unsafeProxySharedSecret?: string | undefined;
|
|
1262
|
-
unsafeModuleFallbackService?: ((request:
|
|
1326
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1263
1327
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1264
1328
|
}, {
|
|
1265
1329
|
rootPath?: string | undefined;
|
|
@@ -1278,7 +1342,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
|
|
|
1278
1342
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
1279
1343
|
liveReload?: boolean | undefined;
|
|
1280
1344
|
unsafeProxySharedSecret?: string | undefined;
|
|
1281
|
-
unsafeModuleFallbackService?: ((request:
|
|
1345
|
+
unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
|
|
1282
1346
|
unsafeStickyBlobs?: boolean | undefined;
|
|
1283
1347
|
}>;
|
|
1284
1348
|
|
|
@@ -1431,8 +1495,6 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
|
|
|
1431
1495
|
|
|
1432
1496
|
export declare function encodeSitesKey(key: string): string;
|
|
1433
1497
|
|
|
1434
|
-
export declare const ENTRY_SOCKET_HTTP_OPTIONS: HttpOptions;
|
|
1435
|
-
|
|
1436
1498
|
export declare class ErrorEvent extends Event {
|
|
1437
1499
|
readonly error: Error | null;
|
|
1438
1500
|
constructor(type: "error", init?: {
|
|
@@ -1564,10 +1626,12 @@ export declare interface HttpOptions_Header {
|
|
|
1564
1626
|
value?: string;
|
|
1565
1627
|
}
|
|
1566
1628
|
|
|
1567
|
-
export declare
|
|
1568
|
-
HOST
|
|
1569
|
-
PROXY
|
|
1570
|
-
}
|
|
1629
|
+
export declare const HttpOptions_Style: {
|
|
1630
|
+
readonly HOST: 0;
|
|
1631
|
+
readonly PROXY: 1;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
export declare type HttpOptions_Style = (typeof HttpOptions_Style)[keyof typeof HttpOptions_Style];
|
|
1571
1635
|
|
|
1572
1636
|
export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
|
|
1573
1637
|
|
|
@@ -1751,9 +1815,9 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
|
|
|
1751
1815
|
export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
|
|
1752
1816
|
|
|
1753
1817
|
declare class MessageEvent_2 extends Event {
|
|
1754
|
-
readonly data: ArrayBuffer |
|
|
1818
|
+
readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1755
1819
|
constructor(type: "message", init: {
|
|
1756
|
-
data: ArrayBuffer |
|
|
1820
|
+
data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
|
|
1757
1821
|
});
|
|
1758
1822
|
}
|
|
1759
1823
|
export { MessageEvent_2 as MessageEvent }
|
|
@@ -1803,15 +1867,15 @@ export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
|
|
|
1803
1867
|
export declare const ModuleDefinitionSchema: z.ZodObject<{
|
|
1804
1868
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
1805
1869
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1806
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
1870
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
1807
1871
|
}, "strip", z.ZodTypeAny, {
|
|
1808
1872
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1809
1873
|
path: string;
|
|
1810
|
-
contents?: string | Uint8Array | undefined;
|
|
1874
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1811
1875
|
}, {
|
|
1812
1876
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
1813
1877
|
path: string;
|
|
1814
|
-
contents?: string | Uint8Array | undefined;
|
|
1878
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
1815
1879
|
}>;
|
|
1816
1880
|
|
|
1817
1881
|
export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
|
|
@@ -1988,8 +2052,8 @@ export declare interface PlatformImpl<RS> {
|
|
|
1988
2052
|
Blob: typeof Blob_2;
|
|
1989
2053
|
File: typeof File_2;
|
|
1990
2054
|
Headers: typeof Headers_3;
|
|
1991
|
-
Request: typeof
|
|
1992
|
-
Response: typeof
|
|
2055
|
+
Request: typeof Request_5;
|
|
2056
|
+
Response: typeof Response_5;
|
|
1993
2057
|
isReadableStream(value: unknown): value is RS;
|
|
1994
2058
|
bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
|
|
1995
2059
|
unbufferReadableStream(buffer: ArrayBuffer): RS;
|
|
@@ -2012,33 +2076,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
|
|
|
2012
2076
|
}
|
|
2013
2077
|
|
|
2014
2078
|
export declare const PLUGINS: {
|
|
2015
|
-
core:
|
|
2079
|
+
core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2016
2080
|
modules: z.ZodArray<z.ZodObject<{
|
|
2017
2081
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
2018
2082
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
2019
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
2083
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
2020
2084
|
}, "strip", z.ZodTypeAny, {
|
|
2021
2085
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2022
2086
|
path: string;
|
|
2023
|
-
contents?: string | Uint8Array | undefined;
|
|
2087
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2024
2088
|
}, {
|
|
2025
2089
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2026
2090
|
path: string;
|
|
2027
|
-
contents?: string | Uint8Array | undefined;
|
|
2091
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2028
2092
|
}>, "many">;
|
|
2029
2093
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2030
2094
|
}, "strip", z.ZodTypeAny, {
|
|
2031
2095
|
modules: {
|
|
2032
2096
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2033
2097
|
path: string;
|
|
2034
|
-
contents?: string | Uint8Array | undefined;
|
|
2098
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2035
2099
|
}[];
|
|
2036
2100
|
modulesRoot?: string | undefined;
|
|
2037
2101
|
}, {
|
|
2038
2102
|
modules: {
|
|
2039
2103
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2040
2104
|
path: string;
|
|
2041
|
-
contents?: string | Uint8Array | undefined;
|
|
2105
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2042
2106
|
}[];
|
|
2043
2107
|
modulesRoot?: string | undefined;
|
|
2044
2108
|
}>, z.ZodObject<{
|
|
@@ -2120,18 +2184,18 @@ export declare const PLUGINS: {
|
|
|
2120
2184
|
compatibilityDate: z.ZodOptional<z.ZodString>;
|
|
2121
2185
|
compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2122
2186
|
routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2123
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
2124
|
-
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
2187
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2188
|
+
wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2125
2189
|
textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
2126
|
-
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array
|
|
2127
|
-
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2128
|
-
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2190
|
+
dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
|
|
2191
|
+
serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2192
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2129
2193
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2130
2194
|
}, "strip", z.ZodTypeAny, {
|
|
2131
|
-
name: string |
|
|
2195
|
+
name: string | kCurrentWorker_2;
|
|
2132
2196
|
entrypoint?: string | undefined;
|
|
2133
2197
|
}, {
|
|
2134
|
-
name: string |
|
|
2198
|
+
name: string | kCurrentWorker_2;
|
|
2135
2199
|
entrypoint?: string | undefined;
|
|
2136
2200
|
}>, z.ZodObject<{
|
|
2137
2201
|
network: z.ZodObject<{
|
|
@@ -2151,7 +2215,14 @@ export declare const PLUGINS: {
|
|
|
2151
2215
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2152
2216
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2153
2217
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2154
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
2218
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
2219
|
+
readonly GOOD_DEFAULT: 0;
|
|
2220
|
+
readonly SSL3: 1;
|
|
2221
|
+
readonly TLS1DOT0: 2;
|
|
2222
|
+
readonly TLS1DOT1: 3;
|
|
2223
|
+
readonly TLS1DOT2: 4;
|
|
2224
|
+
readonly TLS1DOT3: 5;
|
|
2225
|
+
}>>;
|
|
2155
2226
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2156
2227
|
}, "strip", z.ZodTypeAny, {
|
|
2157
2228
|
keypair?: {
|
|
@@ -2161,7 +2232,7 @@ export declare const PLUGINS: {
|
|
|
2161
2232
|
requireClientCerts?: boolean | undefined;
|
|
2162
2233
|
trustBrowserCas?: boolean | undefined;
|
|
2163
2234
|
trustedCertificates?: string[] | undefined;
|
|
2164
|
-
minVersion?:
|
|
2235
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2165
2236
|
cipherList?: string | undefined;
|
|
2166
2237
|
}, {
|
|
2167
2238
|
keypair?: {
|
|
@@ -2171,7 +2242,7 @@ export declare const PLUGINS: {
|
|
|
2171
2242
|
requireClientCerts?: boolean | undefined;
|
|
2172
2243
|
trustBrowserCas?: boolean | undefined;
|
|
2173
2244
|
trustedCertificates?: string[] | undefined;
|
|
2174
|
-
minVersion?:
|
|
2245
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2175
2246
|
cipherList?: string | undefined;
|
|
2176
2247
|
}>>;
|
|
2177
2248
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2185,7 +2256,7 @@ export declare const PLUGINS: {
|
|
|
2185
2256
|
requireClientCerts?: boolean | undefined;
|
|
2186
2257
|
trustBrowserCas?: boolean | undefined;
|
|
2187
2258
|
trustedCertificates?: string[] | undefined;
|
|
2188
|
-
minVersion?:
|
|
2259
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2189
2260
|
cipherList?: string | undefined;
|
|
2190
2261
|
} | undefined;
|
|
2191
2262
|
}, {
|
|
@@ -2199,7 +2270,7 @@ export declare const PLUGINS: {
|
|
|
2199
2270
|
requireClientCerts?: boolean | undefined;
|
|
2200
2271
|
trustBrowserCas?: boolean | undefined;
|
|
2201
2272
|
trustedCertificates?: string[] | undefined;
|
|
2202
|
-
minVersion?:
|
|
2273
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2203
2274
|
cipherList?: string | undefined;
|
|
2204
2275
|
} | undefined;
|
|
2205
2276
|
}>;
|
|
@@ -2215,7 +2286,7 @@ export declare const PLUGINS: {
|
|
|
2215
2286
|
requireClientCerts?: boolean | undefined;
|
|
2216
2287
|
trustBrowserCas?: boolean | undefined;
|
|
2217
2288
|
trustedCertificates?: string[] | undefined;
|
|
2218
|
-
minVersion?:
|
|
2289
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2219
2290
|
cipherList?: string | undefined;
|
|
2220
2291
|
} | undefined;
|
|
2221
2292
|
};
|
|
@@ -2231,16 +2302,16 @@ export declare const PLUGINS: {
|
|
|
2231
2302
|
requireClientCerts?: boolean | undefined;
|
|
2232
2303
|
trustBrowserCas?: boolean | undefined;
|
|
2233
2304
|
trustedCertificates?: string[] | undefined;
|
|
2234
|
-
minVersion?:
|
|
2305
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2235
2306
|
cipherList?: string | undefined;
|
|
2236
2307
|
} | undefined;
|
|
2237
2308
|
};
|
|
2238
2309
|
}>, z.ZodObject<{
|
|
2239
|
-
external: z.ZodType<
|
|
2310
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2240
2311
|
}, "strip", z.ZodTypeAny, {
|
|
2241
|
-
external:
|
|
2312
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2242
2313
|
}, {
|
|
2243
|
-
external:
|
|
2314
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2244
2315
|
}>, z.ZodObject<{
|
|
2245
2316
|
disk: z.ZodObject<{
|
|
2246
2317
|
path: z.ZodString;
|
|
@@ -2262,28 +2333,28 @@ export declare const PLUGINS: {
|
|
|
2262
2333
|
path: string;
|
|
2263
2334
|
writable?: boolean | undefined;
|
|
2264
2335
|
};
|
|
2265
|
-
}>, z.ZodType<(request:
|
|
2336
|
+
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>>;
|
|
2266
2337
|
wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2267
2338
|
scriptName: z.ZodString;
|
|
2268
2339
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2269
|
-
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<
|
|
2340
|
+
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
|
|
2270
2341
|
}, "strip", z.ZodTypeAny, {
|
|
2271
2342
|
scriptName: string;
|
|
2272
2343
|
entrypoint?: string | undefined;
|
|
2273
|
-
bindings?: Record<string,
|
|
2344
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2274
2345
|
}, {
|
|
2275
2346
|
scriptName: string;
|
|
2276
2347
|
entrypoint?: string | undefined;
|
|
2277
|
-
bindings?: Record<string,
|
|
2348
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2278
2349
|
}>]>>>;
|
|
2279
|
-
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2280
|
-
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
2350
|
+
outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
|
|
2351
|
+
name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
|
|
2281
2352
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
2282
2353
|
}, "strip", z.ZodTypeAny, {
|
|
2283
|
-
name: string |
|
|
2354
|
+
name: string | kCurrentWorker_2;
|
|
2284
2355
|
entrypoint?: string | undefined;
|
|
2285
2356
|
}, {
|
|
2286
|
-
name: string |
|
|
2357
|
+
name: string | kCurrentWorker_2;
|
|
2287
2358
|
entrypoint?: string | undefined;
|
|
2288
2359
|
}>, z.ZodObject<{
|
|
2289
2360
|
network: z.ZodObject<{
|
|
@@ -2303,7 +2374,14 @@ export declare const PLUGINS: {
|
|
|
2303
2374
|
requireClientCerts: z.ZodOptional<z.ZodBoolean>;
|
|
2304
2375
|
trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
|
|
2305
2376
|
trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2306
|
-
minVersion: z.ZodOptional<z.ZodNativeEnum<
|
|
2377
|
+
minVersion: z.ZodOptional<z.ZodNativeEnum<{
|
|
2378
|
+
readonly GOOD_DEFAULT: 0;
|
|
2379
|
+
readonly SSL3: 1;
|
|
2380
|
+
readonly TLS1DOT0: 2;
|
|
2381
|
+
readonly TLS1DOT1: 3;
|
|
2382
|
+
readonly TLS1DOT2: 4;
|
|
2383
|
+
readonly TLS1DOT3: 5;
|
|
2384
|
+
}>>;
|
|
2307
2385
|
cipherList: z.ZodOptional<z.ZodString>;
|
|
2308
2386
|
}, "strip", z.ZodTypeAny, {
|
|
2309
2387
|
keypair?: {
|
|
@@ -2313,7 +2391,7 @@ export declare const PLUGINS: {
|
|
|
2313
2391
|
requireClientCerts?: boolean | undefined;
|
|
2314
2392
|
trustBrowserCas?: boolean | undefined;
|
|
2315
2393
|
trustedCertificates?: string[] | undefined;
|
|
2316
|
-
minVersion?:
|
|
2394
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2317
2395
|
cipherList?: string | undefined;
|
|
2318
2396
|
}, {
|
|
2319
2397
|
keypair?: {
|
|
@@ -2323,7 +2401,7 @@ export declare const PLUGINS: {
|
|
|
2323
2401
|
requireClientCerts?: boolean | undefined;
|
|
2324
2402
|
trustBrowserCas?: boolean | undefined;
|
|
2325
2403
|
trustedCertificates?: string[] | undefined;
|
|
2326
|
-
minVersion?:
|
|
2404
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2327
2405
|
cipherList?: string | undefined;
|
|
2328
2406
|
}>>;
|
|
2329
2407
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2337,7 +2415,7 @@ export declare const PLUGINS: {
|
|
|
2337
2415
|
requireClientCerts?: boolean | undefined;
|
|
2338
2416
|
trustBrowserCas?: boolean | undefined;
|
|
2339
2417
|
trustedCertificates?: string[] | undefined;
|
|
2340
|
-
minVersion?:
|
|
2418
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2341
2419
|
cipherList?: string | undefined;
|
|
2342
2420
|
} | undefined;
|
|
2343
2421
|
}, {
|
|
@@ -2351,7 +2429,7 @@ export declare const PLUGINS: {
|
|
|
2351
2429
|
requireClientCerts?: boolean | undefined;
|
|
2352
2430
|
trustBrowserCas?: boolean | undefined;
|
|
2353
2431
|
trustedCertificates?: string[] | undefined;
|
|
2354
|
-
minVersion?:
|
|
2432
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2355
2433
|
cipherList?: string | undefined;
|
|
2356
2434
|
} | undefined;
|
|
2357
2435
|
}>;
|
|
@@ -2367,7 +2445,7 @@ export declare const PLUGINS: {
|
|
|
2367
2445
|
requireClientCerts?: boolean | undefined;
|
|
2368
2446
|
trustBrowserCas?: boolean | undefined;
|
|
2369
2447
|
trustedCertificates?: string[] | undefined;
|
|
2370
|
-
minVersion?:
|
|
2448
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2371
2449
|
cipherList?: string | undefined;
|
|
2372
2450
|
} | undefined;
|
|
2373
2451
|
};
|
|
@@ -2383,16 +2461,16 @@ export declare const PLUGINS: {
|
|
|
2383
2461
|
requireClientCerts?: boolean | undefined;
|
|
2384
2462
|
trustBrowserCas?: boolean | undefined;
|
|
2385
2463
|
trustedCertificates?: string[] | undefined;
|
|
2386
|
-
minVersion?:
|
|
2464
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2387
2465
|
cipherList?: string | undefined;
|
|
2388
2466
|
} | undefined;
|
|
2389
2467
|
};
|
|
2390
2468
|
}>, z.ZodObject<{
|
|
2391
|
-
external: z.ZodType<
|
|
2469
|
+
external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
|
|
2392
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2393
|
-
external:
|
|
2471
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2394
2472
|
}, {
|
|
2395
|
-
external:
|
|
2473
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2396
2474
|
}>, z.ZodObject<{
|
|
2397
2475
|
disk: z.ZodObject<{
|
|
2398
2476
|
path: z.ZodString;
|
|
@@ -2414,7 +2492,7 @@ export declare const PLUGINS: {
|
|
|
2414
2492
|
path: string;
|
|
2415
2493
|
writable?: boolean | undefined;
|
|
2416
2494
|
};
|
|
2417
|
-
}>, z.ZodType<(request:
|
|
2495
|
+
}>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
|
|
2418
2496
|
fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
|
|
2419
2497
|
unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
|
|
2420
2498
|
unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2442,12 +2520,12 @@ export declare const PLUGINS: {
|
|
|
2442
2520
|
compatibilityDate?: string | undefined;
|
|
2443
2521
|
compatibilityFlags?: string[] | undefined;
|
|
2444
2522
|
routes?: string[] | undefined;
|
|
2445
|
-
bindings?: Record<string,
|
|
2446
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2523
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2524
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2447
2525
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2448
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2449
|
-
serviceBindings?: Record<string, string |
|
|
2450
|
-
name: string |
|
|
2526
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2527
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2528
|
+
name: string | kCurrentWorker_2;
|
|
2451
2529
|
entrypoint?: string | undefined;
|
|
2452
2530
|
} | {
|
|
2453
2531
|
network: {
|
|
@@ -2461,25 +2539,25 @@ export declare const PLUGINS: {
|
|
|
2461
2539
|
requireClientCerts?: boolean | undefined;
|
|
2462
2540
|
trustBrowserCas?: boolean | undefined;
|
|
2463
2541
|
trustedCertificates?: string[] | undefined;
|
|
2464
|
-
minVersion?:
|
|
2542
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2465
2543
|
cipherList?: string | undefined;
|
|
2466
2544
|
} | undefined;
|
|
2467
2545
|
};
|
|
2468
2546
|
} | {
|
|
2469
|
-
external:
|
|
2547
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2470
2548
|
} | {
|
|
2471
2549
|
disk: {
|
|
2472
2550
|
path: string;
|
|
2473
2551
|
writable?: boolean | undefined;
|
|
2474
2552
|
};
|
|
2475
|
-
} | ((request:
|
|
2553
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2476
2554
|
wrappedBindings?: Record<string, string | {
|
|
2477
2555
|
scriptName: string;
|
|
2478
2556
|
entrypoint?: string | undefined;
|
|
2479
|
-
bindings?: Record<string,
|
|
2557
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2480
2558
|
}> | undefined;
|
|
2481
|
-
outboundService?: string |
|
|
2482
|
-
name: string |
|
|
2559
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2560
|
+
name: string | kCurrentWorker_2;
|
|
2483
2561
|
entrypoint?: string | undefined;
|
|
2484
2562
|
} | {
|
|
2485
2563
|
network: {
|
|
@@ -2493,18 +2571,18 @@ export declare const PLUGINS: {
|
|
|
2493
2571
|
requireClientCerts?: boolean | undefined;
|
|
2494
2572
|
trustBrowserCas?: boolean | undefined;
|
|
2495
2573
|
trustedCertificates?: string[] | undefined;
|
|
2496
|
-
minVersion?:
|
|
2574
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2497
2575
|
cipherList?: string | undefined;
|
|
2498
2576
|
} | undefined;
|
|
2499
2577
|
};
|
|
2500
2578
|
} | {
|
|
2501
|
-
external:
|
|
2579
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2502
2580
|
} | {
|
|
2503
2581
|
disk: {
|
|
2504
2582
|
path: string;
|
|
2505
2583
|
writable?: boolean | undefined;
|
|
2506
2584
|
};
|
|
2507
|
-
} | ((request:
|
|
2585
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2508
2586
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2509
2587
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2510
2588
|
unsafeDirectSockets?: {
|
|
@@ -2522,12 +2600,12 @@ export declare const PLUGINS: {
|
|
|
2522
2600
|
compatibilityDate?: string | undefined;
|
|
2523
2601
|
compatibilityFlags?: string[] | undefined;
|
|
2524
2602
|
routes?: string[] | undefined;
|
|
2525
|
-
bindings?: Record<string,
|
|
2526
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2603
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2604
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2527
2605
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2528
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2529
|
-
serviceBindings?: Record<string, string |
|
|
2530
|
-
name: string |
|
|
2606
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2607
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2608
|
+
name: string | kCurrentWorker_2;
|
|
2531
2609
|
entrypoint?: string | undefined;
|
|
2532
2610
|
} | {
|
|
2533
2611
|
network: {
|
|
@@ -2541,25 +2619,25 @@ export declare const PLUGINS: {
|
|
|
2541
2619
|
requireClientCerts?: boolean | undefined;
|
|
2542
2620
|
trustBrowserCas?: boolean | undefined;
|
|
2543
2621
|
trustedCertificates?: string[] | undefined;
|
|
2544
|
-
minVersion?:
|
|
2622
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2545
2623
|
cipherList?: string | undefined;
|
|
2546
2624
|
} | undefined;
|
|
2547
2625
|
};
|
|
2548
2626
|
} | {
|
|
2549
|
-
external:
|
|
2627
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2550
2628
|
} | {
|
|
2551
2629
|
disk: {
|
|
2552
2630
|
path: string;
|
|
2553
2631
|
writable?: boolean | undefined;
|
|
2554
2632
|
};
|
|
2555
|
-
} | ((request:
|
|
2633
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2556
2634
|
wrappedBindings?: Record<string, string | {
|
|
2557
2635
|
scriptName: string;
|
|
2558
2636
|
entrypoint?: string | undefined;
|
|
2559
|
-
bindings?: Record<string,
|
|
2637
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2560
2638
|
}> | undefined;
|
|
2561
|
-
outboundService?: string |
|
|
2562
|
-
name: string |
|
|
2639
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2640
|
+
name: string | kCurrentWorker_2;
|
|
2563
2641
|
entrypoint?: string | undefined;
|
|
2564
2642
|
} | {
|
|
2565
2643
|
network: {
|
|
@@ -2573,18 +2651,18 @@ export declare const PLUGINS: {
|
|
|
2573
2651
|
requireClientCerts?: boolean | undefined;
|
|
2574
2652
|
trustBrowserCas?: boolean | undefined;
|
|
2575
2653
|
trustedCertificates?: string[] | undefined;
|
|
2576
|
-
minVersion?:
|
|
2654
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2577
2655
|
cipherList?: string | undefined;
|
|
2578
2656
|
} | undefined;
|
|
2579
2657
|
};
|
|
2580
2658
|
} | {
|
|
2581
|
-
external:
|
|
2659
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2582
2660
|
} | {
|
|
2583
2661
|
disk: {
|
|
2584
2662
|
path: string;
|
|
2585
2663
|
writable?: boolean | undefined;
|
|
2586
2664
|
};
|
|
2587
|
-
} | ((request:
|
|
2665
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2588
2666
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2589
2667
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2590
2668
|
unsafeDirectSockets?: {
|
|
@@ -2600,7 +2678,7 @@ export declare const PLUGINS: {
|
|
|
2600
2678
|
modules: {
|
|
2601
2679
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2602
2680
|
path: string;
|
|
2603
|
-
contents?: string | Uint8Array | undefined;
|
|
2681
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2604
2682
|
}[];
|
|
2605
2683
|
modulesRoot?: string | undefined;
|
|
2606
2684
|
} & {
|
|
@@ -2609,12 +2687,12 @@ export declare const PLUGINS: {
|
|
|
2609
2687
|
compatibilityDate?: string | undefined;
|
|
2610
2688
|
compatibilityFlags?: string[] | undefined;
|
|
2611
2689
|
routes?: string[] | undefined;
|
|
2612
|
-
bindings?: Record<string,
|
|
2613
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2690
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2691
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2614
2692
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2615
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2616
|
-
serviceBindings?: Record<string, string |
|
|
2617
|
-
name: string |
|
|
2693
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2694
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2695
|
+
name: string | kCurrentWorker_2;
|
|
2618
2696
|
entrypoint?: string | undefined;
|
|
2619
2697
|
} | {
|
|
2620
2698
|
network: {
|
|
@@ -2628,25 +2706,25 @@ export declare const PLUGINS: {
|
|
|
2628
2706
|
requireClientCerts?: boolean | undefined;
|
|
2629
2707
|
trustBrowserCas?: boolean | undefined;
|
|
2630
2708
|
trustedCertificates?: string[] | undefined;
|
|
2631
|
-
minVersion?:
|
|
2709
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2632
2710
|
cipherList?: string | undefined;
|
|
2633
2711
|
} | undefined;
|
|
2634
2712
|
};
|
|
2635
2713
|
} | {
|
|
2636
|
-
external:
|
|
2714
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2637
2715
|
} | {
|
|
2638
2716
|
disk: {
|
|
2639
2717
|
path: string;
|
|
2640
2718
|
writable?: boolean | undefined;
|
|
2641
2719
|
};
|
|
2642
|
-
} | ((request:
|
|
2720
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2643
2721
|
wrappedBindings?: Record<string, string | {
|
|
2644
2722
|
scriptName: string;
|
|
2645
2723
|
entrypoint?: string | undefined;
|
|
2646
|
-
bindings?: Record<string,
|
|
2724
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2647
2725
|
}> | undefined;
|
|
2648
|
-
outboundService?: string |
|
|
2649
|
-
name: string |
|
|
2726
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2727
|
+
name: string | kCurrentWorker_2;
|
|
2650
2728
|
entrypoint?: string | undefined;
|
|
2651
2729
|
} | {
|
|
2652
2730
|
network: {
|
|
@@ -2660,18 +2738,18 @@ export declare const PLUGINS: {
|
|
|
2660
2738
|
requireClientCerts?: boolean | undefined;
|
|
2661
2739
|
trustBrowserCas?: boolean | undefined;
|
|
2662
2740
|
trustedCertificates?: string[] | undefined;
|
|
2663
|
-
minVersion?:
|
|
2741
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2664
2742
|
cipherList?: string | undefined;
|
|
2665
2743
|
} | undefined;
|
|
2666
2744
|
};
|
|
2667
2745
|
} | {
|
|
2668
|
-
external:
|
|
2746
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2669
2747
|
} | {
|
|
2670
2748
|
disk: {
|
|
2671
2749
|
path: string;
|
|
2672
2750
|
writable?: boolean | undefined;
|
|
2673
2751
|
};
|
|
2674
|
-
} | ((request:
|
|
2752
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2675
2753
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2676
2754
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2677
2755
|
unsafeDirectSockets?: {
|
|
@@ -2699,12 +2777,12 @@ export declare const PLUGINS: {
|
|
|
2699
2777
|
compatibilityDate?: string | undefined;
|
|
2700
2778
|
compatibilityFlags?: string[] | undefined;
|
|
2701
2779
|
routes?: string[] | undefined;
|
|
2702
|
-
bindings?: Record<string,
|
|
2703
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2780
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2781
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2704
2782
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2705
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2706
|
-
serviceBindings?: Record<string, string |
|
|
2707
|
-
name: string |
|
|
2783
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2784
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2785
|
+
name: string | kCurrentWorker_2;
|
|
2708
2786
|
entrypoint?: string | undefined;
|
|
2709
2787
|
} | {
|
|
2710
2788
|
network: {
|
|
@@ -2718,25 +2796,25 @@ export declare const PLUGINS: {
|
|
|
2718
2796
|
requireClientCerts?: boolean | undefined;
|
|
2719
2797
|
trustBrowserCas?: boolean | undefined;
|
|
2720
2798
|
trustedCertificates?: string[] | undefined;
|
|
2721
|
-
minVersion?:
|
|
2799
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2722
2800
|
cipherList?: string | undefined;
|
|
2723
2801
|
} | undefined;
|
|
2724
2802
|
};
|
|
2725
2803
|
} | {
|
|
2726
|
-
external:
|
|
2804
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2727
2805
|
} | {
|
|
2728
2806
|
disk: {
|
|
2729
2807
|
path: string;
|
|
2730
2808
|
writable?: boolean | undefined;
|
|
2731
2809
|
};
|
|
2732
|
-
} | ((request:
|
|
2810
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2733
2811
|
wrappedBindings?: Record<string, string | {
|
|
2734
2812
|
scriptName: string;
|
|
2735
2813
|
entrypoint?: string | undefined;
|
|
2736
|
-
bindings?: Record<string,
|
|
2814
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2737
2815
|
}> | undefined;
|
|
2738
|
-
outboundService?: string |
|
|
2739
|
-
name: string |
|
|
2816
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2817
|
+
name: string | kCurrentWorker_2;
|
|
2740
2818
|
entrypoint?: string | undefined;
|
|
2741
2819
|
} | {
|
|
2742
2820
|
network: {
|
|
@@ -2750,18 +2828,18 @@ export declare const PLUGINS: {
|
|
|
2750
2828
|
requireClientCerts?: boolean | undefined;
|
|
2751
2829
|
trustBrowserCas?: boolean | undefined;
|
|
2752
2830
|
trustedCertificates?: string[] | undefined;
|
|
2753
|
-
minVersion?:
|
|
2831
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2754
2832
|
cipherList?: string | undefined;
|
|
2755
2833
|
} | undefined;
|
|
2756
2834
|
};
|
|
2757
2835
|
} | {
|
|
2758
|
-
external:
|
|
2836
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2759
2837
|
} | {
|
|
2760
2838
|
disk: {
|
|
2761
2839
|
path: string;
|
|
2762
2840
|
writable?: boolean | undefined;
|
|
2763
2841
|
};
|
|
2764
|
-
} | ((request:
|
|
2842
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2765
2843
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2766
2844
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2767
2845
|
unsafeDirectSockets?: {
|
|
@@ -2788,12 +2866,12 @@ export declare const PLUGINS: {
|
|
|
2788
2866
|
compatibilityDate?: string | undefined;
|
|
2789
2867
|
compatibilityFlags?: string[] | undefined;
|
|
2790
2868
|
routes?: string[] | undefined;
|
|
2791
|
-
bindings?: Record<string,
|
|
2792
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2869
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2870
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2793
2871
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2794
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2795
|
-
serviceBindings?: Record<string, string |
|
|
2796
|
-
name: string |
|
|
2872
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2873
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2874
|
+
name: string | kCurrentWorker_2;
|
|
2797
2875
|
entrypoint?: string | undefined;
|
|
2798
2876
|
} | {
|
|
2799
2877
|
network: {
|
|
@@ -2807,25 +2885,25 @@ export declare const PLUGINS: {
|
|
|
2807
2885
|
requireClientCerts?: boolean | undefined;
|
|
2808
2886
|
trustBrowserCas?: boolean | undefined;
|
|
2809
2887
|
trustedCertificates?: string[] | undefined;
|
|
2810
|
-
minVersion?:
|
|
2888
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2811
2889
|
cipherList?: string | undefined;
|
|
2812
2890
|
} | undefined;
|
|
2813
2891
|
};
|
|
2814
2892
|
} | {
|
|
2815
|
-
external:
|
|
2893
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2816
2894
|
} | {
|
|
2817
2895
|
disk: {
|
|
2818
2896
|
path: string;
|
|
2819
2897
|
writable?: boolean | undefined;
|
|
2820
2898
|
};
|
|
2821
|
-
} | ((request:
|
|
2899
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2822
2900
|
wrappedBindings?: Record<string, string | {
|
|
2823
2901
|
scriptName: string;
|
|
2824
2902
|
entrypoint?: string | undefined;
|
|
2825
|
-
bindings?: Record<string,
|
|
2903
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2826
2904
|
}> | undefined;
|
|
2827
|
-
outboundService?: string |
|
|
2828
|
-
name: string |
|
|
2905
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
2906
|
+
name: string | kCurrentWorker_2;
|
|
2829
2907
|
entrypoint?: string | undefined;
|
|
2830
2908
|
} | {
|
|
2831
2909
|
network: {
|
|
@@ -2839,18 +2917,18 @@ export declare const PLUGINS: {
|
|
|
2839
2917
|
requireClientCerts?: boolean | undefined;
|
|
2840
2918
|
trustBrowserCas?: boolean | undefined;
|
|
2841
2919
|
trustedCertificates?: string[] | undefined;
|
|
2842
|
-
minVersion?:
|
|
2920
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2843
2921
|
cipherList?: string | undefined;
|
|
2844
2922
|
} | undefined;
|
|
2845
2923
|
};
|
|
2846
2924
|
} | {
|
|
2847
|
-
external:
|
|
2925
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2848
2926
|
} | {
|
|
2849
2927
|
disk: {
|
|
2850
2928
|
path: string;
|
|
2851
2929
|
writable?: boolean | undefined;
|
|
2852
2930
|
};
|
|
2853
|
-
} | ((request:
|
|
2931
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2854
2932
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2855
2933
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2856
2934
|
unsafeDirectSockets?: {
|
|
@@ -2866,7 +2944,7 @@ export declare const PLUGINS: {
|
|
|
2866
2944
|
modules: {
|
|
2867
2945
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
2868
2946
|
path: string;
|
|
2869
|
-
contents?: string | Uint8Array | undefined;
|
|
2947
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
2870
2948
|
}[];
|
|
2871
2949
|
modulesRoot?: string | undefined;
|
|
2872
2950
|
} | {
|
|
@@ -2894,12 +2972,12 @@ export declare const PLUGINS: {
|
|
|
2894
2972
|
compatibilityDate?: string | undefined;
|
|
2895
2973
|
compatibilityFlags?: string[] | undefined;
|
|
2896
2974
|
routes?: string[] | undefined;
|
|
2897
|
-
bindings?: Record<string,
|
|
2898
|
-
wasmBindings?: Record<string, string | Uint8Array
|
|
2975
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2976
|
+
wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2899
2977
|
textBlobBindings?: Record<string, string> | undefined;
|
|
2900
|
-
dataBlobBindings?: Record<string, string | Uint8Array
|
|
2901
|
-
serviceBindings?: Record<string, string |
|
|
2902
|
-
name: string |
|
|
2978
|
+
dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
|
|
2979
|
+
serviceBindings?: Record<string, string | kCurrentWorker_2 | {
|
|
2980
|
+
name: string | kCurrentWorker_2;
|
|
2903
2981
|
entrypoint?: string | undefined;
|
|
2904
2982
|
} | {
|
|
2905
2983
|
network: {
|
|
@@ -2913,25 +2991,25 @@ export declare const PLUGINS: {
|
|
|
2913
2991
|
requireClientCerts?: boolean | undefined;
|
|
2914
2992
|
trustBrowserCas?: boolean | undefined;
|
|
2915
2993
|
trustedCertificates?: string[] | undefined;
|
|
2916
|
-
minVersion?:
|
|
2994
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2917
2995
|
cipherList?: string | undefined;
|
|
2918
2996
|
} | undefined;
|
|
2919
2997
|
};
|
|
2920
2998
|
} | {
|
|
2921
|
-
external:
|
|
2999
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2922
3000
|
} | {
|
|
2923
3001
|
disk: {
|
|
2924
3002
|
path: string;
|
|
2925
3003
|
writable?: boolean | undefined;
|
|
2926
3004
|
};
|
|
2927
|
-
} | ((request:
|
|
3005
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
|
|
2928
3006
|
wrappedBindings?: Record<string, string | {
|
|
2929
3007
|
scriptName: string;
|
|
2930
3008
|
entrypoint?: string | undefined;
|
|
2931
|
-
bindings?: Record<string,
|
|
3009
|
+
bindings?: Record<string, Json_2> | undefined;
|
|
2932
3010
|
}> | undefined;
|
|
2933
|
-
outboundService?: string |
|
|
2934
|
-
name: string |
|
|
3011
|
+
outboundService?: string | kCurrentWorker_2 | {
|
|
3012
|
+
name: string | kCurrentWorker_2;
|
|
2935
3013
|
entrypoint?: string | undefined;
|
|
2936
3014
|
} | {
|
|
2937
3015
|
network: {
|
|
@@ -2945,18 +3023,18 @@ export declare const PLUGINS: {
|
|
|
2945
3023
|
requireClientCerts?: boolean | undefined;
|
|
2946
3024
|
trustBrowserCas?: boolean | undefined;
|
|
2947
3025
|
trustedCertificates?: string[] | undefined;
|
|
2948
|
-
minVersion?:
|
|
3026
|
+
minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
2949
3027
|
cipherList?: string | undefined;
|
|
2950
3028
|
} | undefined;
|
|
2951
3029
|
};
|
|
2952
3030
|
} | {
|
|
2953
|
-
external:
|
|
3031
|
+
external: ExternalServer_3 & (ExternalServer_3 | undefined);
|
|
2954
3032
|
} | {
|
|
2955
3033
|
disk: {
|
|
2956
3034
|
path: string;
|
|
2957
3035
|
writable?: boolean | undefined;
|
|
2958
3036
|
};
|
|
2959
|
-
} | ((request:
|
|
3037
|
+
} | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
2960
3038
|
fetchMock?: MockAgent<MockAgent> | undefined;
|
|
2961
3039
|
unsafeEphemeralDurableObjects?: boolean | undefined;
|
|
2962
3040
|
unsafeDirectSockets?: {
|
|
@@ -2979,13 +3057,13 @@ export declare const PLUGINS: {
|
|
|
2979
3057
|
httpsCertPath: z.ZodOptional<z.ZodString>;
|
|
2980
3058
|
inspectorPort: z.ZodOptional<z.ZodNumber>;
|
|
2981
3059
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
2982
|
-
log: z.ZodOptional<z.ZodType<
|
|
3060
|
+
log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
|
|
2983
3061
|
handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
|
|
2984
3062
|
upstream: z.ZodOptional<z.ZodString>;
|
|
2985
3063
|
cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
2986
3064
|
liveReload: z.ZodOptional<z.ZodBoolean>;
|
|
2987
3065
|
unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
|
|
2988
|
-
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request:
|
|
3066
|
+
unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>>;
|
|
2989
3067
|
unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
|
|
2990
3068
|
}, "strip", z.ZodTypeAny, {
|
|
2991
3069
|
rootPath?: undefined;
|
|
@@ -2998,13 +3076,13 @@ export declare const PLUGINS: {
|
|
|
2998
3076
|
httpsCertPath?: string | undefined;
|
|
2999
3077
|
inspectorPort?: number | undefined;
|
|
3000
3078
|
verbose?: boolean | undefined;
|
|
3001
|
-
log?:
|
|
3079
|
+
log?: Log_2 | undefined;
|
|
3002
3080
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3003
3081
|
upstream?: string | undefined;
|
|
3004
3082
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3005
3083
|
liveReload?: boolean | undefined;
|
|
3006
3084
|
unsafeProxySharedSecret?: string | undefined;
|
|
3007
|
-
unsafeModuleFallbackService?: ((request:
|
|
3085
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3008
3086
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3009
3087
|
}, {
|
|
3010
3088
|
rootPath?: string | undefined;
|
|
@@ -3017,16 +3095,16 @@ export declare const PLUGINS: {
|
|
|
3017
3095
|
httpsCertPath?: string | undefined;
|
|
3018
3096
|
inspectorPort?: number | undefined;
|
|
3019
3097
|
verbose?: boolean | undefined;
|
|
3020
|
-
log?:
|
|
3098
|
+
log?: Log_2 | undefined;
|
|
3021
3099
|
handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
|
|
3022
3100
|
upstream?: string | undefined;
|
|
3023
3101
|
cf?: string | boolean | Record<string, any> | undefined;
|
|
3024
3102
|
liveReload?: boolean | undefined;
|
|
3025
3103
|
unsafeProxySharedSecret?: string | undefined;
|
|
3026
|
-
unsafeModuleFallbackService?: ((request:
|
|
3104
|
+
unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
|
|
3027
3105
|
unsafeStickyBlobs?: boolean | undefined;
|
|
3028
3106
|
}>>;
|
|
3029
|
-
cache:
|
|
3107
|
+
cache: Plugin_2<z.ZodObject<{
|
|
3030
3108
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
3031
3109
|
cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
|
|
3032
3110
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3042,7 +3120,7 @@ export declare const PLUGINS: {
|
|
|
3042
3120
|
}, {
|
|
3043
3121
|
cachePersist?: string | boolean | undefined;
|
|
3044
3122
|
}>>;
|
|
3045
|
-
d1:
|
|
3123
|
+
d1: Plugin_2<z.ZodObject<{
|
|
3046
3124
|
d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3047
3125
|
}, "strip", z.ZodTypeAny, {
|
|
3048
3126
|
d1Databases?: string[] | Record<string, string> | undefined;
|
|
@@ -3055,24 +3133,24 @@ export declare const PLUGINS: {
|
|
|
3055
3133
|
}, {
|
|
3056
3134
|
d1Persist?: string | boolean | undefined;
|
|
3057
3135
|
}>>;
|
|
3058
|
-
do:
|
|
3136
|
+
do: Plugin_2<z.ZodObject<{
|
|
3059
3137
|
durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3060
3138
|
className: z.ZodString;
|
|
3061
3139
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
3062
3140
|
useSQLite: z.ZodOptional<z.ZodBoolean>;
|
|
3063
|
-
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<
|
|
3141
|
+
unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
|
|
3064
3142
|
unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
|
|
3065
3143
|
}, "strip", z.ZodTypeAny, {
|
|
3066
3144
|
className: string;
|
|
3067
3145
|
scriptName?: string | undefined;
|
|
3068
3146
|
useSQLite?: boolean | undefined;
|
|
3069
|
-
unsafeUniqueKey?: string |
|
|
3147
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3070
3148
|
unsafePreventEviction?: boolean | undefined;
|
|
3071
3149
|
}, {
|
|
3072
3150
|
className: string;
|
|
3073
3151
|
scriptName?: string | undefined;
|
|
3074
3152
|
useSQLite?: boolean | undefined;
|
|
3075
|
-
unsafeUniqueKey?: string |
|
|
3153
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3076
3154
|
unsafePreventEviction?: boolean | undefined;
|
|
3077
3155
|
}>]>>>;
|
|
3078
3156
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3080,7 +3158,7 @@ export declare const PLUGINS: {
|
|
|
3080
3158
|
className: string;
|
|
3081
3159
|
scriptName?: string | undefined;
|
|
3082
3160
|
useSQLite?: boolean | undefined;
|
|
3083
|
-
unsafeUniqueKey?: string |
|
|
3161
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3084
3162
|
unsafePreventEviction?: boolean | undefined;
|
|
3085
3163
|
}> | undefined;
|
|
3086
3164
|
}, {
|
|
@@ -3088,7 +3166,7 @@ export declare const PLUGINS: {
|
|
|
3088
3166
|
className: string;
|
|
3089
3167
|
scriptName?: string | undefined;
|
|
3090
3168
|
useSQLite?: boolean | undefined;
|
|
3091
|
-
unsafeUniqueKey?: string |
|
|
3169
|
+
unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
|
|
3092
3170
|
unsafePreventEviction?: boolean | undefined;
|
|
3093
3171
|
}> | undefined;
|
|
3094
3172
|
}>, z.ZodObject<{
|
|
@@ -3098,7 +3176,7 @@ export declare const PLUGINS: {
|
|
|
3098
3176
|
}, {
|
|
3099
3177
|
durableObjectsPersist?: string | boolean | undefined;
|
|
3100
3178
|
}>>;
|
|
3101
|
-
kv:
|
|
3179
|
+
kv: Plugin_2<z.ZodObject<{
|
|
3102
3180
|
kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3103
3181
|
sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3104
3182
|
siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3120,7 +3198,7 @@ export declare const PLUGINS: {
|
|
|
3120
3198
|
}, {
|
|
3121
3199
|
kvPersist?: string | boolean | undefined;
|
|
3122
3200
|
}>>;
|
|
3123
|
-
queues:
|
|
3201
|
+
queues: Plugin_2<z.ZodObject<{
|
|
3124
3202
|
queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3125
3203
|
queueName: z.ZodString;
|
|
3126
3204
|
deliveryDelay: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3194,7 +3272,7 @@ export declare const PLUGINS: {
|
|
|
3194
3272
|
retryDelay?: number | undefined;
|
|
3195
3273
|
}> | undefined;
|
|
3196
3274
|
}>>;
|
|
3197
|
-
r2:
|
|
3275
|
+
r2: Plugin_2<z.ZodObject<{
|
|
3198
3276
|
r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
|
|
3199
3277
|
}, "strip", z.ZodTypeAny, {
|
|
3200
3278
|
r2Buckets?: string[] | Record<string, string> | undefined;
|
|
@@ -3207,72 +3285,87 @@ export declare const PLUGINS: {
|
|
|
3207
3285
|
}, {
|
|
3208
3286
|
r2Persist?: string | boolean | undefined;
|
|
3209
3287
|
}>>;
|
|
3210
|
-
hyperdrive:
|
|
3288
|
+
hyperdrive: Plugin_2<z.ZodObject<{
|
|
3211
3289
|
hyperdrives: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodType<URL_2, z.ZodTypeDef, URL_2>]>, URL_2, string | URL_2>>>;
|
|
3212
3290
|
}, "strip", z.ZodTypeAny, {
|
|
3213
3291
|
hyperdrives?: Record<string, URL_2> | undefined;
|
|
3214
3292
|
}, {
|
|
3215
3293
|
hyperdrives?: Record<string, string | URL_2> | undefined;
|
|
3216
3294
|
}>>;
|
|
3217
|
-
ratelimit:
|
|
3295
|
+
ratelimit: Plugin_2<z.ZodObject<{
|
|
3218
3296
|
ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3219
3297
|
simple: z.ZodObject<{
|
|
3220
3298
|
limit: z.ZodNumber;
|
|
3221
|
-
period: z.ZodOptional<z.ZodNativeEnum<
|
|
3299
|
+
period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
|
|
3222
3300
|
}, "strip", z.ZodTypeAny, {
|
|
3223
3301
|
limit: number;
|
|
3224
|
-
period?:
|
|
3302
|
+
period?: PeriodType_2 | undefined;
|
|
3225
3303
|
}, {
|
|
3226
3304
|
limit: number;
|
|
3227
|
-
period?:
|
|
3305
|
+
period?: PeriodType_2 | undefined;
|
|
3228
3306
|
}>;
|
|
3229
3307
|
}, "strip", z.ZodTypeAny, {
|
|
3230
3308
|
simple: {
|
|
3231
3309
|
limit: number;
|
|
3232
|
-
period?:
|
|
3310
|
+
period?: PeriodType_2 | undefined;
|
|
3233
3311
|
};
|
|
3234
3312
|
}, {
|
|
3235
3313
|
simple: {
|
|
3236
3314
|
limit: number;
|
|
3237
|
-
period?:
|
|
3315
|
+
period?: PeriodType_2 | undefined;
|
|
3238
3316
|
};
|
|
3239
3317
|
}>>>;
|
|
3240
3318
|
}, "strip", z.ZodTypeAny, {
|
|
3241
3319
|
ratelimits?: Record<string, {
|
|
3242
3320
|
simple: {
|
|
3243
3321
|
limit: number;
|
|
3244
|
-
period?:
|
|
3322
|
+
period?: PeriodType_2 | undefined;
|
|
3245
3323
|
};
|
|
3246
3324
|
}> | undefined;
|
|
3247
3325
|
}, {
|
|
3248
3326
|
ratelimits?: Record<string, {
|
|
3249
3327
|
simple: {
|
|
3250
3328
|
limit: number;
|
|
3251
|
-
period?:
|
|
3329
|
+
period?: PeriodType_2 | undefined;
|
|
3252
3330
|
};
|
|
3253
3331
|
}> | undefined;
|
|
3254
3332
|
}>>;
|
|
3255
|
-
assets:
|
|
3333
|
+
assets: Plugin_2<z.ZodObject<{
|
|
3256
3334
|
assets: z.ZodOptional<z.ZodObject<{
|
|
3257
3335
|
workerName: z.ZodOptional<z.ZodString>;
|
|
3258
3336
|
directory: z.ZodEffects<z.ZodString, string, string>;
|
|
3259
3337
|
binding: z.ZodOptional<z.ZodString>;
|
|
3260
3338
|
routingConfig: z.ZodOptional<z.ZodObject<{
|
|
3261
3339
|
has_user_worker: z.ZodOptional<z.ZodBoolean>;
|
|
3340
|
+
invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
|
|
3341
|
+
account_id: z.ZodOptional<z.ZodNumber>;
|
|
3342
|
+
script_id: z.ZodOptional<z.ZodNumber>;
|
|
3262
3343
|
}, "strip", z.ZodTypeAny, {
|
|
3263
3344
|
has_user_worker?: boolean;
|
|
3345
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3346
|
+
account_id?: number;
|
|
3347
|
+
script_id?: number;
|
|
3264
3348
|
}, {
|
|
3265
3349
|
has_user_worker?: boolean;
|
|
3350
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3351
|
+
account_id?: number;
|
|
3352
|
+
script_id?: number;
|
|
3266
3353
|
}>>;
|
|
3267
3354
|
assetConfig: z.ZodOptional<z.ZodObject<{
|
|
3268
3355
|
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
3269
3356
|
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
3357
|
+
serve_directly: z.ZodOptional<z.ZodBoolean>;
|
|
3358
|
+
run_worker_first: z.ZodOptional<z.ZodBoolean>;
|
|
3270
3359
|
}, "strip", z.ZodTypeAny, {
|
|
3271
3360
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3272
3361
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3362
|
+
serve_directly?: boolean;
|
|
3363
|
+
run_worker_first?: boolean;
|
|
3273
3364
|
}, {
|
|
3274
3365
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3275
3366
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3367
|
+
serve_directly?: boolean;
|
|
3368
|
+
run_worker_first?: boolean;
|
|
3276
3369
|
}>>;
|
|
3277
3370
|
}, "strip", z.ZodTypeAny, {
|
|
3278
3371
|
directory: string;
|
|
@@ -3280,10 +3373,15 @@ export declare const PLUGINS: {
|
|
|
3280
3373
|
binding?: string | undefined;
|
|
3281
3374
|
routingConfig?: {
|
|
3282
3375
|
has_user_worker?: boolean;
|
|
3376
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3377
|
+
account_id?: number;
|
|
3378
|
+
script_id?: number;
|
|
3283
3379
|
} | undefined;
|
|
3284
3380
|
assetConfig?: {
|
|
3285
3381
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3286
3382
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3383
|
+
serve_directly?: boolean;
|
|
3384
|
+
run_worker_first?: boolean;
|
|
3287
3385
|
} | undefined;
|
|
3288
3386
|
}, {
|
|
3289
3387
|
directory: string;
|
|
@@ -3291,10 +3389,15 @@ export declare const PLUGINS: {
|
|
|
3291
3389
|
binding?: string | undefined;
|
|
3292
3390
|
routingConfig?: {
|
|
3293
3391
|
has_user_worker?: boolean;
|
|
3392
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3393
|
+
account_id?: number;
|
|
3394
|
+
script_id?: number;
|
|
3294
3395
|
} | undefined;
|
|
3295
3396
|
assetConfig?: {
|
|
3296
3397
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3297
3398
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3399
|
+
serve_directly?: boolean;
|
|
3400
|
+
run_worker_first?: boolean;
|
|
3298
3401
|
} | undefined;
|
|
3299
3402
|
}>>;
|
|
3300
3403
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3304,10 +3407,15 @@ export declare const PLUGINS: {
|
|
|
3304
3407
|
binding?: string | undefined;
|
|
3305
3408
|
routingConfig?: {
|
|
3306
3409
|
has_user_worker?: boolean;
|
|
3410
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3411
|
+
account_id?: number;
|
|
3412
|
+
script_id?: number;
|
|
3307
3413
|
} | undefined;
|
|
3308
3414
|
assetConfig?: {
|
|
3309
3415
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3310
3416
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3417
|
+
serve_directly?: boolean;
|
|
3418
|
+
run_worker_first?: boolean;
|
|
3311
3419
|
} | undefined;
|
|
3312
3420
|
} | undefined;
|
|
3313
3421
|
}, {
|
|
@@ -3317,14 +3425,19 @@ export declare const PLUGINS: {
|
|
|
3317
3425
|
binding?: string | undefined;
|
|
3318
3426
|
routingConfig?: {
|
|
3319
3427
|
has_user_worker?: boolean;
|
|
3428
|
+
invoke_user_worker_ahead_of_assets?: boolean;
|
|
3429
|
+
account_id?: number;
|
|
3430
|
+
script_id?: number;
|
|
3320
3431
|
} | undefined;
|
|
3321
3432
|
assetConfig?: {
|
|
3322
3433
|
html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
|
|
3323
3434
|
not_found_handling?: "none" | "single-page-application" | "404-page";
|
|
3435
|
+
serve_directly?: boolean;
|
|
3436
|
+
run_worker_first?: boolean;
|
|
3324
3437
|
} | undefined;
|
|
3325
3438
|
} | undefined;
|
|
3326
3439
|
}>>;
|
|
3327
|
-
workflows:
|
|
3440
|
+
workflows: Plugin_2<z.ZodObject<{
|
|
3328
3441
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3329
3442
|
name: z.ZodString;
|
|
3330
3443
|
className: z.ZodString;
|
|
@@ -3554,11 +3667,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
|
|
|
3554
3667
|
export declare const QueueIncomingMessageSchema: z.ZodObject<{
|
|
3555
3668
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3556
3669
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3557
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
3670
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3558
3671
|
id: z.ZodOptional<z.ZodString>;
|
|
3559
3672
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3560
3673
|
}, "strip", z.ZodTypeAny, {
|
|
3561
|
-
body: Buffer
|
|
3674
|
+
body: Buffer<ArrayBuffer>;
|
|
3562
3675
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3563
3676
|
delaySecs?: number | undefined;
|
|
3564
3677
|
id?: string | undefined;
|
|
@@ -3634,11 +3747,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3634
3747
|
messages: z.ZodArray<z.ZodObject<{
|
|
3635
3748
|
contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
|
|
3636
3749
|
delaySecs: z.ZodOptional<z.ZodNumber>;
|
|
3637
|
-
body: z.ZodEffects<z.ZodString, Buffer
|
|
3750
|
+
body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
|
|
3638
3751
|
id: z.ZodOptional<z.ZodString>;
|
|
3639
3752
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3640
3753
|
}, "strip", z.ZodTypeAny, {
|
|
3641
|
-
body: Buffer
|
|
3754
|
+
body: Buffer<ArrayBuffer>;
|
|
3642
3755
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3643
3756
|
delaySecs?: number | undefined;
|
|
3644
3757
|
id?: string | undefined;
|
|
@@ -3652,7 +3765,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
|
|
|
3652
3765
|
}>, "many">;
|
|
3653
3766
|
}, "strip", z.ZodTypeAny, {
|
|
3654
3767
|
messages: {
|
|
3655
|
-
body: Buffer
|
|
3768
|
+
body: Buffer<ArrayBuffer>;
|
|
3656
3769
|
contentType: "json" | "bytes" | "v8" | "text";
|
|
3657
3770
|
delaySecs?: number | undefined;
|
|
3658
3771
|
id?: string | undefined;
|
|
@@ -3846,11 +3959,11 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
|
|
|
3846
3959
|
|
|
3847
3960
|
export { ReferrerPolicy }
|
|
3848
3961
|
|
|
3849
|
-
export declare type ReplaceWorkersTypes<T> = T extends
|
|
3962
|
+
export declare type ReplaceWorkersTypes<T> = T extends Request_5 ? Request_2 : T extends Response_5 ? Response_2 : T extends ReadableStream_2 ? ReadableStream_3 : Required<T> extends Required<RequestInit_4> ? RequestInit_2 : T extends Headers_3 ? Headers_2 : T extends Blob_2 ? Blob_3 : T extends AbortSignal_2 ? AbortSignal : T extends Promise<infer P> ? Promise<ReplaceWorkersTypes<P>> : T extends (...args: infer P) => infer R ? (...args: ReplaceWorkersTypes<P>) => ReplaceWorkersTypes<R> : T extends object ? {
|
|
3850
3963
|
[K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
|
|
3851
3964
|
} : T;
|
|
3852
3965
|
|
|
3853
|
-
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends
|
|
3966
|
+
declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
|
|
3854
3967
|
[kCf]?: CfType;
|
|
3855
3968
|
constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
|
|
3856
3969
|
get cf(): CfType | undefined;
|
|
@@ -3880,7 +3993,7 @@ export { RequestMode }
|
|
|
3880
3993
|
|
|
3881
3994
|
export { RequestRedirect }
|
|
3882
3995
|
|
|
3883
|
-
declare class Response_2 extends
|
|
3996
|
+
declare class Response_2 extends Response_4 {
|
|
3884
3997
|
readonly [kWebSocket]: WebSocket | null;
|
|
3885
3998
|
static error(): Response_2;
|
|
3886
3999
|
static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
|
|
@@ -4024,29 +4137,29 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4024
4137
|
modules: z.ZodArray<z.ZodObject<{
|
|
4025
4138
|
type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
|
|
4026
4139
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
4027
|
-
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array
|
|
4140
|
+
contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
|
|
4028
4141
|
}, "strip", z.ZodTypeAny, {
|
|
4029
4142
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4030
4143
|
path: string;
|
|
4031
|
-
contents?: string | Uint8Array | undefined;
|
|
4144
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4032
4145
|
}, {
|
|
4033
4146
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4034
4147
|
path: string;
|
|
4035
|
-
contents?: string | Uint8Array | undefined;
|
|
4148
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4036
4149
|
}>, "many">;
|
|
4037
4150
|
modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4038
4151
|
}, "strip", z.ZodTypeAny, {
|
|
4039
4152
|
modules: {
|
|
4040
4153
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4041
4154
|
path: string;
|
|
4042
|
-
contents?: string | Uint8Array | undefined;
|
|
4155
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4043
4156
|
}[];
|
|
4044
4157
|
modulesRoot?: string | undefined;
|
|
4045
4158
|
}, {
|
|
4046
4159
|
modules: {
|
|
4047
4160
|
type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
|
|
4048
4161
|
path: string;
|
|
4049
|
-
contents?: string | Uint8Array | undefined;
|
|
4162
|
+
contents?: string | Uint8Array<ArrayBuffer> | undefined;
|
|
4050
4163
|
}[];
|
|
4051
4164
|
modulesRoot?: string | undefined;
|
|
4052
4165
|
}>, z.ZodObject<{
|
|
@@ -4157,14 +4270,16 @@ export declare interface TlsOptions_Keypair {
|
|
|
4157
4270
|
certificateChain?: string;
|
|
4158
4271
|
}
|
|
4159
4272
|
|
|
4160
|
-
export declare
|
|
4161
|
-
GOOD_DEFAULT
|
|
4162
|
-
SSL3
|
|
4163
|
-
TLS1DOT0
|
|
4164
|
-
TLS1DOT1
|
|
4165
|
-
TLS1DOT2
|
|
4166
|
-
TLS1DOT3
|
|
4167
|
-
}
|
|
4273
|
+
export declare const TlsOptions_Version: {
|
|
4274
|
+
readonly GOOD_DEFAULT: 0;
|
|
4275
|
+
readonly SSL3: 1;
|
|
4276
|
+
readonly TLS1DOT0: 2;
|
|
4277
|
+
readonly TLS1DOT1: 3;
|
|
4278
|
+
readonly TLS1DOT2: 4;
|
|
4279
|
+
readonly TLS1DOT3: 5;
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
export declare type TlsOptions_Version = (typeof TlsOptions_Version)[keyof typeof TlsOptions_Version];
|
|
4168
4283
|
|
|
4169
4284
|
export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
|
|
4170
4285
|
|
|
@@ -4209,8 +4324,8 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
|
|
|
4209
4324
|
[kClosedIncoming]: boolean;
|
|
4210
4325
|
get readyState(): number;
|
|
4211
4326
|
accept(): void;
|
|
4212
|
-
send(message: ArrayBuffer |
|
|
4213
|
-
[kSend](message: ArrayBuffer |
|
|
4327
|
+
send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4328
|
+
[kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
|
|
4214
4329
|
close(code?: number, reason?: string): void;
|
|
4215
4330
|
[kClose](code?: number, reason?: string): void;
|
|
4216
4331
|
[kError](error?: Error): void;
|
|
@@ -4311,16 +4426,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
|
|
|
4311
4426
|
json?: string;
|
|
4312
4427
|
};
|
|
4313
4428
|
|
|
4314
|
-
export declare
|
|
4315
|
-
ENCRYPT
|
|
4316
|
-
DECRYPT
|
|
4317
|
-
SIGN
|
|
4318
|
-
VERIFY
|
|
4319
|
-
DERIVE_KEY
|
|
4320
|
-
DERIVE_BITS
|
|
4321
|
-
WRAP_KEY
|
|
4322
|
-
UNWRAP_KEY
|
|
4323
|
-
}
|
|
4429
|
+
export declare const Worker_Binding_CryptoKey_Usage: {
|
|
4430
|
+
readonly ENCRYPT: 0;
|
|
4431
|
+
readonly DECRYPT: 1;
|
|
4432
|
+
readonly SIGN: 2;
|
|
4433
|
+
readonly VERIFY: 3;
|
|
4434
|
+
readonly DERIVE_KEY: 4;
|
|
4435
|
+
readonly DERIVE_BITS: 5;
|
|
4436
|
+
readonly WRAP_KEY: 6;
|
|
4437
|
+
readonly UNWRAP_KEY: 7;
|
|
4438
|
+
};
|
|
4439
|
+
|
|
4440
|
+
export declare type Worker_Binding_CryptoKey_Usage = (typeof Worker_Binding_CryptoKey_Usage)[keyof typeof Worker_Binding_CryptoKey_Usage];
|
|
4324
4441
|
|
|
4325
4442
|
export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
|
|
4326
4443
|
className?: string;
|