Initial commit
This commit is contained in:
20
types/navigation.d.ts
vendored
Normal file
20
types/navigation.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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[]
|
||||
}
|
||||
Reference in New Issue
Block a user