43 lines
862 B
TypeScript
43 lines
862 B
TypeScript
export type RecentApplicationsProps = {
|
|
firstname?: string
|
|
lastname?: string
|
|
uid?: string
|
|
loan_amount?: string
|
|
payment_month?: string
|
|
sales_agent?: string
|
|
gender?: string | null
|
|
marital_status?: string
|
|
email?: string
|
|
address?: string
|
|
state?: string
|
|
country?: string
|
|
status?: string
|
|
added?: string
|
|
updated?: string
|
|
}[]
|
|
|
|
export type RecentBVNProps = {
|
|
id?: string
|
|
uid?: string
|
|
bvn?: string
|
|
status?: string
|
|
added?: string
|
|
updated?: string
|
|
firstname?: string | null
|
|
lastname?: string | null
|
|
middlename?: string | null
|
|
gender?: string | null
|
|
birthdate?: string | null
|
|
phone?: string | null
|
|
nationality?: string | null
|
|
}[]
|
|
|
|
|
|
export type DashDataProps = {
|
|
loading: boolean,
|
|
data: {
|
|
call_return?: string
|
|
recent_applications? : RecentApplicationsProps
|
|
recent_bvn?: RecentBVNProps
|
|
}
|
|
} |