ff-admin-server/src/command/unit/repairCommand.ts

27 lines
530 B
TypeScript
Raw Normal View History

2025-07-19 11:02:07 +02:00
export interface CreateRepairCommand {
2025-07-21 12:58:19 +02:00
title: string;
2025-07-19 11:02:07 +02:00
description: string;
responsible: string;
affectedId: string;
affected: "equipment" | "vehicle" | "wearable";
reports: string[];
}
export interface UpdateRepairCommand {
id: string;
2025-07-21 12:58:19 +02:00
title: string;
2025-07-19 11:02:07 +02:00
description: string;
responsible: string;
2025-07-22 13:10:13 +02:00
}
export interface UpdateRepairStatusCommand {
id: string;
status: string;
2025-07-25 11:04:53 +02:00
user: { id: string; firstname: string; lastname: string };
2025-07-22 13:10:13 +02:00
done: boolean;
2025-07-19 11:02:07 +02:00
}
export interface DeleteRepairCommand {
id: string;
}