custom rooms

This commit is contained in:
Devin Zuczek
2026-07-05 20:20:09 -04:00
parent 05cca877b1
commit 5a2e3f6e1a
17 changed files with 15248 additions and 23 deletions
+4
View File
@@ -4,6 +4,10 @@ import type { SharedHonoEnv, SharedHonoVariables } from '@repo/hono-helpers/src/
export type Env = SharedHonoEnv & {
// D1 database holding rooms (JSON blob + generated columns). See rooms-db.ts.
DB: D1Database
// Shared player-presence KV (owned by the `match` worker). Read here to resolve
// the caller's current room instance for the photon access token — the
// equivalent of the reference server's HeartbeatDB.GetPlayerHeartbeat.
RECFLARE_MATCH_PRESENCE: KVNamespace
}
/** Variables can be extended */