62 lines
1.6 KiB
JavaScript
62 lines
1.6 KiB
JavaScript
|
|
/**
|
||
|
|
* Gruppierte Admin-Navigation (Shell: Chips mobil, Seitenleiste Desktop).
|
||
|
|
* @typedef {{ to: string, label: string, end?: boolean }} AdminNavItem
|
||
|
|
* @typedef {{ id: string, label: string, items: AdminNavItem[] }} AdminNavGroup
|
||
|
|
*/
|
||
|
|
|
||
|
|
/** @type {AdminNavGroup[]} */
|
||
|
|
export const ADMIN_NAV_GROUPS = [
|
||
|
|
{
|
||
|
|
id: 'overview',
|
||
|
|
label: 'Übersicht',
|
||
|
|
items: [{ to: '/admin', label: 'Start', end: true }],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'users',
|
||
|
|
label: 'Benutzerverwaltung',
|
||
|
|
items: [{ to: '/admin/users', label: 'Profile & Rollen' }],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'features',
|
||
|
|
label: 'Features',
|
||
|
|
items: [
|
||
|
|
{ to: '/admin/features', label: 'Feature-Registry' },
|
||
|
|
{ to: '/admin/tier-limits', label: 'Tier-Limits' },
|
||
|
|
{ to: '/admin/user-restrictions', label: 'User-Overrides' },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'subscription',
|
||
|
|
label: 'Subscription',
|
||
|
|
items: [
|
||
|
|
{ to: '/admin/tiers', label: 'Tiers' },
|
||
|
|
{ to: '/admin/coupons', label: 'Coupons' },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'training',
|
||
|
|
label: 'Trainingstypen',
|
||
|
|
items: [
|
||
|
|
{ to: '/admin/training-types', label: 'Trainingstypen' },
|
||
|
|
{ to: '/admin/activity-mappings', label: 'Activity-Mappings' },
|
||
|
|
{ to: '/admin/training-profiles', label: 'Trainings-Profile' },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'goals',
|
||
|
|
label: 'Ziele & Fokus',
|
||
|
|
items: [
|
||
|
|
{ to: '/admin/goal-types', label: 'Ziel-Typen' },
|
||
|
|
{ to: '/admin/focus-areas', label: 'Focus Areas' },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 'system',
|
||
|
|
label: 'Basiseinstellungen',
|
||
|
|
items: [
|
||
|
|
{ to: '/admin/prompts', label: 'KI-Prompts' },
|
||
|
|
{ to: '/admin/system', label: 'SMTP & Metadaten-Export' },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
]
|