| 12 | */ |
| 13 | |
| 14 | export interface Env { |
| 15 | REPORTS: R2Bucket; |
| 16 | RATE_LIMIT: KVNamespace; |
| 17 | TURNSTILE_SECRET_KEY: string; |
| 18 | ADMIN_API_KEY: string; |
| 19 | RESEND_API_KEY: string; |
| 20 | NOTIFY_EMAIL: string; |
| 21 | } |
| 22 | |
| 23 | const MAX_REPORT_SIZE = 30 * 1024 * 1024; // 30 MB |
| 24 | const IP_DAILY_LIMIT = 10; |
nothing calls this directly
no outgoing calls
no test coverage detected