X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=efc25b90083ad54a28aa977ee587e63851d643f0;hb=f938317f2902366a85a8f76de55ee51f1d4a662a;hp=6dab7cff1284465a8fc07bc1fac9472015cb31ce;hpb=c0560973d259dbce64a24d10bab46246596fa1d5;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index 6dab7cff..efc25b90 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,3 +1,29 @@ -import { OCPP16ChargingProfile } from './1.6/ChargingProfile'; +import { + type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, + OCPP16ChargingRateUnitType, + type OCPP16ChargingSchedulePeriod, + OCPP16RecurrencyKindType +} from './1.6/ChargingProfile.js' -export type ChargingProfile = OCPP16ChargingProfile; +export type ChargingProfile = OCPP16ChargingProfile + +export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod + +export const ChargingProfileKindType = { + ...OCPP16ChargingProfileKindType +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type ChargingProfileKindType = OCPP16ChargingProfileKindType + +export const RecurrencyKindType = { + ...OCPP16RecurrencyKindType +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type RecurrencyKindType = OCPP16RecurrencyKindType + +export const ChargingRateUnitType = { + ...OCPP16ChargingRateUnitType +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type ChargingRateUnitType = OCPP16ChargingRateUnitType