veza/apps/web/src/vite-env.d.ts

38 lines
1.3 KiB
TypeScript
Raw Normal View History

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_WS_URL: string;
2025-12-13 02:34:34 +00:00
readonly VITE_STREAM_URL: string;
readonly VITE_HLS_BASE_URL?: string;
2025-12-13 02:34:34 +00:00
readonly VITE_UPLOAD_URL: string;
readonly VITE_APP_NAME: string;
readonly VITE_DEBUG: string;
readonly VITE_USE_MSW: string;
readonly VITE_STORYBOOK?: string;
2025-12-13 02:34:34 +00:00
readonly VITE_FCM_VAPID_KEY: string;
/** Feature flags (optional) */
readonly VITE_FEATURE_TWO_FACTOR_AUTH?: string;
readonly VITE_FEATURE_PLAYLIST_COLLABORATION?: string;
readonly VITE_FEATURE_PLAYLIST_SEARCH?: string;
readonly VITE_FEATURE_PLAYLIST_SHARE?: string;
readonly VITE_FEATURE_PLAYLIST_RECOMMENDATIONS?: string;
readonly VITE_FEATURE_HLS_STREAMING?: string;
readonly VITE_FEATURE_ROLE_MANAGEMENT?: string;
readonly VITE_FEATURE_NOTIFICATIONS?: string;
// more env variables...
}
interface ImportMeta {
2025-12-13 02:34:34 +00:00
readonly env: ImportMetaEnv;
}
declare module '@juspay-tech/react-hyper-js' {
export function useHyper(): unknown;
export function HyperElements(props: Record<string, unknown>): JSX.Element;
export function UnifiedCheckout(props: Record<string, unknown>): JSX.Element;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const _default: any;
export default _default;
}