wrangler 3.57.2 → 3.59.0

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.
@@ -94,51 +94,68 @@ declare type BaseErrorEvent<Source = string, Data = undefined> = {
94
94
  data: Data;
95
95
  };
96
96
 
97
+ declare type BinaryFile = File_2<Uint8Array>;
98
+
97
99
  declare type BinaryType = 'blob' | 'arraybuffer'
98
100
 
99
101
  declare type Binding = {
100
- type: "kv";
101
- id: string;
102
+ type: "plain_text";
103
+ value: string;
102
104
  } | {
103
- type: "r2";
104
- bucket_name: string;
105
+ type: "json";
106
+ value: Json;
107
+ } | ({
108
+ type: "kv_namespace";
109
+ } & BindingOmit<CfKvNamespace>) | ({
110
+ type: "send_email";
111
+ } & BindingOmit<CfSendEmailBindings>) | {
112
+ type: "wasm_module";
113
+ source: BinaryFile;
105
114
  } | {
106
- type: "d1";
107
- /** The binding name used to refer to the D1 database in the worker. */
108
- binding: string;
109
- /** The name of this D1 database. */
110
- database_name: string;
111
- /** The UUID of this D1 database (not required). */
112
- database_id: string;
113
- /** The UUID of this D1 database for Wrangler Dev (if specified). */
114
- preview_database_id?: string;
115
- /** The name of the migrations table for this D1 database (defaults to 'd1_migrations'). */
116
- migrations_table?: string;
117
- /** The path to the directory of migrations for this D1 database (defaults to './migrations'). */
118
- migrations_dir?: string;
119
- /** Internal use only. */
120
- database_internal_env?: string;
115
+ type: "text_blob";
116
+ source: File_2;
121
117
  } | {
122
- type: "durable-object";
123
- className: string;
124
- service?: ServiceDesignator;
118
+ type: "browser";
125
119
  } | {
126
- type: "service";
127
- service: ServiceDesignator | ServiceFetch;
120
+ type: "ai";
128
121
  } | {
129
- type: "queue-producer";
130
- name: string;
122
+ type: "version_metadata";
131
123
  } | {
124
+ type: "data_blob";
125
+ source: BinaryFile;
126
+ } | ({
127
+ type: "durable_object_namespace";
128
+ } & BindingOmit<CfDurableObject>) | ({
129
+ type: "queue";
130
+ } & BindingOmit<CfQueue>) | ({
131
+ type: "r2_bucket";
132
+ } & BindingOmit<CfR2Bucket>) | ({
133
+ type: "d1";
134
+ } & Omit<CfD1Database, "binding">) | ({
135
+ type: "vectorize";
136
+ } & Omit<CfVectorize, "binding">) | ({
132
137
  type: "constellation";
133
- project_id: string;
134
- } | {
135
- type: "var";
136
- value: string | Json | Uint8Array;
137
- } | {
138
- type: `unsafe-${string}`;
139
- [key: string]: unknown;
138
+ } & Omit<CfConstellation, "binding">) | ({
139
+ type: "hyperdrive";
140
+ } & Omit<CfHyperdrive, "binding">) | ({
141
+ type: "service";
142
+ } & Omit<CfService, "binding">) | {
143
+ type: "fetcher";
144
+ fetcher: ServiceFetch;
145
+ } | ({
146
+ type: "analytics_engine";
147
+ } & Omit<CfAnalyticsEngineDataset, "binding">) | ({
148
+ type: "dispatch_namespace";
149
+ } & Omit<CfDispatchNamespace, "binding">) | ({
150
+ type: "mtls_certificate";
151
+ } & Omit<CfMTlsCertificate, "binding">) | ({
152
+ type: "logfwdr";
153
+ } & Omit<CfLogfwdrBinding, "name">) | {
154
+ type: `unsafe_${string}`;
140
155
  };
141
156
 
157
+ declare type BindingOmit<T> = Omit<T, "binding" | "name">;
158
+
142
159
  /**
143
160
  * Result of the `getBindingsProxy` utility
144
161
  */
@@ -264,23 +281,26 @@ declare namespace buildConnector {
264
281
  }
265
282
  }
266
283
 
284
+ declare type Bundle = EsbuildBundle;
285
+
267
286
  declare type BundleCompleteEvent = {
268
287
  type: "bundleComplete";
269
288
  config: StartDevWorkerOptions;
270
- bundle: EsbuildBundle;
289
+ bundle: Bundle;
271
290
  };
272
291
 
273
- declare class BundlerController extends Controller {
292
+ declare class BundlerController extends Controller<BundlerControllerEventMap> {
274
293
  onConfigUpdate(_: ConfigUpdateEvent): void;
275
294
  teardown(): Promise<void>;
276
295
  emitBundleStartEvent(data: BundleStartEvent): void;
277
296
  emitBundleCompletetEvent(data: BundleCompleteEvent): void;
278
- on(event: "bundleStart", listener: (_: BundleStartEvent) => void): this;
279
- on(event: "bundleComplete", listener: (_: BundleCompleteEvent) => void): this;
280
- on(event: "error", listener: (_: ErrorEvent) => void): this;
281
- once: typeof BundlerController.on;
282
297
  }
283
298
 
299
+ declare type BundlerControllerEventMap = ControllerEventMap & {
300
+ bundleStart: [BundleStartEvent];
301
+ bundleComplete: [BundleCompleteEvent];
302
+ };
303
+
284
304
  declare type BundleStartEvent = {
285
305
  type: "bundleStart";
286
306
  config: StartDevWorkerOptions;
@@ -378,6 +398,36 @@ declare interface CfAccount {
378
398
  accountId: string;
379
399
  }
380
400
 
401
+ declare interface CfAnalyticsEngineDataset {
402
+ binding: string;
403
+ dataset?: string;
404
+ }
405
+
406
+ declare interface CfConstellation {
407
+ binding: string;
408
+ project_id: string;
409
+ }
410
+
411
+ declare interface CfD1Database {
412
+ binding: string;
413
+ database_id: string;
414
+ database_name?: string;
415
+ preview_database_id?: string;
416
+ database_internal_env?: string;
417
+ migrations_table?: string;
418
+ migrations_dir?: string;
419
+ }
420
+
421
+ declare interface CfDispatchNamespace {
422
+ binding: string;
423
+ namespace: string;
424
+ outbound?: {
425
+ service: string;
426
+ environment?: string;
427
+ parameters?: string[];
428
+ };
429
+ }
430
+
381
431
  /**
382
432
  * A Durable Object.
383
433
  */
@@ -388,6 +438,25 @@ declare interface CfDurableObject {
388
438
  environment?: string;
389
439
  }
390
440
 
441
+ declare interface CfHyperdrive {
442
+ binding: string;
443
+ id: string;
444
+ localConnectionString?: string;
445
+ }
446
+
447
+ /**
448
+ * A KV namespace.
449
+ */
450
+ declare interface CfKvNamespace {
451
+ binding: string;
452
+ id: string;
453
+ }
454
+
455
+ declare interface CfLogfwdrBinding {
456
+ name: string;
457
+ destination: string;
458
+ }
459
+
391
460
  /**
392
461
  * An imported module.
393
462
  */
@@ -430,13 +499,51 @@ declare interface CfModule {
430
499
  /**
431
500
  * A module type.
432
501
  */
433
- declare type CfModuleType = "esm" | "commonjs" | "compiled-wasm" | "text" | "buffer" | "python" | "python-requirement";
502
+ declare type CfModuleType = "esm" | "commonjs" | "compiled-wasm" | "text" | "buffer" | "python" | "python-requirement" | "nodejs-compat-module";
503
+
504
+ declare interface CfMTlsCertificate {
505
+ binding: string;
506
+ certificate_id: string;
507
+ }
508
+
509
+ declare interface CfQueue {
510
+ binding: string;
511
+ queue_name: string;
512
+ delivery_delay?: number;
513
+ }
514
+
515
+ declare interface CfR2Bucket {
516
+ binding: string;
517
+ bucket_name: string;
518
+ jurisdiction?: string;
519
+ }
434
520
 
435
521
  /**
436
522
  * The type of Worker
437
523
  */
438
524
  declare type CfScriptFormat = "modules" | "service-worker";
439
525
 
526
+ /**
527
+ * A binding to send email.
528
+ */
529
+ declare interface CfSendEmailBindings {
530
+ name: string;
531
+ destination_address?: string;
532
+ allowed_destination_addresses?: string[];
533
+ }
534
+
535
+ declare interface CfService {
536
+ binding: string;
537
+ service: string;
538
+ environment?: string;
539
+ entrypoint?: string;
540
+ }
541
+
542
+ declare interface CfVectorize {
543
+ binding: string;
544
+ index_name: string;
545
+ }
546
+
440
547
  /**
441
548
  * A basic HTTP/1.1 client, mapped on top a single TCP/TLS connection. Pipelining is disabled by default.
442
549
  */
@@ -553,17 +660,41 @@ declare type CloudchamberConfig = {
553
660
  memory?: string;
554
661
  };
555
662
 
556
- declare class ConfigController extends EventEmitter_2 {
663
+ /**
664
+ * This is the static type definition for the configuration object.
665
+ *
666
+ * It reflects a normalized and validated version of the configuration that you can write in wrangler.toml,
667
+ * and optionally augment with arguments passed directly to wrangler.
668
+ *
669
+ * For more information about the configuration object, see the
670
+ * documentation at https://developers.cloudflare.com/workers/cli-wrangler/configuration
671
+ *
672
+ * Notes:
673
+ *
674
+ * - Fields that are only specified in `ConfigFields` and not `Environment` can only appear
675
+ * in the top level config and should not appear in any environments.
676
+ * - Fields that are specified in `PagesConfigFields` are only relevant for Pages projects
677
+ * - All top level fields in config and environments are optional in the wrangler.toml file.
678
+ *
679
+ * Legend for the annotations:
680
+ *
681
+ * - `@breaking`: the deprecation/optionality is a breaking change from Wrangler v1.
682
+ * - `@todo`: there's more work to be done (with details attached).
683
+ */
684
+ declare type Config = ConfigFields<DevConfig> & PagesConfigFields & Environment;
685
+
686
+ declare class ConfigController extends Controller<ConfigControllerEventMap> {
557
687
  config?: StartDevWorkerOptions;
558
688
  setOptions(_: StartDevWorkerOptions): void;
559
689
  updateOptions(_: Partial<StartDevWorkerOptions>): void;
560
690
  teardown(): Promise<void>;
561
691
  emitConfigUpdateEvent(data: ConfigUpdateEvent): void;
562
- on(event: "configUpdate", listener: (_: ConfigUpdateEvent) => void): this;
563
- on(event: "error", listener: (_: ErrorEvent) => void): this;
564
- once: typeof ConfigController.on;
565
692
  }
566
693
 
694
+ declare type ConfigControllerEventMap = ControllerEventMap & {
695
+ configUpdate: [ConfigUpdateEvent];
696
+ };
697
+
567
698
  declare interface ConfigFields<Dev extends RawDevConfig> {
568
699
  configPath: string | undefined;
569
700
  /**
@@ -658,7 +789,7 @@ declare interface ConfigFields<Dev extends RawDevConfig> {
658
789
  exclude: string[];
659
790
  browser_TTL: number | undefined;
660
791
  serve_single_page_app: boolean;
661
- } | undefined;
792
+ } | string | undefined;
662
793
  /**
663
794
  * A list of wasm modules that your worker should be bound to. This is
664
795
  * the "legacy" way of binding to a wasm module. ES module workers should
@@ -699,7 +830,7 @@ declare interface ConfigFields<Dev extends RawDevConfig> {
699
830
  /**
700
831
  * The possible types for a `Rule`.
701
832
  */
702
- declare type ConfigModuleRuleType = "ESModule" | "CommonJS" | "CompiledWasm" | "Text" | "Data" | "PythonModule" | "PythonRequirement";
833
+ declare type ConfigModuleRuleType = "ESModule" | "CommonJS" | "CompiledWasm" | "Text" | "Data" | "PythonModule" | "PythonRequirement" | "NodeJsCompatModule";
703
834
 
704
835
  declare type ConfigUpdateEvent = {
705
836
  type: "configUpdate";
@@ -712,9 +843,14 @@ url: string | URL_2 | UrlObject,
712
843
  options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
713
844
  ): Promise<Dispatcher.ConnectData>;
714
845
 
715
- declare abstract class Controller extends EventEmitter_2 {
846
+ declare abstract class Controller<EventMap extends ControllerEventMap = ControllerEventMap> extends TypedEventEmitterImpl<EventMap> {
847
+ emitErrorEvent(data: ErrorEvent): void;
716
848
  }
717
849
 
850
+ declare type ControllerEventMap = {
851
+ error: [ErrorEvent];
852
+ };
853
+
718
854
  declare interface Cookie {
719
855
  name: string
720
856
  value: string
@@ -1956,7 +2092,7 @@ declare interface EnvironmentNonInheritable {
1956
2092
 
1957
2093
  declare type ErrorEvent = BaseErrorEvent<"ConfigController" | "BundlerController" | "LocalRuntimeController" | "RemoteRuntimeController" | "ProxyWorker" | "InspectorProxyWorker"> | BaseErrorEvent<"ProxyController", {
1958
2094
  config?: StartDevWorkerOptions;
1959
- bundle?: EsbuildBundle;
2095
+ bundle?: Bundle;
1960
2096
  }>;
1961
2097
 
1962
2098
  declare namespace Errors {
@@ -2086,6 +2222,7 @@ declare namespace Errors {
2086
2222
  declare type EsbuildBundle = {
2087
2223
  id: number;
2088
2224
  path: string;
2225
+ entrypointSource: string;
2089
2226
  entry: Entry;
2090
2227
  type: CfModuleType;
2091
2228
  modules: CfModule[];
@@ -2420,7 +2557,7 @@ declare class Headers implements SpecIterable<[string, string]> {
2420
2557
 
2421
2558
  declare type HeadersInit = string[][] | Record<string, string | ReadonlyArray<string>> | Headers
2422
2559
 
2423
- declare type Hook<T, Args extends unknown[] = unknown[]> = T | Promise<T> | ((...args: Args) => T | Promise<T>);
2560
+ declare type Hook<T extends string | number | object> = T | Promise<T> | (() => T | Promise<T>);
2424
2561
 
2425
2562
  /**
2426
2563
  * @property terminate Terminates HTTP server.
@@ -2682,7 +2819,7 @@ declare class MockScope<TData extends object = object> {
2682
2819
  }
2683
2820
 
2684
2821
  declare interface ModuleRule {
2685
- type: "ESModule" | "CommonJS" | "NodeJSCompat" | "CompiledWasm" | "Text" | "Data";
2822
+ type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "CompiledWasm" | "Text" | "Data";
2686
2823
  include?: string[];
2687
2824
  fallthrough?: boolean;
2688
2825
  }
@@ -23138,7 +23275,7 @@ declare namespace ProxyAgent {
23138
23275
  }
23139
23276
  }
23140
23277
 
23141
- declare class ProxyController extends EventEmitter_2 {
23278
+ declare class ProxyController extends Controller<ProxyControllerEventMap> {
23142
23279
  ready: DeferredPromise<ReadyEvent>;
23143
23280
  proxyWorker?: Miniflare;
23144
23281
  proxyWorkerOptions?: MiniflareOptions;
@@ -23162,13 +23299,15 @@ declare class ProxyController extends EventEmitter_2 {
23162
23299
  teardown(): Promise<void>;
23163
23300
  emitReadyEvent(proxyWorker: Miniflare): void;
23164
23301
  emitPreviewTokenExpiredEvent(proxyData: ProxyData): void;
23165
- emitErrorEvent(reason: string, cause: Error | SerializedError): void;
23166
- on(event: "ready", listener: (_: ReadyEvent) => void): this;
23167
- on(event: "previewTokenExpired", listener: (_: PreviewTokenExpiredEvent) => void): this;
23168
- on(event: "error", listener: (_: ErrorEvent) => void): this;
23169
- once: typeof ProxyController.on;
23302
+ emitErrorEvent(data: ErrorEvent): void;
23303
+ emitErrorEvent(reason: string, cause?: Error | SerializedError): void;
23170
23304
  }
23171
23305
 
23306
+ declare type ProxyControllerEventMap = ControllerEventMap & {
23307
+ ready: [ReadyEvent];
23308
+ previewTokenExpired: [PreviewTokenExpiredEvent];
23309
+ };
23310
+
23172
23311
  declare type ProxyData = {
23173
23312
  userWorkerUrl: UrlOriginParts;
23174
23313
  userWorkerInspectorUrl: UrlOriginAndPathnameParts;
@@ -23198,6 +23337,8 @@ declare type ProxyWorkerOutgoingRequestBody = {
23198
23337
  args: Parameters<typeof console.debug>;
23199
23338
  };
23200
23339
 
23340
+ declare type QueueConsumer = NonNullable<Config["queues"]["consumers"]>[number];
23341
+
23201
23342
  declare type RawConfig = Partial<ConfigFields<RawDevConfig>> & PagesConfigFields & RawEnvironment & DeprecatedConfigFields & EnvironmentMap & {
23202
23343
  $schema?: string;
23203
23344
  };
@@ -23237,14 +23378,14 @@ declare type ReferrerPolicy =
23237
23378
  declare type ReloadCompleteEvent = {
23238
23379
  type: "reloadComplete";
23239
23380
  config: StartDevWorkerOptions;
23240
- bundle: EsbuildBundle;
23381
+ bundle: Bundle;
23241
23382
  proxyData: ProxyData;
23242
23383
  };
23243
23384
 
23244
23385
  declare type ReloadStartEvent = {
23245
23386
  type: "reloadStart";
23246
23387
  config: StartDevWorkerOptions;
23247
- bundle: EsbuildBundle;
23388
+ bundle: Bundle;
23248
23389
  };
23249
23390
 
23250
23391
  declare class Request implements BodyMixin {
@@ -23505,19 +23646,20 @@ declare type Rule = {
23505
23646
  fallthrough?: boolean;
23506
23647
  };
23507
23648
 
23508
- declare abstract class RuntimeController extends Controller {
23649
+ declare abstract class RuntimeController extends Controller<RuntimeControllerEventMap> {
23509
23650
  abstract onBundleStart(_: BundleStartEvent): void;
23510
23651
  abstract onBundleComplete(_: BundleCompleteEvent): void;
23511
23652
  abstract onPreviewTokenExpired(_: PreviewTokenExpiredEvent): void;
23512
23653
  abstract teardown(): Promise<void>;
23513
23654
  abstract emitReloadStartEvent(data: ReloadStartEvent): void;
23514
- abstract emitReloadCompletetEvent(data: ReloadCompleteEvent): void;
23515
- on(event: "reloadStart", listener: (_: ReloadStartEvent) => void): this;
23516
- on(event: "reloadComplete", listener: (_: ReloadCompleteEvent) => void): this;
23517
- on(event: "error", listener: (_: ErrorEvent) => void): this;
23518
- once: typeof RuntimeController.on;
23655
+ abstract emitReloadCompleteEvent(data: ReloadCompleteEvent): void;
23519
23656
  }
23520
23657
 
23658
+ declare type RuntimeControllerEventMap = ControllerEventMap & {
23659
+ reloadStart: [ReloadStartEvent];
23660
+ reloadComplete: [ReloadCompleteEvent];
23661
+ };
23662
+
23521
23663
  /**
23522
23664
  * Convert a MIMEType object to a string.
23523
23665
  * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type
@@ -23531,12 +23673,7 @@ declare type SerializedError = {
23531
23673
  cause?: unknown;
23532
23674
  };
23533
23675
 
23534
- declare interface ServiceDesignator {
23535
- name: string;
23536
- env?: string;
23537
- }
23538
-
23539
- declare type ServiceFetch = (request: Request_2) => Promise<Response_2>;
23676
+ declare type ServiceFetch = (request: Request_2) => Promise<Response_2> | Response_2;
23540
23677
 
23541
23678
  declare function setCookie (headers: Headers, cookie: Cookie): void
23542
23679
 
@@ -23573,7 +23710,7 @@ declare interface SpecIterator<T, TReturn = any, TNext = undefined> {
23573
23710
 
23574
23711
  declare interface StartDevWorkerOptions {
23575
23712
  /** The name of the worker. */
23576
- name: string;
23713
+ name?: string;
23577
23714
  /**
23578
23715
  * The javascript or typescript entry-point of the worker.
23579
23716
  * This is the `main` property of a wrangler.toml.
@@ -23657,6 +23794,8 @@ declare interface StartDevWorkerOptions {
23657
23794
  outboundService?: ServiceFetch;
23658
23795
  /** An undici MockAgent to declaratively mock fetch calls to particular resources. */
23659
23796
  mockFetch?: undici.MockAgent;
23797
+ /** Gets a fetcher to a specific worker, used for multi-worker development */
23798
+ getRegisteredWorker?(name: string): WorkerDefinition | undefined;
23660
23799
  };
23661
23800
  }
23662
23801
 
@@ -23681,30 +23820,35 @@ declare type Trigger = {
23681
23820
  } | {
23682
23821
  type: "route";
23683
23822
  pattern: string;
23684
- customDomain: true;
23685
- } | {
23823
+ } | ({
23686
23824
  type: "route";
23687
- pattern: string;
23688
- zoneId: string;
23689
- customDomain?: true;
23690
- zoneName?: never;
23691
- } | {
23825
+ } & ZoneIdRoute) | ({
23692
23826
  type: "route";
23693
- pattern: string;
23694
- zoneName: string;
23695
- customDomain?: true;
23696
- zoneId?: never;
23697
- } | {
23698
- type: "schedule";
23699
- schedule: string;
23700
- } | {
23827
+ } & ZoneNameRoute) | ({
23828
+ type: "route";
23829
+ } & CustomDomainRoute) | {
23830
+ type: "cron";
23831
+ cron: string;
23832
+ } | ({
23701
23833
  type: "queue-consumer";
23702
- name: string;
23703
- maxBatchSize?: number;
23704
- maxBatchTimeout?: number;
23705
- maxRetries?: string;
23706
- deadLetterQueue?: string;
23707
- };
23834
+ } & QueueConsumer);
23835
+
23836
+ declare interface TypedEventEmitter<EventMap extends Record<string | symbol, unknown[]>> extends EventEmitter_2 {
23837
+ addListener<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23838
+ on<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23839
+ once<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23840
+ removeListener<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23841
+ off<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23842
+ removeAllListeners(event?: keyof EventMap): this;
23843
+ listeners<Name extends keyof EventMap>(eventName: Name): ((...args: EventMap[Name]) => void)[];
23844
+ rawListeners<Name extends keyof EventMap>(eventName: Name): ((...args: EventMap[Name]) => void)[];
23845
+ emit<Name extends keyof EventMap>(eventName: Name, ...args: EventMap[Name]): boolean;
23846
+ listenerCount<Name extends keyof EventMap>(eventName: Name, listener?: (...args: EventMap[Name]) => void): number;
23847
+ prependListener<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23848
+ prependOnceListener<Name extends keyof EventMap>(eventName: Name, listener: (...args: EventMap[Name]) => void): this;
23849
+ }
23850
+
23851
+ declare const TypedEventEmitterImpl: new <EventMap extends Record<string | symbol, unknown[]>>() => TypedEventEmitter<EventMap>;
23708
23852
 
23709
23853
  declare namespace Undici {
23710
23854
  var Dispatcher: Dispatcher
@@ -24036,6 +24180,21 @@ declare interface WebSocketInit {
24036
24180
  headers?: HeadersInit
24037
24181
  }
24038
24182
 
24183
+ declare type WorkerDefinition = {
24184
+ port: number | undefined;
24185
+ protocol: "http" | "https" | undefined;
24186
+ host: string | undefined;
24187
+ mode: "local" | "remote";
24188
+ headers?: Record<string, string>;
24189
+ entrypointAddresses?: WorkerEntrypointsDefinition;
24190
+ durableObjects: {
24191
+ name: string;
24192
+ className: string;
24193
+ }[];
24194
+ durableObjectsHost?: string;
24195
+ durableObjectsPort?: number;
24196
+ };
24197
+
24039
24198
  declare type WorkerEntrypointsDefinition = Record<"default" | string, {
24040
24199
  host: string;
24041
24200
  port: number;