import HomeIcon from "../assets/icons/home.svg"; import HomeIconFilled from "../assets/icons/home-filled.svg"; import PaymentsIcon from "../assets/icons/payments.svg"; import PaymentsIconFilled from "../assets/icons/payments-filled.svg"; import ServiceIcon from "../assets/icons/service.svg"; import ServiceIconFilled from "../assets/icons/service-filled.svg"; import BatteryIcon from "../assets/icons/battery.svg"; import BatteryIconFilled from "../assets/icons/battery-filled.svg"; import { BASE_URL, ENV } from "@env"; import InfoIcon from "../assets/icons/error.svg"; import WarningIcon from "../assets/icons/warning.svg"; import DangerIcon from "../assets/icons/danger.svg"; export default { ENV, BASE_URL, }; export const STORAGE_KEYS = { LANGUAGE: "userLanguage", AUTH_TOKEN: "authToken", THEME: "appTheme", REFRESH_TOKEN: "refreshToken", }; export const APP_CONFIG = { DEFAULT_LANGUAGE: "en", SUPPORTED_LANGUAGES: ["en", "hi"], }; export const TAB_CONFIG = [ { name: "index", title: "Home", Icon: HomeIcon, IconFilled: HomeIconFilled, path: "/", }, { name: "payments", title: "Payments", Icon: PaymentsIcon, IconFilled: PaymentsIconFilled, path: "/payments", }, { name: "service", title: "Service", Icon: ServiceIcon, IconFilled: ServiceIconFilled, path: "/service", }, { name: "my-battery", title: "My Battery", Icon: BatteryIcon, IconFilled: BatteryIconFilled, path: "/my-battery", }, ]; export const MESSAGES = { AUTHENTICATION: { INVALID_TOKEN: "Invalid Token", VERIFICATION_FAILED: "Verification failed, try again later", }, }; export const AUTH_STATUSES = { IDLE: "Idle", LOADING: "Loading", SUCCESS: "Success", FAILED: "Failed", } as const; export const ALERT_STYLES = { info: { backgroundColor: "#E5EBFD", icon: InfoIcon, }, warning: { backgroundColor: "#FFF2E2", icon: WarningIcon, }, danger: { backgroundColor: "#FFE9E9", icon: DangerIcon, }, }; export const SUPPORT = { WHATSAPP_NUMBER: "918685846459", WHATSAPP_PLACEHOLDER: "Hi, I need help regarding my vehicle.", PHONE: "+911234567890", EMAIL: "support@vecmocon.com", EMAIL_SUBJECT: "Support Request", EMAIL_BODY: "Hello,\n\nI need assistance with...", }; export type StatusType = (typeof AUTH_STATUSES)[keyof typeof AUTH_STATUSES];