build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / 2.0 / OCPP20ServiceUtils.ts
CommitLineData
edd13439 1// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
953d6b02 2
130783a7
JB
3import type { JSONSchemaType } from 'ajv';
4
268a74bb 5import { type JsonType, OCPPVersion } from '../../../types';
4c3c0d59 6import { OCPPServiceUtils } from '../OCPPServiceUtils';
953d6b02 7
130783a7 8export class OCPP20ServiceUtils extends OCPPServiceUtils {
1b271a54
JB
9 public static parseJsonSchemaFile<T extends JsonType>(
10 relativePath: string,
11 moduleName?: string,
5edd8ba0 12 methodName?: string,
1b271a54 13 ): JSONSchemaType<T> {
7164966d 14 return super.parseJsonSchemaFile<T>(
51022aa0 15 relativePath,
1b271a54
JB
16 OCPPVersion.VERSION_20,
17 moduleName,
5edd8ba0 18 methodName,
7164966d 19 );
130783a7
JB
20 }
21}