21 lines
388 B
TypeScript
21 lines
388 B
TypeScript
enum NavigationType {
|
|
MainNavigation = 0,
|
|
ServiceNavigation = 1,
|
|
LegalNavigation = 2,
|
|
}
|
|
|
|
interface NavigationEntry {
|
|
type: NavigationType
|
|
elements: NavElement[]
|
|
}
|
|
|
|
interface NavigationElement {
|
|
name: string
|
|
page?: string
|
|
hash?: string
|
|
external?: boolean
|
|
externalUrl?: string
|
|
type: "content" | "bigcommerce"
|
|
elements?: NavigationElement[]
|
|
}
|