mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 14:41:28 -07:00
21 lines
612 B
TypeScript
21 lines
612 B
TypeScript
import type { HonoApp } from '@repo/hono-helpers'
|
|
import type { SharedHonoEnv, SharedHonoVariables } from '@repo/hono-helpers/src/types'
|
|
|
|
export type Env = SharedHonoEnv & {
|
|
/** R2 bucket holding the served image objects, keyed by filename. */
|
|
IMAGES: R2Bucket
|
|
/**
|
|
* RSA-2048 private key (PKCS8 DER, base64) used to sign image responses
|
|
* requested with `?sig=p1`. Optional — when absent, responses are unsigned.
|
|
*/
|
|
IMG_SIGNING_KEY?: string
|
|
}
|
|
|
|
/** Variables can be extended */
|
|
export type Variables = SharedHonoVariables
|
|
|
|
export interface App extends HonoApp {
|
|
Bindings: Env
|
|
Variables: Variables
|
|
}
|