aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.ts
blob: 132d9291adf72f99388e343c6ea888627cb0b75a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type { Registry } from "./registry";
 
export interface Env {
  REPO: DurableObjectNamespace;
  REGISTRY: DurableObjectNamespace<Registry>;
  /** shared secret required for git push (Basic auth password) */
  GIT_TOKEN?: string;
  /** optional comma-separated extra tokens (multiple users) */
  GIT_TOKENS?: string;
  /** max accepted push size in MB (default 512) */
  MAX_PUSH_MB?: string;
  SITE_NAME?: string;
  SITE_DESC?: string;
  SITE_OWNER?: string;
}