Env

_archivesourcetypescript
Path: _archive/loom-stale-pre-sprint-snapshot/src/types/env.tsRelative: loom-stale-pre-sprint-snapshot/src/types/env.tsSubproject: _archiveCategory: archived
Lines: 15Bytes: 447Imports: 1Exports: 1

Content Preview

  1. import type { DispatchEnvelope } from "./contracts";
  2. /** Worker bindings — must match wrangler.jsonc exactly. */
  3. export interface Env {
  4. DB: D1Database;
  5. TRACES: R2Bucket;
  6. SEMANTIC: VectorizeIndex;
  7. DISPATCH_QUEUE: Queue<DispatchEnvelope>;
  8. ORCHESTRATOR: DurableObjectNamespace;
  9. LOOM_ENV: string;
  10. /** Secrets — set via `wrangler secret put` (edge) or .dev.vars (local). */
  11. ANTHROPIC_API_KEY: string;
  12. LOOM_HMAC_SECRET: string;
  13. }