X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=aec3d19e1934e4e61a030713d9018e58ad05f158;hb=f938317f2902366a85a8f76de55ee51f1d4a662a;hp=78cc9af9b02905c44e810c3e95eed1c351ecf681;hpb=b7bf49739aa3aafdcbe6a22243aa4cf0552c5972;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index 78cc9af9..aec3d19e 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -5,34 +5,39 @@ import { OCPP16MeterValueMeasurand, OCPP16MeterValuePhase, OCPP16MeterValueUnit, - type OCPP16SampledValue, -} from './1.6/MeterValues'; + type OCPP16SampledValue +} from './1.6/MeterValues.js' export const MeterValueUnit = { - ...OCPP16MeterValueUnit, -} as const; -export type MeterValueUnit = OCPP16MeterValueUnit; + ...OCPP16MeterValueUnit +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueUnit = OCPP16MeterValueUnit export const MeterValueContext = { - ...OCPP16MeterValueContext, -} as const; -export type MeterValueContext = OCPP16MeterValueContext; + ...OCPP16MeterValueContext +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueContext = OCPP16MeterValueContext export const MeterValueMeasurand = { - ...OCPP16MeterValueMeasurand, -} as const; -export type MeterValueMeasurand = OCPP16MeterValueMeasurand; + ...OCPP16MeterValueMeasurand +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueMeasurand = OCPP16MeterValueMeasurand export const MeterValueLocation = { - ...OCPP16MeterValueLocation, -} as const; -export type MeterValueLocation = OCPP16MeterValueLocation; + ...OCPP16MeterValueLocation +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueLocation = OCPP16MeterValueLocation export const MeterValuePhase = { - ...OCPP16MeterValuePhase, -} as const; -export type MeterValuePhase = OCPP16MeterValuePhase; + ...OCPP16MeterValuePhase +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValuePhase = OCPP16MeterValuePhase -export type SampledValue = OCPP16SampledValue; +export type SampledValue = OCPP16SampledValue -export type MeterValue = OCPP16MeterValue; +export type MeterValue = OCPP16MeterValue