Skip to main content
Version: 1.0.0

Interface: ConfigurationPersistence

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

Methods​

getCollectionConfig​

â–¸ getCollectionConfig<M>(path): PartialEntityCollection<M>

Type parameters​

Name
M

Parameters​

NameType
pathstring

Returns​

PartialEntityCollection<M>

Defined in​

models/config_persistence.tsx:38


onCollectionModified​

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

Type parameters​

NameType
Mextends unknown

Parameters​

NameType
pathstring
partialCollectionPartialEntityCollection<M>

Returns​

void

Defined in​

models/config_persistence.tsx:37

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!