enable public report
This commit is contained in:
parent
8f563d1058
commit
41c3093754
21 changed files with 307 additions and 19 deletions
|
@ -26,7 +26,7 @@ export type DamageReportViewModel = {
|
|||
status: string;
|
||||
done: boolean;
|
||||
description: string;
|
||||
imageCount: number;
|
||||
image: string[];
|
||||
reportedBy: string;
|
||||
maintenance?: MaintenanceViewModel;
|
||||
} & DamageReportAssigned;
|
||||
|
|
|
@ -10,3 +10,11 @@ export interface EquipmentViewModel {
|
|||
equipmentTypeId: string;
|
||||
equipmentType: EquipmentTypeViewModel;
|
||||
}
|
||||
|
||||
export interface MinifiedEquipmentViewModel {
|
||||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
type: string;
|
||||
assigned: "equipment";
|
||||
}
|
||||
|
|
|
@ -10,3 +10,11 @@ export interface VehicleViewModel {
|
|||
vehicleTypeId: string;
|
||||
vehicleType: VehicleTypeViewModel;
|
||||
}
|
||||
|
||||
export interface MinifiedVehicleViewModel {
|
||||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
type: string;
|
||||
assigned: "vehicle";
|
||||
}
|
||||
|
|
|
@ -13,3 +13,11 @@ export interface WearableViewModel {
|
|||
wearableTypeId: string;
|
||||
wearableType: WearableTypeViewModel;
|
||||
}
|
||||
|
||||
export interface MinifiedWearableViewModel {
|
||||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
type: string;
|
||||
assigned: "wearable";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue