Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: James Brunton <jbrunton96@gmail.com> Co-authored-by: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com> Co-authored-by: Reece <reece@stirlingpdf.com> Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com> Co-authored-by: Ludy <Ludy87@users.noreply.github.com>
30 lines
1003 B
TypeScript
30 lines
1003 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
// Used by all builds (.env)
|
|
readonly VITE_API_BASE_URL: string;
|
|
readonly VITE_GOOGLE_DRIVE_CLIENT_ID: string;
|
|
readonly VITE_GOOGLE_DRIVE_API_KEY: string;
|
|
readonly VITE_GOOGLE_DRIVE_APP_ID: string;
|
|
readonly VITE_SUPABASE_URL: string;
|
|
readonly VITE_SUPABASE_PUBLISHABLE_DEFAULT_KEY: string;
|
|
readonly VITE_STRIPE_PUBLISHABLE_KEY: string;
|
|
readonly VITE_PUBLIC_POSTHOG_KEY: string;
|
|
readonly VITE_PUBLIC_POSTHOG_HOST: string;
|
|
|
|
// SaaS only (.env.saas)
|
|
readonly VITE_USERBACK_TOKEN: string;
|
|
readonly VITE_DEV_BYPASS_AUTH: string;
|
|
|
|
// Desktop only (.env.desktop)
|
|
readonly VITE_DESKTOP_BACKEND_URL: string;
|
|
readonly VITE_SAAS_SERVER_URL: string;
|
|
readonly VITE_SAAS_BACKEND_API_URL: string;
|
|
/** When "true" (dev only), desktop auth treats JWT as expired — see authService.shouldSimulateExpiredJwt */
|
|
readonly VITE_DEV_SIMULATE_EXPIRED_JWT: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|