add KV namespaces & implement sending of notifications if waittime changes

This commit is contained in:
Michi 2025-10-02 21:25:01 +02:00
parent c1336fbc88
commit fd042118ad
7 changed files with 193 additions and 5 deletions

View file

@ -1,10 +1,12 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: c639935623921ec3a10a77e49ca2a486)
// Generated by Wrangler by running `wrangler types` (hash: aceadb651dd4392a981fdd98096a2639)
// Runtime types generated with workerd@1.20250902.0 2025-09-07
declare namespace Cloudflare {
interface Env {
waittime_cache: KVNamespace;
CLOUDFLARE_ACCOUNT_ID: string;
CLOUDFLARE_DATABASE_ID: string;
CLOUDFLARE_DATABASE_ID_DEV: string;
CLOUDFLARE_D1_TOKEN: string;
d1_db: D1Database;
}