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