command Handlers and schema update
This commit is contained in:
parent
0f6401953f
commit
7883bb7d7f
42 changed files with 1076 additions and 159 deletions
17
src/command/unit/inspection/inspectionCommand.ts
Normal file
17
src/command/unit/inspection/inspectionCommand.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
export interface CreateInspectionCommand {
|
||||
context: string;
|
||||
nextInspection?: Date;
|
||||
inspectionPlanId: string;
|
||||
relatedId: string;
|
||||
assigned: "vehicle" | "equipment";
|
||||
}
|
||||
|
||||
export interface UpdateInspectionCommand {
|
||||
id: string;
|
||||
context: string;
|
||||
nextInspection?: Date;
|
||||
}
|
||||
|
||||
export interface DeleteInspectionCommand {
|
||||
id: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue