fill out inspection and inspection plan
This commit is contained in:
parent
23bdde5fc2
commit
1409cf8045
12 changed files with 374 additions and 77 deletions
|
@ -37,8 +37,21 @@ export type InspectionViewModel = {
|
|||
|
||||
export interface InspectionPointResultViewModel {
|
||||
inspectionId: string;
|
||||
inspectionVersionedPlanId: string;
|
||||
inspectionPointId: string;
|
||||
inspectionPoint?: InspectionPointViewModel;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export type CreateInspectionViewModel = {
|
||||
assigned: "equipment" | "vehicle" | "wearable";
|
||||
relatedId: string;
|
||||
inspectionPlanId: string;
|
||||
nextInspection?: Date;
|
||||
context?: string;
|
||||
};
|
||||
|
||||
export type UpdateInspectionViewModel = {
|
||||
id: string;
|
||||
nextInspection?: Date;
|
||||
context?: string;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue