frontend/app/types/sidebar.ts
Jesse Wierzbinski 7f7cf20311
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 1s
Deploy to GitHub Pages / build (push) Failing after 1s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 1s
Mirror to Codeberg / Mirror (push) Failing after 1s
chore: ⬆️ Upgrade to Nuxt 4
2025-07-16 07:48:39 +02:00

31 lines
568 B
TypeScript

import type { LucideIcon } from "lucide-vue-next";
export interface SidebarNavItem {
title: string;
url: string;
icon: LucideIcon;
requiresLogin?: boolean;
}
export interface SidebarNavGroup {
title: string;
items: SidebarNavItem[];
}
export interface SidebarNavSubItem {
title: string;
url: string;
}
export interface SidebarNavMainItem {
title: string;
url: string;
icon: LucideIcon;
items: SidebarNavSubItem[];
}
export interface SidebarConfig {
navMain: SidebarNavMainItem[];
other: SidebarNavItem[];
}