Interface: FireCMSContext<UserType>
Context that includes the internal controllers and contexts used by the app. Some controllers and context included in this context can be accessed directly from their respective hooks.
see
useFireCMSContext
Type parameters​
Name | Type |
---|---|
UserType | extends User = User |
Properties​
authController​
• authController: AuthController
<UserType
>
Used auth controller
Defined in​
dataSource​
• dataSource: DataSource
Connector to your database, e.g. your Firestore database
Defined in​
dateTimeFormat​
• Optional
dateTimeFormat: string
Format of the dates in the CMS. Defaults to 'MMMM dd, yyyy, HH:mm:ss'
Defined in​
entityLinkBuilder​
• Optional
entityLinkBuilder: EntityLinkBuilder
<any
>
Builder for generating utility links for entities
Defined in​
locale​
• Optional
locale: Locale
Locale of the CMS, currently only affecting dates
Defined in​
navigationContext​
• navigationContext: NavigationContext
Context that includes the resolved navigation and utility methods and attributes.
see
useNavigation
Defined in​
sideEntityController​
• sideEntityController: SideEntityController
Controller to open the side dialog displaying entity forms
see
useSideEntityController
Defined in​
snackbarController​
• snackbarController: SnackbarController
Use this controller to display snackbars
Defined in​
storageSource​
• storageSource: StorageSource
Used storage implementation