Files
edr-platform/apps/edr-freight-web/backoffice/src/vite-env.d.ts
2026-07-16 08:52:29 +00:00

30 lines
730 B
TypeScript

/// <reference types="vite/client" />
interface Window {
__IAM_CONFIG__?: {
apiUrl: string;
postLoginPath?: string;
};
__USER_MANAGEMENT_BRANDING__?: {
organizationName: string;
appName: string;
moduleBasePath: string;
backToAppPath?: string;
backToAppLabel?: string;
};
}
interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_BASE_API_URL: string;
readonly VITE_TOKEN_REFRESH_INTERVAL_MINUTES?: string;
/** PostHog project token. Absent = observability disabled (see lib/posthog.ts). */
readonly VITE_POSTHOG_KEY?: string;
/** Self-hosted PostHog instance URL. */
readonly VITE_POSTHOG_HOST?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}