From 649e3f97ae095f2f8653a126e72b37260216edfe Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 13 Nov 2023 13:09:01 +0100 Subject: [PATCH] refactor: move charging station events enum to its own file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/types/{ChargingStation.ts => ChargingStationEvents.ts} | 0 src/types/ChargingStationWorker.ts | 2 +- src/types/index.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/types/{ChargingStation.ts => ChargingStationEvents.ts} (100%) 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'; -- 2.34.1