env vars
This commit is contained in:
25
apps/website/env.d.ts
vendored
25
apps/website/env.d.ts
vendored
@@ -47,8 +47,33 @@ declare module 'react/compiler-runtime' {
|
||||
declare global {
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NODE_ENV?: 'development' | 'production' | 'test';
|
||||
|
||||
// Website (public, exposed to browser)
|
||||
NEXT_PUBLIC_GRIDPILOT_MODE?: 'pre-launch' | 'alpha';
|
||||
NEXT_PUBLIC_SITE_URL?: string;
|
||||
NEXT_PUBLIC_API_BASE_URL?: string;
|
||||
NEXT_PUBLIC_SITE_NAME?: string;
|
||||
NEXT_PUBLIC_SUPPORT_EMAIL?: string;
|
||||
NEXT_PUBLIC_SPONSOR_EMAIL?: string;
|
||||
NEXT_PUBLIC_LEGAL_COMPANY_NAME?: string;
|
||||
NEXT_PUBLIC_LEGAL_VAT_ID?: string;
|
||||
NEXT_PUBLIC_LEGAL_REGISTERED_COUNTRY?: string;
|
||||
NEXT_PUBLIC_LEGAL_REGISTERED_ADDRESS?: string;
|
||||
NEXT_PUBLIC_DISCORD_URL?: string;
|
||||
NEXT_PUBLIC_X_URL?: string;
|
||||
NEXT_TELEMETRY_DISABLED?: string;
|
||||
|
||||
// Website (server-only)
|
||||
API_BASE_URL?: string;
|
||||
|
||||
// Vercel KV (server-only)
|
||||
KV_REST_API_URL?: string;
|
||||
KV_REST_API_TOKEN?: string;
|
||||
|
||||
// Build/CI toggles (server-only)
|
||||
CI?: string;
|
||||
DOCKER?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user