X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FConfiguration.ts;h=f60c4f1c06712188ffdcc8bff47dc801e6c3a19f;hb=8eb3b688c4b6fb3e946f38d474a5125caf1d056a;hp=5747663c42d9a414fa252c46800e6c90c5e7e1ca;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/Configuration.ts b/src/types/ocpp/Configuration.ts index 5747663c..f60c4f1c 100644 --- a/src/types/ocpp/Configuration.ts +++ b/src/types/ocpp/Configuration.ts @@ -1,11 +1,10 @@ +import type { JsonObject } from '../JsonType'; import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles, OCPP16VendorDefaultParametersKey, } from './1.6/Configuration'; -import { JsonType } from '../JsonType'; - export type StandardParametersKey = OCPP16StandardParametersKey; export const StandardParametersKey = { @@ -35,7 +34,7 @@ export enum ConnectorPhaseRotation { TSR = 'TSR', } -export interface OCPPConfigurationKey extends JsonType { +export interface OCPPConfigurationKey extends JsonObject { key: string | StandardParametersKey; readonly: boolean; value?: string;