2025-09-27 12:10:43 +02:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
|
|
|
|
|
|
interface ImportMetaEnv {
|
|
|
|
|
readonly VITE_API_URL: string
|
|
|
|
|
readonly VITE_API_BASE_URL: string
|
|
|
|
|
readonly VITE_APP_TITLE: string
|
|
|
|
|
readonly VITE_APP_VERSION: string
|
|
|
|
|
readonly VITE_ENVIRONMENT: string
|
2025-10-18 16:03:23 +02:00
|
|
|
readonly VITE_PILOT_MODE_ENABLED?: string
|
|
|
|
|
readonly VITE_PILOT_COUPON_CODE?: string
|
|
|
|
|
readonly VITE_PILOT_TRIAL_MONTHS?: string
|
|
|
|
|
readonly VITE_STRIPE_PUBLISHABLE_KEY?: string
|
2025-09-27 12:10:43 +02:00
|
|
|
// more env variables...
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
|
readonly env: ImportMetaEnv
|
2025-10-18 16:03:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Runtime configuration injected by Kubernetes at container startup
|
|
|
|
|
interface Window {
|
|
|
|
|
__RUNTIME_CONFIG__?: {
|
|
|
|
|
VITE_API_URL?: string;
|
|
|
|
|
VITE_APP_TITLE?: string;
|
|
|
|
|
VITE_APP_VERSION?: string;
|
|
|
|
|
VITE_PILOT_MODE_ENABLED?: string;
|
|
|
|
|
VITE_PILOT_COUPON_CODE?: string;
|
|
|
|
|
VITE_PILOT_TRIAL_MONTHS?: string;
|
|
|
|
|
VITE_STRIPE_PUBLISHABLE_KEY?: string;
|
|
|
|
|
};
|
2025-09-27 12:10:43 +02:00
|
|
|
}
|