repair create and view

This commit is contained in:
Julian Krauser 2025-07-21 12:58:32 +02:00
parent b5a3ff4dc6
commit c79d5bb1cd
18 changed files with 1046 additions and 59 deletions

View file

@ -27,6 +27,7 @@ export type RepairViewModel = {
finishedAt?: Date;
status: string;
responsible: string;
title: string;
description: string;
images: string[];
reportDocument: string;
@ -34,10 +35,12 @@ export type RepairViewModel = {
} & RepairAssigned;
export interface CreateRepairViewModel {
description: string;
reportedBy: string;
affectedId: string;
affected: "equipment" | "vehicle" | "wearable";
affectedId: string;
title: string;
description: string;
responsible: string;
reports: string[];
}
export interface UpdateRepairViewModel {