X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=efc25b90083ad54a28aa977ee587e63851d643f0;hb=55ae7b758f478a2beb4557bbc96363fb913dcc73;hp=643e38dbeba75a255fab03c89913e3a9217990f9;hpb=2896e06dc8d72adf7150b23c941079f622f6f37c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index 643e38db..efc25b90 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,14 +1,29 @@ import { type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, OCPP16ChargingRateUnitType, type OCPP16ChargingSchedulePeriod, -} from '../internal'; + OCPP16RecurrencyKindType +} from './1.6/ChargingProfile.js' -export type ChargingProfile = OCPP16ChargingProfile; +export type ChargingProfile = OCPP16ChargingProfile -export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod; +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; -export type ChargingRateUnitType = OCPP16ChargingRateUnitType; + ...OCPP16ChargingRateUnitType +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type ChargingRateUnitType = OCPP16ChargingRateUnitType