Files
recflare/apps/rooms/src/context.ts
T
2026-06-15 00:29:11 -04:00

16 lines
429 B
TypeScript

import type { HonoApp } from '@repo/hono-helpers'
import type { SharedHonoEnv, SharedHonoVariables } from '@repo/hono-helpers/src/types'
export type Env = SharedHonoEnv & {
// D1 database holding rooms (JSON blob + generated columns). See rooms-db.ts.
DB: D1Database
}
/** Variables can be extended */
export type Variables = SharedHonoVariables
export interface App extends HonoApp {
Bindings: Env
Variables: Variables
}