Skip to main content

LocalStorageConfig

LocalStorageConfig represents the configuration that will be used if storage type is local within the client usage.
It composes of base path.

Each instance is produced automatically when creating a new rac-delta client with local storage type.


Structure

export interface LocalStorageConfig extends BaseStorageConfig {
type: 'local';
basePath: string;
}

Properties

PropertyTypeDescription
typelocalConst string that identifies this configuration as local storage configuration.
basePathstringBase path where all operations of rac-delta storage must be done.