equipmenttype form
This commit is contained in:
parent
8be88a5245
commit
5641dbb57f
9 changed files with 114 additions and 52 deletions
|
@ -2,19 +2,19 @@ export interface EquipmentTypeViewModel {
|
|||
id: string;
|
||||
type: string;
|
||||
description: string;
|
||||
inspectionInterval: `${number}${"d" | "m" | "y"}`;
|
||||
inspectionInterval?: `${number}-${"d" | "m" | "y"}` | `${number}/${number}`;
|
||||
// attached inspection plans
|
||||
}
|
||||
|
||||
export interface CreateEquipmentTypeViewModel {
|
||||
type: string;
|
||||
description: string;
|
||||
inspectionInterval: `${number}${"d" | "m" | "y"}`;
|
||||
inspectionInterval?: `${number}-${"d" | "m" | "y"}` | `${number}/${number}`;
|
||||
}
|
||||
|
||||
export interface UpdateEquipmentTypeViewModel {
|
||||
id: string;
|
||||
type: string;
|
||||
description: string;
|
||||
inspectionInterval: `${number}${"d" | "m" | "y"}`;
|
||||
inspectionInterval?: `${number}-${"d" | "m" | "y"}` | `${number}/${number}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue