mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 22:51:30 -07:00
custom rooms
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user