Skip to main content
Version: 3.0.0-beta

Type Alias: BuildNavigationContextProps<EC, USER>

BuildNavigationContextProps<EC, USER>: object

Type Parameters​

• EC extends EntityCollection

• USER extends User

Type declaration​

adminViews?​

optional adminViews: CMSView[] | CMSViewsBuilder

authController​

authController: AuthController<USER>

baseCollectionPath?​

optional baseCollectionPath: string

basePath?​

optional basePath: string

collectionPermissions?​

optional collectionPermissions: PermissionsBuilder

collections?​

optional collections: EC[] | EntityCollectionsBuilder<EC>

dataSourceDelegate​

dataSourceDelegate: DataSourceDelegate

injectCollections()?​

optional injectCollections: (collections) => EntityCollection[]

Use this method to inject collections to the CMS. You receive the current collections as a parameter, and you can return a new list of collections.

Parameters​

• collections: EntityCollection[]

Returns​

EntityCollection[]

See​

joinCollectionLists

userConfigPersistence?​

optional userConfigPersistence: UserConfigurationPersistence

views?​

optional views: CMSView[] | CMSViewsBuilder

viewsOrder?​

optional viewsOrder: string[]

Defined in​

packages/firecms_core/src/hooks/useBuildNavigationController.tsx:33

Sign up to our newsletter to get the latest news and updates. No spam!