mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-26 15:38:52 -07:00
[rooms] roles
This commit is contained in:
@@ -5,6 +5,12 @@ import type { NotificationsHub } from './notifications-hub'
|
||||
export type Env = SharedHonoEnv & {
|
||||
/** Durable Object hosting the SignalR notifications hub. */
|
||||
RECFLARE_NOTIFICATIONS_HUB: DurableObjectNamespace<NotificationsHub>
|
||||
/**
|
||||
* The shared `recflare` D1 database. Used only for the notification store — a coach
|
||||
* message to one player is written there before it is pushed, so it survives the hub's
|
||||
* best-effort queue. The hub DO itself keeps its own state in its own SQLite.
|
||||
*/
|
||||
DB: D1Database
|
||||
/**
|
||||
* HS256 JWT signing key, read with `await env.JWT_SECRET.get()`; all workers
|
||||
* bind the same store so tokens signed by `auth` verify here. Used to gate the
|
||||
|
||||
Reference in New Issue
Block a user