Skip to main content
Version: 2.0.0-alpha

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.

Methods​

getCollectionConfig​

â–¸ getCollectionConfig<M>(path): Partial<EntityCollection<M, string, User>>

Type parameters​

Name
M

Parameters​

NameType
pathstring

Returns​

Partial<EntityCollection<M, string, User>>

Defined in​

lib/src/models/local_config_persistence.tsx:16


onCollectionModified​

â–¸ onCollectionModified<M>(path, partialCollection): void

Type parameters​

Name
M

Parameters​

NameType
pathstring
partialCollectionPartial<EntityCollection<M, string, User>>

Returns​

void

Defined in​

lib/src/models/local_config_persistence.tsx:15