next and running inspections
This commit is contained in:
parent
8747baaf2e
commit
705297ba50
6 changed files with 142 additions and 7 deletions
|
@ -38,6 +38,26 @@ export type InspectionViewModel = {
|
|||
checks: Array<InspectionPointResultViewModel>;
|
||||
} & InspectionRelated;
|
||||
|
||||
export type MinifiedInspectionViewModel = {
|
||||
id: string;
|
||||
inspectionPlanId: string;
|
||||
inspectionPlan: InspectionPlanViewModel;
|
||||
context: string;
|
||||
created: Date;
|
||||
finished?: Date;
|
||||
isOpen: boolean;
|
||||
nextInspection?: Date;
|
||||
relatedId: string;
|
||||
} & InspectionRelated;
|
||||
|
||||
export type InspectionNextViewModel = {
|
||||
id: string;
|
||||
inspectionPlanId: string;
|
||||
inspectionPlan: InspectionPlanViewModel;
|
||||
dueDate: Date;
|
||||
relatedId: string;
|
||||
} & InspectionRelated;
|
||||
|
||||
export interface InspectionPointResultViewModel {
|
||||
inspectionId: string;
|
||||
inspectionPointId: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue