mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
31 lines
568 B
TypeScript
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[];
|
|
}
|