add features
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
20
frontend/src/types/notification.types.ts
Normal file
20
frontend/src/types/notification.types.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user