Sprint 8: minimale Admin-Seite (Standort/Objekt-Anlage) im Frontend
Frontend deckte bisher nur den Mitarbeiter-Kontrollflow ab, Stammdaten mussten per API/Skript angelegt werden (Test-Deployment-Lücke). /admin zeigt Standort- und Objekt-Anlage (aus aktiver Vorlage), nur für Rolle administration sichtbar (/auth/me liefert Rollen an AuthContext). Bewusst kein Bereich/Kategorie/Material-CRUD - kommt aus Excel-Import. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L85hmKbvX7Cqkq47KnQhFt
This commit is contained in:
@@ -47,3 +47,24 @@ export interface Material {
|
||||
einheit: string;
|
||||
materialtyp: string;
|
||||
}
|
||||
|
||||
export interface Standort {
|
||||
id: number;
|
||||
name: string;
|
||||
adresse: string | null;
|
||||
}
|
||||
|
||||
export interface Beladungsvorlage {
|
||||
id: number;
|
||||
objekttyp_id: number;
|
||||
name: string;
|
||||
version: number;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface Me {
|
||||
id: number;
|
||||
name: string;
|
||||
login: string;
|
||||
rollen: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user