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

26 lines
469 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;
done: boolean;
2025-07-19 11:02:07 +02:00
}
export interface DeleteRepairCommand {
id: string;
}