From: Jérôme Benoit Date: Fri, 18 Mar 2022 18:57:34 +0000 (+0100) Subject: Move template hash attribute to stationInfo X-Git-Tag: v1.1.57~35 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8523563aa65d1dbbad994b3fb33286888ff2ae94;p=e-mobility-charging-stations-simulator.git Move template hash attribute to stationInfo Signed-off-by: Jérôme Benoit --- diff --git a/src/types/ChargingStationInfo.ts b/src/types/ChargingStationInfo.ts index 0e8b1722..eb77b601 100644 --- a/src/types/ChargingStationInfo.ts +++ b/src/types/ChargingStationInfo.ts @@ -1,6 +1,7 @@ import ChargingStationTemplate from './ChargingStationTemplate'; export default interface ChargingStationInfo extends ChargingStationTemplate { + hash?: string; chargingStationId?: string; chargeBoxSerialNumber?: string; chargePointSerialNumber?: string; diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index a9d42724..ff17749a 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -44,7 +44,6 @@ export interface AutomaticTransactionGenerator { export type WsOptions = ClientOptions & ClientRequestArgs; export default interface ChargingStationTemplate { - hash?: string; supervisionUrls?: string | string[]; supervisionUrlOcppConfiguration?: boolean; supervisionUrlOcppKey?: string;