native_convex_CRM/app/interfaces/dashboardLeadCount.ts

16 lines
401 B
TypeScript

export interface DashboardLeadCountItem {
id: string;
name: string;
statusorder: number | string;
color: string;
isdefault: number | string;
count: number;
}
export type DashboardLeadCountAction = 'today' | 'week' | 'month' | 'quarter' | 'halfyear' | 'year' | 'all';
export interface DashboardLeadCountPayload {
action: DashboardLeadCountAction | string;
staffid: string | number;
}