fixup notifications

This commit is contained in:
Devin Zuczek
2026-07-15 18:42:18 -04:00
parent bbd38d4aa6
commit d86a34fa73
6 changed files with 149 additions and 10 deletions
+6
View File
@@ -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>
/**
* 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
* internal send/broadcast endpoints.
*/
JWT_SECRET: SecretsStoreSecret
}
/** Variables can be extended */