This commit is contained in:
Matthias Hochmeister
2026-03-16 15:01:09 +01:00
parent 3c72fe627f
commit f3ad989a9e
28 changed files with 794 additions and 52 deletions

View File

@@ -58,4 +58,10 @@ export interface BroadcastPayload {
nachricht: string;
schwere?: 'info' | 'warnung' | 'fehler';
targetGroup?: string;
targetDienstgrad?: string[];
}
export interface BroadcastPreviewPayload {
targetGroup?: string;
targetDienstgrad?: string[];
}

View File

@@ -47,10 +47,21 @@ export interface Fahrzeug {
kurzname: string | null;
amtliches_kennzeichen: string | null;
status: string;
status_bemerkung?: string | null;
ausser_dienst_von: string | null;
ausser_dienst_bis: string | null;
}
export interface MaintenanceWindow {
id: string;
bezeichnung: string;
kurzname: string | null;
status: string;
status_bemerkung: string | null;
ausser_dienst_von: string;
ausser_dienst_bis: string;
}
export interface CreateBuchungInput {
fahrzeugId: string;
titel: string;

View File

@@ -76,3 +76,11 @@ export interface CreateVeranstaltungInput {
anmeldung_bis?: string | null;
wiederholung?: WiederholungConfig | null;
}
export interface ConflictEvent {
id: string;
titel: string;
datum_von: string; // ISO
datum_bis: string; // ISO
kategorie_name: string | null;
}