Skip to main content
Version: 2.0.0

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

lib/src/types/local_config_persistence.tsx:21


favouritePaths

favouritePaths: string[]

Defined in

lib/src/types/local_config_persistence.tsx:19


getCollectionConfig

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

Type declaration

▸ <M>(path): Partial<EntityCollection<M, string, User>>

Type parameters
NameType
Mextends Record<string, any> = any
Parameters
NameType
pathstring
Returns

Partial<EntityCollection<M, string, User>>

Defined in

lib/src/types/local_config_persistence.tsx:16


onCollectionModified

onCollectionModified: <M>(path: string, partialCollection: Partial<EntityCollection<M, string, User>>) => void

Type declaration

▸ <M>(path, partialCollection): void

Type parameters
NameType
Mextends Record<string, any> = any
Parameters
NameType
pathstring
partialCollectionPartial<EntityCollection<M, string, User>>
Returns

void

Defined in

lib/src/types/local_config_persistence.tsx:15


recentlyVisitedPaths

recentlyVisitedPaths: string[]

Defined in

lib/src/types/local_config_persistence.tsx:17


setCollapsedGroups

setCollapsedGroups: (paths: string[]) => void

Type declaration

▸ (paths): void

Parameters
NameType
pathsstring[]
Returns

void

Defined in

lib/src/types/local_config_persistence.tsx:22


setFavouritePaths

setFavouritePaths: (paths: string[]) => void

Type declaration

▸ (paths): void

Parameters
NameType
pathsstring[]
Returns

void

Defined in

lib/src/types/local_config_persistence.tsx:20


setRecentlyVisitedPaths

setRecentlyVisitedPaths: (paths: string[]) => void

Type declaration

▸ (paths): void

Parameters
NameType
pathsstring[]
Returns

void

Defined in

lib/src/types/local_config_persistence.tsx:18

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!