add features

This commit is contained in:
Matthias Hochmeister
2026-03-03 17:01:53 +01:00
parent 92b05726d4
commit 5a6fc85a75
30 changed files with 1104 additions and 198 deletions

View File

@@ -21,10 +21,11 @@ export type AusruestungWartungslogArt = 'Prüfung' | 'Reparatur' | 'Sonstiges';
// ── Lookup Entity ────────────────────────────────────────────────────────────
export interface AusruestungKategorie {
id: string;
name: string;
kurzname: string;
id: string;
name: string;
kurzname: string;
sortierung: number;
motorisiert: boolean;
}
// ── API Response Shapes ──────────────────────────────────────────────────────
@@ -35,6 +36,7 @@ export interface AusruestungListItem {
kategorie_id: string;
kategorie_name: string;
kategorie_kurzname: string;
kategorie_motorisiert: boolean;
seriennummer: string | null;
inventarnummer: string | null;
hersteller: string | null;

View File

@@ -16,6 +16,7 @@ export interface VeranstaltungKategorie {
farbe: string; // hex color e.g. '#1976d2'
icon?: string | null; // MUI icon name
zielgruppen: string[];
alle_gruppen: boolean;
erstellt_am: string;
aktualisiert_am: string;
}

View File

@@ -0,0 +1,20 @@
// ---------------------------------------------------------------------------
// Notification types — mirrors backend model
// ---------------------------------------------------------------------------
export type NotificationSchwere = 'info' | 'warnung' | 'fehler';
export interface Notification {
id: string;
user_id: string;
typ: string;
titel: string;
nachricht: string;
schwere: NotificationSchwere;
gelesen: boolean;
gelesen_am: string | null;
link: string | null;
quell_id: string | null;
quell_typ: string | null;
erstellt_am: string;
}