refactor: revert internal exports
[e-mobility-charging-stations-simulator.git] / src / types / ConnectorStatus.ts
index abf0c45ddd9a3c8bda06779be2c48c654d813330..d7698107b9cc2146677db9624f66ae174d8c9dd8 100644 (file)
@@ -1,13 +1,13 @@
 import type { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates';
-import type { ChargePointStatus } from './ocpp/ChargePointStatus';
 import type { ChargingProfile } from './ocpp/ChargingProfile';
+import type { ConnectorStatusEnum } from './ocpp/ConnectorStatusEnum';
 import type { MeterValue } from './ocpp/MeterValues';
 import type { AvailabilityType } from './ocpp/Requests';
 
-export interface ConnectorStatus {
+export type ConnectorStatus = {
   availability: AvailabilityType;
-  bootStatus?: ChargePointStatus;
-  status?: ChargePointStatus;
+  bootStatus?: ConnectorStatusEnum;
+  status?: ConnectorStatusEnum;
   MeterValues: SampledValueTemplate[];
   authorizeIdTag?: string;
   idTagAuthorized?: boolean;
@@ -22,4 +22,4 @@ export interface ConnectorStatus {
   transactionEnergyActiveImportRegisterValue?: number; // In Wh
   transactionBeginMeterValue?: MeterValue;
   chargingProfiles?: ChargingProfile[];
-}
+};