name = "press-zone"
main = "src/index.ts"
compatibility_date = "2026-07-05"

[[hyperdrive]]
binding = "HYPERDRIVE"
id = "press-zone-hyperdrive"

[[kv_namespaces]]
binding = "RATE_LIMIT_KV"
id = "press-zone-rate-limit"

[[queues.producers]]
binding = "JOBS_QUEUE"
queue = "press-zone-jobs"

[[queues.consumers]]
queue = "press-zone-jobs"

[triggers]
crons = ["*/5 * * * *"]

# Secrets are configured via `wrangler secret put`:
# AUTH_PEPPER
# AUTH_SESSION_SECRET
# DATABASE_URL
# PAYPAL_CLIENT_ID
# PAYPAL_CLIENT_SECRET
# PAYPAL_WEBHOOK_ID
# MORNING_API_USER
# MORNING_API_PASS
# MORNING_COMPANY_ID
