refactor: move charging station events enum to its own file
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Nov 2023 12:09:01 +0000 (13:09 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Nov 2023 12:09:01 +0000 (13:09 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/types/ChargingStationEvents.ts [moved from src/types/ChargingStation.ts with 100% similarity]
src/types/ChargingStationWorker.ts
src/types/index.ts

index 5e56d4fd0e088fbc13deeb5e9fec08842bd7ba2a..64849fc1aaad5af2ccfde7a2653021a109831362 100644 (file)
@@ -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';
index 2cc76b1f08ee562dd4c818e92a03ad50b6ea5503..a28d51148dc596aa05454b5f6632b218e56feb64 100644 (file)
@@ -262,4 +262,4 @@ export {
   type ReservationKey,
   ReservationTerminationReason,
 } from './ocpp/Reservation';
-export { ChargingStationEvents } from './ChargingStation';
+export { ChargingStationEvents } from './ChargingStationEvents';