Skip to main content

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

NameType
UserTypeextends User = User

Properties

authController

โ€ข authController: AuthController<UserType>

Used auth controller

Defined in

models/firecms_context.tsx:57


dataSource

โ€ข dataSource: DataSource

Connector to your database, e.g. your Firestore database

Defined in

models/firecms_context.tsx:34


dateTimeFormat

โ€ข Optional dateTimeFormat: string

Format of the dates in the CMS. Defaults to 'MMMM dd, yyyy, HH:mm:ss'

Defined in

models/firecms_context.tsx:24


entityLinkBuilder

โ€ข Optional entityLinkBuilder: EntityLinkBuilder<any>

Builder for generating utility links for entities

Defined in

models/firecms_context.tsx:62


locale

โ€ข Optional locale: Locale

Locale of the CMS, currently only affecting dates

Defined in

models/firecms_context.tsx:29


โ€ข navigationContext: NavigationContext

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

see useNavigation

Defined in

models/firecms_context.tsx:46


sideEntityController

โ€ข sideEntityController: SideEntityController

Controller to open the side dialog displaying entity forms

see useSideEntityController

Defined in

models/firecms_context.tsx:52


snackbarController

โ€ข snackbarController: SnackbarController

Use this controller to display snackbars

Defined in

models/firecms_context.tsx:67


storageSource

โ€ข storageSource: StorageSource

Used storage implementation

Defined in

models/firecms_context.tsx:39