-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
68 lines (54 loc) · 1.56 KB
/
env.d.ts
File metadata and controls
68 lines (54 loc) · 1.56 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/// <reference types="next" />
/// <reference types="next/image-types/global" />
declare namespace NodeJS {
interface ProcessEnv {
// API Keys
GEMINI_API_KEY: string;
GEMINI_API_KEY_TEST?: string;
// App Configuration
NEXT_PUBLIC_APP_URL: string;
NODE_ENV: 'development' | 'test' | 'staging' | 'production';
PORT?: string;
// Security
ALLOWED_ORIGINS?: string;
CRON_SECRET?: string;
// Rate Limiting
RATE_LIMIT_PER_MINUTE?: string;
RATE_LIMIT_PER_HOUR?: string;
// File Upload
MAX_FILE_SIZE?: string;
MAX_FILES_PER_REQUEST?: string;
// Logging
LOG_LEVEL?: 'debug' | 'info' | 'warn' | 'error';
ENABLE_SECURITY_LOGS?: string;
// Monitoring (Optional)
SENTRY_DSN?: string;
DATADOG_API_KEY?: string;
NEW_RELIC_LICENSE_KEY?: string;
// Database (Optional)
DATABASE_URL?: string;
// Cache (Optional)
REDIS_URL?: string;
UPSTASH_REDIS_REST_URL?: string;
UPSTASH_REDIS_REST_TOKEN?: string;
// Content Moderation (Optional)
ENABLE_CONTENT_MODERATION?: string;
MODERATION_API_KEY?: string;
// Vercel
VERCEL?: string;
VERCEL_ENV?: 'development' | 'preview' | 'production';
VERCEL_URL?: string;
VERCEL_REGION?: string;
// GitHub Actions
GITHUB_ACTIONS?: string;
GITHUB_TOKEN?: string;
// CI/CD
CI?: string;
VERCEL_TOKEN?: string;
VERCEL_ORG_ID?: string;
VERCEL_PROJECT_ID?: string;
// Testing
CODECOV_TOKEN?: string;
LHCI_GITHUB_APP_TOKEN?: string;
}
}