X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FConfiguration.ts;h=31d714994c801d26b8819cc13b67415483ee026e;hb=85c603dabe1b0415dfa956baec73f34267093cf0;hp=6559f815a364048cb2b2c4f4c1ebf2adcd82c3b5;hpb=6ce0bca57a96ef920df4e0786d8f28b0b89a36ef;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/Configuration.ts b/src/types/ocpp/Configuration.ts index 6559f815..31d71499 100644 --- a/src/types/ocpp/Configuration.ts +++ b/src/types/ocpp/Configuration.ts @@ -1,15 +1,26 @@ -import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles } from './1.6/Configuration'; +import { 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, }; export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles; export const SupportedFeatureProfiles = { - ...OCPP16SupportedFeatureProfiles + ...OCPP16SupportedFeatureProfiles, }; export enum ConnectorPhaseRotation { @@ -20,10 +31,10 @@ export enum ConnectorPhaseRotation { SRT = 'SRT', STR = 'STR', TRS = 'TRS', - TSR = 'TSR' + TSR = 'TSR', } -export interface OCPPConfigurationKey { +export interface OCPPConfigurationKey extends JsonObject { key: string | StandardParametersKey; readonly: boolean; value?: string;