-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
27 lines (23 loc) · 704 Bytes
/
env.d.ts
File metadata and controls
27 lines (23 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/// <reference path="../.astro/types.d.ts" />
/// <reference types="./worker-configuration.d.ts" />
// Secrets not in wrangler.jsonc vars — extend the generated Env
declare namespace Cloudflare {
interface Env {
GITHUB_TOKEN: string;
// Optional config overrides (see src/lib/config.ts)
GITHUB_PER_PAGE?: string;
MAX_STAR_PAGES?: string;
MAX_REPO_PAGES?: string;
CACHE_TTL?: string;
RATE_LIMIT_WINDOW?: string;
PERSONA_THRESHOLD?: string;
API_CACHE_MAX_AGE?: string;
INACTIVE_YEARS?: string;
}
}
type Runtime = import("@astrojs/cloudflare").Runtime<Env>;
declare namespace App {
interface Locals extends Runtime {
subdomainUsername?: string;
}
}