From fd49064f1e0559dca7cdfb0a00ab6609532f66d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 27 Jul 2023 18:48:08 +0200 Subject: [PATCH] refactor: rename ChargingStationConfigurationUtils.ts -> ChargingStationConfigurationKeyUtils.ts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 2 +- ...gurationUtils.ts => ChargingStationConfigurationKeyUtils.ts} | 0 src/charging-station/ChargingStationUtils.ts | 2 +- .../broadcast-channel/ChargingStationWorkerBroadcastChannel.ts | 2 +- src/charging-station/index.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/charging-station/{ChargingStationConfigurationUtils.ts => ChargingStationConfigurationKeyUtils.ts} (100%) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 57fbac97..e802e0cb 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -25,7 +25,7 @@ import { deleteConfigurationKey, getConfigurationKey, setConfigurationKeyValue, -} from './ChargingStationConfigurationUtils'; +} from './ChargingStationConfigurationKeyUtils'; import { buildConnectorsMap, checkConnectorsConfiguration, diff --git a/src/charging-station/ChargingStationConfigurationUtils.ts b/src/charging-station/ChargingStationConfigurationKeyUtils.ts similarity index 100% rename from src/charging-station/ChargingStationConfigurationUtils.ts rename to src/charging-station/ChargingStationConfigurationKeyUtils.ts diff --git a/src/charging-station/ChargingStationUtils.ts b/src/charging-station/ChargingStationUtils.ts index 2be30929..d7da3dc8 100644 --- a/src/charging-station/ChargingStationUtils.ts +++ b/src/charging-station/ChargingStationUtils.ts @@ -19,7 +19,7 @@ import { } from 'date-fns'; import type { ChargingStation } from './ChargingStation'; -import { getConfigurationKey } from './ChargingStationConfigurationUtils'; +import { getConfigurationKey } from './ChargingStationConfigurationKeyUtils'; import { BaseError } from '../exception'; import { AmpereUnits, diff --git a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts index 7c1a2820..f591bfbe 100644 --- a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts +++ b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts @@ -39,7 +39,7 @@ import { } from '../../types'; import { Constants, convertToInt, isEmptyObject, isNullOrUndefined, logger } from '../../utils'; import type { ChargingStation } from '../ChargingStation'; -import { getConfigurationKey } from '../ChargingStationConfigurationUtils'; +import { getConfigurationKey } from '../ChargingStationConfigurationKeyUtils'; import { OCPP16ServiceUtils } from '../ocpp'; const moduleName = 'ChargingStationWorkerBroadcastChannel'; diff --git a/src/charging-station/index.ts b/src/charging-station/index.ts index 2823c1e2..d377e7e8 100644 --- a/src/charging-station/index.ts +++ b/src/charging-station/index.ts @@ -4,7 +4,7 @@ export { addConfigurationKey, getConfigurationKey, setConfigurationKeyValue, -} from './ChargingStationConfigurationUtils'; +} from './ChargingStationConfigurationKeyUtils'; export { getIdTagsFile, checkChargingStation, -- 2.34.1