@cloudflare/config 0.7.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.mjs CHANGED
@@ -14,6 +14,7 @@ var __commonJS = (cb, mod) => function() {
14
14
 
15
15
  //#endregion
16
16
  //#region src/schema.ts
17
+ const RemoteBindingDevSchema = z.strictObject({ remote: z.boolean().optional() });
17
18
  const AssetsSchema = z.strictObject({
18
19
  htmlHandling: z.enum([
19
20
  "auto-trailing-slash",
@@ -30,38 +31,37 @@ const AssetsSchema = z.strictObject({
30
31
  });
31
32
  const BrowserBindingSchema = z.strictObject({
32
33
  type: z.literal("browser"),
33
- remote: z.boolean().optional()
34
+ dev: RemoteBindingDevSchema.optional()
34
35
  });
35
36
  const WorkerBindingSchema = z.strictObject({
36
37
  type: z.literal("worker"),
37
- workerName: z.string(),
38
+ worker: z.string(),
38
39
  exportName: z.string().optional(),
39
40
  props: z.record(z.string(), z.unknown()).optional(),
40
- remote: z.boolean().optional()
41
+ dev: RemoteBindingDevSchema.optional()
41
42
  });
42
43
  const D1BindingSchema = z.strictObject({
43
44
  type: z.literal("d1"),
44
45
  name: z.string().optional(),
45
46
  id: z.string().optional(),
46
- remote: z.boolean().optional()
47
+ dev: RemoteBindingDevSchema.optional()
47
48
  });
48
49
  const KVBindingSchema = z.strictObject({
49
50
  type: z.literal("kv"),
50
51
  id: z.string().optional(),
51
- remote: z.boolean().optional()
52
+ dev: RemoteBindingDevSchema.optional()
52
53
  });
53
54
  const QueueBindingSchema = z.strictObject({
54
55
  type: z.literal("queue"),
55
56
  name: z.string().optional(),
56
57
  deliveryDelay: z.number().optional(),
57
- remote: z.boolean().optional()
58
+ dev: RemoteBindingDevSchema.optional()
58
59
  });
59
60
  const R2BindingSchema = z.strictObject({
60
61
  type: z.literal("r2"),
61
62
  name: z.string().optional(),
62
63
  jurisdiction: z.string().optional(),
63
- remote: z.boolean().optional(),
64
- localDev: z.strictObject({ experimentalS3Credentials: z.object({
64
+ dev: RemoteBindingDevSchema.extend({ experimentalS3Credentials: z.object({
65
65
  accessKeyId: z.string(),
66
66
  secretAccessKey: z.string()
67
67
  }).optional() }).optional()
@@ -73,38 +73,38 @@ const AnalyticsEngineDatasetBindingSchema = z.strictObject({
73
73
  const FlagshipBindingSchema = z.strictObject({
74
74
  type: z.literal("flagship"),
75
75
  id: z.string().optional(),
76
- remote: z.boolean().optional()
76
+ dev: RemoteBindingDevSchema.optional()
77
77
  });
78
78
  const HyperdriveBindingSchema = z.strictObject({
79
79
  type: z.literal("hyperdrive"),
80
80
  id: z.string(),
81
- localConnectionString: z.string().optional()
81
+ dev: z.strictObject({ connectionString: z.string().optional() }).optional()
82
82
  });
83
83
  const KnownBindingSchema = z.discriminatedUnion("type", [
84
84
  z.strictObject({
85
85
  type: z.literal("agent-memory"),
86
86
  namespace: z.string(),
87
- remote: z.boolean().optional()
87
+ dev: RemoteBindingDevSchema.optional()
88
88
  }),
89
89
  z.strictObject({
90
90
  type: z.literal("ai"),
91
- remote: z.boolean().optional()
91
+ dev: RemoteBindingDevSchema.optional()
92
92
  }),
93
93
  z.strictObject({
94
94
  type: z.literal("ai-search"),
95
95
  name: z.string(),
96
- remote: z.boolean().optional()
96
+ dev: RemoteBindingDevSchema.optional()
97
97
  }),
98
98
  z.strictObject({
99
99
  type: z.literal("ai-search-namespace"),
100
100
  namespace: z.string(),
101
- remote: z.boolean().optional()
101
+ dev: RemoteBindingDevSchema.optional()
102
102
  }),
103
103
  AnalyticsEngineDatasetBindingSchema,
104
104
  z.strictObject({
105
105
  type: z.literal("artifacts"),
106
106
  namespace: z.string(),
107
- remote: z.boolean().optional()
107
+ dev: RemoteBindingDevSchema.optional()
108
108
  }),
109
109
  z.strictObject({ type: z.literal("assets") }),
110
110
  BrowserBindingSchema,
@@ -113,21 +113,21 @@ 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
- remote: z.boolean().optional()
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,
127
127
  HyperdriveBindingSchema,
128
128
  z.strictObject({
129
129
  type: z.literal("images"),
130
- remote: z.boolean().optional()
130
+ dev: RemoteBindingDevSchema.optional()
131
131
  }),
132
132
  z.strictObject({
133
133
  type: z.literal("json"),
@@ -140,17 +140,17 @@ const KnownBindingSchema = z.discriminatedUnion("type", [
140
140
  }),
141
141
  z.strictObject({
142
142
  type: z.literal("media"),
143
- remote: z.boolean().optional()
143
+ dev: RemoteBindingDevSchema.optional()
144
144
  }),
145
145
  z.strictObject({
146
146
  type: z.literal("mtls-certificate"),
147
147
  id: z.string(),
148
- remote: z.boolean().optional()
148
+ dev: RemoteBindingDevSchema.optional()
149
149
  }),
150
150
  z.strictObject({
151
151
  type: z.literal("pipeline"),
152
152
  name: z.string(),
153
- remote: z.boolean().optional()
153
+ dev: RemoteBindingDevSchema.optional()
154
154
  }),
155
155
  QueueBindingSchema,
156
156
  z.strictObject({
@@ -173,11 +173,11 @@ const KnownBindingSchema = z.discriminatedUnion("type", [
173
173
  destinationAddress: z.string().optional(),
174
174
  allowedDestinationAddresses: z.array(z.string()).optional(),
175
175
  allowedSenderAddresses: z.array(z.string()).optional(),
176
- remote: z.boolean().optional()
177
- }),
176
+ dev: RemoteBindingDevSchema.optional()
177
+ }).refine((value) => value.destinationAddress === void 0 || value.allowedDestinationAddresses === void 0, { message: "\"send-email\" bindings cannot specify both \"destinationAddress\" and \"allowedDestinationAddresses\"" }),
178
178
  z.strictObject({
179
179
  type: z.literal("stream"),
180
- remote: z.boolean().optional()
180
+ dev: RemoteBindingDevSchema.optional()
181
181
  }),
182
182
  z.strictObject({
183
183
  type: z.literal("text"),
@@ -186,29 +186,26 @@ const KnownBindingSchema = z.discriminatedUnion("type", [
186
186
  z.strictObject({
187
187
  type: z.literal("vectorize"),
188
188
  name: z.string(),
189
- remote: z.boolean().optional()
189
+ dev: RemoteBindingDevSchema.optional()
190
190
  }),
191
191
  z.strictObject({ type: z.literal("version-metadata") }),
192
192
  z.strictObject({
193
193
  type: z.literal("vpc-service"),
194
194
  id: z.string(),
195
- remote: z.boolean().optional()
195
+ dev: RemoteBindingDevSchema.optional()
196
196
  }),
197
197
  z.strictObject({
198
198
  type: z.literal("vpc-network"),
199
199
  tunnelId: z.string().optional(),
200
200
  networkId: z.string().optional(),
201
- remote: z.boolean().optional()
202
- }).superRefine((value, ctx) => {
203
- const hasTunnel = value.tunnelId !== void 0;
204
- if (hasTunnel === (value.networkId !== void 0)) ctx.addIssue({
205
- code: "custom",
206
- message: hasTunnel ? `"vpc-network" bindings must specify exactly one of "tunnelId" or "networkId", not both` : `"vpc-network" bindings must specify either "tunnelId" or "networkId"`
207
- });
208
- }),
201
+ dev: RemoteBindingDevSchema.optional()
202
+ }).refine((value) => value.tunnelId !== void 0 !== (value.networkId !== void 0), { error: ({ input }) => {
203
+ const value = input;
204
+ return value.tunnelId !== void 0 && value.networkId !== void 0 ? `"vpc-network" bindings must specify exactly one of "tunnelId" or "networkId", not both` : `"vpc-network" bindings must specify either "tunnelId" or "networkId"`;
205
+ } }),
209
206
  z.strictObject({
210
207
  type: z.literal("web-search"),
211
- remote: z.boolean().optional()
208
+ dev: RemoteBindingDevSchema.optional()
212
209
  }),
213
210
  WorkerBindingSchema,
214
211
  z.strictObject({ type: z.literal("worker-loader") })
@@ -353,7 +350,7 @@ const PlacementSchema = z.union([
353
350
  })
354
351
  ]);
355
352
  const TailConsumerSchema = z.strictObject({
356
- workerName: z.string(),
353
+ worker: z.string(),
357
354
  streaming: z.boolean().optional()
358
355
  });
359
356
  const TriggerSchema = z.discriminatedUnion("type", [
@@ -432,30 +429,39 @@ const BaseWorkerSchema = z.strictObject({
432
429
  */
433
430
  const InputWorkerSchema = BaseWorkerSchema.extend({ entrypoint: z.union([z.string(), z.strictObject({ default: z.string() })]).transform((value) => typeof value === "string" ? value : value.default).optional() });
434
431
  /**
435
- * Settings schema — validates the named `settings` export of a
432
+ * Input settings schema — validates the named `settings` export of a
436
433
  * `cloudflare.config.ts`. Holds account/deployment settings shared by the other exports.
437
434
  */
438
- const SettingsSchema = z.strictObject({
435
+ const InputSettingsSchema = z.strictObject({
439
436
  type: z.literal("settings"),
440
437
  accountId: z.string().optional(),
441
438
  complianceRegion: z.enum(["public", "fedramp-high"]).optional()
442
439
  });
443
440
  /**
444
- * Discriminated union of the config kinds a single export may resolve to.
441
+ * Output settings schema — the shape of the top-level `config.json` in the
442
+ * Build Output Specification. Adds the `mode` the build was produced in.
445
443
  */
446
- const ConfigExportSchema = z.discriminatedUnion("type", [InputWorkerSchema, SettingsSchema]);
444
+ const OutputSettingsSchema = InputSettingsSchema.extend({ mode: z.string().optional() });
447
445
  const SETTINGS_EXPORT_NAME = "settings";
448
- /**
449
- * Schema for the resolved config exports, keyed by export
450
- * name. Each value is discriminated on its `type` field. Reserves the
451
- * `settings` export name exclusively for settings configs: a `settings`
452
- * config must live on the `settings` export, and the `settings` export
453
- * may only hold a `settings` config.
454
- */
455
- const ConfigExportsSchema = z.record(z.string(), ConfigExportSchema).check((ctx) => {
446
+ const SUPPORTED_EXPORT_TYPES = new Set(["worker", "settings"]);
447
+ function invalidConfigExportMessage(exportName) {
448
+ return `The \`${exportName}\` export is not a supported export type. Move constants, helper functions, and other unsupported exports to a separate module.`;
449
+ }
450
+ const ConfigExportsTypeSchema = z.record(z.string(), z.unknown()).check((ctx) => {
456
451
  for (const [key, value] of Object.entries(ctx.value)) {
452
+ const isObject = typeof value === "object" && value !== null;
453
+ const type = isObject && "type" in value ? value.type : void 0;
454
+ if (typeof type !== "string" || !SUPPORTED_EXPORT_TYPES.has(type)) {
455
+ ctx.issues.push({
456
+ code: "custom",
457
+ input: value,
458
+ path: isObject ? [key, "type"] : [key],
459
+ message: invalidConfigExportMessage(key)
460
+ });
461
+ continue;
462
+ }
457
463
  const isSettingsName = key === SETTINGS_EXPORT_NAME;
458
- const isSettingsType = value.type === "settings";
464
+ const isSettingsType = type === "settings";
459
465
  if (isSettingsType && !isSettingsName) ctx.issues.push({
460
466
  code: "custom",
461
467
  input: value,
@@ -466,10 +472,19 @@ const ConfigExportsSchema = z.record(z.string(), ConfigExportSchema).check((ctx)
466
472
  code: "custom",
467
473
  input: value,
468
474
  path: [key],
469
- message: `The \`${SETTINGS_EXPORT_NAME}\` export is reserved for a \`settings\` config; found a \`${value.type}\` config.`
475
+ message: `The \`${SETTINGS_EXPORT_NAME}\` export is reserved for a \`settings\` config; found a \`${type}\` config.`
470
476
  });
471
477
  }
472
478
  });
479
+ const ConfigExportsObjectSchema = z.object({ settings: InputSettingsSchema.optional() }).catchall(InputWorkerSchema);
480
+ /**
481
+ * Schema for the resolved config exports, keyed by export
482
+ * name. Each value is discriminated on its `type` field. Reserves the
483
+ * `settings` export name exclusively for settings configs: a `settings`
484
+ * config must live on the `settings` export, and the `settings` export
485
+ * may only hold a `settings` config.
486
+ */
487
+ const ConfigExportsSchema = ConfigExportsTypeSchema.pipe(ConfigExportsObjectSchema);
473
488
  const ModuleTypeSchema = z.enum([
474
489
  "esm",
475
490
  "cjs",
@@ -3215,27 +3230,27 @@ function convertBindingsAndAssets(config, result) {
3215
3230
  agentMemory.push(omitUndefined({
3216
3231
  binding: name,
3217
3232
  namespace: binding.namespace,
3218
- remote: binding.remote
3233
+ remote: binding.dev?.remote
3219
3234
  }));
3220
3235
  break;
3221
3236
  case "ai":
3222
3237
  result.ai = omitUndefined({
3223
3238
  binding: name,
3224
- remote: binding.remote
3239
+ remote: binding.dev?.remote
3225
3240
  });
3226
3241
  break;
3227
3242
  case "ai-search":
3228
3243
  aiSearch.push(omitUndefined({
3229
3244
  binding: name,
3230
3245
  instance_name: binding.name,
3231
- remote: binding.remote
3246
+ remote: binding.dev?.remote
3232
3247
  }));
3233
3248
  break;
3234
3249
  case "ai-search-namespace":
3235
3250
  aiSearchNamespaces.push(omitUndefined({
3236
3251
  binding: name,
3237
3252
  namespace: binding.namespace,
3238
- remote: binding.remote
3253
+ remote: binding.dev?.remote
3239
3254
  }));
3240
3255
  break;
3241
3256
  case "analytics-engine-dataset":
@@ -3248,7 +3263,7 @@ function convertBindingsAndAssets(config, result) {
3248
3263
  artifacts.push(omitUndefined({
3249
3264
  binding: name,
3250
3265
  namespace: binding.namespace,
3251
- remote: binding.remote
3266
+ remote: binding.dev?.remote
3252
3267
  }));
3253
3268
  break;
3254
3269
  case "assets":
@@ -3257,7 +3272,7 @@ function convertBindingsAndAssets(config, result) {
3257
3272
  case "browser":
3258
3273
  result.browser = omitUndefined({
3259
3274
  binding: name,
3260
- remote: binding.remote
3275
+ remote: binding.dev?.remote
3261
3276
  });
3262
3277
  break;
3263
3278
  case "d1":
@@ -3265,7 +3280,7 @@ function convertBindingsAndAssets(config, result) {
3265
3280
  binding: name,
3266
3281
  database_id: binding.id,
3267
3282
  database_name: binding.name,
3268
- remote: binding.remote
3283
+ remote: binding.dev?.remote
3269
3284
  }));
3270
3285
  break;
3271
3286
  case "dispatch-namespace": {
@@ -3274,10 +3289,10 @@ function convertBindingsAndAssets(config, result) {
3274
3289
  namespace: binding.namespace
3275
3290
  };
3276
3291
  if (binding.outbound) entry.outbound = omitUndefined({
3277
- service: binding.outbound.workerName,
3292
+ service: binding.outbound.worker,
3278
3293
  parameters: binding.outbound.parameters
3279
3294
  });
3280
- if (binding.remote !== void 0) entry.remote = binding.remote;
3295
+ if (binding.dev?.remote !== void 0) entry.remote = binding.dev.remote;
3281
3296
  dispatchNamespaces.push(entry);
3282
3297
  break;
3283
3298
  }
@@ -3285,27 +3300,27 @@ function convertBindingsAndAssets(config, result) {
3285
3300
  durableObjectBindings.push({
3286
3301
  name,
3287
3302
  class_name: binding.exportName,
3288
- script_name: binding.workerName
3303
+ script_name: binding.worker
3289
3304
  });
3290
3305
  break;
3291
3306
  case "flagship":
3292
3307
  flagship.push(omitUndefined({
3293
3308
  binding: name,
3294
3309
  app_id: binding.id,
3295
- remote: binding.remote
3310
+ remote: binding.dev?.remote
3296
3311
  }));
3297
3312
  break;
3298
3313
  case "hyperdrive":
3299
3314
  hyperdrive.push(omitUndefined({
3300
3315
  binding: name,
3301
3316
  id: binding.id,
3302
- localConnectionString: binding.localConnectionString
3317
+ localConnectionString: binding.dev?.connectionString
3303
3318
  }));
3304
3319
  break;
3305
3320
  case "images":
3306
3321
  result.images = omitUndefined({
3307
3322
  binding: name,
3308
- remote: binding.remote
3323
+ remote: binding.dev?.remote
3309
3324
  });
3310
3325
  break;
3311
3326
  case "json":
@@ -3315,7 +3330,7 @@ function convertBindingsAndAssets(config, result) {
3315
3330
  kvNamespaces.push(omitUndefined({
3316
3331
  binding: name,
3317
3332
  id: binding.id,
3318
- remote: binding.remote
3333
+ remote: binding.dev?.remote
3319
3334
  }));
3320
3335
  break;
3321
3336
  case "logfwdr":
@@ -3327,21 +3342,21 @@ function convertBindingsAndAssets(config, result) {
3327
3342
  case "media":
3328
3343
  result.media = omitUndefined({
3329
3344
  binding: name,
3330
- remote: binding.remote
3345
+ remote: binding.dev?.remote
3331
3346
  });
3332
3347
  break;
3333
3348
  case "mtls-certificate":
3334
3349
  mtlsCertificates.push(omitUndefined({
3335
3350
  binding: name,
3336
3351
  certificate_id: binding.id,
3337
- remote: binding.remote
3352
+ remote: binding.dev?.remote
3338
3353
  }));
3339
3354
  break;
3340
3355
  case "pipeline":
3341
3356
  pipelines.push(omitUndefined({
3342
3357
  binding: name,
3343
3358
  stream: binding.name,
3344
- remote: binding.remote
3359
+ remote: binding.dev?.remote
3345
3360
  }));
3346
3361
  break;
3347
3362
  case "queue":
@@ -3349,7 +3364,7 @@ function convertBindingsAndAssets(config, result) {
3349
3364
  binding: name,
3350
3365
  queue: binding.name,
3351
3366
  delivery_delay: binding.deliveryDelay,
3352
- remote: binding.remote
3367
+ remote: binding.dev?.remote
3353
3368
  }));
3354
3369
  break;
3355
3370
  case "rate-limit":
@@ -3360,12 +3375,12 @@ function convertBindingsAndAssets(config, result) {
3360
3375
  });
3361
3376
  break;
3362
3377
  case "r2": {
3363
- const experimentalS3Credentials = binding.localDev?.experimentalS3Credentials;
3378
+ const experimentalS3Credentials = binding.dev?.experimentalS3Credentials;
3364
3379
  r2Buckets.push(omitUndefined({
3365
3380
  binding: name,
3366
3381
  bucket_name: binding.name,
3367
3382
  jurisdiction: binding.jurisdiction,
3368
- remote: binding.remote,
3383
+ remote: binding.dev?.remote,
3369
3384
  local_dev: experimentalS3Credentials === void 0 ? void 0 : { experimental_s3_credentials: experimentalS3Credentials }
3370
3385
  }));
3371
3386
  break;
@@ -3386,13 +3401,13 @@ function convertBindingsAndAssets(config, result) {
3386
3401
  destination_address: binding.destinationAddress,
3387
3402
  allowed_destination_addresses: binding.allowedDestinationAddresses,
3388
3403
  allowed_sender_addresses: binding.allowedSenderAddresses,
3389
- remote: binding.remote
3404
+ remote: binding.dev?.remote
3390
3405
  }));
3391
3406
  break;
3392
3407
  case "stream":
3393
3408
  result.stream = omitUndefined({
3394
3409
  binding: name,
3395
- remote: binding.remote
3410
+ remote: binding.dev?.remote
3396
3411
  });
3397
3412
  break;
3398
3413
  case "text":
@@ -3402,7 +3417,7 @@ function convertBindingsAndAssets(config, result) {
3402
3417
  vectorize.push(omitUndefined({
3403
3418
  binding: name,
3404
3419
  index_name: binding.name,
3405
- remote: binding.remote
3420
+ remote: binding.dev?.remote
3406
3421
  }));
3407
3422
  break;
3408
3423
  case "version-metadata":
@@ -3412,34 +3427,34 @@ function convertBindingsAndAssets(config, result) {
3412
3427
  vpcServices.push(omitUndefined({
3413
3428
  binding: name,
3414
3429
  service_id: binding.id,
3415
- remote: binding.remote
3430
+ remote: binding.dev?.remote
3416
3431
  }));
3417
3432
  break;
3418
3433
  case "vpc-network":
3419
3434
  if (binding.tunnelId !== void 0) vpcNetworks.push(omitUndefined({
3420
3435
  binding: name,
3421
3436
  tunnel_id: binding.tunnelId,
3422
- remote: binding.remote
3437
+ remote: binding.dev?.remote
3423
3438
  }));
3424
3439
  else if (binding.networkId !== void 0) vpcNetworks.push(omitUndefined({
3425
3440
  binding: name,
3426
3441
  network_id: binding.networkId,
3427
- remote: binding.remote
3442
+ remote: binding.dev?.remote
3428
3443
  }));
3429
3444
  break;
3430
3445
  case "web-search":
3431
3446
  result.websearch = omitUndefined({
3432
3447
  binding: name,
3433
- remote: binding.remote
3448
+ remote: binding.dev?.remote
3434
3449
  });
3435
3450
  break;
3436
3451
  case "worker":
3437
3452
  services.push(omitUndefined({
3438
3453
  binding: name,
3439
- service: binding.workerName,
3454
+ service: binding.worker,
3440
3455
  entrypoint: binding.exportName,
3441
3456
  props: binding.props,
3442
- remote: binding.remote
3457
+ remote: binding.dev?.remote
3443
3458
  }));
3444
3459
  break;
3445
3460
  case "worker-loader":
@@ -3617,8 +3632,8 @@ function convertTailConsumers(config, result) {
3617
3632
  if (!consumers || consumers.length === 0) return;
3618
3633
  const tail = [];
3619
3634
  const streaming = [];
3620
- for (const consumer of consumers) if (consumer.streaming) streaming.push({ service: consumer.workerName });
3621
- 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 });
3622
3637
  if (tail.length) result.tail_consumers = tail;
3623
3638
  if (streaming.length) result.streaming_tail_consumers = streaming;
3624
3639
  }
@@ -3776,4 +3791,4 @@ async function loadAndValidateConfig(configPath, ctx, options) {
3776
3791
  }
3777
3792
 
3778
3793
  //#endregion
3779
- export { AnalyticsEngineDatasetBindingSchema, AssetsSchema, BindingSchema, BrowserBindingSchema, ConfigExportsSchema, D1BindingSchema, DurableObjectCreatedExportSchema, DurableObjectDeletedExportSchema, DurableObjectExpectingTransferExportSchema, DurableObjectRenamedExportSchema, DurableObjectTransferredExportSchema, ExportSchema, FlagshipBindingSchema, HyperdriveBindingSchema, InputWorkerSchema, KVBindingSchema, KnownBindingSchema, ModuleTypeSchema, OutputWorkerSchema, QueueBindingSchema, R2BindingSchema, SettingsSchema, TailConsumerSchema, UnsafeBindingSchema, WorkerBindingSchema, WorkerEntrypointExportSchema, bindings, convertToWranglerConfig, defineSettings, defineWorker, exports$1 as exports, generateTypes, loadAndValidateConfig, loadConfig, registerConfigHooks, resolveExportDefinition, triggers, validateSingletonBindings };
3794
+ export { AnalyticsEngineDatasetBindingSchema, AssetsSchema, BindingSchema, BrowserBindingSchema, ConfigExportsSchema, D1BindingSchema, DurableObjectCreatedExportSchema, DurableObjectDeletedExportSchema, DurableObjectExpectingTransferExportSchema, DurableObjectRenamedExportSchema, DurableObjectTransferredExportSchema, ExportSchema, FlagshipBindingSchema, HyperdriveBindingSchema, InputSettingsSchema, InputWorkerSchema, KVBindingSchema, KnownBindingSchema, ModuleTypeSchema, OutputSettingsSchema, OutputWorkerSchema, QueueBindingSchema, R2BindingSchema, TailConsumerSchema, UnsafeBindingSchema, WorkerBindingSchema, WorkerEntrypointExportSchema, bindings, convertToWranglerConfig, defineSettings, defineWorker, exports$1 as exports, generateTypes, loadAndValidateConfig, loadConfig, registerConfigHooks, resolveExportDefinition, triggers, validateSingletonBindings };