31 lines
461 B
TypeScript
31 lines
461 B
TypeScript
export type LinkAction = 'open' | 'copy'
|
|
|
|
export interface NavLink {
|
|
id: string
|
|
title: string
|
|
subtitle: string
|
|
href: string
|
|
icon: string
|
|
action?: LinkAction
|
|
}
|
|
|
|
export interface NavGroup {
|
|
id: string
|
|
title: string
|
|
links: NavLink[]
|
|
}
|
|
|
|
export interface NavCategory {
|
|
id: string
|
|
title: string
|
|
emoji: string
|
|
groups: NavGroup[]
|
|
}
|
|
|
|
export interface NavConfig {
|
|
brand: string
|
|
tagline: string
|
|
footer: string
|
|
categories: NavCategory[]
|
|
}
|