26 lines
530 B
TypeScript
26 lines
530 B
TypeScript
export interface CreateRepairCommand {
|
|
title: string;
|
|
description: string;
|
|
responsible: string;
|
|
affectedId: string;
|
|
affected: "equipment" | "vehicle" | "wearable";
|
|
reports: string[];
|
|
}
|
|
|
|
export interface UpdateRepairCommand {
|
|
id: string;
|
|
title: string;
|
|
description: string;
|
|
responsible: string;
|
|
}
|
|
|
|
export interface UpdateRepairStatusCommand {
|
|
id: string;
|
|
status: string;
|
|
user: { id: string; firstname: string; lastname: string };
|
|
done: boolean;
|
|
}
|
|
|
|
export interface DeleteRepairCommand {
|
|
id: string;
|
|
}
|