feat(frontend): Dashboard-Ansicht (Modul 13)

/dashboard als Startseite nach Login mit Kennzahlen-Kacheln und
Hinweisen (überfällige Aufgaben, auffällige Völker, Lagerartikel
unter Mindestbestand).
This commit is contained in:
Nick Szaunig committed 2026-08-22 05:22:50 +02:00
1 parent 09407d4378
commit 55b9bc2587
7 files changed
+123 -3

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { apiFetch } from "@/lib/auth/api-client";
import { DashboardAlert, DashboardSummary } from "./types";
export function fetchDashboardSummary(): Promise<DashboardSummary> {
return apiFetch<DashboardSummary>("/dashboard/summary");
}
export function fetchDashboardAlerts(): Promise<DashboardAlert[]> {
return apiFetch<DashboardAlert[]>("/dashboard/alerts");
}