@nnc-digital/nnc-design-system
Version:
Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
33 lines (32 loc) • 766 B
TypeScript
export interface InquestScheduleProps {
/**
* An array of Case Appointments
*/
caseAppointments: CaseAppointmentProps[];
/**
* The table title or caption
*/
title: string;
/**
* Was there an error fetching results
*/
error?: boolean;
}
export interface CaseAppointmentProps {
fullName: string;
age: number;
placeOfDeath?: string | null;
dateTimeOfDeath: string;
coroner: string;
courtroomFullAddress: string;
appointmentType: string;
startDateTime: string;
endDateTime?: string | null;
}
export declare enum CaseAppointmentType {
Formal = "formal",
Hearing = "inquest hearing",
Opening = "opening",
PreInquest = "pre-inquest review",
Writing = "writing"
}