X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=8fc773b73a5352642006bd249a4f6fc42e44e09e;hb=64c14c99f9902d4e96f2a2cd404e536e0584a629;hp=a8b73a24175ffab4a824c585062210d4db189be3;hpb=edd134392e237a3242dc2093341df70244c51472;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index a8b73a24..8fc773b7 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,14 +1,36 @@ import { - OCPP16ChargingProfile, + type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, + OCPP16ChargingProfilePurposeType, OCPP16ChargingRateUnitType, - OCPP16ChargingSchedulePeriod, -} from './1.6/ChargingProfile'; + type OCPP16ChargingSchedulePeriod, + OCPP16RecurrencyKindType +} from './1.6/ChargingProfile.js' -export type ChargingProfile = OCPP16ChargingProfile; +export type ChargingProfile = OCPP16ChargingProfile -export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod; +export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod + +export const ChargingProfilePurposeType = { + ...OCPP16ChargingProfilePurposeType +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type ChargingProfilePurposeType = OCPP16ChargingProfilePurposeType + +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