mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 07:01:27 -07:00
20 lines
541 B
TypeScript
20 lines
541 B
TypeScript
import type { HonoApp } from '@repo/hono-helpers'
|
|
import type { SharedHonoEnv, SharedHonoVariables } from '@repo/hono-helpers/src/types'
|
|
|
|
export type Env = SharedHonoEnv & {
|
|
/**
|
|
* Base domain the service hosts are derived from, e.g. `rec.example.com`.
|
|
* Injected at deploy time via `--var DOMAIN`; defaults in `wrangler.jsonc`
|
|
* for local dev and tests.
|
|
*/
|
|
DOMAIN: string
|
|
}
|
|
|
|
/** Variables can be extended */
|
|
export type Variables = SharedHonoVariables
|
|
|
|
export interface App extends HonoApp {
|
|
Bindings: Env
|
|
Variables: Variables
|
|
}
|