adapt models to backend changes
This commit is contained in:
parent
d70edd0086
commit
9b2ab1923e
1 changed files with 2 additions and 1 deletions
|
@ -8,9 +8,10 @@ export interface DamageReportViewModel {
|
||||||
status: string;
|
status: string;
|
||||||
done: boolean;
|
done: boolean;
|
||||||
description: string;
|
description: string;
|
||||||
providedImage?: string;
|
providedImage: Array<string>;
|
||||||
relatedId: string;
|
relatedId: string;
|
||||||
related: EquipmentViewModel | VehicleViewModel | WearableViewModel;
|
related: EquipmentViewModel | VehicleViewModel | WearableViewModel;
|
||||||
|
affected: "equipment" | "vehicle" | "wearable";
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateDamageReportViewModel {
|
export interface CreateDamageReportViewModel {
|
||||||
|
|
Loading…
Add table
Reference in a new issue