proposal-system/mobile/src/constants/index.ts

34 lines
810 B
TypeScript
Raw Normal View History

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_USER = 'proposal_system_user';
export const KEYCHAIN_SERVICE = 'com.seahavenind.proposals';
export const PROPOSAL_STATUSES = [
'Draft',
'InReview',
'Approved',
'Sent',
'Revised',
] as const;
export const SERVICE_CATEGORIES = [
'HVAC',
'Plumbing',
'Electrical',
'General',
'Renovation',
] as const;
export const PRIORITIES = ['Standard', 'Urgent', 'Emergency'] as const;