X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationInfo.ts;h=6509887030e2640cd4a1576cd6472e37a193201a;hb=8eb3b688c4b6fb3e946f38d474a5125caf1d056a;hp=03273e2af61aa6b11934f14cb825b8da14c5e7d8;hpb=83e00df1c1ba02de8b637ca4cb0464eb909ebb18;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationInfo.ts b/src/types/ChargingStationInfo.ts index 03273e2a..65098870 100644 --- a/src/types/ChargingStationInfo.ts +++ b/src/types/ChargingStationInfo.ts @@ -1,16 +1,15 @@ -import type ChargingStationTemplate from './ChargingStationTemplate'; +import type { ChargingStationTemplate } from './ChargingStationTemplate'; -export default interface ChargingStationInfo - extends Omit< - ChargingStationTemplate, - | 'AutomaticTransactionGenerator' - | 'Configuration' - | 'power' - | 'powerUnit' - | 'chargeBoxSerialNumberPrefix' - | 'chargePointSerialNumberPrefix' - | 'meterSerialNumberPrefix' - > { +export type ChargingStationInfo = Omit< + ChargingStationTemplate, + | 'AutomaticTransactionGenerator' + | 'Configuration' + | 'power' + | 'powerUnit' + | 'chargeBoxSerialNumberPrefix' + | 'chargePointSerialNumberPrefix' + | 'meterSerialNumberPrefix' +> & { hashId: string; infoHash?: string; chargingStationId?: string; @@ -19,7 +18,7 @@ export default interface ChargingStationInfo meterSerialNumber?: string; maximumPower?: number; // Always in Watt maximumAmperage?: number; // Always in Ampere -} +}; export type ChargingStationInfoConfiguration = { stationInfo?: ChargingStationInfo;