devflare 1.0.0-next.42 → 1.0.0-next.43

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.
Files changed (64) hide show
  1. package/dist/_chunks/{account-BtWcv3X9.js → account-BJmkb7cc.js} +1 -1
  2. package/dist/_chunks/{build-D1l6a5Il.js → build-BkgjOmfq.js} +1 -1
  3. package/dist/_chunks/{build-artifacts-BUaq16e4.js → build-artifacts-HPThCdGT.js} +4 -4
  4. package/dist/_chunks/{cli-CgFqrDZd.js → cli-5ME5-Ibv.js} +12 -12
  5. package/dist/_chunks/{command-utils-BsfkmTqh.js → command-utils-CY3-veEo.js} +1 -1
  6. package/dist/_chunks/{compiler-uoyAQ8zW.js → compiler-By9RWzea.js} +40 -15
  7. package/dist/_chunks/{config-D5u-bEkn.js → config-bUY5vBYw.js} +3 -3
  8. package/dist/_chunks/{config-path-DCPto4XB.js → config-path-HP5NIFbF.js} +1 -1
  9. package/dist/_chunks/{deploy-DIDoW5u1.js → deploy-BrVu07KN.js} +6 -6
  10. package/dist/_chunks/{dev-BTSSETUX.js → dev-BbvjuXRA.js} +10 -8
  11. package/dist/_chunks/{doctor-C0g8X36G.js → doctor-7upvzze6.js} +2 -2
  12. package/dist/_chunks/{family-DXC5SdFK.js → family-C9iQ6WtW.js} +1 -1
  13. package/dist/_chunks/{loader-DLXO60RO.js → loader-CQyvmFM2.js} +4 -4
  14. package/dist/_chunks/{local-secrets-DMmEOygL.js → local-secrets-Bmm87slY.js} +1 -1
  15. package/dist/_chunks/{local-workflow-entrypoints-Wip3o1u8.js → local-workflow-entrypoints-ZFHiVbnX.js} +1 -1
  16. package/dist/_chunks/{login-BmnDzDlH.js → login-2V8AfKeG.js} +1 -1
  17. package/dist/_chunks/{preview-BhqDmq8I.js → preview-C3Cdr8an.js} +9 -3
  18. package/dist/_chunks/{preview-resources-DdXj8LMM.js → preview-resources-DMieqto4.js} +5 -4
  19. package/dist/_chunks/{previews-Dlr13x5M.js → previews-BXPrXEU9.js} +7 -7
  20. package/dist/_chunks/{productions-D3AnOHac.js → productions-fLG19eus.js} +3 -3
  21. package/dist/_chunks/{routes-BWi7h2xb.js → routes-DKc39Vlu.js} +4 -4
  22. package/dist/_chunks/{schema-normalization-DWVleVxo.js → schema-normalization-CCPigJ7K.js} +104 -12
  23. package/dist/_chunks/{secrets-70eN0Q6C.js → secrets-D1RcG79F.js} +1 -1
  24. package/dist/_chunks/{types-BgA5Hb4B.js → types-BJjtDDzl.js} +3 -3
  25. package/dist/_chunks/{vite-BszZvrKL.js → vite-CrBFLqH3.js} +5 -5
  26. package/dist/_chunks/{worker-CS1jgNFE.js → worker-DO4hIcJA.js} +4 -4
  27. package/dist/bridge/miniflare.d.ts.map +1 -1
  28. package/dist/browser.d.ts +466 -36
  29. package/dist/browser.d.ts.map +1 -1
  30. package/dist/cli/commands/type-generation/generator.d.ts +3 -3
  31. package/dist/cli/commands/type-generation/generator.d.ts.map +1 -1
  32. package/dist/cli/index.js +1 -1
  33. package/dist/config/compiler/bindings.d.ts.map +1 -1
  34. package/dist/config/compiler/do-workers.d.ts.map +1 -1
  35. package/dist/config/compiler/types.d.ts +5 -0
  36. package/dist/config/compiler/types.d.ts.map +1 -1
  37. package/dist/config/deploy-resources.d.ts.map +1 -1
  38. package/dist/config/index.d.ts +1 -1
  39. package/dist/config/index.d.ts.map +1 -1
  40. package/dist/config/preview-resources.d.ts +1 -1
  41. package/dist/config/preview-resources.d.ts.map +1 -1
  42. package/dist/config/preview.d.ts.map +1 -1
  43. package/dist/config/schema-bindings.d.ts +326 -14
  44. package/dist/config/schema-bindings.d.ts.map +1 -1
  45. package/dist/config/schema-env.d.ts +328 -24
  46. package/dist/config/schema-env.d.ts.map +1 -1
  47. package/dist/config/schema-normalization.d.ts +39 -1
  48. package/dist/config/schema-normalization.d.ts.map +1 -1
  49. package/dist/config/schema-types-bindings-resources.d.ts +220 -3
  50. package/dist/config/schema-types-bindings-resources.d.ts.map +1 -1
  51. package/dist/config/schema-types-bindings.d.ts +2 -2
  52. package/dist/config/schema-types-bindings.d.ts.map +1 -1
  53. package/dist/config/schema.d.ts +587 -47
  54. package/dist/config/schema.d.ts.map +1 -1
  55. package/dist/config-entry.js +1 -1
  56. package/dist/dev-server/miniflare-bindings.d.ts.map +1 -1
  57. package/dist/dev-server/miniflare-worker-config.d.ts.map +1 -1
  58. package/dist/index.js +4 -4
  59. package/dist/sveltekit/index.js +3 -3
  60. package/dist/test/index.js +7 -7
  61. package/dist/test/resolve-service-bindings.d.ts.map +1 -1
  62. package/dist/test/simple-context-mfconfig.d.ts.map +1 -1
  63. package/dist/vite/index.js +1 -1
  64. package/package.json +1 -1
@@ -104,35 +104,95 @@ export declare const rootConfigShape: {
104
104
  /** Bindings to Cloudflare services. */
105
105
  readonly bindings: z.ZodOptional<z.ZodObject<{
106
106
  kv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
107
+ previewId: z.ZodOptional<z.ZodString>;
108
+ remote: z.ZodOptional<z.ZodBoolean>;
107
109
  id: z.ZodString;
108
110
  }, "strict", z.ZodTypeAny, {
111
+ previewId?: string | undefined;
112
+ remote?: boolean | undefined;
109
113
  id: string;
110
114
  }, {
115
+ previewId?: string | undefined;
116
+ remote?: boolean | undefined;
111
117
  id: string;
112
118
  }>, z.ZodObject<{
119
+ previewId: z.ZodOptional<z.ZodString>;
120
+ remote: z.ZodOptional<z.ZodBoolean>;
113
121
  name: z.ZodString;
114
122
  }, "strict", z.ZodTypeAny, {
123
+ previewId?: string | undefined;
124
+ remote?: boolean | undefined;
115
125
  name: string;
116
126
  }, {
127
+ previewId?: string | undefined;
128
+ remote?: boolean | undefined;
117
129
  name: string;
118
130
  }>]>>>;
119
131
  d1: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
132
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
133
+ migrationsTable: z.ZodOptional<z.ZodString>;
134
+ migrationsDir: z.ZodOptional<z.ZodString>;
135
+ remote: z.ZodOptional<z.ZodBoolean>;
120
136
  id: z.ZodString;
121
137
  }, "strict", z.ZodTypeAny, {
138
+ previewDatabaseId?: string | undefined;
139
+ migrationsTable?: string | undefined;
140
+ migrationsDir?: string | undefined;
141
+ remote?: boolean | undefined;
122
142
  id: string;
123
143
  }, {
144
+ previewDatabaseId?: string | undefined;
145
+ migrationsTable?: string | undefined;
146
+ migrationsDir?: string | undefined;
147
+ remote?: boolean | undefined;
124
148
  id: string;
125
149
  }>, z.ZodObject<{
150
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
151
+ migrationsTable: z.ZodOptional<z.ZodString>;
152
+ migrationsDir: z.ZodOptional<z.ZodString>;
153
+ remote: z.ZodOptional<z.ZodBoolean>;
126
154
  name: z.ZodString;
127
155
  }, "strict", z.ZodTypeAny, {
156
+ previewDatabaseId?: string | undefined;
157
+ migrationsTable?: string | undefined;
158
+ migrationsDir?: string | undefined;
159
+ remote?: boolean | undefined;
128
160
  name: string;
129
161
  }, {
162
+ previewDatabaseId?: string | undefined;
163
+ migrationsTable?: string | undefined;
164
+ migrationsDir?: string | undefined;
165
+ remote?: boolean | undefined;
130
166
  name: string;
131
167
  }>]>>>;
132
- r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
168
+ r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
169
+ bucketName: z.ZodString;
170
+ previewBucketName: z.ZodOptional<z.ZodString>;
171
+ jurisdiction: z.ZodOptional<z.ZodString>;
172
+ remote: z.ZodOptional<z.ZodBoolean>;
173
+ }, "strict", z.ZodTypeAny, {
174
+ bucketName: string;
175
+ previewBucketName?: string | undefined;
176
+ jurisdiction?: string | undefined;
177
+ remote?: boolean | undefined;
178
+ }, {
179
+ bucketName: string;
180
+ previewBucketName?: string | undefined;
181
+ jurisdiction?: string | undefined;
182
+ remote?: boolean | undefined;
183
+ }>]>>>;
133
184
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./schema-bindings.js").DurableObjectBindingInput, z.ZodTypeDef, import("./schema-bindings.js").DurableObjectBindingInput>>>;
134
185
  queues: z.ZodOptional<z.ZodObject<{
135
- producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
186
+ producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
187
+ queue: z.ZodString;
188
+ remote: z.ZodOptional<z.ZodBoolean>;
189
+ }, "strict", z.ZodTypeAny, {
190
+ queue: string;
191
+ remote?: boolean | undefined;
192
+ }, {
193
+ queue: string;
194
+ remote?: boolean | undefined;
195
+ }>]>>>;
136
196
  consumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
137
197
  queue: z.ZodString;
138
198
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
@@ -159,7 +219,10 @@ export declare const rootConfigShape: {
159
219
  retryDelay?: number | undefined;
160
220
  }>, "many">>;
161
221
  }, "strip", z.ZodTypeAny, {
162
- producers?: Record<string, string> | undefined;
222
+ producers?: Record<string, string | {
223
+ queue: string;
224
+ remote?: boolean | undefined;
225
+ }> | undefined;
163
226
  consumers?: {
164
227
  queue: string;
165
228
  maxBatchSize?: number | undefined;
@@ -170,7 +233,10 @@ export declare const rootConfigShape: {
170
233
  retryDelay?: number | undefined;
171
234
  }[] | undefined;
172
235
  }, {
173
- producers?: Record<string, string> | undefined;
236
+ producers?: Record<string, string | {
237
+ queue: string;
238
+ remote?: boolean | undefined;
239
+ }> | undefined;
174
240
  consumers?: {
175
241
  queue: string;
176
242
  maxBatchSize?: number | undefined;
@@ -228,11 +294,13 @@ export declare const rootConfigShape: {
228
294
  service: string;
229
295
  environment?: string;
230
296
  entrypoint?: string;
297
+ remote?: boolean;
231
298
  __ref?: unknown;
232
299
  }, z.ZodTypeDef, {
233
300
  service: string;
234
301
  environment?: string;
235
302
  entrypoint?: string;
303
+ remote?: boolean;
236
304
  __ref?: unknown;
237
305
  }>>>;
238
306
  ai: z.ZodOptional<z.ZodObject<{
@@ -470,19 +538,39 @@ export declare const rootConfigShape: {
470
538
  }>]>>>;
471
539
  }, "strip", z.ZodTypeAny, {
472
540
  kv?: Record<string, string | {
541
+ previewId?: string | undefined;
542
+ remote?: boolean | undefined;
473
543
  id: string;
474
544
  } | {
545
+ previewId?: string | undefined;
546
+ remote?: boolean | undefined;
475
547
  name: string;
476
548
  }> | undefined;
477
549
  d1?: Record<string, string | {
550
+ previewDatabaseId?: string | undefined;
551
+ migrationsTable?: string | undefined;
552
+ migrationsDir?: string | undefined;
553
+ remote?: boolean | undefined;
478
554
  id: string;
479
555
  } | {
556
+ previewDatabaseId?: string | undefined;
557
+ migrationsTable?: string | undefined;
558
+ migrationsDir?: string | undefined;
559
+ remote?: boolean | undefined;
480
560
  name: string;
481
561
  }> | undefined;
482
- r2?: Record<string, string> | undefined;
562
+ r2?: Record<string, string | {
563
+ bucketName: string;
564
+ previewBucketName?: string | undefined;
565
+ jurisdiction?: string | undefined;
566
+ remote?: boolean | undefined;
567
+ }> | undefined;
483
568
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
484
569
  queues?: {
485
- producers?: Record<string, string> | undefined;
570
+ producers?: Record<string, string | {
571
+ queue: string;
572
+ remote?: boolean | undefined;
573
+ }> | undefined;
486
574
  consumers?: {
487
575
  queue: string;
488
576
  maxBatchSize?: number | undefined;
@@ -512,6 +600,7 @@ export declare const rootConfigShape: {
512
600
  service: string;
513
601
  environment?: string;
514
602
  entrypoint?: string;
603
+ remote?: boolean;
515
604
  __ref?: unknown;
516
605
  }> | undefined;
517
606
  ai?: {
@@ -593,19 +682,39 @@ export declare const rootConfigShape: {
593
682
  }> | undefined;
594
683
  }, {
595
684
  kv?: Record<string, string | {
685
+ previewId?: string | undefined;
686
+ remote?: boolean | undefined;
596
687
  id: string;
597
688
  } | {
689
+ previewId?: string | undefined;
690
+ remote?: boolean | undefined;
598
691
  name: string;
599
692
  }> | undefined;
600
693
  d1?: Record<string, string | {
694
+ previewDatabaseId?: string | undefined;
695
+ migrationsTable?: string | undefined;
696
+ migrationsDir?: string | undefined;
697
+ remote?: boolean | undefined;
601
698
  id: string;
602
699
  } | {
700
+ previewDatabaseId?: string | undefined;
701
+ migrationsTable?: string | undefined;
702
+ migrationsDir?: string | undefined;
703
+ remote?: boolean | undefined;
603
704
  name: string;
604
705
  }> | undefined;
605
- r2?: Record<string, string> | undefined;
706
+ r2?: Record<string, string | {
707
+ bucketName: string;
708
+ previewBucketName?: string | undefined;
709
+ jurisdiction?: string | undefined;
710
+ remote?: boolean | undefined;
711
+ }> | undefined;
606
712
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
607
713
  queues?: {
608
- producers?: Record<string, string> | undefined;
714
+ producers?: Record<string, string | {
715
+ queue: string;
716
+ remote?: boolean | undefined;
717
+ }> | undefined;
609
718
  consumers?: {
610
719
  queue: string;
611
720
  maxBatchSize?: number | undefined;
@@ -635,6 +744,7 @@ export declare const rootConfigShape: {
635
744
  service: string;
636
745
  environment?: string;
637
746
  entrypoint?: string;
747
+ remote?: boolean;
638
748
  __ref?: unknown;
639
749
  }> | undefined;
640
750
  ai?: {
@@ -1136,35 +1246,95 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1136
1246
  }>>;
1137
1247
  bindings: z.ZodOptional<z.ZodObject<{
1138
1248
  kv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1249
+ previewId: z.ZodOptional<z.ZodString>;
1250
+ remote: z.ZodOptional<z.ZodBoolean>;
1139
1251
  id: z.ZodString;
1140
1252
  }, "strict", z.ZodTypeAny, {
1253
+ previewId?: string | undefined;
1254
+ remote?: boolean | undefined;
1141
1255
  id: string;
1142
1256
  }, {
1257
+ previewId?: string | undefined;
1258
+ remote?: boolean | undefined;
1143
1259
  id: string;
1144
1260
  }>, z.ZodObject<{
1261
+ previewId: z.ZodOptional<z.ZodString>;
1262
+ remote: z.ZodOptional<z.ZodBoolean>;
1145
1263
  name: z.ZodString;
1146
1264
  }, "strict", z.ZodTypeAny, {
1265
+ previewId?: string | undefined;
1266
+ remote?: boolean | undefined;
1147
1267
  name: string;
1148
1268
  }, {
1269
+ previewId?: string | undefined;
1270
+ remote?: boolean | undefined;
1149
1271
  name: string;
1150
1272
  }>]>>>;
1151
1273
  d1: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1274
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
1275
+ migrationsTable: z.ZodOptional<z.ZodString>;
1276
+ migrationsDir: z.ZodOptional<z.ZodString>;
1277
+ remote: z.ZodOptional<z.ZodBoolean>;
1152
1278
  id: z.ZodString;
1153
1279
  }, "strict", z.ZodTypeAny, {
1280
+ previewDatabaseId?: string | undefined;
1281
+ migrationsTable?: string | undefined;
1282
+ migrationsDir?: string | undefined;
1283
+ remote?: boolean | undefined;
1154
1284
  id: string;
1155
1285
  }, {
1286
+ previewDatabaseId?: string | undefined;
1287
+ migrationsTable?: string | undefined;
1288
+ migrationsDir?: string | undefined;
1289
+ remote?: boolean | undefined;
1156
1290
  id: string;
1157
1291
  }>, z.ZodObject<{
1292
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
1293
+ migrationsTable: z.ZodOptional<z.ZodString>;
1294
+ migrationsDir: z.ZodOptional<z.ZodString>;
1295
+ remote: z.ZodOptional<z.ZodBoolean>;
1158
1296
  name: z.ZodString;
1159
1297
  }, "strict", z.ZodTypeAny, {
1298
+ previewDatabaseId?: string | undefined;
1299
+ migrationsTable?: string | undefined;
1300
+ migrationsDir?: string | undefined;
1301
+ remote?: boolean | undefined;
1160
1302
  name: string;
1161
1303
  }, {
1304
+ previewDatabaseId?: string | undefined;
1305
+ migrationsTable?: string | undefined;
1306
+ migrationsDir?: string | undefined;
1307
+ remote?: boolean | undefined;
1162
1308
  name: string;
1163
1309
  }>]>>>;
1164
- r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1310
+ r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1311
+ bucketName: z.ZodString;
1312
+ previewBucketName: z.ZodOptional<z.ZodString>;
1313
+ jurisdiction: z.ZodOptional<z.ZodString>;
1314
+ remote: z.ZodOptional<z.ZodBoolean>;
1315
+ }, "strict", z.ZodTypeAny, {
1316
+ bucketName: string;
1317
+ previewBucketName?: string | undefined;
1318
+ jurisdiction?: string | undefined;
1319
+ remote?: boolean | undefined;
1320
+ }, {
1321
+ bucketName: string;
1322
+ previewBucketName?: string | undefined;
1323
+ jurisdiction?: string | undefined;
1324
+ remote?: boolean | undefined;
1325
+ }>]>>>;
1165
1326
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./schema-bindings.js").DurableObjectBindingInput, z.ZodTypeDef, import("./schema-bindings.js").DurableObjectBindingInput>>>;
1166
1327
  queues: z.ZodOptional<z.ZodObject<{
1167
- producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1328
+ producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1329
+ queue: z.ZodString;
1330
+ remote: z.ZodOptional<z.ZodBoolean>;
1331
+ }, "strict", z.ZodTypeAny, {
1332
+ queue: string;
1333
+ remote?: boolean | undefined;
1334
+ }, {
1335
+ queue: string;
1336
+ remote?: boolean | undefined;
1337
+ }>]>>>;
1168
1338
  consumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1169
1339
  queue: z.ZodString;
1170
1340
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
@@ -1191,7 +1361,10 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1191
1361
  retryDelay?: number | undefined;
1192
1362
  }>, "many">>;
1193
1363
  }, "strip", z.ZodTypeAny, {
1194
- producers?: Record<string, string> | undefined;
1364
+ producers?: Record<string, string | {
1365
+ queue: string;
1366
+ remote?: boolean | undefined;
1367
+ }> | undefined;
1195
1368
  consumers?: {
1196
1369
  queue: string;
1197
1370
  maxBatchSize?: number | undefined;
@@ -1202,7 +1375,10 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1202
1375
  retryDelay?: number | undefined;
1203
1376
  }[] | undefined;
1204
1377
  }, {
1205
- producers?: Record<string, string> | undefined;
1378
+ producers?: Record<string, string | {
1379
+ queue: string;
1380
+ remote?: boolean | undefined;
1381
+ }> | undefined;
1206
1382
  consumers?: {
1207
1383
  queue: string;
1208
1384
  maxBatchSize?: number | undefined;
@@ -1260,11 +1436,13 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1260
1436
  service: string;
1261
1437
  environment?: string;
1262
1438
  entrypoint?: string;
1439
+ remote?: boolean;
1263
1440
  __ref?: unknown;
1264
1441
  }, z.ZodTypeDef, {
1265
1442
  service: string;
1266
1443
  environment?: string;
1267
1444
  entrypoint?: string;
1445
+ remote?: boolean;
1268
1446
  __ref?: unknown;
1269
1447
  }>>>;
1270
1448
  ai: z.ZodOptional<z.ZodObject<{
@@ -1502,19 +1680,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1502
1680
  }>]>>>;
1503
1681
  }, "strip", z.ZodTypeAny, {
1504
1682
  kv?: Record<string, string | {
1683
+ previewId?: string | undefined;
1684
+ remote?: boolean | undefined;
1505
1685
  id: string;
1506
1686
  } | {
1687
+ previewId?: string | undefined;
1688
+ remote?: boolean | undefined;
1507
1689
  name: string;
1508
1690
  }> | undefined;
1509
1691
  d1?: Record<string, string | {
1692
+ previewDatabaseId?: string | undefined;
1693
+ migrationsTable?: string | undefined;
1694
+ migrationsDir?: string | undefined;
1695
+ remote?: boolean | undefined;
1510
1696
  id: string;
1511
1697
  } | {
1698
+ previewDatabaseId?: string | undefined;
1699
+ migrationsTable?: string | undefined;
1700
+ migrationsDir?: string | undefined;
1701
+ remote?: boolean | undefined;
1512
1702
  name: string;
1513
1703
  }> | undefined;
1514
- r2?: Record<string, string> | undefined;
1704
+ r2?: Record<string, string | {
1705
+ bucketName: string;
1706
+ previewBucketName?: string | undefined;
1707
+ jurisdiction?: string | undefined;
1708
+ remote?: boolean | undefined;
1709
+ }> | undefined;
1515
1710
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
1516
1711
  queues?: {
1517
- producers?: Record<string, string> | undefined;
1712
+ producers?: Record<string, string | {
1713
+ queue: string;
1714
+ remote?: boolean | undefined;
1715
+ }> | undefined;
1518
1716
  consumers?: {
1519
1717
  queue: string;
1520
1718
  maxBatchSize?: number | undefined;
@@ -1544,6 +1742,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1544
1742
  service: string;
1545
1743
  environment?: string;
1546
1744
  entrypoint?: string;
1745
+ remote?: boolean;
1547
1746
  __ref?: unknown;
1548
1747
  }> | undefined;
1549
1748
  ai?: {
@@ -1625,19 +1824,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1625
1824
  }> | undefined;
1626
1825
  }, {
1627
1826
  kv?: Record<string, string | {
1827
+ previewId?: string | undefined;
1828
+ remote?: boolean | undefined;
1628
1829
  id: string;
1629
1830
  } | {
1831
+ previewId?: string | undefined;
1832
+ remote?: boolean | undefined;
1630
1833
  name: string;
1631
1834
  }> | undefined;
1632
1835
  d1?: Record<string, string | {
1836
+ previewDatabaseId?: string | undefined;
1837
+ migrationsTable?: string | undefined;
1838
+ migrationsDir?: string | undefined;
1839
+ remote?: boolean | undefined;
1633
1840
  id: string;
1634
1841
  } | {
1842
+ previewDatabaseId?: string | undefined;
1843
+ migrationsTable?: string | undefined;
1844
+ migrationsDir?: string | undefined;
1845
+ remote?: boolean | undefined;
1635
1846
  name: string;
1636
1847
  }> | undefined;
1637
- r2?: Record<string, string> | undefined;
1848
+ r2?: Record<string, string | {
1849
+ bucketName: string;
1850
+ previewBucketName?: string | undefined;
1851
+ jurisdiction?: string | undefined;
1852
+ remote?: boolean | undefined;
1853
+ }> | undefined;
1638
1854
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
1639
1855
  queues?: {
1640
- producers?: Record<string, string> | undefined;
1856
+ producers?: Record<string, string | {
1857
+ queue: string;
1858
+ remote?: boolean | undefined;
1859
+ }> | undefined;
1641
1860
  consumers?: {
1642
1861
  queue: string;
1643
1862
  maxBatchSize?: number | undefined;
@@ -1667,6 +1886,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
1667
1886
  service: string;
1668
1887
  environment?: string;
1669
1888
  entrypoint?: string;
1889
+ remote?: boolean;
1670
1890
  __ref?: unknown;
1671
1891
  }> | undefined;
1672
1892
  ai?: {
@@ -2145,35 +2365,95 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2145
2365
  }>>>;
2146
2366
  readonly bindings: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2147
2367
  kv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2368
+ previewId: z.ZodOptional<z.ZodString>;
2369
+ remote: z.ZodOptional<z.ZodBoolean>;
2148
2370
  id: z.ZodString;
2149
2371
  }, "strict", z.ZodTypeAny, {
2372
+ previewId?: string | undefined;
2373
+ remote?: boolean | undefined;
2150
2374
  id: string;
2151
2375
  }, {
2376
+ previewId?: string | undefined;
2377
+ remote?: boolean | undefined;
2152
2378
  id: string;
2153
2379
  }>, z.ZodObject<{
2380
+ previewId: z.ZodOptional<z.ZodString>;
2381
+ remote: z.ZodOptional<z.ZodBoolean>;
2154
2382
  name: z.ZodString;
2155
2383
  }, "strict", z.ZodTypeAny, {
2384
+ previewId?: string | undefined;
2385
+ remote?: boolean | undefined;
2156
2386
  name: string;
2157
2387
  }, {
2388
+ previewId?: string | undefined;
2389
+ remote?: boolean | undefined;
2158
2390
  name: string;
2159
2391
  }>]>>>;
2160
2392
  d1: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2393
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
2394
+ migrationsTable: z.ZodOptional<z.ZodString>;
2395
+ migrationsDir: z.ZodOptional<z.ZodString>;
2396
+ remote: z.ZodOptional<z.ZodBoolean>;
2161
2397
  id: z.ZodString;
2162
2398
  }, "strict", z.ZodTypeAny, {
2399
+ previewDatabaseId?: string | undefined;
2400
+ migrationsTable?: string | undefined;
2401
+ migrationsDir?: string | undefined;
2402
+ remote?: boolean | undefined;
2163
2403
  id: string;
2164
2404
  }, {
2405
+ previewDatabaseId?: string | undefined;
2406
+ migrationsTable?: string | undefined;
2407
+ migrationsDir?: string | undefined;
2408
+ remote?: boolean | undefined;
2165
2409
  id: string;
2166
2410
  }>, z.ZodObject<{
2411
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
2412
+ migrationsTable: z.ZodOptional<z.ZodString>;
2413
+ migrationsDir: z.ZodOptional<z.ZodString>;
2414
+ remote: z.ZodOptional<z.ZodBoolean>;
2167
2415
  name: z.ZodString;
2168
2416
  }, "strict", z.ZodTypeAny, {
2417
+ previewDatabaseId?: string | undefined;
2418
+ migrationsTable?: string | undefined;
2419
+ migrationsDir?: string | undefined;
2420
+ remote?: boolean | undefined;
2169
2421
  name: string;
2170
2422
  }, {
2423
+ previewDatabaseId?: string | undefined;
2424
+ migrationsTable?: string | undefined;
2425
+ migrationsDir?: string | undefined;
2426
+ remote?: boolean | undefined;
2171
2427
  name: string;
2172
2428
  }>]>>>;
2173
- r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2429
+ r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2430
+ bucketName: z.ZodString;
2431
+ previewBucketName: z.ZodOptional<z.ZodString>;
2432
+ jurisdiction: z.ZodOptional<z.ZodString>;
2433
+ remote: z.ZodOptional<z.ZodBoolean>;
2434
+ }, "strict", z.ZodTypeAny, {
2435
+ bucketName: string;
2436
+ previewBucketName?: string | undefined;
2437
+ jurisdiction?: string | undefined;
2438
+ remote?: boolean | undefined;
2439
+ }, {
2440
+ bucketName: string;
2441
+ previewBucketName?: string | undefined;
2442
+ jurisdiction?: string | undefined;
2443
+ remote?: boolean | undefined;
2444
+ }>]>>>;
2174
2445
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./schema-bindings.js").DurableObjectBindingInput, z.ZodTypeDef, import("./schema-bindings.js").DurableObjectBindingInput>>>;
2175
2446
  queues: z.ZodOptional<z.ZodObject<{
2176
- producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2447
+ producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2448
+ queue: z.ZodString;
2449
+ remote: z.ZodOptional<z.ZodBoolean>;
2450
+ }, "strict", z.ZodTypeAny, {
2451
+ queue: string;
2452
+ remote?: boolean | undefined;
2453
+ }, {
2454
+ queue: string;
2455
+ remote?: boolean | undefined;
2456
+ }>]>>>;
2177
2457
  consumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2178
2458
  queue: z.ZodString;
2179
2459
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
@@ -2200,7 +2480,10 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2200
2480
  retryDelay?: number | undefined;
2201
2481
  }>, "many">>;
2202
2482
  }, "strip", z.ZodTypeAny, {
2203
- producers?: Record<string, string> | undefined;
2483
+ producers?: Record<string, string | {
2484
+ queue: string;
2485
+ remote?: boolean | undefined;
2486
+ }> | undefined;
2204
2487
  consumers?: {
2205
2488
  queue: string;
2206
2489
  maxBatchSize?: number | undefined;
@@ -2211,7 +2494,10 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2211
2494
  retryDelay?: number | undefined;
2212
2495
  }[] | undefined;
2213
2496
  }, {
2214
- producers?: Record<string, string> | undefined;
2497
+ producers?: Record<string, string | {
2498
+ queue: string;
2499
+ remote?: boolean | undefined;
2500
+ }> | undefined;
2215
2501
  consumers?: {
2216
2502
  queue: string;
2217
2503
  maxBatchSize?: number | undefined;
@@ -2269,11 +2555,13 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2269
2555
  service: string;
2270
2556
  environment?: string;
2271
2557
  entrypoint?: string;
2558
+ remote?: boolean;
2272
2559
  __ref?: unknown;
2273
2560
  }, z.ZodTypeDef, {
2274
2561
  service: string;
2275
2562
  environment?: string;
2276
2563
  entrypoint?: string;
2564
+ remote?: boolean;
2277
2565
  __ref?: unknown;
2278
2566
  }>>>;
2279
2567
  ai: z.ZodOptional<z.ZodObject<{
@@ -2511,19 +2799,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2511
2799
  }>]>>>;
2512
2800
  }, "strip", z.ZodTypeAny, {
2513
2801
  kv?: Record<string, string | {
2802
+ previewId?: string | undefined;
2803
+ remote?: boolean | undefined;
2514
2804
  id: string;
2515
2805
  } | {
2806
+ previewId?: string | undefined;
2807
+ remote?: boolean | undefined;
2516
2808
  name: string;
2517
2809
  }> | undefined;
2518
2810
  d1?: Record<string, string | {
2811
+ previewDatabaseId?: string | undefined;
2812
+ migrationsTable?: string | undefined;
2813
+ migrationsDir?: string | undefined;
2814
+ remote?: boolean | undefined;
2519
2815
  id: string;
2520
2816
  } | {
2817
+ previewDatabaseId?: string | undefined;
2818
+ migrationsTable?: string | undefined;
2819
+ migrationsDir?: string | undefined;
2820
+ remote?: boolean | undefined;
2521
2821
  name: string;
2522
2822
  }> | undefined;
2523
- r2?: Record<string, string> | undefined;
2823
+ r2?: Record<string, string | {
2824
+ bucketName: string;
2825
+ previewBucketName?: string | undefined;
2826
+ jurisdiction?: string | undefined;
2827
+ remote?: boolean | undefined;
2828
+ }> | undefined;
2524
2829
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
2525
2830
  queues?: {
2526
- producers?: Record<string, string> | undefined;
2831
+ producers?: Record<string, string | {
2832
+ queue: string;
2833
+ remote?: boolean | undefined;
2834
+ }> | undefined;
2527
2835
  consumers?: {
2528
2836
  queue: string;
2529
2837
  maxBatchSize?: number | undefined;
@@ -2553,6 +2861,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2553
2861
  service: string;
2554
2862
  environment?: string;
2555
2863
  entrypoint?: string;
2864
+ remote?: boolean;
2556
2865
  __ref?: unknown;
2557
2866
  }> | undefined;
2558
2867
  ai?: {
@@ -2634,19 +2943,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2634
2943
  }> | undefined;
2635
2944
  }, {
2636
2945
  kv?: Record<string, string | {
2946
+ previewId?: string | undefined;
2947
+ remote?: boolean | undefined;
2637
2948
  id: string;
2638
2949
  } | {
2950
+ previewId?: string | undefined;
2951
+ remote?: boolean | undefined;
2639
2952
  name: string;
2640
2953
  }> | undefined;
2641
2954
  d1?: Record<string, string | {
2955
+ previewDatabaseId?: string | undefined;
2956
+ migrationsTable?: string | undefined;
2957
+ migrationsDir?: string | undefined;
2958
+ remote?: boolean | undefined;
2642
2959
  id: string;
2643
2960
  } | {
2961
+ previewDatabaseId?: string | undefined;
2962
+ migrationsTable?: string | undefined;
2963
+ migrationsDir?: string | undefined;
2964
+ remote?: boolean | undefined;
2644
2965
  name: string;
2645
2966
  }> | undefined;
2646
- r2?: Record<string, string> | undefined;
2967
+ r2?: Record<string, string | {
2968
+ bucketName: string;
2969
+ previewBucketName?: string | undefined;
2970
+ jurisdiction?: string | undefined;
2971
+ remote?: boolean | undefined;
2972
+ }> | undefined;
2647
2973
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
2648
2974
  queues?: {
2649
- producers?: Record<string, string> | undefined;
2975
+ producers?: Record<string, string | {
2976
+ queue: string;
2977
+ remote?: boolean | undefined;
2978
+ }> | undefined;
2650
2979
  consumers?: {
2651
2980
  queue: string;
2652
2981
  maxBatchSize?: number | undefined;
@@ -2676,6 +3005,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
2676
3005
  service: string;
2677
3006
  environment?: string;
2678
3007
  entrypoint?: string;
3008
+ remote?: boolean;
2679
3009
  __ref?: unknown;
2680
3010
  }> | undefined;
2681
3011
  ai?: {
@@ -3093,19 +3423,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3093
3423
  } | undefined;
3094
3424
  bindings?: {
3095
3425
  kv?: Record<string, string | {
3426
+ previewId?: string | undefined;
3427
+ remote?: boolean | undefined;
3096
3428
  id: string;
3097
3429
  } | {
3430
+ previewId?: string | undefined;
3431
+ remote?: boolean | undefined;
3098
3432
  name: string;
3099
3433
  }> | undefined;
3100
3434
  d1?: Record<string, string | {
3435
+ previewDatabaseId?: string | undefined;
3436
+ migrationsTable?: string | undefined;
3437
+ migrationsDir?: string | undefined;
3438
+ remote?: boolean | undefined;
3101
3439
  id: string;
3102
3440
  } | {
3441
+ previewDatabaseId?: string | undefined;
3442
+ migrationsTable?: string | undefined;
3443
+ migrationsDir?: string | undefined;
3444
+ remote?: boolean | undefined;
3103
3445
  name: string;
3104
3446
  }> | undefined;
3105
- r2?: Record<string, string> | undefined;
3447
+ r2?: Record<string, string | {
3448
+ bucketName: string;
3449
+ previewBucketName?: string | undefined;
3450
+ jurisdiction?: string | undefined;
3451
+ remote?: boolean | undefined;
3452
+ }> | undefined;
3106
3453
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3107
3454
  queues?: {
3108
- producers?: Record<string, string> | undefined;
3455
+ producers?: Record<string, string | {
3456
+ queue: string;
3457
+ remote?: boolean | undefined;
3458
+ }> | undefined;
3109
3459
  consumers?: {
3110
3460
  queue: string;
3111
3461
  maxBatchSize?: number | undefined;
@@ -3135,6 +3485,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3135
3485
  service: string;
3136
3486
  environment?: string;
3137
3487
  entrypoint?: string;
3488
+ remote?: boolean;
3138
3489
  __ref?: unknown;
3139
3490
  }> | undefined;
3140
3491
  ai?: {
@@ -3346,19 +3697,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3346
3697
  } | undefined;
3347
3698
  bindings?: {
3348
3699
  kv?: Record<string, string | {
3700
+ previewId?: string | undefined;
3701
+ remote?: boolean | undefined;
3349
3702
  id: string;
3350
3703
  } | {
3704
+ previewId?: string | undefined;
3705
+ remote?: boolean | undefined;
3351
3706
  name: string;
3352
3707
  }> | undefined;
3353
3708
  d1?: Record<string, string | {
3709
+ previewDatabaseId?: string | undefined;
3710
+ migrationsTable?: string | undefined;
3711
+ migrationsDir?: string | undefined;
3712
+ remote?: boolean | undefined;
3354
3713
  id: string;
3355
3714
  } | {
3715
+ previewDatabaseId?: string | undefined;
3716
+ migrationsTable?: string | undefined;
3717
+ migrationsDir?: string | undefined;
3718
+ remote?: boolean | undefined;
3356
3719
  name: string;
3357
3720
  }> | undefined;
3358
- r2?: Record<string, string> | undefined;
3721
+ r2?: Record<string, string | {
3722
+ bucketName: string;
3723
+ previewBucketName?: string | undefined;
3724
+ jurisdiction?: string | undefined;
3725
+ remote?: boolean | undefined;
3726
+ }> | undefined;
3359
3727
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3360
3728
  queues?: {
3361
- producers?: Record<string, string> | undefined;
3729
+ producers?: Record<string, string | {
3730
+ queue: string;
3731
+ remote?: boolean | undefined;
3732
+ }> | undefined;
3362
3733
  consumers?: {
3363
3734
  queue: string;
3364
3735
  maxBatchSize?: number | undefined;
@@ -3388,6 +3759,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3388
3759
  service: string;
3389
3760
  environment?: string;
3390
3761
  entrypoint?: string;
3762
+ remote?: boolean;
3391
3763
  __ref?: unknown;
3392
3764
  }> | undefined;
3393
3765
  ai?: {
@@ -3601,19 +3973,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3601
3973
  } | undefined;
3602
3974
  bindings?: {
3603
3975
  kv?: Record<string, string | {
3976
+ previewId?: string | undefined;
3977
+ remote?: boolean | undefined;
3604
3978
  id: string;
3605
3979
  } | {
3980
+ previewId?: string | undefined;
3981
+ remote?: boolean | undefined;
3606
3982
  name: string;
3607
3983
  }> | undefined;
3608
3984
  d1?: Record<string, string | {
3985
+ previewDatabaseId?: string | undefined;
3986
+ migrationsTable?: string | undefined;
3987
+ migrationsDir?: string | undefined;
3988
+ remote?: boolean | undefined;
3609
3989
  id: string;
3610
3990
  } | {
3991
+ previewDatabaseId?: string | undefined;
3992
+ migrationsTable?: string | undefined;
3993
+ migrationsDir?: string | undefined;
3994
+ remote?: boolean | undefined;
3611
3995
  name: string;
3612
3996
  }> | undefined;
3613
- r2?: Record<string, string> | undefined;
3997
+ r2?: Record<string, string | {
3998
+ bucketName: string;
3999
+ previewBucketName?: string | undefined;
4000
+ jurisdiction?: string | undefined;
4001
+ remote?: boolean | undefined;
4002
+ }> | undefined;
3614
4003
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3615
4004
  queues?: {
3616
- producers?: Record<string, string> | undefined;
4005
+ producers?: Record<string, string | {
4006
+ queue: string;
4007
+ remote?: boolean | undefined;
4008
+ }> | undefined;
3617
4009
  consumers?: {
3618
4010
  queue: string;
3619
4011
  maxBatchSize?: number | undefined;
@@ -3643,6 +4035,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3643
4035
  service: string;
3644
4036
  environment?: string;
3645
4037
  entrypoint?: string;
4038
+ remote?: boolean;
3646
4039
  __ref?: unknown;
3647
4040
  }> | undefined;
3648
4041
  ai?: {
@@ -3860,19 +4253,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3860
4253
  } | undefined;
3861
4254
  bindings?: {
3862
4255
  kv?: Record<string, string | {
4256
+ previewId?: string | undefined;
4257
+ remote?: boolean | undefined;
3863
4258
  id: string;
3864
4259
  } | {
4260
+ previewId?: string | undefined;
4261
+ remote?: boolean | undefined;
3865
4262
  name: string;
3866
4263
  }> | undefined;
3867
4264
  d1?: Record<string, string | {
4265
+ previewDatabaseId?: string | undefined;
4266
+ migrationsTable?: string | undefined;
4267
+ migrationsDir?: string | undefined;
4268
+ remote?: boolean | undefined;
3868
4269
  id: string;
3869
4270
  } | {
4271
+ previewDatabaseId?: string | undefined;
4272
+ migrationsTable?: string | undefined;
4273
+ migrationsDir?: string | undefined;
4274
+ remote?: boolean | undefined;
3870
4275
  name: string;
3871
4276
  }> | undefined;
3872
- r2?: Record<string, string> | undefined;
4277
+ r2?: Record<string, string | {
4278
+ bucketName: string;
4279
+ previewBucketName?: string | undefined;
4280
+ jurisdiction?: string | undefined;
4281
+ remote?: boolean | undefined;
4282
+ }> | undefined;
3873
4283
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3874
4284
  queues?: {
3875
- producers?: Record<string, string> | undefined;
4285
+ producers?: Record<string, string | {
4286
+ queue: string;
4287
+ remote?: boolean | undefined;
4288
+ }> | undefined;
3876
4289
  consumers?: {
3877
4290
  queue: string;
3878
4291
  maxBatchSize?: number | undefined;
@@ -3902,6 +4315,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
3902
4315
  service: string;
3903
4316
  environment?: string;
3904
4317
  entrypoint?: string;
4318
+ remote?: boolean;
3905
4319
  __ref?: unknown;
3906
4320
  }> | undefined;
3907
4321
  ai?: {
@@ -4115,19 +4529,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4115
4529
  } | undefined;
4116
4530
  bindings?: {
4117
4531
  kv?: Record<string, string | {
4532
+ previewId?: string | undefined;
4533
+ remote?: boolean | undefined;
4118
4534
  id: string;
4119
4535
  } | {
4536
+ previewId?: string | undefined;
4537
+ remote?: boolean | undefined;
4120
4538
  name: string;
4121
4539
  }> | undefined;
4122
4540
  d1?: Record<string, string | {
4541
+ previewDatabaseId?: string | undefined;
4542
+ migrationsTable?: string | undefined;
4543
+ migrationsDir?: string | undefined;
4544
+ remote?: boolean | undefined;
4123
4545
  id: string;
4124
4546
  } | {
4547
+ previewDatabaseId?: string | undefined;
4548
+ migrationsTable?: string | undefined;
4549
+ migrationsDir?: string | undefined;
4550
+ remote?: boolean | undefined;
4125
4551
  name: string;
4126
4552
  }> | undefined;
4127
- r2?: Record<string, string> | undefined;
4553
+ r2?: Record<string, string | {
4554
+ bucketName: string;
4555
+ previewBucketName?: string | undefined;
4556
+ jurisdiction?: string | undefined;
4557
+ remote?: boolean | undefined;
4558
+ }> | undefined;
4128
4559
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
4129
4560
  queues?: {
4130
- producers?: Record<string, string> | undefined;
4561
+ producers?: Record<string, string | {
4562
+ queue: string;
4563
+ remote?: boolean | undefined;
4564
+ }> | undefined;
4131
4565
  consumers?: {
4132
4566
  queue: string;
4133
4567
  maxBatchSize?: number | undefined;
@@ -4157,6 +4591,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4157
4591
  service: string;
4158
4592
  environment?: string;
4159
4593
  entrypoint?: string;
4594
+ remote?: boolean;
4160
4595
  __ref?: unknown;
4161
4596
  }> | undefined;
4162
4597
  ai?: {
@@ -4374,19 +4809,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4374
4809
  } | undefined;
4375
4810
  bindings?: {
4376
4811
  kv?: Record<string, string | {
4812
+ previewId?: string | undefined;
4813
+ remote?: boolean | undefined;
4377
4814
  id: string;
4378
4815
  } | {
4816
+ previewId?: string | undefined;
4817
+ remote?: boolean | undefined;
4379
4818
  name: string;
4380
4819
  }> | undefined;
4381
4820
  d1?: Record<string, string | {
4821
+ previewDatabaseId?: string | undefined;
4822
+ migrationsTable?: string | undefined;
4823
+ migrationsDir?: string | undefined;
4824
+ remote?: boolean | undefined;
4382
4825
  id: string;
4383
4826
  } | {
4827
+ previewDatabaseId?: string | undefined;
4828
+ migrationsTable?: string | undefined;
4829
+ migrationsDir?: string | undefined;
4830
+ remote?: boolean | undefined;
4384
4831
  name: string;
4385
4832
  }> | undefined;
4386
- r2?: Record<string, string> | undefined;
4833
+ r2?: Record<string, string | {
4834
+ bucketName: string;
4835
+ previewBucketName?: string | undefined;
4836
+ jurisdiction?: string | undefined;
4837
+ remote?: boolean | undefined;
4838
+ }> | undefined;
4387
4839
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
4388
4840
  queues?: {
4389
- producers?: Record<string, string> | undefined;
4841
+ producers?: Record<string, string | {
4842
+ queue: string;
4843
+ remote?: boolean | undefined;
4844
+ }> | undefined;
4390
4845
  consumers?: {
4391
4846
  queue: string;
4392
4847
  maxBatchSize?: number | undefined;
@@ -4416,6 +4871,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4416
4871
  service: string;
4417
4872
  environment?: string;
4418
4873
  entrypoint?: string;
4874
+ remote?: boolean;
4419
4875
  __ref?: unknown;
4420
4876
  }> | undefined;
4421
4877
  ai?: {
@@ -4629,19 +5085,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4629
5085
  } | undefined;
4630
5086
  bindings?: {
4631
5087
  kv?: Record<string, string | {
5088
+ previewId?: string | undefined;
5089
+ remote?: boolean | undefined;
4632
5090
  id: string;
4633
5091
  } | {
5092
+ previewId?: string | undefined;
5093
+ remote?: boolean | undefined;
4634
5094
  name: string;
4635
5095
  }> | undefined;
4636
5096
  d1?: Record<string, string | {
5097
+ previewDatabaseId?: string | undefined;
5098
+ migrationsTable?: string | undefined;
5099
+ migrationsDir?: string | undefined;
5100
+ remote?: boolean | undefined;
4637
5101
  id: string;
4638
5102
  } | {
5103
+ previewDatabaseId?: string | undefined;
5104
+ migrationsTable?: string | undefined;
5105
+ migrationsDir?: string | undefined;
5106
+ remote?: boolean | undefined;
4639
5107
  name: string;
4640
5108
  }> | undefined;
4641
- r2?: Record<string, string> | undefined;
5109
+ r2?: Record<string, string | {
5110
+ bucketName: string;
5111
+ previewBucketName?: string | undefined;
5112
+ jurisdiction?: string | undefined;
5113
+ remote?: boolean | undefined;
5114
+ }> | undefined;
4642
5115
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
4643
5116
  queues?: {
4644
- producers?: Record<string, string> | undefined;
5117
+ producers?: Record<string, string | {
5118
+ queue: string;
5119
+ remote?: boolean | undefined;
5120
+ }> | undefined;
4645
5121
  consumers?: {
4646
5122
  queue: string;
4647
5123
  maxBatchSize?: number | undefined;
@@ -4671,6 +5147,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4671
5147
  service: string;
4672
5148
  environment?: string;
4673
5149
  entrypoint?: string;
5150
+ remote?: boolean;
4674
5151
  __ref?: unknown;
4675
5152
  }> | undefined;
4676
5153
  ai?: {
@@ -4888,19 +5365,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4888
5365
  } | undefined;
4889
5366
  bindings?: {
4890
5367
  kv?: Record<string, string | {
5368
+ previewId?: string | undefined;
5369
+ remote?: boolean | undefined;
4891
5370
  id: string;
4892
5371
  } | {
5372
+ previewId?: string | undefined;
5373
+ remote?: boolean | undefined;
4893
5374
  name: string;
4894
5375
  }> | undefined;
4895
5376
  d1?: Record<string, string | {
5377
+ previewDatabaseId?: string | undefined;
5378
+ migrationsTable?: string | undefined;
5379
+ migrationsDir?: string | undefined;
5380
+ remote?: boolean | undefined;
4896
5381
  id: string;
4897
5382
  } | {
5383
+ previewDatabaseId?: string | undefined;
5384
+ migrationsTable?: string | undefined;
5385
+ migrationsDir?: string | undefined;
5386
+ remote?: boolean | undefined;
4898
5387
  name: string;
4899
5388
  }> | undefined;
4900
- r2?: Record<string, string> | undefined;
5389
+ r2?: Record<string, string | {
5390
+ bucketName: string;
5391
+ previewBucketName?: string | undefined;
5392
+ jurisdiction?: string | undefined;
5393
+ remote?: boolean | undefined;
5394
+ }> | undefined;
4901
5395
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
4902
5396
  queues?: {
4903
- producers?: Record<string, string> | undefined;
5397
+ producers?: Record<string, string | {
5398
+ queue: string;
5399
+ remote?: boolean | undefined;
5400
+ }> | undefined;
4904
5401
  consumers?: {
4905
5402
  queue: string;
4906
5403
  maxBatchSize?: number | undefined;
@@ -4930,6 +5427,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
4930
5427
  service: string;
4931
5428
  environment?: string;
4932
5429
  entrypoint?: string;
5430
+ remote?: boolean;
4933
5431
  __ref?: unknown;
4934
5432
  }> | undefined;
4935
5433
  ai?: {
@@ -5143,19 +5641,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
5143
5641
  } | undefined;
5144
5642
  bindings?: {
5145
5643
  kv?: Record<string, string | {
5644
+ previewId?: string | undefined;
5645
+ remote?: boolean | undefined;
5146
5646
  id: string;
5147
5647
  } | {
5648
+ previewId?: string | undefined;
5649
+ remote?: boolean | undefined;
5148
5650
  name: string;
5149
5651
  }> | undefined;
5150
5652
  d1?: Record<string, string | {
5653
+ previewDatabaseId?: string | undefined;
5654
+ migrationsTable?: string | undefined;
5655
+ migrationsDir?: string | undefined;
5656
+ remote?: boolean | undefined;
5151
5657
  id: string;
5152
5658
  } | {
5659
+ previewDatabaseId?: string | undefined;
5660
+ migrationsTable?: string | undefined;
5661
+ migrationsDir?: string | undefined;
5662
+ remote?: boolean | undefined;
5153
5663
  name: string;
5154
5664
  }> | undefined;
5155
- r2?: Record<string, string> | undefined;
5665
+ r2?: Record<string, string | {
5666
+ bucketName: string;
5667
+ previewBucketName?: string | undefined;
5668
+ jurisdiction?: string | undefined;
5669
+ remote?: boolean | undefined;
5670
+ }> | undefined;
5156
5671
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
5157
5672
  queues?: {
5158
- producers?: Record<string, string> | undefined;
5673
+ producers?: Record<string, string | {
5674
+ queue: string;
5675
+ remote?: boolean | undefined;
5676
+ }> | undefined;
5159
5677
  consumers?: {
5160
5678
  queue: string;
5161
5679
  maxBatchSize?: number | undefined;
@@ -5185,6 +5703,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
5185
5703
  service: string;
5186
5704
  environment?: string;
5187
5705
  entrypoint?: string;
5706
+ remote?: boolean;
5188
5707
  __ref?: unknown;
5189
5708
  }> | undefined;
5190
5709
  ai?: {
@@ -5402,19 +5921,39 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
5402
5921
  } | undefined;
5403
5922
  bindings?: {
5404
5923
  kv?: Record<string, string | {
5924
+ previewId?: string | undefined;
5925
+ remote?: boolean | undefined;
5405
5926
  id: string;
5406
5927
  } | {
5928
+ previewId?: string | undefined;
5929
+ remote?: boolean | undefined;
5407
5930
  name: string;
5408
5931
  }> | undefined;
5409
5932
  d1?: Record<string, string | {
5933
+ previewDatabaseId?: string | undefined;
5934
+ migrationsTable?: string | undefined;
5935
+ migrationsDir?: string | undefined;
5936
+ remote?: boolean | undefined;
5410
5937
  id: string;
5411
5938
  } | {
5939
+ previewDatabaseId?: string | undefined;
5940
+ migrationsTable?: string | undefined;
5941
+ migrationsDir?: string | undefined;
5942
+ remote?: boolean | undefined;
5412
5943
  name: string;
5413
5944
  }> | undefined;
5414
- r2?: Record<string, string> | undefined;
5945
+ r2?: Record<string, string | {
5946
+ bucketName: string;
5947
+ previewBucketName?: string | undefined;
5948
+ jurisdiction?: string | undefined;
5949
+ remote?: boolean | undefined;
5950
+ }> | undefined;
5415
5951
  durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
5416
5952
  queues?: {
5417
- producers?: Record<string, string> | undefined;
5953
+ producers?: Record<string, string | {
5954
+ queue: string;
5955
+ remote?: boolean | undefined;
5956
+ }> | undefined;
5418
5957
  consumers?: {
5419
5958
  queue: string;
5420
5959
  maxBatchSize?: number | undefined;
@@ -5444,6 +5983,7 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
5444
5983
  service: string;
5445
5984
  environment?: string;
5446
5985
  entrypoint?: string;
5986
+ remote?: boolean;
5447
5987
  __ref?: unknown;
5448
5988
  }> | undefined;
5449
5989
  ai?: {
@@ -5632,10 +6172,10 @@ export declare const configSchema: z.ZodEffects<z.ZodObject<{
5632
6172
  export type DevflareConfig = z.output<typeof configSchema>;
5633
6173
  export type { AiBindingInput, AiSearchInstanceBindingInput, AiSearchNamespaceBindingInput, AnalyticsBindingInput, ArtifactsBindingInput, ArtifactsBindingObjectInput, AssetsConfigInput, BindingsConfigInput, BrowserBindingInput, BrowserBindingObjectInput, ContainerConfigInput, D1BindingByIdInput, D1BindingByNameInput, D1BindingInput, DevflareConfigInput, DevflareEnvConfigInput, DispatchNamespaceBindingInput, DispatchNamespaceBindingObjectInput, DispatchNamespaceOutboundInput, DurableObjectBindingInput, DurableObjectBindingObjectInput, FilesConfigInput, HyperdriveBindingByIdInput, HyperdriveBindingByNameInput, HyperdriveBindingInput, ImagesBindingInput, ImagesBindingObjectInput, KVBindingByIdInput, KVBindingByNameInput, KVBindingInput, LimitsConfigInput, MediaBindingInput, MediaBindingObjectInput, MigrationConfigInput, ModuleRuleConfigInput, MtlsCertificateBindingByIdInput, MtlsCertificateBindingByWranglerIdInput, MtlsCertificateBindingInput, ObservabilityConfigInput, ObservabilityLogsConfigInput, ObservabilityTracesConfigInput, PipelineBindingInput, PipelineBindingObjectInput, PlacementConfigInput, PreviewConfigInput, QueueConsumerInput, QueuesConfigInput, RateLimitBindingInput, RateLimitSimpleInput, RenamedClassMigrationInput, RolldownConfigInput, RouteConfigInput, RouteTreeConfigInput, SecretConfigInput, SecretsStoreBindingInput, SecretsStoreBindingObjectInput, SendEmailBindingInput, ServerConfigInput, ServiceBindingInput, SmartPlacementConfigInput, TailConsumerConfigInput, TailConsumerObjectConfigInput, TargetedHostPlacementConfigInput, TargetedHostnamePlacementConfigInput, TargetedRegionPlacementConfigInput, TriggersConfigInput, VectorizeBindingInput, VersionMetadataBindingInput, ViteConfigInput, WorkflowBindingInput, WorkflowLimitsInput, WorkerLoaderBindingInput, WranglerConfigInput, WsRouteConfigInput } from './schema-types.js';
5634
6174
  export type { DevflareRolldownOptions, DevflareRolldownOutputOptions, RolldownConfig, ViteConfig } from './schema-build.js';
5635
- export type { BrowserBindings, D1Binding, DurableObjectBinding, HyperdriveBinding, KVBinding, QueueConsumer, QueuesConfig, RateLimitBinding, VersionMetadataBinding, WorkerLoaderBinding, SecretsStoreBinding, DispatchNamespaceBinding, WorkflowBinding, PipelineBinding, ImagesBinding, MediaBinding, ArtifactsBinding, ServiceBinding, MtlsCertificateBinding } from './schema-bindings.js';
6175
+ export type { BrowserBindings, D1Binding, DurableObjectBinding, HyperdriveBinding, KVBinding, R2Binding, QueueProducer, QueueConsumer, QueuesConfig, RateLimitBinding, VersionMetadataBinding, WorkerLoaderBinding, SecretsStoreBinding, DispatchNamespaceBinding, WorkflowBinding, PipelineBinding, ImagesBinding, MediaBinding, ArtifactsBinding, ServiceBinding, MtlsCertificateBinding } from './schema-bindings.js';
5636
6176
  export type { DevflareEnvConfig } from './schema-env.js';
5637
6177
  export type { AssetsConfig, ContainerConfig, MigrationConfig, ModuleRuleConfig, PlacementConfig, PreviewConfig, RouteConfig, ServerConfig, TailConsumerConfig, WsRouteConfig } from './schema-runtime.js';
5638
- export type { NormalizedD1Binding, NormalizedDispatchNamespaceBinding, NormalizedDOBinding, NormalizedHyperdriveBinding, NormalizedKVBinding, NormalizedMtlsCertificateBinding, NormalizedWorkflowBinding, NormalizedPipelineBinding, NormalizedImagesBinding, NormalizedMediaBinding, NormalizedArtifactsBinding, NormalizedSecretsStoreBinding } from './schema-normalization.js';
5639
- export { getLocalD1DatabaseIdentifier, getLocalHyperdriveConfigIdentifier, getLocalKVNamespaceIdentifier, getSingleBrowserBindingName, normalizeD1Binding, normalizeDispatchNamespaceBinding, normalizeDOBinding, normalizeHyperdriveBinding, normalizeKVBinding, normalizeMtlsCertificateBinding, normalizeWorkflowBinding, normalizePipelineBinding, normalizeImagesBinding, normalizeMediaBinding, normalizeSecretsStoreBinding, normalizeArtifactsBinding } from './schema-normalization.js';
6178
+ export type { NormalizedD1Binding, NormalizedDispatchNamespaceBinding, NormalizedDOBinding, NormalizedHyperdriveBinding, NormalizedKVBinding, NormalizedR2Binding, NormalizedQueueProducer, NormalizedMtlsCertificateBinding, NormalizedWorkflowBinding, NormalizedPipelineBinding, NormalizedImagesBinding, NormalizedMediaBinding, NormalizedArtifactsBinding, NormalizedSecretsStoreBinding } from './schema-normalization.js';
6179
+ export { getLocalD1DatabaseIdentifier, getLocalHyperdriveConfigIdentifier, getLocalKVNamespaceIdentifier, getSingleBrowserBindingName, normalizeD1Binding, normalizeDispatchNamespaceBinding, normalizeDOBinding, normalizeHyperdriveBinding, normalizeKVBinding, normalizeR2Binding, normalizeQueueProducer, normalizeMtlsCertificateBinding, normalizeWorkflowBinding, normalizePipelineBinding, normalizeImagesBinding, normalizeMediaBinding, normalizeSecretsStoreBinding, normalizeArtifactsBinding } from './schema-normalization.js';
5640
6180
  export { browserBindingSchema, formatBrowserBindingLimitMessage } from './schema-bindings.js';
5641
6181
  //# sourceMappingURL=schema.d.ts.map