X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=efc25b90083ad54a28aa977ee587e63851d643f0;hb=66a7748ddeda8c94d7562a1ce58d440319654a4c;hp=837102728a81163abd1e7d3684f97c40ed04c1ec;hpb=6e939d9e416de33fa1c64fc7f4eb6be70954f69c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index 83710272..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 './1.6/ChargingProfile'; + 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