From: Jérôme Benoit Date: Mon, 13 Nov 2023 12:09:01 +0000 (+0100) Subject: refactor: move charging station events enum to its own file X-Git-Tag: v1.2.25~27 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=649e3f97ae095f2f8653a126e72b37260216edfe;p=e-mobility-charging-stations-simulator.git refactor: move charging station events enum to its own file Signed-off-by: Jérôme Benoit --- diff --git a/src/types/ChargingStation.ts b/src/types/ChargingStationEvents.ts similarity index 100% rename from src/types/ChargingStation.ts rename to src/types/ChargingStationEvents.ts diff --git a/src/types/ChargingStationWorker.ts b/src/types/ChargingStationWorker.ts index 5e56d4fd..64849fc1 100644 --- a/src/types/ChargingStationWorker.ts +++ b/src/types/ChargingStationWorker.ts @@ -1,7 +1,7 @@ import type { WebSocket } from 'ws'; import type { ChargingStationAutomaticTransactionGeneratorConfiguration } from './AutomaticTransactionGenerator'; -import { ChargingStationEvents } from './ChargingStation'; +import { ChargingStationEvents } from './ChargingStationEvents'; import type { ChargingStationInfo } from './ChargingStationInfo'; import type { ChargingStationOcppConfiguration } from './ChargingStationOcppConfiguration'; import type { ConnectorStatus } from './ConnectorStatus'; diff --git a/src/types/index.ts b/src/types/index.ts index 2cc76b1f..a28d5114 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -262,4 +262,4 @@ export { type ReservationKey, ReservationTerminationReason, } from './ocpp/Reservation'; -export { ChargingStationEvents } from './ChargingStation'; +export { ChargingStationEvents } from './ChargingStationEvents';