frontend/types/sidebar.ts
Jesse Wierzbinski 092bce0f24
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 2m30s
Deploy to GitHub Pages / build (push) Failing after 6s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 5s
Mirror to Codeberg / Mirror (push) Failing after 0s
chore: ⬆️ Upgrade to the latest Shadcn-Vue version
2025-03-28 01:16:24 +01:00

32 lines
606 B
TypeScript

import type { LucideIcon } from "lucide-vue-next";
import type { Component } from "vue";
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[];
}