export const API_URL = import.meta.env.VITE_API_URL || '/api'; export const CACHE_TIME_SHORT = 2 * 60 * 1000; export const CACHE_TIME_MEDIUM = 5 * 60 * 1000; export const CACHE_TIME_LONG = 10 * 60 * 1000; export const STALE_TIME_SHORT = 1 * 60 * 1000; export const STALE_TIME_MEDIUM = 5 * 60 * 1000; export const STALE_TIME_LONG = 10 * 60 * 1000; export const DEFAULT_PAGE_SIZE = 12; export const DEFAULT_PAGE = 1; export const DEBOUNCE_SEARCH = 600; export const STORAGE_KEY_TOKEN = 'proposal_system_token'; export const STORAGE_KEY_SIDEBAR = 'sidebarOpen'; export const PROPOSAL_STATUSES = ['Draft', 'InReview', 'Approved', 'Sent', 'Revised'] as const; export const SERVICE_CATEGORIES = ['HVAC', 'Plumbing', 'Electrical', 'General', 'Renovation', 'Other'] as const; export const PRIORITIES = ['Standard', 'Urgent', 'Emergency'] as const; export const STATUS_LABELS: Record = { Draft: 'Draft', InReview: 'In Review', Approved: 'Approved', Sent: 'Sent', Revised: 'Revised', }; export const STATUS_COLORS: Record = { Draft: 'default', InReview: 'info', Approved: 'success', Sent: 'primary', Revised: 'warning', }; export const DRAWER_WIDTH = 220; export const PRIORITY_LABELS: Record = { Standard: 'Standard', Urgent: 'Urgent', Emergency: 'Emergency Dispatch', }; export const PRIORITY_COLORS: Record = { Standard: 'default', Urgent: 'warning', Emergency: 'error', }; export const PRIORITY_ROW_SX: Record = { Urgent: { borderLeft: '4px solid', borderLeftColor: 'warning.main', }, Emergency: { borderLeft: '4px solid', borderLeftColor: 'error.main', backgroundColor: 'error.50', }, };