chore: switch coding style to JS standard
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / 2.0 / OCPP20ServiceUtils.ts
1 // Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
2
3 import type { JSONSchemaType } from 'ajv'
4
5 import { type JsonType, OCPPVersion } from '../../../types/index.js'
6 import { OCPPServiceUtils } from '../OCPPServiceUtils.js'
7
8 export class OCPP20ServiceUtils extends OCPPServiceUtils {
9 public static parseJsonSchemaFile<T extends JsonType>(
10 relativePath: string,
11 moduleName?: string,
12 methodName?: string
13 ): JSONSchemaType<T> {
14 return super.parseJsonSchemaFile<T>(
15 relativePath,
16 OCPPVersion.VERSION_20,
17 moduleName,
18 methodName
19 )
20 }
21 }