mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 07:01:27 -07:00
20 lines
613 B
TypeScript
20 lines
613 B
TypeScript
import type { HonoApp } from '@repo/hono-helpers'
|
|
import type { SharedHonoEnv, SharedHonoVariables } from '@repo/hono-helpers/src/types'
|
|
|
|
export type Env = SharedHonoEnv & {
|
|
/**
|
|
* Static-asset fetcher for the page layouts in `static/` (see wrangler.jsonc
|
|
* `assets`). Fetched by filename so `{type}` is a wildcard; the binding is the only
|
|
* way in, since `run_worker_first` keeps the runtime from serving the files directly.
|
|
*/
|
|
ASSETS: Fetcher
|
|
}
|
|
|
|
/** Variables can be extended */
|
|
export type Variables = SharedHonoVariables
|
|
|
|
export interface App extends HonoApp {
|
|
Bindings: Env
|
|
Variables: Variables
|
|
}
|