@cloudflare/config 0.8.0 → 0.9.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.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as PipelineBinding, A as Triggers, B as Bindings, C as WorkerEntrypointExportOptions, Ct as WorkflowBinding, D as FetchTrigger, E as EmailTrigger, F as AiSearchNamespaceBinding, G as FlagshipBinding, H as D1Binding, I as AnalyticsEngineDatasetBinding, J as JsonBinding, K as HyperdriveBinding, L as ArtifactsBinding, M as AgentMemoryBinding, N as AiBinding, O as QueueConsumerTrigger, P as AiSearchBinding, Q as MtlsCertificateBinding, R as AssetsBinding, S as WorkerEntrypointExport, St as WorkerLoaderBinding, T as ConnectTrigger, U as DispatchNamespaceBinding, V as BrowserBinding, W as DurableObjectBinding, X as LogfwdrBinding, Y as KvBinding, Z as MediaBinding, _ as DurableObjectDeletedExport, _t as VersionMetadataBinding, a as InferEnv, at as SendEmailBinding, b as DurableObjectTransferredExport, bt as WebSearchBinding, c as TypedWorkerDefinition, ct as TypedAiBinding, d as defineWorker, dt as TypedPipelineBinding, et as QueueBinding, f as SettingsConfig, ft as TypedQueueBinding, g as DurableObjectCreatedExport, gt as VectorizeBinding, h as resolveExportDefinition, ht as UnsafeBinding, i as InferDurableNamespaces, it as SecretsStoreSecretBinding, j as triggers, k as ScheduledTrigger, l as WorkerConfigExport, lt as TypedDurableObjectBinding, m as ConfigContext, mt as TypedWorkflowBinding, n as SettingsDefinition, nt as RateLimitBinding, o as InferMainModule, ot as StreamBinding, p as WorkerConfig, pt as TypedWorkerBinding, q as ImagesBinding, r as defineSettings, rt as SecretBinding, s as UnwrapConfig, st as TextBinding, t as SettingsConfigInput, tt as R2Binding, u as WorkerConfigInput, ut as TypedKvBinding, v as DurableObjectExpectingTransferExport, vt as VpcNetworkBinding, w as exports, wt as bindings, x as Exports, xt as WorkerBinding, y as DurableObjectRenamedExport, yt as VpcServiceBinding, z as BindingDevOptions } from "./public-C3uXDKsB.mjs";
1
+ import { $ as PipelineBinding, A as Triggers, B as Bindings, C as WorkerEntrypointExportOptions, Ct as WorkflowBinding, D as FetchTrigger, E as EmailTrigger, F as AiSearchNamespaceBinding, G as FlagshipBinding, H as D1Binding, I as AnalyticsEngineDatasetBinding, J as JsonBinding, K as HyperdriveBinding, L as ArtifactsBinding, M as AgentMemoryBinding, N as AiBinding, O as QueueConsumerTrigger, P as AiSearchBinding, Q as MtlsCertificateBinding, R as AssetsBinding, S as WorkerEntrypointExport, St as WorkerLoaderBinding, T as ConnectTrigger, U as DispatchNamespaceBinding, V as BrowserBinding, W as DurableObjectBinding, X as LogfwdrBinding, Y as KvBinding, Z as MediaBinding, _ as DurableObjectDeletedExport, _t as VersionMetadataBinding, a as InferEnv, at as SendEmailBinding, b as DurableObjectTransferredExport, bt as WebSearchBinding, c as TypedWorkerDefinition, ct as TypedAiBinding, d as defineWorker, dt as TypedPipelineBinding, et as QueueBinding, f as SettingsConfig, ft as TypedQueueBinding, g as DurableObjectCreatedExport, gt as VectorizeBinding, h as resolveExportDefinition, ht as UnsafeBinding, i as InferDurableNamespaces, it as SecretsStoreSecretBinding, j as triggers, k as ScheduledTrigger, l as WorkerConfigExport, lt as TypedDurableObjectBinding, m as ConfigContext, mt as TypedWorkflowBinding, n as SettingsDefinition, nt as RateLimitBinding, o as InferMainModule, ot as StreamBinding, p as WorkerConfig, pt as TypedWorkerBinding, q as ImagesBinding, r as defineSettings, rt as SecretBinding, s as UnwrapConfig, st as TextBinding, t as SettingsConfigInput, tt as R2Binding, u as WorkerConfigInput, ut as TypedKvBinding, v as DurableObjectExpectingTransferExport, vt as VpcNetworkBinding, w as exports, wt as bindings, x as Exports, xt as WorkerBinding, y as DurableObjectRenamedExport, yt as VpcServiceBinding, z as BindingDevOptions } from "./public-CN_InYwn.mjs";
2
2
  import * as z from "zod";
3
3
  import { RawConfig } from "@cloudflare/workers-utils";
4
4
 
@@ -25,7 +25,7 @@ declare const BrowserBindingSchema: z.ZodObject<{
25
25
  }, z.core.$strict>;
26
26
  declare const WorkerBindingSchema: z.ZodObject<{
27
27
  type: z.ZodLiteral<"worker">;
28
- workerName: z.ZodString;
28
+ worker: z.ZodString;
29
29
  exportName: z.ZodOptional<z.ZodString>;
30
30
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
31
31
  dev: z.ZodOptional<z.ZodObject<{
@@ -135,7 +135,7 @@ declare const KnownBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
135
135
  type: z.ZodLiteral<"dispatch-namespace">;
136
136
  namespace: z.ZodOptional<z.ZodString>;
137
137
  outbound: z.ZodOptional<z.ZodObject<{
138
- workerName: z.ZodString;
138
+ worker: z.ZodString;
139
139
  parameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
140
  }, z.core.$strict>>;
141
141
  dev: z.ZodOptional<z.ZodObject<{
@@ -143,7 +143,7 @@ declare const KnownBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
143
143
  }, z.core.$strict>>;
144
144
  }, z.core.$strict>, z.ZodObject<{
145
145
  type: z.ZodLiteral<"durable-object">;
146
- workerName: z.ZodString;
146
+ worker: z.ZodString;
147
147
  exportName: z.ZodString;
148
148
  }, z.core.$strict>, z.ZodObject<{
149
149
  type: z.ZodLiteral<"flagship">;
@@ -296,7 +296,7 @@ declare const KnownBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
296
296
  }, z.core.$strict>>;
297
297
  }, z.core.$strict>, z.ZodObject<{
298
298
  type: z.ZodLiteral<"worker">;
299
- workerName: z.ZodString;
299
+ worker: z.ZodString;
300
300
  exportName: z.ZodOptional<z.ZodString>;
301
301
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
302
302
  dev: z.ZodOptional<z.ZodObject<{
@@ -398,7 +398,7 @@ declare const ExportSchema: z.ZodUnion<readonly [z.ZodObject<{
398
398
  }, z.core.$strict>>;
399
399
  }, z.core.$strict>]>;
400
400
  declare const TailConsumerSchema: z.ZodObject<{
401
- workerName: z.ZodString;
401
+ worker: z.ZodString;
402
402
  streaming: z.ZodOptional<z.ZodBoolean>;
403
403
  }, z.core.$strict>;
404
404
  /**
@@ -455,7 +455,7 @@ declare const InputWorkerSchema: z.ZodObject<{
455
455
  address: z.ZodOptional<z.ZodString>;
456
456
  }, z.core.$strict>], "type">>>;
457
457
  tailConsumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
- workerName: z.ZodString;
458
+ worker: z.ZodString;
459
459
  streaming: z.ZodOptional<z.ZodBoolean>;
460
460
  }, z.core.$strict>>>;
461
461
  cache: z.ZodOptional<z.ZodObject<{
@@ -652,7 +652,7 @@ declare const ConfigExportsSchema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnkno
652
652
  address: z.ZodOptional<z.ZodString>;
653
653
  }, z.core.$strict>], "type">>>;
654
654
  tailConsumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
655
- workerName: z.ZodString;
655
+ worker: z.ZodString;
656
656
  streaming: z.ZodOptional<z.ZodBoolean>;
657
657
  }, z.core.$strict>>>;
658
658
  cache: z.ZodOptional<z.ZodObject<{
@@ -823,7 +823,7 @@ declare const OutputWorkerSchema: z.ZodObject<{
823
823
  address: z.ZodOptional<z.ZodString>;
824
824
  }, z.core.$strict>], "type">>>;
825
825
  tailConsumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
826
- workerName: z.ZodString;
826
+ worker: z.ZodString;
827
827
  streaming: z.ZodOptional<z.ZodBoolean>;
828
828
  }, z.core.$strict>>>;
829
829
  cache: z.ZodOptional<z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ const BrowserBindingSchema = z.strictObject({
35
35
  });
36
36
  const WorkerBindingSchema = z.strictObject({
37
37
  type: z.literal("worker"),
38
- workerName: z.string(),
38
+ worker: z.string(),
39
39
  exportName: z.string().optional(),
40
40
  props: z.record(z.string(), z.unknown()).optional(),
41
41
  dev: RemoteBindingDevSchema.optional()
@@ -113,14 +113,14 @@ const KnownBindingSchema = z.discriminatedUnion("type", [
113
113
  type: z.literal("dispatch-namespace"),
114
114
  namespace: z.string().optional(),
115
115
  outbound: z.strictObject({
116
- workerName: z.string(),
116
+ worker: z.string(),
117
117
  parameters: z.array(z.string()).optional()
118
118
  }).optional(),
119
119
  dev: RemoteBindingDevSchema.optional()
120
120
  }),
121
121
  z.strictObject({
122
122
  type: z.literal("durable-object"),
123
- workerName: z.string(),
123
+ worker: z.string(),
124
124
  exportName: z.string()
125
125
  }),
126
126
  FlagshipBindingSchema,
@@ -350,7 +350,7 @@ const PlacementSchema = z.union([
350
350
  })
351
351
  ]);
352
352
  const TailConsumerSchema = z.strictObject({
353
- workerName: z.string(),
353
+ worker: z.string(),
354
354
  streaming: z.boolean().optional()
355
355
  });
356
356
  const TriggerSchema = z.discriminatedUnion("type", [
@@ -3289,7 +3289,7 @@ function convertBindingsAndAssets(config, result) {
3289
3289
  namespace: binding.namespace
3290
3290
  };
3291
3291
  if (binding.outbound) entry.outbound = omitUndefined({
3292
- service: binding.outbound.workerName,
3292
+ service: binding.outbound.worker,
3293
3293
  parameters: binding.outbound.parameters
3294
3294
  });
3295
3295
  if (binding.dev?.remote !== void 0) entry.remote = binding.dev.remote;
@@ -3300,7 +3300,7 @@ function convertBindingsAndAssets(config, result) {
3300
3300
  durableObjectBindings.push({
3301
3301
  name,
3302
3302
  class_name: binding.exportName,
3303
- script_name: binding.workerName
3303
+ script_name: binding.worker
3304
3304
  });
3305
3305
  break;
3306
3306
  case "flagship":
@@ -3451,7 +3451,7 @@ function convertBindingsAndAssets(config, result) {
3451
3451
  case "worker":
3452
3452
  services.push(omitUndefined({
3453
3453
  binding: name,
3454
- service: binding.workerName,
3454
+ service: binding.worker,
3455
3455
  entrypoint: binding.exportName,
3456
3456
  props: binding.props,
3457
3457
  remote: binding.dev?.remote
@@ -3632,8 +3632,8 @@ function convertTailConsumers(config, result) {
3632
3632
  if (!consumers || consumers.length === 0) return;
3633
3633
  const tail = [];
3634
3634
  const streaming = [];
3635
- for (const consumer of consumers) if (consumer.streaming) streaming.push({ service: consumer.workerName });
3636
- else tail.push({ service: consumer.workerName });
3635
+ for (const consumer of consumers) if (consumer.streaming) streaming.push({ service: consumer.worker });
3636
+ else tail.push({ service: consumer.worker });
3637
3637
  if (tail.length) result.tail_consumers = tail;
3638
3638
  if (streaming.length) result.streaming_tail_consumers = streaming;
3639
3639
  }
@@ -141,7 +141,7 @@ interface DispatchNamespaceBindingOptions {
141
141
  /** Details about the outbound Worker which will handle outbound requests from your namespace. */
142
142
  outbound?: {
143
143
  /** Name of the Worker handling the outbound requests. */
144
- workerName: string;
144
+ worker: string;
145
145
  /** (Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler. */
146
146
  parameters?: string[];
147
147
  };
@@ -158,12 +158,12 @@ interface DispatchNamespaceBinding extends DispatchNamespaceBindingOptions {
158
158
  }
159
159
  interface DurableObjectBindingOptions {
160
160
  /** The name of the Worker that defines the Durable Object class. */
161
- workerName: string;
161
+ worker: string;
162
162
  /** The exported class name of the Durable Object. */
163
163
  exportName: string;
164
164
  }
165
165
  /**
166
- * Binding to a Durable Object class. `workerName` is the name of the Worker
166
+ * Binding to a Durable Object class. `worker` is the name of the Worker
167
167
  * that defines the class; `exportName` is the exported class name.
168
168
  *
169
169
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
@@ -172,13 +172,13 @@ interface DurableObjectBinding extends DurableObjectBindingOptions {
172
172
  type: "durable-object";
173
173
  }
174
174
  /**
175
- * Binding to a Durable Object class. `workerName` is the name of the Worker
175
+ * Binding to a Durable Object class. `worker` is the name of the Worker
176
176
  * that defines the class; `exportName` is the exported class name.
177
177
  *
178
178
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
179
179
  */
180
180
  interface TypedDurableObjectBinding<TConfig$1, TExportName$1 extends string> extends DurableObjectBinding {
181
- workerName: string;
181
+ worker: string;
182
182
  exportName: TExportName$1;
183
183
  /** @internal Carries the config type for inference */
184
184
  __config: TConfig$1;
@@ -508,7 +508,7 @@ interface WebSearchBinding extends WebSearchBindingOptions {
508
508
  }
509
509
  interface WorkerBindingOptions {
510
510
  /** The name of the bound Worker. */
511
- workerName: string;
511
+ worker: string;
512
512
  /** The named export to bind to (defaults to the default export). */
513
513
  exportName?: string;
514
514
  /** Optional properties that will be made available to the service via `ctx.props`. */
@@ -517,7 +517,7 @@ interface WorkerBindingOptions {
517
517
  dev?: BindingDevOptions;
518
518
  }
519
519
  /**
520
- * Service binding (Worker-to-Worker). `workerName` is the name of the bound
520
+ * Service binding (Worker-to-Worker). `worker` is the name of the bound
521
521
  * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
522
522
  * the default export).
523
523
  *
@@ -527,14 +527,14 @@ interface WorkerBinding extends WorkerBindingOptions {
527
527
  type: "worker";
528
528
  }
529
529
  /**
530
- * Service binding (Worker-to-Worker). `workerName` is the name of the bound
530
+ * Service binding (Worker-to-Worker). `worker` is the name of the bound
531
531
  * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
532
532
  * the default export).
533
533
  *
534
534
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
535
535
  */
536
536
  interface TypedWorkerBinding<TConfig$1, TExportName$1 extends string> extends WorkerBinding {
537
- workerName: string;
537
+ worker: string;
538
538
  exportName: TExportName$1;
539
539
  /** @internal Carries the config type for inference */
540
540
  __config: TConfig$1;
@@ -545,23 +545,23 @@ interface WorkerLoaderBinding {
545
545
  }
546
546
  interface WorkflowBindingOptions {
547
547
  /** The name of the Worker that defines the Workflow. */
548
- workerName: string;
548
+ worker: string;
549
549
  /** The exported class name of the Workflow. */
550
550
  exportName: string;
551
551
  }
552
552
  /**
553
- * Binding to a Workflow. `workerName` is the name of the Worker that defines
553
+ * Binding to a Workflow. `worker` is the name of the Worker that defines
554
554
  * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.
555
555
  */
556
556
  interface WorkflowBinding extends WorkflowBindingOptions {
557
557
  type: "workflow";
558
558
  }
559
559
  /**
560
- * Binding to a Workflow. `workerName` is the name of the Worker that defines
560
+ * Binding to a Workflow. `worker` is the name of the Worker that defines
561
561
  * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.
562
562
  */
563
563
  interface TypedWorkflowBinding<TConfig$1, TExportName$1 extends string> extends WorkflowBinding {
564
- workerName: string;
564
+ worker: string;
565
565
  exportName: TExportName$1;
566
566
  /** @internal Carries the config type for inference */
567
567
  __config: TConfig$1;
@@ -624,7 +624,7 @@ interface Bindings {
624
624
  */
625
625
  dispatchNamespace(options?: DispatchNamespaceBindingOptions): DispatchNamespaceBinding;
626
626
  /**
627
- * Binding to a Durable Object class. `workerName` is the name of the Worker
627
+ * Binding to a Durable Object class. `worker` is the name of the Worker
628
628
  * that defines the class; `exportName` is the exported class name.
629
629
  *
630
630
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
@@ -727,7 +727,7 @@ interface Bindings {
727
727
  */
728
728
  webSearch(options?: WebSearchBindingOptions): WebSearchBinding;
729
729
  /**
730
- * Service binding (Worker-to-Worker). `workerName` is the name of the bound
730
+ * Service binding (Worker-to-Worker). `worker` is the name of the bound
731
731
  * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
732
732
  * the default export).
733
733
  *
@@ -1198,7 +1198,7 @@ interface WorkerConfig {
1198
1198
  */
1199
1199
  tailConsumers?: Array<{
1200
1200
  /** The name of the service tail events will be forwarded to. */
1201
- workerName: string;
1201
+ worker: string;
1202
1202
  /** Whether to stream tail events in real time. */
1203
1203
  streaming?: boolean;
1204
1204
  }>;
@@ -1410,24 +1410,24 @@ interface WorkerDefinition<TConfig$1 extends WorkerConfig = WorkerConfig> extend
1410
1410
  */
1411
1411
  interface TypedWorkerDefinition<TConfig$1 extends WorkerConfig, TWorkerName extends string = InferWorkerName<TConfig$1>> extends WorkerDefinition<TConfig$1> {
1412
1412
  /**
1413
- * Binding to a Durable Object class. `workerName` is the name of the Worker
1413
+ * Binding to a Durable Object class. `worker` is the name of the Worker
1414
1414
  * that defines the class; `exportName` is the exported class name.
1415
1415
  *
1416
1416
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
1417
1417
  */
1418
1418
  durableObject<TExportName$1 extends InferDurableNamespaces<TConfig$1>>(options: {
1419
- workerName: TWorkerName;
1419
+ worker: TWorkerName;
1420
1420
  exportName: TExportName$1;
1421
1421
  }): TypedDurableObjectBinding<TConfig$1, TExportName$1>;
1422
1422
  /**
1423
- * Service binding (Worker-to-Worker). `workerName` is the name of the bound
1423
+ * Service binding (Worker-to-Worker). `worker` is the name of the bound
1424
1424
  * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
1425
1425
  * the default export).
1426
1426
  *
1427
1427
  * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
1428
1428
  */
1429
1429
  worker<TExportName$1 extends InferWorkerEntrypointExports<TConfig$1> | undefined = undefined>(options: {
1430
- workerName: TWorkerName;
1430
+ worker: TWorkerName;
1431
1431
  exportName?: TExportName$1;
1432
1432
  props?: Record<string, unknown>;
1433
1433
  dev?: BindingDevOptions;
package/dist/public.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as PipelineBinding, A as Triggers, B as Bindings, C as WorkerEntrypointExportOptions, Ct as WorkflowBinding, D as FetchTrigger, E as EmailTrigger, F as AiSearchNamespaceBinding, G as FlagshipBinding, H as D1Binding, I as AnalyticsEngineDatasetBinding, J as JsonBinding, K as HyperdriveBinding, L as ArtifactsBinding, M as AgentMemoryBinding, N as AiBinding, O as QueueConsumerTrigger, P as AiSearchBinding, Q as MtlsCertificateBinding, R as AssetsBinding, S as WorkerEntrypointExport, St as WorkerLoaderBinding, T as ConnectTrigger, U as DispatchNamespaceBinding, V as BrowserBinding, W as DurableObjectBinding, X as LogfwdrBinding, Y as KvBinding, Z as MediaBinding, _ as DurableObjectDeletedExport, _t as VersionMetadataBinding, a as InferEnv, at as SendEmailBinding, b as DurableObjectTransferredExport, bt as WebSearchBinding, c as TypedWorkerDefinition, ct as TypedAiBinding, d as defineWorker, dt as TypedPipelineBinding, et as QueueBinding, f as SettingsConfig, ft as TypedQueueBinding, g as DurableObjectCreatedExport, gt as VectorizeBinding, ht as UnsafeBinding, i as InferDurableNamespaces, it as SecretsStoreSecretBinding, j as triggers, k as ScheduledTrigger, l as WorkerConfigExport, lt as TypedDurableObjectBinding, m as ConfigContext, mt as TypedWorkflowBinding, n as SettingsDefinition, nt as RateLimitBinding, o as InferMainModule, ot as StreamBinding, p as WorkerConfig, pt as TypedWorkerBinding, q as ImagesBinding, r as defineSettings, rt as SecretBinding, s as UnwrapConfig, st as TextBinding, t as SettingsConfigInput, tt as R2Binding, u as WorkerConfigInput, ut as TypedKvBinding, v as DurableObjectExpectingTransferExport, vt as VpcNetworkBinding, w as exports, wt as bindings, x as Exports, xt as WorkerBinding, y as DurableObjectRenamedExport, yt as VpcServiceBinding, z as BindingDevOptions } from "./public-C3uXDKsB.mjs";
1
+ import { $ as PipelineBinding, A as Triggers, B as Bindings, C as WorkerEntrypointExportOptions, Ct as WorkflowBinding, D as FetchTrigger, E as EmailTrigger, F as AiSearchNamespaceBinding, G as FlagshipBinding, H as D1Binding, I as AnalyticsEngineDatasetBinding, J as JsonBinding, K as HyperdriveBinding, L as ArtifactsBinding, M as AgentMemoryBinding, N as AiBinding, O as QueueConsumerTrigger, P as AiSearchBinding, Q as MtlsCertificateBinding, R as AssetsBinding, S as WorkerEntrypointExport, St as WorkerLoaderBinding, T as ConnectTrigger, U as DispatchNamespaceBinding, V as BrowserBinding, W as DurableObjectBinding, X as LogfwdrBinding, Y as KvBinding, Z as MediaBinding, _ as DurableObjectDeletedExport, _t as VersionMetadataBinding, a as InferEnv, at as SendEmailBinding, b as DurableObjectTransferredExport, bt as WebSearchBinding, c as TypedWorkerDefinition, ct as TypedAiBinding, d as defineWorker, dt as TypedPipelineBinding, et as QueueBinding, f as SettingsConfig, ft as TypedQueueBinding, g as DurableObjectCreatedExport, gt as VectorizeBinding, ht as UnsafeBinding, i as InferDurableNamespaces, it as SecretsStoreSecretBinding, j as triggers, k as ScheduledTrigger, l as WorkerConfigExport, lt as TypedDurableObjectBinding, m as ConfigContext, mt as TypedWorkflowBinding, n as SettingsDefinition, nt as RateLimitBinding, o as InferMainModule, ot as StreamBinding, p as WorkerConfig, pt as TypedWorkerBinding, q as ImagesBinding, r as defineSettings, rt as SecretBinding, s as UnwrapConfig, st as TextBinding, t as SettingsConfigInput, tt as R2Binding, u as WorkerConfigInput, ut as TypedKvBinding, v as DurableObjectExpectingTransferExport, vt as VpcNetworkBinding, w as exports, wt as bindings, x as Exports, xt as WorkerBinding, y as DurableObjectRenamedExport, yt as VpcServiceBinding, z as BindingDevOptions } from "./public-CN_InYwn.mjs";
2
2
  export { AgentMemoryBinding, AiBinding, AiSearchBinding, AiSearchNamespaceBinding, AnalyticsEngineDatasetBinding, ArtifactsBinding, AssetsBinding, BindingDevOptions, Bindings, BrowserBinding, ConfigContext, ConnectTrigger, D1Binding, DispatchNamespaceBinding, DurableObjectBinding, DurableObjectCreatedExport, DurableObjectDeletedExport, DurableObjectExpectingTransferExport, DurableObjectRenamedExport, DurableObjectTransferredExport, EmailTrigger, Exports, FetchTrigger, FlagshipBinding, HyperdriveBinding, ImagesBinding, InferDurableNamespaces, InferEnv, InferMainModule, JsonBinding, KvBinding, LogfwdrBinding, MediaBinding, MtlsCertificateBinding, PipelineBinding, QueueBinding, QueueConsumerTrigger, R2Binding, RateLimitBinding, ScheduledTrigger, SecretBinding, SecretsStoreSecretBinding, SendEmailBinding, SettingsConfig, SettingsConfigInput, SettingsDefinition, StreamBinding, TextBinding, Triggers, TypedAiBinding, TypedDurableObjectBinding, TypedKvBinding, TypedPipelineBinding, TypedQueueBinding, TypedWorkerBinding, TypedWorkerDefinition, TypedWorkflowBinding, UnsafeBinding, UnwrapConfig, VectorizeBinding, VersionMetadataBinding, VpcNetworkBinding, VpcServiceBinding, WebSearchBinding, WorkerBinding, WorkerConfig, WorkerConfigExport, WorkerConfigInput, WorkerEntrypointExport, WorkerEntrypointExportOptions, WorkerLoaderBinding, WorkflowBinding, bindings, defineSettings, defineWorker, exports, triggers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/config",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Definitions and utilities for configuring Cloudflare Workers and related products. This is not yet stable enough for external use — APIs may change without notice.",
5
5
  "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/config#readme",
6
6
  "bugs": {
@@ -31,7 +31,7 @@
31
31
  "zod": "4.4.3"
32
32
  },
33
33
  "devDependencies": {
34
- "@cloudflare/workers-types": "^5.20260825.1",
34
+ "@cloudflare/workers-types": "^5.20260828.1",
35
35
  "ts-dedent": "^2.2.0",
36
36
  "tsdown": "0.16.3",
37
37
  "typescript": "5.8.3",