// ---------------------------------------------------------------------------
// 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;
}
