repair create and view
This commit is contained in:
parent
b5a3ff4dc6
commit
c79d5bb1cd
18 changed files with 1046 additions and 59 deletions
|
@ -27,6 +27,7 @@ export type RepairViewModel = {
|
|||
finishedAt?: Date;
|
||||
status: string;
|
||||
responsible: string;
|
||||
title: string;
|
||||
description: string;
|
||||
images: string[];
|
||||
reportDocument: string;
|
||||
|
@ -34,10 +35,12 @@ export type RepairViewModel = {
|
|||
} & RepairAssigned;
|
||||
|
||||
export interface CreateRepairViewModel {
|
||||
description: string;
|
||||
reportedBy: string;
|
||||
affectedId: string;
|
||||
affected: "equipment" | "vehicle" | "wearable";
|
||||
affectedId: string;
|
||||
title: string;
|
||||
description: string;
|
||||
responsible: string;
|
||||
reports: string[];
|
||||
}
|
||||
|
||||
export interface UpdateRepairViewModel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue