devflare 1.0.0-next.19 → 1.0.0-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LLM.md +6807 -888
- package/README.md +375 -957
- package/dist/account-05zgta47.js +475 -0
- package/dist/account-b2ag1esh.js +475 -0
- package/dist/account-bxtcz61a.js +475 -0
- package/dist/account-gyfqg964.js +475 -0
- package/dist/account-q6pvs9d9.js +475 -0
- package/dist/account-rp4zbvw1.js +475 -0
- package/dist/bridge/client.d.ts +5 -0
- package/dist/bridge/client.d.ts.map +1 -1
- package/dist/bridge/gateway-runtime.d.ts +1 -1
- package/dist/bridge/gateway-runtime.d.ts.map +1 -1
- package/dist/bridge/miniflare.d.ts +67 -0
- package/dist/bridge/miniflare.d.ts.map +1 -1
- package/dist/bridge/proxy.d.ts +2 -1
- package/dist/bridge/proxy.d.ts.map +1 -1
- package/dist/bridge/server.d.ts.map +1 -1
- package/dist/browser.d.ts +2520 -40
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +3 -3
- package/dist/build-2s5paw5p.js +54 -0
- package/dist/build-4c350cp7.js +54 -0
- package/dist/build-e7wym63t.js +54 -0
- package/dist/build-ge6qp3t4.js +54 -0
- package/dist/build-ta8c6t11.js +54 -0
- package/dist/build-wvjj8f28.js +54 -0
- package/dist/build-ypg6f2kw.js +54 -0
- package/dist/build-yts8wwgf.js +54 -0
- package/dist/build-yzkdqexs.js +54 -0
- package/dist/cli/build-manifest.d.ts +12 -0
- package/dist/cli/build-manifest.d.ts.map +1 -1
- package/dist/cli/commands/deploy/metadata.d.ts +18 -0
- package/dist/cli/commands/deploy/metadata.d.ts.map +1 -0
- package/dist/cli/commands/deploy/prepare.d.ts +23 -0
- package/dist/cli/commands/deploy/prepare.d.ts.map +1 -0
- package/dist/cli/commands/deploy/runtime.d.ts +4 -0
- package/dist/cli/commands/deploy/runtime.d.ts.map +1 -0
- package/dist/cli/commands/deploy/verification.d.ts +36 -0
- package/dist/cli/commands/deploy/verification.d.ts.map +1 -0
- package/dist/cli/commands/deploy.d.ts +2 -2
- package/dist/cli/commands/deploy.d.ts.map +1 -1
- package/dist/cli/commands/secrets.d.ts +4 -0
- package/dist/cli/commands/secrets.d.ts.map +1 -0
- package/dist/cli/commands/type-generation/generator.d.ts +67 -1
- package/dist/cli/commands/type-generation/generator.d.ts.map +1 -1
- package/dist/cli/help-pages/pages/core.d.ts +1 -1
- package/dist/cli/help-pages/pages/core.d.ts.map +1 -1
- package/dist/cli/help-pages/shared.d.ts +1 -1
- package/dist/cli/help-pages/shared.d.ts.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/cli/package-metadata.d.ts.map +1 -1
- package/dist/cli/preview-bindings.d.ts.map +1 -1
- package/dist/cloudflare/index.js +2 -2
- package/dist/cloudflare/preview-registry-store.d.ts +1 -1
- package/dist/cloudflare/preview-registry-store.d.ts.map +1 -1
- package/dist/cloudflare/types.d.ts +1 -1
- package/dist/cloudflare/types.d.ts.map +1 -1
- package/dist/config/binding-resolution-helpers.d.ts +5 -0
- package/dist/config/binding-resolution-helpers.d.ts.map +1 -1
- package/dist/config/compiler/bindings.d.ts +14 -0
- package/dist/config/compiler/bindings.d.ts.map +1 -0
- package/dist/config/compiler/core-helpers.d.ts +6 -0
- package/dist/config/compiler/core-helpers.d.ts.map +1 -0
- package/dist/config/compiler/do-workers.d.ts +34 -0
- package/dist/config/compiler/do-workers.d.ts.map +1 -0
- package/dist/config/compiler/paths.d.ts +18 -0
- package/dist/config/compiler/paths.d.ts.map +1 -0
- package/dist/config/compiler/types.d.ts +267 -0
- package/dist/config/compiler/types.d.ts.map +1 -0
- package/dist/config/compiler.d.ts +11 -175
- package/dist/config/compiler.d.ts.map +1 -1
- package/dist/config/deploy-resources.d.ts.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/local-dev-vars.d.ts +15 -0
- package/dist/config/local-dev-vars.d.ts.map +1 -0
- package/dist/config/preview-resources.d.ts.map +1 -1
- package/dist/config/preview.d.ts.map +1 -1
- package/dist/config/resolve.d.ts.map +1 -1
- package/dist/config/resource-resolution.d.ts.map +1 -1
- package/dist/config/schema-bindings.d.ts +559 -19
- package/dist/config/schema-bindings.d.ts.map +1 -1
- package/dist/config/schema-env.d.ts +1306 -34
- package/dist/config/schema-env.d.ts.map +1 -1
- package/dist/config/schema-normalization.d.ts +97 -1
- package/dist/config/schema-normalization.d.ts.map +1 -1
- package/dist/config/schema-runtime.d.ts +245 -7
- package/dist/config/schema-runtime.d.ts.map +1 -1
- package/dist/config/schema.d.ts +2976 -57
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config-6m0n7d84.js +59 -0
- package/dist/config-7cf004ag.js +59 -0
- package/dist/config-b98dp58n.js +59 -0
- package/dist/config-cf3djhqy.js +59 -0
- package/dist/config-entry.js +1 -1
- package/dist/config-wa7hm0w9.js +59 -0
- package/dist/deploy-1jfagtn9.js +1055 -0
- package/dist/deploy-2afw0jfg.js +1055 -0
- package/dist/deploy-2fzj68kq.js +1055 -0
- package/dist/deploy-57nzn9wj.js +1045 -0
- package/dist/deploy-asyryrvm.js +1055 -0
- package/dist/deploy-hc927rw6.js +1045 -0
- package/dist/deploy-pnnf8tgy.js +1045 -0
- package/dist/deploy-q33bw715.js +1055 -0
- package/dist/deploy-tmdgecs3.js +1055 -0
- package/dist/deploy-v0y8kczr.js +1055 -0
- package/dist/deploy-xhj6zbcx.js +1055 -0
- package/dist/dev-1mvcts8w.js +2515 -0
- package/dist/dev-2a283xts.js +2515 -0
- package/dist/dev-62nhytf8.js +2505 -0
- package/dist/dev-75acm2xj.js +2478 -0
- package/dist/dev-802rg9dp.js +2515 -0
- package/dist/dev-d1bb2t0f.js +2515 -0
- package/dist/dev-dwry8494.js +2489 -0
- package/dist/dev-g6112y4w.js +2515 -0
- package/dist/dev-h2kneh95.js +2496 -0
- package/dist/dev-kybq3mwr.js +2489 -0
- package/dist/dev-n8qndkyg.js +2512 -0
- package/dist/dev-p32fkbwf.js +2489 -0
- package/dist/dev-qm9d4mfh.js +2478 -0
- package/dist/dev-rcthnse5.js +2473 -0
- package/dist/dev-server/dev-server-state.d.ts +1 -0
- package/dist/dev-server/dev-server-state.d.ts.map +1 -1
- package/dist/dev-server/miniflare-bindings.d.ts +44 -1
- package/dist/dev-server/miniflare-bindings.d.ts.map +1 -1
- package/dist/dev-server/miniflare-dev-config.d.ts +1 -0
- package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -1
- package/dist/dev-server/miniflare-log.d.ts +8 -0
- package/dist/dev-server/miniflare-log.d.ts.map +1 -1
- package/dist/dev-server/miniflare-worker-config.d.ts +31 -1
- package/dist/dev-server/miniflare-worker-config.d.ts.map +1 -1
- package/dist/dev-server/server.d.ts.map +1 -1
- package/dist/dev-server/vite-process.d.ts +1 -0
- package/dist/dev-server/vite-process.d.ts.map +1 -1
- package/dist/dev-tgwja5mz.js +2496 -0
- package/dist/doctor-2shhdak6.js +245 -0
- package/dist/doctor-5g73w40j.js +245 -0
- package/dist/doctor-gamefzcs.js +245 -0
- package/dist/doctor-rn53ctfs.js +245 -0
- package/dist/index-01kehw41.js +348 -0
- package/dist/index-06bg0z9y.js +185 -0
- package/dist/index-0d7tw5r4.js +136 -0
- package/dist/index-0m6e4mxz.js +133 -0
- package/dist/index-0vah20er.js +1410 -0
- package/dist/index-0wa0ebm1.js +68 -0
- package/dist/index-1714y3cz.js +1410 -0
- package/dist/index-1qs5gcm7.js +895 -0
- package/dist/index-29k04v43.js +574 -0
- package/dist/index-2jywf4pz.js +1372 -0
- package/dist/index-2qhk9nbx.js +1372 -0
- package/dist/index-2vq6bveq.js +574 -0
- package/dist/index-36h8gkhb.js +1088 -0
- package/dist/index-38fq7pww.js +560 -0
- package/dist/index-3bxqn033.js +1410 -0
- package/dist/index-3jme4hgw.js +1234 -0
- package/dist/index-3p7s9mk9.js +360 -0
- package/dist/index-47w35sft.js +244 -0
- package/dist/index-4by4c7rm.js +52 -0
- package/dist/index-4phjwd6h.js +412 -0
- package/dist/index-4z5jrw0j.js +594 -0
- package/dist/index-51mzqy0d.js +895 -0
- package/dist/index-53pqqpq9.js +74 -0
- package/dist/index-5enq8ntr.js +1766 -0
- package/dist/index-5fnq9r9m.js +1410 -0
- package/dist/index-5w9f2b17.js +695 -0
- package/dist/index-627srx16.js +45 -0
- package/dist/index-6bqgf5x8.js +227 -0
- package/dist/index-6xknvbyk.js +1088 -0
- package/dist/index-7ef3ktz5.js +1372 -0
- package/dist/index-7hpjfdzh.js +185 -0
- package/dist/index-8052df4m.js +627 -0
- package/dist/index-82epjzrr.js +1410 -0
- package/dist/index-82z7rvz6.js +1238 -0
- package/dist/index-8atc1yb9.js +68 -0
- package/dist/index-8tj0awnv.js +476 -0
- package/dist/index-8x745h59.js +1069 -0
- package/dist/index-9bawzcny.js +574 -0
- package/dist/index-9bjjqdfc.js +236 -0
- package/dist/index-9d7x3vfr.js +236 -0
- package/dist/index-9nf8zs4p.js +1069 -0
- package/dist/index-acwbmagz.js +412 -0
- package/dist/index-aqjdaem7.js +74 -0
- package/dist/index-b6448fd0.js +133 -0
- package/dist/index-b9j55r7q.js +240 -0
- package/dist/index-bdatd1za.js +1372 -0
- package/dist/index-c3nxftnp.js +699 -0
- package/dist/index-c643s0gv.js +488 -0
- package/dist/index-d2md1j3d.js +185 -0
- package/dist/index-dbr6bfz6.js +528 -0
- package/dist/index-dd1g0g7e.js +360 -0
- package/dist/index-dktb9az5.js +1372 -0
- package/dist/index-dm9q84c7.js +360 -0
- package/dist/index-f51mkh13.js +1088 -0
- package/dist/index-f86n1fpd.js +55 -0
- package/dist/index-fnk0tkw7.js +412 -0
- package/dist/index-g5aq66bj.js +1534 -0
- package/dist/index-gj5qh491.js +54 -0
- package/dist/index-gq39t0rx.js +895 -0
- package/dist/index-h5dqna7q.js +1410 -0
- package/dist/index-hjs9j2g9.js +895 -0
- package/dist/index-hn5nbxbt.js +147 -0
- package/dist/index-hpjh0qjx.js +1723 -0
- package/dist/index-hs6ekcfs.js +412 -0
- package/dist/index-jdzrvnfj.js +52 -0
- package/dist/index-jg720mq7.js +476 -0
- package/dist/index-jrzddxvt.js +2167 -0
- package/dist/index-kgstnk6g.js +239 -0
- package/dist/index-khnw972v.js +117 -0
- package/dist/index-kwqff3ba.js +1410 -0
- package/dist/index-m2v0fj08.js +74 -0
- package/dist/index-mjve6tqn.js +447 -0
- package/dist/index-mkxzgn0q.js +1372 -0
- package/dist/index-mzmq3v0d.js +1088 -0
- package/dist/index-ng9n3znd.js +1372 -0
- package/dist/index-nhbkm2ba.js +467 -0
- package/dist/index-nrfhk0k5.js +1088 -0
- package/dist/index-p0zppqxm.js +467 -0
- package/dist/index-pkxf6h87.js +895 -0
- package/dist/index-pqp4312v.js +52 -0
- package/dist/index-pw9jn6kz.js +574 -0
- package/dist/index-q31ne0xa.js +412 -0
- package/dist/index-qf2dkqxh.js +249 -0
- package/dist/index-qmtdf7k5.js +639 -0
- package/dist/index-qwgr4q7s.js +37 -0
- package/dist/index-rab2dfh3.js +494 -0
- package/dist/index-rz7rx80s.js +1410 -0
- package/dist/index-s37h3jgk.js +572 -0
- package/dist/index-sb705m7d.js +52 -0
- package/dist/index-syscwrjp.js +1576 -0
- package/dist/index-t14zr0ys.js +1063 -0
- package/dist/index-tjc99447.js +68 -0
- package/dist/index-v35460hf.js +574 -0
- package/dist/index-v7q00d1e.js +1410 -0
- package/dist/index-vkkmx4xe.js +1372 -0
- package/dist/index-vrps1gky.js +2202 -0
- package/dist/index-w4c9vmvg.js +1517 -0
- package/dist/index-wqd8n2qk.js +574 -0
- package/dist/index-x12e6fzy.js +476 -0
- package/dist/index-xagpz645.js +2199 -0
- package/dist/index-xbth1r6e.js +572 -0
- package/dist/index-xm9fqhcb.js +447 -0
- package/dist/index-y59hnmd0.js +132 -0
- package/dist/index-y7mkb00x.js +133 -0
- package/dist/index-z40mjts9.js +212 -0
- package/dist/index-z5k5bjc7.js +1218 -0
- package/dist/index-z73sytma.js +895 -0
- package/dist/index-zjv6apef.js +1410 -0
- package/dist/index.js +8 -8
- package/dist/init-cwpergap.js +180 -0
- package/dist/login-83bjfhvz.js +77 -0
- package/dist/login-ddw888xb.js +77 -0
- package/dist/login-e7pytkdc.js +77 -0
- package/dist/login-fe0brfcr.js +77 -0
- package/dist/login-h7sm5trm.js +77 -0
- package/dist/login-vd0m3xr4.js +77 -0
- package/dist/previews-2wfvsjfy.js +1337 -0
- package/dist/previews-31feb8r3.js +1337 -0
- package/dist/previews-3w4pxqby.js +1337 -0
- package/dist/previews-93ttrf5f.js +1337 -0
- package/dist/previews-bdrefjzx.js +1337 -0
- package/dist/previews-cfcn56b4.js +1337 -0
- package/dist/previews-mssq1hrm.js +1337 -0
- package/dist/previews-tcaz1gt8.js +1337 -0
- package/dist/productions-4h80j2c7.js +505 -0
- package/dist/productions-86jaqt7m.js +505 -0
- package/dist/productions-bn2q31my.js +505 -0
- package/dist/productions-dv8g7f6g.js +505 -0
- package/dist/productions-e2m9s4tr.js +505 -0
- package/dist/productions-fgshs1m7.js +505 -0
- package/dist/productions-hphmt68n.js +505 -0
- package/dist/productions-vhq7yx86.js +505 -0
- package/dist/runtime/index.js +8 -8
- package/dist/secrets/local-secrets.d.ts +46 -0
- package/dist/secrets/local-secrets.d.ts.map +1 -0
- package/dist/secrets-8wcj47nh.js +91 -0
- package/dist/secrets-b2ww34ta.js +91 -0
- package/dist/secrets-b7g4z621.js +91 -0
- package/dist/shims/local-media-bindings.d.ts +19 -0
- package/dist/shims/local-media-bindings.d.ts.map +1 -0
- package/dist/shims/local-worker-loader.d.ts +3 -0
- package/dist/shims/local-worker-loader.d.ts.map +1 -0
- package/dist/sveltekit/index.js +163 -26
- package/dist/sveltekit/local-bindings.d.ts +4 -0
- package/dist/sveltekit/local-bindings.d.ts.map +1 -0
- package/dist/sveltekit/platform.d.ts +8 -0
- package/dist/sveltekit/platform.d.ts.map +1 -1
- package/dist/test/ai-search.d.ts +39 -0
- package/dist/test/ai-search.d.ts.map +1 -0
- package/dist/test/binding-hints.d.ts.map +1 -1
- package/dist/test/cf.d.ts +3 -3
- package/dist/test/containers.d.ts +87 -0
- package/dist/test/containers.d.ts.map +1 -0
- package/dist/test/index.d.ts +4 -1
- package/dist/test/index.d.ts.map +1 -1
- package/dist/test/index.js +2833 -543
- package/dist/test/local-worker-loader.d.ts +3 -0
- package/dist/test/local-worker-loader.d.ts.map +1 -0
- package/dist/test/offline-bindings.d.ts +65 -0
- package/dist/test/offline-bindings.d.ts.map +1 -0
- package/dist/test/queue.d.ts.map +1 -1
- package/dist/test/remote-ai.d.ts.map +1 -1
- package/dist/test/should-skip.d.ts +14 -0
- package/dist/test/should-skip.d.ts.map +1 -1
- package/dist/test/simple-context-bindings.d.ts.map +1 -1
- package/dist/test/simple-context-durable-objects.d.ts.map +1 -1
- package/dist/test/simple-context-gateway-script.d.ts +1 -1
- package/dist/test/simple-context-gateway-script.d.ts.map +1 -1
- package/dist/test/simple-context-lifecycle.d.ts.map +1 -1
- package/dist/test/simple-context-mfconfig.d.ts +4 -1
- package/dist/test/simple-context-mfconfig.d.ts.map +1 -1
- package/dist/test/simple-context-multi-worker.d.ts.map +1 -1
- package/dist/test/simple-context-startup.d.ts.map +1 -1
- package/dist/test/tail.d.ts.map +1 -1
- package/dist/test/utilities/artifacts.d.ts +11 -0
- package/dist/test/utilities/artifacts.d.ts.map +1 -0
- package/dist/test/utilities/context.d.ts +39 -0
- package/dist/test/utilities/context.d.ts.map +1 -0
- package/dist/test/utilities/d1.d.ts +21 -0
- package/dist/test/utilities/d1.d.ts.map +1 -0
- package/dist/test/utilities/env.d.ts +40 -0
- package/dist/test/utilities/env.d.ts.map +1 -0
- package/dist/test/utilities/kv.d.ts +11 -0
- package/dist/test/utilities/kv.d.ts.map +1 -0
- package/dist/test/utilities/media.d.ts +16 -0
- package/dist/test/utilities/media.d.ts.map +1 -0
- package/dist/test/utilities/platform.d.ts +38 -0
- package/dist/test/utilities/platform.d.ts.map +1 -0
- package/dist/test/utilities/queue.d.ts +5 -0
- package/dist/test/utilities/queue.d.ts.map +1 -0
- package/dist/test/utilities/r2.d.ts +12 -0
- package/dist/test/utilities/r2.d.ts.map +1 -0
- package/dist/test/utilities/workflows.d.ts +26 -0
- package/dist/test/utilities/workflows.d.ts.map +1 -0
- package/dist/test/utilities.d.ts +10 -106
- package/dist/test/utilities.d.ts.map +1 -1
- package/dist/types-2ejrbba1.js +695 -0
- package/dist/types-7jkbm95a.js +695 -0
- package/dist/types-a2fk9yns.js +695 -0
- package/dist/types-dyb3c6zw.js +695 -0
- package/dist/types-e2n9f3pd.js +695 -0
- package/dist/types-j4s6qcrc.js +695 -0
- package/dist/utils/send-email.d.ts.map +1 -1
- package/dist/utils/send-email.js +1 -1
- package/dist/vite/index.js +6 -6
- package/dist/vite/plugin-context.d.ts.map +1 -1
- package/dist/worker-663em30d.js +513 -0
- package/dist/worker-argxc7fb.js +513 -0
- package/dist/worker-entry/composed-worker.d.ts.map +1 -1
- package/dist/worker-entry/surface-paths.d.ts +2 -0
- package/dist/worker-entry/surface-paths.d.ts.map +1 -1
- package/dist/worker-fcdsnj14.js +513 -0
- package/dist/worker-fk42rzse.js +513 -0
- package/dist/worker-jkemk8d2.js +513 -0
- package/dist/worker-m4ze8djx.js +513 -0
- package/dist/worker-wnan5dca.js +513 -0
- package/dist/worker-yw3atfb1.js +513 -0
- package/dist/workflows/local-workflow-entrypoints.d.ts +7 -0
- package/dist/workflows/local-workflow-entrypoints.d.ts.map +1 -0
- package/package.json +13 -12
package/dist/config/schema.d.ts
CHANGED
|
@@ -17,6 +17,11 @@ export declare const rootConfigShape: {
|
|
|
17
17
|
* Required for remote bindings (AI, Vectorize, etc.).
|
|
18
18
|
*/
|
|
19
19
|
readonly accountId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
/**
|
|
21
|
+
* Default Cloudflare Secrets Store ID used by shorthand Secrets Store
|
|
22
|
+
* bindings in `bindings.secretsStore`.
|
|
23
|
+
*/
|
|
24
|
+
readonly secretsStoreId: z.ZodOptional<z.ZodString>;
|
|
20
25
|
/**
|
|
21
26
|
* Cloudflare Workers compatibility date.
|
|
22
27
|
* @default Current date (YYYY-MM-DD)
|
|
@@ -41,6 +46,7 @@ export declare const rootConfigShape: {
|
|
|
41
46
|
queue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
42
47
|
scheduled: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
43
48
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
49
|
+
tail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
44
50
|
durableObjects: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
45
51
|
entrypoints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
46
52
|
workflows: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
@@ -60,6 +66,7 @@ export declare const rootConfigShape: {
|
|
|
60
66
|
queue?: string | false | undefined;
|
|
61
67
|
scheduled?: string | false | undefined;
|
|
62
68
|
email?: string | false | undefined;
|
|
69
|
+
tail?: string | false | undefined;
|
|
63
70
|
durableObjects?: string | false | undefined;
|
|
64
71
|
entrypoints?: string | false | undefined;
|
|
65
72
|
workflows?: string | false | undefined;
|
|
@@ -73,6 +80,7 @@ export declare const rootConfigShape: {
|
|
|
73
80
|
queue?: string | false | undefined;
|
|
74
81
|
scheduled?: string | false | undefined;
|
|
75
82
|
email?: string | false | undefined;
|
|
83
|
+
tail?: string | false | undefined;
|
|
76
84
|
durableObjects?: string | false | undefined;
|
|
77
85
|
entrypoints?: string | false | undefined;
|
|
78
86
|
workflows?: string | false | undefined;
|
|
@@ -162,6 +170,49 @@ export declare const rootConfigShape: {
|
|
|
162
170
|
retryDelay?: number | undefined;
|
|
163
171
|
}[] | undefined;
|
|
164
172
|
}>>;
|
|
173
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
174
|
+
namespaceId: z.ZodString;
|
|
175
|
+
simple: z.ZodObject<{
|
|
176
|
+
limit: z.ZodNumber;
|
|
177
|
+
period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
|
|
178
|
+
}, "strict", z.ZodTypeAny, {
|
|
179
|
+
limit: number;
|
|
180
|
+
period: 10 | 60;
|
|
181
|
+
}, {
|
|
182
|
+
limit: number;
|
|
183
|
+
period: 10 | 60;
|
|
184
|
+
}>;
|
|
185
|
+
}, "strict", z.ZodTypeAny, {
|
|
186
|
+
namespaceId: string;
|
|
187
|
+
simple: {
|
|
188
|
+
limit: number;
|
|
189
|
+
period: 10 | 60;
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
namespaceId: string;
|
|
193
|
+
simple: {
|
|
194
|
+
limit: number;
|
|
195
|
+
period: 10 | 60;
|
|
196
|
+
};
|
|
197
|
+
}>>>;
|
|
198
|
+
versionMetadata: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
binding: z.ZodString;
|
|
200
|
+
}, "strict", z.ZodTypeAny, {
|
|
201
|
+
binding: string;
|
|
202
|
+
}, {
|
|
203
|
+
binding: string;
|
|
204
|
+
}>>;
|
|
205
|
+
workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
|
|
206
|
+
secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
207
|
+
storeId: z.ZodString;
|
|
208
|
+
secretName: z.ZodString;
|
|
209
|
+
}, "strict", z.ZodTypeAny, {
|
|
210
|
+
storeId: string;
|
|
211
|
+
secretName: string;
|
|
212
|
+
}, {
|
|
213
|
+
storeId: string;
|
|
214
|
+
secretName: string;
|
|
215
|
+
}>]>>>;
|
|
165
216
|
services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
|
|
166
217
|
service: string;
|
|
167
218
|
environment?: string;
|
|
@@ -175,41 +226,86 @@ export declare const rootConfigShape: {
|
|
|
175
226
|
}>>>;
|
|
176
227
|
ai: z.ZodOptional<z.ZodObject<{
|
|
177
228
|
binding: z.ZodString;
|
|
178
|
-
|
|
229
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
staging: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
}, "strict", z.ZodTypeAny, {
|
|
179
232
|
binding: string;
|
|
233
|
+
remote?: boolean | undefined;
|
|
234
|
+
staging?: boolean | undefined;
|
|
180
235
|
}, {
|
|
181
236
|
binding: string;
|
|
237
|
+
remote?: boolean | undefined;
|
|
238
|
+
staging?: boolean | undefined;
|
|
182
239
|
}>>;
|
|
240
|
+
aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
241
|
+
namespace: z.ZodString;
|
|
242
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
}, "strict", z.ZodTypeAny, {
|
|
244
|
+
namespace: string;
|
|
245
|
+
remote?: boolean | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
namespace: string;
|
|
248
|
+
remote?: boolean | undefined;
|
|
249
|
+
}>>>;
|
|
250
|
+
aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
251
|
+
instanceName: z.ZodString;
|
|
252
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
}, "strict", z.ZodTypeAny, {
|
|
254
|
+
instanceName: string;
|
|
255
|
+
remote?: boolean | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
instanceName: string;
|
|
258
|
+
remote?: boolean | undefined;
|
|
259
|
+
}>>>;
|
|
183
260
|
vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
184
261
|
indexName: z.ZodString;
|
|
262
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
185
263
|
}, "strip", z.ZodTypeAny, {
|
|
186
264
|
indexName: string;
|
|
265
|
+
remote?: boolean | undefined;
|
|
187
266
|
}, {
|
|
188
267
|
indexName: string;
|
|
268
|
+
remote?: boolean | undefined;
|
|
189
269
|
}>>>;
|
|
190
270
|
hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
191
271
|
id: z.ZodString;
|
|
272
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
192
273
|
}, "strict", z.ZodTypeAny, {
|
|
193
274
|
id: string;
|
|
275
|
+
localConnectionString?: string | undefined;
|
|
194
276
|
}, {
|
|
195
277
|
id: string;
|
|
278
|
+
localConnectionString?: string | undefined;
|
|
196
279
|
}>, z.ZodObject<{
|
|
197
280
|
name: z.ZodString;
|
|
281
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
198
282
|
previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
|
|
199
283
|
previewId: z.ZodOptional<z.ZodString>;
|
|
200
284
|
previewLocalConnectionString: z.ZodOptional<z.ZodString>;
|
|
201
285
|
}, "strict", z.ZodTypeAny, {
|
|
202
286
|
name: string;
|
|
287
|
+
localConnectionString?: string | undefined;
|
|
203
288
|
previewFallback?: "base" | undefined;
|
|
204
289
|
previewId?: string | undefined;
|
|
205
290
|
previewLocalConnectionString?: string | undefined;
|
|
206
291
|
}, {
|
|
207
292
|
name: string;
|
|
293
|
+
localConnectionString?: string | undefined;
|
|
208
294
|
previewFallback?: "base" | undefined;
|
|
209
295
|
previewId?: string | undefined;
|
|
210
296
|
previewLocalConnectionString?: string | undefined;
|
|
211
297
|
}>]>>>;
|
|
212
|
-
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString
|
|
298
|
+
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
299
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
+
}, "strict", z.ZodTypeAny, {
|
|
301
|
+
remote?: boolean | undefined;
|
|
302
|
+
}, {
|
|
303
|
+
remote?: boolean | undefined;
|
|
304
|
+
}>]>>, Record<string, string | {
|
|
305
|
+
remote?: boolean | undefined;
|
|
306
|
+
}>, Record<string, string | {
|
|
307
|
+
remote?: boolean | undefined;
|
|
308
|
+
}>>>;
|
|
213
309
|
analyticsEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
214
310
|
dataset: z.ZodString;
|
|
215
311
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239,11 +335,23 @@ export declare const rootConfigShape: {
|
|
|
239
335
|
allowedSenderAddresses?: string[] | undefined;
|
|
240
336
|
}>>>;
|
|
241
337
|
mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
338
|
+
certificateId: z.ZodString;
|
|
339
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
}, "strict", z.ZodTypeAny, {
|
|
341
|
+
certificateId: string;
|
|
342
|
+
remote?: boolean | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
certificateId: string;
|
|
345
|
+
remote?: boolean | undefined;
|
|
346
|
+
}>, z.ZodObject<{
|
|
242
347
|
certificate_id: z.ZodString;
|
|
348
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
243
349
|
}, "strict", z.ZodTypeAny, {
|
|
244
350
|
certificate_id: string;
|
|
351
|
+
remote?: boolean | undefined;
|
|
245
352
|
}, {
|
|
246
353
|
certificate_id: string;
|
|
354
|
+
remote?: boolean | undefined;
|
|
247
355
|
}>]>>>;
|
|
248
356
|
dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
249
357
|
namespace: z.ZodString;
|
|
@@ -251,7 +359,7 @@ export declare const rootConfigShape: {
|
|
|
251
359
|
service: z.ZodString;
|
|
252
360
|
environment: z.ZodOptional<z.ZodString>;
|
|
253
361
|
parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
254
|
-
}, "
|
|
362
|
+
}, "strict", z.ZodTypeAny, {
|
|
255
363
|
service: string;
|
|
256
364
|
environment?: string | undefined;
|
|
257
365
|
parameters?: string[] | undefined;
|
|
@@ -260,6 +368,7 @@ export declare const rootConfigShape: {
|
|
|
260
368
|
environment?: string | undefined;
|
|
261
369
|
parameters?: string[] | undefined;
|
|
262
370
|
}>>;
|
|
371
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
263
372
|
}, "strict", z.ZodTypeAny, {
|
|
264
373
|
namespace: string;
|
|
265
374
|
outbound?: {
|
|
@@ -267,6 +376,7 @@ export declare const rootConfigShape: {
|
|
|
267
376
|
environment?: string | undefined;
|
|
268
377
|
parameters?: string[] | undefined;
|
|
269
378
|
} | undefined;
|
|
379
|
+
remote?: boolean | undefined;
|
|
270
380
|
}, {
|
|
271
381
|
namespace: string;
|
|
272
382
|
outbound?: {
|
|
@@ -274,28 +384,79 @@ export declare const rootConfigShape: {
|
|
|
274
384
|
environment?: string | undefined;
|
|
275
385
|
parameters?: string[] | undefined;
|
|
276
386
|
} | undefined;
|
|
387
|
+
remote?: boolean | undefined;
|
|
277
388
|
}>]>>>;
|
|
278
389
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
279
390
|
name: z.ZodString;
|
|
280
391
|
className: z.ZodString;
|
|
281
392
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
393
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
steps: z.ZodNumber;
|
|
396
|
+
}, "strict", z.ZodTypeAny, {
|
|
397
|
+
steps: number;
|
|
398
|
+
}, {
|
|
399
|
+
steps: number;
|
|
400
|
+
}>>;
|
|
282
401
|
}, "strict", z.ZodTypeAny, {
|
|
283
402
|
name: string;
|
|
284
403
|
className: string;
|
|
285
404
|
scriptName?: string | undefined;
|
|
405
|
+
remote?: boolean | undefined;
|
|
406
|
+
limits?: {
|
|
407
|
+
steps: number;
|
|
408
|
+
} | undefined;
|
|
286
409
|
}, {
|
|
287
410
|
name: string;
|
|
288
411
|
className: string;
|
|
289
412
|
scriptName?: string | undefined;
|
|
413
|
+
remote?: boolean | undefined;
|
|
414
|
+
limits?: {
|
|
415
|
+
steps: number;
|
|
416
|
+
} | undefined;
|
|
290
417
|
}>>>;
|
|
291
418
|
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
292
419
|
pipeline: z.ZodString;
|
|
420
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
293
421
|
}, "strict", z.ZodTypeAny, {
|
|
294
422
|
pipeline: string;
|
|
423
|
+
remote?: boolean | undefined;
|
|
295
424
|
}, {
|
|
296
425
|
pipeline: string;
|
|
426
|
+
remote?: boolean | undefined;
|
|
427
|
+
}>]>>>;
|
|
428
|
+
images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
429
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
}, "strict", z.ZodTypeAny, {
|
|
431
|
+
remote?: boolean | undefined;
|
|
432
|
+
}, {
|
|
433
|
+
remote?: boolean | undefined;
|
|
434
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
435
|
+
remote?: boolean | undefined;
|
|
436
|
+
}> | undefined, Record<string, true | {
|
|
437
|
+
remote?: boolean | undefined;
|
|
438
|
+
}> | undefined>;
|
|
439
|
+
media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
440
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
}, "strict", z.ZodTypeAny, {
|
|
442
|
+
remote?: boolean | undefined;
|
|
443
|
+
}, {
|
|
444
|
+
remote?: boolean | undefined;
|
|
445
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
446
|
+
remote?: boolean | undefined;
|
|
447
|
+
}> | undefined, Record<string, true | {
|
|
448
|
+
remote?: boolean | undefined;
|
|
449
|
+
}> | undefined>;
|
|
450
|
+
artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
451
|
+
namespace: z.ZodString;
|
|
452
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
}, "strict", z.ZodTypeAny, {
|
|
454
|
+
namespace: string;
|
|
455
|
+
remote?: boolean | undefined;
|
|
456
|
+
}, {
|
|
457
|
+
namespace: string;
|
|
458
|
+
remote?: boolean | undefined;
|
|
297
459
|
}>]>>>;
|
|
298
|
-
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>, z.ZodLiteral<true>]>>>;
|
|
299
460
|
}, "strip", z.ZodTypeAny, {
|
|
300
461
|
kv?: Record<string, string | {
|
|
301
462
|
id: string;
|
|
@@ -321,6 +482,21 @@ export declare const rootConfigShape: {
|
|
|
321
482
|
retryDelay?: number | undefined;
|
|
322
483
|
}[] | undefined;
|
|
323
484
|
} | undefined;
|
|
485
|
+
rateLimits?: Record<string, {
|
|
486
|
+
namespaceId: string;
|
|
487
|
+
simple: {
|
|
488
|
+
limit: number;
|
|
489
|
+
period: 10 | 60;
|
|
490
|
+
};
|
|
491
|
+
}> | undefined;
|
|
492
|
+
versionMetadata?: {
|
|
493
|
+
binding: string;
|
|
494
|
+
} | undefined;
|
|
495
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
496
|
+
secretsStore?: Record<string, string | {
|
|
497
|
+
storeId: string;
|
|
498
|
+
secretName: string;
|
|
499
|
+
}> | undefined;
|
|
324
500
|
services?: Record<string, {
|
|
325
501
|
service: string;
|
|
326
502
|
environment?: string;
|
|
@@ -329,19 +505,34 @@ export declare const rootConfigShape: {
|
|
|
329
505
|
}> | undefined;
|
|
330
506
|
ai?: {
|
|
331
507
|
binding: string;
|
|
508
|
+
remote?: boolean | undefined;
|
|
509
|
+
staging?: boolean | undefined;
|
|
332
510
|
} | undefined;
|
|
511
|
+
aiSearchNamespaces?: Record<string, {
|
|
512
|
+
namespace: string;
|
|
513
|
+
remote?: boolean | undefined;
|
|
514
|
+
}> | undefined;
|
|
515
|
+
aiSearch?: Record<string, {
|
|
516
|
+
instanceName: string;
|
|
517
|
+
remote?: boolean | undefined;
|
|
518
|
+
}> | undefined;
|
|
333
519
|
vectorize?: Record<string, {
|
|
334
520
|
indexName: string;
|
|
521
|
+
remote?: boolean | undefined;
|
|
335
522
|
}> | undefined;
|
|
336
523
|
hyperdrive?: Record<string, string | {
|
|
337
524
|
id: string;
|
|
525
|
+
localConnectionString?: string | undefined;
|
|
338
526
|
} | {
|
|
339
527
|
name: string;
|
|
528
|
+
localConnectionString?: string | undefined;
|
|
340
529
|
previewFallback?: "base" | undefined;
|
|
341
530
|
previewId?: string | undefined;
|
|
342
531
|
previewLocalConnectionString?: string | undefined;
|
|
343
532
|
}> | undefined;
|
|
344
|
-
browser?: Record<string, string
|
|
533
|
+
browser?: Record<string, string | {
|
|
534
|
+
remote?: boolean | undefined;
|
|
535
|
+
}> | undefined;
|
|
345
536
|
analyticsEngine?: Record<string, {
|
|
346
537
|
dataset: string;
|
|
347
538
|
}> | undefined;
|
|
@@ -351,7 +542,11 @@ export declare const rootConfigShape: {
|
|
|
351
542
|
allowedSenderAddresses?: string[] | undefined;
|
|
352
543
|
}> | undefined;
|
|
353
544
|
mtlsCertificates?: Record<string, string | {
|
|
545
|
+
certificateId: string;
|
|
546
|
+
remote?: boolean | undefined;
|
|
547
|
+
} | {
|
|
354
548
|
certificate_id: string;
|
|
549
|
+
remote?: boolean | undefined;
|
|
355
550
|
}> | undefined;
|
|
356
551
|
dispatchNamespaces?: Record<string, string | {
|
|
357
552
|
namespace: string;
|
|
@@ -360,16 +555,31 @@ export declare const rootConfigShape: {
|
|
|
360
555
|
environment?: string | undefined;
|
|
361
556
|
parameters?: string[] | undefined;
|
|
362
557
|
} | undefined;
|
|
558
|
+
remote?: boolean | undefined;
|
|
363
559
|
}> | undefined;
|
|
364
560
|
workflows?: Record<string, {
|
|
365
561
|
name: string;
|
|
366
562
|
className: string;
|
|
367
563
|
scriptName?: string | undefined;
|
|
564
|
+
remote?: boolean | undefined;
|
|
565
|
+
limits?: {
|
|
566
|
+
steps: number;
|
|
567
|
+
} | undefined;
|
|
368
568
|
}> | undefined;
|
|
369
569
|
pipelines?: Record<string, string | {
|
|
370
570
|
pipeline: string;
|
|
571
|
+
remote?: boolean | undefined;
|
|
572
|
+
}> | undefined;
|
|
573
|
+
images?: Record<string, true | {
|
|
574
|
+
remote?: boolean | undefined;
|
|
575
|
+
}> | undefined;
|
|
576
|
+
media?: Record<string, true | {
|
|
577
|
+
remote?: boolean | undefined;
|
|
578
|
+
}> | undefined;
|
|
579
|
+
artifacts?: Record<string, string | {
|
|
580
|
+
namespace: string;
|
|
581
|
+
remote?: boolean | undefined;
|
|
371
582
|
}> | undefined;
|
|
372
|
-
images?: Record<string, true | {}> | undefined;
|
|
373
583
|
}, {
|
|
374
584
|
kv?: Record<string, string | {
|
|
375
585
|
id: string;
|
|
@@ -395,6 +605,21 @@ export declare const rootConfigShape: {
|
|
|
395
605
|
retryDelay?: number | undefined;
|
|
396
606
|
}[] | undefined;
|
|
397
607
|
} | undefined;
|
|
608
|
+
rateLimits?: Record<string, {
|
|
609
|
+
namespaceId: string;
|
|
610
|
+
simple: {
|
|
611
|
+
limit: number;
|
|
612
|
+
period: 10 | 60;
|
|
613
|
+
};
|
|
614
|
+
}> | undefined;
|
|
615
|
+
versionMetadata?: {
|
|
616
|
+
binding: string;
|
|
617
|
+
} | undefined;
|
|
618
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
619
|
+
secretsStore?: Record<string, string | {
|
|
620
|
+
storeId: string;
|
|
621
|
+
secretName: string;
|
|
622
|
+
}> | undefined;
|
|
398
623
|
services?: Record<string, {
|
|
399
624
|
service: string;
|
|
400
625
|
environment?: string;
|
|
@@ -403,19 +628,34 @@ export declare const rootConfigShape: {
|
|
|
403
628
|
}> | undefined;
|
|
404
629
|
ai?: {
|
|
405
630
|
binding: string;
|
|
631
|
+
remote?: boolean | undefined;
|
|
632
|
+
staging?: boolean | undefined;
|
|
406
633
|
} | undefined;
|
|
634
|
+
aiSearchNamespaces?: Record<string, {
|
|
635
|
+
namespace: string;
|
|
636
|
+
remote?: boolean | undefined;
|
|
637
|
+
}> | undefined;
|
|
638
|
+
aiSearch?: Record<string, {
|
|
639
|
+
instanceName: string;
|
|
640
|
+
remote?: boolean | undefined;
|
|
641
|
+
}> | undefined;
|
|
407
642
|
vectorize?: Record<string, {
|
|
408
643
|
indexName: string;
|
|
644
|
+
remote?: boolean | undefined;
|
|
409
645
|
}> | undefined;
|
|
410
646
|
hyperdrive?: Record<string, string | {
|
|
411
647
|
id: string;
|
|
648
|
+
localConnectionString?: string | undefined;
|
|
412
649
|
} | {
|
|
413
650
|
name: string;
|
|
651
|
+
localConnectionString?: string | undefined;
|
|
414
652
|
previewFallback?: "base" | undefined;
|
|
415
653
|
previewId?: string | undefined;
|
|
416
654
|
previewLocalConnectionString?: string | undefined;
|
|
417
655
|
}> | undefined;
|
|
418
|
-
browser?: Record<string, string
|
|
656
|
+
browser?: Record<string, string | {
|
|
657
|
+
remote?: boolean | undefined;
|
|
658
|
+
}> | undefined;
|
|
419
659
|
analyticsEngine?: Record<string, {
|
|
420
660
|
dataset: string;
|
|
421
661
|
}> | undefined;
|
|
@@ -425,7 +665,11 @@ export declare const rootConfigShape: {
|
|
|
425
665
|
allowedSenderAddresses?: string[] | undefined;
|
|
426
666
|
}> | undefined;
|
|
427
667
|
mtlsCertificates?: Record<string, string | {
|
|
668
|
+
certificateId: string;
|
|
669
|
+
remote?: boolean | undefined;
|
|
670
|
+
} | {
|
|
428
671
|
certificate_id: string;
|
|
672
|
+
remote?: boolean | undefined;
|
|
429
673
|
}> | undefined;
|
|
430
674
|
dispatchNamespaces?: Record<string, string | {
|
|
431
675
|
namespace: string;
|
|
@@ -434,16 +678,31 @@ export declare const rootConfigShape: {
|
|
|
434
678
|
environment?: string | undefined;
|
|
435
679
|
parameters?: string[] | undefined;
|
|
436
680
|
} | undefined;
|
|
681
|
+
remote?: boolean | undefined;
|
|
437
682
|
}> | undefined;
|
|
438
683
|
workflows?: Record<string, {
|
|
439
684
|
name: string;
|
|
440
685
|
className: string;
|
|
441
686
|
scriptName?: string | undefined;
|
|
687
|
+
remote?: boolean | undefined;
|
|
688
|
+
limits?: {
|
|
689
|
+
steps: number;
|
|
690
|
+
} | undefined;
|
|
442
691
|
}> | undefined;
|
|
443
692
|
pipelines?: Record<string, string | {
|
|
444
693
|
pipeline: string;
|
|
694
|
+
remote?: boolean | undefined;
|
|
695
|
+
}> | undefined;
|
|
696
|
+
images?: Record<string, true | {
|
|
697
|
+
remote?: boolean | undefined;
|
|
698
|
+
}> | undefined;
|
|
699
|
+
media?: Record<string, true | {
|
|
700
|
+
remote?: boolean | undefined;
|
|
701
|
+
}> | undefined;
|
|
702
|
+
artifacts?: Record<string, string | {
|
|
703
|
+
namespace: string;
|
|
704
|
+
remote?: boolean | undefined;
|
|
445
705
|
}> | undefined;
|
|
446
|
-
images?: Record<string, true | {}> | undefined;
|
|
447
706
|
}>>;
|
|
448
707
|
/** Trigger configuration (cron schedules). */
|
|
449
708
|
readonly triggers: z.ZodOptional<z.ZodObject<{
|
|
@@ -453,6 +712,37 @@ export declare const rootConfigShape: {
|
|
|
453
712
|
}, {
|
|
454
713
|
crons?: string[] | undefined;
|
|
455
714
|
}>>;
|
|
715
|
+
/** Wrangler module rules for non-JavaScript imports and additional modules. */
|
|
716
|
+
readonly rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
717
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "CompiledWasm", "Text", "Data"]>;
|
|
718
|
+
globs: z.ZodArray<z.ZodString, "many">;
|
|
719
|
+
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
720
|
+
}, "strict", z.ZodTypeAny, {
|
|
721
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
722
|
+
globs: string[];
|
|
723
|
+
fallthrough?: boolean | undefined;
|
|
724
|
+
}, {
|
|
725
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
726
|
+
globs: string[];
|
|
727
|
+
fallthrough?: boolean | undefined;
|
|
728
|
+
}>, "many">>;
|
|
729
|
+
/** Whether Wrangler should include additional files matching module rules. */
|
|
730
|
+
readonly findAdditionalModules: z.ZodOptional<z.ZodBoolean>;
|
|
731
|
+
/** Base directory for Wrangler module rule discovery. */
|
|
732
|
+
readonly baseDir: z.ZodOptional<z.ZodString>;
|
|
733
|
+
/** Whether Wrangler should preserve bundled file names. */
|
|
734
|
+
readonly preserveFileNames: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
/** Tail Workers that consume traces from this Worker. */
|
|
736
|
+
readonly tailConsumers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
737
|
+
service: z.ZodString;
|
|
738
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
739
|
+
}, "strict", z.ZodTypeAny, {
|
|
740
|
+
service: string;
|
|
741
|
+
environment?: string | undefined;
|
|
742
|
+
}, {
|
|
743
|
+
service: string;
|
|
744
|
+
environment?: string | undefined;
|
|
745
|
+
}>]>, "many">>;
|
|
456
746
|
/** Environment variables. */
|
|
457
747
|
readonly vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
458
748
|
/** Secret declarations. */
|
|
@@ -501,31 +791,180 @@ export declare const rootConfigShape: {
|
|
|
501
791
|
readonly assets: z.ZodOptional<z.ZodObject<{
|
|
502
792
|
directory: z.ZodString;
|
|
503
793
|
binding: z.ZodOptional<z.ZodString>;
|
|
504
|
-
|
|
794
|
+
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
795
|
+
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
796
|
+
run_worker_first: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
797
|
+
}, "strict", z.ZodTypeAny, {
|
|
505
798
|
directory: string;
|
|
506
799
|
binding?: string | undefined;
|
|
800
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
801
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
802
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
507
803
|
}, {
|
|
508
804
|
directory: string;
|
|
509
805
|
binding?: string | undefined;
|
|
806
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
807
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
808
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
510
809
|
}>>;
|
|
511
|
-
/**
|
|
810
|
+
/** Cloudflare Containers launched alongside the Worker. */
|
|
811
|
+
readonly containers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
812
|
+
className: z.ZodString;
|
|
813
|
+
image: z.ZodString;
|
|
814
|
+
maxInstances: z.ZodOptional<z.ZodNumber>;
|
|
815
|
+
instanceType: z.ZodOptional<z.ZodString>;
|
|
816
|
+
name: z.ZodOptional<z.ZodString>;
|
|
817
|
+
imageBuildContext: z.ZodOptional<z.ZodString>;
|
|
818
|
+
imageVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
819
|
+
rolloutActiveGracePeriod: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
rolloutStepPercentage: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
821
|
+
}, "strict", z.ZodTypeAny, {
|
|
822
|
+
className: string;
|
|
823
|
+
image: string;
|
|
824
|
+
maxInstances?: number | undefined;
|
|
825
|
+
instanceType?: string | undefined;
|
|
826
|
+
name?: string | undefined;
|
|
827
|
+
imageBuildContext?: string | undefined;
|
|
828
|
+
imageVars?: Record<string, string> | undefined;
|
|
829
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
830
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
831
|
+
}, {
|
|
832
|
+
className: string;
|
|
833
|
+
image: string;
|
|
834
|
+
maxInstances?: number | undefined;
|
|
835
|
+
instanceType?: string | undefined;
|
|
836
|
+
name?: string | undefined;
|
|
837
|
+
imageBuildContext?: string | undefined;
|
|
838
|
+
imageVars?: Record<string, string> | undefined;
|
|
839
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
840
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
841
|
+
}>, "many">>;
|
|
842
|
+
/** Worker placement behavior. */
|
|
843
|
+
readonly placement: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
844
|
+
mode: z.ZodEnum<["off", "smart"]>;
|
|
845
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
846
|
+
}, "strict", z.ZodTypeAny, {
|
|
847
|
+
mode: "off" | "smart";
|
|
848
|
+
hint?: string | undefined;
|
|
849
|
+
}, {
|
|
850
|
+
mode: "off" | "smart";
|
|
851
|
+
hint?: string | undefined;
|
|
852
|
+
}>, {
|
|
853
|
+
mode: "off" | "smart";
|
|
854
|
+
hint?: string | undefined;
|
|
855
|
+
}, {
|
|
856
|
+
mode: "off" | "smart";
|
|
857
|
+
hint?: string | undefined;
|
|
858
|
+
}>, z.ZodObject<{
|
|
859
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
860
|
+
region: z.ZodString;
|
|
861
|
+
}, "strict", z.ZodTypeAny, {
|
|
862
|
+
mode?: "targeted" | undefined;
|
|
863
|
+
region: string;
|
|
864
|
+
}, {
|
|
865
|
+
mode?: "targeted" | undefined;
|
|
866
|
+
region: string;
|
|
867
|
+
}>, z.ZodObject<{
|
|
868
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
869
|
+
host: z.ZodString;
|
|
870
|
+
}, "strict", z.ZodTypeAny, {
|
|
871
|
+
mode?: "targeted" | undefined;
|
|
872
|
+
host: string;
|
|
873
|
+
}, {
|
|
874
|
+
mode?: "targeted" | undefined;
|
|
875
|
+
host: string;
|
|
876
|
+
}>, z.ZodObject<{
|
|
877
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
878
|
+
hostname: z.ZodString;
|
|
879
|
+
}, "strict", z.ZodTypeAny, {
|
|
880
|
+
mode?: "targeted" | undefined;
|
|
881
|
+
hostname: string;
|
|
882
|
+
}, {
|
|
883
|
+
mode?: "targeted" | undefined;
|
|
884
|
+
hostname: string;
|
|
885
|
+
}>]>>;
|
|
886
|
+
/** Resource limits. */
|
|
512
887
|
readonly limits: z.ZodOptional<z.ZodObject<{
|
|
513
888
|
cpu_ms: z.ZodOptional<z.ZodNumber>;
|
|
514
|
-
|
|
889
|
+
subrequests: z.ZodOptional<z.ZodNumber>;
|
|
890
|
+
}, "strict", z.ZodTypeAny, {
|
|
515
891
|
cpu_ms?: number | undefined;
|
|
892
|
+
subrequests?: number | undefined;
|
|
516
893
|
}, {
|
|
517
894
|
cpu_ms?: number | undefined;
|
|
895
|
+
subrequests?: number | undefined;
|
|
518
896
|
}>>;
|
|
519
897
|
/** Observability settings (logging, tracing). */
|
|
520
898
|
readonly observability: z.ZodOptional<z.ZodObject<{
|
|
521
899
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
522
900
|
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
523
|
-
|
|
901
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
902
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
904
|
+
invocation_logs: z.ZodOptional<z.ZodBoolean>;
|
|
905
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
906
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
907
|
+
}, "strict", z.ZodTypeAny, {
|
|
908
|
+
enabled?: boolean | undefined;
|
|
909
|
+
head_sampling_rate?: number | undefined;
|
|
910
|
+
invocation_logs?: boolean | undefined;
|
|
911
|
+
persist?: boolean | undefined;
|
|
912
|
+
destinations?: string[] | undefined;
|
|
913
|
+
}, {
|
|
914
|
+
enabled?: boolean | undefined;
|
|
915
|
+
head_sampling_rate?: number | undefined;
|
|
916
|
+
invocation_logs?: boolean | undefined;
|
|
917
|
+
persist?: boolean | undefined;
|
|
918
|
+
destinations?: string[] | undefined;
|
|
919
|
+
}>>;
|
|
920
|
+
traces: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
922
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
924
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
925
|
+
}, "strict", z.ZodTypeAny, {
|
|
926
|
+
enabled?: boolean | undefined;
|
|
927
|
+
head_sampling_rate?: number | undefined;
|
|
928
|
+
persist?: boolean | undefined;
|
|
929
|
+
destinations?: string[] | undefined;
|
|
930
|
+
}, {
|
|
931
|
+
enabled?: boolean | undefined;
|
|
932
|
+
head_sampling_rate?: number | undefined;
|
|
933
|
+
persist?: boolean | undefined;
|
|
934
|
+
destinations?: string[] | undefined;
|
|
935
|
+
}>>;
|
|
936
|
+
}, "strict", z.ZodTypeAny, {
|
|
524
937
|
enabled?: boolean | undefined;
|
|
525
938
|
head_sampling_rate?: number | undefined;
|
|
939
|
+
logs?: {
|
|
940
|
+
enabled?: boolean | undefined;
|
|
941
|
+
head_sampling_rate?: number | undefined;
|
|
942
|
+
invocation_logs?: boolean | undefined;
|
|
943
|
+
persist?: boolean | undefined;
|
|
944
|
+
destinations?: string[] | undefined;
|
|
945
|
+
} | undefined;
|
|
946
|
+
traces?: {
|
|
947
|
+
enabled?: boolean | undefined;
|
|
948
|
+
head_sampling_rate?: number | undefined;
|
|
949
|
+
persist?: boolean | undefined;
|
|
950
|
+
destinations?: string[] | undefined;
|
|
951
|
+
} | undefined;
|
|
526
952
|
}, {
|
|
527
953
|
enabled?: boolean | undefined;
|
|
528
954
|
head_sampling_rate?: number | undefined;
|
|
955
|
+
logs?: {
|
|
956
|
+
enabled?: boolean | undefined;
|
|
957
|
+
head_sampling_rate?: number | undefined;
|
|
958
|
+
invocation_logs?: boolean | undefined;
|
|
959
|
+
persist?: boolean | undefined;
|
|
960
|
+
destinations?: string[] | undefined;
|
|
961
|
+
} | undefined;
|
|
962
|
+
traces?: {
|
|
963
|
+
enabled?: boolean | undefined;
|
|
964
|
+
head_sampling_rate?: number | undefined;
|
|
965
|
+
persist?: boolean | undefined;
|
|
966
|
+
destinations?: string[] | undefined;
|
|
967
|
+
} | undefined;
|
|
529
968
|
}>>;
|
|
530
969
|
/** Durable Object migrations. */
|
|
531
970
|
readonly migrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -534,7 +973,7 @@ export declare const rootConfigShape: {
|
|
|
534
973
|
renamed_classes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
535
974
|
from: z.ZodString;
|
|
536
975
|
to: z.ZodString;
|
|
537
|
-
}, "
|
|
976
|
+
}, "strict", z.ZodTypeAny, {
|
|
538
977
|
from: string;
|
|
539
978
|
to: string;
|
|
540
979
|
}, {
|
|
@@ -543,7 +982,7 @@ export declare const rootConfigShape: {
|
|
|
543
982
|
}>, "many">>;
|
|
544
983
|
deleted_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
545
984
|
new_sqlite_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
546
|
-
}, "
|
|
985
|
+
}, "strict", z.ZodTypeAny, {
|
|
547
986
|
tag: string;
|
|
548
987
|
new_classes?: string[] | undefined;
|
|
549
988
|
renamed_classes?: {
|
|
@@ -596,9 +1035,10 @@ export declare const rootConfigShape: {
|
|
|
596
1035
|
passthrough?: Record<string, unknown> | undefined;
|
|
597
1036
|
}>>;
|
|
598
1037
|
};
|
|
599
|
-
export declare const configSchema: z.ZodObject<{
|
|
1038
|
+
export declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
600
1039
|
name: z.ZodString;
|
|
601
1040
|
accountId: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
secretsStoreId: z.ZodOptional<z.ZodString>;
|
|
602
1042
|
compatibilityDate: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
603
1043
|
compatibilityFlags: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
|
|
604
1044
|
previews: z.ZodOptional<z.ZodObject<{
|
|
@@ -613,6 +1053,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
613
1053
|
queue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
614
1054
|
scheduled: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
615
1055
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1056
|
+
tail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
616
1057
|
durableObjects: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
617
1058
|
entrypoints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
618
1059
|
workflows: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
@@ -632,6 +1073,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
632
1073
|
queue?: string | false | undefined;
|
|
633
1074
|
scheduled?: string | false | undefined;
|
|
634
1075
|
email?: string | false | undefined;
|
|
1076
|
+
tail?: string | false | undefined;
|
|
635
1077
|
durableObjects?: string | false | undefined;
|
|
636
1078
|
entrypoints?: string | false | undefined;
|
|
637
1079
|
workflows?: string | false | undefined;
|
|
@@ -645,6 +1087,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
645
1087
|
queue?: string | false | undefined;
|
|
646
1088
|
scheduled?: string | false | undefined;
|
|
647
1089
|
email?: string | false | undefined;
|
|
1090
|
+
tail?: string | false | undefined;
|
|
648
1091
|
durableObjects?: string | false | undefined;
|
|
649
1092
|
entrypoints?: string | false | undefined;
|
|
650
1093
|
workflows?: string | false | undefined;
|
|
@@ -733,6 +1176,49 @@ export declare const configSchema: z.ZodObject<{
|
|
|
733
1176
|
retryDelay?: number | undefined;
|
|
734
1177
|
}[] | undefined;
|
|
735
1178
|
}>>;
|
|
1179
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1180
|
+
namespaceId: z.ZodString;
|
|
1181
|
+
simple: z.ZodObject<{
|
|
1182
|
+
limit: z.ZodNumber;
|
|
1183
|
+
period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
|
|
1184
|
+
}, "strict", z.ZodTypeAny, {
|
|
1185
|
+
limit: number;
|
|
1186
|
+
period: 10 | 60;
|
|
1187
|
+
}, {
|
|
1188
|
+
limit: number;
|
|
1189
|
+
period: 10 | 60;
|
|
1190
|
+
}>;
|
|
1191
|
+
}, "strict", z.ZodTypeAny, {
|
|
1192
|
+
namespaceId: string;
|
|
1193
|
+
simple: {
|
|
1194
|
+
limit: number;
|
|
1195
|
+
period: 10 | 60;
|
|
1196
|
+
};
|
|
1197
|
+
}, {
|
|
1198
|
+
namespaceId: string;
|
|
1199
|
+
simple: {
|
|
1200
|
+
limit: number;
|
|
1201
|
+
period: 10 | 60;
|
|
1202
|
+
};
|
|
1203
|
+
}>>>;
|
|
1204
|
+
versionMetadata: z.ZodOptional<z.ZodObject<{
|
|
1205
|
+
binding: z.ZodString;
|
|
1206
|
+
}, "strict", z.ZodTypeAny, {
|
|
1207
|
+
binding: string;
|
|
1208
|
+
}, {
|
|
1209
|
+
binding: string;
|
|
1210
|
+
}>>;
|
|
1211
|
+
workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
|
|
1212
|
+
secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1213
|
+
storeId: z.ZodString;
|
|
1214
|
+
secretName: z.ZodString;
|
|
1215
|
+
}, "strict", z.ZodTypeAny, {
|
|
1216
|
+
storeId: string;
|
|
1217
|
+
secretName: string;
|
|
1218
|
+
}, {
|
|
1219
|
+
storeId: string;
|
|
1220
|
+
secretName: string;
|
|
1221
|
+
}>]>>>;
|
|
736
1222
|
services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
|
|
737
1223
|
service: string;
|
|
738
1224
|
environment?: string;
|
|
@@ -746,41 +1232,86 @@ export declare const configSchema: z.ZodObject<{
|
|
|
746
1232
|
}>>>;
|
|
747
1233
|
ai: z.ZodOptional<z.ZodObject<{
|
|
748
1234
|
binding: z.ZodString;
|
|
749
|
-
|
|
1235
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1236
|
+
staging: z.ZodOptional<z.ZodBoolean>;
|
|
1237
|
+
}, "strict", z.ZodTypeAny, {
|
|
750
1238
|
binding: string;
|
|
1239
|
+
remote?: boolean | undefined;
|
|
1240
|
+
staging?: boolean | undefined;
|
|
751
1241
|
}, {
|
|
752
1242
|
binding: string;
|
|
1243
|
+
remote?: boolean | undefined;
|
|
1244
|
+
staging?: boolean | undefined;
|
|
753
1245
|
}>>;
|
|
1246
|
+
aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1247
|
+
namespace: z.ZodString;
|
|
1248
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1249
|
+
}, "strict", z.ZodTypeAny, {
|
|
1250
|
+
namespace: string;
|
|
1251
|
+
remote?: boolean | undefined;
|
|
1252
|
+
}, {
|
|
1253
|
+
namespace: string;
|
|
1254
|
+
remote?: boolean | undefined;
|
|
1255
|
+
}>>>;
|
|
1256
|
+
aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1257
|
+
instanceName: z.ZodString;
|
|
1258
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1259
|
+
}, "strict", z.ZodTypeAny, {
|
|
1260
|
+
instanceName: string;
|
|
1261
|
+
remote?: boolean | undefined;
|
|
1262
|
+
}, {
|
|
1263
|
+
instanceName: string;
|
|
1264
|
+
remote?: boolean | undefined;
|
|
1265
|
+
}>>>;
|
|
754
1266
|
vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
755
1267
|
indexName: z.ZodString;
|
|
1268
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
756
1269
|
}, "strip", z.ZodTypeAny, {
|
|
757
1270
|
indexName: string;
|
|
1271
|
+
remote?: boolean | undefined;
|
|
758
1272
|
}, {
|
|
759
1273
|
indexName: string;
|
|
1274
|
+
remote?: boolean | undefined;
|
|
760
1275
|
}>>>;
|
|
761
1276
|
hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
762
1277
|
id: z.ZodString;
|
|
1278
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
763
1279
|
}, "strict", z.ZodTypeAny, {
|
|
764
1280
|
id: string;
|
|
1281
|
+
localConnectionString?: string | undefined;
|
|
765
1282
|
}, {
|
|
766
1283
|
id: string;
|
|
1284
|
+
localConnectionString?: string | undefined;
|
|
767
1285
|
}>, z.ZodObject<{
|
|
768
1286
|
name: z.ZodString;
|
|
1287
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
769
1288
|
previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
|
|
770
1289
|
previewId: z.ZodOptional<z.ZodString>;
|
|
771
1290
|
previewLocalConnectionString: z.ZodOptional<z.ZodString>;
|
|
772
1291
|
}, "strict", z.ZodTypeAny, {
|
|
773
1292
|
name: string;
|
|
1293
|
+
localConnectionString?: string | undefined;
|
|
774
1294
|
previewFallback?: "base" | undefined;
|
|
775
1295
|
previewId?: string | undefined;
|
|
776
1296
|
previewLocalConnectionString?: string | undefined;
|
|
777
1297
|
}, {
|
|
778
1298
|
name: string;
|
|
1299
|
+
localConnectionString?: string | undefined;
|
|
779
1300
|
previewFallback?: "base" | undefined;
|
|
780
1301
|
previewId?: string | undefined;
|
|
781
1302
|
previewLocalConnectionString?: string | undefined;
|
|
782
1303
|
}>]>>>;
|
|
783
|
-
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString
|
|
1304
|
+
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1305
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1306
|
+
}, "strict", z.ZodTypeAny, {
|
|
1307
|
+
remote?: boolean | undefined;
|
|
1308
|
+
}, {
|
|
1309
|
+
remote?: boolean | undefined;
|
|
1310
|
+
}>]>>, Record<string, string | {
|
|
1311
|
+
remote?: boolean | undefined;
|
|
1312
|
+
}>, Record<string, string | {
|
|
1313
|
+
remote?: boolean | undefined;
|
|
1314
|
+
}>>>;
|
|
784
1315
|
analyticsEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
785
1316
|
dataset: z.ZodString;
|
|
786
1317
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -810,11 +1341,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
810
1341
|
allowedSenderAddresses?: string[] | undefined;
|
|
811
1342
|
}>>>;
|
|
812
1343
|
mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1344
|
+
certificateId: z.ZodString;
|
|
1345
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1346
|
+
}, "strict", z.ZodTypeAny, {
|
|
1347
|
+
certificateId: string;
|
|
1348
|
+
remote?: boolean | undefined;
|
|
1349
|
+
}, {
|
|
1350
|
+
certificateId: string;
|
|
1351
|
+
remote?: boolean | undefined;
|
|
1352
|
+
}>, z.ZodObject<{
|
|
813
1353
|
certificate_id: z.ZodString;
|
|
1354
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
814
1355
|
}, "strict", z.ZodTypeAny, {
|
|
815
1356
|
certificate_id: string;
|
|
1357
|
+
remote?: boolean | undefined;
|
|
816
1358
|
}, {
|
|
817
1359
|
certificate_id: string;
|
|
1360
|
+
remote?: boolean | undefined;
|
|
818
1361
|
}>]>>>;
|
|
819
1362
|
dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
820
1363
|
namespace: z.ZodString;
|
|
@@ -822,7 +1365,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
822
1365
|
service: z.ZodString;
|
|
823
1366
|
environment: z.ZodOptional<z.ZodString>;
|
|
824
1367
|
parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
825
|
-
}, "
|
|
1368
|
+
}, "strict", z.ZodTypeAny, {
|
|
826
1369
|
service: string;
|
|
827
1370
|
environment?: string | undefined;
|
|
828
1371
|
parameters?: string[] | undefined;
|
|
@@ -831,6 +1374,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
831
1374
|
environment?: string | undefined;
|
|
832
1375
|
parameters?: string[] | undefined;
|
|
833
1376
|
}>>;
|
|
1377
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
834
1378
|
}, "strict", z.ZodTypeAny, {
|
|
835
1379
|
namespace: string;
|
|
836
1380
|
outbound?: {
|
|
@@ -838,6 +1382,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
838
1382
|
environment?: string | undefined;
|
|
839
1383
|
parameters?: string[] | undefined;
|
|
840
1384
|
} | undefined;
|
|
1385
|
+
remote?: boolean | undefined;
|
|
841
1386
|
}, {
|
|
842
1387
|
namespace: string;
|
|
843
1388
|
outbound?: {
|
|
@@ -845,28 +1390,79 @@ export declare const configSchema: z.ZodObject<{
|
|
|
845
1390
|
environment?: string | undefined;
|
|
846
1391
|
parameters?: string[] | undefined;
|
|
847
1392
|
} | undefined;
|
|
1393
|
+
remote?: boolean | undefined;
|
|
848
1394
|
}>]>>>;
|
|
849
1395
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
850
1396
|
name: z.ZodString;
|
|
851
1397
|
className: z.ZodString;
|
|
852
1398
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1400
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
1401
|
+
steps: z.ZodNumber;
|
|
1402
|
+
}, "strict", z.ZodTypeAny, {
|
|
1403
|
+
steps: number;
|
|
1404
|
+
}, {
|
|
1405
|
+
steps: number;
|
|
1406
|
+
}>>;
|
|
853
1407
|
}, "strict", z.ZodTypeAny, {
|
|
854
1408
|
name: string;
|
|
855
1409
|
className: string;
|
|
856
1410
|
scriptName?: string | undefined;
|
|
1411
|
+
remote?: boolean | undefined;
|
|
1412
|
+
limits?: {
|
|
1413
|
+
steps: number;
|
|
1414
|
+
} | undefined;
|
|
857
1415
|
}, {
|
|
858
1416
|
name: string;
|
|
859
1417
|
className: string;
|
|
860
1418
|
scriptName?: string | undefined;
|
|
1419
|
+
remote?: boolean | undefined;
|
|
1420
|
+
limits?: {
|
|
1421
|
+
steps: number;
|
|
1422
|
+
} | undefined;
|
|
861
1423
|
}>>>;
|
|
862
1424
|
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
863
1425
|
pipeline: z.ZodString;
|
|
1426
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
864
1427
|
}, "strict", z.ZodTypeAny, {
|
|
865
1428
|
pipeline: string;
|
|
1429
|
+
remote?: boolean | undefined;
|
|
866
1430
|
}, {
|
|
867
1431
|
pipeline: string;
|
|
1432
|
+
remote?: boolean | undefined;
|
|
1433
|
+
}>]>>>;
|
|
1434
|
+
images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1435
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1436
|
+
}, "strict", z.ZodTypeAny, {
|
|
1437
|
+
remote?: boolean | undefined;
|
|
1438
|
+
}, {
|
|
1439
|
+
remote?: boolean | undefined;
|
|
1440
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
1441
|
+
remote?: boolean | undefined;
|
|
1442
|
+
}> | undefined, Record<string, true | {
|
|
1443
|
+
remote?: boolean | undefined;
|
|
1444
|
+
}> | undefined>;
|
|
1445
|
+
media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1446
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1447
|
+
}, "strict", z.ZodTypeAny, {
|
|
1448
|
+
remote?: boolean | undefined;
|
|
1449
|
+
}, {
|
|
1450
|
+
remote?: boolean | undefined;
|
|
1451
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
1452
|
+
remote?: boolean | undefined;
|
|
1453
|
+
}> | undefined, Record<string, true | {
|
|
1454
|
+
remote?: boolean | undefined;
|
|
1455
|
+
}> | undefined>;
|
|
1456
|
+
artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1457
|
+
namespace: z.ZodString;
|
|
1458
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1459
|
+
}, "strict", z.ZodTypeAny, {
|
|
1460
|
+
namespace: string;
|
|
1461
|
+
remote?: boolean | undefined;
|
|
1462
|
+
}, {
|
|
1463
|
+
namespace: string;
|
|
1464
|
+
remote?: boolean | undefined;
|
|
868
1465
|
}>]>>>;
|
|
869
|
-
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>, z.ZodLiteral<true>]>>>;
|
|
870
1466
|
}, "strip", z.ZodTypeAny, {
|
|
871
1467
|
kv?: Record<string, string | {
|
|
872
1468
|
id: string;
|
|
@@ -892,6 +1488,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
892
1488
|
retryDelay?: number | undefined;
|
|
893
1489
|
}[] | undefined;
|
|
894
1490
|
} | undefined;
|
|
1491
|
+
rateLimits?: Record<string, {
|
|
1492
|
+
namespaceId: string;
|
|
1493
|
+
simple: {
|
|
1494
|
+
limit: number;
|
|
1495
|
+
period: 10 | 60;
|
|
1496
|
+
};
|
|
1497
|
+
}> | undefined;
|
|
1498
|
+
versionMetadata?: {
|
|
1499
|
+
binding: string;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
1502
|
+
secretsStore?: Record<string, string | {
|
|
1503
|
+
storeId: string;
|
|
1504
|
+
secretName: string;
|
|
1505
|
+
}> | undefined;
|
|
895
1506
|
services?: Record<string, {
|
|
896
1507
|
service: string;
|
|
897
1508
|
environment?: string;
|
|
@@ -900,19 +1511,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
900
1511
|
}> | undefined;
|
|
901
1512
|
ai?: {
|
|
902
1513
|
binding: string;
|
|
1514
|
+
remote?: boolean | undefined;
|
|
1515
|
+
staging?: boolean | undefined;
|
|
903
1516
|
} | undefined;
|
|
1517
|
+
aiSearchNamespaces?: Record<string, {
|
|
1518
|
+
namespace: string;
|
|
1519
|
+
remote?: boolean | undefined;
|
|
1520
|
+
}> | undefined;
|
|
1521
|
+
aiSearch?: Record<string, {
|
|
1522
|
+
instanceName: string;
|
|
1523
|
+
remote?: boolean | undefined;
|
|
1524
|
+
}> | undefined;
|
|
904
1525
|
vectorize?: Record<string, {
|
|
905
1526
|
indexName: string;
|
|
1527
|
+
remote?: boolean | undefined;
|
|
906
1528
|
}> | undefined;
|
|
907
1529
|
hyperdrive?: Record<string, string | {
|
|
908
1530
|
id: string;
|
|
1531
|
+
localConnectionString?: string | undefined;
|
|
909
1532
|
} | {
|
|
910
1533
|
name: string;
|
|
1534
|
+
localConnectionString?: string | undefined;
|
|
911
1535
|
previewFallback?: "base" | undefined;
|
|
912
1536
|
previewId?: string | undefined;
|
|
913
1537
|
previewLocalConnectionString?: string | undefined;
|
|
914
1538
|
}> | undefined;
|
|
915
|
-
browser?: Record<string, string
|
|
1539
|
+
browser?: Record<string, string | {
|
|
1540
|
+
remote?: boolean | undefined;
|
|
1541
|
+
}> | undefined;
|
|
916
1542
|
analyticsEngine?: Record<string, {
|
|
917
1543
|
dataset: string;
|
|
918
1544
|
}> | undefined;
|
|
@@ -922,7 +1548,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
922
1548
|
allowedSenderAddresses?: string[] | undefined;
|
|
923
1549
|
}> | undefined;
|
|
924
1550
|
mtlsCertificates?: Record<string, string | {
|
|
1551
|
+
certificateId: string;
|
|
1552
|
+
remote?: boolean | undefined;
|
|
1553
|
+
} | {
|
|
925
1554
|
certificate_id: string;
|
|
1555
|
+
remote?: boolean | undefined;
|
|
926
1556
|
}> | undefined;
|
|
927
1557
|
dispatchNamespaces?: Record<string, string | {
|
|
928
1558
|
namespace: string;
|
|
@@ -931,16 +1561,31 @@ export declare const configSchema: z.ZodObject<{
|
|
|
931
1561
|
environment?: string | undefined;
|
|
932
1562
|
parameters?: string[] | undefined;
|
|
933
1563
|
} | undefined;
|
|
1564
|
+
remote?: boolean | undefined;
|
|
934
1565
|
}> | undefined;
|
|
935
1566
|
workflows?: Record<string, {
|
|
936
1567
|
name: string;
|
|
937
1568
|
className: string;
|
|
938
1569
|
scriptName?: string | undefined;
|
|
1570
|
+
remote?: boolean | undefined;
|
|
1571
|
+
limits?: {
|
|
1572
|
+
steps: number;
|
|
1573
|
+
} | undefined;
|
|
939
1574
|
}> | undefined;
|
|
940
1575
|
pipelines?: Record<string, string | {
|
|
941
1576
|
pipeline: string;
|
|
1577
|
+
remote?: boolean | undefined;
|
|
1578
|
+
}> | undefined;
|
|
1579
|
+
images?: Record<string, true | {
|
|
1580
|
+
remote?: boolean | undefined;
|
|
1581
|
+
}> | undefined;
|
|
1582
|
+
media?: Record<string, true | {
|
|
1583
|
+
remote?: boolean | undefined;
|
|
1584
|
+
}> | undefined;
|
|
1585
|
+
artifacts?: Record<string, string | {
|
|
1586
|
+
namespace: string;
|
|
1587
|
+
remote?: boolean | undefined;
|
|
942
1588
|
}> | undefined;
|
|
943
|
-
images?: Record<string, true | {}> | undefined;
|
|
944
1589
|
}, {
|
|
945
1590
|
kv?: Record<string, string | {
|
|
946
1591
|
id: string;
|
|
@@ -966,6 +1611,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
966
1611
|
retryDelay?: number | undefined;
|
|
967
1612
|
}[] | undefined;
|
|
968
1613
|
} | undefined;
|
|
1614
|
+
rateLimits?: Record<string, {
|
|
1615
|
+
namespaceId: string;
|
|
1616
|
+
simple: {
|
|
1617
|
+
limit: number;
|
|
1618
|
+
period: 10 | 60;
|
|
1619
|
+
};
|
|
1620
|
+
}> | undefined;
|
|
1621
|
+
versionMetadata?: {
|
|
1622
|
+
binding: string;
|
|
1623
|
+
} | undefined;
|
|
1624
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
1625
|
+
secretsStore?: Record<string, string | {
|
|
1626
|
+
storeId: string;
|
|
1627
|
+
secretName: string;
|
|
1628
|
+
}> | undefined;
|
|
969
1629
|
services?: Record<string, {
|
|
970
1630
|
service: string;
|
|
971
1631
|
environment?: string;
|
|
@@ -974,19 +1634,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
974
1634
|
}> | undefined;
|
|
975
1635
|
ai?: {
|
|
976
1636
|
binding: string;
|
|
1637
|
+
remote?: boolean | undefined;
|
|
1638
|
+
staging?: boolean | undefined;
|
|
977
1639
|
} | undefined;
|
|
1640
|
+
aiSearchNamespaces?: Record<string, {
|
|
1641
|
+
namespace: string;
|
|
1642
|
+
remote?: boolean | undefined;
|
|
1643
|
+
}> | undefined;
|
|
1644
|
+
aiSearch?: Record<string, {
|
|
1645
|
+
instanceName: string;
|
|
1646
|
+
remote?: boolean | undefined;
|
|
1647
|
+
}> | undefined;
|
|
978
1648
|
vectorize?: Record<string, {
|
|
979
1649
|
indexName: string;
|
|
1650
|
+
remote?: boolean | undefined;
|
|
980
1651
|
}> | undefined;
|
|
981
1652
|
hyperdrive?: Record<string, string | {
|
|
982
1653
|
id: string;
|
|
1654
|
+
localConnectionString?: string | undefined;
|
|
983
1655
|
} | {
|
|
984
1656
|
name: string;
|
|
1657
|
+
localConnectionString?: string | undefined;
|
|
985
1658
|
previewFallback?: "base" | undefined;
|
|
986
1659
|
previewId?: string | undefined;
|
|
987
1660
|
previewLocalConnectionString?: string | undefined;
|
|
988
1661
|
}> | undefined;
|
|
989
|
-
browser?: Record<string, string
|
|
1662
|
+
browser?: Record<string, string | {
|
|
1663
|
+
remote?: boolean | undefined;
|
|
1664
|
+
}> | undefined;
|
|
990
1665
|
analyticsEngine?: Record<string, {
|
|
991
1666
|
dataset: string;
|
|
992
1667
|
}> | undefined;
|
|
@@ -996,7 +1671,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
996
1671
|
allowedSenderAddresses?: string[] | undefined;
|
|
997
1672
|
}> | undefined;
|
|
998
1673
|
mtlsCertificates?: Record<string, string | {
|
|
1674
|
+
certificateId: string;
|
|
1675
|
+
remote?: boolean | undefined;
|
|
1676
|
+
} | {
|
|
999
1677
|
certificate_id: string;
|
|
1678
|
+
remote?: boolean | undefined;
|
|
1000
1679
|
}> | undefined;
|
|
1001
1680
|
dispatchNamespaces?: Record<string, string | {
|
|
1002
1681
|
namespace: string;
|
|
@@ -1005,16 +1684,31 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1005
1684
|
environment?: string | undefined;
|
|
1006
1685
|
parameters?: string[] | undefined;
|
|
1007
1686
|
} | undefined;
|
|
1687
|
+
remote?: boolean | undefined;
|
|
1008
1688
|
}> | undefined;
|
|
1009
1689
|
workflows?: Record<string, {
|
|
1010
1690
|
name: string;
|
|
1011
1691
|
className: string;
|
|
1012
1692
|
scriptName?: string | undefined;
|
|
1693
|
+
remote?: boolean | undefined;
|
|
1694
|
+
limits?: {
|
|
1695
|
+
steps: number;
|
|
1696
|
+
} | undefined;
|
|
1013
1697
|
}> | undefined;
|
|
1014
1698
|
pipelines?: Record<string, string | {
|
|
1015
1699
|
pipeline: string;
|
|
1700
|
+
remote?: boolean | undefined;
|
|
1701
|
+
}> | undefined;
|
|
1702
|
+
images?: Record<string, true | {
|
|
1703
|
+
remote?: boolean | undefined;
|
|
1704
|
+
}> | undefined;
|
|
1705
|
+
media?: Record<string, true | {
|
|
1706
|
+
remote?: boolean | undefined;
|
|
1707
|
+
}> | undefined;
|
|
1708
|
+
artifacts?: Record<string, string | {
|
|
1709
|
+
namespace: string;
|
|
1710
|
+
remote?: boolean | undefined;
|
|
1016
1711
|
}> | undefined;
|
|
1017
|
-
images?: Record<string, true | {}> | undefined;
|
|
1018
1712
|
}>>;
|
|
1019
1713
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
1020
1714
|
crons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1023,6 +1717,32 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1023
1717
|
}, {
|
|
1024
1718
|
crons?: string[] | undefined;
|
|
1025
1719
|
}>>;
|
|
1720
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1721
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "CompiledWasm", "Text", "Data"]>;
|
|
1722
|
+
globs: z.ZodArray<z.ZodString, "many">;
|
|
1723
|
+
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
1724
|
+
}, "strict", z.ZodTypeAny, {
|
|
1725
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
1726
|
+
globs: string[];
|
|
1727
|
+
fallthrough?: boolean | undefined;
|
|
1728
|
+
}, {
|
|
1729
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
1730
|
+
globs: string[];
|
|
1731
|
+
fallthrough?: boolean | undefined;
|
|
1732
|
+
}>, "many">>;
|
|
1733
|
+
findAdditionalModules: z.ZodOptional<z.ZodBoolean>;
|
|
1734
|
+
baseDir: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
preserveFileNames: z.ZodOptional<z.ZodBoolean>;
|
|
1736
|
+
tailConsumers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1737
|
+
service: z.ZodString;
|
|
1738
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
}, "strict", z.ZodTypeAny, {
|
|
1740
|
+
service: string;
|
|
1741
|
+
environment?: string | undefined;
|
|
1742
|
+
}, {
|
|
1743
|
+
service: string;
|
|
1744
|
+
environment?: string | undefined;
|
|
1745
|
+
}>]>, "many">>;
|
|
1026
1746
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1027
1747
|
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1028
1748
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1066,29 +1786,176 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1066
1786
|
assets: z.ZodOptional<z.ZodObject<{
|
|
1067
1787
|
directory: z.ZodString;
|
|
1068
1788
|
binding: z.ZodOptional<z.ZodString>;
|
|
1069
|
-
|
|
1789
|
+
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
1790
|
+
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
1791
|
+
run_worker_first: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
1792
|
+
}, "strict", z.ZodTypeAny, {
|
|
1070
1793
|
directory: string;
|
|
1071
1794
|
binding?: string | undefined;
|
|
1795
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
1796
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
1797
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
1072
1798
|
}, {
|
|
1073
1799
|
directory: string;
|
|
1074
1800
|
binding?: string | undefined;
|
|
1801
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
1802
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
1803
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
1075
1804
|
}>>;
|
|
1805
|
+
containers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1806
|
+
className: z.ZodString;
|
|
1807
|
+
image: z.ZodString;
|
|
1808
|
+
maxInstances: z.ZodOptional<z.ZodNumber>;
|
|
1809
|
+
instanceType: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
imageBuildContext: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
imageVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1813
|
+
rolloutActiveGracePeriod: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
+
rolloutStepPercentage: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1815
|
+
}, "strict", z.ZodTypeAny, {
|
|
1816
|
+
className: string;
|
|
1817
|
+
image: string;
|
|
1818
|
+
maxInstances?: number | undefined;
|
|
1819
|
+
instanceType?: string | undefined;
|
|
1820
|
+
name?: string | undefined;
|
|
1821
|
+
imageBuildContext?: string | undefined;
|
|
1822
|
+
imageVars?: Record<string, string> | undefined;
|
|
1823
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
1824
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
1825
|
+
}, {
|
|
1826
|
+
className: string;
|
|
1827
|
+
image: string;
|
|
1828
|
+
maxInstances?: number | undefined;
|
|
1829
|
+
instanceType?: string | undefined;
|
|
1830
|
+
name?: string | undefined;
|
|
1831
|
+
imageBuildContext?: string | undefined;
|
|
1832
|
+
imageVars?: Record<string, string> | undefined;
|
|
1833
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
1834
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
1835
|
+
}>, "many">>;
|
|
1836
|
+
placement: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
1837
|
+
mode: z.ZodEnum<["off", "smart"]>;
|
|
1838
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
}, "strict", z.ZodTypeAny, {
|
|
1840
|
+
mode: "off" | "smart";
|
|
1841
|
+
hint?: string | undefined;
|
|
1842
|
+
}, {
|
|
1843
|
+
mode: "off" | "smart";
|
|
1844
|
+
hint?: string | undefined;
|
|
1845
|
+
}>, {
|
|
1846
|
+
mode: "off" | "smart";
|
|
1847
|
+
hint?: string | undefined;
|
|
1848
|
+
}, {
|
|
1849
|
+
mode: "off" | "smart";
|
|
1850
|
+
hint?: string | undefined;
|
|
1851
|
+
}>, z.ZodObject<{
|
|
1852
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
1853
|
+
region: z.ZodString;
|
|
1854
|
+
}, "strict", z.ZodTypeAny, {
|
|
1855
|
+
mode?: "targeted" | undefined;
|
|
1856
|
+
region: string;
|
|
1857
|
+
}, {
|
|
1858
|
+
mode?: "targeted" | undefined;
|
|
1859
|
+
region: string;
|
|
1860
|
+
}>, z.ZodObject<{
|
|
1861
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
1862
|
+
host: z.ZodString;
|
|
1863
|
+
}, "strict", z.ZodTypeAny, {
|
|
1864
|
+
mode?: "targeted" | undefined;
|
|
1865
|
+
host: string;
|
|
1866
|
+
}, {
|
|
1867
|
+
mode?: "targeted" | undefined;
|
|
1868
|
+
host: string;
|
|
1869
|
+
}>, z.ZodObject<{
|
|
1870
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
1871
|
+
hostname: z.ZodString;
|
|
1872
|
+
}, "strict", z.ZodTypeAny, {
|
|
1873
|
+
mode?: "targeted" | undefined;
|
|
1874
|
+
hostname: string;
|
|
1875
|
+
}, {
|
|
1876
|
+
mode?: "targeted" | undefined;
|
|
1877
|
+
hostname: string;
|
|
1878
|
+
}>]>>;
|
|
1076
1879
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1077
1880
|
cpu_ms: z.ZodOptional<z.ZodNumber>;
|
|
1078
|
-
|
|
1881
|
+
subrequests: z.ZodOptional<z.ZodNumber>;
|
|
1882
|
+
}, "strict", z.ZodTypeAny, {
|
|
1079
1883
|
cpu_ms?: number | undefined;
|
|
1884
|
+
subrequests?: number | undefined;
|
|
1080
1885
|
}, {
|
|
1081
1886
|
cpu_ms?: number | undefined;
|
|
1887
|
+
subrequests?: number | undefined;
|
|
1082
1888
|
}>>;
|
|
1083
1889
|
observability: z.ZodOptional<z.ZodObject<{
|
|
1084
1890
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1085
1891
|
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
1086
|
-
|
|
1892
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1894
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
1895
|
+
invocation_logs: z.ZodOptional<z.ZodBoolean>;
|
|
1896
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
1897
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1898
|
+
}, "strict", z.ZodTypeAny, {
|
|
1899
|
+
enabled?: boolean | undefined;
|
|
1900
|
+
head_sampling_rate?: number | undefined;
|
|
1901
|
+
invocation_logs?: boolean | undefined;
|
|
1902
|
+
persist?: boolean | undefined;
|
|
1903
|
+
destinations?: string[] | undefined;
|
|
1904
|
+
}, {
|
|
1905
|
+
enabled?: boolean | undefined;
|
|
1906
|
+
head_sampling_rate?: number | undefined;
|
|
1907
|
+
invocation_logs?: boolean | undefined;
|
|
1908
|
+
persist?: boolean | undefined;
|
|
1909
|
+
destinations?: string[] | undefined;
|
|
1910
|
+
}>>;
|
|
1911
|
+
traces: z.ZodOptional<z.ZodObject<{
|
|
1912
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1913
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
1914
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
1915
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1916
|
+
}, "strict", z.ZodTypeAny, {
|
|
1917
|
+
enabled?: boolean | undefined;
|
|
1918
|
+
head_sampling_rate?: number | undefined;
|
|
1919
|
+
persist?: boolean | undefined;
|
|
1920
|
+
destinations?: string[] | undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
enabled?: boolean | undefined;
|
|
1923
|
+
head_sampling_rate?: number | undefined;
|
|
1924
|
+
persist?: boolean | undefined;
|
|
1925
|
+
destinations?: string[] | undefined;
|
|
1926
|
+
}>>;
|
|
1927
|
+
}, "strict", z.ZodTypeAny, {
|
|
1087
1928
|
enabled?: boolean | undefined;
|
|
1088
1929
|
head_sampling_rate?: number | undefined;
|
|
1930
|
+
logs?: {
|
|
1931
|
+
enabled?: boolean | undefined;
|
|
1932
|
+
head_sampling_rate?: number | undefined;
|
|
1933
|
+
invocation_logs?: boolean | undefined;
|
|
1934
|
+
persist?: boolean | undefined;
|
|
1935
|
+
destinations?: string[] | undefined;
|
|
1936
|
+
} | undefined;
|
|
1937
|
+
traces?: {
|
|
1938
|
+
enabled?: boolean | undefined;
|
|
1939
|
+
head_sampling_rate?: number | undefined;
|
|
1940
|
+
persist?: boolean | undefined;
|
|
1941
|
+
destinations?: string[] | undefined;
|
|
1942
|
+
} | undefined;
|
|
1089
1943
|
}, {
|
|
1090
1944
|
enabled?: boolean | undefined;
|
|
1091
1945
|
head_sampling_rate?: number | undefined;
|
|
1946
|
+
logs?: {
|
|
1947
|
+
enabled?: boolean | undefined;
|
|
1948
|
+
head_sampling_rate?: number | undefined;
|
|
1949
|
+
invocation_logs?: boolean | undefined;
|
|
1950
|
+
persist?: boolean | undefined;
|
|
1951
|
+
destinations?: string[] | undefined;
|
|
1952
|
+
} | undefined;
|
|
1953
|
+
traces?: {
|
|
1954
|
+
enabled?: boolean | undefined;
|
|
1955
|
+
head_sampling_rate?: number | undefined;
|
|
1956
|
+
persist?: boolean | undefined;
|
|
1957
|
+
destinations?: string[] | undefined;
|
|
1958
|
+
} | undefined;
|
|
1092
1959
|
}>>;
|
|
1093
1960
|
migrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1094
1961
|
tag: z.ZodString;
|
|
@@ -1096,7 +1963,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1096
1963
|
renamed_classes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1097
1964
|
from: z.ZodString;
|
|
1098
1965
|
to: z.ZodString;
|
|
1099
|
-
}, "
|
|
1966
|
+
}, "strict", z.ZodTypeAny, {
|
|
1100
1967
|
from: string;
|
|
1101
1968
|
to: string;
|
|
1102
1969
|
}, {
|
|
@@ -1105,7 +1972,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1105
1972
|
}>, "many">>;
|
|
1106
1973
|
deleted_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1107
1974
|
new_sqlite_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1108
|
-
}, "
|
|
1975
|
+
}, "strict", z.ZodTypeAny, {
|
|
1109
1976
|
tag: string;
|
|
1110
1977
|
new_classes?: string[] | undefined;
|
|
1111
1978
|
renamed_classes?: {
|
|
@@ -1157,6 +2024,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1157
2024
|
/** Environment-specific configuration overrides. */
|
|
1158
2025
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
1159
2026
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
2027
|
+
readonly secretsStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1160
2028
|
readonly compatibilityDate: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
1161
2029
|
readonly compatibilityFlags: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>>;
|
|
1162
2030
|
readonly previews: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -1171,6 +2039,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1171
2039
|
queue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1172
2040
|
scheduled: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1173
2041
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
2042
|
+
tail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1174
2043
|
durableObjects: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1175
2044
|
entrypoints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
1176
2045
|
workflows: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
@@ -1190,6 +2059,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1190
2059
|
queue?: string | false | undefined;
|
|
1191
2060
|
scheduled?: string | false | undefined;
|
|
1192
2061
|
email?: string | false | undefined;
|
|
2062
|
+
tail?: string | false | undefined;
|
|
1193
2063
|
durableObjects?: string | false | undefined;
|
|
1194
2064
|
entrypoints?: string | false | undefined;
|
|
1195
2065
|
workflows?: string | false | undefined;
|
|
@@ -1203,6 +2073,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1203
2073
|
queue?: string | false | undefined;
|
|
1204
2074
|
scheduled?: string | false | undefined;
|
|
1205
2075
|
email?: string | false | undefined;
|
|
2076
|
+
tail?: string | false | undefined;
|
|
1206
2077
|
durableObjects?: string | false | undefined;
|
|
1207
2078
|
entrypoints?: string | false | undefined;
|
|
1208
2079
|
workflows?: string | false | undefined;
|
|
@@ -1291,6 +2162,49 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1291
2162
|
retryDelay?: number | undefined;
|
|
1292
2163
|
}[] | undefined;
|
|
1293
2164
|
}>>;
|
|
2165
|
+
rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2166
|
+
namespaceId: z.ZodString;
|
|
2167
|
+
simple: z.ZodObject<{
|
|
2168
|
+
limit: z.ZodNumber;
|
|
2169
|
+
period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
|
|
2170
|
+
}, "strict", z.ZodTypeAny, {
|
|
2171
|
+
limit: number;
|
|
2172
|
+
period: 10 | 60;
|
|
2173
|
+
}, {
|
|
2174
|
+
limit: number;
|
|
2175
|
+
period: 10 | 60;
|
|
2176
|
+
}>;
|
|
2177
|
+
}, "strict", z.ZodTypeAny, {
|
|
2178
|
+
namespaceId: string;
|
|
2179
|
+
simple: {
|
|
2180
|
+
limit: number;
|
|
2181
|
+
period: 10 | 60;
|
|
2182
|
+
};
|
|
2183
|
+
}, {
|
|
2184
|
+
namespaceId: string;
|
|
2185
|
+
simple: {
|
|
2186
|
+
limit: number;
|
|
2187
|
+
period: 10 | 60;
|
|
2188
|
+
};
|
|
2189
|
+
}>>>;
|
|
2190
|
+
versionMetadata: z.ZodOptional<z.ZodObject<{
|
|
2191
|
+
binding: z.ZodString;
|
|
2192
|
+
}, "strict", z.ZodTypeAny, {
|
|
2193
|
+
binding: string;
|
|
2194
|
+
}, {
|
|
2195
|
+
binding: string;
|
|
2196
|
+
}>>;
|
|
2197
|
+
workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
|
|
2198
|
+
secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2199
|
+
storeId: z.ZodString;
|
|
2200
|
+
secretName: z.ZodString;
|
|
2201
|
+
}, "strict", z.ZodTypeAny, {
|
|
2202
|
+
storeId: string;
|
|
2203
|
+
secretName: string;
|
|
2204
|
+
}, {
|
|
2205
|
+
storeId: string;
|
|
2206
|
+
secretName: string;
|
|
2207
|
+
}>]>>>;
|
|
1294
2208
|
services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
|
|
1295
2209
|
service: string;
|
|
1296
2210
|
environment?: string;
|
|
@@ -1304,41 +2218,86 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1304
2218
|
}>>>;
|
|
1305
2219
|
ai: z.ZodOptional<z.ZodObject<{
|
|
1306
2220
|
binding: z.ZodString;
|
|
1307
|
-
|
|
2221
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2222
|
+
staging: z.ZodOptional<z.ZodBoolean>;
|
|
2223
|
+
}, "strict", z.ZodTypeAny, {
|
|
1308
2224
|
binding: string;
|
|
2225
|
+
remote?: boolean | undefined;
|
|
2226
|
+
staging?: boolean | undefined;
|
|
1309
2227
|
}, {
|
|
1310
2228
|
binding: string;
|
|
2229
|
+
remote?: boolean | undefined;
|
|
2230
|
+
staging?: boolean | undefined;
|
|
1311
2231
|
}>>;
|
|
2232
|
+
aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2233
|
+
namespace: z.ZodString;
|
|
2234
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2235
|
+
}, "strict", z.ZodTypeAny, {
|
|
2236
|
+
namespace: string;
|
|
2237
|
+
remote?: boolean | undefined;
|
|
2238
|
+
}, {
|
|
2239
|
+
namespace: string;
|
|
2240
|
+
remote?: boolean | undefined;
|
|
2241
|
+
}>>>;
|
|
2242
|
+
aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2243
|
+
instanceName: z.ZodString;
|
|
2244
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2245
|
+
}, "strict", z.ZodTypeAny, {
|
|
2246
|
+
instanceName: string;
|
|
2247
|
+
remote?: boolean | undefined;
|
|
2248
|
+
}, {
|
|
2249
|
+
instanceName: string;
|
|
2250
|
+
remote?: boolean | undefined;
|
|
2251
|
+
}>>>;
|
|
1312
2252
|
vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1313
2253
|
indexName: z.ZodString;
|
|
2254
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1314
2255
|
}, "strip", z.ZodTypeAny, {
|
|
1315
2256
|
indexName: string;
|
|
2257
|
+
remote?: boolean | undefined;
|
|
1316
2258
|
}, {
|
|
1317
2259
|
indexName: string;
|
|
2260
|
+
remote?: boolean | undefined;
|
|
1318
2261
|
}>>>;
|
|
1319
2262
|
hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1320
2263
|
id: z.ZodString;
|
|
2264
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
1321
2265
|
}, "strict", z.ZodTypeAny, {
|
|
1322
2266
|
id: string;
|
|
2267
|
+
localConnectionString?: string | undefined;
|
|
1323
2268
|
}, {
|
|
1324
2269
|
id: string;
|
|
2270
|
+
localConnectionString?: string | undefined;
|
|
1325
2271
|
}>, z.ZodObject<{
|
|
1326
2272
|
name: z.ZodString;
|
|
2273
|
+
localConnectionString: z.ZodOptional<z.ZodString>;
|
|
1327
2274
|
previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
|
|
1328
2275
|
previewId: z.ZodOptional<z.ZodString>;
|
|
1329
2276
|
previewLocalConnectionString: z.ZodOptional<z.ZodString>;
|
|
1330
2277
|
}, "strict", z.ZodTypeAny, {
|
|
1331
2278
|
name: string;
|
|
2279
|
+
localConnectionString?: string | undefined;
|
|
1332
2280
|
previewFallback?: "base" | undefined;
|
|
1333
2281
|
previewId?: string | undefined;
|
|
1334
2282
|
previewLocalConnectionString?: string | undefined;
|
|
1335
2283
|
}, {
|
|
1336
2284
|
name: string;
|
|
2285
|
+
localConnectionString?: string | undefined;
|
|
1337
2286
|
previewFallback?: "base" | undefined;
|
|
1338
2287
|
previewId?: string | undefined;
|
|
1339
2288
|
previewLocalConnectionString?: string | undefined;
|
|
1340
2289
|
}>]>>>;
|
|
1341
|
-
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString
|
|
2290
|
+
browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2291
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2292
|
+
}, "strict", z.ZodTypeAny, {
|
|
2293
|
+
remote?: boolean | undefined;
|
|
2294
|
+
}, {
|
|
2295
|
+
remote?: boolean | undefined;
|
|
2296
|
+
}>]>>, Record<string, string | {
|
|
2297
|
+
remote?: boolean | undefined;
|
|
2298
|
+
}>, Record<string, string | {
|
|
2299
|
+
remote?: boolean | undefined;
|
|
2300
|
+
}>>>;
|
|
1342
2301
|
analyticsEngine: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1343
2302
|
dataset: z.ZodString;
|
|
1344
2303
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1368,11 +2327,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1368
2327
|
allowedSenderAddresses?: string[] | undefined;
|
|
1369
2328
|
}>>>;
|
|
1370
2329
|
mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2330
|
+
certificateId: z.ZodString;
|
|
2331
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2332
|
+
}, "strict", z.ZodTypeAny, {
|
|
2333
|
+
certificateId: string;
|
|
2334
|
+
remote?: boolean | undefined;
|
|
2335
|
+
}, {
|
|
2336
|
+
certificateId: string;
|
|
2337
|
+
remote?: boolean | undefined;
|
|
2338
|
+
}>, z.ZodObject<{
|
|
1371
2339
|
certificate_id: z.ZodString;
|
|
2340
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1372
2341
|
}, "strict", z.ZodTypeAny, {
|
|
1373
2342
|
certificate_id: string;
|
|
2343
|
+
remote?: boolean | undefined;
|
|
1374
2344
|
}, {
|
|
1375
2345
|
certificate_id: string;
|
|
2346
|
+
remote?: boolean | undefined;
|
|
1376
2347
|
}>]>>>;
|
|
1377
2348
|
dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1378
2349
|
namespace: z.ZodString;
|
|
@@ -1380,7 +2351,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1380
2351
|
service: z.ZodString;
|
|
1381
2352
|
environment: z.ZodOptional<z.ZodString>;
|
|
1382
2353
|
parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1383
|
-
}, "
|
|
2354
|
+
}, "strict", z.ZodTypeAny, {
|
|
1384
2355
|
service: string;
|
|
1385
2356
|
environment?: string | undefined;
|
|
1386
2357
|
parameters?: string[] | undefined;
|
|
@@ -1389,6 +2360,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1389
2360
|
environment?: string | undefined;
|
|
1390
2361
|
parameters?: string[] | undefined;
|
|
1391
2362
|
}>>;
|
|
2363
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1392
2364
|
}, "strict", z.ZodTypeAny, {
|
|
1393
2365
|
namespace: string;
|
|
1394
2366
|
outbound?: {
|
|
@@ -1396,6 +2368,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1396
2368
|
environment?: string | undefined;
|
|
1397
2369
|
parameters?: string[] | undefined;
|
|
1398
2370
|
} | undefined;
|
|
2371
|
+
remote?: boolean | undefined;
|
|
1399
2372
|
}, {
|
|
1400
2373
|
namespace: string;
|
|
1401
2374
|
outbound?: {
|
|
@@ -1403,28 +2376,79 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1403
2376
|
environment?: string | undefined;
|
|
1404
2377
|
parameters?: string[] | undefined;
|
|
1405
2378
|
} | undefined;
|
|
2379
|
+
remote?: boolean | undefined;
|
|
1406
2380
|
}>]>>>;
|
|
1407
2381
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1408
2382
|
name: z.ZodString;
|
|
1409
2383
|
className: z.ZodString;
|
|
1410
2384
|
scriptName: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2386
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2387
|
+
steps: z.ZodNumber;
|
|
2388
|
+
}, "strict", z.ZodTypeAny, {
|
|
2389
|
+
steps: number;
|
|
2390
|
+
}, {
|
|
2391
|
+
steps: number;
|
|
2392
|
+
}>>;
|
|
1411
2393
|
}, "strict", z.ZodTypeAny, {
|
|
1412
2394
|
name: string;
|
|
1413
2395
|
className: string;
|
|
1414
2396
|
scriptName?: string | undefined;
|
|
2397
|
+
remote?: boolean | undefined;
|
|
2398
|
+
limits?: {
|
|
2399
|
+
steps: number;
|
|
2400
|
+
} | undefined;
|
|
1415
2401
|
}, {
|
|
1416
2402
|
name: string;
|
|
1417
2403
|
className: string;
|
|
1418
2404
|
scriptName?: string | undefined;
|
|
2405
|
+
remote?: boolean | undefined;
|
|
2406
|
+
limits?: {
|
|
2407
|
+
steps: number;
|
|
2408
|
+
} | undefined;
|
|
1419
2409
|
}>>>;
|
|
1420
2410
|
pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1421
2411
|
pipeline: z.ZodString;
|
|
2412
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
1422
2413
|
}, "strict", z.ZodTypeAny, {
|
|
1423
2414
|
pipeline: string;
|
|
2415
|
+
remote?: boolean | undefined;
|
|
1424
2416
|
}, {
|
|
1425
2417
|
pipeline: string;
|
|
2418
|
+
remote?: boolean | undefined;
|
|
2419
|
+
}>]>>>;
|
|
2420
|
+
images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
2421
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2422
|
+
}, "strict", z.ZodTypeAny, {
|
|
2423
|
+
remote?: boolean | undefined;
|
|
2424
|
+
}, {
|
|
2425
|
+
remote?: boolean | undefined;
|
|
2426
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
2427
|
+
remote?: boolean | undefined;
|
|
2428
|
+
}> | undefined, Record<string, true | {
|
|
2429
|
+
remote?: boolean | undefined;
|
|
2430
|
+
}> | undefined>;
|
|
2431
|
+
media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
2432
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2433
|
+
}, "strict", z.ZodTypeAny, {
|
|
2434
|
+
remote?: boolean | undefined;
|
|
2435
|
+
}, {
|
|
2436
|
+
remote?: boolean | undefined;
|
|
2437
|
+
}>, z.ZodLiteral<true>]>>>, Record<string, true | {
|
|
2438
|
+
remote?: boolean | undefined;
|
|
2439
|
+
}> | undefined, Record<string, true | {
|
|
2440
|
+
remote?: boolean | undefined;
|
|
2441
|
+
}> | undefined>;
|
|
2442
|
+
artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2443
|
+
namespace: z.ZodString;
|
|
2444
|
+
remote: z.ZodOptional<z.ZodBoolean>;
|
|
2445
|
+
}, "strict", z.ZodTypeAny, {
|
|
2446
|
+
namespace: string;
|
|
2447
|
+
remote?: boolean | undefined;
|
|
2448
|
+
}, {
|
|
2449
|
+
namespace: string;
|
|
2450
|
+
remote?: boolean | undefined;
|
|
1426
2451
|
}>]>>>;
|
|
1427
|
-
images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>, z.ZodLiteral<true>]>>>;
|
|
1428
2452
|
}, "strip", z.ZodTypeAny, {
|
|
1429
2453
|
kv?: Record<string, string | {
|
|
1430
2454
|
id: string;
|
|
@@ -1450,6 +2474,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1450
2474
|
retryDelay?: number | undefined;
|
|
1451
2475
|
}[] | undefined;
|
|
1452
2476
|
} | undefined;
|
|
2477
|
+
rateLimits?: Record<string, {
|
|
2478
|
+
namespaceId: string;
|
|
2479
|
+
simple: {
|
|
2480
|
+
limit: number;
|
|
2481
|
+
period: 10 | 60;
|
|
2482
|
+
};
|
|
2483
|
+
}> | undefined;
|
|
2484
|
+
versionMetadata?: {
|
|
2485
|
+
binding: string;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
2488
|
+
secretsStore?: Record<string, string | {
|
|
2489
|
+
storeId: string;
|
|
2490
|
+
secretName: string;
|
|
2491
|
+
}> | undefined;
|
|
1453
2492
|
services?: Record<string, {
|
|
1454
2493
|
service: string;
|
|
1455
2494
|
environment?: string;
|
|
@@ -1458,19 +2497,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1458
2497
|
}> | undefined;
|
|
1459
2498
|
ai?: {
|
|
1460
2499
|
binding: string;
|
|
2500
|
+
remote?: boolean | undefined;
|
|
2501
|
+
staging?: boolean | undefined;
|
|
1461
2502
|
} | undefined;
|
|
2503
|
+
aiSearchNamespaces?: Record<string, {
|
|
2504
|
+
namespace: string;
|
|
2505
|
+
remote?: boolean | undefined;
|
|
2506
|
+
}> | undefined;
|
|
2507
|
+
aiSearch?: Record<string, {
|
|
2508
|
+
instanceName: string;
|
|
2509
|
+
remote?: boolean | undefined;
|
|
2510
|
+
}> | undefined;
|
|
1462
2511
|
vectorize?: Record<string, {
|
|
1463
2512
|
indexName: string;
|
|
2513
|
+
remote?: boolean | undefined;
|
|
1464
2514
|
}> | undefined;
|
|
1465
2515
|
hyperdrive?: Record<string, string | {
|
|
1466
2516
|
id: string;
|
|
2517
|
+
localConnectionString?: string | undefined;
|
|
1467
2518
|
} | {
|
|
1468
2519
|
name: string;
|
|
2520
|
+
localConnectionString?: string | undefined;
|
|
1469
2521
|
previewFallback?: "base" | undefined;
|
|
1470
2522
|
previewId?: string | undefined;
|
|
1471
2523
|
previewLocalConnectionString?: string | undefined;
|
|
1472
2524
|
}> | undefined;
|
|
1473
|
-
browser?: Record<string, string
|
|
2525
|
+
browser?: Record<string, string | {
|
|
2526
|
+
remote?: boolean | undefined;
|
|
2527
|
+
}> | undefined;
|
|
1474
2528
|
analyticsEngine?: Record<string, {
|
|
1475
2529
|
dataset: string;
|
|
1476
2530
|
}> | undefined;
|
|
@@ -1480,7 +2534,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1480
2534
|
allowedSenderAddresses?: string[] | undefined;
|
|
1481
2535
|
}> | undefined;
|
|
1482
2536
|
mtlsCertificates?: Record<string, string | {
|
|
2537
|
+
certificateId: string;
|
|
2538
|
+
remote?: boolean | undefined;
|
|
2539
|
+
} | {
|
|
1483
2540
|
certificate_id: string;
|
|
2541
|
+
remote?: boolean | undefined;
|
|
1484
2542
|
}> | undefined;
|
|
1485
2543
|
dispatchNamespaces?: Record<string, string | {
|
|
1486
2544
|
namespace: string;
|
|
@@ -1489,16 +2547,31 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1489
2547
|
environment?: string | undefined;
|
|
1490
2548
|
parameters?: string[] | undefined;
|
|
1491
2549
|
} | undefined;
|
|
2550
|
+
remote?: boolean | undefined;
|
|
1492
2551
|
}> | undefined;
|
|
1493
2552
|
workflows?: Record<string, {
|
|
1494
2553
|
name: string;
|
|
1495
2554
|
className: string;
|
|
1496
2555
|
scriptName?: string | undefined;
|
|
2556
|
+
remote?: boolean | undefined;
|
|
2557
|
+
limits?: {
|
|
2558
|
+
steps: number;
|
|
2559
|
+
} | undefined;
|
|
1497
2560
|
}> | undefined;
|
|
1498
2561
|
pipelines?: Record<string, string | {
|
|
1499
2562
|
pipeline: string;
|
|
2563
|
+
remote?: boolean | undefined;
|
|
2564
|
+
}> | undefined;
|
|
2565
|
+
images?: Record<string, true | {
|
|
2566
|
+
remote?: boolean | undefined;
|
|
2567
|
+
}> | undefined;
|
|
2568
|
+
media?: Record<string, true | {
|
|
2569
|
+
remote?: boolean | undefined;
|
|
2570
|
+
}> | undefined;
|
|
2571
|
+
artifacts?: Record<string, string | {
|
|
2572
|
+
namespace: string;
|
|
2573
|
+
remote?: boolean | undefined;
|
|
1500
2574
|
}> | undefined;
|
|
1501
|
-
images?: Record<string, true | {}> | undefined;
|
|
1502
2575
|
}, {
|
|
1503
2576
|
kv?: Record<string, string | {
|
|
1504
2577
|
id: string;
|
|
@@ -1524,6 +2597,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1524
2597
|
retryDelay?: number | undefined;
|
|
1525
2598
|
}[] | undefined;
|
|
1526
2599
|
} | undefined;
|
|
2600
|
+
rateLimits?: Record<string, {
|
|
2601
|
+
namespaceId: string;
|
|
2602
|
+
simple: {
|
|
2603
|
+
limit: number;
|
|
2604
|
+
period: 10 | 60;
|
|
2605
|
+
};
|
|
2606
|
+
}> | undefined;
|
|
2607
|
+
versionMetadata?: {
|
|
2608
|
+
binding: string;
|
|
2609
|
+
} | undefined;
|
|
2610
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
2611
|
+
secretsStore?: Record<string, string | {
|
|
2612
|
+
storeId: string;
|
|
2613
|
+
secretName: string;
|
|
2614
|
+
}> | undefined;
|
|
1527
2615
|
services?: Record<string, {
|
|
1528
2616
|
service: string;
|
|
1529
2617
|
environment?: string;
|
|
@@ -1532,19 +2620,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1532
2620
|
}> | undefined;
|
|
1533
2621
|
ai?: {
|
|
1534
2622
|
binding: string;
|
|
2623
|
+
remote?: boolean | undefined;
|
|
2624
|
+
staging?: boolean | undefined;
|
|
1535
2625
|
} | undefined;
|
|
2626
|
+
aiSearchNamespaces?: Record<string, {
|
|
2627
|
+
namespace: string;
|
|
2628
|
+
remote?: boolean | undefined;
|
|
2629
|
+
}> | undefined;
|
|
2630
|
+
aiSearch?: Record<string, {
|
|
2631
|
+
instanceName: string;
|
|
2632
|
+
remote?: boolean | undefined;
|
|
2633
|
+
}> | undefined;
|
|
1536
2634
|
vectorize?: Record<string, {
|
|
1537
2635
|
indexName: string;
|
|
2636
|
+
remote?: boolean | undefined;
|
|
1538
2637
|
}> | undefined;
|
|
1539
2638
|
hyperdrive?: Record<string, string | {
|
|
1540
2639
|
id: string;
|
|
2640
|
+
localConnectionString?: string | undefined;
|
|
1541
2641
|
} | {
|
|
1542
2642
|
name: string;
|
|
2643
|
+
localConnectionString?: string | undefined;
|
|
1543
2644
|
previewFallback?: "base" | undefined;
|
|
1544
2645
|
previewId?: string | undefined;
|
|
1545
2646
|
previewLocalConnectionString?: string | undefined;
|
|
1546
2647
|
}> | undefined;
|
|
1547
|
-
browser?: Record<string, string
|
|
2648
|
+
browser?: Record<string, string | {
|
|
2649
|
+
remote?: boolean | undefined;
|
|
2650
|
+
}> | undefined;
|
|
1548
2651
|
analyticsEngine?: Record<string, {
|
|
1549
2652
|
dataset: string;
|
|
1550
2653
|
}> | undefined;
|
|
@@ -1554,7 +2657,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1554
2657
|
allowedSenderAddresses?: string[] | undefined;
|
|
1555
2658
|
}> | undefined;
|
|
1556
2659
|
mtlsCertificates?: Record<string, string | {
|
|
2660
|
+
certificateId: string;
|
|
2661
|
+
remote?: boolean | undefined;
|
|
2662
|
+
} | {
|
|
1557
2663
|
certificate_id: string;
|
|
2664
|
+
remote?: boolean | undefined;
|
|
1558
2665
|
}> | undefined;
|
|
1559
2666
|
dispatchNamespaces?: Record<string, string | {
|
|
1560
2667
|
namespace: string;
|
|
@@ -1563,16 +2670,31 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1563
2670
|
environment?: string | undefined;
|
|
1564
2671
|
parameters?: string[] | undefined;
|
|
1565
2672
|
} | undefined;
|
|
2673
|
+
remote?: boolean | undefined;
|
|
1566
2674
|
}> | undefined;
|
|
1567
2675
|
workflows?: Record<string, {
|
|
1568
2676
|
name: string;
|
|
1569
2677
|
className: string;
|
|
1570
2678
|
scriptName?: string | undefined;
|
|
2679
|
+
remote?: boolean | undefined;
|
|
2680
|
+
limits?: {
|
|
2681
|
+
steps: number;
|
|
2682
|
+
} | undefined;
|
|
1571
2683
|
}> | undefined;
|
|
1572
2684
|
pipelines?: Record<string, string | {
|
|
1573
2685
|
pipeline: string;
|
|
2686
|
+
remote?: boolean | undefined;
|
|
2687
|
+
}> | undefined;
|
|
2688
|
+
images?: Record<string, true | {
|
|
2689
|
+
remote?: boolean | undefined;
|
|
2690
|
+
}> | undefined;
|
|
2691
|
+
media?: Record<string, true | {
|
|
2692
|
+
remote?: boolean | undefined;
|
|
2693
|
+
}> | undefined;
|
|
2694
|
+
artifacts?: Record<string, string | {
|
|
2695
|
+
namespace: string;
|
|
2696
|
+
remote?: boolean | undefined;
|
|
1574
2697
|
}> | undefined;
|
|
1575
|
-
images?: Record<string, true | {}> | undefined;
|
|
1576
2698
|
}>>>;
|
|
1577
2699
|
readonly triggers: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1578
2700
|
crons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1581,6 +2703,32 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1581
2703
|
}, {
|
|
1582
2704
|
crons?: string[] | undefined;
|
|
1583
2705
|
}>>>;
|
|
2706
|
+
readonly rules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2707
|
+
type: z.ZodEnum<["ESModule", "CommonJS", "CompiledWasm", "Text", "Data"]>;
|
|
2708
|
+
globs: z.ZodArray<z.ZodString, "many">;
|
|
2709
|
+
fallthrough: z.ZodOptional<z.ZodBoolean>;
|
|
2710
|
+
}, "strict", z.ZodTypeAny, {
|
|
2711
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
2712
|
+
globs: string[];
|
|
2713
|
+
fallthrough?: boolean | undefined;
|
|
2714
|
+
}, {
|
|
2715
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
2716
|
+
globs: string[];
|
|
2717
|
+
fallthrough?: boolean | undefined;
|
|
2718
|
+
}>, "many">>>;
|
|
2719
|
+
readonly findAdditionalModules: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2720
|
+
readonly baseDir: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2721
|
+
readonly preserveFileNames: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2722
|
+
readonly tailConsumers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2723
|
+
service: z.ZodString;
|
|
2724
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2725
|
+
}, "strict", z.ZodTypeAny, {
|
|
2726
|
+
service: string;
|
|
2727
|
+
environment?: string | undefined;
|
|
2728
|
+
}, {
|
|
2729
|
+
service: string;
|
|
2730
|
+
environment?: string | undefined;
|
|
2731
|
+
}>]>, "many">>>;
|
|
1584
2732
|
readonly vars: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1585
2733
|
readonly secrets: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1586
2734
|
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1608,29 +2756,176 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1608
2756
|
readonly assets: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1609
2757
|
directory: z.ZodString;
|
|
1610
2758
|
binding: z.ZodOptional<z.ZodString>;
|
|
1611
|
-
|
|
2759
|
+
html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
|
|
2760
|
+
not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
|
|
2761
|
+
run_worker_first: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
2762
|
+
}, "strict", z.ZodTypeAny, {
|
|
1612
2763
|
directory: string;
|
|
1613
2764
|
binding?: string | undefined;
|
|
2765
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
2766
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
2767
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
1614
2768
|
}, {
|
|
1615
2769
|
directory: string;
|
|
1616
2770
|
binding?: string | undefined;
|
|
2771
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
2772
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
2773
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
1617
2774
|
}>>>;
|
|
2775
|
+
readonly containers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2776
|
+
className: z.ZodString;
|
|
2777
|
+
image: z.ZodString;
|
|
2778
|
+
maxInstances: z.ZodOptional<z.ZodNumber>;
|
|
2779
|
+
instanceType: z.ZodOptional<z.ZodString>;
|
|
2780
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2781
|
+
imageBuildContext: z.ZodOptional<z.ZodString>;
|
|
2782
|
+
imageVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2783
|
+
rolloutActiveGracePeriod: z.ZodOptional<z.ZodNumber>;
|
|
2784
|
+
rolloutStepPercentage: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2785
|
+
}, "strict", z.ZodTypeAny, {
|
|
2786
|
+
className: string;
|
|
2787
|
+
image: string;
|
|
2788
|
+
maxInstances?: number | undefined;
|
|
2789
|
+
instanceType?: string | undefined;
|
|
2790
|
+
name?: string | undefined;
|
|
2791
|
+
imageBuildContext?: string | undefined;
|
|
2792
|
+
imageVars?: Record<string, string> | undefined;
|
|
2793
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
2794
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
2795
|
+
}, {
|
|
2796
|
+
className: string;
|
|
2797
|
+
image: string;
|
|
2798
|
+
maxInstances?: number | undefined;
|
|
2799
|
+
instanceType?: string | undefined;
|
|
2800
|
+
name?: string | undefined;
|
|
2801
|
+
imageBuildContext?: string | undefined;
|
|
2802
|
+
imageVars?: Record<string, string> | undefined;
|
|
2803
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
2804
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
2805
|
+
}>, "many">>>;
|
|
2806
|
+
readonly placement: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
2807
|
+
mode: z.ZodEnum<["off", "smart"]>;
|
|
2808
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2809
|
+
}, "strict", z.ZodTypeAny, {
|
|
2810
|
+
mode: "off" | "smart";
|
|
2811
|
+
hint?: string | undefined;
|
|
2812
|
+
}, {
|
|
2813
|
+
mode: "off" | "smart";
|
|
2814
|
+
hint?: string | undefined;
|
|
2815
|
+
}>, {
|
|
2816
|
+
mode: "off" | "smart";
|
|
2817
|
+
hint?: string | undefined;
|
|
2818
|
+
}, {
|
|
2819
|
+
mode: "off" | "smart";
|
|
2820
|
+
hint?: string | undefined;
|
|
2821
|
+
}>, z.ZodObject<{
|
|
2822
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
2823
|
+
region: z.ZodString;
|
|
2824
|
+
}, "strict", z.ZodTypeAny, {
|
|
2825
|
+
mode?: "targeted" | undefined;
|
|
2826
|
+
region: string;
|
|
2827
|
+
}, {
|
|
2828
|
+
mode?: "targeted" | undefined;
|
|
2829
|
+
region: string;
|
|
2830
|
+
}>, z.ZodObject<{
|
|
2831
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
2832
|
+
host: z.ZodString;
|
|
2833
|
+
}, "strict", z.ZodTypeAny, {
|
|
2834
|
+
mode?: "targeted" | undefined;
|
|
2835
|
+
host: string;
|
|
2836
|
+
}, {
|
|
2837
|
+
mode?: "targeted" | undefined;
|
|
2838
|
+
host: string;
|
|
2839
|
+
}>, z.ZodObject<{
|
|
2840
|
+
mode: z.ZodOptional<z.ZodLiteral<"targeted">>;
|
|
2841
|
+
hostname: z.ZodString;
|
|
2842
|
+
}, "strict", z.ZodTypeAny, {
|
|
2843
|
+
mode?: "targeted" | undefined;
|
|
2844
|
+
hostname: string;
|
|
2845
|
+
}, {
|
|
2846
|
+
mode?: "targeted" | undefined;
|
|
2847
|
+
hostname: string;
|
|
2848
|
+
}>]>>>;
|
|
1618
2849
|
readonly limits: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1619
2850
|
cpu_ms: z.ZodOptional<z.ZodNumber>;
|
|
1620
|
-
|
|
2851
|
+
subrequests: z.ZodOptional<z.ZodNumber>;
|
|
2852
|
+
}, "strict", z.ZodTypeAny, {
|
|
1621
2853
|
cpu_ms?: number | undefined;
|
|
2854
|
+
subrequests?: number | undefined;
|
|
1622
2855
|
}, {
|
|
1623
2856
|
cpu_ms?: number | undefined;
|
|
2857
|
+
subrequests?: number | undefined;
|
|
1624
2858
|
}>>>;
|
|
1625
2859
|
readonly observability: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1626
2860
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1627
2861
|
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
1628
|
-
|
|
2862
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
2863
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2864
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
2865
|
+
invocation_logs: z.ZodOptional<z.ZodBoolean>;
|
|
2866
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
2867
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2868
|
+
}, "strict", z.ZodTypeAny, {
|
|
2869
|
+
enabled?: boolean | undefined;
|
|
2870
|
+
head_sampling_rate?: number | undefined;
|
|
2871
|
+
invocation_logs?: boolean | undefined;
|
|
2872
|
+
persist?: boolean | undefined;
|
|
2873
|
+
destinations?: string[] | undefined;
|
|
2874
|
+
}, {
|
|
2875
|
+
enabled?: boolean | undefined;
|
|
2876
|
+
head_sampling_rate?: number | undefined;
|
|
2877
|
+
invocation_logs?: boolean | undefined;
|
|
2878
|
+
persist?: boolean | undefined;
|
|
2879
|
+
destinations?: string[] | undefined;
|
|
2880
|
+
}>>;
|
|
2881
|
+
traces: z.ZodOptional<z.ZodObject<{
|
|
2882
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2883
|
+
head_sampling_rate: z.ZodOptional<z.ZodNumber>;
|
|
2884
|
+
persist: z.ZodOptional<z.ZodBoolean>;
|
|
2885
|
+
destinations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2886
|
+
}, "strict", z.ZodTypeAny, {
|
|
2887
|
+
enabled?: boolean | undefined;
|
|
2888
|
+
head_sampling_rate?: number | undefined;
|
|
2889
|
+
persist?: boolean | undefined;
|
|
2890
|
+
destinations?: string[] | undefined;
|
|
2891
|
+
}, {
|
|
2892
|
+
enabled?: boolean | undefined;
|
|
2893
|
+
head_sampling_rate?: number | undefined;
|
|
2894
|
+
persist?: boolean | undefined;
|
|
2895
|
+
destinations?: string[] | undefined;
|
|
2896
|
+
}>>;
|
|
2897
|
+
}, "strict", z.ZodTypeAny, {
|
|
1629
2898
|
enabled?: boolean | undefined;
|
|
1630
2899
|
head_sampling_rate?: number | undefined;
|
|
2900
|
+
logs?: {
|
|
2901
|
+
enabled?: boolean | undefined;
|
|
2902
|
+
head_sampling_rate?: number | undefined;
|
|
2903
|
+
invocation_logs?: boolean | undefined;
|
|
2904
|
+
persist?: boolean | undefined;
|
|
2905
|
+
destinations?: string[] | undefined;
|
|
2906
|
+
} | undefined;
|
|
2907
|
+
traces?: {
|
|
2908
|
+
enabled?: boolean | undefined;
|
|
2909
|
+
head_sampling_rate?: number | undefined;
|
|
2910
|
+
persist?: boolean | undefined;
|
|
2911
|
+
destinations?: string[] | undefined;
|
|
2912
|
+
} | undefined;
|
|
1631
2913
|
}, {
|
|
1632
2914
|
enabled?: boolean | undefined;
|
|
1633
2915
|
head_sampling_rate?: number | undefined;
|
|
2916
|
+
logs?: {
|
|
2917
|
+
enabled?: boolean | undefined;
|
|
2918
|
+
head_sampling_rate?: number | undefined;
|
|
2919
|
+
invocation_logs?: boolean | undefined;
|
|
2920
|
+
persist?: boolean | undefined;
|
|
2921
|
+
destinations?: string[] | undefined;
|
|
2922
|
+
} | undefined;
|
|
2923
|
+
traces?: {
|
|
2924
|
+
enabled?: boolean | undefined;
|
|
2925
|
+
head_sampling_rate?: number | undefined;
|
|
2926
|
+
persist?: boolean | undefined;
|
|
2927
|
+
destinations?: string[] | undefined;
|
|
2928
|
+
} | undefined;
|
|
1634
2929
|
}>>>;
|
|
1635
2930
|
readonly migrations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1636
2931
|
tag: z.ZodString;
|
|
@@ -1638,7 +2933,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1638
2933
|
renamed_classes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1639
2934
|
from: z.ZodString;
|
|
1640
2935
|
to: z.ZodString;
|
|
1641
|
-
}, "
|
|
2936
|
+
}, "strict", z.ZodTypeAny, {
|
|
1642
2937
|
from: string;
|
|
1643
2938
|
to: string;
|
|
1644
2939
|
}, {
|
|
@@ -1647,7 +2942,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1647
2942
|
}>, "many">>;
|
|
1648
2943
|
deleted_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1649
2944
|
new_sqlite_classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1650
|
-
}, "
|
|
2945
|
+
}, "strict", z.ZodTypeAny, {
|
|
1651
2946
|
tag: string;
|
|
1652
2947
|
new_classes?: string[] | undefined;
|
|
1653
2948
|
renamed_classes?: {
|
|
@@ -1698,6 +2993,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1698
2993
|
}>>>;
|
|
1699
2994
|
}, "strict", z.ZodTypeAny, {
|
|
1700
2995
|
name?: string | undefined;
|
|
2996
|
+
secretsStoreId?: string | undefined;
|
|
1701
2997
|
compatibilityDate?: string | undefined;
|
|
1702
2998
|
compatibilityFlags?: string[] | undefined;
|
|
1703
2999
|
previews?: {
|
|
@@ -1708,6 +3004,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1708
3004
|
queue?: string | false | undefined;
|
|
1709
3005
|
scheduled?: string | false | undefined;
|
|
1710
3006
|
email?: string | false | undefined;
|
|
3007
|
+
tail?: string | false | undefined;
|
|
1711
3008
|
durableObjects?: string | false | undefined;
|
|
1712
3009
|
entrypoints?: string | false | undefined;
|
|
1713
3010
|
workflows?: string | false | undefined;
|
|
@@ -1742,6 +3039,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1742
3039
|
retryDelay?: number | undefined;
|
|
1743
3040
|
}[] | undefined;
|
|
1744
3041
|
} | undefined;
|
|
3042
|
+
rateLimits?: Record<string, {
|
|
3043
|
+
namespaceId: string;
|
|
3044
|
+
simple: {
|
|
3045
|
+
limit: number;
|
|
3046
|
+
period: 10 | 60;
|
|
3047
|
+
};
|
|
3048
|
+
}> | undefined;
|
|
3049
|
+
versionMetadata?: {
|
|
3050
|
+
binding: string;
|
|
3051
|
+
} | undefined;
|
|
3052
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
3053
|
+
secretsStore?: Record<string, string | {
|
|
3054
|
+
storeId: string;
|
|
3055
|
+
secretName: string;
|
|
3056
|
+
}> | undefined;
|
|
1745
3057
|
services?: Record<string, {
|
|
1746
3058
|
service: string;
|
|
1747
3059
|
environment?: string;
|
|
@@ -1750,19 +3062,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1750
3062
|
}> | undefined;
|
|
1751
3063
|
ai?: {
|
|
1752
3064
|
binding: string;
|
|
3065
|
+
remote?: boolean | undefined;
|
|
3066
|
+
staging?: boolean | undefined;
|
|
1753
3067
|
} | undefined;
|
|
3068
|
+
aiSearchNamespaces?: Record<string, {
|
|
3069
|
+
namespace: string;
|
|
3070
|
+
remote?: boolean | undefined;
|
|
3071
|
+
}> | undefined;
|
|
3072
|
+
aiSearch?: Record<string, {
|
|
3073
|
+
instanceName: string;
|
|
3074
|
+
remote?: boolean | undefined;
|
|
3075
|
+
}> | undefined;
|
|
1754
3076
|
vectorize?: Record<string, {
|
|
1755
3077
|
indexName: string;
|
|
3078
|
+
remote?: boolean | undefined;
|
|
1756
3079
|
}> | undefined;
|
|
1757
3080
|
hyperdrive?: Record<string, string | {
|
|
1758
3081
|
id: string;
|
|
3082
|
+
localConnectionString?: string | undefined;
|
|
1759
3083
|
} | {
|
|
1760
3084
|
name: string;
|
|
3085
|
+
localConnectionString?: string | undefined;
|
|
1761
3086
|
previewFallback?: "base" | undefined;
|
|
1762
3087
|
previewId?: string | undefined;
|
|
1763
3088
|
previewLocalConnectionString?: string | undefined;
|
|
1764
3089
|
}> | undefined;
|
|
1765
|
-
browser?: Record<string, string
|
|
3090
|
+
browser?: Record<string, string | {
|
|
3091
|
+
remote?: boolean | undefined;
|
|
3092
|
+
}> | undefined;
|
|
1766
3093
|
analyticsEngine?: Record<string, {
|
|
1767
3094
|
dataset: string;
|
|
1768
3095
|
}> | undefined;
|
|
@@ -1772,7 +3099,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1772
3099
|
allowedSenderAddresses?: string[] | undefined;
|
|
1773
3100
|
}> | undefined;
|
|
1774
3101
|
mtlsCertificates?: Record<string, string | {
|
|
3102
|
+
certificateId: string;
|
|
3103
|
+
remote?: boolean | undefined;
|
|
3104
|
+
} | {
|
|
1775
3105
|
certificate_id: string;
|
|
3106
|
+
remote?: boolean | undefined;
|
|
1776
3107
|
}> | undefined;
|
|
1777
3108
|
dispatchNamespaces?: Record<string, string | {
|
|
1778
3109
|
namespace: string;
|
|
@@ -1781,20 +3112,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1781
3112
|
environment?: string | undefined;
|
|
1782
3113
|
parameters?: string[] | undefined;
|
|
1783
3114
|
} | undefined;
|
|
3115
|
+
remote?: boolean | undefined;
|
|
1784
3116
|
}> | undefined;
|
|
1785
3117
|
workflows?: Record<string, {
|
|
1786
3118
|
name: string;
|
|
1787
3119
|
className: string;
|
|
1788
3120
|
scriptName?: string | undefined;
|
|
3121
|
+
remote?: boolean | undefined;
|
|
3122
|
+
limits?: {
|
|
3123
|
+
steps: number;
|
|
3124
|
+
} | undefined;
|
|
1789
3125
|
}> | undefined;
|
|
1790
3126
|
pipelines?: Record<string, string | {
|
|
1791
3127
|
pipeline: string;
|
|
3128
|
+
remote?: boolean | undefined;
|
|
3129
|
+
}> | undefined;
|
|
3130
|
+
images?: Record<string, true | {
|
|
3131
|
+
remote?: boolean | undefined;
|
|
3132
|
+
}> | undefined;
|
|
3133
|
+
media?: Record<string, true | {
|
|
3134
|
+
remote?: boolean | undefined;
|
|
3135
|
+
}> | undefined;
|
|
3136
|
+
artifacts?: Record<string, string | {
|
|
3137
|
+
namespace: string;
|
|
3138
|
+
remote?: boolean | undefined;
|
|
1792
3139
|
}> | undefined;
|
|
1793
|
-
images?: Record<string, true | {}> | undefined;
|
|
1794
3140
|
} | undefined;
|
|
1795
3141
|
triggers?: {
|
|
1796
3142
|
crons?: string[] | undefined;
|
|
1797
3143
|
} | undefined;
|
|
3144
|
+
rules?: {
|
|
3145
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
3146
|
+
globs: string[];
|
|
3147
|
+
fallthrough?: boolean | undefined;
|
|
3148
|
+
}[] | undefined;
|
|
3149
|
+
findAdditionalModules?: boolean | undefined;
|
|
3150
|
+
baseDir?: string | undefined;
|
|
3151
|
+
preserveFileNames?: boolean | undefined;
|
|
3152
|
+
tailConsumers?: (string | {
|
|
3153
|
+
service: string;
|
|
3154
|
+
environment?: string | undefined;
|
|
3155
|
+
})[] | undefined;
|
|
1798
3156
|
vars?: Record<string, string> | undefined;
|
|
1799
3157
|
secrets?: Record<string, {
|
|
1800
3158
|
required: boolean;
|
|
@@ -1808,13 +3166,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1808
3166
|
assets?: {
|
|
1809
3167
|
directory: string;
|
|
1810
3168
|
binding?: string | undefined;
|
|
3169
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
3170
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
3171
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
3172
|
+
} | undefined;
|
|
3173
|
+
containers?: {
|
|
3174
|
+
className: string;
|
|
3175
|
+
image: string;
|
|
3176
|
+
maxInstances?: number | undefined;
|
|
3177
|
+
instanceType?: string | undefined;
|
|
3178
|
+
name?: string | undefined;
|
|
3179
|
+
imageBuildContext?: string | undefined;
|
|
3180
|
+
imageVars?: Record<string, string> | undefined;
|
|
3181
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
3182
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
3183
|
+
}[] | undefined;
|
|
3184
|
+
placement?: {
|
|
3185
|
+
mode: "off" | "smart";
|
|
3186
|
+
hint?: string | undefined;
|
|
3187
|
+
} | {
|
|
3188
|
+
mode?: "targeted" | undefined;
|
|
3189
|
+
region: string;
|
|
3190
|
+
} | {
|
|
3191
|
+
mode?: "targeted" | undefined;
|
|
3192
|
+
host: string;
|
|
3193
|
+
} | {
|
|
3194
|
+
mode?: "targeted" | undefined;
|
|
3195
|
+
hostname: string;
|
|
1811
3196
|
} | undefined;
|
|
1812
3197
|
limits?: {
|
|
1813
3198
|
cpu_ms?: number | undefined;
|
|
3199
|
+
subrequests?: number | undefined;
|
|
1814
3200
|
} | undefined;
|
|
1815
3201
|
observability?: {
|
|
1816
3202
|
enabled?: boolean | undefined;
|
|
1817
3203
|
head_sampling_rate?: number | undefined;
|
|
3204
|
+
logs?: {
|
|
3205
|
+
enabled?: boolean | undefined;
|
|
3206
|
+
head_sampling_rate?: number | undefined;
|
|
3207
|
+
invocation_logs?: boolean | undefined;
|
|
3208
|
+
persist?: boolean | undefined;
|
|
3209
|
+
destinations?: string[] | undefined;
|
|
3210
|
+
} | undefined;
|
|
3211
|
+
traces?: {
|
|
3212
|
+
enabled?: boolean | undefined;
|
|
3213
|
+
head_sampling_rate?: number | undefined;
|
|
3214
|
+
persist?: boolean | undefined;
|
|
3215
|
+
destinations?: string[] | undefined;
|
|
3216
|
+
} | undefined;
|
|
1818
3217
|
} | undefined;
|
|
1819
3218
|
migrations?: {
|
|
1820
3219
|
tag: string;
|
|
@@ -1840,6 +3239,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1840
3239
|
} | undefined;
|
|
1841
3240
|
}, {
|
|
1842
3241
|
name?: string | undefined;
|
|
3242
|
+
secretsStoreId?: string | undefined;
|
|
1843
3243
|
compatibilityDate?: string | undefined;
|
|
1844
3244
|
compatibilityFlags?: string[] | undefined;
|
|
1845
3245
|
previews?: {
|
|
@@ -1850,6 +3250,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1850
3250
|
queue?: string | false | undefined;
|
|
1851
3251
|
scheduled?: string | false | undefined;
|
|
1852
3252
|
email?: string | false | undefined;
|
|
3253
|
+
tail?: string | false | undefined;
|
|
1853
3254
|
durableObjects?: string | false | undefined;
|
|
1854
3255
|
entrypoints?: string | false | undefined;
|
|
1855
3256
|
workflows?: string | false | undefined;
|
|
@@ -1884,6 +3285,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1884
3285
|
retryDelay?: number | undefined;
|
|
1885
3286
|
}[] | undefined;
|
|
1886
3287
|
} | undefined;
|
|
3288
|
+
rateLimits?: Record<string, {
|
|
3289
|
+
namespaceId: string;
|
|
3290
|
+
simple: {
|
|
3291
|
+
limit: number;
|
|
3292
|
+
period: 10 | 60;
|
|
3293
|
+
};
|
|
3294
|
+
}> | undefined;
|
|
3295
|
+
versionMetadata?: {
|
|
3296
|
+
binding: string;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
3299
|
+
secretsStore?: Record<string, string | {
|
|
3300
|
+
storeId: string;
|
|
3301
|
+
secretName: string;
|
|
3302
|
+
}> | undefined;
|
|
1887
3303
|
services?: Record<string, {
|
|
1888
3304
|
service: string;
|
|
1889
3305
|
environment?: string;
|
|
@@ -1892,19 +3308,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1892
3308
|
}> | undefined;
|
|
1893
3309
|
ai?: {
|
|
1894
3310
|
binding: string;
|
|
3311
|
+
remote?: boolean | undefined;
|
|
3312
|
+
staging?: boolean | undefined;
|
|
1895
3313
|
} | undefined;
|
|
3314
|
+
aiSearchNamespaces?: Record<string, {
|
|
3315
|
+
namespace: string;
|
|
3316
|
+
remote?: boolean | undefined;
|
|
3317
|
+
}> | undefined;
|
|
3318
|
+
aiSearch?: Record<string, {
|
|
3319
|
+
instanceName: string;
|
|
3320
|
+
remote?: boolean | undefined;
|
|
3321
|
+
}> | undefined;
|
|
1896
3322
|
vectorize?: Record<string, {
|
|
1897
3323
|
indexName: string;
|
|
3324
|
+
remote?: boolean | undefined;
|
|
1898
3325
|
}> | undefined;
|
|
1899
3326
|
hyperdrive?: Record<string, string | {
|
|
1900
3327
|
id: string;
|
|
3328
|
+
localConnectionString?: string | undefined;
|
|
1901
3329
|
} | {
|
|
1902
3330
|
name: string;
|
|
3331
|
+
localConnectionString?: string | undefined;
|
|
1903
3332
|
previewFallback?: "base" | undefined;
|
|
1904
3333
|
previewId?: string | undefined;
|
|
1905
3334
|
previewLocalConnectionString?: string | undefined;
|
|
1906
3335
|
}> | undefined;
|
|
1907
|
-
browser?: Record<string, string
|
|
3336
|
+
browser?: Record<string, string | {
|
|
3337
|
+
remote?: boolean | undefined;
|
|
3338
|
+
}> | undefined;
|
|
1908
3339
|
analyticsEngine?: Record<string, {
|
|
1909
3340
|
dataset: string;
|
|
1910
3341
|
}> | undefined;
|
|
@@ -1914,7 +3345,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1914
3345
|
allowedSenderAddresses?: string[] | undefined;
|
|
1915
3346
|
}> | undefined;
|
|
1916
3347
|
mtlsCertificates?: Record<string, string | {
|
|
3348
|
+
certificateId: string;
|
|
3349
|
+
remote?: boolean | undefined;
|
|
3350
|
+
} | {
|
|
1917
3351
|
certificate_id: string;
|
|
3352
|
+
remote?: boolean | undefined;
|
|
1918
3353
|
}> | undefined;
|
|
1919
3354
|
dispatchNamespaces?: Record<string, string | {
|
|
1920
3355
|
namespace: string;
|
|
@@ -1923,20 +3358,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1923
3358
|
environment?: string | undefined;
|
|
1924
3359
|
parameters?: string[] | undefined;
|
|
1925
3360
|
} | undefined;
|
|
3361
|
+
remote?: boolean | undefined;
|
|
1926
3362
|
}> | undefined;
|
|
1927
3363
|
workflows?: Record<string, {
|
|
1928
3364
|
name: string;
|
|
1929
3365
|
className: string;
|
|
1930
3366
|
scriptName?: string | undefined;
|
|
3367
|
+
remote?: boolean | undefined;
|
|
3368
|
+
limits?: {
|
|
3369
|
+
steps: number;
|
|
3370
|
+
} | undefined;
|
|
1931
3371
|
}> | undefined;
|
|
1932
3372
|
pipelines?: Record<string, string | {
|
|
1933
3373
|
pipeline: string;
|
|
3374
|
+
remote?: boolean | undefined;
|
|
3375
|
+
}> | undefined;
|
|
3376
|
+
images?: Record<string, true | {
|
|
3377
|
+
remote?: boolean | undefined;
|
|
3378
|
+
}> | undefined;
|
|
3379
|
+
media?: Record<string, true | {
|
|
3380
|
+
remote?: boolean | undefined;
|
|
3381
|
+
}> | undefined;
|
|
3382
|
+
artifacts?: Record<string, string | {
|
|
3383
|
+
namespace: string;
|
|
3384
|
+
remote?: boolean | undefined;
|
|
1934
3385
|
}> | undefined;
|
|
1935
|
-
images?: Record<string, true | {}> | undefined;
|
|
1936
3386
|
} | undefined;
|
|
1937
3387
|
triggers?: {
|
|
1938
3388
|
crons?: string[] | undefined;
|
|
1939
3389
|
} | undefined;
|
|
3390
|
+
rules?: {
|
|
3391
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
3392
|
+
globs: string[];
|
|
3393
|
+
fallthrough?: boolean | undefined;
|
|
3394
|
+
}[] | undefined;
|
|
3395
|
+
findAdditionalModules?: boolean | undefined;
|
|
3396
|
+
baseDir?: string | undefined;
|
|
3397
|
+
preserveFileNames?: boolean | undefined;
|
|
3398
|
+
tailConsumers?: (string | {
|
|
3399
|
+
service: string;
|
|
3400
|
+
environment?: string | undefined;
|
|
3401
|
+
})[] | undefined;
|
|
1940
3402
|
vars?: Record<string, string> | undefined;
|
|
1941
3403
|
secrets?: Record<string, {
|
|
1942
3404
|
required?: boolean | undefined;
|
|
@@ -1950,13 +3412,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1950
3412
|
assets?: {
|
|
1951
3413
|
directory: string;
|
|
1952
3414
|
binding?: string | undefined;
|
|
3415
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
3416
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
3417
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
3418
|
+
} | undefined;
|
|
3419
|
+
containers?: {
|
|
3420
|
+
className: string;
|
|
3421
|
+
image: string;
|
|
3422
|
+
maxInstances?: number | undefined;
|
|
3423
|
+
instanceType?: string | undefined;
|
|
3424
|
+
name?: string | undefined;
|
|
3425
|
+
imageBuildContext?: string | undefined;
|
|
3426
|
+
imageVars?: Record<string, string> | undefined;
|
|
3427
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
3428
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
3429
|
+
}[] | undefined;
|
|
3430
|
+
placement?: {
|
|
3431
|
+
mode: "off" | "smart";
|
|
3432
|
+
hint?: string | undefined;
|
|
3433
|
+
} | {
|
|
3434
|
+
mode?: "targeted" | undefined;
|
|
3435
|
+
region: string;
|
|
3436
|
+
} | {
|
|
3437
|
+
mode?: "targeted" | undefined;
|
|
3438
|
+
host: string;
|
|
3439
|
+
} | {
|
|
3440
|
+
mode?: "targeted" | undefined;
|
|
3441
|
+
hostname: string;
|
|
1953
3442
|
} | undefined;
|
|
1954
3443
|
limits?: {
|
|
1955
3444
|
cpu_ms?: number | undefined;
|
|
3445
|
+
subrequests?: number | undefined;
|
|
1956
3446
|
} | undefined;
|
|
1957
3447
|
observability?: {
|
|
1958
3448
|
enabled?: boolean | undefined;
|
|
1959
3449
|
head_sampling_rate?: number | undefined;
|
|
3450
|
+
logs?: {
|
|
3451
|
+
enabled?: boolean | undefined;
|
|
3452
|
+
head_sampling_rate?: number | undefined;
|
|
3453
|
+
invocation_logs?: boolean | undefined;
|
|
3454
|
+
persist?: boolean | undefined;
|
|
3455
|
+
destinations?: string[] | undefined;
|
|
3456
|
+
} | undefined;
|
|
3457
|
+
traces?: {
|
|
3458
|
+
enabled?: boolean | undefined;
|
|
3459
|
+
head_sampling_rate?: number | undefined;
|
|
3460
|
+
persist?: boolean | undefined;
|
|
3461
|
+
destinations?: string[] | undefined;
|
|
3462
|
+
} | undefined;
|
|
1960
3463
|
} | undefined;
|
|
1961
3464
|
migrations?: {
|
|
1962
3465
|
tag: string;
|
|
@@ -1984,6 +3487,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1984
3487
|
}, "strict", z.ZodTypeAny, {
|
|
1985
3488
|
name: string;
|
|
1986
3489
|
accountId?: string | undefined;
|
|
3490
|
+
secretsStoreId?: string | undefined;
|
|
1987
3491
|
compatibilityDate: string;
|
|
1988
3492
|
compatibilityFlags: string[];
|
|
1989
3493
|
previews?: {
|
|
@@ -1994,6 +3498,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1994
3498
|
queue?: string | false | undefined;
|
|
1995
3499
|
scheduled?: string | false | undefined;
|
|
1996
3500
|
email?: string | false | undefined;
|
|
3501
|
+
tail?: string | false | undefined;
|
|
1997
3502
|
durableObjects?: string | false | undefined;
|
|
1998
3503
|
entrypoints?: string | false | undefined;
|
|
1999
3504
|
workflows?: string | false | undefined;
|
|
@@ -2028,6 +3533,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2028
3533
|
retryDelay?: number | undefined;
|
|
2029
3534
|
}[] | undefined;
|
|
2030
3535
|
} | undefined;
|
|
3536
|
+
rateLimits?: Record<string, {
|
|
3537
|
+
namespaceId: string;
|
|
3538
|
+
simple: {
|
|
3539
|
+
limit: number;
|
|
3540
|
+
period: 10 | 60;
|
|
3541
|
+
};
|
|
3542
|
+
}> | undefined;
|
|
3543
|
+
versionMetadata?: {
|
|
3544
|
+
binding: string;
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
3547
|
+
secretsStore?: Record<string, string | {
|
|
3548
|
+
storeId: string;
|
|
3549
|
+
secretName: string;
|
|
3550
|
+
}> | undefined;
|
|
2031
3551
|
services?: Record<string, {
|
|
2032
3552
|
service: string;
|
|
2033
3553
|
environment?: string;
|
|
@@ -2036,19 +3556,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2036
3556
|
}> | undefined;
|
|
2037
3557
|
ai?: {
|
|
2038
3558
|
binding: string;
|
|
3559
|
+
remote?: boolean | undefined;
|
|
3560
|
+
staging?: boolean | undefined;
|
|
2039
3561
|
} | undefined;
|
|
3562
|
+
aiSearchNamespaces?: Record<string, {
|
|
3563
|
+
namespace: string;
|
|
3564
|
+
remote?: boolean | undefined;
|
|
3565
|
+
}> | undefined;
|
|
3566
|
+
aiSearch?: Record<string, {
|
|
3567
|
+
instanceName: string;
|
|
3568
|
+
remote?: boolean | undefined;
|
|
3569
|
+
}> | undefined;
|
|
2040
3570
|
vectorize?: Record<string, {
|
|
2041
3571
|
indexName: string;
|
|
3572
|
+
remote?: boolean | undefined;
|
|
2042
3573
|
}> | undefined;
|
|
2043
3574
|
hyperdrive?: Record<string, string | {
|
|
2044
3575
|
id: string;
|
|
3576
|
+
localConnectionString?: string | undefined;
|
|
2045
3577
|
} | {
|
|
2046
3578
|
name: string;
|
|
3579
|
+
localConnectionString?: string | undefined;
|
|
2047
3580
|
previewFallback?: "base" | undefined;
|
|
2048
3581
|
previewId?: string | undefined;
|
|
2049
3582
|
previewLocalConnectionString?: string | undefined;
|
|
2050
3583
|
}> | undefined;
|
|
2051
|
-
browser?: Record<string, string
|
|
3584
|
+
browser?: Record<string, string | {
|
|
3585
|
+
remote?: boolean | undefined;
|
|
3586
|
+
}> | undefined;
|
|
2052
3587
|
analyticsEngine?: Record<string, {
|
|
2053
3588
|
dataset: string;
|
|
2054
3589
|
}> | undefined;
|
|
@@ -2058,7 +3593,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2058
3593
|
allowedSenderAddresses?: string[] | undefined;
|
|
2059
3594
|
}> | undefined;
|
|
2060
3595
|
mtlsCertificates?: Record<string, string | {
|
|
3596
|
+
certificateId: string;
|
|
3597
|
+
remote?: boolean | undefined;
|
|
3598
|
+
} | {
|
|
2061
3599
|
certificate_id: string;
|
|
3600
|
+
remote?: boolean | undefined;
|
|
2062
3601
|
}> | undefined;
|
|
2063
3602
|
dispatchNamespaces?: Record<string, string | {
|
|
2064
3603
|
namespace: string;
|
|
@@ -2067,20 +3606,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2067
3606
|
environment?: string | undefined;
|
|
2068
3607
|
parameters?: string[] | undefined;
|
|
2069
3608
|
} | undefined;
|
|
3609
|
+
remote?: boolean | undefined;
|
|
2070
3610
|
}> | undefined;
|
|
2071
3611
|
workflows?: Record<string, {
|
|
2072
3612
|
name: string;
|
|
2073
3613
|
className: string;
|
|
2074
3614
|
scriptName?: string | undefined;
|
|
3615
|
+
remote?: boolean | undefined;
|
|
3616
|
+
limits?: {
|
|
3617
|
+
steps: number;
|
|
3618
|
+
} | undefined;
|
|
2075
3619
|
}> | undefined;
|
|
2076
3620
|
pipelines?: Record<string, string | {
|
|
2077
3621
|
pipeline: string;
|
|
3622
|
+
remote?: boolean | undefined;
|
|
3623
|
+
}> | undefined;
|
|
3624
|
+
images?: Record<string, true | {
|
|
3625
|
+
remote?: boolean | undefined;
|
|
3626
|
+
}> | undefined;
|
|
3627
|
+
media?: Record<string, true | {
|
|
3628
|
+
remote?: boolean | undefined;
|
|
3629
|
+
}> | undefined;
|
|
3630
|
+
artifacts?: Record<string, string | {
|
|
3631
|
+
namespace: string;
|
|
3632
|
+
remote?: boolean | undefined;
|
|
2078
3633
|
}> | undefined;
|
|
2079
|
-
images?: Record<string, true | {}> | undefined;
|
|
2080
3634
|
} | undefined;
|
|
2081
3635
|
triggers?: {
|
|
2082
3636
|
crons?: string[] | undefined;
|
|
2083
3637
|
} | undefined;
|
|
3638
|
+
rules?: {
|
|
3639
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
3640
|
+
globs: string[];
|
|
3641
|
+
fallthrough?: boolean | undefined;
|
|
3642
|
+
}[] | undefined;
|
|
3643
|
+
findAdditionalModules?: boolean | undefined;
|
|
3644
|
+
baseDir?: string | undefined;
|
|
3645
|
+
preserveFileNames?: boolean | undefined;
|
|
3646
|
+
tailConsumers?: (string | {
|
|
3647
|
+
service: string;
|
|
3648
|
+
environment?: string | undefined;
|
|
3649
|
+
})[] | undefined;
|
|
2084
3650
|
vars?: Record<string, string> | undefined;
|
|
2085
3651
|
secrets?: Record<string, {
|
|
2086
3652
|
required: boolean;
|
|
@@ -2100,13 +3666,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2100
3666
|
assets?: {
|
|
2101
3667
|
directory: string;
|
|
2102
3668
|
binding?: string | undefined;
|
|
3669
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
3670
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
3671
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
3672
|
+
} | undefined;
|
|
3673
|
+
containers?: {
|
|
3674
|
+
className: string;
|
|
3675
|
+
image: string;
|
|
3676
|
+
maxInstances?: number | undefined;
|
|
3677
|
+
instanceType?: string | undefined;
|
|
3678
|
+
name?: string | undefined;
|
|
3679
|
+
imageBuildContext?: string | undefined;
|
|
3680
|
+
imageVars?: Record<string, string> | undefined;
|
|
3681
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
3682
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
3683
|
+
}[] | undefined;
|
|
3684
|
+
placement?: {
|
|
3685
|
+
mode: "off" | "smart";
|
|
3686
|
+
hint?: string | undefined;
|
|
3687
|
+
} | {
|
|
3688
|
+
mode?: "targeted" | undefined;
|
|
3689
|
+
region: string;
|
|
3690
|
+
} | {
|
|
3691
|
+
mode?: "targeted" | undefined;
|
|
3692
|
+
host: string;
|
|
3693
|
+
} | {
|
|
3694
|
+
mode?: "targeted" | undefined;
|
|
3695
|
+
hostname: string;
|
|
2103
3696
|
} | undefined;
|
|
2104
3697
|
limits?: {
|
|
2105
3698
|
cpu_ms?: number | undefined;
|
|
3699
|
+
subrequests?: number | undefined;
|
|
2106
3700
|
} | undefined;
|
|
2107
3701
|
observability?: {
|
|
2108
3702
|
enabled?: boolean | undefined;
|
|
2109
3703
|
head_sampling_rate?: number | undefined;
|
|
3704
|
+
logs?: {
|
|
3705
|
+
enabled?: boolean | undefined;
|
|
3706
|
+
head_sampling_rate?: number | undefined;
|
|
3707
|
+
invocation_logs?: boolean | undefined;
|
|
3708
|
+
persist?: boolean | undefined;
|
|
3709
|
+
destinations?: string[] | undefined;
|
|
3710
|
+
} | undefined;
|
|
3711
|
+
traces?: {
|
|
3712
|
+
enabled?: boolean | undefined;
|
|
3713
|
+
head_sampling_rate?: number | undefined;
|
|
3714
|
+
persist?: boolean | undefined;
|
|
3715
|
+
destinations?: string[] | undefined;
|
|
3716
|
+
} | undefined;
|
|
2110
3717
|
} | undefined;
|
|
2111
3718
|
migrations?: {
|
|
2112
3719
|
tag: string;
|
|
@@ -2132,6 +3739,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2132
3739
|
} | undefined;
|
|
2133
3740
|
env?: Record<string, {
|
|
2134
3741
|
name?: string | undefined;
|
|
3742
|
+
secretsStoreId?: string | undefined;
|
|
2135
3743
|
compatibilityDate?: string | undefined;
|
|
2136
3744
|
compatibilityFlags?: string[] | undefined;
|
|
2137
3745
|
previews?: {
|
|
@@ -2142,6 +3750,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2142
3750
|
queue?: string | false | undefined;
|
|
2143
3751
|
scheduled?: string | false | undefined;
|
|
2144
3752
|
email?: string | false | undefined;
|
|
3753
|
+
tail?: string | false | undefined;
|
|
2145
3754
|
durableObjects?: string | false | undefined;
|
|
2146
3755
|
entrypoints?: string | false | undefined;
|
|
2147
3756
|
workflows?: string | false | undefined;
|
|
@@ -2176,6 +3785,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2176
3785
|
retryDelay?: number | undefined;
|
|
2177
3786
|
}[] | undefined;
|
|
2178
3787
|
} | undefined;
|
|
3788
|
+
rateLimits?: Record<string, {
|
|
3789
|
+
namespaceId: string;
|
|
3790
|
+
simple: {
|
|
3791
|
+
limit: number;
|
|
3792
|
+
period: 10 | 60;
|
|
3793
|
+
};
|
|
3794
|
+
}> | undefined;
|
|
3795
|
+
versionMetadata?: {
|
|
3796
|
+
binding: string;
|
|
3797
|
+
} | undefined;
|
|
3798
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
3799
|
+
secretsStore?: Record<string, string | {
|
|
3800
|
+
storeId: string;
|
|
3801
|
+
secretName: string;
|
|
3802
|
+
}> | undefined;
|
|
2179
3803
|
services?: Record<string, {
|
|
2180
3804
|
service: string;
|
|
2181
3805
|
environment?: string;
|
|
@@ -2184,19 +3808,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2184
3808
|
}> | undefined;
|
|
2185
3809
|
ai?: {
|
|
2186
3810
|
binding: string;
|
|
3811
|
+
remote?: boolean | undefined;
|
|
3812
|
+
staging?: boolean | undefined;
|
|
2187
3813
|
} | undefined;
|
|
3814
|
+
aiSearchNamespaces?: Record<string, {
|
|
3815
|
+
namespace: string;
|
|
3816
|
+
remote?: boolean | undefined;
|
|
3817
|
+
}> | undefined;
|
|
3818
|
+
aiSearch?: Record<string, {
|
|
3819
|
+
instanceName: string;
|
|
3820
|
+
remote?: boolean | undefined;
|
|
3821
|
+
}> | undefined;
|
|
2188
3822
|
vectorize?: Record<string, {
|
|
2189
3823
|
indexName: string;
|
|
3824
|
+
remote?: boolean | undefined;
|
|
2190
3825
|
}> | undefined;
|
|
2191
3826
|
hyperdrive?: Record<string, string | {
|
|
2192
3827
|
id: string;
|
|
3828
|
+
localConnectionString?: string | undefined;
|
|
2193
3829
|
} | {
|
|
2194
3830
|
name: string;
|
|
3831
|
+
localConnectionString?: string | undefined;
|
|
2195
3832
|
previewFallback?: "base" | undefined;
|
|
2196
3833
|
previewId?: string | undefined;
|
|
2197
3834
|
previewLocalConnectionString?: string | undefined;
|
|
2198
3835
|
}> | undefined;
|
|
2199
|
-
browser?: Record<string, string
|
|
3836
|
+
browser?: Record<string, string | {
|
|
3837
|
+
remote?: boolean | undefined;
|
|
3838
|
+
}> | undefined;
|
|
2200
3839
|
analyticsEngine?: Record<string, {
|
|
2201
3840
|
dataset: string;
|
|
2202
3841
|
}> | undefined;
|
|
@@ -2206,7 +3845,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2206
3845
|
allowedSenderAddresses?: string[] | undefined;
|
|
2207
3846
|
}> | undefined;
|
|
2208
3847
|
mtlsCertificates?: Record<string, string | {
|
|
3848
|
+
certificateId: string;
|
|
3849
|
+
remote?: boolean | undefined;
|
|
3850
|
+
} | {
|
|
2209
3851
|
certificate_id: string;
|
|
3852
|
+
remote?: boolean | undefined;
|
|
2210
3853
|
}> | undefined;
|
|
2211
3854
|
dispatchNamespaces?: Record<string, string | {
|
|
2212
3855
|
namespace: string;
|
|
@@ -2215,20 +3858,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2215
3858
|
environment?: string | undefined;
|
|
2216
3859
|
parameters?: string[] | undefined;
|
|
2217
3860
|
} | undefined;
|
|
3861
|
+
remote?: boolean | undefined;
|
|
2218
3862
|
}> | undefined;
|
|
2219
3863
|
workflows?: Record<string, {
|
|
2220
3864
|
name: string;
|
|
2221
3865
|
className: string;
|
|
2222
3866
|
scriptName?: string | undefined;
|
|
3867
|
+
remote?: boolean | undefined;
|
|
3868
|
+
limits?: {
|
|
3869
|
+
steps: number;
|
|
3870
|
+
} | undefined;
|
|
2223
3871
|
}> | undefined;
|
|
2224
3872
|
pipelines?: Record<string, string | {
|
|
2225
3873
|
pipeline: string;
|
|
3874
|
+
remote?: boolean | undefined;
|
|
3875
|
+
}> | undefined;
|
|
3876
|
+
images?: Record<string, true | {
|
|
3877
|
+
remote?: boolean | undefined;
|
|
3878
|
+
}> | undefined;
|
|
3879
|
+
media?: Record<string, true | {
|
|
3880
|
+
remote?: boolean | undefined;
|
|
3881
|
+
}> | undefined;
|
|
3882
|
+
artifacts?: Record<string, string | {
|
|
3883
|
+
namespace: string;
|
|
3884
|
+
remote?: boolean | undefined;
|
|
2226
3885
|
}> | undefined;
|
|
2227
|
-
images?: Record<string, true | {}> | undefined;
|
|
2228
3886
|
} | undefined;
|
|
2229
3887
|
triggers?: {
|
|
2230
3888
|
crons?: string[] | undefined;
|
|
2231
3889
|
} | undefined;
|
|
3890
|
+
rules?: {
|
|
3891
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
3892
|
+
globs: string[];
|
|
3893
|
+
fallthrough?: boolean | undefined;
|
|
3894
|
+
}[] | undefined;
|
|
3895
|
+
findAdditionalModules?: boolean | undefined;
|
|
3896
|
+
baseDir?: string | undefined;
|
|
3897
|
+
preserveFileNames?: boolean | undefined;
|
|
3898
|
+
tailConsumers?: (string | {
|
|
3899
|
+
service: string;
|
|
3900
|
+
environment?: string | undefined;
|
|
3901
|
+
})[] | undefined;
|
|
2232
3902
|
vars?: Record<string, string> | undefined;
|
|
2233
3903
|
secrets?: Record<string, {
|
|
2234
3904
|
required: boolean;
|
|
@@ -2242,13 +3912,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2242
3912
|
assets?: {
|
|
2243
3913
|
directory: string;
|
|
2244
3914
|
binding?: string | undefined;
|
|
3915
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
3916
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
3917
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
3918
|
+
} | undefined;
|
|
3919
|
+
containers?: {
|
|
3920
|
+
className: string;
|
|
3921
|
+
image: string;
|
|
3922
|
+
maxInstances?: number | undefined;
|
|
3923
|
+
instanceType?: string | undefined;
|
|
3924
|
+
name?: string | undefined;
|
|
3925
|
+
imageBuildContext?: string | undefined;
|
|
3926
|
+
imageVars?: Record<string, string> | undefined;
|
|
3927
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
3928
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
3929
|
+
}[] | undefined;
|
|
3930
|
+
placement?: {
|
|
3931
|
+
mode: "off" | "smart";
|
|
3932
|
+
hint?: string | undefined;
|
|
3933
|
+
} | {
|
|
3934
|
+
mode?: "targeted" | undefined;
|
|
3935
|
+
region: string;
|
|
3936
|
+
} | {
|
|
3937
|
+
mode?: "targeted" | undefined;
|
|
3938
|
+
host: string;
|
|
3939
|
+
} | {
|
|
3940
|
+
mode?: "targeted" | undefined;
|
|
3941
|
+
hostname: string;
|
|
2245
3942
|
} | undefined;
|
|
2246
3943
|
limits?: {
|
|
2247
3944
|
cpu_ms?: number | undefined;
|
|
3945
|
+
subrequests?: number | undefined;
|
|
2248
3946
|
} | undefined;
|
|
2249
3947
|
observability?: {
|
|
2250
3948
|
enabled?: boolean | undefined;
|
|
2251
3949
|
head_sampling_rate?: number | undefined;
|
|
3950
|
+
logs?: {
|
|
3951
|
+
enabled?: boolean | undefined;
|
|
3952
|
+
head_sampling_rate?: number | undefined;
|
|
3953
|
+
invocation_logs?: boolean | undefined;
|
|
3954
|
+
persist?: boolean | undefined;
|
|
3955
|
+
destinations?: string[] | undefined;
|
|
3956
|
+
} | undefined;
|
|
3957
|
+
traces?: {
|
|
3958
|
+
enabled?: boolean | undefined;
|
|
3959
|
+
head_sampling_rate?: number | undefined;
|
|
3960
|
+
persist?: boolean | undefined;
|
|
3961
|
+
destinations?: string[] | undefined;
|
|
3962
|
+
} | undefined;
|
|
2252
3963
|
} | undefined;
|
|
2253
3964
|
migrations?: {
|
|
2254
3965
|
tag: string;
|
|
@@ -2276,6 +3987,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2276
3987
|
}, {
|
|
2277
3988
|
name: string;
|
|
2278
3989
|
accountId?: string | undefined;
|
|
3990
|
+
secretsStoreId?: string | undefined;
|
|
2279
3991
|
compatibilityDate?: string | undefined;
|
|
2280
3992
|
compatibilityFlags?: string[] | undefined;
|
|
2281
3993
|
previews?: {
|
|
@@ -2286,6 +3998,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2286
3998
|
queue?: string | false | undefined;
|
|
2287
3999
|
scheduled?: string | false | undefined;
|
|
2288
4000
|
email?: string | false | undefined;
|
|
4001
|
+
tail?: string | false | undefined;
|
|
2289
4002
|
durableObjects?: string | false | undefined;
|
|
2290
4003
|
entrypoints?: string | false | undefined;
|
|
2291
4004
|
workflows?: string | false | undefined;
|
|
@@ -2320,6 +4033,21 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2320
4033
|
retryDelay?: number | undefined;
|
|
2321
4034
|
}[] | undefined;
|
|
2322
4035
|
} | undefined;
|
|
4036
|
+
rateLimits?: Record<string, {
|
|
4037
|
+
namespaceId: string;
|
|
4038
|
+
simple: {
|
|
4039
|
+
limit: number;
|
|
4040
|
+
period: 10 | 60;
|
|
4041
|
+
};
|
|
4042
|
+
}> | undefined;
|
|
4043
|
+
versionMetadata?: {
|
|
4044
|
+
binding: string;
|
|
4045
|
+
} | undefined;
|
|
4046
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
4047
|
+
secretsStore?: Record<string, string | {
|
|
4048
|
+
storeId: string;
|
|
4049
|
+
secretName: string;
|
|
4050
|
+
}> | undefined;
|
|
2323
4051
|
services?: Record<string, {
|
|
2324
4052
|
service: string;
|
|
2325
4053
|
environment?: string;
|
|
@@ -2328,19 +4056,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2328
4056
|
}> | undefined;
|
|
2329
4057
|
ai?: {
|
|
2330
4058
|
binding: string;
|
|
4059
|
+
remote?: boolean | undefined;
|
|
4060
|
+
staging?: boolean | undefined;
|
|
2331
4061
|
} | undefined;
|
|
4062
|
+
aiSearchNamespaces?: Record<string, {
|
|
4063
|
+
namespace: string;
|
|
4064
|
+
remote?: boolean | undefined;
|
|
4065
|
+
}> | undefined;
|
|
4066
|
+
aiSearch?: Record<string, {
|
|
4067
|
+
instanceName: string;
|
|
4068
|
+
remote?: boolean | undefined;
|
|
4069
|
+
}> | undefined;
|
|
2332
4070
|
vectorize?: Record<string, {
|
|
2333
4071
|
indexName: string;
|
|
4072
|
+
remote?: boolean | undefined;
|
|
2334
4073
|
}> | undefined;
|
|
2335
4074
|
hyperdrive?: Record<string, string | {
|
|
2336
4075
|
id: string;
|
|
4076
|
+
localConnectionString?: string | undefined;
|
|
2337
4077
|
} | {
|
|
2338
4078
|
name: string;
|
|
4079
|
+
localConnectionString?: string | undefined;
|
|
2339
4080
|
previewFallback?: "base" | undefined;
|
|
2340
4081
|
previewId?: string | undefined;
|
|
2341
4082
|
previewLocalConnectionString?: string | undefined;
|
|
2342
4083
|
}> | undefined;
|
|
2343
|
-
browser?: Record<string, string
|
|
4084
|
+
browser?: Record<string, string | {
|
|
4085
|
+
remote?: boolean | undefined;
|
|
4086
|
+
}> | undefined;
|
|
2344
4087
|
analyticsEngine?: Record<string, {
|
|
2345
4088
|
dataset: string;
|
|
2346
4089
|
}> | undefined;
|
|
@@ -2350,7 +4093,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2350
4093
|
allowedSenderAddresses?: string[] | undefined;
|
|
2351
4094
|
}> | undefined;
|
|
2352
4095
|
mtlsCertificates?: Record<string, string | {
|
|
4096
|
+
certificateId: string;
|
|
4097
|
+
remote?: boolean | undefined;
|
|
4098
|
+
} | {
|
|
2353
4099
|
certificate_id: string;
|
|
4100
|
+
remote?: boolean | undefined;
|
|
2354
4101
|
}> | undefined;
|
|
2355
4102
|
dispatchNamespaces?: Record<string, string | {
|
|
2356
4103
|
namespace: string;
|
|
@@ -2359,20 +4106,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2359
4106
|
environment?: string | undefined;
|
|
2360
4107
|
parameters?: string[] | undefined;
|
|
2361
4108
|
} | undefined;
|
|
4109
|
+
remote?: boolean | undefined;
|
|
2362
4110
|
}> | undefined;
|
|
2363
4111
|
workflows?: Record<string, {
|
|
2364
4112
|
name: string;
|
|
2365
4113
|
className: string;
|
|
2366
4114
|
scriptName?: string | undefined;
|
|
4115
|
+
remote?: boolean | undefined;
|
|
4116
|
+
limits?: {
|
|
4117
|
+
steps: number;
|
|
4118
|
+
} | undefined;
|
|
2367
4119
|
}> | undefined;
|
|
2368
4120
|
pipelines?: Record<string, string | {
|
|
2369
4121
|
pipeline: string;
|
|
4122
|
+
remote?: boolean | undefined;
|
|
4123
|
+
}> | undefined;
|
|
4124
|
+
images?: Record<string, true | {
|
|
4125
|
+
remote?: boolean | undefined;
|
|
4126
|
+
}> | undefined;
|
|
4127
|
+
media?: Record<string, true | {
|
|
4128
|
+
remote?: boolean | undefined;
|
|
4129
|
+
}> | undefined;
|
|
4130
|
+
artifacts?: Record<string, string | {
|
|
4131
|
+
namespace: string;
|
|
4132
|
+
remote?: boolean | undefined;
|
|
2370
4133
|
}> | undefined;
|
|
2371
|
-
images?: Record<string, true | {}> | undefined;
|
|
2372
4134
|
} | undefined;
|
|
2373
4135
|
triggers?: {
|
|
2374
4136
|
crons?: string[] | undefined;
|
|
2375
4137
|
} | undefined;
|
|
4138
|
+
rules?: {
|
|
4139
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
4140
|
+
globs: string[];
|
|
4141
|
+
fallthrough?: boolean | undefined;
|
|
4142
|
+
}[] | undefined;
|
|
4143
|
+
findAdditionalModules?: boolean | undefined;
|
|
4144
|
+
baseDir?: string | undefined;
|
|
4145
|
+
preserveFileNames?: boolean | undefined;
|
|
4146
|
+
tailConsumers?: (string | {
|
|
4147
|
+
service: string;
|
|
4148
|
+
environment?: string | undefined;
|
|
4149
|
+
})[] | undefined;
|
|
2376
4150
|
vars?: Record<string, string> | undefined;
|
|
2377
4151
|
secrets?: Record<string, {
|
|
2378
4152
|
required?: boolean | undefined;
|
|
@@ -2392,13 +4166,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2392
4166
|
assets?: {
|
|
2393
4167
|
directory: string;
|
|
2394
4168
|
binding?: string | undefined;
|
|
4169
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
4170
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
4171
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
4172
|
+
} | undefined;
|
|
4173
|
+
containers?: {
|
|
4174
|
+
className: string;
|
|
4175
|
+
image: string;
|
|
4176
|
+
maxInstances?: number | undefined;
|
|
4177
|
+
instanceType?: string | undefined;
|
|
4178
|
+
name?: string | undefined;
|
|
4179
|
+
imageBuildContext?: string | undefined;
|
|
4180
|
+
imageVars?: Record<string, string> | undefined;
|
|
4181
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
4182
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
4183
|
+
}[] | undefined;
|
|
4184
|
+
placement?: {
|
|
4185
|
+
mode: "off" | "smart";
|
|
4186
|
+
hint?: string | undefined;
|
|
4187
|
+
} | {
|
|
4188
|
+
mode?: "targeted" | undefined;
|
|
4189
|
+
region: string;
|
|
4190
|
+
} | {
|
|
4191
|
+
mode?: "targeted" | undefined;
|
|
4192
|
+
host: string;
|
|
4193
|
+
} | {
|
|
4194
|
+
mode?: "targeted" | undefined;
|
|
4195
|
+
hostname: string;
|
|
2395
4196
|
} | undefined;
|
|
2396
4197
|
limits?: {
|
|
2397
4198
|
cpu_ms?: number | undefined;
|
|
4199
|
+
subrequests?: number | undefined;
|
|
2398
4200
|
} | undefined;
|
|
2399
4201
|
observability?: {
|
|
2400
4202
|
enabled?: boolean | undefined;
|
|
2401
4203
|
head_sampling_rate?: number | undefined;
|
|
4204
|
+
logs?: {
|
|
4205
|
+
enabled?: boolean | undefined;
|
|
4206
|
+
head_sampling_rate?: number | undefined;
|
|
4207
|
+
invocation_logs?: boolean | undefined;
|
|
4208
|
+
persist?: boolean | undefined;
|
|
4209
|
+
destinations?: string[] | undefined;
|
|
4210
|
+
} | undefined;
|
|
4211
|
+
traces?: {
|
|
4212
|
+
enabled?: boolean | undefined;
|
|
4213
|
+
head_sampling_rate?: number | undefined;
|
|
4214
|
+
persist?: boolean | undefined;
|
|
4215
|
+
destinations?: string[] | undefined;
|
|
4216
|
+
} | undefined;
|
|
2402
4217
|
} | undefined;
|
|
2403
4218
|
migrations?: {
|
|
2404
4219
|
tag: string;
|
|
@@ -2424,6 +4239,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2424
4239
|
} | undefined;
|
|
2425
4240
|
env?: Record<string, {
|
|
2426
4241
|
name?: string | undefined;
|
|
4242
|
+
secretsStoreId?: string | undefined;
|
|
2427
4243
|
compatibilityDate?: string | undefined;
|
|
2428
4244
|
compatibilityFlags?: string[] | undefined;
|
|
2429
4245
|
previews?: {
|
|
@@ -2434,6 +4250,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2434
4250
|
queue?: string | false | undefined;
|
|
2435
4251
|
scheduled?: string | false | undefined;
|
|
2436
4252
|
email?: string | false | undefined;
|
|
4253
|
+
tail?: string | false | undefined;
|
|
2437
4254
|
durableObjects?: string | false | undefined;
|
|
2438
4255
|
entrypoints?: string | false | undefined;
|
|
2439
4256
|
workflows?: string | false | undefined;
|
|
@@ -2468,6 +4285,1021 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2468
4285
|
retryDelay?: number | undefined;
|
|
2469
4286
|
}[] | undefined;
|
|
2470
4287
|
} | undefined;
|
|
4288
|
+
rateLimits?: Record<string, {
|
|
4289
|
+
namespaceId: string;
|
|
4290
|
+
simple: {
|
|
4291
|
+
limit: number;
|
|
4292
|
+
period: 10 | 60;
|
|
4293
|
+
};
|
|
4294
|
+
}> | undefined;
|
|
4295
|
+
versionMetadata?: {
|
|
4296
|
+
binding: string;
|
|
4297
|
+
} | undefined;
|
|
4298
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
4299
|
+
secretsStore?: Record<string, string | {
|
|
4300
|
+
storeId: string;
|
|
4301
|
+
secretName: string;
|
|
4302
|
+
}> | undefined;
|
|
4303
|
+
services?: Record<string, {
|
|
4304
|
+
service: string;
|
|
4305
|
+
environment?: string;
|
|
4306
|
+
entrypoint?: string;
|
|
4307
|
+
__ref?: unknown;
|
|
4308
|
+
}> | undefined;
|
|
4309
|
+
ai?: {
|
|
4310
|
+
binding: string;
|
|
4311
|
+
remote?: boolean | undefined;
|
|
4312
|
+
staging?: boolean | undefined;
|
|
4313
|
+
} | undefined;
|
|
4314
|
+
aiSearchNamespaces?: Record<string, {
|
|
4315
|
+
namespace: string;
|
|
4316
|
+
remote?: boolean | undefined;
|
|
4317
|
+
}> | undefined;
|
|
4318
|
+
aiSearch?: Record<string, {
|
|
4319
|
+
instanceName: string;
|
|
4320
|
+
remote?: boolean | undefined;
|
|
4321
|
+
}> | undefined;
|
|
4322
|
+
vectorize?: Record<string, {
|
|
4323
|
+
indexName: string;
|
|
4324
|
+
remote?: boolean | undefined;
|
|
4325
|
+
}> | undefined;
|
|
4326
|
+
hyperdrive?: Record<string, string | {
|
|
4327
|
+
id: string;
|
|
4328
|
+
localConnectionString?: string | undefined;
|
|
4329
|
+
} | {
|
|
4330
|
+
name: string;
|
|
4331
|
+
localConnectionString?: string | undefined;
|
|
4332
|
+
previewFallback?: "base" | undefined;
|
|
4333
|
+
previewId?: string | undefined;
|
|
4334
|
+
previewLocalConnectionString?: string | undefined;
|
|
4335
|
+
}> | undefined;
|
|
4336
|
+
browser?: Record<string, string | {
|
|
4337
|
+
remote?: boolean | undefined;
|
|
4338
|
+
}> | undefined;
|
|
4339
|
+
analyticsEngine?: Record<string, {
|
|
4340
|
+
dataset: string;
|
|
4341
|
+
}> | undefined;
|
|
4342
|
+
sendEmail?: Record<string, {
|
|
4343
|
+
destinationAddress?: string | undefined;
|
|
4344
|
+
allowedDestinationAddresses?: string[] | undefined;
|
|
4345
|
+
allowedSenderAddresses?: string[] | undefined;
|
|
4346
|
+
}> | undefined;
|
|
4347
|
+
mtlsCertificates?: Record<string, string | {
|
|
4348
|
+
certificateId: string;
|
|
4349
|
+
remote?: boolean | undefined;
|
|
4350
|
+
} | {
|
|
4351
|
+
certificate_id: string;
|
|
4352
|
+
remote?: boolean | undefined;
|
|
4353
|
+
}> | undefined;
|
|
4354
|
+
dispatchNamespaces?: Record<string, string | {
|
|
4355
|
+
namespace: string;
|
|
4356
|
+
outbound?: {
|
|
4357
|
+
service: string;
|
|
4358
|
+
environment?: string | undefined;
|
|
4359
|
+
parameters?: string[] | undefined;
|
|
4360
|
+
} | undefined;
|
|
4361
|
+
remote?: boolean | undefined;
|
|
4362
|
+
}> | undefined;
|
|
4363
|
+
workflows?: Record<string, {
|
|
4364
|
+
name: string;
|
|
4365
|
+
className: string;
|
|
4366
|
+
scriptName?: string | undefined;
|
|
4367
|
+
remote?: boolean | undefined;
|
|
4368
|
+
limits?: {
|
|
4369
|
+
steps: number;
|
|
4370
|
+
} | undefined;
|
|
4371
|
+
}> | undefined;
|
|
4372
|
+
pipelines?: Record<string, string | {
|
|
4373
|
+
pipeline: string;
|
|
4374
|
+
remote?: boolean | undefined;
|
|
4375
|
+
}> | undefined;
|
|
4376
|
+
images?: Record<string, true | {
|
|
4377
|
+
remote?: boolean | undefined;
|
|
4378
|
+
}> | undefined;
|
|
4379
|
+
media?: Record<string, true | {
|
|
4380
|
+
remote?: boolean | undefined;
|
|
4381
|
+
}> | undefined;
|
|
4382
|
+
artifacts?: Record<string, string | {
|
|
4383
|
+
namespace: string;
|
|
4384
|
+
remote?: boolean | undefined;
|
|
4385
|
+
}> | undefined;
|
|
4386
|
+
} | undefined;
|
|
4387
|
+
triggers?: {
|
|
4388
|
+
crons?: string[] | undefined;
|
|
4389
|
+
} | undefined;
|
|
4390
|
+
rules?: {
|
|
4391
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
4392
|
+
globs: string[];
|
|
4393
|
+
fallthrough?: boolean | undefined;
|
|
4394
|
+
}[] | undefined;
|
|
4395
|
+
findAdditionalModules?: boolean | undefined;
|
|
4396
|
+
baseDir?: string | undefined;
|
|
4397
|
+
preserveFileNames?: boolean | undefined;
|
|
4398
|
+
tailConsumers?: (string | {
|
|
4399
|
+
service: string;
|
|
4400
|
+
environment?: string | undefined;
|
|
4401
|
+
})[] | undefined;
|
|
4402
|
+
vars?: Record<string, string> | undefined;
|
|
4403
|
+
secrets?: Record<string, {
|
|
4404
|
+
required?: boolean | undefined;
|
|
4405
|
+
}> | undefined;
|
|
4406
|
+
routes?: {
|
|
4407
|
+
pattern: string;
|
|
4408
|
+
zone_name?: string | undefined;
|
|
4409
|
+
zone_id?: string | undefined;
|
|
4410
|
+
custom_domain?: boolean | undefined;
|
|
4411
|
+
}[] | undefined;
|
|
4412
|
+
assets?: {
|
|
4413
|
+
directory: string;
|
|
4414
|
+
binding?: string | undefined;
|
|
4415
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
4416
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
4417
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
4418
|
+
} | undefined;
|
|
4419
|
+
containers?: {
|
|
4420
|
+
className: string;
|
|
4421
|
+
image: string;
|
|
4422
|
+
maxInstances?: number | undefined;
|
|
4423
|
+
instanceType?: string | undefined;
|
|
4424
|
+
name?: string | undefined;
|
|
4425
|
+
imageBuildContext?: string | undefined;
|
|
4426
|
+
imageVars?: Record<string, string> | undefined;
|
|
4427
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
4428
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
4429
|
+
}[] | undefined;
|
|
4430
|
+
placement?: {
|
|
4431
|
+
mode: "off" | "smart";
|
|
4432
|
+
hint?: string | undefined;
|
|
4433
|
+
} | {
|
|
4434
|
+
mode?: "targeted" | undefined;
|
|
4435
|
+
region: string;
|
|
4436
|
+
} | {
|
|
4437
|
+
mode?: "targeted" | undefined;
|
|
4438
|
+
host: string;
|
|
4439
|
+
} | {
|
|
4440
|
+
mode?: "targeted" | undefined;
|
|
4441
|
+
hostname: string;
|
|
4442
|
+
} | undefined;
|
|
4443
|
+
limits?: {
|
|
4444
|
+
cpu_ms?: number | undefined;
|
|
4445
|
+
subrequests?: number | undefined;
|
|
4446
|
+
} | undefined;
|
|
4447
|
+
observability?: {
|
|
4448
|
+
enabled?: boolean | undefined;
|
|
4449
|
+
head_sampling_rate?: number | undefined;
|
|
4450
|
+
logs?: {
|
|
4451
|
+
enabled?: boolean | undefined;
|
|
4452
|
+
head_sampling_rate?: number | undefined;
|
|
4453
|
+
invocation_logs?: boolean | undefined;
|
|
4454
|
+
persist?: boolean | undefined;
|
|
4455
|
+
destinations?: string[] | undefined;
|
|
4456
|
+
} | undefined;
|
|
4457
|
+
traces?: {
|
|
4458
|
+
enabled?: boolean | undefined;
|
|
4459
|
+
head_sampling_rate?: number | undefined;
|
|
4460
|
+
persist?: boolean | undefined;
|
|
4461
|
+
destinations?: string[] | undefined;
|
|
4462
|
+
} | undefined;
|
|
4463
|
+
} | undefined;
|
|
4464
|
+
migrations?: {
|
|
4465
|
+
tag: string;
|
|
4466
|
+
new_classes?: string[] | undefined;
|
|
4467
|
+
renamed_classes?: {
|
|
4468
|
+
from: string;
|
|
4469
|
+
to: string;
|
|
4470
|
+
}[] | undefined;
|
|
4471
|
+
deleted_classes?: string[] | undefined;
|
|
4472
|
+
new_sqlite_classes?: string[] | undefined;
|
|
4473
|
+
}[] | undefined;
|
|
4474
|
+
rolldown?: {
|
|
4475
|
+
target?: string | undefined;
|
|
4476
|
+
minify?: boolean | undefined;
|
|
4477
|
+
sourcemap?: boolean | undefined;
|
|
4478
|
+
options?: import("./schema-build").DevflareRolldownOptions | undefined;
|
|
4479
|
+
} | undefined;
|
|
4480
|
+
vite?: z.objectInputType<{
|
|
4481
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
4482
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
4483
|
+
wrangler?: {
|
|
4484
|
+
passthrough?: Record<string, unknown> | undefined;
|
|
4485
|
+
} | undefined;
|
|
4486
|
+
}> | undefined;
|
|
4487
|
+
}>, {
|
|
4488
|
+
name: string;
|
|
4489
|
+
accountId?: string | undefined;
|
|
4490
|
+
secretsStoreId?: string | undefined;
|
|
4491
|
+
compatibilityDate: string;
|
|
4492
|
+
compatibilityFlags: string[];
|
|
4493
|
+
previews?: {
|
|
4494
|
+
includeCrons: boolean;
|
|
4495
|
+
} | undefined;
|
|
4496
|
+
files?: {
|
|
4497
|
+
fetch?: string | false | undefined;
|
|
4498
|
+
queue?: string | false | undefined;
|
|
4499
|
+
scheduled?: string | false | undefined;
|
|
4500
|
+
email?: string | false | undefined;
|
|
4501
|
+
tail?: string | false | undefined;
|
|
4502
|
+
durableObjects?: string | false | undefined;
|
|
4503
|
+
entrypoints?: string | false | undefined;
|
|
4504
|
+
workflows?: string | false | undefined;
|
|
4505
|
+
routes?: false | {
|
|
4506
|
+
dir: string;
|
|
4507
|
+
prefix?: string | undefined;
|
|
4508
|
+
} | undefined;
|
|
4509
|
+
transport?: string | null | undefined;
|
|
4510
|
+
} | undefined;
|
|
4511
|
+
bindings?: {
|
|
4512
|
+
kv?: Record<string, string | {
|
|
4513
|
+
id: string;
|
|
4514
|
+
} | {
|
|
4515
|
+
name: string;
|
|
4516
|
+
}> | undefined;
|
|
4517
|
+
d1?: Record<string, string | {
|
|
4518
|
+
id: string;
|
|
4519
|
+
} | {
|
|
4520
|
+
name: string;
|
|
4521
|
+
}> | undefined;
|
|
4522
|
+
r2?: Record<string, string> | undefined;
|
|
4523
|
+
durableObjects?: Record<string, import("./schema-bindings").DurableObjectBindingInput> | undefined;
|
|
4524
|
+
queues?: {
|
|
4525
|
+
producers?: Record<string, string> | undefined;
|
|
4526
|
+
consumers?: {
|
|
4527
|
+
queue: string;
|
|
4528
|
+
maxBatchSize?: number | undefined;
|
|
4529
|
+
maxBatchTimeout?: number | undefined;
|
|
4530
|
+
maxRetries?: number | undefined;
|
|
4531
|
+
deadLetterQueue?: string | undefined;
|
|
4532
|
+
maxConcurrency?: number | undefined;
|
|
4533
|
+
retryDelay?: number | undefined;
|
|
4534
|
+
}[] | undefined;
|
|
4535
|
+
} | undefined;
|
|
4536
|
+
rateLimits?: Record<string, {
|
|
4537
|
+
namespaceId: string;
|
|
4538
|
+
simple: {
|
|
4539
|
+
limit: number;
|
|
4540
|
+
period: 10 | 60;
|
|
4541
|
+
};
|
|
4542
|
+
}> | undefined;
|
|
4543
|
+
versionMetadata?: {
|
|
4544
|
+
binding: string;
|
|
4545
|
+
} | undefined;
|
|
4546
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
4547
|
+
secretsStore?: Record<string, string | {
|
|
4548
|
+
storeId: string;
|
|
4549
|
+
secretName: string;
|
|
4550
|
+
}> | undefined;
|
|
4551
|
+
services?: Record<string, {
|
|
4552
|
+
service: string;
|
|
4553
|
+
environment?: string;
|
|
4554
|
+
entrypoint?: string;
|
|
4555
|
+
__ref?: unknown;
|
|
4556
|
+
}> | undefined;
|
|
4557
|
+
ai?: {
|
|
4558
|
+
binding: string;
|
|
4559
|
+
remote?: boolean | undefined;
|
|
4560
|
+
staging?: boolean | undefined;
|
|
4561
|
+
} | undefined;
|
|
4562
|
+
aiSearchNamespaces?: Record<string, {
|
|
4563
|
+
namespace: string;
|
|
4564
|
+
remote?: boolean | undefined;
|
|
4565
|
+
}> | undefined;
|
|
4566
|
+
aiSearch?: Record<string, {
|
|
4567
|
+
instanceName: string;
|
|
4568
|
+
remote?: boolean | undefined;
|
|
4569
|
+
}> | undefined;
|
|
4570
|
+
vectorize?: Record<string, {
|
|
4571
|
+
indexName: string;
|
|
4572
|
+
remote?: boolean | undefined;
|
|
4573
|
+
}> | undefined;
|
|
4574
|
+
hyperdrive?: Record<string, string | {
|
|
4575
|
+
id: string;
|
|
4576
|
+
localConnectionString?: string | undefined;
|
|
4577
|
+
} | {
|
|
4578
|
+
name: string;
|
|
4579
|
+
localConnectionString?: string | undefined;
|
|
4580
|
+
previewFallback?: "base" | undefined;
|
|
4581
|
+
previewId?: string | undefined;
|
|
4582
|
+
previewLocalConnectionString?: string | undefined;
|
|
4583
|
+
}> | undefined;
|
|
4584
|
+
browser?: Record<string, string | {
|
|
4585
|
+
remote?: boolean | undefined;
|
|
4586
|
+
}> | undefined;
|
|
4587
|
+
analyticsEngine?: Record<string, {
|
|
4588
|
+
dataset: string;
|
|
4589
|
+
}> | undefined;
|
|
4590
|
+
sendEmail?: Record<string, {
|
|
4591
|
+
destinationAddress?: string | undefined;
|
|
4592
|
+
allowedDestinationAddresses?: string[] | undefined;
|
|
4593
|
+
allowedSenderAddresses?: string[] | undefined;
|
|
4594
|
+
}> | undefined;
|
|
4595
|
+
mtlsCertificates?: Record<string, string | {
|
|
4596
|
+
certificateId: string;
|
|
4597
|
+
remote?: boolean | undefined;
|
|
4598
|
+
} | {
|
|
4599
|
+
certificate_id: string;
|
|
4600
|
+
remote?: boolean | undefined;
|
|
4601
|
+
}> | undefined;
|
|
4602
|
+
dispatchNamespaces?: Record<string, string | {
|
|
4603
|
+
namespace: string;
|
|
4604
|
+
outbound?: {
|
|
4605
|
+
service: string;
|
|
4606
|
+
environment?: string | undefined;
|
|
4607
|
+
parameters?: string[] | undefined;
|
|
4608
|
+
} | undefined;
|
|
4609
|
+
remote?: boolean | undefined;
|
|
4610
|
+
}> | undefined;
|
|
4611
|
+
workflows?: Record<string, {
|
|
4612
|
+
name: string;
|
|
4613
|
+
className: string;
|
|
4614
|
+
scriptName?: string | undefined;
|
|
4615
|
+
remote?: boolean | undefined;
|
|
4616
|
+
limits?: {
|
|
4617
|
+
steps: number;
|
|
4618
|
+
} | undefined;
|
|
4619
|
+
}> | undefined;
|
|
4620
|
+
pipelines?: Record<string, string | {
|
|
4621
|
+
pipeline: string;
|
|
4622
|
+
remote?: boolean | undefined;
|
|
4623
|
+
}> | undefined;
|
|
4624
|
+
images?: Record<string, true | {
|
|
4625
|
+
remote?: boolean | undefined;
|
|
4626
|
+
}> | undefined;
|
|
4627
|
+
media?: Record<string, true | {
|
|
4628
|
+
remote?: boolean | undefined;
|
|
4629
|
+
}> | undefined;
|
|
4630
|
+
artifacts?: Record<string, string | {
|
|
4631
|
+
namespace: string;
|
|
4632
|
+
remote?: boolean | undefined;
|
|
4633
|
+
}> | undefined;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
triggers?: {
|
|
4636
|
+
crons?: string[] | undefined;
|
|
4637
|
+
} | undefined;
|
|
4638
|
+
rules?: {
|
|
4639
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
4640
|
+
globs: string[];
|
|
4641
|
+
fallthrough?: boolean | undefined;
|
|
4642
|
+
}[] | undefined;
|
|
4643
|
+
findAdditionalModules?: boolean | undefined;
|
|
4644
|
+
baseDir?: string | undefined;
|
|
4645
|
+
preserveFileNames?: boolean | undefined;
|
|
4646
|
+
tailConsumers?: (string | {
|
|
4647
|
+
service: string;
|
|
4648
|
+
environment?: string | undefined;
|
|
4649
|
+
})[] | undefined;
|
|
4650
|
+
vars?: Record<string, string> | undefined;
|
|
4651
|
+
secrets?: Record<string, {
|
|
4652
|
+
required: boolean;
|
|
4653
|
+
}> | undefined;
|
|
4654
|
+
routes?: {
|
|
4655
|
+
pattern: string;
|
|
4656
|
+
zone_name?: string | undefined;
|
|
4657
|
+
zone_id?: string | undefined;
|
|
4658
|
+
custom_domain?: boolean | undefined;
|
|
4659
|
+
}[] | undefined;
|
|
4660
|
+
wsRoutes?: {
|
|
4661
|
+
pattern: string;
|
|
4662
|
+
doNamespace: string;
|
|
4663
|
+
idParam: string;
|
|
4664
|
+
forwardPath: string;
|
|
4665
|
+
}[] | undefined;
|
|
4666
|
+
assets?: {
|
|
4667
|
+
directory: string;
|
|
4668
|
+
binding?: string | undefined;
|
|
4669
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
4670
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
4671
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
4672
|
+
} | undefined;
|
|
4673
|
+
containers?: {
|
|
4674
|
+
className: string;
|
|
4675
|
+
image: string;
|
|
4676
|
+
maxInstances?: number | undefined;
|
|
4677
|
+
instanceType?: string | undefined;
|
|
4678
|
+
name?: string | undefined;
|
|
4679
|
+
imageBuildContext?: string | undefined;
|
|
4680
|
+
imageVars?: Record<string, string> | undefined;
|
|
4681
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
4682
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
4683
|
+
}[] | undefined;
|
|
4684
|
+
placement?: {
|
|
4685
|
+
mode: "off" | "smart";
|
|
4686
|
+
hint?: string | undefined;
|
|
4687
|
+
} | {
|
|
4688
|
+
mode?: "targeted" | undefined;
|
|
4689
|
+
region: string;
|
|
4690
|
+
} | {
|
|
4691
|
+
mode?: "targeted" | undefined;
|
|
4692
|
+
host: string;
|
|
4693
|
+
} | {
|
|
4694
|
+
mode?: "targeted" | undefined;
|
|
4695
|
+
hostname: string;
|
|
4696
|
+
} | undefined;
|
|
4697
|
+
limits?: {
|
|
4698
|
+
cpu_ms?: number | undefined;
|
|
4699
|
+
subrequests?: number | undefined;
|
|
4700
|
+
} | undefined;
|
|
4701
|
+
observability?: {
|
|
4702
|
+
enabled?: boolean | undefined;
|
|
4703
|
+
head_sampling_rate?: number | undefined;
|
|
4704
|
+
logs?: {
|
|
4705
|
+
enabled?: boolean | undefined;
|
|
4706
|
+
head_sampling_rate?: number | undefined;
|
|
4707
|
+
invocation_logs?: boolean | undefined;
|
|
4708
|
+
persist?: boolean | undefined;
|
|
4709
|
+
destinations?: string[] | undefined;
|
|
4710
|
+
} | undefined;
|
|
4711
|
+
traces?: {
|
|
4712
|
+
enabled?: boolean | undefined;
|
|
4713
|
+
head_sampling_rate?: number | undefined;
|
|
4714
|
+
persist?: boolean | undefined;
|
|
4715
|
+
destinations?: string[] | undefined;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
} | undefined;
|
|
4718
|
+
migrations?: {
|
|
4719
|
+
tag: string;
|
|
4720
|
+
new_classes?: string[] | undefined;
|
|
4721
|
+
renamed_classes?: {
|
|
4722
|
+
from: string;
|
|
4723
|
+
to: string;
|
|
4724
|
+
}[] | undefined;
|
|
4725
|
+
deleted_classes?: string[] | undefined;
|
|
4726
|
+
new_sqlite_classes?: string[] | undefined;
|
|
4727
|
+
}[] | undefined;
|
|
4728
|
+
rolldown?: {
|
|
4729
|
+
target?: string | undefined;
|
|
4730
|
+
minify?: boolean | undefined;
|
|
4731
|
+
sourcemap?: boolean | undefined;
|
|
4732
|
+
options?: import("./schema-build").DevflareRolldownOptions | undefined;
|
|
4733
|
+
} | undefined;
|
|
4734
|
+
vite?: z.objectOutputType<{
|
|
4735
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
4736
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
4737
|
+
wrangler?: {
|
|
4738
|
+
passthrough?: Record<string, unknown> | undefined;
|
|
4739
|
+
} | undefined;
|
|
4740
|
+
env?: Record<string, {
|
|
4741
|
+
name?: string | undefined;
|
|
4742
|
+
secretsStoreId?: string | undefined;
|
|
4743
|
+
compatibilityDate?: string | undefined;
|
|
4744
|
+
compatibilityFlags?: string[] | undefined;
|
|
4745
|
+
previews?: {
|
|
4746
|
+
includeCrons: boolean;
|
|
4747
|
+
} | undefined;
|
|
4748
|
+
files?: {
|
|
4749
|
+
fetch?: string | false | undefined;
|
|
4750
|
+
queue?: string | false | undefined;
|
|
4751
|
+
scheduled?: string | false | undefined;
|
|
4752
|
+
email?: string | false | undefined;
|
|
4753
|
+
tail?: string | false | undefined;
|
|
4754
|
+
durableObjects?: string | false | undefined;
|
|
4755
|
+
entrypoints?: string | false | undefined;
|
|
4756
|
+
workflows?: string | false | undefined;
|
|
4757
|
+
routes?: false | {
|
|
4758
|
+
dir: string;
|
|
4759
|
+
prefix?: string | undefined;
|
|
4760
|
+
} | undefined;
|
|
4761
|
+
transport?: string | null | undefined;
|
|
4762
|
+
} | undefined;
|
|
4763
|
+
bindings?: {
|
|
4764
|
+
kv?: Record<string, string | {
|
|
4765
|
+
id: string;
|
|
4766
|
+
} | {
|
|
4767
|
+
name: string;
|
|
4768
|
+
}> | undefined;
|
|
4769
|
+
d1?: Record<string, string | {
|
|
4770
|
+
id: string;
|
|
4771
|
+
} | {
|
|
4772
|
+
name: string;
|
|
4773
|
+
}> | undefined;
|
|
4774
|
+
r2?: Record<string, string> | undefined;
|
|
4775
|
+
durableObjects?: Record<string, import("./schema-bindings").DurableObjectBindingInput> | undefined;
|
|
4776
|
+
queues?: {
|
|
4777
|
+
producers?: Record<string, string> | undefined;
|
|
4778
|
+
consumers?: {
|
|
4779
|
+
queue: string;
|
|
4780
|
+
maxBatchSize?: number | undefined;
|
|
4781
|
+
maxBatchTimeout?: number | undefined;
|
|
4782
|
+
maxRetries?: number | undefined;
|
|
4783
|
+
deadLetterQueue?: string | undefined;
|
|
4784
|
+
maxConcurrency?: number | undefined;
|
|
4785
|
+
retryDelay?: number | undefined;
|
|
4786
|
+
}[] | undefined;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
rateLimits?: Record<string, {
|
|
4789
|
+
namespaceId: string;
|
|
4790
|
+
simple: {
|
|
4791
|
+
limit: number;
|
|
4792
|
+
period: 10 | 60;
|
|
4793
|
+
};
|
|
4794
|
+
}> | undefined;
|
|
4795
|
+
versionMetadata?: {
|
|
4796
|
+
binding: string;
|
|
4797
|
+
} | undefined;
|
|
4798
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
4799
|
+
secretsStore?: Record<string, string | {
|
|
4800
|
+
storeId: string;
|
|
4801
|
+
secretName: string;
|
|
4802
|
+
}> | undefined;
|
|
4803
|
+
services?: Record<string, {
|
|
4804
|
+
service: string;
|
|
4805
|
+
environment?: string;
|
|
4806
|
+
entrypoint?: string;
|
|
4807
|
+
__ref?: unknown;
|
|
4808
|
+
}> | undefined;
|
|
4809
|
+
ai?: {
|
|
4810
|
+
binding: string;
|
|
4811
|
+
remote?: boolean | undefined;
|
|
4812
|
+
staging?: boolean | undefined;
|
|
4813
|
+
} | undefined;
|
|
4814
|
+
aiSearchNamespaces?: Record<string, {
|
|
4815
|
+
namespace: string;
|
|
4816
|
+
remote?: boolean | undefined;
|
|
4817
|
+
}> | undefined;
|
|
4818
|
+
aiSearch?: Record<string, {
|
|
4819
|
+
instanceName: string;
|
|
4820
|
+
remote?: boolean | undefined;
|
|
4821
|
+
}> | undefined;
|
|
4822
|
+
vectorize?: Record<string, {
|
|
4823
|
+
indexName: string;
|
|
4824
|
+
remote?: boolean | undefined;
|
|
4825
|
+
}> | undefined;
|
|
4826
|
+
hyperdrive?: Record<string, string | {
|
|
4827
|
+
id: string;
|
|
4828
|
+
localConnectionString?: string | undefined;
|
|
4829
|
+
} | {
|
|
4830
|
+
name: string;
|
|
4831
|
+
localConnectionString?: string | undefined;
|
|
4832
|
+
previewFallback?: "base" | undefined;
|
|
4833
|
+
previewId?: string | undefined;
|
|
4834
|
+
previewLocalConnectionString?: string | undefined;
|
|
4835
|
+
}> | undefined;
|
|
4836
|
+
browser?: Record<string, string | {
|
|
4837
|
+
remote?: boolean | undefined;
|
|
4838
|
+
}> | undefined;
|
|
4839
|
+
analyticsEngine?: Record<string, {
|
|
4840
|
+
dataset: string;
|
|
4841
|
+
}> | undefined;
|
|
4842
|
+
sendEmail?: Record<string, {
|
|
4843
|
+
destinationAddress?: string | undefined;
|
|
4844
|
+
allowedDestinationAddresses?: string[] | undefined;
|
|
4845
|
+
allowedSenderAddresses?: string[] | undefined;
|
|
4846
|
+
}> | undefined;
|
|
4847
|
+
mtlsCertificates?: Record<string, string | {
|
|
4848
|
+
certificateId: string;
|
|
4849
|
+
remote?: boolean | undefined;
|
|
4850
|
+
} | {
|
|
4851
|
+
certificate_id: string;
|
|
4852
|
+
remote?: boolean | undefined;
|
|
4853
|
+
}> | undefined;
|
|
4854
|
+
dispatchNamespaces?: Record<string, string | {
|
|
4855
|
+
namespace: string;
|
|
4856
|
+
outbound?: {
|
|
4857
|
+
service: string;
|
|
4858
|
+
environment?: string | undefined;
|
|
4859
|
+
parameters?: string[] | undefined;
|
|
4860
|
+
} | undefined;
|
|
4861
|
+
remote?: boolean | undefined;
|
|
4862
|
+
}> | undefined;
|
|
4863
|
+
workflows?: Record<string, {
|
|
4864
|
+
name: string;
|
|
4865
|
+
className: string;
|
|
4866
|
+
scriptName?: string | undefined;
|
|
4867
|
+
remote?: boolean | undefined;
|
|
4868
|
+
limits?: {
|
|
4869
|
+
steps: number;
|
|
4870
|
+
} | undefined;
|
|
4871
|
+
}> | undefined;
|
|
4872
|
+
pipelines?: Record<string, string | {
|
|
4873
|
+
pipeline: string;
|
|
4874
|
+
remote?: boolean | undefined;
|
|
4875
|
+
}> | undefined;
|
|
4876
|
+
images?: Record<string, true | {
|
|
4877
|
+
remote?: boolean | undefined;
|
|
4878
|
+
}> | undefined;
|
|
4879
|
+
media?: Record<string, true | {
|
|
4880
|
+
remote?: boolean | undefined;
|
|
4881
|
+
}> | undefined;
|
|
4882
|
+
artifacts?: Record<string, string | {
|
|
4883
|
+
namespace: string;
|
|
4884
|
+
remote?: boolean | undefined;
|
|
4885
|
+
}> | undefined;
|
|
4886
|
+
} | undefined;
|
|
4887
|
+
triggers?: {
|
|
4888
|
+
crons?: string[] | undefined;
|
|
4889
|
+
} | undefined;
|
|
4890
|
+
rules?: {
|
|
4891
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
4892
|
+
globs: string[];
|
|
4893
|
+
fallthrough?: boolean | undefined;
|
|
4894
|
+
}[] | undefined;
|
|
4895
|
+
findAdditionalModules?: boolean | undefined;
|
|
4896
|
+
baseDir?: string | undefined;
|
|
4897
|
+
preserveFileNames?: boolean | undefined;
|
|
4898
|
+
tailConsumers?: (string | {
|
|
4899
|
+
service: string;
|
|
4900
|
+
environment?: string | undefined;
|
|
4901
|
+
})[] | undefined;
|
|
4902
|
+
vars?: Record<string, string> | undefined;
|
|
4903
|
+
secrets?: Record<string, {
|
|
4904
|
+
required: boolean;
|
|
4905
|
+
}> | undefined;
|
|
4906
|
+
routes?: {
|
|
4907
|
+
pattern: string;
|
|
4908
|
+
zone_name?: string | undefined;
|
|
4909
|
+
zone_id?: string | undefined;
|
|
4910
|
+
custom_domain?: boolean | undefined;
|
|
4911
|
+
}[] | undefined;
|
|
4912
|
+
assets?: {
|
|
4913
|
+
directory: string;
|
|
4914
|
+
binding?: string | undefined;
|
|
4915
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
4916
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
4917
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
4918
|
+
} | undefined;
|
|
4919
|
+
containers?: {
|
|
4920
|
+
className: string;
|
|
4921
|
+
image: string;
|
|
4922
|
+
maxInstances?: number | undefined;
|
|
4923
|
+
instanceType?: string | undefined;
|
|
4924
|
+
name?: string | undefined;
|
|
4925
|
+
imageBuildContext?: string | undefined;
|
|
4926
|
+
imageVars?: Record<string, string> | undefined;
|
|
4927
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
4928
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
4929
|
+
}[] | undefined;
|
|
4930
|
+
placement?: {
|
|
4931
|
+
mode: "off" | "smart";
|
|
4932
|
+
hint?: string | undefined;
|
|
4933
|
+
} | {
|
|
4934
|
+
mode?: "targeted" | undefined;
|
|
4935
|
+
region: string;
|
|
4936
|
+
} | {
|
|
4937
|
+
mode?: "targeted" | undefined;
|
|
4938
|
+
host: string;
|
|
4939
|
+
} | {
|
|
4940
|
+
mode?: "targeted" | undefined;
|
|
4941
|
+
hostname: string;
|
|
4942
|
+
} | undefined;
|
|
4943
|
+
limits?: {
|
|
4944
|
+
cpu_ms?: number | undefined;
|
|
4945
|
+
subrequests?: number | undefined;
|
|
4946
|
+
} | undefined;
|
|
4947
|
+
observability?: {
|
|
4948
|
+
enabled?: boolean | undefined;
|
|
4949
|
+
head_sampling_rate?: number | undefined;
|
|
4950
|
+
logs?: {
|
|
4951
|
+
enabled?: boolean | undefined;
|
|
4952
|
+
head_sampling_rate?: number | undefined;
|
|
4953
|
+
invocation_logs?: boolean | undefined;
|
|
4954
|
+
persist?: boolean | undefined;
|
|
4955
|
+
destinations?: string[] | undefined;
|
|
4956
|
+
} | undefined;
|
|
4957
|
+
traces?: {
|
|
4958
|
+
enabled?: boolean | undefined;
|
|
4959
|
+
head_sampling_rate?: number | undefined;
|
|
4960
|
+
persist?: boolean | undefined;
|
|
4961
|
+
destinations?: string[] | undefined;
|
|
4962
|
+
} | undefined;
|
|
4963
|
+
} | undefined;
|
|
4964
|
+
migrations?: {
|
|
4965
|
+
tag: string;
|
|
4966
|
+
new_classes?: string[] | undefined;
|
|
4967
|
+
renamed_classes?: {
|
|
4968
|
+
from: string;
|
|
4969
|
+
to: string;
|
|
4970
|
+
}[] | undefined;
|
|
4971
|
+
deleted_classes?: string[] | undefined;
|
|
4972
|
+
new_sqlite_classes?: string[] | undefined;
|
|
4973
|
+
}[] | undefined;
|
|
4974
|
+
rolldown?: {
|
|
4975
|
+
target?: string | undefined;
|
|
4976
|
+
minify?: boolean | undefined;
|
|
4977
|
+
sourcemap?: boolean | undefined;
|
|
4978
|
+
options?: import("./schema-build").DevflareRolldownOptions | undefined;
|
|
4979
|
+
} | undefined;
|
|
4980
|
+
vite?: z.objectOutputType<{
|
|
4981
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
4982
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
4983
|
+
wrangler?: {
|
|
4984
|
+
passthrough?: Record<string, unknown> | undefined;
|
|
4985
|
+
} | undefined;
|
|
4986
|
+
}> | undefined;
|
|
4987
|
+
}, {
|
|
4988
|
+
name: string;
|
|
4989
|
+
accountId?: string | undefined;
|
|
4990
|
+
secretsStoreId?: string | undefined;
|
|
4991
|
+
compatibilityDate?: string | undefined;
|
|
4992
|
+
compatibilityFlags?: string[] | undefined;
|
|
4993
|
+
previews?: {
|
|
4994
|
+
includeCrons?: boolean | undefined;
|
|
4995
|
+
} | undefined;
|
|
4996
|
+
files?: {
|
|
4997
|
+
fetch?: string | false | undefined;
|
|
4998
|
+
queue?: string | false | undefined;
|
|
4999
|
+
scheduled?: string | false | undefined;
|
|
5000
|
+
email?: string | false | undefined;
|
|
5001
|
+
tail?: string | false | undefined;
|
|
5002
|
+
durableObjects?: string | false | undefined;
|
|
5003
|
+
entrypoints?: string | false | undefined;
|
|
5004
|
+
workflows?: string | false | undefined;
|
|
5005
|
+
routes?: false | {
|
|
5006
|
+
dir: string;
|
|
5007
|
+
prefix?: string | undefined;
|
|
5008
|
+
} | undefined;
|
|
5009
|
+
transport?: string | null | undefined;
|
|
5010
|
+
} | undefined;
|
|
5011
|
+
bindings?: {
|
|
5012
|
+
kv?: Record<string, string | {
|
|
5013
|
+
id: string;
|
|
5014
|
+
} | {
|
|
5015
|
+
name: string;
|
|
5016
|
+
}> | undefined;
|
|
5017
|
+
d1?: Record<string, string | {
|
|
5018
|
+
id: string;
|
|
5019
|
+
} | {
|
|
5020
|
+
name: string;
|
|
5021
|
+
}> | undefined;
|
|
5022
|
+
r2?: Record<string, string> | undefined;
|
|
5023
|
+
durableObjects?: Record<string, import("./schema-bindings").DurableObjectBindingInput> | undefined;
|
|
5024
|
+
queues?: {
|
|
5025
|
+
producers?: Record<string, string> | undefined;
|
|
5026
|
+
consumers?: {
|
|
5027
|
+
queue: string;
|
|
5028
|
+
maxBatchSize?: number | undefined;
|
|
5029
|
+
maxBatchTimeout?: number | undefined;
|
|
5030
|
+
maxRetries?: number | undefined;
|
|
5031
|
+
deadLetterQueue?: string | undefined;
|
|
5032
|
+
maxConcurrency?: number | undefined;
|
|
5033
|
+
retryDelay?: number | undefined;
|
|
5034
|
+
}[] | undefined;
|
|
5035
|
+
} | undefined;
|
|
5036
|
+
rateLimits?: Record<string, {
|
|
5037
|
+
namespaceId: string;
|
|
5038
|
+
simple: {
|
|
5039
|
+
limit: number;
|
|
5040
|
+
period: 10 | 60;
|
|
5041
|
+
};
|
|
5042
|
+
}> | undefined;
|
|
5043
|
+
versionMetadata?: {
|
|
5044
|
+
binding: string;
|
|
5045
|
+
} | undefined;
|
|
5046
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
5047
|
+
secretsStore?: Record<string, string | {
|
|
5048
|
+
storeId: string;
|
|
5049
|
+
secretName: string;
|
|
5050
|
+
}> | undefined;
|
|
5051
|
+
services?: Record<string, {
|
|
5052
|
+
service: string;
|
|
5053
|
+
environment?: string;
|
|
5054
|
+
entrypoint?: string;
|
|
5055
|
+
__ref?: unknown;
|
|
5056
|
+
}> | undefined;
|
|
5057
|
+
ai?: {
|
|
5058
|
+
binding: string;
|
|
5059
|
+
remote?: boolean | undefined;
|
|
5060
|
+
staging?: boolean | undefined;
|
|
5061
|
+
} | undefined;
|
|
5062
|
+
aiSearchNamespaces?: Record<string, {
|
|
5063
|
+
namespace: string;
|
|
5064
|
+
remote?: boolean | undefined;
|
|
5065
|
+
}> | undefined;
|
|
5066
|
+
aiSearch?: Record<string, {
|
|
5067
|
+
instanceName: string;
|
|
5068
|
+
remote?: boolean | undefined;
|
|
5069
|
+
}> | undefined;
|
|
5070
|
+
vectorize?: Record<string, {
|
|
5071
|
+
indexName: string;
|
|
5072
|
+
remote?: boolean | undefined;
|
|
5073
|
+
}> | undefined;
|
|
5074
|
+
hyperdrive?: Record<string, string | {
|
|
5075
|
+
id: string;
|
|
5076
|
+
localConnectionString?: string | undefined;
|
|
5077
|
+
} | {
|
|
5078
|
+
name: string;
|
|
5079
|
+
localConnectionString?: string | undefined;
|
|
5080
|
+
previewFallback?: "base" | undefined;
|
|
5081
|
+
previewId?: string | undefined;
|
|
5082
|
+
previewLocalConnectionString?: string | undefined;
|
|
5083
|
+
}> | undefined;
|
|
5084
|
+
browser?: Record<string, string | {
|
|
5085
|
+
remote?: boolean | undefined;
|
|
5086
|
+
}> | undefined;
|
|
5087
|
+
analyticsEngine?: Record<string, {
|
|
5088
|
+
dataset: string;
|
|
5089
|
+
}> | undefined;
|
|
5090
|
+
sendEmail?: Record<string, {
|
|
5091
|
+
destinationAddress?: string | undefined;
|
|
5092
|
+
allowedDestinationAddresses?: string[] | undefined;
|
|
5093
|
+
allowedSenderAddresses?: string[] | undefined;
|
|
5094
|
+
}> | undefined;
|
|
5095
|
+
mtlsCertificates?: Record<string, string | {
|
|
5096
|
+
certificateId: string;
|
|
5097
|
+
remote?: boolean | undefined;
|
|
5098
|
+
} | {
|
|
5099
|
+
certificate_id: string;
|
|
5100
|
+
remote?: boolean | undefined;
|
|
5101
|
+
}> | undefined;
|
|
5102
|
+
dispatchNamespaces?: Record<string, string | {
|
|
5103
|
+
namespace: string;
|
|
5104
|
+
outbound?: {
|
|
5105
|
+
service: string;
|
|
5106
|
+
environment?: string | undefined;
|
|
5107
|
+
parameters?: string[] | undefined;
|
|
5108
|
+
} | undefined;
|
|
5109
|
+
remote?: boolean | undefined;
|
|
5110
|
+
}> | undefined;
|
|
5111
|
+
workflows?: Record<string, {
|
|
5112
|
+
name: string;
|
|
5113
|
+
className: string;
|
|
5114
|
+
scriptName?: string | undefined;
|
|
5115
|
+
remote?: boolean | undefined;
|
|
5116
|
+
limits?: {
|
|
5117
|
+
steps: number;
|
|
5118
|
+
} | undefined;
|
|
5119
|
+
}> | undefined;
|
|
5120
|
+
pipelines?: Record<string, string | {
|
|
5121
|
+
pipeline: string;
|
|
5122
|
+
remote?: boolean | undefined;
|
|
5123
|
+
}> | undefined;
|
|
5124
|
+
images?: Record<string, true | {
|
|
5125
|
+
remote?: boolean | undefined;
|
|
5126
|
+
}> | undefined;
|
|
5127
|
+
media?: Record<string, true | {
|
|
5128
|
+
remote?: boolean | undefined;
|
|
5129
|
+
}> | undefined;
|
|
5130
|
+
artifacts?: Record<string, string | {
|
|
5131
|
+
namespace: string;
|
|
5132
|
+
remote?: boolean | undefined;
|
|
5133
|
+
}> | undefined;
|
|
5134
|
+
} | undefined;
|
|
5135
|
+
triggers?: {
|
|
5136
|
+
crons?: string[] | undefined;
|
|
5137
|
+
} | undefined;
|
|
5138
|
+
rules?: {
|
|
5139
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
5140
|
+
globs: string[];
|
|
5141
|
+
fallthrough?: boolean | undefined;
|
|
5142
|
+
}[] | undefined;
|
|
5143
|
+
findAdditionalModules?: boolean | undefined;
|
|
5144
|
+
baseDir?: string | undefined;
|
|
5145
|
+
preserveFileNames?: boolean | undefined;
|
|
5146
|
+
tailConsumers?: (string | {
|
|
5147
|
+
service: string;
|
|
5148
|
+
environment?: string | undefined;
|
|
5149
|
+
})[] | undefined;
|
|
5150
|
+
vars?: Record<string, string> | undefined;
|
|
5151
|
+
secrets?: Record<string, {
|
|
5152
|
+
required?: boolean | undefined;
|
|
5153
|
+
}> | undefined;
|
|
5154
|
+
routes?: {
|
|
5155
|
+
pattern: string;
|
|
5156
|
+
zone_name?: string | undefined;
|
|
5157
|
+
zone_id?: string | undefined;
|
|
5158
|
+
custom_domain?: boolean | undefined;
|
|
5159
|
+
}[] | undefined;
|
|
5160
|
+
wsRoutes?: {
|
|
5161
|
+
pattern: string;
|
|
5162
|
+
doNamespace: string;
|
|
5163
|
+
idParam?: string | undefined;
|
|
5164
|
+
forwardPath?: string | undefined;
|
|
5165
|
+
}[] | undefined;
|
|
5166
|
+
assets?: {
|
|
5167
|
+
directory: string;
|
|
5168
|
+
binding?: string | undefined;
|
|
5169
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
5170
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
5171
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
5172
|
+
} | undefined;
|
|
5173
|
+
containers?: {
|
|
5174
|
+
className: string;
|
|
5175
|
+
image: string;
|
|
5176
|
+
maxInstances?: number | undefined;
|
|
5177
|
+
instanceType?: string | undefined;
|
|
5178
|
+
name?: string | undefined;
|
|
5179
|
+
imageBuildContext?: string | undefined;
|
|
5180
|
+
imageVars?: Record<string, string> | undefined;
|
|
5181
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
5182
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
5183
|
+
}[] | undefined;
|
|
5184
|
+
placement?: {
|
|
5185
|
+
mode: "off" | "smart";
|
|
5186
|
+
hint?: string | undefined;
|
|
5187
|
+
} | {
|
|
5188
|
+
mode?: "targeted" | undefined;
|
|
5189
|
+
region: string;
|
|
5190
|
+
} | {
|
|
5191
|
+
mode?: "targeted" | undefined;
|
|
5192
|
+
host: string;
|
|
5193
|
+
} | {
|
|
5194
|
+
mode?: "targeted" | undefined;
|
|
5195
|
+
hostname: string;
|
|
5196
|
+
} | undefined;
|
|
5197
|
+
limits?: {
|
|
5198
|
+
cpu_ms?: number | undefined;
|
|
5199
|
+
subrequests?: number | undefined;
|
|
5200
|
+
} | undefined;
|
|
5201
|
+
observability?: {
|
|
5202
|
+
enabled?: boolean | undefined;
|
|
5203
|
+
head_sampling_rate?: number | undefined;
|
|
5204
|
+
logs?: {
|
|
5205
|
+
enabled?: boolean | undefined;
|
|
5206
|
+
head_sampling_rate?: number | undefined;
|
|
5207
|
+
invocation_logs?: boolean | undefined;
|
|
5208
|
+
persist?: boolean | undefined;
|
|
5209
|
+
destinations?: string[] | undefined;
|
|
5210
|
+
} | undefined;
|
|
5211
|
+
traces?: {
|
|
5212
|
+
enabled?: boolean | undefined;
|
|
5213
|
+
head_sampling_rate?: number | undefined;
|
|
5214
|
+
persist?: boolean | undefined;
|
|
5215
|
+
destinations?: string[] | undefined;
|
|
5216
|
+
} | undefined;
|
|
5217
|
+
} | undefined;
|
|
5218
|
+
migrations?: {
|
|
5219
|
+
tag: string;
|
|
5220
|
+
new_classes?: string[] | undefined;
|
|
5221
|
+
renamed_classes?: {
|
|
5222
|
+
from: string;
|
|
5223
|
+
to: string;
|
|
5224
|
+
}[] | undefined;
|
|
5225
|
+
deleted_classes?: string[] | undefined;
|
|
5226
|
+
new_sqlite_classes?: string[] | undefined;
|
|
5227
|
+
}[] | undefined;
|
|
5228
|
+
rolldown?: {
|
|
5229
|
+
target?: string | undefined;
|
|
5230
|
+
minify?: boolean | undefined;
|
|
5231
|
+
sourcemap?: boolean | undefined;
|
|
5232
|
+
options?: import("./schema-build").DevflareRolldownOptions | undefined;
|
|
5233
|
+
} | undefined;
|
|
5234
|
+
vite?: z.objectInputType<{
|
|
5235
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
5236
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
5237
|
+
wrangler?: {
|
|
5238
|
+
passthrough?: Record<string, unknown> | undefined;
|
|
5239
|
+
} | undefined;
|
|
5240
|
+
env?: Record<string, {
|
|
5241
|
+
name?: string | undefined;
|
|
5242
|
+
secretsStoreId?: string | undefined;
|
|
5243
|
+
compatibilityDate?: string | undefined;
|
|
5244
|
+
compatibilityFlags?: string[] | undefined;
|
|
5245
|
+
previews?: {
|
|
5246
|
+
includeCrons?: boolean | undefined;
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
files?: {
|
|
5249
|
+
fetch?: string | false | undefined;
|
|
5250
|
+
queue?: string | false | undefined;
|
|
5251
|
+
scheduled?: string | false | undefined;
|
|
5252
|
+
email?: string | false | undefined;
|
|
5253
|
+
tail?: string | false | undefined;
|
|
5254
|
+
durableObjects?: string | false | undefined;
|
|
5255
|
+
entrypoints?: string | false | undefined;
|
|
5256
|
+
workflows?: string | false | undefined;
|
|
5257
|
+
routes?: false | {
|
|
5258
|
+
dir: string;
|
|
5259
|
+
prefix?: string | undefined;
|
|
5260
|
+
} | undefined;
|
|
5261
|
+
transport?: string | null | undefined;
|
|
5262
|
+
} | undefined;
|
|
5263
|
+
bindings?: {
|
|
5264
|
+
kv?: Record<string, string | {
|
|
5265
|
+
id: string;
|
|
5266
|
+
} | {
|
|
5267
|
+
name: string;
|
|
5268
|
+
}> | undefined;
|
|
5269
|
+
d1?: Record<string, string | {
|
|
5270
|
+
id: string;
|
|
5271
|
+
} | {
|
|
5272
|
+
name: string;
|
|
5273
|
+
}> | undefined;
|
|
5274
|
+
r2?: Record<string, string> | undefined;
|
|
5275
|
+
durableObjects?: Record<string, import("./schema-bindings").DurableObjectBindingInput> | undefined;
|
|
5276
|
+
queues?: {
|
|
5277
|
+
producers?: Record<string, string> | undefined;
|
|
5278
|
+
consumers?: {
|
|
5279
|
+
queue: string;
|
|
5280
|
+
maxBatchSize?: number | undefined;
|
|
5281
|
+
maxBatchTimeout?: number | undefined;
|
|
5282
|
+
maxRetries?: number | undefined;
|
|
5283
|
+
deadLetterQueue?: string | undefined;
|
|
5284
|
+
maxConcurrency?: number | undefined;
|
|
5285
|
+
retryDelay?: number | undefined;
|
|
5286
|
+
}[] | undefined;
|
|
5287
|
+
} | undefined;
|
|
5288
|
+
rateLimits?: Record<string, {
|
|
5289
|
+
namespaceId: string;
|
|
5290
|
+
simple: {
|
|
5291
|
+
limit: number;
|
|
5292
|
+
period: 10 | 60;
|
|
5293
|
+
};
|
|
5294
|
+
}> | undefined;
|
|
5295
|
+
versionMetadata?: {
|
|
5296
|
+
binding: string;
|
|
5297
|
+
} | undefined;
|
|
5298
|
+
workerLoaders?: Record<string, {}> | undefined;
|
|
5299
|
+
secretsStore?: Record<string, string | {
|
|
5300
|
+
storeId: string;
|
|
5301
|
+
secretName: string;
|
|
5302
|
+
}> | undefined;
|
|
2471
5303
|
services?: Record<string, {
|
|
2472
5304
|
service: string;
|
|
2473
5305
|
environment?: string;
|
|
@@ -2476,19 +5308,34 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2476
5308
|
}> | undefined;
|
|
2477
5309
|
ai?: {
|
|
2478
5310
|
binding: string;
|
|
5311
|
+
remote?: boolean | undefined;
|
|
5312
|
+
staging?: boolean | undefined;
|
|
2479
5313
|
} | undefined;
|
|
5314
|
+
aiSearchNamespaces?: Record<string, {
|
|
5315
|
+
namespace: string;
|
|
5316
|
+
remote?: boolean | undefined;
|
|
5317
|
+
}> | undefined;
|
|
5318
|
+
aiSearch?: Record<string, {
|
|
5319
|
+
instanceName: string;
|
|
5320
|
+
remote?: boolean | undefined;
|
|
5321
|
+
}> | undefined;
|
|
2480
5322
|
vectorize?: Record<string, {
|
|
2481
5323
|
indexName: string;
|
|
5324
|
+
remote?: boolean | undefined;
|
|
2482
5325
|
}> | undefined;
|
|
2483
5326
|
hyperdrive?: Record<string, string | {
|
|
2484
5327
|
id: string;
|
|
5328
|
+
localConnectionString?: string | undefined;
|
|
2485
5329
|
} | {
|
|
2486
5330
|
name: string;
|
|
5331
|
+
localConnectionString?: string | undefined;
|
|
2487
5332
|
previewFallback?: "base" | undefined;
|
|
2488
5333
|
previewId?: string | undefined;
|
|
2489
5334
|
previewLocalConnectionString?: string | undefined;
|
|
2490
5335
|
}> | undefined;
|
|
2491
|
-
browser?: Record<string, string
|
|
5336
|
+
browser?: Record<string, string | {
|
|
5337
|
+
remote?: boolean | undefined;
|
|
5338
|
+
}> | undefined;
|
|
2492
5339
|
analyticsEngine?: Record<string, {
|
|
2493
5340
|
dataset: string;
|
|
2494
5341
|
}> | undefined;
|
|
@@ -2498,7 +5345,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2498
5345
|
allowedSenderAddresses?: string[] | undefined;
|
|
2499
5346
|
}> | undefined;
|
|
2500
5347
|
mtlsCertificates?: Record<string, string | {
|
|
5348
|
+
certificateId: string;
|
|
5349
|
+
remote?: boolean | undefined;
|
|
5350
|
+
} | {
|
|
2501
5351
|
certificate_id: string;
|
|
5352
|
+
remote?: boolean | undefined;
|
|
2502
5353
|
}> | undefined;
|
|
2503
5354
|
dispatchNamespaces?: Record<string, string | {
|
|
2504
5355
|
namespace: string;
|
|
@@ -2507,20 +5358,47 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2507
5358
|
environment?: string | undefined;
|
|
2508
5359
|
parameters?: string[] | undefined;
|
|
2509
5360
|
} | undefined;
|
|
5361
|
+
remote?: boolean | undefined;
|
|
2510
5362
|
}> | undefined;
|
|
2511
5363
|
workflows?: Record<string, {
|
|
2512
5364
|
name: string;
|
|
2513
5365
|
className: string;
|
|
2514
5366
|
scriptName?: string | undefined;
|
|
5367
|
+
remote?: boolean | undefined;
|
|
5368
|
+
limits?: {
|
|
5369
|
+
steps: number;
|
|
5370
|
+
} | undefined;
|
|
2515
5371
|
}> | undefined;
|
|
2516
5372
|
pipelines?: Record<string, string | {
|
|
2517
5373
|
pipeline: string;
|
|
5374
|
+
remote?: boolean | undefined;
|
|
5375
|
+
}> | undefined;
|
|
5376
|
+
images?: Record<string, true | {
|
|
5377
|
+
remote?: boolean | undefined;
|
|
5378
|
+
}> | undefined;
|
|
5379
|
+
media?: Record<string, true | {
|
|
5380
|
+
remote?: boolean | undefined;
|
|
5381
|
+
}> | undefined;
|
|
5382
|
+
artifacts?: Record<string, string | {
|
|
5383
|
+
namespace: string;
|
|
5384
|
+
remote?: boolean | undefined;
|
|
2518
5385
|
}> | undefined;
|
|
2519
|
-
images?: Record<string, true | {}> | undefined;
|
|
2520
5386
|
} | undefined;
|
|
2521
5387
|
triggers?: {
|
|
2522
5388
|
crons?: string[] | undefined;
|
|
2523
5389
|
} | undefined;
|
|
5390
|
+
rules?: {
|
|
5391
|
+
type: "CommonJS" | "CompiledWasm" | "Data" | "ESModule" | "Text";
|
|
5392
|
+
globs: string[];
|
|
5393
|
+
fallthrough?: boolean | undefined;
|
|
5394
|
+
}[] | undefined;
|
|
5395
|
+
findAdditionalModules?: boolean | undefined;
|
|
5396
|
+
baseDir?: string | undefined;
|
|
5397
|
+
preserveFileNames?: boolean | undefined;
|
|
5398
|
+
tailConsumers?: (string | {
|
|
5399
|
+
service: string;
|
|
5400
|
+
environment?: string | undefined;
|
|
5401
|
+
})[] | undefined;
|
|
2524
5402
|
vars?: Record<string, string> | undefined;
|
|
2525
5403
|
secrets?: Record<string, {
|
|
2526
5404
|
required?: boolean | undefined;
|
|
@@ -2534,13 +5412,54 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2534
5412
|
assets?: {
|
|
2535
5413
|
directory: string;
|
|
2536
5414
|
binding?: string | undefined;
|
|
5415
|
+
html_handling?: "auto-trailing-slash" | "drop-trailing-slash" | "force-trailing-slash" | "none" | undefined;
|
|
5416
|
+
not_found_handling?: "404-page" | "none" | "single-page-application" | undefined;
|
|
5417
|
+
run_worker_first?: boolean | string[] | undefined;
|
|
5418
|
+
} | undefined;
|
|
5419
|
+
containers?: {
|
|
5420
|
+
className: string;
|
|
5421
|
+
image: string;
|
|
5422
|
+
maxInstances?: number | undefined;
|
|
5423
|
+
instanceType?: string | undefined;
|
|
5424
|
+
name?: string | undefined;
|
|
5425
|
+
imageBuildContext?: string | undefined;
|
|
5426
|
+
imageVars?: Record<string, string> | undefined;
|
|
5427
|
+
rolloutActiveGracePeriod?: number | undefined;
|
|
5428
|
+
rolloutStepPercentage?: number | number[] | undefined;
|
|
5429
|
+
}[] | undefined;
|
|
5430
|
+
placement?: {
|
|
5431
|
+
mode: "off" | "smart";
|
|
5432
|
+
hint?: string | undefined;
|
|
5433
|
+
} | {
|
|
5434
|
+
mode?: "targeted" | undefined;
|
|
5435
|
+
region: string;
|
|
5436
|
+
} | {
|
|
5437
|
+
mode?: "targeted" | undefined;
|
|
5438
|
+
host: string;
|
|
5439
|
+
} | {
|
|
5440
|
+
mode?: "targeted" | undefined;
|
|
5441
|
+
hostname: string;
|
|
2537
5442
|
} | undefined;
|
|
2538
5443
|
limits?: {
|
|
2539
5444
|
cpu_ms?: number | undefined;
|
|
5445
|
+
subrequests?: number | undefined;
|
|
2540
5446
|
} | undefined;
|
|
2541
5447
|
observability?: {
|
|
2542
5448
|
enabled?: boolean | undefined;
|
|
2543
5449
|
head_sampling_rate?: number | undefined;
|
|
5450
|
+
logs?: {
|
|
5451
|
+
enabled?: boolean | undefined;
|
|
5452
|
+
head_sampling_rate?: number | undefined;
|
|
5453
|
+
invocation_logs?: boolean | undefined;
|
|
5454
|
+
persist?: boolean | undefined;
|
|
5455
|
+
destinations?: string[] | undefined;
|
|
5456
|
+
} | undefined;
|
|
5457
|
+
traces?: {
|
|
5458
|
+
enabled?: boolean | undefined;
|
|
5459
|
+
head_sampling_rate?: number | undefined;
|
|
5460
|
+
persist?: boolean | undefined;
|
|
5461
|
+
destinations?: string[] | undefined;
|
|
5462
|
+
} | undefined;
|
|
2544
5463
|
} | undefined;
|
|
2545
5464
|
migrations?: {
|
|
2546
5465
|
tag: string;
|
|
@@ -2571,10 +5490,10 @@ export type DevflareConfig = z.output<typeof configSchema>;
|
|
|
2571
5490
|
/** Input type for defineConfig - before Zod transforms apply defaults */
|
|
2572
5491
|
export type DevflareConfigInput = z.input<typeof configSchema>;
|
|
2573
5492
|
export type { DevflareRolldownOptions, DevflareRolldownOutputOptions, RolldownConfig, ViteConfig } from './schema-build';
|
|
2574
|
-
export type { BrowserBindings, D1Binding, DurableObjectBinding, HyperdriveBinding, KVBinding, QueueConsumer, QueuesConfig, ServiceBinding } from './schema-bindings';
|
|
5493
|
+
export type { BrowserBindings, D1Binding, DurableObjectBinding, HyperdriveBinding, KVBinding, QueueConsumer, QueuesConfig, RateLimitBinding, VersionMetadataBinding, WorkerLoaderBinding, SecretsStoreBinding, DispatchNamespaceBinding, WorkflowBinding, PipelineBinding, ImagesBinding, MediaBinding, ArtifactsBinding, ServiceBinding, MtlsCertificateBinding } from './schema-bindings';
|
|
2575
5494
|
export type { DevflareEnvConfig } from './schema-env';
|
|
2576
|
-
export type { AssetsConfig, MigrationConfig, PreviewConfig, RouteConfig, WsRouteConfig } from './schema-runtime';
|
|
2577
|
-
export type { NormalizedD1Binding, NormalizedDOBinding, NormalizedHyperdriveBinding, NormalizedKVBinding } from './schema-normalization';
|
|
2578
|
-
export { getLocalD1DatabaseIdentifier, getLocalHyperdriveConfigIdentifier, getLocalKVNamespaceIdentifier, getSingleBrowserBindingName, normalizeD1Binding, normalizeDOBinding, normalizeHyperdriveBinding, normalizeKVBinding } from './schema-normalization';
|
|
5495
|
+
export type { AssetsConfig, ContainerConfig, MigrationConfig, ModuleRuleConfig, PlacementConfig, PreviewConfig, RouteConfig, TailConsumerConfig, WsRouteConfig } from './schema-runtime';
|
|
5496
|
+
export type { NormalizedD1Binding, NormalizedDispatchNamespaceBinding, NormalizedDOBinding, NormalizedHyperdriveBinding, NormalizedKVBinding, NormalizedMtlsCertificateBinding, NormalizedWorkflowBinding, NormalizedPipelineBinding, NormalizedImagesBinding, NormalizedMediaBinding, NormalizedArtifactsBinding, NormalizedSecretsStoreBinding } from './schema-normalization';
|
|
5497
|
+
export { getLocalD1DatabaseIdentifier, getLocalHyperdriveConfigIdentifier, getLocalKVNamespaceIdentifier, getSingleBrowserBindingName, normalizeD1Binding, normalizeDispatchNamespaceBinding, normalizeDOBinding, normalizeHyperdriveBinding, normalizeKVBinding, normalizeMtlsCertificateBinding, normalizeWorkflowBinding, normalizePipelineBinding, normalizeImagesBinding, normalizeMediaBinding, normalizeSecretsStoreBinding, normalizeArtifactsBinding } from './schema-normalization';
|
|
2579
5498
|
export { browserBindingSchema, formatBrowserBindingLimitMessage } from './schema-bindings';
|
|
2580
5499
|
//# sourceMappingURL=schema.d.ts.map
|