Skip to main content

Type alias: NavigationContext

Ƭ NavigationContext: Object

Context that includes the resolved navigation and utility methods and attributes.

Type declaration#

NameTypeDescription
baseCollectionPathstringDefault path under the collection routes of the CMS will be created
basePathstringDefault path under the navigation routes of the CMS will be created
buildCMSUrl(path: string) => string-
buildCollectionPath(path: string) => string-
buildHomeUrl() => string-
getEntityOrCollectionPath(cmsPath: string) => string-
isCollectionPath(path: string) => boolean-
loadingboolean-
navigation?Navigation-
navigationLoadingError?any-

Defined in#

models/navigation.ts:50