Skip to main content
Version: 3.0.0-beta

Interface: UserConfigurationPersistence

This interface is in charge of defining the controller that persists modifications to a collection or collection, and retrieves them back from a data source, such as local storage or Firestore.

Properties​

collapsedGroups​

collapsedGroups: string[]

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:21


favouritePaths​

favouritePaths: string[]

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:19


getCollectionConfig()​

getCollectionConfig: <M>(path) => Partial<EntityCollection<M, any>>

Type Parameters​

• M extends Record<string, any> = any

Parameters​

• path: string

Returns​

Partial<EntityCollection<M, any>>

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:16


onCollectionModified()​

onCollectionModified: <M>(path, partialCollection) => void

Type Parameters​

• M extends Record<string, any> = any

Parameters​

• path: string

• partialCollection: Partial<EntityCollection<M, any>>

Returns​

void

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:15


recentlyVisitedPaths​

recentlyVisitedPaths: string[]

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:17


setCollapsedGroups()​

setCollapsedGroups: (paths) => void

Parameters​

• paths: string[]

Returns​

void

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:22


setFavouritePaths()​

setFavouritePaths: (paths) => void

Parameters​

• paths: string[]

Returns​

void

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:20


setRecentlyVisitedPaths()​

setRecentlyVisitedPaths: (paths) => void

Parameters​

• paths: string[]

Returns​

void

Defined in​

packages/firecms_core/src/types/local_config_persistence.tsx:18

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