mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
chore: ⬆️ Upgrade to the latest Shadcn-Vue version
Some checks failed
Some checks failed
This commit is contained in:
parent
7649ecfb80
commit
092bce0f24
169 changed files with 1860 additions and 1088 deletions
31
types/sidebar.ts
Normal file
31
types/sidebar.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue