import { Utils } from '../utils';
enum CacheType {
- CHARGING_STATION_TEMPLATE = 'chargingStationTemplate',
- CHARGING_STATION_CONFIGURATION = 'chargingStationConfiguration',
+ chargingStationTemplate = 'chargingStationTemplate',
+ chargingStationConfiguration = 'chargingStationConfiguration',
}
type CacheableType = ChargingStationTemplate | ChargingStationConfiguration;
}
private getChargingStationConfigurationKey(hash: string): string {
- return `${CacheType.CHARGING_STATION_CONFIGURATION}${hash}`;
+ return `${CacheType.chargingStationConfiguration}${hash}`;
}
private getChargingStationTemplateKey(hash: string): string {
- return `${CacheType.CHARGING_STATION_TEMPLATE}${hash}`;
+ return `${CacheType.chargingStationTemplate}${hash}`;
}
private has(key: string): boolean {