05933a08ca
- V8 migration: audit_events table (JSONB metadata, immutable by design) - AuditEvent entity + AuditEventType enum (18 event types) - AuditService: log events, paginated query, PDF export - AuditController: GET /api/v1/audit (paginated, filtered), GET export - AuditEventRepository with JPQL filtered queries - Frontend: /audit-log page (read-only, filterable, timezone-aware) - PDF export button for Behörde inspections - Sidebar: 'Protokoll' under new Compliance section - PdfReportGenerator: generateAuditReport method added - 10-year retention, REVOKE DELETE documented - Full i18n (de/en) with 18 event type translations
50 lines
917 B
TypeScript
50 lines
917 B
TypeScript
import type { NavigationType } from "@/types"
|
|
|
|
export const navigationsData: NavigationType[] = [
|
|
{
|
|
title: "Main",
|
|
items: [
|
|
{
|
|
title: "Dashboard",
|
|
href: "/dashboard",
|
|
iconName: "LayoutDashboard",
|
|
},
|
|
{
|
|
title: "Mitglieder",
|
|
href: "/members",
|
|
iconName: "Users",
|
|
},
|
|
{
|
|
title: "Ausgabe",
|
|
href: "/distributions",
|
|
iconName: "Leaf",
|
|
},
|
|
{
|
|
title: "Lager",
|
|
href: "/stock",
|
|
iconName: "Package",
|
|
},
|
|
{
|
|
title: "Berichte",
|
|
href: "/reports",
|
|
iconName: "FileText",
|
|
},
|
|
{
|
|
title: "Personal",
|
|
href: "/settings/staff",
|
|
iconName: "UserCog",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Compliance",
|
|
items: [
|
|
{
|
|
title: "Protokoll",
|
|
href: "/audit-log",
|
|
iconName: "ScrollText",
|
|
},
|
|
],
|
|
},
|
|
]
|