/** * Environment type augmentation for Attoshi */ import type { DurableObjectNamespace, R2Bucket } from "@cloudflare/workers-types"; export interface AttoshiEnv { // From Cirrus PDS DID: string; HANDLE: string; PDS_HOSTNAME: string; AUTH_TOKEN: string; SIGNING_KEY: string; JWT_SECRET: string; PASSWORD_HASH: string; SIGNING_KEY_PUBLIC: string; INITIAL_ACTIVE: string; DATA_LOCATION: string; // Durable Objects ACCOUNT: DurableObjectNamespace; ATTOSHI_STATE: DurableObjectNamespace; FIREHOSE: DurableObjectNamespace; // Optional BLOBS?: R2Bucket; TREASURY_DID?: string; } declare module "hono" { interface ContextVariableMap { entityDid: string; treasuryDid: string; } }