fix: repair mangled CreateVorlagePayload/UpdateVorlagePayload types after interval union edit

This commit is contained in:
Matthias Hochmeister
2026-03-28 17:51:55 +01:00
parent 6091d6c4dd
commit a04de62634

View File

@@ -33,7 +33,7 @@ export interface ChecklistVorlage {
ausruestung_name?: string;
ausruestung_typ_id?: number;
ausruestung_typ?: string;
intervall?: 'weekly' | 'monthly' | 'yearly' | 'custom';
intervall?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly' | 'custom' | null;
intervall_tage?: number;
beschreibung?: string;
aktiv: boolean;
@@ -123,11 +123,17 @@ export interface ChecklistAusfuehrungFilter {
export interface CreateVorlagePayload {
name: string;
fahrzeug_typ_id?: number;
fahrzeug_id?: string;
ausruestung_typ_id?: number;
ausruestung_id?: string;
intervall?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly' | 'custom';
fahrzeug_typ_id?: number | null;
fahrzeug_id?: string | null;
ausruestung_typ_id?: number | null;
ausruestung_id?: string | null;
intervall?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly' | 'custom' | null;
intervall_tage?: number | null;
beschreibung?: string | null;
aktiv?: boolean;
}
export interface UpdateVorlagePayload {
name?: string;
fahrzeug_typ_id?: number | null;
fahrzeug_id?: string | null;