X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=8fc773b73a5352642006bd249a4f6fc42e44e09e;hb=64c14c99f9902d4e96f2a2cd404e536e0584a629;hp=efc25b90083ad54a28aa977ee587e63851d643f0;hpb=66a7748ddeda8c94d7562a1ce58d440319654a4c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index efc25b90..8fc773b7 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,6 +1,7 @@ import { type OCPP16ChargingProfile, OCPP16ChargingProfileKindType, + OCPP16ChargingProfilePurposeType, OCPP16ChargingRateUnitType, type OCPP16ChargingSchedulePeriod, OCPP16RecurrencyKindType @@ -10,6 +11,12 @@ export type ChargingProfile = OCPP16ChargingProfile 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