X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=bd67417e40ed8a84bcd33b1d658cdf4c9efef760;hb=69074173770c04bc5e5aa744b655edf9491daa46;hp=d2c36d7d8903e7c9634bb2ecb03e1c536fdab7c6;hpb=cfa9539e3892495462e357f79485f0babbe85521;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index d2c36d7d..bd67417e 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,15 +1,26 @@ import { - OCPP16ChargingProfile, + type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, OCPP16ChargingRateUnitType, - OCPP16ChargingSchedulePeriod, + type OCPP16ChargingSchedulePeriod, + OCPP16RecurrencyKindType, } from './1.6/ChargingProfile'; export type ChargingProfile = OCPP16ChargingProfile; export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod; -export type ChargingRateUnitType = OCPP16ChargingRateUnitType; +export const ChargingProfileKindType = { + ...OCPP16ChargingProfileKindType, +} as const; +export type ChargingProfileKindType = OCPP16ChargingProfileKindType; + +export const RecurrencyKindType = { + ...OCPP16RecurrencyKindType, +} as const; +export type RecurrencyKindType = OCPP16RecurrencyKindType; export const ChargingRateUnitType = { ...OCPP16ChargingRateUnitType, -}; +} as const; +export type ChargingRateUnitType = OCPP16ChargingRateUnitType;