UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

12 lines (11 loc) 428 B
import { IFileStorage } from '../interfaces/files'; import { SystemConfig } from './types'; export interface ConfigStore extends IFileStorage { fetchConfig(): Promise<SystemConfig | null>; saveConfig(config: SystemConfig): Promise<void>; } export declare class ConfigStoreFactory { private static instance; static setConfigStore(configStorage: ConfigStore): ConfigStore; static getInstance(): ConfigStore; }