import { CustomerItem } from '@interfaces'; // ─── Route Name Constants ──────────────────────────────────────────────────── export const route = { // Auth login: 'login', // Main tabs dashboard: 'dashboard', leads: 'leads', customers: 'customers', proposals: 'proposals', estimates: 'estimates', invoices: 'invoices', projects: 'projects', tasks: 'tasks', tickets: 'tickets', // Sub screens addLead: 'addLead', leadsList: 'leadsList', leadDetails: 'leadDetails', leadProposals: 'leadProposals', leadTasks: 'leadTasks', leadNotes: 'leadNotes', customersList: 'customersList', customerDetails: 'customerDetails', addCustomer: 'addCustomer', profile: 'profile', notifications: 'notifications', editProfile: 'editProfile', } as const; // ─── Route Param Types ──────────────────────────────────────────────────────── // Use `undefined` for screens that take no params. // Add typed params here when a screen needs them, e.g. addLead: { leadId: string } // ─── Route Param Types ──────────────────────────────────────────────────────── export type RouteParams = { login: undefined; dashboard: undefined; leads: undefined; customers: undefined; proposals: undefined; estimates: undefined; invoices: undefined; projects: undefined; tasks: undefined; tickets: undefined; addLead: undefined; leadsList: undefined; leadDetails: { lead: any }; leadProposals: { leadId: string }; leadTasks: { leadId: string }; leadNotes: { leadId: string }; customersList: undefined; customerDetails: { userid: string; customer?: CustomerItem }; addCustomer: undefined; profile: undefined; notifications: undefined; editProfile: undefined; };