X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationInfo.ts;h=0f4fe97dd33eeb33c5b0034b1993b0e9b5ee07fd;hb=b10202d7b3b6d3ee005837c1fbb81d184b887cad;hp=2f9a07fc9c13ac5637af0a73caae1b7ddb4c6e19;hpb=d4d65733e925dcc1b152eef88f3f03e6f25037c3;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationInfo.ts b/src/types/ChargingStationInfo.ts index 2f9a07fc..0f4fe97d 100644 --- a/src/types/ChargingStationInfo.ts +++ b/src/types/ChargingStationInfo.ts @@ -1,30 +1,30 @@ -import type { ChargingStationTemplate } from './ChargingStationTemplate'; -import type { FirmwareStatus } from './ocpp/Requests'; +import type { ChargingStationTemplate } from './ChargingStationTemplate.js' +import type { FirmwareStatus } from './ocpp/Requests.js' export type ChargingStationInfo = Omit< - ChargingStationTemplate, - | 'AutomaticTransactionGenerator' - | 'Configuration' - | 'Connectors' - | 'Evses' - | 'power' - | 'powerUnit' - | 'chargeBoxSerialNumberPrefix' - | 'chargePointSerialNumberPrefix' - | 'meterSerialNumberPrefix' +ChargingStationTemplate, +| 'AutomaticTransactionGenerator' +| 'Configuration' +| 'Connectors' +| 'Evses' +| 'power' +| 'powerUnit' +| 'chargeBoxSerialNumberPrefix' +| 'chargePointSerialNumberPrefix' +| 'meterSerialNumberPrefix' > & { - hashId: string; + hashId: string /** @deprecated Use hashId instead */ - infoHash?: string; - chargingStationId?: string; - chargeBoxSerialNumber?: string; - chargePointSerialNumber?: string; - meterSerialNumber?: string; - maximumPower?: number; // Always in Watt - maximumAmperage?: number; // Always in Ampere - firmwareStatus?: FirmwareStatus; -}; + infoHash?: string + chargingStationId?: string + chargeBoxSerialNumber?: string + chargePointSerialNumber?: string + meterSerialNumber?: string + maximumPower?: number // Always in Watt + maximumAmperage?: number // Always in Ampere + firmwareStatus?: FirmwareStatus +} -export type ChargingStationInfoConfiguration = { - stationInfo?: ChargingStationInfo; -}; +export interface ChargingStationInfoConfiguration { + stationInfo?: ChargingStationInfo +}