devflare 1.0.0-next.5 → 1.0.0-next.50

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 (594) hide show
  1. package/LICENSE +21 -0
  2. package/LLM.md +17312 -2139
  3. package/README.md +394 -605
  4. package/bin/devflare.js +30 -14
  5. package/dist/_chunks/account-BI3WZMDy.js +462 -0
  6. package/dist/_chunks/account-resources-CsmVowJp.js +159 -0
  7. package/dist/_chunks/ai-CBEuLdoP.js +322 -0
  8. package/dist/_chunks/api-TzdliH-6.js +568 -0
  9. package/dist/_chunks/build-artifacts-DU5V0J0Z.js +483 -0
  10. package/dist/_chunks/build-e0KR38-4.js +24 -0
  11. package/dist/_chunks/cli-DuUz10Mn.js +1163 -0
  12. package/dist/_chunks/cloudflare-BaloqI3H.js +157 -0
  13. package/dist/_chunks/colors-DiK6wPJ5.js +13 -0
  14. package/dist/_chunks/command-utils-DA0Qx9_K.js +45 -0
  15. package/dist/_chunks/compiler-Zw16C9Pi.js +489 -0
  16. package/dist/_chunks/config-Brju62xy.js +78 -0
  17. package/dist/_chunks/config-path-DaL1ylZ_.js +42 -0
  18. package/dist/_chunks/context-CX50Y2Kb.js +2250 -0
  19. package/dist/_chunks/decorators-QmV57ixr.js +19 -0
  20. package/dist/_chunks/dependencies-C2oxFjU_.js +57 -0
  21. package/dist/_chunks/deploy-B-Kku1Vk.js +1032 -0
  22. package/dist/_chunks/dev-D4e_RRZn.js +3471 -0
  23. package/dist/_chunks/doctor-jm_K4dxL.js +219 -0
  24. package/dist/_chunks/durable-object-DMtH0XYX.js +234 -0
  25. package/dist/_chunks/env-S0_nMVz1.js +125 -0
  26. package/dist/_chunks/family-_9-mGSfO.js +143 -0
  27. package/dist/_chunks/generated-artifacts-dMJY4KAt.js +32 -0
  28. package/dist/_chunks/glob-CmQOvunB.js +56 -0
  29. package/dist/_chunks/init-DnkJOmpW.js +165 -0
  30. package/dist/_chunks/loader-Cr0_OWPy.js +1288 -0
  31. package/dist/_chunks/local-dev-vars-CTSa-wvF.js +81 -0
  32. package/dist/_chunks/local-hyperdrive-CJ90j46O.js +119 -0
  33. package/dist/_chunks/local-media-bindings-DsAW4AMF.js +335 -0
  34. package/dist/_chunks/local-secrets-DMPkmOn3.js +123 -0
  35. package/dist/_chunks/local-workflow-entrypoints-Cq_WJajd.js +90 -0
  36. package/dist/_chunks/login-FjTAAQbi.js +51 -0
  37. package/dist/_chunks/package-metadata-DjHBLB-z.js +39 -0
  38. package/dist/_chunks/preferences-BKp_7XJx.js +241 -0
  39. package/dist/_chunks/preview-C3Cdr8an.js +462 -0
  40. package/dist/_chunks/preview-registry-ClAbLTHH.js +1186 -0
  41. package/dist/_chunks/preview-resources-CGMBjsYB.js +359 -0
  42. package/dist/_chunks/previews-C7hs9-BT.js +1134 -0
  43. package/dist/_chunks/productions-T9Als4fE.js +411 -0
  44. package/dist/_chunks/ref-CYJNAAe_.js +178 -0
  45. package/dist/_chunks/remote-CZnP-HLJ.js +79 -0
  46. package/dist/_chunks/remote-config-D39BY9ji.js +132 -0
  47. package/dist/_chunks/resolve-package-qizBfCIm.js +152 -0
  48. package/dist/_chunks/rolldown-runtime-CvQ6eiug.js +14 -0
  49. package/dist/_chunks/routes-BFYCqHb-.js +833 -0
  50. package/dist/_chunks/runtime-DL-Nz3k8.js +550 -0
  51. package/dist/_chunks/schema-normalization-BCwTLTGp.js +660 -0
  52. package/dist/_chunks/secrets-DIpJGe6C.js +95 -0
  53. package/dist/_chunks/tail-IY-ijYmv.js +239 -0
  54. package/dist/_chunks/token-Dmi0KXyX.js +333 -0
  55. package/dist/_chunks/tokens-iVcgNXi-.js +221 -0
  56. package/dist/_chunks/types-DoKsMYfm.js +484 -0
  57. package/dist/_chunks/ui-BUoZApvE.js +103 -0
  58. package/dist/_chunks/usage-BBTGzjon.js +272 -0
  59. package/dist/_chunks/vite-CGtVNf5E.js +1267 -0
  60. package/dist/_chunks/vite-utils-OVLMV605.js +183 -0
  61. package/dist/_chunks/worker-BEZI4od1.js +410 -0
  62. package/dist/_chunks/worker-bundler-dTTnYU3n.js +458 -0
  63. package/dist/_chunks/worker-entrypoint-CQW77lG8.js +247 -0
  64. package/dist/_chunks/workerName-CFJsLZA-.js +23 -0
  65. package/dist/bridge/client.d.ts +49 -7
  66. package/dist/bridge/client.d.ts.map +1 -1
  67. package/dist/bridge/gateway-runtime.d.ts +8 -0
  68. package/dist/bridge/gateway-runtime.d.ts.map +1 -0
  69. package/dist/bridge/index.d.ts +6 -6
  70. package/dist/bridge/index.d.ts.map +1 -1
  71. package/dist/bridge/log.d.ts +5 -0
  72. package/dist/bridge/log.d.ts.map +1 -0
  73. package/dist/bridge/miniflare.d.ts +82 -2
  74. package/dist/bridge/miniflare.d.ts.map +1 -1
  75. package/dist/bridge/proxy.d.ts +12 -11
  76. package/dist/bridge/proxy.d.ts.map +1 -1
  77. package/dist/bridge/server.d.ts +2 -1
  78. package/dist/bridge/server.d.ts.map +1 -1
  79. package/dist/bridge/v2/body-streams.d.ts +53 -0
  80. package/dist/bridge/v2/body-streams.d.ts.map +1 -0
  81. package/dist/bridge/v2/codec.d.ts +106 -0
  82. package/dist/bridge/v2/codec.d.ts.map +1 -0
  83. package/dist/bridge/v2/control-messages.d.ts +46 -0
  84. package/dist/bridge/v2/control-messages.d.ts.map +1 -0
  85. package/dist/bridge/v2/frames.d.ts +109 -0
  86. package/dist/bridge/v2/frames.d.ts.map +1 -0
  87. package/dist/bridge/v2/index.d.ts +11 -0
  88. package/dist/bridge/v2/index.d.ts.map +1 -0
  89. package/dist/bridge/v2/serialization.d.ts +48 -0
  90. package/dist/bridge/v2/serialization.d.ts.map +1 -0
  91. package/dist/bridge/v2/transport.d.ts +31 -0
  92. package/dist/bridge/v2/transport.d.ts.map +1 -0
  93. package/dist/bridge/v2/value-codec.d.ts +61 -0
  94. package/dist/bridge/v2/value-codec.d.ts.map +1 -0
  95. package/dist/bridge/{serialization.d.ts → v2/value-serialization.d.ts} +40 -18
  96. package/dist/bridge/v2/value-serialization.d.ts.map +1 -0
  97. package/dist/bridge/{protocol.d.ts → v2/wire.d.ts} +32 -8
  98. package/dist/bridge/v2/wire.d.ts.map +1 -0
  99. package/dist/bridge/v2/ws-relay.d.ts +53 -0
  100. package/dist/bridge/v2/ws-relay.d.ts.map +1 -0
  101. package/dist/browser-shim/handler.d.ts +2 -2
  102. package/dist/browser-shim/handler.d.ts.map +1 -1
  103. package/dist/browser-shim/index.d.ts +2 -2
  104. package/dist/browser-shim/server.d.ts +63 -0
  105. package/dist/browser-shim/server.d.ts.map +1 -1
  106. package/dist/browser.d.ts +5411 -0
  107. package/dist/browser.d.ts.map +1 -0
  108. package/dist/browser.js +80 -0
  109. package/dist/bundler/defaults.d.ts +23 -0
  110. package/dist/bundler/defaults.d.ts.map +1 -0
  111. package/dist/bundler/do-bundler.d.ts +7 -0
  112. package/dist/bundler/do-bundler.d.ts.map +1 -1
  113. package/dist/bundler/index.d.ts +3 -1
  114. package/dist/bundler/index.d.ts.map +1 -1
  115. package/dist/bundler/rolldown-shared.d.ts +53 -0
  116. package/dist/bundler/rolldown-shared.d.ts.map +1 -0
  117. package/dist/bundler/worker-bundler.d.ts +13 -0
  118. package/dist/bundler/worker-bundler.d.ts.map +1 -0
  119. package/dist/bundler/worker-compat.d.ts +4 -0
  120. package/dist/bundler/worker-compat.d.ts.map +1 -0
  121. package/dist/cli/build-manifest.d.ts +66 -0
  122. package/dist/cli/build-manifest.d.ts.map +1 -0
  123. package/dist/cli/command-utils.d.ts +18 -0
  124. package/dist/cli/command-utils.d.ts.map +1 -0
  125. package/dist/cli/commands/account.d.ts +2 -2
  126. package/dist/cli/commands/account.d.ts.map +1 -1
  127. package/dist/cli/commands/ai.d.ts +1 -1
  128. package/dist/cli/commands/ai.d.ts.map +1 -1
  129. package/dist/cli/commands/build-artifacts.d.ts +40 -0
  130. package/dist/cli/commands/build-artifacts.d.ts.map +1 -0
  131. package/dist/cli/commands/build.d.ts +2 -2
  132. package/dist/cli/commands/build.d.ts.map +1 -1
  133. package/dist/cli/commands/config.d.ts +4 -0
  134. package/dist/cli/commands/config.d.ts.map +1 -0
  135. package/dist/cli/commands/deploy/metadata.d.ts +18 -0
  136. package/dist/cli/commands/deploy/metadata.d.ts.map +1 -0
  137. package/dist/cli/commands/deploy/prepare.d.ts +23 -0
  138. package/dist/cli/commands/deploy/prepare.d.ts.map +1 -0
  139. package/dist/cli/commands/deploy/runtime.d.ts +4 -0
  140. package/dist/cli/commands/deploy/runtime.d.ts.map +1 -0
  141. package/dist/cli/commands/deploy/verification.d.ts +36 -0
  142. package/dist/cli/commands/deploy/verification.d.ts.map +1 -0
  143. package/dist/cli/commands/deploy.d.ts +2 -2
  144. package/dist/cli/commands/deploy.d.ts.map +1 -1
  145. package/dist/cli/commands/dev.d.ts +9 -1
  146. package/dist/cli/commands/dev.d.ts.map +1 -1
  147. package/dist/cli/commands/doctor.d.ts +2 -2
  148. package/dist/cli/commands/doctor.d.ts.map +1 -1
  149. package/dist/cli/commands/init.d.ts +2 -2
  150. package/dist/cli/commands/init.d.ts.map +1 -1
  151. package/dist/cli/commands/login.d.ts +4 -0
  152. package/dist/cli/commands/login.d.ts.map +1 -0
  153. package/dist/cli/commands/previews-support/cleanup.d.ts +9 -0
  154. package/dist/cli/commands/previews-support/cleanup.d.ts.map +1 -0
  155. package/dist/cli/commands/previews-support/family.d.ts +10 -0
  156. package/dist/cli/commands/previews-support/family.d.ts.map +1 -0
  157. package/dist/cli/commands/previews-support/render.d.ts +8 -0
  158. package/dist/cli/commands/previews-support/render.d.ts.map +1 -0
  159. package/dist/cli/commands/previews-support/theme.d.ts +10 -0
  160. package/dist/cli/commands/previews-support/theme.d.ts.map +1 -0
  161. package/dist/cli/commands/previews-support/types.d.ts +70 -0
  162. package/dist/cli/commands/previews-support/types.d.ts.map +1 -0
  163. package/dist/cli/commands/previews.d.ts +4 -0
  164. package/dist/cli/commands/previews.d.ts.map +1 -0
  165. package/dist/cli/commands/productions.d.ts +4 -0
  166. package/dist/cli/commands/productions.d.ts.map +1 -0
  167. package/dist/cli/commands/remote.d.ts +1 -1
  168. package/dist/cli/commands/remote.d.ts.map +1 -1
  169. package/dist/cli/commands/secrets.d.ts +4 -0
  170. package/dist/cli/commands/secrets.d.ts.map +1 -0
  171. package/dist/cli/commands/tail.d.ts +44 -0
  172. package/dist/cli/commands/tail.d.ts.map +1 -0
  173. package/dist/cli/commands/token.d.ts +4 -0
  174. package/dist/cli/commands/token.d.ts.map +1 -0
  175. package/dist/cli/commands/type-generation/discovery.d.ts +7 -0
  176. package/dist/cli/commands/type-generation/discovery.d.ts.map +1 -0
  177. package/dist/cli/commands/type-generation/generator.d.ts +121 -0
  178. package/dist/cli/commands/type-generation/generator.d.ts.map +1 -0
  179. package/dist/cli/commands/type-generation/models.d.ts +27 -0
  180. package/dist/cli/commands/type-generation/models.d.ts.map +1 -0
  181. package/dist/cli/commands/types.d.ts +2 -2
  182. package/dist/cli/commands/types.d.ts.map +1 -1
  183. package/dist/cli/commands/worker.d.ts +4 -0
  184. package/dist/cli/commands/worker.d.ts.map +1 -0
  185. package/dist/cli/config-path.d.ts +6 -0
  186. package/dist/cli/config-path.d.ts.map +1 -0
  187. package/dist/cli/dependencies.d.ts +2 -1
  188. package/dist/cli/dependencies.d.ts.map +1 -1
  189. package/dist/cli/deploy-strategy.d.ts +17 -0
  190. package/dist/cli/deploy-strategy.d.ts.map +1 -0
  191. package/dist/cli/deploy-target.d.ts +17 -0
  192. package/dist/cli/deploy-target.d.ts.map +1 -0
  193. package/dist/cli/generated-artifacts.d.ts +12 -0
  194. package/dist/cli/generated-artifacts.d.ts.map +1 -0
  195. package/dist/cli/gradual-deploy.d.ts +49 -0
  196. package/dist/cli/gradual-deploy.d.ts.map +1 -0
  197. package/dist/cli/help-pages/pages/account.d.ts +3 -0
  198. package/dist/cli/help-pages/pages/account.d.ts.map +1 -0
  199. package/dist/cli/help-pages/pages/core.d.ts +4 -0
  200. package/dist/cli/help-pages/pages/core.d.ts.map +1 -0
  201. package/dist/cli/help-pages/pages/index.d.ts +3 -0
  202. package/dist/cli/help-pages/pages/index.d.ts.map +1 -0
  203. package/dist/cli/help-pages/pages/misc.d.ts +3 -0
  204. package/dist/cli/help-pages/pages/misc.d.ts.map +1 -0
  205. package/dist/cli/help-pages/pages/previews.d.ts +3 -0
  206. package/dist/cli/help-pages/pages/previews.d.ts.map +1 -0
  207. package/dist/cli/help-pages/pages/productions.d.ts +3 -0
  208. package/dist/cli/help-pages/pages/productions.d.ts.map +1 -0
  209. package/dist/cli/help-pages/render.d.ts +12 -0
  210. package/dist/cli/help-pages/render.d.ts.map +1 -0
  211. package/dist/cli/help-pages/shared.d.ts +15 -0
  212. package/dist/cli/help-pages/shared.d.ts.map +1 -0
  213. package/dist/cli/help-pages/types.d.ts +23 -0
  214. package/dist/cli/help-pages/types.d.ts.map +1 -0
  215. package/dist/cli/help.d.ts +6 -0
  216. package/dist/cli/help.d.ts.map +1 -0
  217. package/dist/cli/index.d.ts +1 -0
  218. package/dist/cli/index.d.ts.map +1 -1
  219. package/dist/cli/index.js +2 -0
  220. package/dist/cli/package-metadata.d.ts +16 -0
  221. package/dist/cli/package-metadata.d.ts.map +1 -0
  222. package/dist/cli/preview-bindings.d.ts +49 -0
  223. package/dist/cli/preview-bindings.d.ts.map +1 -0
  224. package/dist/cli/preview.d.ts +10 -0
  225. package/dist/cli/preview.d.ts.map +1 -0
  226. package/dist/cli/ui.d.ts +37 -0
  227. package/dist/cli/ui.d.ts.map +1 -0
  228. package/dist/cli/workspace-build-guard.d.ts +14 -0
  229. package/dist/cli/workspace-build-guard.d.ts.map +1 -0
  230. package/dist/cli/wrangler-auth.d.ts +1 -1
  231. package/dist/cloudflare/account-core.d.ts +6 -0
  232. package/dist/cloudflare/account-core.d.ts.map +1 -0
  233. package/dist/cloudflare/account-resources.d.ts +40 -0
  234. package/dist/cloudflare/account-resources.d.ts.map +1 -0
  235. package/dist/cloudflare/account-status.d.ts +11 -0
  236. package/dist/cloudflare/account-status.d.ts.map +1 -0
  237. package/dist/cloudflare/account-workers.d.ts +14 -0
  238. package/dist/cloudflare/account-workers.d.ts.map +1 -0
  239. package/dist/cloudflare/account.d.ts +7 -64
  240. package/dist/cloudflare/account.d.ts.map +1 -1
  241. package/dist/cloudflare/api.d.ts +71 -3
  242. package/dist/cloudflare/api.d.ts.map +1 -1
  243. package/dist/cloudflare/auth.d.ts +1 -1
  244. package/dist/cloudflare/auth.d.ts.map +1 -1
  245. package/dist/cloudflare/index.d.ts +61 -6
  246. package/dist/cloudflare/index.d.ts.map +1 -1
  247. package/dist/cloudflare/index.js +4 -13
  248. package/dist/cloudflare/known-permission-group-ids.generated.d.ts +10 -0
  249. package/dist/cloudflare/known-permission-group-ids.generated.d.ts.map +1 -0
  250. package/dist/cloudflare/kv-namespace.d.ts +4 -0
  251. package/dist/cloudflare/kv-namespace.d.ts.map +1 -0
  252. package/dist/cloudflare/preferences.d.ts +7 -0
  253. package/dist/cloudflare/preferences.d.ts.map +1 -1
  254. package/dist/cloudflare/preview-registry-cache.d.ts +6 -0
  255. package/dist/cloudflare/preview-registry-cache.d.ts.map +1 -0
  256. package/dist/cloudflare/preview-registry-inference.d.ts +14 -0
  257. package/dist/cloudflare/preview-registry-inference.d.ts.map +1 -0
  258. package/dist/cloudflare/preview-registry-records.d.ts +4 -0
  259. package/dist/cloudflare/preview-registry-records.d.ts.map +1 -0
  260. package/dist/cloudflare/preview-registry-shape.d.ts +47 -0
  261. package/dist/cloudflare/preview-registry-shape.d.ts.map +1 -0
  262. package/dist/cloudflare/preview-registry-store.d.ts +14 -0
  263. package/dist/cloudflare/preview-registry-store.d.ts.map +1 -0
  264. package/dist/cloudflare/preview-registry-transport.d.ts +4 -0
  265. package/dist/cloudflare/preview-registry-transport.d.ts.map +1 -0
  266. package/dist/cloudflare/preview-registry-types.d.ts +103 -0
  267. package/dist/cloudflare/preview-registry-types.d.ts.map +1 -0
  268. package/dist/cloudflare/preview-registry.d.ts +42 -0
  269. package/dist/cloudflare/preview-registry.d.ts.map +1 -0
  270. package/dist/cloudflare/preview-urls.d.ts +3 -0
  271. package/dist/cloudflare/preview-urls.d.ts.map +1 -0
  272. package/dist/cloudflare/registry-schema.d.ts +253 -0
  273. package/dist/cloudflare/registry-schema.d.ts.map +1 -0
  274. package/dist/cloudflare/remote-config.d.ts.map +1 -1
  275. package/dist/cloudflare/tokens.d.ts +44 -0
  276. package/dist/cloudflare/tokens.d.ts.map +1 -0
  277. package/dist/cloudflare/types.d.ts +124 -7
  278. package/dist/cloudflare/types.d.ts.map +1 -1
  279. package/dist/cloudflare/usage.d.ts +31 -3
  280. package/dist/cloudflare/usage.d.ts.map +1 -1
  281. package/dist/config/binding-resolution-helpers.d.ts +41 -0
  282. package/dist/config/binding-resolution-helpers.d.ts.map +1 -0
  283. package/dist/config/compatibility.d.ts +3 -0
  284. package/dist/config/compatibility.d.ts.map +1 -0
  285. package/dist/config/compiler/bindings.d.ts +14 -0
  286. package/dist/config/compiler/bindings.d.ts.map +1 -0
  287. package/dist/config/compiler/core-helpers.d.ts +6 -0
  288. package/dist/config/compiler/core-helpers.d.ts.map +1 -0
  289. package/dist/config/compiler/do-workers.d.ts +34 -0
  290. package/dist/config/compiler/do-workers.d.ts.map +1 -0
  291. package/dist/config/compiler/paths.d.ts +18 -0
  292. package/dist/config/compiler/paths.d.ts.map +1 -0
  293. package/dist/config/compiler/types.d.ts +298 -0
  294. package/dist/config/compiler/types.d.ts.map +1 -0
  295. package/dist/config/compiler.d.ts +22 -134
  296. package/dist/config/compiler.d.ts.map +1 -1
  297. package/dist/config/cron.d.ts +19 -0
  298. package/dist/config/cron.d.ts.map +1 -0
  299. package/dist/config/define.d.ts +8 -5
  300. package/dist/config/define.d.ts.map +1 -1
  301. package/dist/config/deploy-resources.d.ts +58 -0
  302. package/dist/config/deploy-resources.d.ts.map +1 -0
  303. package/dist/config/env-vars.d.ts +309 -0
  304. package/dist/config/env-vars.d.ts.map +1 -0
  305. package/dist/config/framework-providers.d.ts +9 -0
  306. package/dist/config/framework-providers.d.ts.map +1 -0
  307. package/dist/config/index.d.ts +12 -5
  308. package/dist/config/index.d.ts.map +1 -1
  309. package/dist/config/loader.d.ts +2 -1
  310. package/dist/config/loader.d.ts.map +1 -1
  311. package/dist/config/local-dev-vars.d.ts +15 -0
  312. package/dist/config/local-dev-vars.d.ts.map +1 -0
  313. package/dist/config/preview-resources.d.ts +83 -0
  314. package/dist/config/preview-resources.d.ts.map +1 -0
  315. package/dist/config/preview.d.ts +29 -0
  316. package/dist/config/preview.d.ts.map +1 -0
  317. package/dist/config/ref.d.ts +16 -25
  318. package/dist/config/ref.d.ts.map +1 -1
  319. package/dist/config/resolve-phased.d.ts +72 -0
  320. package/dist/config/resolve-phased.d.ts.map +1 -0
  321. package/dist/config/resolve.d.ts +11 -0
  322. package/dist/config/resolve.d.ts.map +1 -0
  323. package/dist/config/resource-resolution.d.ts +80 -0
  324. package/dist/config/resource-resolution.d.ts.map +1 -0
  325. package/dist/config/schema-bindings.d.ts +2025 -0
  326. package/dist/config/schema-bindings.d.ts.map +1 -0
  327. package/dist/config/schema-build.d.ts +67 -0
  328. package/dist/config/schema-build.d.ts.map +1 -0
  329. package/dist/config/schema-env.d.ts +3579 -0
  330. package/dist/config/schema-env.d.ts.map +1 -0
  331. package/dist/config/schema-normalization.d.ts +265 -0
  332. package/dist/config/schema-normalization.d.ts.map +1 -0
  333. package/dist/config/schema-runtime.d.ts +508 -0
  334. package/dist/config/schema-runtime.d.ts.map +1 -0
  335. package/dist/config/schema-types-bindings-platform.d.ts +508 -0
  336. package/dist/config/schema-types-bindings-platform.d.ts.map +1 -0
  337. package/dist/config/schema-types-bindings-resources.d.ts +767 -0
  338. package/dist/config/schema-types-bindings-resources.d.ts.map +1 -0
  339. package/dist/config/schema-types-bindings.d.ts +293 -0
  340. package/dist/config/schema-types-bindings.d.ts.map +1 -0
  341. package/dist/config/schema-types-build.d.ts +86 -0
  342. package/dist/config/schema-types-build.d.ts.map +1 -0
  343. package/dist/config/schema-types-runtime.d.ts +917 -0
  344. package/dist/config/schema-types-runtime.d.ts.map +1 -0
  345. package/dist/config/schema-types.d.ts +424 -0
  346. package/dist/config/schema-types.d.ts.map +1 -0
  347. package/dist/config/schema.d.ts +5324 -2011
  348. package/dist/config/schema.d.ts.map +1 -1
  349. package/dist/config/service-bindings-validation.d.ts +36 -0
  350. package/dist/config/service-bindings-validation.d.ts.map +1 -0
  351. package/dist/config-entry.d.ts +7 -0
  352. package/dist/config-entry.d.ts.map +1 -0
  353. package/dist/config-entry.js +3 -0
  354. package/dist/decorators/durable-object.d.ts.map +1 -1
  355. package/dist/decorators/index.d.ts +2 -2
  356. package/dist/decorators/index.js +2 -9
  357. package/dist/dev-server/d1-migrations.d.ts +36 -0
  358. package/dist/dev-server/d1-migrations.d.ts.map +1 -0
  359. package/dist/dev-server/dev-server-state.d.ts +59 -0
  360. package/dist/dev-server/dev-server-state.d.ts.map +1 -0
  361. package/dist/dev-server/gateway-script.d.ts +21 -0
  362. package/dist/dev-server/gateway-script.d.ts.map +1 -0
  363. package/dist/dev-server/index.d.ts +1 -1
  364. package/dist/dev-server/miniflare-bindings.d.ts +81 -0
  365. package/dist/dev-server/miniflare-bindings.d.ts.map +1 -0
  366. package/dist/dev-server/miniflare-dev-config.d.ts +36 -0
  367. package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -0
  368. package/dist/dev-server/miniflare-log.d.ts +20 -0
  369. package/dist/dev-server/miniflare-log.d.ts.map +1 -0
  370. package/dist/dev-server/miniflare-worker-config.d.ts +82 -0
  371. package/dist/dev-server/miniflare-worker-config.d.ts.map +1 -0
  372. package/dist/dev-server/reload-queue.d.ts +13 -0
  373. package/dist/dev-server/reload-queue.d.ts.map +1 -0
  374. package/dist/dev-server/runtime-stdio.d.ts +8 -0
  375. package/dist/dev-server/runtime-stdio.d.ts.map +1 -0
  376. package/dist/dev-server/server-startup-helpers.d.ts +84 -0
  377. package/dist/dev-server/server-startup-helpers.d.ts.map +1 -0
  378. package/dist/dev-server/server.d.ts +2 -0
  379. package/dist/dev-server/server.d.ts.map +1 -1
  380. package/dist/dev-server/vite-process.d.ts +15 -0
  381. package/dist/dev-server/vite-process.d.ts.map +1 -0
  382. package/dist/dev-server/vite-utils.d.ts +19 -1
  383. package/dist/dev-server/vite-utils.d.ts.map +1 -1
  384. package/dist/dev-server/worker-source-watcher.d.ts +17 -0
  385. package/dist/dev-server/worker-source-watcher.d.ts.map +1 -0
  386. package/dist/dev-server/worker-surface-paths.d.ts +6 -0
  387. package/dist/dev-server/worker-surface-paths.d.ts.map +1 -0
  388. package/dist/env.d.ts +10 -0
  389. package/dist/env.d.ts.map +1 -1
  390. package/dist/index.d.ts +8 -12
  391. package/dist/index.d.ts.map +1 -1
  392. package/dist/index.js +9 -298
  393. package/dist/runtime/context-events.d.ts +13 -0
  394. package/dist/runtime/context-events.d.ts.map +1 -0
  395. package/dist/runtime/context-types.d.ts +82 -0
  396. package/dist/runtime/context-types.d.ts.map +1 -0
  397. package/dist/runtime/context.d.ts +20 -44
  398. package/dist/runtime/context.d.ts.map +1 -1
  399. package/dist/runtime/exports.d.ts +70 -55
  400. package/dist/runtime/exports.d.ts.map +1 -1
  401. package/dist/runtime/index.d.ts +10 -3
  402. package/dist/runtime/index.d.ts.map +1 -1
  403. package/dist/runtime/index.js +5 -111
  404. package/dist/runtime/middleware.d.ts +119 -67
  405. package/dist/runtime/middleware.d.ts.map +1 -1
  406. package/dist/runtime/router/index.d.ts +7 -0
  407. package/dist/runtime/router/index.d.ts.map +1 -0
  408. package/dist/runtime/router/types.d.ts +24 -0
  409. package/dist/runtime/router/types.d.ts.map +1 -0
  410. package/dist/runtime/validation.d.ts +18 -4
  411. package/dist/runtime/validation.d.ts.map +1 -1
  412. package/dist/secrets/local-secrets.d.ts +46 -0
  413. package/dist/secrets/local-secrets.d.ts.map +1 -0
  414. package/dist/shims/local-hyperdrive.d.ts +12 -0
  415. package/dist/shims/local-hyperdrive.d.ts.map +1 -0
  416. package/dist/shims/local-media-bindings.d.ts +19 -0
  417. package/dist/shims/local-media-bindings.d.ts.map +1 -0
  418. package/dist/shims/local-worker-loader.d.ts +3 -0
  419. package/dist/shims/local-worker-loader.d.ts.map +1 -0
  420. package/dist/sveltekit/index.d.ts +1 -1
  421. package/dist/sveltekit/index.d.ts.map +1 -1
  422. package/dist/sveltekit/index.js +313 -167
  423. package/dist/sveltekit/local-bindings.d.ts +4 -0
  424. package/dist/sveltekit/local-bindings.d.ts.map +1 -0
  425. package/dist/sveltekit/platform.d.ts +20 -2
  426. package/dist/sveltekit/platform.d.ts.map +1 -1
  427. package/dist/test/ai-search.d.ts +39 -0
  428. package/dist/test/ai-search.d.ts.map +1 -0
  429. package/dist/test/alarm.d.ts +55 -0
  430. package/dist/test/alarm.d.ts.map +1 -0
  431. package/dist/test/binding-hints.d.ts +10 -0
  432. package/dist/test/binding-hints.d.ts.map +1 -0
  433. package/dist/test/cf.d.ts +71 -35
  434. package/dist/test/cf.d.ts.map +1 -1
  435. package/dist/test/containers.d.ts +87 -0
  436. package/dist/test/containers.d.ts.map +1 -0
  437. package/dist/test/email.d.ts +16 -7
  438. package/dist/test/email.d.ts.map +1 -1
  439. package/dist/test/index.d.ts +20 -21
  440. package/dist/test/index.d.ts.map +1 -1
  441. package/dist/test/index.js +4971 -70
  442. package/dist/test/offline-bindings.d.ts +115 -0
  443. package/dist/test/offline-bindings.d.ts.map +1 -0
  444. package/dist/test/queue.d.ts.map +1 -1
  445. package/dist/test/remote-ai.d.ts.map +1 -1
  446. package/dist/test/remote-cloudflare.d.ts +13 -0
  447. package/dist/test/remote-cloudflare.d.ts.map +1 -0
  448. package/dist/test/remote-vectorize.d.ts.map +1 -1
  449. package/dist/test/resolve-service-bindings.d.ts +64 -4
  450. package/dist/test/resolve-service-bindings.d.ts.map +1 -1
  451. package/dist/test/scheduled.d.ts.map +1 -1
  452. package/dist/test/should-skip.d.ts +14 -18
  453. package/dist/test/should-skip.d.ts.map +1 -1
  454. package/dist/test/simple-context-bindings.d.ts +13 -0
  455. package/dist/test/simple-context-bindings.d.ts.map +1 -0
  456. package/dist/test/simple-context-durable-objects.d.ts +6 -0
  457. package/dist/test/simple-context-durable-objects.d.ts.map +1 -0
  458. package/dist/test/simple-context-env.d.ts +35 -0
  459. package/dist/test/simple-context-env.d.ts.map +1 -0
  460. package/dist/test/simple-context-gateway-script.d.ts +2 -0
  461. package/dist/test/simple-context-gateway-script.d.ts.map +1 -0
  462. package/dist/test/simple-context-handlers.d.ts +12 -0
  463. package/dist/test/simple-context-handlers.d.ts.map +1 -0
  464. package/dist/test/simple-context-lifecycle.d.ts +32 -0
  465. package/dist/test/simple-context-lifecycle.d.ts.map +1 -0
  466. package/dist/test/simple-context-mfconfig.d.ts +10 -0
  467. package/dist/test/simple-context-mfconfig.d.ts.map +1 -0
  468. package/dist/test/simple-context-multi-worker.d.ts +16 -0
  469. package/dist/test/simple-context-multi-worker.d.ts.map +1 -0
  470. package/dist/test/simple-context-paths.d.ts +40 -0
  471. package/dist/test/simple-context-paths.d.ts.map +1 -0
  472. package/dist/test/simple-context-runtime.d.ts +19 -0
  473. package/dist/test/simple-context-runtime.d.ts.map +1 -0
  474. package/dist/test/simple-context-startup.d.ts +11 -0
  475. package/dist/test/simple-context-startup.d.ts.map +1 -0
  476. package/dist/test/simple-context-transport.d.ts +14 -0
  477. package/dist/test/simple-context-transport.d.ts.map +1 -0
  478. package/dist/test/simple-context.d.ts +8 -27
  479. package/dist/test/simple-context.d.ts.map +1 -1
  480. package/dist/test/tail.d.ts +3 -2
  481. package/dist/test/tail.d.ts.map +1 -1
  482. package/dist/test/utilities/analytics-engine.d.ts +22 -0
  483. package/dist/test/utilities/analytics-engine.d.ts.map +1 -0
  484. package/dist/test/utilities/artifacts.d.ts +11 -0
  485. package/dist/test/utilities/artifacts.d.ts.map +1 -0
  486. package/dist/test/utilities/context.d.ts +39 -0
  487. package/dist/test/utilities/context.d.ts.map +1 -0
  488. package/dist/test/utilities/d1.d.ts +21 -0
  489. package/dist/test/utilities/d1.d.ts.map +1 -0
  490. package/dist/test/utilities/env.d.ts +43 -0
  491. package/dist/test/utilities/env.d.ts.map +1 -0
  492. package/dist/test/utilities/kv.d.ts +11 -0
  493. package/dist/test/utilities/kv.d.ts.map +1 -0
  494. package/dist/test/utilities/media.d.ts +16 -0
  495. package/dist/test/utilities/media.d.ts.map +1 -0
  496. package/dist/test/utilities/platform.d.ts +41 -0
  497. package/dist/test/utilities/platform.d.ts.map +1 -0
  498. package/dist/test/utilities/queue.d.ts +5 -0
  499. package/dist/test/utilities/queue.d.ts.map +1 -0
  500. package/dist/test/utilities/r2.d.ts +2 -0
  501. package/dist/test/utilities/r2.d.ts.map +1 -0
  502. package/dist/test/utilities/stream-flagship.d.ts +27 -0
  503. package/dist/test/utilities/stream-flagship.d.ts.map +1 -0
  504. package/dist/test/utilities/vectorize.d.ts +38 -0
  505. package/dist/test/utilities/vectorize.d.ts.map +1 -0
  506. package/dist/test/utilities/workflows.d.ts +26 -0
  507. package/dist/test/utilities/workflows.d.ts.map +1 -0
  508. package/dist/test/utilities.d.ts +13 -98
  509. package/dist/test/utilities.d.ts.map +1 -1
  510. package/dist/test/worker.d.ts +6 -0
  511. package/dist/test/worker.d.ts.map +1 -1
  512. package/dist/transform/durable-object.d.ts.map +1 -1
  513. package/dist/transform/index.d.ts +2 -2
  514. package/dist/transform/worker-entrypoint.d.ts +5 -0
  515. package/dist/transform/worker-entrypoint.d.ts.map +1 -1
  516. package/dist/utils/entrypoint-discovery.d.ts +6 -3
  517. package/dist/utils/entrypoint-discovery.d.ts.map +1 -1
  518. package/dist/utils/glob.d.ts.map +1 -1
  519. package/dist/utils/resolve-package.d.ts.map +1 -1
  520. package/dist/utils/send-email.d.ts +15 -0
  521. package/dist/utils/send-email.d.ts.map +1 -0
  522. package/dist/utils/send-email.js +163 -0
  523. package/dist/vite/config-file.d.ts +25 -0
  524. package/dist/vite/config-file.d.ts.map +1 -0
  525. package/dist/vite/index.d.ts +3 -2
  526. package/dist/vite/index.d.ts.map +1 -1
  527. package/dist/vite/index.js +2 -339
  528. package/dist/vite/plugin-config-hook.d.ts +28 -0
  529. package/dist/vite/plugin-config-hook.d.ts.map +1 -0
  530. package/dist/vite/plugin-context.d.ts +27 -0
  531. package/dist/vite/plugin-context.d.ts.map +1 -0
  532. package/dist/vite/plugin-durable-objects.d.ts +18 -0
  533. package/dist/vite/plugin-durable-objects.d.ts.map +1 -0
  534. package/dist/vite/plugin-programmatic.d.ts +44 -0
  535. package/dist/vite/plugin-programmatic.d.ts.map +1 -0
  536. package/dist/vite/plugin-service-bindings.d.ts +13 -0
  537. package/dist/vite/plugin-service-bindings.d.ts.map +1 -0
  538. package/dist/vite/plugin-transform.d.ts +41 -0
  539. package/dist/vite/plugin-transform.d.ts.map +1 -0
  540. package/dist/vite/plugin.d.ts +10 -41
  541. package/dist/vite/plugin.d.ts.map +1 -1
  542. package/dist/worker-entry/composed-worker.d.ts +7 -0
  543. package/dist/worker-entry/composed-worker.d.ts.map +1 -0
  544. package/dist/worker-entry/durable-object-discovery.d.ts +20 -0
  545. package/dist/worker-entry/durable-object-discovery.d.ts.map +1 -0
  546. package/dist/worker-entry/extensions.d.ts +5 -0
  547. package/dist/worker-entry/extensions.d.ts.map +1 -0
  548. package/dist/worker-entry/routes.d.ts +22 -0
  549. package/dist/worker-entry/routes.d.ts.map +1 -0
  550. package/dist/worker-entry/surface-paths.d.ts +26 -0
  551. package/dist/worker-entry/surface-paths.d.ts.map +1 -0
  552. package/dist/worker-entry/validate-fetch-style.d.ts +12 -0
  553. package/dist/worker-entry/validate-fetch-style.d.ts.map +1 -0
  554. package/dist/workflows/local-workflow-entrypoints.d.ts +7 -0
  555. package/dist/workflows/local-workflow-entrypoints.d.ts.map +1 -0
  556. package/package.json +159 -116
  557. package/R2.md +0 -170
  558. package/dist/account-rvrj687w.js +0 -397
  559. package/dist/ai-dx4fr9jh.js +0 -107
  560. package/dist/bridge/protocol.d.ts.map +0 -1
  561. package/dist/bridge/serialization.d.ts.map +0 -1
  562. package/dist/browser-shim/worker.d.ts +0 -14
  563. package/dist/browser-shim/worker.d.ts.map +0 -1
  564. package/dist/build-mnf6v8gd.js +0 -53
  565. package/dist/deploy-nhceck39.js +0 -70
  566. package/dist/dev-b9dmrj7b.js +0 -2417
  567. package/dist/doctor-fmgb3d28.js +0 -190
  568. package/dist/durable-object-t4kbb0yt.js +0 -13
  569. package/dist/index-07q6yxyc.js +0 -168
  570. package/dist/index-18hvb6gb.js +0 -194
  571. package/dist/index-1xpj0m4r.js +0 -57
  572. package/dist/index-37x76zdn.js +0 -4
  573. package/dist/index-3t6rypgc.js +0 -13
  574. package/dist/index-67qcae0f.js +0 -183
  575. package/dist/index-a855bdsx.js +0 -18
  576. package/dist/index-d8bdkx2h.js +0 -109
  577. package/dist/index-ep3445yc.js +0 -2225
  578. package/dist/index-gz1gndna.js +0 -307
  579. package/dist/index-hcex3rgh.js +0 -266
  580. package/dist/index-m2q41jwa.js +0 -462
  581. package/dist/index-n7rs26ft.js +0 -77
  582. package/dist/index-pf5s73n9.js +0 -1413
  583. package/dist/index-rbht7m9r.js +0 -36
  584. package/dist/index-tfyxa77h.js +0 -850
  585. package/dist/index-tk6ej9dj.js +0 -94
  586. package/dist/index-z14anrqp.js +0 -226
  587. package/dist/init-f9mgmew3.js +0 -186
  588. package/dist/remote-q59qk463.js +0 -97
  589. package/dist/test/bridge-context.d.ts +0 -76
  590. package/dist/test/bridge-context.d.ts.map +0 -1
  591. package/dist/test/multi-worker-context.d.ts +0 -114
  592. package/dist/test/multi-worker-context.d.ts.map +0 -1
  593. package/dist/types-5nyrz1sz.js +0 -454
  594. package/dist/worker-entrypoint-m9th0rg0.js +0 -13
@@ -0,0 +1,3579 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Environment-specific configuration overrides.
4
+ *
5
+ * Derived from the root config shape so that any new root field is
6
+ * automatically recognized as an environment override without duplicating
7
+ * the field list here. We simply:
8
+ *
9
+ * - omit fields that are meaningless inside an environment override
10
+ * (`accountId`, `wsRoutes`)
11
+ * - make everything optional via `.partial()` so consumers can override
12
+ * just the bits they need
13
+ * - keep `.strict()` so unsupported shorthand (e.g. top-level `plugins`
14
+ * or `build`) is rejected at the environment level as well
15
+ *
16
+ * The root `compatibilityFlags` field already applies
17
+ * `normalizeCompatibilityFlags` via its transform, so forced flags are
18
+ * injected for environment overrides without extra wiring.
19
+ *
20
+ * Wrapped in `z.lazy(...)` to break the module-init cycle with `schema.ts`
21
+ * (schema.ts references `envConfigSchemaInner` in its `env` field, and this
22
+ * module references `rootConfigShape` from schema.ts).
23
+ */
24
+ export declare const envConfigSchema: z.ZodLazy<z.ZodObject<{
25
+ readonly name: z.ZodOptional<z.ZodString>;
26
+ readonly secretsStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
27
+ readonly compatibilityDate: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
28
+ readonly compatibilityFlags: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>>;
29
+ readonly previews: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30
+ includeCrons: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ includeCrons: boolean;
33
+ }, {
34
+ includeCrons?: boolean | undefined;
35
+ }>>>;
36
+ readonly server: z.ZodOptional<z.ZodOptional<z.ZodObject<{
37
+ host: z.ZodOptional<z.ZodString>;
38
+ port: z.ZodOptional<z.ZodNumber>;
39
+ }, "strict", z.ZodTypeAny, {
40
+ host?: string | undefined;
41
+ port?: number | undefined;
42
+ }, {
43
+ host?: string | undefined;
44
+ port?: number | undefined;
45
+ }>>>;
46
+ readonly files: z.ZodOptional<z.ZodOptional<z.ZodObject<{
47
+ fetch: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
48
+ queue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
49
+ scheduled: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
50
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
51
+ tail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
52
+ durableObjects: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
53
+ entrypoints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
54
+ workflows: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
55
+ routes: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
56
+ dir: z.ZodString;
57
+ prefix: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ dir: string;
60
+ prefix?: string | undefined;
61
+ }, {
62
+ dir: string;
63
+ prefix?: string | undefined;
64
+ }>, z.ZodLiteral<false>]>>;
65
+ transport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ fetch?: string | false | undefined;
68
+ queue?: string | false | undefined;
69
+ scheduled?: string | false | undefined;
70
+ email?: string | false | undefined;
71
+ tail?: string | false | undefined;
72
+ durableObjects?: string | false | undefined;
73
+ entrypoints?: string | false | undefined;
74
+ workflows?: string | false | undefined;
75
+ routes?: false | {
76
+ dir: string;
77
+ prefix?: string | undefined;
78
+ } | undefined;
79
+ transport?: string | null | undefined;
80
+ }, {
81
+ fetch?: string | false | undefined;
82
+ queue?: string | false | undefined;
83
+ scheduled?: string | false | undefined;
84
+ email?: string | false | undefined;
85
+ tail?: string | false | undefined;
86
+ durableObjects?: string | false | undefined;
87
+ entrypoints?: string | false | undefined;
88
+ workflows?: string | false | undefined;
89
+ routes?: false | {
90
+ dir: string;
91
+ prefix?: string | undefined;
92
+ } | undefined;
93
+ transport?: string | null | undefined;
94
+ }>>>;
95
+ readonly bindings: z.ZodOptional<z.ZodOptional<z.ZodObject<{
96
+ kv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
97
+ previewId: z.ZodOptional<z.ZodString>;
98
+ remote: z.ZodOptional<z.ZodBoolean>;
99
+ id: z.ZodString;
100
+ }, "strict", z.ZodTypeAny, {
101
+ previewId?: string | undefined;
102
+ remote?: boolean | undefined;
103
+ id: string;
104
+ }, {
105
+ previewId?: string | undefined;
106
+ remote?: boolean | undefined;
107
+ id: string;
108
+ }>, z.ZodObject<{
109
+ previewId: z.ZodOptional<z.ZodString>;
110
+ remote: z.ZodOptional<z.ZodBoolean>;
111
+ name: z.ZodString;
112
+ }, "strict", z.ZodTypeAny, {
113
+ previewId?: string | undefined;
114
+ remote?: boolean | undefined;
115
+ name: string;
116
+ }, {
117
+ previewId?: string | undefined;
118
+ remote?: boolean | undefined;
119
+ name: string;
120
+ }>]>>>;
121
+ d1: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
122
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
123
+ migrationsTable: z.ZodOptional<z.ZodString>;
124
+ migrationsDir: z.ZodOptional<z.ZodString>;
125
+ remote: z.ZodOptional<z.ZodBoolean>;
126
+ id: z.ZodString;
127
+ }, "strict", z.ZodTypeAny, {
128
+ previewDatabaseId?: string | undefined;
129
+ migrationsTable?: string | undefined;
130
+ migrationsDir?: string | undefined;
131
+ remote?: boolean | undefined;
132
+ id: string;
133
+ }, {
134
+ previewDatabaseId?: string | undefined;
135
+ migrationsTable?: string | undefined;
136
+ migrationsDir?: string | undefined;
137
+ remote?: boolean | undefined;
138
+ id: string;
139
+ }>, z.ZodObject<{
140
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
141
+ migrationsTable: z.ZodOptional<z.ZodString>;
142
+ migrationsDir: z.ZodOptional<z.ZodString>;
143
+ remote: z.ZodOptional<z.ZodBoolean>;
144
+ name: z.ZodString;
145
+ }, "strict", z.ZodTypeAny, {
146
+ previewDatabaseId?: string | undefined;
147
+ migrationsTable?: string | undefined;
148
+ migrationsDir?: string | undefined;
149
+ remote?: boolean | undefined;
150
+ name: string;
151
+ }, {
152
+ previewDatabaseId?: string | undefined;
153
+ migrationsTable?: string | undefined;
154
+ migrationsDir?: string | undefined;
155
+ remote?: boolean | undefined;
156
+ name: string;
157
+ }>]>>>;
158
+ r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
159
+ bucketName: z.ZodString;
160
+ previewBucketName: z.ZodOptional<z.ZodString>;
161
+ jurisdiction: z.ZodOptional<z.ZodString>;
162
+ remote: z.ZodOptional<z.ZodBoolean>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ bucketName: string;
165
+ previewBucketName?: string | undefined;
166
+ jurisdiction?: string | undefined;
167
+ remote?: boolean | undefined;
168
+ }, {
169
+ bucketName: string;
170
+ previewBucketName?: string | undefined;
171
+ jurisdiction?: string | undefined;
172
+ remote?: boolean | undefined;
173
+ }>]>>>;
174
+ durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./schema-bindings.js").DurableObjectBindingInput, z.ZodTypeDef, import("./schema-bindings.js").DurableObjectBindingInput>>>;
175
+ queues: z.ZodOptional<z.ZodObject<{
176
+ producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
177
+ queue: z.ZodString;
178
+ remote: z.ZodOptional<z.ZodBoolean>;
179
+ }, "strict", z.ZodTypeAny, {
180
+ queue: string;
181
+ remote?: boolean | undefined;
182
+ }, {
183
+ queue: string;
184
+ remote?: boolean | undefined;
185
+ }>]>>>;
186
+ consumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
187
+ queue: z.ZodString;
188
+ maxBatchSize: z.ZodOptional<z.ZodNumber>;
189
+ maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
190
+ maxRetries: z.ZodOptional<z.ZodNumber>;
191
+ deadLetterQueue: z.ZodOptional<z.ZodString>;
192
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
193
+ retryDelay: z.ZodOptional<z.ZodNumber>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ queue: string;
196
+ maxBatchSize?: number | undefined;
197
+ maxBatchTimeout?: number | undefined;
198
+ maxRetries?: number | undefined;
199
+ deadLetterQueue?: string | undefined;
200
+ maxConcurrency?: number | undefined;
201
+ retryDelay?: number | undefined;
202
+ }, {
203
+ queue: string;
204
+ maxBatchSize?: number | undefined;
205
+ maxBatchTimeout?: number | undefined;
206
+ maxRetries?: number | undefined;
207
+ deadLetterQueue?: string | undefined;
208
+ maxConcurrency?: number | undefined;
209
+ retryDelay?: number | undefined;
210
+ }>, "many">>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ producers?: Record<string, string | {
213
+ queue: string;
214
+ remote?: boolean | undefined;
215
+ }> | undefined;
216
+ consumers?: {
217
+ queue: string;
218
+ maxBatchSize?: number | undefined;
219
+ maxBatchTimeout?: number | undefined;
220
+ maxRetries?: number | undefined;
221
+ deadLetterQueue?: string | undefined;
222
+ maxConcurrency?: number | undefined;
223
+ retryDelay?: number | undefined;
224
+ }[] | undefined;
225
+ }, {
226
+ producers?: Record<string, string | {
227
+ queue: string;
228
+ remote?: boolean | undefined;
229
+ }> | undefined;
230
+ consumers?: {
231
+ queue: string;
232
+ maxBatchSize?: number | undefined;
233
+ maxBatchTimeout?: number | undefined;
234
+ maxRetries?: number | undefined;
235
+ deadLetterQueue?: string | undefined;
236
+ maxConcurrency?: number | undefined;
237
+ retryDelay?: number | undefined;
238
+ }[] | undefined;
239
+ }>>;
240
+ rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
241
+ namespaceId: z.ZodString;
242
+ simple: z.ZodObject<{
243
+ limit: z.ZodNumber;
244
+ period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
245
+ }, "strict", z.ZodTypeAny, {
246
+ limit: number;
247
+ period: 10 | 60;
248
+ }, {
249
+ limit: number;
250
+ period: 10 | 60;
251
+ }>;
252
+ }, "strict", z.ZodTypeAny, {
253
+ namespaceId: string;
254
+ simple: {
255
+ limit: number;
256
+ period: 10 | 60;
257
+ };
258
+ }, {
259
+ namespaceId: string;
260
+ simple: {
261
+ limit: number;
262
+ period: 10 | 60;
263
+ };
264
+ }>>>;
265
+ versionMetadata: z.ZodOptional<z.ZodObject<{
266
+ binding: z.ZodString;
267
+ }, "strict", z.ZodTypeAny, {
268
+ binding: string;
269
+ }, {
270
+ binding: string;
271
+ }>>;
272
+ workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
273
+ secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
274
+ storeId: z.ZodString;
275
+ secretName: z.ZodString;
276
+ }, "strict", z.ZodTypeAny, {
277
+ storeId: string;
278
+ secretName: string;
279
+ }, {
280
+ storeId: string;
281
+ secretName: string;
282
+ }>]>>>;
283
+ services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
284
+ service: string;
285
+ environment?: string;
286
+ entrypoint?: string;
287
+ remote?: boolean;
288
+ __ref?: unknown;
289
+ }, z.ZodTypeDef, {
290
+ service: string;
291
+ environment?: string;
292
+ entrypoint?: string;
293
+ remote?: boolean;
294
+ __ref?: unknown;
295
+ }>>>;
296
+ ai: z.ZodOptional<z.ZodObject<{
297
+ binding: z.ZodString;
298
+ remote: z.ZodOptional<z.ZodBoolean>;
299
+ staging: z.ZodOptional<z.ZodBoolean>;
300
+ }, "strict", z.ZodTypeAny, {
301
+ binding: string;
302
+ remote?: boolean | undefined;
303
+ staging?: boolean | undefined;
304
+ }, {
305
+ binding: string;
306
+ remote?: boolean | undefined;
307
+ staging?: boolean | undefined;
308
+ }>>;
309
+ aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
310
+ namespace: z.ZodString;
311
+ remote: z.ZodOptional<z.ZodBoolean>;
312
+ }, "strict", z.ZodTypeAny, {
313
+ namespace: string;
314
+ remote?: boolean | undefined;
315
+ }, {
316
+ namespace: string;
317
+ remote?: boolean | undefined;
318
+ }>>>;
319
+ aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
320
+ instanceName: z.ZodString;
321
+ remote: z.ZodOptional<z.ZodBoolean>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ instanceName: string;
324
+ remote?: boolean | undefined;
325
+ }, {
326
+ instanceName: string;
327
+ remote?: boolean | undefined;
328
+ }>>>;
329
+ vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
330
+ indexName: z.ZodString;
331
+ remote: z.ZodOptional<z.ZodBoolean>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ indexName: string;
334
+ remote?: boolean | undefined;
335
+ }, {
336
+ indexName: string;
337
+ remote?: boolean | undefined;
338
+ }>>>;
339
+ hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
340
+ id: z.ZodString;
341
+ localConnectionString: z.ZodOptional<z.ZodString>;
342
+ }, "strict", z.ZodTypeAny, {
343
+ id: string;
344
+ localConnectionString?: string | undefined;
345
+ }, {
346
+ id: string;
347
+ localConnectionString?: string | undefined;
348
+ }>, z.ZodObject<{
349
+ name: z.ZodString;
350
+ localConnectionString: z.ZodOptional<z.ZodString>;
351
+ previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
352
+ previewId: z.ZodOptional<z.ZodString>;
353
+ previewLocalConnectionString: z.ZodOptional<z.ZodString>;
354
+ }, "strict", z.ZodTypeAny, {
355
+ name: string;
356
+ localConnectionString?: string | undefined;
357
+ previewFallback?: "base" | undefined;
358
+ previewId?: string | undefined;
359
+ previewLocalConnectionString?: string | undefined;
360
+ }, {
361
+ name: string;
362
+ localConnectionString?: string | undefined;
363
+ previewFallback?: "base" | undefined;
364
+ previewId?: string | undefined;
365
+ previewLocalConnectionString?: string | undefined;
366
+ }>]>>>;
367
+ browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
368
+ remote: z.ZodOptional<z.ZodBoolean>;
369
+ }, "strict", z.ZodTypeAny, {
370
+ remote?: boolean | undefined;
371
+ }, {
372
+ remote?: boolean | undefined;
373
+ }>]>>, Record<string, string | {
374
+ remote?: boolean | undefined;
375
+ }>, Record<string, string | {
376
+ remote?: boolean | undefined;
377
+ }>>>;
378
+ analyticsEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
379
+ dataset: z.ZodString;
380
+ }, "strip", z.ZodTypeAny, {
381
+ dataset: string;
382
+ }, {
383
+ dataset: string;
384
+ }>>>;
385
+ sendEmail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
386
+ destinationAddress: z.ZodOptional<z.ZodString>;
387
+ allowedDestinationAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
388
+ allowedSenderAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ destinationAddress?: string | undefined;
391
+ allowedDestinationAddresses?: string[] | undefined;
392
+ allowedSenderAddresses?: string[] | undefined;
393
+ }, {
394
+ destinationAddress?: string | undefined;
395
+ allowedDestinationAddresses?: string[] | undefined;
396
+ allowedSenderAddresses?: string[] | undefined;
397
+ }>, {
398
+ destinationAddress?: string | undefined;
399
+ allowedDestinationAddresses?: string[] | undefined;
400
+ allowedSenderAddresses?: string[] | undefined;
401
+ }, {
402
+ destinationAddress?: string | undefined;
403
+ allowedDestinationAddresses?: string[] | undefined;
404
+ allowedSenderAddresses?: string[] | undefined;
405
+ }>>>;
406
+ mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
407
+ certificateId: z.ZodString;
408
+ remote: z.ZodOptional<z.ZodBoolean>;
409
+ }, "strict", z.ZodTypeAny, {
410
+ certificateId: string;
411
+ remote?: boolean | undefined;
412
+ }, {
413
+ certificateId: string;
414
+ remote?: boolean | undefined;
415
+ }>, z.ZodObject<{
416
+ certificate_id: z.ZodString;
417
+ remote: z.ZodOptional<z.ZodBoolean>;
418
+ }, "strict", z.ZodTypeAny, {
419
+ certificate_id: string;
420
+ remote?: boolean | undefined;
421
+ }, {
422
+ certificate_id: string;
423
+ remote?: boolean | undefined;
424
+ }>]>>>;
425
+ dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
426
+ namespace: z.ZodString;
427
+ outbound: z.ZodOptional<z.ZodObject<{
428
+ service: z.ZodString;
429
+ environment: z.ZodOptional<z.ZodString>;
430
+ parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
+ }, "strict", z.ZodTypeAny, {
432
+ service: string;
433
+ environment?: string | undefined;
434
+ parameters?: string[] | undefined;
435
+ }, {
436
+ service: string;
437
+ environment?: string | undefined;
438
+ parameters?: string[] | undefined;
439
+ }>>;
440
+ remote: z.ZodOptional<z.ZodBoolean>;
441
+ }, "strict", z.ZodTypeAny, {
442
+ namespace: string;
443
+ outbound?: {
444
+ service: string;
445
+ environment?: string | undefined;
446
+ parameters?: string[] | undefined;
447
+ } | undefined;
448
+ remote?: boolean | undefined;
449
+ }, {
450
+ namespace: string;
451
+ outbound?: {
452
+ service: string;
453
+ environment?: string | undefined;
454
+ parameters?: string[] | undefined;
455
+ } | undefined;
456
+ remote?: boolean | undefined;
457
+ }>]>>>;
458
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
459
+ name: z.ZodString;
460
+ className: z.ZodString;
461
+ scriptName: z.ZodOptional<z.ZodString>;
462
+ remote: z.ZodOptional<z.ZodBoolean>;
463
+ limits: z.ZodOptional<z.ZodObject<{
464
+ steps: z.ZodNumber;
465
+ }, "strict", z.ZodTypeAny, {
466
+ steps: number;
467
+ }, {
468
+ steps: number;
469
+ }>>;
470
+ }, "strict", z.ZodTypeAny, {
471
+ name: string;
472
+ className: string;
473
+ scriptName?: string | undefined;
474
+ remote?: boolean | undefined;
475
+ limits?: {
476
+ steps: number;
477
+ } | undefined;
478
+ }, {
479
+ name: string;
480
+ className: string;
481
+ scriptName?: string | undefined;
482
+ remote?: boolean | undefined;
483
+ limits?: {
484
+ steps: number;
485
+ } | undefined;
486
+ }>>>;
487
+ pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
488
+ pipeline: z.ZodString;
489
+ remote: z.ZodOptional<z.ZodBoolean>;
490
+ }, "strict", z.ZodTypeAny, {
491
+ pipeline: string;
492
+ remote?: boolean | undefined;
493
+ }, {
494
+ pipeline: string;
495
+ remote?: boolean | undefined;
496
+ }>]>>>;
497
+ images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
498
+ remote: z.ZodOptional<z.ZodBoolean>;
499
+ }, "strict", z.ZodTypeAny, {
500
+ remote?: boolean | undefined;
501
+ }, {
502
+ remote?: boolean | undefined;
503
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
504
+ remote?: boolean | undefined;
505
+ }> | undefined, Record<string, true | {
506
+ remote?: boolean | undefined;
507
+ }> | undefined>;
508
+ media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
509
+ remote: z.ZodOptional<z.ZodBoolean>;
510
+ }, "strict", z.ZodTypeAny, {
511
+ remote?: boolean | undefined;
512
+ }, {
513
+ remote?: boolean | undefined;
514
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
515
+ remote?: boolean | undefined;
516
+ }> | undefined, Record<string, true | {
517
+ remote?: boolean | undefined;
518
+ }> | undefined>;
519
+ artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
520
+ namespace: z.ZodString;
521
+ remote: z.ZodOptional<z.ZodBoolean>;
522
+ }, "strict", z.ZodTypeAny, {
523
+ namespace: string;
524
+ remote?: boolean | undefined;
525
+ }, {
526
+ namespace: string;
527
+ remote?: boolean | undefined;
528
+ }>]>>>;
529
+ stream: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
530
+ remote: z.ZodOptional<z.ZodBoolean>;
531
+ }, "strict", z.ZodTypeAny, {
532
+ remote?: boolean | undefined;
533
+ }, {
534
+ remote?: boolean | undefined;
535
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
536
+ remote?: boolean | undefined;
537
+ }> | undefined, Record<string, true | {
538
+ remote?: boolean | undefined;
539
+ }> | undefined>;
540
+ vpcServices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
541
+ serviceId: z.ZodString;
542
+ remote: z.ZodOptional<z.ZodBoolean>;
543
+ }, "strict", z.ZodTypeAny, {
544
+ serviceId: string;
545
+ remote?: boolean | undefined;
546
+ }, {
547
+ serviceId: string;
548
+ remote?: boolean | undefined;
549
+ }>>>;
550
+ vpcNetworks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
551
+ tunnelId: z.ZodString;
552
+ remote: z.ZodOptional<z.ZodBoolean>;
553
+ }, "strict", z.ZodTypeAny, {
554
+ tunnelId: string;
555
+ remote?: boolean | undefined;
556
+ }, {
557
+ tunnelId: string;
558
+ remote?: boolean | undefined;
559
+ }>, z.ZodObject<{
560
+ networkId: z.ZodString;
561
+ remote: z.ZodOptional<z.ZodBoolean>;
562
+ }, "strict", z.ZodTypeAny, {
563
+ networkId: string;
564
+ remote?: boolean | undefined;
565
+ }, {
566
+ networkId: string;
567
+ remote?: boolean | undefined;
568
+ }>]>>>;
569
+ flagship: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
570
+ appId: z.ZodString;
571
+ remote: z.ZodOptional<z.ZodBoolean>;
572
+ }, "strict", z.ZodTypeAny, {
573
+ appId: string;
574
+ remote?: boolean | undefined;
575
+ }, {
576
+ appId: string;
577
+ remote?: boolean | undefined;
578
+ }>>>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ kv?: Record<string, string | {
581
+ previewId?: string | undefined;
582
+ remote?: boolean | undefined;
583
+ id: string;
584
+ } | {
585
+ previewId?: string | undefined;
586
+ remote?: boolean | undefined;
587
+ name: string;
588
+ }> | undefined;
589
+ d1?: Record<string, string | {
590
+ previewDatabaseId?: string | undefined;
591
+ migrationsTable?: string | undefined;
592
+ migrationsDir?: string | undefined;
593
+ remote?: boolean | undefined;
594
+ id: string;
595
+ } | {
596
+ previewDatabaseId?: string | undefined;
597
+ migrationsTable?: string | undefined;
598
+ migrationsDir?: string | undefined;
599
+ remote?: boolean | undefined;
600
+ name: string;
601
+ }> | undefined;
602
+ r2?: Record<string, string | {
603
+ bucketName: string;
604
+ previewBucketName?: string | undefined;
605
+ jurisdiction?: string | undefined;
606
+ remote?: boolean | undefined;
607
+ }> | undefined;
608
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
609
+ queues?: {
610
+ producers?: Record<string, string | {
611
+ queue: string;
612
+ remote?: boolean | undefined;
613
+ }> | undefined;
614
+ consumers?: {
615
+ queue: string;
616
+ maxBatchSize?: number | undefined;
617
+ maxBatchTimeout?: number | undefined;
618
+ maxRetries?: number | undefined;
619
+ deadLetterQueue?: string | undefined;
620
+ maxConcurrency?: number | undefined;
621
+ retryDelay?: number | undefined;
622
+ }[] | undefined;
623
+ } | undefined;
624
+ rateLimits?: Record<string, {
625
+ namespaceId: string;
626
+ simple: {
627
+ limit: number;
628
+ period: 10 | 60;
629
+ };
630
+ }> | undefined;
631
+ versionMetadata?: {
632
+ binding: string;
633
+ } | undefined;
634
+ workerLoaders?: Record<string, {}> | undefined;
635
+ secretsStore?: Record<string, string | {
636
+ storeId: string;
637
+ secretName: string;
638
+ }> | undefined;
639
+ services?: Record<string, {
640
+ service: string;
641
+ environment?: string;
642
+ entrypoint?: string;
643
+ remote?: boolean;
644
+ __ref?: unknown;
645
+ }> | undefined;
646
+ ai?: {
647
+ binding: string;
648
+ remote?: boolean | undefined;
649
+ staging?: boolean | undefined;
650
+ } | undefined;
651
+ aiSearchNamespaces?: Record<string, {
652
+ namespace: string;
653
+ remote?: boolean | undefined;
654
+ }> | undefined;
655
+ aiSearch?: Record<string, {
656
+ instanceName: string;
657
+ remote?: boolean | undefined;
658
+ }> | undefined;
659
+ vectorize?: Record<string, {
660
+ indexName: string;
661
+ remote?: boolean | undefined;
662
+ }> | undefined;
663
+ hyperdrive?: Record<string, string | {
664
+ id: string;
665
+ localConnectionString?: string | undefined;
666
+ } | {
667
+ name: string;
668
+ localConnectionString?: string | undefined;
669
+ previewFallback?: "base" | undefined;
670
+ previewId?: string | undefined;
671
+ previewLocalConnectionString?: string | undefined;
672
+ }> | undefined;
673
+ browser?: Record<string, string | {
674
+ remote?: boolean | undefined;
675
+ }> | undefined;
676
+ analyticsEngine?: Record<string, {
677
+ dataset: string;
678
+ }> | undefined;
679
+ sendEmail?: Record<string, {
680
+ destinationAddress?: string | undefined;
681
+ allowedDestinationAddresses?: string[] | undefined;
682
+ allowedSenderAddresses?: string[] | undefined;
683
+ }> | undefined;
684
+ mtlsCertificates?: Record<string, string | {
685
+ certificateId: string;
686
+ remote?: boolean | undefined;
687
+ } | {
688
+ certificate_id: string;
689
+ remote?: boolean | undefined;
690
+ }> | undefined;
691
+ dispatchNamespaces?: Record<string, string | {
692
+ namespace: string;
693
+ outbound?: {
694
+ service: string;
695
+ environment?: string | undefined;
696
+ parameters?: string[] | undefined;
697
+ } | undefined;
698
+ remote?: boolean | undefined;
699
+ }> | undefined;
700
+ workflows?: Record<string, {
701
+ name: string;
702
+ className: string;
703
+ scriptName?: string | undefined;
704
+ remote?: boolean | undefined;
705
+ limits?: {
706
+ steps: number;
707
+ } | undefined;
708
+ }> | undefined;
709
+ pipelines?: Record<string, string | {
710
+ pipeline: string;
711
+ remote?: boolean | undefined;
712
+ }> | undefined;
713
+ images?: Record<string, true | {
714
+ remote?: boolean | undefined;
715
+ }> | undefined;
716
+ media?: Record<string, true | {
717
+ remote?: boolean | undefined;
718
+ }> | undefined;
719
+ artifacts?: Record<string, string | {
720
+ namespace: string;
721
+ remote?: boolean | undefined;
722
+ }> | undefined;
723
+ stream?: Record<string, true | {
724
+ remote?: boolean | undefined;
725
+ }> | undefined;
726
+ vpcServices?: Record<string, {
727
+ serviceId: string;
728
+ remote?: boolean | undefined;
729
+ }> | undefined;
730
+ vpcNetworks?: Record<string, {
731
+ tunnelId: string;
732
+ remote?: boolean | undefined;
733
+ } | {
734
+ networkId: string;
735
+ remote?: boolean | undefined;
736
+ }> | undefined;
737
+ flagship?: Record<string, {
738
+ appId: string;
739
+ remote?: boolean | undefined;
740
+ }> | undefined;
741
+ }, {
742
+ kv?: Record<string, string | {
743
+ previewId?: string | undefined;
744
+ remote?: boolean | undefined;
745
+ id: string;
746
+ } | {
747
+ previewId?: string | undefined;
748
+ remote?: boolean | undefined;
749
+ name: string;
750
+ }> | undefined;
751
+ d1?: Record<string, string | {
752
+ previewDatabaseId?: string | undefined;
753
+ migrationsTable?: string | undefined;
754
+ migrationsDir?: string | undefined;
755
+ remote?: boolean | undefined;
756
+ id: string;
757
+ } | {
758
+ previewDatabaseId?: string | undefined;
759
+ migrationsTable?: string | undefined;
760
+ migrationsDir?: string | undefined;
761
+ remote?: boolean | undefined;
762
+ name: string;
763
+ }> | undefined;
764
+ r2?: Record<string, string | {
765
+ bucketName: string;
766
+ previewBucketName?: string | undefined;
767
+ jurisdiction?: string | undefined;
768
+ remote?: boolean | undefined;
769
+ }> | undefined;
770
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
771
+ queues?: {
772
+ producers?: Record<string, string | {
773
+ queue: string;
774
+ remote?: boolean | undefined;
775
+ }> | undefined;
776
+ consumers?: {
777
+ queue: string;
778
+ maxBatchSize?: number | undefined;
779
+ maxBatchTimeout?: number | undefined;
780
+ maxRetries?: number | undefined;
781
+ deadLetterQueue?: string | undefined;
782
+ maxConcurrency?: number | undefined;
783
+ retryDelay?: number | undefined;
784
+ }[] | undefined;
785
+ } | undefined;
786
+ rateLimits?: Record<string, {
787
+ namespaceId: string;
788
+ simple: {
789
+ limit: number;
790
+ period: 10 | 60;
791
+ };
792
+ }> | undefined;
793
+ versionMetadata?: {
794
+ binding: string;
795
+ } | undefined;
796
+ workerLoaders?: Record<string, {}> | undefined;
797
+ secretsStore?: Record<string, string | {
798
+ storeId: string;
799
+ secretName: string;
800
+ }> | undefined;
801
+ services?: Record<string, {
802
+ service: string;
803
+ environment?: string;
804
+ entrypoint?: string;
805
+ remote?: boolean;
806
+ __ref?: unknown;
807
+ }> | undefined;
808
+ ai?: {
809
+ binding: string;
810
+ remote?: boolean | undefined;
811
+ staging?: boolean | undefined;
812
+ } | undefined;
813
+ aiSearchNamespaces?: Record<string, {
814
+ namespace: string;
815
+ remote?: boolean | undefined;
816
+ }> | undefined;
817
+ aiSearch?: Record<string, {
818
+ instanceName: string;
819
+ remote?: boolean | undefined;
820
+ }> | undefined;
821
+ vectorize?: Record<string, {
822
+ indexName: string;
823
+ remote?: boolean | undefined;
824
+ }> | undefined;
825
+ hyperdrive?: Record<string, string | {
826
+ id: string;
827
+ localConnectionString?: string | undefined;
828
+ } | {
829
+ name: string;
830
+ localConnectionString?: string | undefined;
831
+ previewFallback?: "base" | undefined;
832
+ previewId?: string | undefined;
833
+ previewLocalConnectionString?: string | undefined;
834
+ }> | undefined;
835
+ browser?: Record<string, string | {
836
+ remote?: boolean | undefined;
837
+ }> | undefined;
838
+ analyticsEngine?: Record<string, {
839
+ dataset: string;
840
+ }> | undefined;
841
+ sendEmail?: Record<string, {
842
+ destinationAddress?: string | undefined;
843
+ allowedDestinationAddresses?: string[] | undefined;
844
+ allowedSenderAddresses?: string[] | undefined;
845
+ }> | undefined;
846
+ mtlsCertificates?: Record<string, string | {
847
+ certificateId: string;
848
+ remote?: boolean | undefined;
849
+ } | {
850
+ certificate_id: string;
851
+ remote?: boolean | undefined;
852
+ }> | undefined;
853
+ dispatchNamespaces?: Record<string, string | {
854
+ namespace: string;
855
+ outbound?: {
856
+ service: string;
857
+ environment?: string | undefined;
858
+ parameters?: string[] | undefined;
859
+ } | undefined;
860
+ remote?: boolean | undefined;
861
+ }> | undefined;
862
+ workflows?: Record<string, {
863
+ name: string;
864
+ className: string;
865
+ scriptName?: string | undefined;
866
+ remote?: boolean | undefined;
867
+ limits?: {
868
+ steps: number;
869
+ } | undefined;
870
+ }> | undefined;
871
+ pipelines?: Record<string, string | {
872
+ pipeline: string;
873
+ remote?: boolean | undefined;
874
+ }> | undefined;
875
+ images?: Record<string, true | {
876
+ remote?: boolean | undefined;
877
+ }> | undefined;
878
+ media?: Record<string, true | {
879
+ remote?: boolean | undefined;
880
+ }> | undefined;
881
+ artifacts?: Record<string, string | {
882
+ namespace: string;
883
+ remote?: boolean | undefined;
884
+ }> | undefined;
885
+ stream?: Record<string, true | {
886
+ remote?: boolean | undefined;
887
+ }> | undefined;
888
+ vpcServices?: Record<string, {
889
+ serviceId: string;
890
+ remote?: boolean | undefined;
891
+ }> | undefined;
892
+ vpcNetworks?: Record<string, {
893
+ tunnelId: string;
894
+ remote?: boolean | undefined;
895
+ } | {
896
+ networkId: string;
897
+ remote?: boolean | undefined;
898
+ }> | undefined;
899
+ flagship?: Record<string, {
900
+ appId: string;
901
+ remote?: boolean | undefined;
902
+ }> | undefined;
903
+ }>>>;
904
+ readonly triggers: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
905
+ crons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ crons?: string[] | undefined;
908
+ }, {
909
+ crons?: string[] | undefined;
910
+ }>, {
911
+ crons?: string[] | undefined;
912
+ }, {
913
+ crons?: string[] | undefined;
914
+ }>>>;
915
+ readonly rules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
916
+ type: z.ZodEnum<["ESModule", "CommonJS", "CompiledWasm", "Text", "Data"]>;
917
+ globs: z.ZodArray<z.ZodString, "many">;
918
+ fallthrough: z.ZodOptional<z.ZodBoolean>;
919
+ }, "strict", z.ZodTypeAny, {
920
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
921
+ globs: string[];
922
+ fallthrough?: boolean | undefined;
923
+ }, {
924
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
925
+ globs: string[];
926
+ fallthrough?: boolean | undefined;
927
+ }>, "many">>>;
928
+ readonly findAdditionalModules: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
929
+ readonly baseDir: z.ZodOptional<z.ZodOptional<z.ZodString>>;
930
+ readonly preserveFileNames: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
931
+ readonly logpush: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
932
+ readonly uploadSourceMaps: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
933
+ readonly keepVars: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
934
+ readonly tailConsumers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
935
+ service: z.ZodString;
936
+ environment: z.ZodOptional<z.ZodString>;
937
+ }, "strict", z.ZodTypeAny, {
938
+ service: string;
939
+ environment?: string | undefined;
940
+ }, {
941
+ service: string;
942
+ environment?: string | undefined;
943
+ }>]>, "many">>>;
944
+ readonly vars: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>>>;
945
+ readonly secrets: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
946
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ required: boolean;
949
+ }, {
950
+ required?: boolean | undefined;
951
+ }>>>>;
952
+ readonly routes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
953
+ pattern: z.ZodString;
954
+ zone_name: z.ZodOptional<z.ZodString>;
955
+ zone_id: z.ZodOptional<z.ZodString>;
956
+ custom_domain: z.ZodOptional<z.ZodBoolean>;
957
+ }, "strip", z.ZodTypeAny, {
958
+ pattern: string;
959
+ zone_name?: string | undefined;
960
+ zone_id?: string | undefined;
961
+ custom_domain?: boolean | undefined;
962
+ }, {
963
+ pattern: string;
964
+ zone_name?: string | undefined;
965
+ zone_id?: string | undefined;
966
+ custom_domain?: boolean | undefined;
967
+ }>, {
968
+ pattern: string;
969
+ zone_name?: string | undefined;
970
+ zone_id?: string | undefined;
971
+ custom_domain?: boolean | undefined;
972
+ }, {
973
+ pattern: string;
974
+ zone_name?: string | undefined;
975
+ zone_id?: string | undefined;
976
+ custom_domain?: boolean | undefined;
977
+ }>, "many">>>;
978
+ readonly assets: z.ZodOptional<z.ZodOptional<z.ZodObject<{
979
+ directory: z.ZodString;
980
+ binding: z.ZodOptional<z.ZodString>;
981
+ html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
982
+ not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
983
+ run_worker_first: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
984
+ }, "strict", z.ZodTypeAny, {
985
+ directory: string;
986
+ binding?: string | undefined;
987
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
988
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
989
+ run_worker_first?: boolean | string[] | undefined;
990
+ }, {
991
+ directory: string;
992
+ binding?: string | undefined;
993
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
994
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
995
+ run_worker_first?: boolean | string[] | undefined;
996
+ }>>>;
997
+ readonly containers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
998
+ className: z.ZodString;
999
+ image: z.ZodString;
1000
+ maxInstances: z.ZodOptional<z.ZodNumber>;
1001
+ instanceType: z.ZodOptional<z.ZodString>;
1002
+ name: z.ZodOptional<z.ZodString>;
1003
+ imageBuildContext: z.ZodOptional<z.ZodString>;
1004
+ imageVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1005
+ rolloutActiveGracePeriod: z.ZodOptional<z.ZodNumber>;
1006
+ rolloutStepPercentage: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
1007
+ }, "strict", z.ZodTypeAny, {
1008
+ className: string;
1009
+ image: string;
1010
+ maxInstances?: number | undefined;
1011
+ instanceType?: string | undefined;
1012
+ name?: string | undefined;
1013
+ imageBuildContext?: string | undefined;
1014
+ imageVars?: Record<string, string> | undefined;
1015
+ rolloutActiveGracePeriod?: number | undefined;
1016
+ rolloutStepPercentage?: number | number[] | undefined;
1017
+ }, {
1018
+ className: string;
1019
+ image: string;
1020
+ maxInstances?: number | undefined;
1021
+ instanceType?: string | undefined;
1022
+ name?: string | undefined;
1023
+ imageBuildContext?: string | undefined;
1024
+ imageVars?: Record<string, string> | undefined;
1025
+ rolloutActiveGracePeriod?: number | undefined;
1026
+ rolloutStepPercentage?: number | number[] | undefined;
1027
+ }>, "many">>>;
1028
+ readonly placement: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1029
+ mode: z.ZodEnum<["off", "smart"]>;
1030
+ hint: z.ZodOptional<z.ZodString>;
1031
+ }, "strict", z.ZodTypeAny, {
1032
+ mode: "off" | "smart";
1033
+ hint?: string | undefined;
1034
+ }, {
1035
+ mode: "off" | "smart";
1036
+ hint?: string | undefined;
1037
+ }>, {
1038
+ mode: "off" | "smart";
1039
+ hint?: string | undefined;
1040
+ }, {
1041
+ mode: "off" | "smart";
1042
+ hint?: string | undefined;
1043
+ }>, z.ZodObject<{
1044
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
1045
+ region: z.ZodString;
1046
+ }, "strict", z.ZodTypeAny, {
1047
+ mode?: "targeted" | undefined;
1048
+ region: string;
1049
+ }, {
1050
+ mode?: "targeted" | undefined;
1051
+ region: string;
1052
+ }>, z.ZodObject<{
1053
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
1054
+ host: z.ZodString;
1055
+ }, "strict", z.ZodTypeAny, {
1056
+ mode?: "targeted" | undefined;
1057
+ host: string;
1058
+ }, {
1059
+ mode?: "targeted" | undefined;
1060
+ host: string;
1061
+ }>, z.ZodObject<{
1062
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
1063
+ hostname: z.ZodString;
1064
+ }, "strict", z.ZodTypeAny, {
1065
+ mode?: "targeted" | undefined;
1066
+ hostname: string;
1067
+ }, {
1068
+ mode?: "targeted" | undefined;
1069
+ hostname: string;
1070
+ }>]>>>;
1071
+ readonly limits: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1072
+ cpu_ms: z.ZodOptional<z.ZodNumber>;
1073
+ subrequests: z.ZodOptional<z.ZodNumber>;
1074
+ }, "strict", z.ZodTypeAny, {
1075
+ cpu_ms?: number | undefined;
1076
+ subrequests?: number | undefined;
1077
+ }, {
1078
+ cpu_ms?: number | undefined;
1079
+ subrequests?: number | undefined;
1080
+ }>>>;
1081
+ readonly observability: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1082
+ enabled: z.ZodOptional<z.ZodBoolean>;
1083
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
1084
+ logs: z.ZodOptional<z.ZodObject<{
1085
+ enabled: z.ZodOptional<z.ZodBoolean>;
1086
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
1087
+ invocation_logs: z.ZodOptional<z.ZodBoolean>;
1088
+ persist: z.ZodOptional<z.ZodBoolean>;
1089
+ destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1090
+ }, "strict", z.ZodTypeAny, {
1091
+ enabled?: boolean | undefined;
1092
+ head_sampling_rate?: number | undefined;
1093
+ invocation_logs?: boolean | undefined;
1094
+ persist?: boolean | undefined;
1095
+ destinations?: string[] | undefined;
1096
+ }, {
1097
+ enabled?: boolean | undefined;
1098
+ head_sampling_rate?: number | undefined;
1099
+ invocation_logs?: boolean | undefined;
1100
+ persist?: boolean | undefined;
1101
+ destinations?: string[] | undefined;
1102
+ }>>;
1103
+ traces: z.ZodOptional<z.ZodObject<{
1104
+ enabled: z.ZodOptional<z.ZodBoolean>;
1105
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
1106
+ persist: z.ZodOptional<z.ZodBoolean>;
1107
+ destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1108
+ }, "strict", z.ZodTypeAny, {
1109
+ enabled?: boolean | undefined;
1110
+ head_sampling_rate?: number | undefined;
1111
+ persist?: boolean | undefined;
1112
+ destinations?: string[] | undefined;
1113
+ }, {
1114
+ enabled?: boolean | undefined;
1115
+ head_sampling_rate?: number | undefined;
1116
+ persist?: boolean | undefined;
1117
+ destinations?: string[] | undefined;
1118
+ }>>;
1119
+ }, "strict", z.ZodTypeAny, {
1120
+ enabled?: boolean | undefined;
1121
+ head_sampling_rate?: number | undefined;
1122
+ logs?: {
1123
+ enabled?: boolean | undefined;
1124
+ head_sampling_rate?: number | undefined;
1125
+ invocation_logs?: boolean | undefined;
1126
+ persist?: boolean | undefined;
1127
+ destinations?: string[] | undefined;
1128
+ } | undefined;
1129
+ traces?: {
1130
+ enabled?: boolean | undefined;
1131
+ head_sampling_rate?: number | undefined;
1132
+ persist?: boolean | undefined;
1133
+ destinations?: string[] | undefined;
1134
+ } | undefined;
1135
+ }, {
1136
+ enabled?: boolean | undefined;
1137
+ head_sampling_rate?: number | undefined;
1138
+ logs?: {
1139
+ enabled?: boolean | undefined;
1140
+ head_sampling_rate?: number | undefined;
1141
+ invocation_logs?: boolean | undefined;
1142
+ persist?: boolean | undefined;
1143
+ destinations?: string[] | undefined;
1144
+ } | undefined;
1145
+ traces?: {
1146
+ enabled?: boolean | undefined;
1147
+ head_sampling_rate?: number | undefined;
1148
+ persist?: boolean | undefined;
1149
+ destinations?: string[] | undefined;
1150
+ } | undefined;
1151
+ }>>>;
1152
+ readonly migrations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1153
+ tag: z.ZodString;
1154
+ new_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1155
+ renamed_classes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1156
+ from: z.ZodString;
1157
+ to: z.ZodString;
1158
+ }, "strict", z.ZodTypeAny, {
1159
+ from: string;
1160
+ to: string;
1161
+ }, {
1162
+ from: string;
1163
+ to: string;
1164
+ }>, "many">>;
1165
+ deleted_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1166
+ new_sqlite_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1167
+ }, "strict", z.ZodTypeAny, {
1168
+ tag: string;
1169
+ new_classes?: string[] | undefined;
1170
+ renamed_classes?: {
1171
+ from: string;
1172
+ to: string;
1173
+ }[] | undefined;
1174
+ deleted_classes?: string[] | undefined;
1175
+ new_sqlite_classes?: string[] | undefined;
1176
+ }, {
1177
+ tag: string;
1178
+ new_classes?: string[] | undefined;
1179
+ renamed_classes?: {
1180
+ from: string;
1181
+ to: string;
1182
+ }[] | undefined;
1183
+ deleted_classes?: string[] | undefined;
1184
+ new_sqlite_classes?: string[] | undefined;
1185
+ }>, "many">>>;
1186
+ readonly rolldown: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1187
+ target: z.ZodOptional<z.ZodString>;
1188
+ minify: z.ZodOptional<z.ZodBoolean>;
1189
+ sourcemap: z.ZodOptional<z.ZodBoolean>;
1190
+ options: z.ZodOptional<z.ZodType<import("./schema-build.js").DevflareRolldownOptions, z.ZodTypeDef, import("./schema-build.js").DevflareRolldownOptions>>;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ target?: string | undefined;
1193
+ minify?: boolean | undefined;
1194
+ sourcemap?: boolean | undefined;
1195
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
1196
+ }, {
1197
+ target?: string | undefined;
1198
+ minify?: boolean | undefined;
1199
+ sourcemap?: boolean | undefined;
1200
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
1201
+ }>>>;
1202
+ readonly vite: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1203
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1204
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
1205
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1206
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
1207
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1208
+ }, z.ZodUnknown, "strip">>>>;
1209
+ readonly wrangler: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1210
+ passthrough: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1211
+ }, "strip", z.ZodTypeAny, {
1212
+ passthrough?: Record<string, unknown> | undefined;
1213
+ }, {
1214
+ passthrough?: Record<string, unknown> | undefined;
1215
+ }>>>;
1216
+ }, "strict", z.ZodTypeAny, {
1217
+ name?: string | undefined;
1218
+ secretsStoreId?: string | undefined;
1219
+ compatibilityDate?: string | undefined;
1220
+ compatibilityFlags?: string[] | undefined;
1221
+ previews?: {
1222
+ includeCrons: boolean;
1223
+ } | undefined;
1224
+ server?: {
1225
+ host?: string | undefined;
1226
+ port?: number | undefined;
1227
+ } | undefined;
1228
+ files?: {
1229
+ fetch?: string | false | undefined;
1230
+ queue?: string | false | undefined;
1231
+ scheduled?: string | false | undefined;
1232
+ email?: string | false | undefined;
1233
+ tail?: string | false | undefined;
1234
+ durableObjects?: string | false | undefined;
1235
+ entrypoints?: string | false | undefined;
1236
+ workflows?: string | false | undefined;
1237
+ routes?: false | {
1238
+ dir: string;
1239
+ prefix?: string | undefined;
1240
+ } | undefined;
1241
+ transport?: string | null | undefined;
1242
+ } | undefined;
1243
+ bindings?: {
1244
+ kv?: Record<string, string | {
1245
+ previewId?: string | undefined;
1246
+ remote?: boolean | undefined;
1247
+ id: string;
1248
+ } | {
1249
+ previewId?: string | undefined;
1250
+ remote?: boolean | undefined;
1251
+ name: string;
1252
+ }> | undefined;
1253
+ d1?: Record<string, string | {
1254
+ previewDatabaseId?: string | undefined;
1255
+ migrationsTable?: string | undefined;
1256
+ migrationsDir?: string | undefined;
1257
+ remote?: boolean | undefined;
1258
+ id: string;
1259
+ } | {
1260
+ previewDatabaseId?: string | undefined;
1261
+ migrationsTable?: string | undefined;
1262
+ migrationsDir?: string | undefined;
1263
+ remote?: boolean | undefined;
1264
+ name: string;
1265
+ }> | undefined;
1266
+ r2?: Record<string, string | {
1267
+ bucketName: string;
1268
+ previewBucketName?: string | undefined;
1269
+ jurisdiction?: string | undefined;
1270
+ remote?: boolean | undefined;
1271
+ }> | undefined;
1272
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
1273
+ queues?: {
1274
+ producers?: Record<string, string | {
1275
+ queue: string;
1276
+ remote?: boolean | undefined;
1277
+ }> | undefined;
1278
+ consumers?: {
1279
+ queue: string;
1280
+ maxBatchSize?: number | undefined;
1281
+ maxBatchTimeout?: number | undefined;
1282
+ maxRetries?: number | undefined;
1283
+ deadLetterQueue?: string | undefined;
1284
+ maxConcurrency?: number | undefined;
1285
+ retryDelay?: number | undefined;
1286
+ }[] | undefined;
1287
+ } | undefined;
1288
+ rateLimits?: Record<string, {
1289
+ namespaceId: string;
1290
+ simple: {
1291
+ limit: number;
1292
+ period: 10 | 60;
1293
+ };
1294
+ }> | undefined;
1295
+ versionMetadata?: {
1296
+ binding: string;
1297
+ } | undefined;
1298
+ workerLoaders?: Record<string, {}> | undefined;
1299
+ secretsStore?: Record<string, string | {
1300
+ storeId: string;
1301
+ secretName: string;
1302
+ }> | undefined;
1303
+ services?: Record<string, {
1304
+ service: string;
1305
+ environment?: string;
1306
+ entrypoint?: string;
1307
+ remote?: boolean;
1308
+ __ref?: unknown;
1309
+ }> | undefined;
1310
+ ai?: {
1311
+ binding: string;
1312
+ remote?: boolean | undefined;
1313
+ staging?: boolean | undefined;
1314
+ } | undefined;
1315
+ aiSearchNamespaces?: Record<string, {
1316
+ namespace: string;
1317
+ remote?: boolean | undefined;
1318
+ }> | undefined;
1319
+ aiSearch?: Record<string, {
1320
+ instanceName: string;
1321
+ remote?: boolean | undefined;
1322
+ }> | undefined;
1323
+ vectorize?: Record<string, {
1324
+ indexName: string;
1325
+ remote?: boolean | undefined;
1326
+ }> | undefined;
1327
+ hyperdrive?: Record<string, string | {
1328
+ id: string;
1329
+ localConnectionString?: string | undefined;
1330
+ } | {
1331
+ name: string;
1332
+ localConnectionString?: string | undefined;
1333
+ previewFallback?: "base" | undefined;
1334
+ previewId?: string | undefined;
1335
+ previewLocalConnectionString?: string | undefined;
1336
+ }> | undefined;
1337
+ browser?: Record<string, string | {
1338
+ remote?: boolean | undefined;
1339
+ }> | undefined;
1340
+ analyticsEngine?: Record<string, {
1341
+ dataset: string;
1342
+ }> | undefined;
1343
+ sendEmail?: Record<string, {
1344
+ destinationAddress?: string | undefined;
1345
+ allowedDestinationAddresses?: string[] | undefined;
1346
+ allowedSenderAddresses?: string[] | undefined;
1347
+ }> | undefined;
1348
+ mtlsCertificates?: Record<string, string | {
1349
+ certificateId: string;
1350
+ remote?: boolean | undefined;
1351
+ } | {
1352
+ certificate_id: string;
1353
+ remote?: boolean | undefined;
1354
+ }> | undefined;
1355
+ dispatchNamespaces?: Record<string, string | {
1356
+ namespace: string;
1357
+ outbound?: {
1358
+ service: string;
1359
+ environment?: string | undefined;
1360
+ parameters?: string[] | undefined;
1361
+ } | undefined;
1362
+ remote?: boolean | undefined;
1363
+ }> | undefined;
1364
+ workflows?: Record<string, {
1365
+ name: string;
1366
+ className: string;
1367
+ scriptName?: string | undefined;
1368
+ remote?: boolean | undefined;
1369
+ limits?: {
1370
+ steps: number;
1371
+ } | undefined;
1372
+ }> | undefined;
1373
+ pipelines?: Record<string, string | {
1374
+ pipeline: string;
1375
+ remote?: boolean | undefined;
1376
+ }> | undefined;
1377
+ images?: Record<string, true | {
1378
+ remote?: boolean | undefined;
1379
+ }> | undefined;
1380
+ media?: Record<string, true | {
1381
+ remote?: boolean | undefined;
1382
+ }> | undefined;
1383
+ artifacts?: Record<string, string | {
1384
+ namespace: string;
1385
+ remote?: boolean | undefined;
1386
+ }> | undefined;
1387
+ stream?: Record<string, true | {
1388
+ remote?: boolean | undefined;
1389
+ }> | undefined;
1390
+ vpcServices?: Record<string, {
1391
+ serviceId: string;
1392
+ remote?: boolean | undefined;
1393
+ }> | undefined;
1394
+ vpcNetworks?: Record<string, {
1395
+ tunnelId: string;
1396
+ remote?: boolean | undefined;
1397
+ } | {
1398
+ networkId: string;
1399
+ remote?: boolean | undefined;
1400
+ }> | undefined;
1401
+ flagship?: Record<string, {
1402
+ appId: string;
1403
+ remote?: boolean | undefined;
1404
+ }> | undefined;
1405
+ } | undefined;
1406
+ triggers?: {
1407
+ crons?: string[] | undefined;
1408
+ } | undefined;
1409
+ rules?: {
1410
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
1411
+ globs: string[];
1412
+ fallthrough?: boolean | undefined;
1413
+ }[] | undefined;
1414
+ findAdditionalModules?: boolean | undefined;
1415
+ baseDir?: string | undefined;
1416
+ preserveFileNames?: boolean | undefined;
1417
+ logpush?: boolean | undefined;
1418
+ uploadSourceMaps?: boolean | undefined;
1419
+ keepVars?: boolean | undefined;
1420
+ tailConsumers?: (string | {
1421
+ service: string;
1422
+ environment?: string | undefined;
1423
+ })[] | undefined;
1424
+ vars?: Record<string, unknown> | undefined;
1425
+ secrets?: Record<string, {
1426
+ required: boolean;
1427
+ }> | undefined;
1428
+ routes?: {
1429
+ pattern: string;
1430
+ zone_name?: string | undefined;
1431
+ zone_id?: string | undefined;
1432
+ custom_domain?: boolean | undefined;
1433
+ }[] | undefined;
1434
+ assets?: {
1435
+ directory: string;
1436
+ binding?: string | undefined;
1437
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
1438
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
1439
+ run_worker_first?: boolean | string[] | undefined;
1440
+ } | undefined;
1441
+ containers?: {
1442
+ className: string;
1443
+ image: string;
1444
+ maxInstances?: number | undefined;
1445
+ instanceType?: string | undefined;
1446
+ name?: string | undefined;
1447
+ imageBuildContext?: string | undefined;
1448
+ imageVars?: Record<string, string> | undefined;
1449
+ rolloutActiveGracePeriod?: number | undefined;
1450
+ rolloutStepPercentage?: number | number[] | undefined;
1451
+ }[] | undefined;
1452
+ placement?: {
1453
+ mode: "off" | "smart";
1454
+ hint?: string | undefined;
1455
+ } | {
1456
+ mode?: "targeted" | undefined;
1457
+ region: string;
1458
+ } | {
1459
+ mode?: "targeted" | undefined;
1460
+ host: string;
1461
+ } | {
1462
+ mode?: "targeted" | undefined;
1463
+ hostname: string;
1464
+ } | undefined;
1465
+ limits?: {
1466
+ cpu_ms?: number | undefined;
1467
+ subrequests?: number | undefined;
1468
+ } | undefined;
1469
+ observability?: {
1470
+ enabled?: boolean | undefined;
1471
+ head_sampling_rate?: number | undefined;
1472
+ logs?: {
1473
+ enabled?: boolean | undefined;
1474
+ head_sampling_rate?: number | undefined;
1475
+ invocation_logs?: boolean | undefined;
1476
+ persist?: boolean | undefined;
1477
+ destinations?: string[] | undefined;
1478
+ } | undefined;
1479
+ traces?: {
1480
+ enabled?: boolean | undefined;
1481
+ head_sampling_rate?: number | undefined;
1482
+ persist?: boolean | undefined;
1483
+ destinations?: string[] | undefined;
1484
+ } | undefined;
1485
+ } | undefined;
1486
+ migrations?: {
1487
+ tag: string;
1488
+ new_classes?: string[] | undefined;
1489
+ renamed_classes?: {
1490
+ from: string;
1491
+ to: string;
1492
+ }[] | undefined;
1493
+ deleted_classes?: string[] | undefined;
1494
+ new_sqlite_classes?: string[] | undefined;
1495
+ }[] | undefined;
1496
+ rolldown?: {
1497
+ target?: string | undefined;
1498
+ minify?: boolean | undefined;
1499
+ sourcemap?: boolean | undefined;
1500
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
1501
+ } | undefined;
1502
+ vite?: z.objectOutputType<{
1503
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1504
+ }, z.ZodUnknown, "strip"> | undefined;
1505
+ wrangler?: {
1506
+ passthrough?: Record<string, unknown> | undefined;
1507
+ } | undefined;
1508
+ }, {
1509
+ name?: string | undefined;
1510
+ secretsStoreId?: string | undefined;
1511
+ compatibilityDate?: string | undefined;
1512
+ compatibilityFlags?: string[] | undefined;
1513
+ previews?: {
1514
+ includeCrons?: boolean | undefined;
1515
+ } | undefined;
1516
+ server?: {
1517
+ host?: string | undefined;
1518
+ port?: number | undefined;
1519
+ } | undefined;
1520
+ files?: {
1521
+ fetch?: string | false | undefined;
1522
+ queue?: string | false | undefined;
1523
+ scheduled?: string | false | undefined;
1524
+ email?: string | false | undefined;
1525
+ tail?: string | false | undefined;
1526
+ durableObjects?: string | false | undefined;
1527
+ entrypoints?: string | false | undefined;
1528
+ workflows?: string | false | undefined;
1529
+ routes?: false | {
1530
+ dir: string;
1531
+ prefix?: string | undefined;
1532
+ } | undefined;
1533
+ transport?: string | null | undefined;
1534
+ } | undefined;
1535
+ bindings?: {
1536
+ kv?: Record<string, string | {
1537
+ previewId?: string | undefined;
1538
+ remote?: boolean | undefined;
1539
+ id: string;
1540
+ } | {
1541
+ previewId?: string | undefined;
1542
+ remote?: boolean | undefined;
1543
+ name: string;
1544
+ }> | undefined;
1545
+ d1?: Record<string, string | {
1546
+ previewDatabaseId?: string | undefined;
1547
+ migrationsTable?: string | undefined;
1548
+ migrationsDir?: string | undefined;
1549
+ remote?: boolean | undefined;
1550
+ id: string;
1551
+ } | {
1552
+ previewDatabaseId?: string | undefined;
1553
+ migrationsTable?: string | undefined;
1554
+ migrationsDir?: string | undefined;
1555
+ remote?: boolean | undefined;
1556
+ name: string;
1557
+ }> | undefined;
1558
+ r2?: Record<string, string | {
1559
+ bucketName: string;
1560
+ previewBucketName?: string | undefined;
1561
+ jurisdiction?: string | undefined;
1562
+ remote?: boolean | undefined;
1563
+ }> | undefined;
1564
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
1565
+ queues?: {
1566
+ producers?: Record<string, string | {
1567
+ queue: string;
1568
+ remote?: boolean | undefined;
1569
+ }> | undefined;
1570
+ consumers?: {
1571
+ queue: string;
1572
+ maxBatchSize?: number | undefined;
1573
+ maxBatchTimeout?: number | undefined;
1574
+ maxRetries?: number | undefined;
1575
+ deadLetterQueue?: string | undefined;
1576
+ maxConcurrency?: number | undefined;
1577
+ retryDelay?: number | undefined;
1578
+ }[] | undefined;
1579
+ } | undefined;
1580
+ rateLimits?: Record<string, {
1581
+ namespaceId: string;
1582
+ simple: {
1583
+ limit: number;
1584
+ period: 10 | 60;
1585
+ };
1586
+ }> | undefined;
1587
+ versionMetadata?: {
1588
+ binding: string;
1589
+ } | undefined;
1590
+ workerLoaders?: Record<string, {}> | undefined;
1591
+ secretsStore?: Record<string, string | {
1592
+ storeId: string;
1593
+ secretName: string;
1594
+ }> | undefined;
1595
+ services?: Record<string, {
1596
+ service: string;
1597
+ environment?: string;
1598
+ entrypoint?: string;
1599
+ remote?: boolean;
1600
+ __ref?: unknown;
1601
+ }> | undefined;
1602
+ ai?: {
1603
+ binding: string;
1604
+ remote?: boolean | undefined;
1605
+ staging?: boolean | undefined;
1606
+ } | undefined;
1607
+ aiSearchNamespaces?: Record<string, {
1608
+ namespace: string;
1609
+ remote?: boolean | undefined;
1610
+ }> | undefined;
1611
+ aiSearch?: Record<string, {
1612
+ instanceName: string;
1613
+ remote?: boolean | undefined;
1614
+ }> | undefined;
1615
+ vectorize?: Record<string, {
1616
+ indexName: string;
1617
+ remote?: boolean | undefined;
1618
+ }> | undefined;
1619
+ hyperdrive?: Record<string, string | {
1620
+ id: string;
1621
+ localConnectionString?: string | undefined;
1622
+ } | {
1623
+ name: string;
1624
+ localConnectionString?: string | undefined;
1625
+ previewFallback?: "base" | undefined;
1626
+ previewId?: string | undefined;
1627
+ previewLocalConnectionString?: string | undefined;
1628
+ }> | undefined;
1629
+ browser?: Record<string, string | {
1630
+ remote?: boolean | undefined;
1631
+ }> | undefined;
1632
+ analyticsEngine?: Record<string, {
1633
+ dataset: string;
1634
+ }> | undefined;
1635
+ sendEmail?: Record<string, {
1636
+ destinationAddress?: string | undefined;
1637
+ allowedDestinationAddresses?: string[] | undefined;
1638
+ allowedSenderAddresses?: string[] | undefined;
1639
+ }> | undefined;
1640
+ mtlsCertificates?: Record<string, string | {
1641
+ certificateId: string;
1642
+ remote?: boolean | undefined;
1643
+ } | {
1644
+ certificate_id: string;
1645
+ remote?: boolean | undefined;
1646
+ }> | undefined;
1647
+ dispatchNamespaces?: Record<string, string | {
1648
+ namespace: string;
1649
+ outbound?: {
1650
+ service: string;
1651
+ environment?: string | undefined;
1652
+ parameters?: string[] | undefined;
1653
+ } | undefined;
1654
+ remote?: boolean | undefined;
1655
+ }> | undefined;
1656
+ workflows?: Record<string, {
1657
+ name: string;
1658
+ className: string;
1659
+ scriptName?: string | undefined;
1660
+ remote?: boolean | undefined;
1661
+ limits?: {
1662
+ steps: number;
1663
+ } | undefined;
1664
+ }> | undefined;
1665
+ pipelines?: Record<string, string | {
1666
+ pipeline: string;
1667
+ remote?: boolean | undefined;
1668
+ }> | undefined;
1669
+ images?: Record<string, true | {
1670
+ remote?: boolean | undefined;
1671
+ }> | undefined;
1672
+ media?: Record<string, true | {
1673
+ remote?: boolean | undefined;
1674
+ }> | undefined;
1675
+ artifacts?: Record<string, string | {
1676
+ namespace: string;
1677
+ remote?: boolean | undefined;
1678
+ }> | undefined;
1679
+ stream?: Record<string, true | {
1680
+ remote?: boolean | undefined;
1681
+ }> | undefined;
1682
+ vpcServices?: Record<string, {
1683
+ serviceId: string;
1684
+ remote?: boolean | undefined;
1685
+ }> | undefined;
1686
+ vpcNetworks?: Record<string, {
1687
+ tunnelId: string;
1688
+ remote?: boolean | undefined;
1689
+ } | {
1690
+ networkId: string;
1691
+ remote?: boolean | undefined;
1692
+ }> | undefined;
1693
+ flagship?: Record<string, {
1694
+ appId: string;
1695
+ remote?: boolean | undefined;
1696
+ }> | undefined;
1697
+ } | undefined;
1698
+ triggers?: {
1699
+ crons?: string[] | undefined;
1700
+ } | undefined;
1701
+ rules?: {
1702
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
1703
+ globs: string[];
1704
+ fallthrough?: boolean | undefined;
1705
+ }[] | undefined;
1706
+ findAdditionalModules?: boolean | undefined;
1707
+ baseDir?: string | undefined;
1708
+ preserveFileNames?: boolean | undefined;
1709
+ logpush?: boolean | undefined;
1710
+ uploadSourceMaps?: boolean | undefined;
1711
+ keepVars?: boolean | undefined;
1712
+ tailConsumers?: (string | {
1713
+ service: string;
1714
+ environment?: string | undefined;
1715
+ })[] | undefined;
1716
+ vars?: Record<string, unknown> | undefined;
1717
+ secrets?: Record<string, {
1718
+ required?: boolean | undefined;
1719
+ }> | undefined;
1720
+ routes?: {
1721
+ pattern: string;
1722
+ zone_name?: string | undefined;
1723
+ zone_id?: string | undefined;
1724
+ custom_domain?: boolean | undefined;
1725
+ }[] | undefined;
1726
+ assets?: {
1727
+ directory: string;
1728
+ binding?: string | undefined;
1729
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
1730
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
1731
+ run_worker_first?: boolean | string[] | undefined;
1732
+ } | undefined;
1733
+ containers?: {
1734
+ className: string;
1735
+ image: string;
1736
+ maxInstances?: number | undefined;
1737
+ instanceType?: string | undefined;
1738
+ name?: string | undefined;
1739
+ imageBuildContext?: string | undefined;
1740
+ imageVars?: Record<string, string> | undefined;
1741
+ rolloutActiveGracePeriod?: number | undefined;
1742
+ rolloutStepPercentage?: number | number[] | undefined;
1743
+ }[] | undefined;
1744
+ placement?: {
1745
+ mode: "off" | "smart";
1746
+ hint?: string | undefined;
1747
+ } | {
1748
+ mode?: "targeted" | undefined;
1749
+ region: string;
1750
+ } | {
1751
+ mode?: "targeted" | undefined;
1752
+ host: string;
1753
+ } | {
1754
+ mode?: "targeted" | undefined;
1755
+ hostname: string;
1756
+ } | undefined;
1757
+ limits?: {
1758
+ cpu_ms?: number | undefined;
1759
+ subrequests?: number | undefined;
1760
+ } | undefined;
1761
+ observability?: {
1762
+ enabled?: boolean | undefined;
1763
+ head_sampling_rate?: number | undefined;
1764
+ logs?: {
1765
+ enabled?: boolean | undefined;
1766
+ head_sampling_rate?: number | undefined;
1767
+ invocation_logs?: boolean | undefined;
1768
+ persist?: boolean | undefined;
1769
+ destinations?: string[] | undefined;
1770
+ } | undefined;
1771
+ traces?: {
1772
+ enabled?: boolean | undefined;
1773
+ head_sampling_rate?: number | undefined;
1774
+ persist?: boolean | undefined;
1775
+ destinations?: string[] | undefined;
1776
+ } | undefined;
1777
+ } | undefined;
1778
+ migrations?: {
1779
+ tag: string;
1780
+ new_classes?: string[] | undefined;
1781
+ renamed_classes?: {
1782
+ from: string;
1783
+ to: string;
1784
+ }[] | undefined;
1785
+ deleted_classes?: string[] | undefined;
1786
+ new_sqlite_classes?: string[] | undefined;
1787
+ }[] | undefined;
1788
+ rolldown?: {
1789
+ target?: string | undefined;
1790
+ minify?: boolean | undefined;
1791
+ sourcemap?: boolean | undefined;
1792
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
1793
+ } | undefined;
1794
+ vite?: z.objectInputType<{
1795
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1796
+ }, z.ZodUnknown, "strip"> | undefined;
1797
+ wrangler?: {
1798
+ passthrough?: Record<string, unknown> | undefined;
1799
+ } | undefined;
1800
+ }>>;
1801
+ export declare const envConfigSchemaInner: z.ZodLazy<z.ZodObject<{
1802
+ readonly name: z.ZodOptional<z.ZodString>;
1803
+ readonly secretsStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1804
+ readonly compatibilityDate: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
1805
+ readonly compatibilityFlags: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>>;
1806
+ readonly previews: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1807
+ includeCrons: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ includeCrons: boolean;
1810
+ }, {
1811
+ includeCrons?: boolean | undefined;
1812
+ }>>>;
1813
+ readonly server: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1814
+ host: z.ZodOptional<z.ZodString>;
1815
+ port: z.ZodOptional<z.ZodNumber>;
1816
+ }, "strict", z.ZodTypeAny, {
1817
+ host?: string | undefined;
1818
+ port?: number | undefined;
1819
+ }, {
1820
+ host?: string | undefined;
1821
+ port?: number | undefined;
1822
+ }>>>;
1823
+ readonly files: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1824
+ fetch: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1825
+ queue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1826
+ scheduled: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1827
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1828
+ tail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1829
+ durableObjects: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1830
+ entrypoints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1831
+ workflows: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1832
+ routes: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1833
+ dir: z.ZodString;
1834
+ prefix: z.ZodOptional<z.ZodString>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ dir: string;
1837
+ prefix?: string | undefined;
1838
+ }, {
1839
+ dir: string;
1840
+ prefix?: string | undefined;
1841
+ }>, z.ZodLiteral<false>]>>;
1842
+ transport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ fetch?: string | false | undefined;
1845
+ queue?: string | false | undefined;
1846
+ scheduled?: string | false | undefined;
1847
+ email?: string | false | undefined;
1848
+ tail?: string | false | undefined;
1849
+ durableObjects?: string | false | undefined;
1850
+ entrypoints?: string | false | undefined;
1851
+ workflows?: string | false | undefined;
1852
+ routes?: false | {
1853
+ dir: string;
1854
+ prefix?: string | undefined;
1855
+ } | undefined;
1856
+ transport?: string | null | undefined;
1857
+ }, {
1858
+ fetch?: string | false | undefined;
1859
+ queue?: string | false | undefined;
1860
+ scheduled?: string | false | undefined;
1861
+ email?: string | false | undefined;
1862
+ tail?: string | false | undefined;
1863
+ durableObjects?: string | false | undefined;
1864
+ entrypoints?: string | false | undefined;
1865
+ workflows?: string | false | undefined;
1866
+ routes?: false | {
1867
+ dir: string;
1868
+ prefix?: string | undefined;
1869
+ } | undefined;
1870
+ transport?: string | null | undefined;
1871
+ }>>>;
1872
+ readonly bindings: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1873
+ kv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1874
+ previewId: z.ZodOptional<z.ZodString>;
1875
+ remote: z.ZodOptional<z.ZodBoolean>;
1876
+ id: z.ZodString;
1877
+ }, "strict", z.ZodTypeAny, {
1878
+ previewId?: string | undefined;
1879
+ remote?: boolean | undefined;
1880
+ id: string;
1881
+ }, {
1882
+ previewId?: string | undefined;
1883
+ remote?: boolean | undefined;
1884
+ id: string;
1885
+ }>, z.ZodObject<{
1886
+ previewId: z.ZodOptional<z.ZodString>;
1887
+ remote: z.ZodOptional<z.ZodBoolean>;
1888
+ name: z.ZodString;
1889
+ }, "strict", z.ZodTypeAny, {
1890
+ previewId?: string | undefined;
1891
+ remote?: boolean | undefined;
1892
+ name: string;
1893
+ }, {
1894
+ previewId?: string | undefined;
1895
+ remote?: boolean | undefined;
1896
+ name: string;
1897
+ }>]>>>;
1898
+ d1: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1899
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
1900
+ migrationsTable: z.ZodOptional<z.ZodString>;
1901
+ migrationsDir: z.ZodOptional<z.ZodString>;
1902
+ remote: z.ZodOptional<z.ZodBoolean>;
1903
+ id: z.ZodString;
1904
+ }, "strict", z.ZodTypeAny, {
1905
+ previewDatabaseId?: string | undefined;
1906
+ migrationsTable?: string | undefined;
1907
+ migrationsDir?: string | undefined;
1908
+ remote?: boolean | undefined;
1909
+ id: string;
1910
+ }, {
1911
+ previewDatabaseId?: string | undefined;
1912
+ migrationsTable?: string | undefined;
1913
+ migrationsDir?: string | undefined;
1914
+ remote?: boolean | undefined;
1915
+ id: string;
1916
+ }>, z.ZodObject<{
1917
+ previewDatabaseId: z.ZodOptional<z.ZodString>;
1918
+ migrationsTable: z.ZodOptional<z.ZodString>;
1919
+ migrationsDir: z.ZodOptional<z.ZodString>;
1920
+ remote: z.ZodOptional<z.ZodBoolean>;
1921
+ name: z.ZodString;
1922
+ }, "strict", z.ZodTypeAny, {
1923
+ previewDatabaseId?: string | undefined;
1924
+ migrationsTable?: string | undefined;
1925
+ migrationsDir?: string | undefined;
1926
+ remote?: boolean | undefined;
1927
+ name: string;
1928
+ }, {
1929
+ previewDatabaseId?: string | undefined;
1930
+ migrationsTable?: string | undefined;
1931
+ migrationsDir?: string | undefined;
1932
+ remote?: boolean | undefined;
1933
+ name: string;
1934
+ }>]>>>;
1935
+ r2: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1936
+ bucketName: z.ZodString;
1937
+ previewBucketName: z.ZodOptional<z.ZodString>;
1938
+ jurisdiction: z.ZodOptional<z.ZodString>;
1939
+ remote: z.ZodOptional<z.ZodBoolean>;
1940
+ }, "strict", z.ZodTypeAny, {
1941
+ bucketName: string;
1942
+ previewBucketName?: string | undefined;
1943
+ jurisdiction?: string | undefined;
1944
+ remote?: boolean | undefined;
1945
+ }, {
1946
+ bucketName: string;
1947
+ previewBucketName?: string | undefined;
1948
+ jurisdiction?: string | undefined;
1949
+ remote?: boolean | undefined;
1950
+ }>]>>>;
1951
+ durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./schema-bindings.js").DurableObjectBindingInput, z.ZodTypeDef, import("./schema-bindings.js").DurableObjectBindingInput>>>;
1952
+ queues: z.ZodOptional<z.ZodObject<{
1953
+ producers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1954
+ queue: z.ZodString;
1955
+ remote: z.ZodOptional<z.ZodBoolean>;
1956
+ }, "strict", z.ZodTypeAny, {
1957
+ queue: string;
1958
+ remote?: boolean | undefined;
1959
+ }, {
1960
+ queue: string;
1961
+ remote?: boolean | undefined;
1962
+ }>]>>>;
1963
+ consumers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1964
+ queue: z.ZodString;
1965
+ maxBatchSize: z.ZodOptional<z.ZodNumber>;
1966
+ maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
1967
+ maxRetries: z.ZodOptional<z.ZodNumber>;
1968
+ deadLetterQueue: z.ZodOptional<z.ZodString>;
1969
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
1970
+ retryDelay: z.ZodOptional<z.ZodNumber>;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ queue: string;
1973
+ maxBatchSize?: number | undefined;
1974
+ maxBatchTimeout?: number | undefined;
1975
+ maxRetries?: number | undefined;
1976
+ deadLetterQueue?: string | undefined;
1977
+ maxConcurrency?: number | undefined;
1978
+ retryDelay?: number | undefined;
1979
+ }, {
1980
+ queue: string;
1981
+ maxBatchSize?: number | undefined;
1982
+ maxBatchTimeout?: number | undefined;
1983
+ maxRetries?: number | undefined;
1984
+ deadLetterQueue?: string | undefined;
1985
+ maxConcurrency?: number | undefined;
1986
+ retryDelay?: number | undefined;
1987
+ }>, "many">>;
1988
+ }, "strip", z.ZodTypeAny, {
1989
+ producers?: Record<string, string | {
1990
+ queue: string;
1991
+ remote?: boolean | undefined;
1992
+ }> | undefined;
1993
+ consumers?: {
1994
+ queue: string;
1995
+ maxBatchSize?: number | undefined;
1996
+ maxBatchTimeout?: number | undefined;
1997
+ maxRetries?: number | undefined;
1998
+ deadLetterQueue?: string | undefined;
1999
+ maxConcurrency?: number | undefined;
2000
+ retryDelay?: number | undefined;
2001
+ }[] | undefined;
2002
+ }, {
2003
+ producers?: Record<string, string | {
2004
+ queue: string;
2005
+ remote?: boolean | undefined;
2006
+ }> | undefined;
2007
+ consumers?: {
2008
+ queue: string;
2009
+ maxBatchSize?: number | undefined;
2010
+ maxBatchTimeout?: number | undefined;
2011
+ maxRetries?: number | undefined;
2012
+ deadLetterQueue?: string | undefined;
2013
+ maxConcurrency?: number | undefined;
2014
+ retryDelay?: number | undefined;
2015
+ }[] | undefined;
2016
+ }>>;
2017
+ rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2018
+ namespaceId: z.ZodString;
2019
+ simple: z.ZodObject<{
2020
+ limit: z.ZodNumber;
2021
+ period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
2022
+ }, "strict", z.ZodTypeAny, {
2023
+ limit: number;
2024
+ period: 10 | 60;
2025
+ }, {
2026
+ limit: number;
2027
+ period: 10 | 60;
2028
+ }>;
2029
+ }, "strict", z.ZodTypeAny, {
2030
+ namespaceId: string;
2031
+ simple: {
2032
+ limit: number;
2033
+ period: 10 | 60;
2034
+ };
2035
+ }, {
2036
+ namespaceId: string;
2037
+ simple: {
2038
+ limit: number;
2039
+ period: 10 | 60;
2040
+ };
2041
+ }>>>;
2042
+ versionMetadata: z.ZodOptional<z.ZodObject<{
2043
+ binding: z.ZodString;
2044
+ }, "strict", z.ZodTypeAny, {
2045
+ binding: string;
2046
+ }, {
2047
+ binding: string;
2048
+ }>>;
2049
+ workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
2050
+ secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2051
+ storeId: z.ZodString;
2052
+ secretName: z.ZodString;
2053
+ }, "strict", z.ZodTypeAny, {
2054
+ storeId: string;
2055
+ secretName: string;
2056
+ }, {
2057
+ storeId: string;
2058
+ secretName: string;
2059
+ }>]>>>;
2060
+ services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
2061
+ service: string;
2062
+ environment?: string;
2063
+ entrypoint?: string;
2064
+ remote?: boolean;
2065
+ __ref?: unknown;
2066
+ }, z.ZodTypeDef, {
2067
+ service: string;
2068
+ environment?: string;
2069
+ entrypoint?: string;
2070
+ remote?: boolean;
2071
+ __ref?: unknown;
2072
+ }>>>;
2073
+ ai: z.ZodOptional<z.ZodObject<{
2074
+ binding: z.ZodString;
2075
+ remote: z.ZodOptional<z.ZodBoolean>;
2076
+ staging: z.ZodOptional<z.ZodBoolean>;
2077
+ }, "strict", z.ZodTypeAny, {
2078
+ binding: string;
2079
+ remote?: boolean | undefined;
2080
+ staging?: boolean | undefined;
2081
+ }, {
2082
+ binding: string;
2083
+ remote?: boolean | undefined;
2084
+ staging?: boolean | undefined;
2085
+ }>>;
2086
+ aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2087
+ namespace: z.ZodString;
2088
+ remote: z.ZodOptional<z.ZodBoolean>;
2089
+ }, "strict", z.ZodTypeAny, {
2090
+ namespace: string;
2091
+ remote?: boolean | undefined;
2092
+ }, {
2093
+ namespace: string;
2094
+ remote?: boolean | undefined;
2095
+ }>>>;
2096
+ aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2097
+ instanceName: z.ZodString;
2098
+ remote: z.ZodOptional<z.ZodBoolean>;
2099
+ }, "strict", z.ZodTypeAny, {
2100
+ instanceName: string;
2101
+ remote?: boolean | undefined;
2102
+ }, {
2103
+ instanceName: string;
2104
+ remote?: boolean | undefined;
2105
+ }>>>;
2106
+ vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2107
+ indexName: z.ZodString;
2108
+ remote: z.ZodOptional<z.ZodBoolean>;
2109
+ }, "strip", z.ZodTypeAny, {
2110
+ indexName: string;
2111
+ remote?: boolean | undefined;
2112
+ }, {
2113
+ indexName: string;
2114
+ remote?: boolean | undefined;
2115
+ }>>>;
2116
+ hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2117
+ id: z.ZodString;
2118
+ localConnectionString: z.ZodOptional<z.ZodString>;
2119
+ }, "strict", z.ZodTypeAny, {
2120
+ id: string;
2121
+ localConnectionString?: string | undefined;
2122
+ }, {
2123
+ id: string;
2124
+ localConnectionString?: string | undefined;
2125
+ }>, z.ZodObject<{
2126
+ name: z.ZodString;
2127
+ localConnectionString: z.ZodOptional<z.ZodString>;
2128
+ previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
2129
+ previewId: z.ZodOptional<z.ZodString>;
2130
+ previewLocalConnectionString: z.ZodOptional<z.ZodString>;
2131
+ }, "strict", z.ZodTypeAny, {
2132
+ name: string;
2133
+ localConnectionString?: string | undefined;
2134
+ previewFallback?: "base" | undefined;
2135
+ previewId?: string | undefined;
2136
+ previewLocalConnectionString?: string | undefined;
2137
+ }, {
2138
+ name: string;
2139
+ localConnectionString?: string | undefined;
2140
+ previewFallback?: "base" | undefined;
2141
+ previewId?: string | undefined;
2142
+ previewLocalConnectionString?: string | undefined;
2143
+ }>]>>>;
2144
+ browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2145
+ remote: z.ZodOptional<z.ZodBoolean>;
2146
+ }, "strict", z.ZodTypeAny, {
2147
+ remote?: boolean | undefined;
2148
+ }, {
2149
+ remote?: boolean | undefined;
2150
+ }>]>>, Record<string, string | {
2151
+ remote?: boolean | undefined;
2152
+ }>, Record<string, string | {
2153
+ remote?: boolean | undefined;
2154
+ }>>>;
2155
+ analyticsEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2156
+ dataset: z.ZodString;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ dataset: string;
2159
+ }, {
2160
+ dataset: string;
2161
+ }>>>;
2162
+ sendEmail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2163
+ destinationAddress: z.ZodOptional<z.ZodString>;
2164
+ allowedDestinationAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2165
+ allowedSenderAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2166
+ }, "strip", z.ZodTypeAny, {
2167
+ destinationAddress?: string | undefined;
2168
+ allowedDestinationAddresses?: string[] | undefined;
2169
+ allowedSenderAddresses?: string[] | undefined;
2170
+ }, {
2171
+ destinationAddress?: string | undefined;
2172
+ allowedDestinationAddresses?: string[] | undefined;
2173
+ allowedSenderAddresses?: string[] | undefined;
2174
+ }>, {
2175
+ destinationAddress?: string | undefined;
2176
+ allowedDestinationAddresses?: string[] | undefined;
2177
+ allowedSenderAddresses?: string[] | undefined;
2178
+ }, {
2179
+ destinationAddress?: string | undefined;
2180
+ allowedDestinationAddresses?: string[] | undefined;
2181
+ allowedSenderAddresses?: string[] | undefined;
2182
+ }>>>;
2183
+ mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2184
+ certificateId: z.ZodString;
2185
+ remote: z.ZodOptional<z.ZodBoolean>;
2186
+ }, "strict", z.ZodTypeAny, {
2187
+ certificateId: string;
2188
+ remote?: boolean | undefined;
2189
+ }, {
2190
+ certificateId: string;
2191
+ remote?: boolean | undefined;
2192
+ }>, z.ZodObject<{
2193
+ certificate_id: z.ZodString;
2194
+ remote: z.ZodOptional<z.ZodBoolean>;
2195
+ }, "strict", z.ZodTypeAny, {
2196
+ certificate_id: string;
2197
+ remote?: boolean | undefined;
2198
+ }, {
2199
+ certificate_id: string;
2200
+ remote?: boolean | undefined;
2201
+ }>]>>>;
2202
+ dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2203
+ namespace: z.ZodString;
2204
+ outbound: z.ZodOptional<z.ZodObject<{
2205
+ service: z.ZodString;
2206
+ environment: z.ZodOptional<z.ZodString>;
2207
+ parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2208
+ }, "strict", z.ZodTypeAny, {
2209
+ service: string;
2210
+ environment?: string | undefined;
2211
+ parameters?: string[] | undefined;
2212
+ }, {
2213
+ service: string;
2214
+ environment?: string | undefined;
2215
+ parameters?: string[] | undefined;
2216
+ }>>;
2217
+ remote: z.ZodOptional<z.ZodBoolean>;
2218
+ }, "strict", z.ZodTypeAny, {
2219
+ namespace: string;
2220
+ outbound?: {
2221
+ service: string;
2222
+ environment?: string | undefined;
2223
+ parameters?: string[] | undefined;
2224
+ } | undefined;
2225
+ remote?: boolean | undefined;
2226
+ }, {
2227
+ namespace: string;
2228
+ outbound?: {
2229
+ service: string;
2230
+ environment?: string | undefined;
2231
+ parameters?: string[] | undefined;
2232
+ } | undefined;
2233
+ remote?: boolean | undefined;
2234
+ }>]>>>;
2235
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2236
+ name: z.ZodString;
2237
+ className: z.ZodString;
2238
+ scriptName: z.ZodOptional<z.ZodString>;
2239
+ remote: z.ZodOptional<z.ZodBoolean>;
2240
+ limits: z.ZodOptional<z.ZodObject<{
2241
+ steps: z.ZodNumber;
2242
+ }, "strict", z.ZodTypeAny, {
2243
+ steps: number;
2244
+ }, {
2245
+ steps: number;
2246
+ }>>;
2247
+ }, "strict", z.ZodTypeAny, {
2248
+ name: string;
2249
+ className: string;
2250
+ scriptName?: string | undefined;
2251
+ remote?: boolean | undefined;
2252
+ limits?: {
2253
+ steps: number;
2254
+ } | undefined;
2255
+ }, {
2256
+ name: string;
2257
+ className: string;
2258
+ scriptName?: string | undefined;
2259
+ remote?: boolean | undefined;
2260
+ limits?: {
2261
+ steps: number;
2262
+ } | undefined;
2263
+ }>>>;
2264
+ pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2265
+ pipeline: z.ZodString;
2266
+ remote: z.ZodOptional<z.ZodBoolean>;
2267
+ }, "strict", z.ZodTypeAny, {
2268
+ pipeline: string;
2269
+ remote?: boolean | undefined;
2270
+ }, {
2271
+ pipeline: string;
2272
+ remote?: boolean | undefined;
2273
+ }>]>>>;
2274
+ images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2275
+ remote: z.ZodOptional<z.ZodBoolean>;
2276
+ }, "strict", z.ZodTypeAny, {
2277
+ remote?: boolean | undefined;
2278
+ }, {
2279
+ remote?: boolean | undefined;
2280
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
2281
+ remote?: boolean | undefined;
2282
+ }> | undefined, Record<string, true | {
2283
+ remote?: boolean | undefined;
2284
+ }> | undefined>;
2285
+ media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2286
+ remote: z.ZodOptional<z.ZodBoolean>;
2287
+ }, "strict", z.ZodTypeAny, {
2288
+ remote?: boolean | undefined;
2289
+ }, {
2290
+ remote?: boolean | undefined;
2291
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
2292
+ remote?: boolean | undefined;
2293
+ }> | undefined, Record<string, true | {
2294
+ remote?: boolean | undefined;
2295
+ }> | undefined>;
2296
+ artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2297
+ namespace: z.ZodString;
2298
+ remote: z.ZodOptional<z.ZodBoolean>;
2299
+ }, "strict", z.ZodTypeAny, {
2300
+ namespace: string;
2301
+ remote?: boolean | undefined;
2302
+ }, {
2303
+ namespace: string;
2304
+ remote?: boolean | undefined;
2305
+ }>]>>>;
2306
+ stream: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2307
+ remote: z.ZodOptional<z.ZodBoolean>;
2308
+ }, "strict", z.ZodTypeAny, {
2309
+ remote?: boolean | undefined;
2310
+ }, {
2311
+ remote?: boolean | undefined;
2312
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
2313
+ remote?: boolean | undefined;
2314
+ }> | undefined, Record<string, true | {
2315
+ remote?: boolean | undefined;
2316
+ }> | undefined>;
2317
+ vpcServices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2318
+ serviceId: z.ZodString;
2319
+ remote: z.ZodOptional<z.ZodBoolean>;
2320
+ }, "strict", z.ZodTypeAny, {
2321
+ serviceId: string;
2322
+ remote?: boolean | undefined;
2323
+ }, {
2324
+ serviceId: string;
2325
+ remote?: boolean | undefined;
2326
+ }>>>;
2327
+ vpcNetworks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2328
+ tunnelId: z.ZodString;
2329
+ remote: z.ZodOptional<z.ZodBoolean>;
2330
+ }, "strict", z.ZodTypeAny, {
2331
+ tunnelId: string;
2332
+ remote?: boolean | undefined;
2333
+ }, {
2334
+ tunnelId: string;
2335
+ remote?: boolean | undefined;
2336
+ }>, z.ZodObject<{
2337
+ networkId: z.ZodString;
2338
+ remote: z.ZodOptional<z.ZodBoolean>;
2339
+ }, "strict", z.ZodTypeAny, {
2340
+ networkId: string;
2341
+ remote?: boolean | undefined;
2342
+ }, {
2343
+ networkId: string;
2344
+ remote?: boolean | undefined;
2345
+ }>]>>>;
2346
+ flagship: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2347
+ appId: z.ZodString;
2348
+ remote: z.ZodOptional<z.ZodBoolean>;
2349
+ }, "strict", z.ZodTypeAny, {
2350
+ appId: string;
2351
+ remote?: boolean | undefined;
2352
+ }, {
2353
+ appId: string;
2354
+ remote?: boolean | undefined;
2355
+ }>>>;
2356
+ }, "strip", z.ZodTypeAny, {
2357
+ kv?: Record<string, string | {
2358
+ previewId?: string | undefined;
2359
+ remote?: boolean | undefined;
2360
+ id: string;
2361
+ } | {
2362
+ previewId?: string | undefined;
2363
+ remote?: boolean | undefined;
2364
+ name: string;
2365
+ }> | undefined;
2366
+ d1?: Record<string, string | {
2367
+ previewDatabaseId?: string | undefined;
2368
+ migrationsTable?: string | undefined;
2369
+ migrationsDir?: string | undefined;
2370
+ remote?: boolean | undefined;
2371
+ id: string;
2372
+ } | {
2373
+ previewDatabaseId?: string | undefined;
2374
+ migrationsTable?: string | undefined;
2375
+ migrationsDir?: string | undefined;
2376
+ remote?: boolean | undefined;
2377
+ name: string;
2378
+ }> | undefined;
2379
+ r2?: Record<string, string | {
2380
+ bucketName: string;
2381
+ previewBucketName?: string | undefined;
2382
+ jurisdiction?: string | undefined;
2383
+ remote?: boolean | undefined;
2384
+ }> | undefined;
2385
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
2386
+ queues?: {
2387
+ producers?: Record<string, string | {
2388
+ queue: string;
2389
+ remote?: boolean | undefined;
2390
+ }> | undefined;
2391
+ consumers?: {
2392
+ queue: string;
2393
+ maxBatchSize?: number | undefined;
2394
+ maxBatchTimeout?: number | undefined;
2395
+ maxRetries?: number | undefined;
2396
+ deadLetterQueue?: string | undefined;
2397
+ maxConcurrency?: number | undefined;
2398
+ retryDelay?: number | undefined;
2399
+ }[] | undefined;
2400
+ } | undefined;
2401
+ rateLimits?: Record<string, {
2402
+ namespaceId: string;
2403
+ simple: {
2404
+ limit: number;
2405
+ period: 10 | 60;
2406
+ };
2407
+ }> | undefined;
2408
+ versionMetadata?: {
2409
+ binding: string;
2410
+ } | undefined;
2411
+ workerLoaders?: Record<string, {}> | undefined;
2412
+ secretsStore?: Record<string, string | {
2413
+ storeId: string;
2414
+ secretName: string;
2415
+ }> | undefined;
2416
+ services?: Record<string, {
2417
+ service: string;
2418
+ environment?: string;
2419
+ entrypoint?: string;
2420
+ remote?: boolean;
2421
+ __ref?: unknown;
2422
+ }> | undefined;
2423
+ ai?: {
2424
+ binding: string;
2425
+ remote?: boolean | undefined;
2426
+ staging?: boolean | undefined;
2427
+ } | undefined;
2428
+ aiSearchNamespaces?: Record<string, {
2429
+ namespace: string;
2430
+ remote?: boolean | undefined;
2431
+ }> | undefined;
2432
+ aiSearch?: Record<string, {
2433
+ instanceName: string;
2434
+ remote?: boolean | undefined;
2435
+ }> | undefined;
2436
+ vectorize?: Record<string, {
2437
+ indexName: string;
2438
+ remote?: boolean | undefined;
2439
+ }> | undefined;
2440
+ hyperdrive?: Record<string, string | {
2441
+ id: string;
2442
+ localConnectionString?: string | undefined;
2443
+ } | {
2444
+ name: string;
2445
+ localConnectionString?: string | undefined;
2446
+ previewFallback?: "base" | undefined;
2447
+ previewId?: string | undefined;
2448
+ previewLocalConnectionString?: string | undefined;
2449
+ }> | undefined;
2450
+ browser?: Record<string, string | {
2451
+ remote?: boolean | undefined;
2452
+ }> | undefined;
2453
+ analyticsEngine?: Record<string, {
2454
+ dataset: string;
2455
+ }> | undefined;
2456
+ sendEmail?: Record<string, {
2457
+ destinationAddress?: string | undefined;
2458
+ allowedDestinationAddresses?: string[] | undefined;
2459
+ allowedSenderAddresses?: string[] | undefined;
2460
+ }> | undefined;
2461
+ mtlsCertificates?: Record<string, string | {
2462
+ certificateId: string;
2463
+ remote?: boolean | undefined;
2464
+ } | {
2465
+ certificate_id: string;
2466
+ remote?: boolean | undefined;
2467
+ }> | undefined;
2468
+ dispatchNamespaces?: Record<string, string | {
2469
+ namespace: string;
2470
+ outbound?: {
2471
+ service: string;
2472
+ environment?: string | undefined;
2473
+ parameters?: string[] | undefined;
2474
+ } | undefined;
2475
+ remote?: boolean | undefined;
2476
+ }> | undefined;
2477
+ workflows?: Record<string, {
2478
+ name: string;
2479
+ className: string;
2480
+ scriptName?: string | undefined;
2481
+ remote?: boolean | undefined;
2482
+ limits?: {
2483
+ steps: number;
2484
+ } | undefined;
2485
+ }> | undefined;
2486
+ pipelines?: Record<string, string | {
2487
+ pipeline: string;
2488
+ remote?: boolean | undefined;
2489
+ }> | undefined;
2490
+ images?: Record<string, true | {
2491
+ remote?: boolean | undefined;
2492
+ }> | undefined;
2493
+ media?: Record<string, true | {
2494
+ remote?: boolean | undefined;
2495
+ }> | undefined;
2496
+ artifacts?: Record<string, string | {
2497
+ namespace: string;
2498
+ remote?: boolean | undefined;
2499
+ }> | undefined;
2500
+ stream?: Record<string, true | {
2501
+ remote?: boolean | undefined;
2502
+ }> | undefined;
2503
+ vpcServices?: Record<string, {
2504
+ serviceId: string;
2505
+ remote?: boolean | undefined;
2506
+ }> | undefined;
2507
+ vpcNetworks?: Record<string, {
2508
+ tunnelId: string;
2509
+ remote?: boolean | undefined;
2510
+ } | {
2511
+ networkId: string;
2512
+ remote?: boolean | undefined;
2513
+ }> | undefined;
2514
+ flagship?: Record<string, {
2515
+ appId: string;
2516
+ remote?: boolean | undefined;
2517
+ }> | undefined;
2518
+ }, {
2519
+ kv?: Record<string, string | {
2520
+ previewId?: string | undefined;
2521
+ remote?: boolean | undefined;
2522
+ id: string;
2523
+ } | {
2524
+ previewId?: string | undefined;
2525
+ remote?: boolean | undefined;
2526
+ name: string;
2527
+ }> | undefined;
2528
+ d1?: Record<string, string | {
2529
+ previewDatabaseId?: string | undefined;
2530
+ migrationsTable?: string | undefined;
2531
+ migrationsDir?: string | undefined;
2532
+ remote?: boolean | undefined;
2533
+ id: string;
2534
+ } | {
2535
+ previewDatabaseId?: string | undefined;
2536
+ migrationsTable?: string | undefined;
2537
+ migrationsDir?: string | undefined;
2538
+ remote?: boolean | undefined;
2539
+ name: string;
2540
+ }> | undefined;
2541
+ r2?: Record<string, string | {
2542
+ bucketName: string;
2543
+ previewBucketName?: string | undefined;
2544
+ jurisdiction?: string | undefined;
2545
+ remote?: boolean | undefined;
2546
+ }> | undefined;
2547
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
2548
+ queues?: {
2549
+ producers?: Record<string, string | {
2550
+ queue: string;
2551
+ remote?: boolean | undefined;
2552
+ }> | undefined;
2553
+ consumers?: {
2554
+ queue: string;
2555
+ maxBatchSize?: number | undefined;
2556
+ maxBatchTimeout?: number | undefined;
2557
+ maxRetries?: number | undefined;
2558
+ deadLetterQueue?: string | undefined;
2559
+ maxConcurrency?: number | undefined;
2560
+ retryDelay?: number | undefined;
2561
+ }[] | undefined;
2562
+ } | undefined;
2563
+ rateLimits?: Record<string, {
2564
+ namespaceId: string;
2565
+ simple: {
2566
+ limit: number;
2567
+ period: 10 | 60;
2568
+ };
2569
+ }> | undefined;
2570
+ versionMetadata?: {
2571
+ binding: string;
2572
+ } | undefined;
2573
+ workerLoaders?: Record<string, {}> | undefined;
2574
+ secretsStore?: Record<string, string | {
2575
+ storeId: string;
2576
+ secretName: string;
2577
+ }> | undefined;
2578
+ services?: Record<string, {
2579
+ service: string;
2580
+ environment?: string;
2581
+ entrypoint?: string;
2582
+ remote?: boolean;
2583
+ __ref?: unknown;
2584
+ }> | undefined;
2585
+ ai?: {
2586
+ binding: string;
2587
+ remote?: boolean | undefined;
2588
+ staging?: boolean | undefined;
2589
+ } | undefined;
2590
+ aiSearchNamespaces?: Record<string, {
2591
+ namespace: string;
2592
+ remote?: boolean | undefined;
2593
+ }> | undefined;
2594
+ aiSearch?: Record<string, {
2595
+ instanceName: string;
2596
+ remote?: boolean | undefined;
2597
+ }> | undefined;
2598
+ vectorize?: Record<string, {
2599
+ indexName: string;
2600
+ remote?: boolean | undefined;
2601
+ }> | undefined;
2602
+ hyperdrive?: Record<string, string | {
2603
+ id: string;
2604
+ localConnectionString?: string | undefined;
2605
+ } | {
2606
+ name: string;
2607
+ localConnectionString?: string | undefined;
2608
+ previewFallback?: "base" | undefined;
2609
+ previewId?: string | undefined;
2610
+ previewLocalConnectionString?: string | undefined;
2611
+ }> | undefined;
2612
+ browser?: Record<string, string | {
2613
+ remote?: boolean | undefined;
2614
+ }> | undefined;
2615
+ analyticsEngine?: Record<string, {
2616
+ dataset: string;
2617
+ }> | undefined;
2618
+ sendEmail?: Record<string, {
2619
+ destinationAddress?: string | undefined;
2620
+ allowedDestinationAddresses?: string[] | undefined;
2621
+ allowedSenderAddresses?: string[] | undefined;
2622
+ }> | undefined;
2623
+ mtlsCertificates?: Record<string, string | {
2624
+ certificateId: string;
2625
+ remote?: boolean | undefined;
2626
+ } | {
2627
+ certificate_id: string;
2628
+ remote?: boolean | undefined;
2629
+ }> | undefined;
2630
+ dispatchNamespaces?: Record<string, string | {
2631
+ namespace: string;
2632
+ outbound?: {
2633
+ service: string;
2634
+ environment?: string | undefined;
2635
+ parameters?: string[] | undefined;
2636
+ } | undefined;
2637
+ remote?: boolean | undefined;
2638
+ }> | undefined;
2639
+ workflows?: Record<string, {
2640
+ name: string;
2641
+ className: string;
2642
+ scriptName?: string | undefined;
2643
+ remote?: boolean | undefined;
2644
+ limits?: {
2645
+ steps: number;
2646
+ } | undefined;
2647
+ }> | undefined;
2648
+ pipelines?: Record<string, string | {
2649
+ pipeline: string;
2650
+ remote?: boolean | undefined;
2651
+ }> | undefined;
2652
+ images?: Record<string, true | {
2653
+ remote?: boolean | undefined;
2654
+ }> | undefined;
2655
+ media?: Record<string, true | {
2656
+ remote?: boolean | undefined;
2657
+ }> | undefined;
2658
+ artifacts?: Record<string, string | {
2659
+ namespace: string;
2660
+ remote?: boolean | undefined;
2661
+ }> | undefined;
2662
+ stream?: Record<string, true | {
2663
+ remote?: boolean | undefined;
2664
+ }> | undefined;
2665
+ vpcServices?: Record<string, {
2666
+ serviceId: string;
2667
+ remote?: boolean | undefined;
2668
+ }> | undefined;
2669
+ vpcNetworks?: Record<string, {
2670
+ tunnelId: string;
2671
+ remote?: boolean | undefined;
2672
+ } | {
2673
+ networkId: string;
2674
+ remote?: boolean | undefined;
2675
+ }> | undefined;
2676
+ flagship?: Record<string, {
2677
+ appId: string;
2678
+ remote?: boolean | undefined;
2679
+ }> | undefined;
2680
+ }>>>;
2681
+ readonly triggers: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
2682
+ crons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2683
+ }, "strip", z.ZodTypeAny, {
2684
+ crons?: string[] | undefined;
2685
+ }, {
2686
+ crons?: string[] | undefined;
2687
+ }>, {
2688
+ crons?: string[] | undefined;
2689
+ }, {
2690
+ crons?: string[] | undefined;
2691
+ }>>>;
2692
+ readonly rules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2693
+ type: z.ZodEnum<["ESModule", "CommonJS", "CompiledWasm", "Text", "Data"]>;
2694
+ globs: z.ZodArray<z.ZodString, "many">;
2695
+ fallthrough: z.ZodOptional<z.ZodBoolean>;
2696
+ }, "strict", z.ZodTypeAny, {
2697
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
2698
+ globs: string[];
2699
+ fallthrough?: boolean | undefined;
2700
+ }, {
2701
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
2702
+ globs: string[];
2703
+ fallthrough?: boolean | undefined;
2704
+ }>, "many">>>;
2705
+ readonly findAdditionalModules: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2706
+ readonly baseDir: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2707
+ readonly preserveFileNames: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2708
+ readonly logpush: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2709
+ readonly uploadSourceMaps: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2710
+ readonly keepVars: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2711
+ readonly tailConsumers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2712
+ service: z.ZodString;
2713
+ environment: z.ZodOptional<z.ZodString>;
2714
+ }, "strict", z.ZodTypeAny, {
2715
+ service: string;
2716
+ environment?: string | undefined;
2717
+ }, {
2718
+ service: string;
2719
+ environment?: string | undefined;
2720
+ }>]>, "many">>>;
2721
+ readonly vars: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, z.ZodTypeDef, unknown>>>>;
2722
+ readonly secrets: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2723
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2724
+ }, "strip", z.ZodTypeAny, {
2725
+ required: boolean;
2726
+ }, {
2727
+ required?: boolean | undefined;
2728
+ }>>>>;
2729
+ readonly routes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
2730
+ pattern: z.ZodString;
2731
+ zone_name: z.ZodOptional<z.ZodString>;
2732
+ zone_id: z.ZodOptional<z.ZodString>;
2733
+ custom_domain: z.ZodOptional<z.ZodBoolean>;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ pattern: string;
2736
+ zone_name?: string | undefined;
2737
+ zone_id?: string | undefined;
2738
+ custom_domain?: boolean | undefined;
2739
+ }, {
2740
+ pattern: string;
2741
+ zone_name?: string | undefined;
2742
+ zone_id?: string | undefined;
2743
+ custom_domain?: boolean | undefined;
2744
+ }>, {
2745
+ pattern: string;
2746
+ zone_name?: string | undefined;
2747
+ zone_id?: string | undefined;
2748
+ custom_domain?: boolean | undefined;
2749
+ }, {
2750
+ pattern: string;
2751
+ zone_name?: string | undefined;
2752
+ zone_id?: string | undefined;
2753
+ custom_domain?: boolean | undefined;
2754
+ }>, "many">>>;
2755
+ readonly assets: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2756
+ directory: z.ZodString;
2757
+ binding: z.ZodOptional<z.ZodString>;
2758
+ html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
2759
+ not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
2760
+ run_worker_first: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
2761
+ }, "strict", z.ZodTypeAny, {
2762
+ directory: string;
2763
+ binding?: string | undefined;
2764
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
2765
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
2766
+ run_worker_first?: boolean | string[] | undefined;
2767
+ }, {
2768
+ directory: string;
2769
+ binding?: string | undefined;
2770
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
2771
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
2772
+ run_worker_first?: boolean | string[] | undefined;
2773
+ }>>>;
2774
+ readonly containers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2775
+ className: z.ZodString;
2776
+ image: z.ZodString;
2777
+ maxInstances: z.ZodOptional<z.ZodNumber>;
2778
+ instanceType: z.ZodOptional<z.ZodString>;
2779
+ name: z.ZodOptional<z.ZodString>;
2780
+ imageBuildContext: z.ZodOptional<z.ZodString>;
2781
+ imageVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2782
+ rolloutActiveGracePeriod: z.ZodOptional<z.ZodNumber>;
2783
+ rolloutStepPercentage: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
2784
+ }, "strict", z.ZodTypeAny, {
2785
+ className: string;
2786
+ image: string;
2787
+ maxInstances?: number | undefined;
2788
+ instanceType?: string | undefined;
2789
+ name?: string | undefined;
2790
+ imageBuildContext?: string | undefined;
2791
+ imageVars?: Record<string, string> | undefined;
2792
+ rolloutActiveGracePeriod?: number | undefined;
2793
+ rolloutStepPercentage?: number | number[] | undefined;
2794
+ }, {
2795
+ className: string;
2796
+ image: string;
2797
+ maxInstances?: number | undefined;
2798
+ instanceType?: string | undefined;
2799
+ name?: string | undefined;
2800
+ imageBuildContext?: string | undefined;
2801
+ imageVars?: Record<string, string> | undefined;
2802
+ rolloutActiveGracePeriod?: number | undefined;
2803
+ rolloutStepPercentage?: number | number[] | undefined;
2804
+ }>, "many">>>;
2805
+ readonly placement: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2806
+ mode: z.ZodEnum<["off", "smart"]>;
2807
+ hint: z.ZodOptional<z.ZodString>;
2808
+ }, "strict", z.ZodTypeAny, {
2809
+ mode: "off" | "smart";
2810
+ hint?: string | undefined;
2811
+ }, {
2812
+ mode: "off" | "smart";
2813
+ hint?: string | undefined;
2814
+ }>, {
2815
+ mode: "off" | "smart";
2816
+ hint?: string | undefined;
2817
+ }, {
2818
+ mode: "off" | "smart";
2819
+ hint?: string | undefined;
2820
+ }>, z.ZodObject<{
2821
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
2822
+ region: z.ZodString;
2823
+ }, "strict", z.ZodTypeAny, {
2824
+ mode?: "targeted" | undefined;
2825
+ region: string;
2826
+ }, {
2827
+ mode?: "targeted" | undefined;
2828
+ region: string;
2829
+ }>, z.ZodObject<{
2830
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
2831
+ host: z.ZodString;
2832
+ }, "strict", z.ZodTypeAny, {
2833
+ mode?: "targeted" | undefined;
2834
+ host: string;
2835
+ }, {
2836
+ mode?: "targeted" | undefined;
2837
+ host: string;
2838
+ }>, z.ZodObject<{
2839
+ mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
2840
+ hostname: z.ZodString;
2841
+ }, "strict", z.ZodTypeAny, {
2842
+ mode?: "targeted" | undefined;
2843
+ hostname: string;
2844
+ }, {
2845
+ mode?: "targeted" | undefined;
2846
+ hostname: string;
2847
+ }>]>>>;
2848
+ readonly limits: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2849
+ cpu_ms: z.ZodOptional<z.ZodNumber>;
2850
+ subrequests: z.ZodOptional<z.ZodNumber>;
2851
+ }, "strict", z.ZodTypeAny, {
2852
+ cpu_ms?: number | undefined;
2853
+ subrequests?: number | undefined;
2854
+ }, {
2855
+ cpu_ms?: number | undefined;
2856
+ subrequests?: number | undefined;
2857
+ }>>>;
2858
+ readonly observability: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2859
+ enabled: z.ZodOptional<z.ZodBoolean>;
2860
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
2861
+ logs: z.ZodOptional<z.ZodObject<{
2862
+ enabled: z.ZodOptional<z.ZodBoolean>;
2863
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
2864
+ invocation_logs: z.ZodOptional<z.ZodBoolean>;
2865
+ persist: z.ZodOptional<z.ZodBoolean>;
2866
+ destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2867
+ }, "strict", z.ZodTypeAny, {
2868
+ enabled?: boolean | undefined;
2869
+ head_sampling_rate?: number | undefined;
2870
+ invocation_logs?: boolean | undefined;
2871
+ persist?: boolean | undefined;
2872
+ destinations?: string[] | undefined;
2873
+ }, {
2874
+ enabled?: boolean | undefined;
2875
+ head_sampling_rate?: number | undefined;
2876
+ invocation_logs?: boolean | undefined;
2877
+ persist?: boolean | undefined;
2878
+ destinations?: string[] | undefined;
2879
+ }>>;
2880
+ traces: z.ZodOptional<z.ZodObject<{
2881
+ enabled: z.ZodOptional<z.ZodBoolean>;
2882
+ head_sampling_rate: z.ZodOptional<z.ZodNumber>;
2883
+ persist: z.ZodOptional<z.ZodBoolean>;
2884
+ destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2885
+ }, "strict", z.ZodTypeAny, {
2886
+ enabled?: boolean | undefined;
2887
+ head_sampling_rate?: number | undefined;
2888
+ persist?: boolean | undefined;
2889
+ destinations?: string[] | undefined;
2890
+ }, {
2891
+ enabled?: boolean | undefined;
2892
+ head_sampling_rate?: number | undefined;
2893
+ persist?: boolean | undefined;
2894
+ destinations?: string[] | undefined;
2895
+ }>>;
2896
+ }, "strict", z.ZodTypeAny, {
2897
+ enabled?: boolean | undefined;
2898
+ head_sampling_rate?: number | undefined;
2899
+ logs?: {
2900
+ enabled?: boolean | undefined;
2901
+ head_sampling_rate?: number | undefined;
2902
+ invocation_logs?: boolean | undefined;
2903
+ persist?: boolean | undefined;
2904
+ destinations?: string[] | undefined;
2905
+ } | undefined;
2906
+ traces?: {
2907
+ enabled?: boolean | undefined;
2908
+ head_sampling_rate?: number | undefined;
2909
+ persist?: boolean | undefined;
2910
+ destinations?: string[] | undefined;
2911
+ } | undefined;
2912
+ }, {
2913
+ enabled?: boolean | undefined;
2914
+ head_sampling_rate?: number | undefined;
2915
+ logs?: {
2916
+ enabled?: boolean | undefined;
2917
+ head_sampling_rate?: number | undefined;
2918
+ invocation_logs?: boolean | undefined;
2919
+ persist?: boolean | undefined;
2920
+ destinations?: string[] | undefined;
2921
+ } | undefined;
2922
+ traces?: {
2923
+ enabled?: boolean | undefined;
2924
+ head_sampling_rate?: number | undefined;
2925
+ persist?: boolean | undefined;
2926
+ destinations?: string[] | undefined;
2927
+ } | undefined;
2928
+ }>>>;
2929
+ readonly migrations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2930
+ tag: z.ZodString;
2931
+ new_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2932
+ renamed_classes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2933
+ from: z.ZodString;
2934
+ to: z.ZodString;
2935
+ }, "strict", z.ZodTypeAny, {
2936
+ from: string;
2937
+ to: string;
2938
+ }, {
2939
+ from: string;
2940
+ to: string;
2941
+ }>, "many">>;
2942
+ deleted_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2943
+ new_sqlite_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2944
+ }, "strict", z.ZodTypeAny, {
2945
+ tag: string;
2946
+ new_classes?: string[] | undefined;
2947
+ renamed_classes?: {
2948
+ from: string;
2949
+ to: string;
2950
+ }[] | undefined;
2951
+ deleted_classes?: string[] | undefined;
2952
+ new_sqlite_classes?: string[] | undefined;
2953
+ }, {
2954
+ tag: string;
2955
+ new_classes?: string[] | undefined;
2956
+ renamed_classes?: {
2957
+ from: string;
2958
+ to: string;
2959
+ }[] | undefined;
2960
+ deleted_classes?: string[] | undefined;
2961
+ new_sqlite_classes?: string[] | undefined;
2962
+ }>, "many">>>;
2963
+ readonly rolldown: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2964
+ target: z.ZodOptional<z.ZodString>;
2965
+ minify: z.ZodOptional<z.ZodBoolean>;
2966
+ sourcemap: z.ZodOptional<z.ZodBoolean>;
2967
+ options: z.ZodOptional<z.ZodType<import("./schema-build.js").DevflareRolldownOptions, z.ZodTypeDef, import("./schema-build.js").DevflareRolldownOptions>>;
2968
+ }, "strip", z.ZodTypeAny, {
2969
+ target?: string | undefined;
2970
+ minify?: boolean | undefined;
2971
+ sourcemap?: boolean | undefined;
2972
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
2973
+ }, {
2974
+ target?: string | undefined;
2975
+ minify?: boolean | undefined;
2976
+ sourcemap?: boolean | undefined;
2977
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
2978
+ }>>>;
2979
+ readonly vite: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2980
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2981
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
2982
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2983
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
2984
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2985
+ }, z.ZodUnknown, "strip">>>>;
2986
+ readonly wrangler: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2987
+ passthrough: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2988
+ }, "strip", z.ZodTypeAny, {
2989
+ passthrough?: Record<string, unknown> | undefined;
2990
+ }, {
2991
+ passthrough?: Record<string, unknown> | undefined;
2992
+ }>>>;
2993
+ }, "strict", z.ZodTypeAny, {
2994
+ name?: string | undefined;
2995
+ secretsStoreId?: string | undefined;
2996
+ compatibilityDate?: string | undefined;
2997
+ compatibilityFlags?: string[] | undefined;
2998
+ previews?: {
2999
+ includeCrons: boolean;
3000
+ } | undefined;
3001
+ server?: {
3002
+ host?: string | undefined;
3003
+ port?: number | undefined;
3004
+ } | undefined;
3005
+ files?: {
3006
+ fetch?: string | false | undefined;
3007
+ queue?: string | false | undefined;
3008
+ scheduled?: string | false | undefined;
3009
+ email?: string | false | undefined;
3010
+ tail?: string | false | undefined;
3011
+ durableObjects?: string | false | undefined;
3012
+ entrypoints?: string | false | undefined;
3013
+ workflows?: string | false | undefined;
3014
+ routes?: false | {
3015
+ dir: string;
3016
+ prefix?: string | undefined;
3017
+ } | undefined;
3018
+ transport?: string | null | undefined;
3019
+ } | undefined;
3020
+ bindings?: {
3021
+ kv?: Record<string, string | {
3022
+ previewId?: string | undefined;
3023
+ remote?: boolean | undefined;
3024
+ id: string;
3025
+ } | {
3026
+ previewId?: string | undefined;
3027
+ remote?: boolean | undefined;
3028
+ name: string;
3029
+ }> | undefined;
3030
+ d1?: Record<string, string | {
3031
+ previewDatabaseId?: string | undefined;
3032
+ migrationsTable?: string | undefined;
3033
+ migrationsDir?: string | undefined;
3034
+ remote?: boolean | undefined;
3035
+ id: string;
3036
+ } | {
3037
+ previewDatabaseId?: string | undefined;
3038
+ migrationsTable?: string | undefined;
3039
+ migrationsDir?: string | undefined;
3040
+ remote?: boolean | undefined;
3041
+ name: string;
3042
+ }> | undefined;
3043
+ r2?: Record<string, string | {
3044
+ bucketName: string;
3045
+ previewBucketName?: string | undefined;
3046
+ jurisdiction?: string | undefined;
3047
+ remote?: boolean | undefined;
3048
+ }> | undefined;
3049
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3050
+ queues?: {
3051
+ producers?: Record<string, string | {
3052
+ queue: string;
3053
+ remote?: boolean | undefined;
3054
+ }> | undefined;
3055
+ consumers?: {
3056
+ queue: string;
3057
+ maxBatchSize?: number | undefined;
3058
+ maxBatchTimeout?: number | undefined;
3059
+ maxRetries?: number | undefined;
3060
+ deadLetterQueue?: string | undefined;
3061
+ maxConcurrency?: number | undefined;
3062
+ retryDelay?: number | undefined;
3063
+ }[] | undefined;
3064
+ } | undefined;
3065
+ rateLimits?: Record<string, {
3066
+ namespaceId: string;
3067
+ simple: {
3068
+ limit: number;
3069
+ period: 10 | 60;
3070
+ };
3071
+ }> | undefined;
3072
+ versionMetadata?: {
3073
+ binding: string;
3074
+ } | undefined;
3075
+ workerLoaders?: Record<string, {}> | undefined;
3076
+ secretsStore?: Record<string, string | {
3077
+ storeId: string;
3078
+ secretName: string;
3079
+ }> | undefined;
3080
+ services?: Record<string, {
3081
+ service: string;
3082
+ environment?: string;
3083
+ entrypoint?: string;
3084
+ remote?: boolean;
3085
+ __ref?: unknown;
3086
+ }> | undefined;
3087
+ ai?: {
3088
+ binding: string;
3089
+ remote?: boolean | undefined;
3090
+ staging?: boolean | undefined;
3091
+ } | undefined;
3092
+ aiSearchNamespaces?: Record<string, {
3093
+ namespace: string;
3094
+ remote?: boolean | undefined;
3095
+ }> | undefined;
3096
+ aiSearch?: Record<string, {
3097
+ instanceName: string;
3098
+ remote?: boolean | undefined;
3099
+ }> | undefined;
3100
+ vectorize?: Record<string, {
3101
+ indexName: string;
3102
+ remote?: boolean | undefined;
3103
+ }> | undefined;
3104
+ hyperdrive?: Record<string, string | {
3105
+ id: string;
3106
+ localConnectionString?: string | undefined;
3107
+ } | {
3108
+ name: string;
3109
+ localConnectionString?: string | undefined;
3110
+ previewFallback?: "base" | undefined;
3111
+ previewId?: string | undefined;
3112
+ previewLocalConnectionString?: string | undefined;
3113
+ }> | undefined;
3114
+ browser?: Record<string, string | {
3115
+ remote?: boolean | undefined;
3116
+ }> | undefined;
3117
+ analyticsEngine?: Record<string, {
3118
+ dataset: string;
3119
+ }> | undefined;
3120
+ sendEmail?: Record<string, {
3121
+ destinationAddress?: string | undefined;
3122
+ allowedDestinationAddresses?: string[] | undefined;
3123
+ allowedSenderAddresses?: string[] | undefined;
3124
+ }> | undefined;
3125
+ mtlsCertificates?: Record<string, string | {
3126
+ certificateId: string;
3127
+ remote?: boolean | undefined;
3128
+ } | {
3129
+ certificate_id: string;
3130
+ remote?: boolean | undefined;
3131
+ }> | undefined;
3132
+ dispatchNamespaces?: Record<string, string | {
3133
+ namespace: string;
3134
+ outbound?: {
3135
+ service: string;
3136
+ environment?: string | undefined;
3137
+ parameters?: string[] | undefined;
3138
+ } | undefined;
3139
+ remote?: boolean | undefined;
3140
+ }> | undefined;
3141
+ workflows?: Record<string, {
3142
+ name: string;
3143
+ className: string;
3144
+ scriptName?: string | undefined;
3145
+ remote?: boolean | undefined;
3146
+ limits?: {
3147
+ steps: number;
3148
+ } | undefined;
3149
+ }> | undefined;
3150
+ pipelines?: Record<string, string | {
3151
+ pipeline: string;
3152
+ remote?: boolean | undefined;
3153
+ }> | undefined;
3154
+ images?: Record<string, true | {
3155
+ remote?: boolean | undefined;
3156
+ }> | undefined;
3157
+ media?: Record<string, true | {
3158
+ remote?: boolean | undefined;
3159
+ }> | undefined;
3160
+ artifacts?: Record<string, string | {
3161
+ namespace: string;
3162
+ remote?: boolean | undefined;
3163
+ }> | undefined;
3164
+ stream?: Record<string, true | {
3165
+ remote?: boolean | undefined;
3166
+ }> | undefined;
3167
+ vpcServices?: Record<string, {
3168
+ serviceId: string;
3169
+ remote?: boolean | undefined;
3170
+ }> | undefined;
3171
+ vpcNetworks?: Record<string, {
3172
+ tunnelId: string;
3173
+ remote?: boolean | undefined;
3174
+ } | {
3175
+ networkId: string;
3176
+ remote?: boolean | undefined;
3177
+ }> | undefined;
3178
+ flagship?: Record<string, {
3179
+ appId: string;
3180
+ remote?: boolean | undefined;
3181
+ }> | undefined;
3182
+ } | undefined;
3183
+ triggers?: {
3184
+ crons?: string[] | undefined;
3185
+ } | undefined;
3186
+ rules?: {
3187
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
3188
+ globs: string[];
3189
+ fallthrough?: boolean | undefined;
3190
+ }[] | undefined;
3191
+ findAdditionalModules?: boolean | undefined;
3192
+ baseDir?: string | undefined;
3193
+ preserveFileNames?: boolean | undefined;
3194
+ logpush?: boolean | undefined;
3195
+ uploadSourceMaps?: boolean | undefined;
3196
+ keepVars?: boolean | undefined;
3197
+ tailConsumers?: (string | {
3198
+ service: string;
3199
+ environment?: string | undefined;
3200
+ })[] | undefined;
3201
+ vars?: Record<string, unknown> | undefined;
3202
+ secrets?: Record<string, {
3203
+ required: boolean;
3204
+ }> | undefined;
3205
+ routes?: {
3206
+ pattern: string;
3207
+ zone_name?: string | undefined;
3208
+ zone_id?: string | undefined;
3209
+ custom_domain?: boolean | undefined;
3210
+ }[] | undefined;
3211
+ assets?: {
3212
+ directory: string;
3213
+ binding?: string | undefined;
3214
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
3215
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
3216
+ run_worker_first?: boolean | string[] | undefined;
3217
+ } | undefined;
3218
+ containers?: {
3219
+ className: string;
3220
+ image: string;
3221
+ maxInstances?: number | undefined;
3222
+ instanceType?: string | undefined;
3223
+ name?: string | undefined;
3224
+ imageBuildContext?: string | undefined;
3225
+ imageVars?: Record<string, string> | undefined;
3226
+ rolloutActiveGracePeriod?: number | undefined;
3227
+ rolloutStepPercentage?: number | number[] | undefined;
3228
+ }[] | undefined;
3229
+ placement?: {
3230
+ mode: "off" | "smart";
3231
+ hint?: string | undefined;
3232
+ } | {
3233
+ mode?: "targeted" | undefined;
3234
+ region: string;
3235
+ } | {
3236
+ mode?: "targeted" | undefined;
3237
+ host: string;
3238
+ } | {
3239
+ mode?: "targeted" | undefined;
3240
+ hostname: string;
3241
+ } | undefined;
3242
+ limits?: {
3243
+ cpu_ms?: number | undefined;
3244
+ subrequests?: number | undefined;
3245
+ } | undefined;
3246
+ observability?: {
3247
+ enabled?: boolean | undefined;
3248
+ head_sampling_rate?: number | undefined;
3249
+ logs?: {
3250
+ enabled?: boolean | undefined;
3251
+ head_sampling_rate?: number | undefined;
3252
+ invocation_logs?: boolean | undefined;
3253
+ persist?: boolean | undefined;
3254
+ destinations?: string[] | undefined;
3255
+ } | undefined;
3256
+ traces?: {
3257
+ enabled?: boolean | undefined;
3258
+ head_sampling_rate?: number | undefined;
3259
+ persist?: boolean | undefined;
3260
+ destinations?: string[] | undefined;
3261
+ } | undefined;
3262
+ } | undefined;
3263
+ migrations?: {
3264
+ tag: string;
3265
+ new_classes?: string[] | undefined;
3266
+ renamed_classes?: {
3267
+ from: string;
3268
+ to: string;
3269
+ }[] | undefined;
3270
+ deleted_classes?: string[] | undefined;
3271
+ new_sqlite_classes?: string[] | undefined;
3272
+ }[] | undefined;
3273
+ rolldown?: {
3274
+ target?: string | undefined;
3275
+ minify?: boolean | undefined;
3276
+ sourcemap?: boolean | undefined;
3277
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
3278
+ } | undefined;
3279
+ vite?: z.objectOutputType<{
3280
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3281
+ }, z.ZodUnknown, "strip"> | undefined;
3282
+ wrangler?: {
3283
+ passthrough?: Record<string, unknown> | undefined;
3284
+ } | undefined;
3285
+ }, {
3286
+ name?: string | undefined;
3287
+ secretsStoreId?: string | undefined;
3288
+ compatibilityDate?: string | undefined;
3289
+ compatibilityFlags?: string[] | undefined;
3290
+ previews?: {
3291
+ includeCrons?: boolean | undefined;
3292
+ } | undefined;
3293
+ server?: {
3294
+ host?: string | undefined;
3295
+ port?: number | undefined;
3296
+ } | undefined;
3297
+ files?: {
3298
+ fetch?: string | false | undefined;
3299
+ queue?: string | false | undefined;
3300
+ scheduled?: string | false | undefined;
3301
+ email?: string | false | undefined;
3302
+ tail?: string | false | undefined;
3303
+ durableObjects?: string | false | undefined;
3304
+ entrypoints?: string | false | undefined;
3305
+ workflows?: string | false | undefined;
3306
+ routes?: false | {
3307
+ dir: string;
3308
+ prefix?: string | undefined;
3309
+ } | undefined;
3310
+ transport?: string | null | undefined;
3311
+ } | undefined;
3312
+ bindings?: {
3313
+ kv?: Record<string, string | {
3314
+ previewId?: string | undefined;
3315
+ remote?: boolean | undefined;
3316
+ id: string;
3317
+ } | {
3318
+ previewId?: string | undefined;
3319
+ remote?: boolean | undefined;
3320
+ name: string;
3321
+ }> | undefined;
3322
+ d1?: Record<string, string | {
3323
+ previewDatabaseId?: string | undefined;
3324
+ migrationsTable?: string | undefined;
3325
+ migrationsDir?: string | undefined;
3326
+ remote?: boolean | undefined;
3327
+ id: string;
3328
+ } | {
3329
+ previewDatabaseId?: string | undefined;
3330
+ migrationsTable?: string | undefined;
3331
+ migrationsDir?: string | undefined;
3332
+ remote?: boolean | undefined;
3333
+ name: string;
3334
+ }> | undefined;
3335
+ r2?: Record<string, string | {
3336
+ bucketName: string;
3337
+ previewBucketName?: string | undefined;
3338
+ jurisdiction?: string | undefined;
3339
+ remote?: boolean | undefined;
3340
+ }> | undefined;
3341
+ durableObjects?: Record<string, import("./schema-bindings.js").DurableObjectBindingInput> | undefined;
3342
+ queues?: {
3343
+ producers?: Record<string, string | {
3344
+ queue: string;
3345
+ remote?: boolean | undefined;
3346
+ }> | undefined;
3347
+ consumers?: {
3348
+ queue: string;
3349
+ maxBatchSize?: number | undefined;
3350
+ maxBatchTimeout?: number | undefined;
3351
+ maxRetries?: number | undefined;
3352
+ deadLetterQueue?: string | undefined;
3353
+ maxConcurrency?: number | undefined;
3354
+ retryDelay?: number | undefined;
3355
+ }[] | undefined;
3356
+ } | undefined;
3357
+ rateLimits?: Record<string, {
3358
+ namespaceId: string;
3359
+ simple: {
3360
+ limit: number;
3361
+ period: 10 | 60;
3362
+ };
3363
+ }> | undefined;
3364
+ versionMetadata?: {
3365
+ binding: string;
3366
+ } | undefined;
3367
+ workerLoaders?: Record<string, {}> | undefined;
3368
+ secretsStore?: Record<string, string | {
3369
+ storeId: string;
3370
+ secretName: string;
3371
+ }> | undefined;
3372
+ services?: Record<string, {
3373
+ service: string;
3374
+ environment?: string;
3375
+ entrypoint?: string;
3376
+ remote?: boolean;
3377
+ __ref?: unknown;
3378
+ }> | undefined;
3379
+ ai?: {
3380
+ binding: string;
3381
+ remote?: boolean | undefined;
3382
+ staging?: boolean | undefined;
3383
+ } | undefined;
3384
+ aiSearchNamespaces?: Record<string, {
3385
+ namespace: string;
3386
+ remote?: boolean | undefined;
3387
+ }> | undefined;
3388
+ aiSearch?: Record<string, {
3389
+ instanceName: string;
3390
+ remote?: boolean | undefined;
3391
+ }> | undefined;
3392
+ vectorize?: Record<string, {
3393
+ indexName: string;
3394
+ remote?: boolean | undefined;
3395
+ }> | undefined;
3396
+ hyperdrive?: Record<string, string | {
3397
+ id: string;
3398
+ localConnectionString?: string | undefined;
3399
+ } | {
3400
+ name: string;
3401
+ localConnectionString?: string | undefined;
3402
+ previewFallback?: "base" | undefined;
3403
+ previewId?: string | undefined;
3404
+ previewLocalConnectionString?: string | undefined;
3405
+ }> | undefined;
3406
+ browser?: Record<string, string | {
3407
+ remote?: boolean | undefined;
3408
+ }> | undefined;
3409
+ analyticsEngine?: Record<string, {
3410
+ dataset: string;
3411
+ }> | undefined;
3412
+ sendEmail?: Record<string, {
3413
+ destinationAddress?: string | undefined;
3414
+ allowedDestinationAddresses?: string[] | undefined;
3415
+ allowedSenderAddresses?: string[] | undefined;
3416
+ }> | undefined;
3417
+ mtlsCertificates?: Record<string, string | {
3418
+ certificateId: string;
3419
+ remote?: boolean | undefined;
3420
+ } | {
3421
+ certificate_id: string;
3422
+ remote?: boolean | undefined;
3423
+ }> | undefined;
3424
+ dispatchNamespaces?: Record<string, string | {
3425
+ namespace: string;
3426
+ outbound?: {
3427
+ service: string;
3428
+ environment?: string | undefined;
3429
+ parameters?: string[] | undefined;
3430
+ } | undefined;
3431
+ remote?: boolean | undefined;
3432
+ }> | undefined;
3433
+ workflows?: Record<string, {
3434
+ name: string;
3435
+ className: string;
3436
+ scriptName?: string | undefined;
3437
+ remote?: boolean | undefined;
3438
+ limits?: {
3439
+ steps: number;
3440
+ } | undefined;
3441
+ }> | undefined;
3442
+ pipelines?: Record<string, string | {
3443
+ pipeline: string;
3444
+ remote?: boolean | undefined;
3445
+ }> | undefined;
3446
+ images?: Record<string, true | {
3447
+ remote?: boolean | undefined;
3448
+ }> | undefined;
3449
+ media?: Record<string, true | {
3450
+ remote?: boolean | undefined;
3451
+ }> | undefined;
3452
+ artifacts?: Record<string, string | {
3453
+ namespace: string;
3454
+ remote?: boolean | undefined;
3455
+ }> | undefined;
3456
+ stream?: Record<string, true | {
3457
+ remote?: boolean | undefined;
3458
+ }> | undefined;
3459
+ vpcServices?: Record<string, {
3460
+ serviceId: string;
3461
+ remote?: boolean | undefined;
3462
+ }> | undefined;
3463
+ vpcNetworks?: Record<string, {
3464
+ tunnelId: string;
3465
+ remote?: boolean | undefined;
3466
+ } | {
3467
+ networkId: string;
3468
+ remote?: boolean | undefined;
3469
+ }> | undefined;
3470
+ flagship?: Record<string, {
3471
+ appId: string;
3472
+ remote?: boolean | undefined;
3473
+ }> | undefined;
3474
+ } | undefined;
3475
+ triggers?: {
3476
+ crons?: string[] | undefined;
3477
+ } | undefined;
3478
+ rules?: {
3479
+ type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
3480
+ globs: string[];
3481
+ fallthrough?: boolean | undefined;
3482
+ }[] | undefined;
3483
+ findAdditionalModules?: boolean | undefined;
3484
+ baseDir?: string | undefined;
3485
+ preserveFileNames?: boolean | undefined;
3486
+ logpush?: boolean | undefined;
3487
+ uploadSourceMaps?: boolean | undefined;
3488
+ keepVars?: boolean | undefined;
3489
+ tailConsumers?: (string | {
3490
+ service: string;
3491
+ environment?: string | undefined;
3492
+ })[] | undefined;
3493
+ vars?: Record<string, unknown> | undefined;
3494
+ secrets?: Record<string, {
3495
+ required?: boolean | undefined;
3496
+ }> | undefined;
3497
+ routes?: {
3498
+ pattern: string;
3499
+ zone_name?: string | undefined;
3500
+ zone_id?: string | undefined;
3501
+ custom_domain?: boolean | undefined;
3502
+ }[] | undefined;
3503
+ assets?: {
3504
+ directory: string;
3505
+ binding?: string | undefined;
3506
+ html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
3507
+ not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
3508
+ run_worker_first?: boolean | string[] | undefined;
3509
+ } | undefined;
3510
+ containers?: {
3511
+ className: string;
3512
+ image: string;
3513
+ maxInstances?: number | undefined;
3514
+ instanceType?: string | undefined;
3515
+ name?: string | undefined;
3516
+ imageBuildContext?: string | undefined;
3517
+ imageVars?: Record<string, string> | undefined;
3518
+ rolloutActiveGracePeriod?: number | undefined;
3519
+ rolloutStepPercentage?: number | number[] | undefined;
3520
+ }[] | undefined;
3521
+ placement?: {
3522
+ mode: "off" | "smart";
3523
+ hint?: string | undefined;
3524
+ } | {
3525
+ mode?: "targeted" | undefined;
3526
+ region: string;
3527
+ } | {
3528
+ mode?: "targeted" | undefined;
3529
+ host: string;
3530
+ } | {
3531
+ mode?: "targeted" | undefined;
3532
+ hostname: string;
3533
+ } | undefined;
3534
+ limits?: {
3535
+ cpu_ms?: number | undefined;
3536
+ subrequests?: number | undefined;
3537
+ } | undefined;
3538
+ observability?: {
3539
+ enabled?: boolean | undefined;
3540
+ head_sampling_rate?: number | undefined;
3541
+ logs?: {
3542
+ enabled?: boolean | undefined;
3543
+ head_sampling_rate?: number | undefined;
3544
+ invocation_logs?: boolean | undefined;
3545
+ persist?: boolean | undefined;
3546
+ destinations?: string[] | undefined;
3547
+ } | undefined;
3548
+ traces?: {
3549
+ enabled?: boolean | undefined;
3550
+ head_sampling_rate?: number | undefined;
3551
+ persist?: boolean | undefined;
3552
+ destinations?: string[] | undefined;
3553
+ } | undefined;
3554
+ } | undefined;
3555
+ migrations?: {
3556
+ tag: string;
3557
+ new_classes?: string[] | undefined;
3558
+ renamed_classes?: {
3559
+ from: string;
3560
+ to: string;
3561
+ }[] | undefined;
3562
+ deleted_classes?: string[] | undefined;
3563
+ new_sqlite_classes?: string[] | undefined;
3564
+ }[] | undefined;
3565
+ rolldown?: {
3566
+ target?: string | undefined;
3567
+ minify?: boolean | undefined;
3568
+ sourcemap?: boolean | undefined;
3569
+ options?: import("./schema-build.js").DevflareRolldownOptions | undefined;
3570
+ } | undefined;
3571
+ vite?: z.objectInputType<{
3572
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3573
+ }, z.ZodUnknown, "strip"> | undefined;
3574
+ wrangler?: {
3575
+ passthrough?: Record<string, unknown> | undefined;
3576
+ } | undefined;
3577
+ }>>;
3578
+ export type DevflareEnvConfig = z.output<typeof envConfigSchemaInner>;
3579
+ //# sourceMappingURL=schema-env.d.ts.map