rez-table-listing-mui
Version:
A rez table listing component built on TanStack Table
61 lines (56 loc) • 1.44 kB
text/typescript
export interface LeadCardProps {
key: string | number;
cardData: any;
}
export interface LeadData {
id: string | number;
entity_type: string;
name: string;
status: string;
admission_grade: string;
status_id: string;
parent_type: string | null;
parent_id: string | null;
code: string;
created_by: string;
created_date: string; // ISO datetime string
modified_by: string;
modified_date: string; // ISO datetime string
enterprise_id: number | string | null;
organization_id: number | string | null;
appcode: string | null;
level_id: string | number;
level_type: string;
lead_owner: string;
student_first_name: string;
lead_source: string | null;
enquiry_date: string; // format: DD-MM-YYYY
lead_status: string;
lead_status_id: string;
assigned_counselor: string | null;
contact_first_name: string;
primary_mobile: string;
stage_group_id: number | string;
stage_id: number | string;
profile_image: string | null;
}
export interface Lane {
id: string | number;
name: string;
color: string | null;
darkColor: string | null;
darkerColor: string | null;
}
export interface SwimLane {
id: string | number;
name: string;
sub_lanes: SubLane[];
count: number | string;
}
export interface SubLane {
id: number | string;
name: string;
color: string;
lane_id: number | string;
expanded: boolean;
}