build: bump volta node version
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
index 75062774d57b0871d7a2d595b4e5bdd5d1590a9f..f1cd34ba3f8ec0cd79b70de1d8378fb409d7e511 100644 (file)
@@ -1,3 +1,4 @@
+import type { JsonObject } from '../JsonType.js'
 import {
   OCPP16StandardParametersKey,
   OCPP16SupportedFeatureProfiles,
@@ -8,7 +9,6 @@ import {
   OCPP20RequiredVariableName,
   OCPP20VendorVariableName
 } from './2.0/Variables.js'
-import type { JsonObject } from '../JsonType.js'
 
 export const StandardParametersKey = {
   ...OCPP16StandardParametersKey,
@@ -39,13 +39,13 @@ export enum ConnectorPhaseRotation {
   SRT = 'SRT',
   STR = 'STR',
   TRS = 'TRS',
-  TSR = 'TSR',
+  TSR = 'TSR'
 }
 
 export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey
 
-export type OCPPConfigurationKey = {
+export interface OCPPConfigurationKey extends JsonObject {
   key: ConfigurationKeyType
   readonly: boolean
   value?: string
-} & JsonObject
+}