mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-10-03 13:53:18 +00:00
22 lines
837 B
TypeScript
22 lines
837 B
TypeScript
|
|
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'] as const;
|
||
|
|
export const PRIORITIES = ['Standard', 'Urgent', 'Emergency'] as const;
|