X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2F2.0%2FOCPP20ServiceUtils.ts;h=75d61731e8c72c00db49e075d7f1af6e311207d6;hb=8f46463be058ed68cc4cc962c51722f7e3b55c54;hp=8d6ccdf5b3ff9bd2b54d100beb7e3144fab65b26;hpb=51022aa0d811eec79514fbeb56cb9556e7168cd7;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts b/src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts index 8d6ccdf5..75d61731 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts @@ -1,9 +1,9 @@ -// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved. +// Partial Copyright Jerome Benoit. 2021-2024. All Rights Reserved. -import type { JSONSchemaType } from 'ajv'; +import type { JSONSchemaType } from 'ajv' -import { type JsonType, OCPPVersion } from '../../../types'; -import { OCPPServiceUtils } from '../OCPPServiceUtils'; +import { type JsonType, OCPPVersion } from '../../../types/index.js' +import { OCPPServiceUtils } from '../OCPPServiceUtils.js' export class OCPP20ServiceUtils extends OCPPServiceUtils { public static parseJsonSchemaFile( @@ -13,9 +13,9 @@ export class OCPP20ServiceUtils extends OCPPServiceUtils { ): JSONSchemaType { return super.parseJsonSchemaFile( relativePath, - OCPPVersion.VERSION_20, + OCPPVersion.VERSION_201, moduleName, methodName - ); + ) } }