Update Insomnia UI requests collection export
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
index b13a24ba2be17c6c04f5c65f10eef3b5c2ed4828..f60c4f1c06712188ffdcc8bff47dc801e6c3a19f 100644 (file)
@@ -1,23 +1,26 @@
-import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles, OCPP16VendorDefaultParametersKey } from './1.6/Configuration';
-
-import { JsonType } from '../JsonType';
+import type { JsonObject } from '../JsonType';
+import {
+  OCPP16StandardParametersKey,
+  OCPP16SupportedFeatureProfiles,
+  OCPP16VendorDefaultParametersKey,
+} from './1.6/Configuration';
 
 export type StandardParametersKey = OCPP16StandardParametersKey;
 
 export const StandardParametersKey = {
-  ...OCPP16StandardParametersKey
+  ...OCPP16StandardParametersKey,
 };
 
 export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
 
 export const VendorDefaultParametersKey = {
-  ...OCPP16VendorDefaultParametersKey
+  ...OCPP16VendorDefaultParametersKey,
 };
 
 export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
 
 export const SupportedFeatureProfiles = {
-  ...OCPP16SupportedFeatureProfiles
+  ...OCPP16SupportedFeatureProfiles,
 };
 
 export enum ConnectorPhaseRotation {
@@ -28,10 +31,10 @@ export enum ConnectorPhaseRotation {
   SRT = 'SRT',
   STR = 'STR',
   TRS = 'TRS',
-  TSR = 'TSR'
+  TSR = 'TSR',
 }
 
-export interface OCPPConfigurationKey extends JsonType {
+export interface OCPPConfigurationKey extends JsonObject {
   key: string | StandardParametersKey;
   readonly: boolean;
   value?: string;