X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationWorker.ts;h=6fe529f91ac45183dd4ffaf147136f1745cddc54;hb=3e8d029bbd0a072ae80c45e9a50770de3218cbc1;hp=41ca7aacc870a38e11f6552deed1c446d82b223d;hpb=69074173770c04bc5e5aa744b655edf9491daa46;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationWorker.ts b/src/types/ChargingStationWorker.ts index 41ca7aac..6fe529f9 100644 --- a/src/types/ChargingStationWorker.ts +++ b/src/types/ChargingStationWorker.ts @@ -20,7 +20,7 @@ export interface ChargingStationWorkerData extends WorkerData { chargingStationWorkerOptions?: ChargingStationWorkerOptions; } -type EvseStatusType = Omit & { +export type EvseStatusWorkerType = Omit & { connectors?: ConnectorStatus[]; }; @@ -28,7 +28,7 @@ export interface ChargingStationData extends WorkerData { started: boolean; stationInfo: ChargingStationInfo; connectors: ConnectorStatus[]; - evses: EvseStatusType[]; + evses: EvseStatusWorkerType[]; ocppConfiguration: ChargingStationOcppConfiguration; wsState?: | typeof WebSocket.CONNECTING