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​
Name | Type |
---|---|
M | extends Record <string , any > = any |
Parameters​
Name | Type |
---|---|
path | string |
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​
Name | Type |
---|---|
M | extends Record <string , any > = any |
Parameters​
Name | Type |
---|---|
path | string |
partialCollection | Partial <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​
Name | Type |
---|---|
paths | string [] |
Returns​
void
Defined in​
lib/src/types/local_config_persistence.tsx:22
setFavouritePaths​
• setFavouritePaths: (paths
: string
[]) => void
Type declaration​
â–¸ (paths
): void
Parameters​
Name | Type |
---|---|
paths | string [] |
Returns​
void
Defined in​
lib/src/types/local_config_persistence.tsx:20
setRecentlyVisitedPaths​
• setRecentlyVisitedPaths: (paths
: string
[]) => void
Type declaration​
â–¸ (paths
): void
Parameters​
Name | Type |
---|---|
paths | string [] |
Returns​
void