X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=0b21f1096990918b4f787fd8f18407a4d61f5eb4;hb=d4c3e68a1a6321f2f43ef0521e121e827f3eb29b;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..0b21f109 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,15 +1,26 @@ import { - OCPP16ChargingProfile, + type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, OCPP16ChargingRateUnitType, - OCPP16ChargingSchedulePeriod, -} from './1.6/ChargingProfile'; + type OCPP16ChargingSchedulePeriod, + OCPP16RecurrencyKindType, +} from '../internal'; 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;