X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=10b8323df4fefac9eab9bf9719657562ccfe1389;hb=2b490d73f321440ab8970263d29cd35c4d43997f;hp=f2e6e9c05c11dc9c5b03166c1dfd49b6ac7b9f11;hpb=6ce0bca57a96ef920df4e0786d8f28b0b89a36ef;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index f2e6e9c0..10b8323d 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -1,16 +1,19 @@ -import { OCPP16MeterValue, OCPP16MeterValueMeasurand, OCPP16MeterValuePhase, OCPP16SampledValue } from './1.6/MeterValues'; - -export type MeterValueMeasurand = OCPP16MeterValueMeasurand; +import { + type OCPP16MeterValue, + OCPP16MeterValueMeasurand, + OCPP16MeterValuePhase, + type OCPP16SampledValue, +} from '../internal'; export const MeterValueMeasurand = { - ...OCPP16MeterValueMeasurand -}; - -export type MeterValuePhase = OCPP16MeterValuePhase; + ...OCPP16MeterValueMeasurand, +} as const; +export type MeterValueMeasurand = OCPP16MeterValueMeasurand; export const MeterValuePhase = { - ...OCPP16MeterValuePhase -}; + ...OCPP16MeterValuePhase, +} as const; +export type MeterValuePhase = OCPP16MeterValuePhase; export type SampledValue = OCPP16SampledValue;