18 lines
283 B
TypeScript
18 lines
283 B
TypeScript
enum NavigationType {
|
|
MainNavigation = 0,
|
|
ServiceNavigation = 1,
|
|
}
|
|
|
|
interface Navigation {
|
|
type: NavigationType
|
|
elements: NavElement[]
|
|
}
|
|
|
|
interface NavElement {
|
|
endpoint: boolean
|
|
name: string
|
|
image?: string
|
|
page?: string
|
|
elements?: NavElement[]
|
|
}
|