Skip to main content
Version: 1.0.0

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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!