X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FConfiguration.ts;h=f1cd34ba3f8ec0cd79b70de1d8378fb409d7e511;hb=64c14c99f9902d4e96f2a2cd404e536e0584a629;hp=ac8a094508bfa15fe57eac1a2a1bdda844c1f145;hpb=66a7748ddeda8c94d7562a1ce58d440319654a4c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/Configuration.ts b/src/types/ocpp/Configuration.ts index ac8a0945..f1cd34ba 100644 --- a/src/types/ocpp/Configuration.ts +++ b/src/types/ocpp/Configuration.ts @@ -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, @@ -44,8 +44,8 @@ export enum ConnectorPhaseRotation { export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey -export type OCPPConfigurationKey = { +export interface OCPPConfigurationKey extends JsonObject { key: ConfigurationKeyType readonly: boolean value?: string -} & JsonObject +}