schema change and base operations
This commit is contained in:
parent
799a719012
commit
4d37571cb6
27 changed files with 660 additions and 52 deletions
19
src/command/unit/repairCommand.ts
Normal file
19
src/command/unit/repairCommand.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
export interface CreateRepairCommand {
|
||||
description: string;
|
||||
responsible: string;
|
||||
affectedId: string;
|
||||
affected: "equipment" | "vehicle" | "wearable";
|
||||
reports: string[];
|
||||
}
|
||||
|
||||
export interface UpdateRepairCommand {
|
||||
id: string;
|
||||
status: string;
|
||||
description: string;
|
||||
responsible: string;
|
||||
reports: string[];
|
||||
}
|
||||
|
||||
export interface DeleteRepairCommand {
|
||||
id: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue