X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=622b125974d951531012740a719935a5ec1e9815;hb=f1c729e06d48e7821b732276343990946fad9f35;hp=ebec3a0d81aa327f5831a8a80a8fd1e8444baa36;hpb=5d0498291974ec3a130ba4b1c4663d13d16992c5;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index ebec3a0d..622b1259 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -39,9 +39,15 @@ export interface LogConfiguration { maxSize?: string | number; } +export enum ApplicationProtocolVersion { + VERSION_11 = 1.1, + VERSION_20 = 2.0, +} + export interface UIServerConfiguration { enabled?: boolean; type?: ApplicationProtocol; + version?: ApplicationProtocolVersion; options?: ServerOptions; authentication?: { enabled: boolean; @@ -76,6 +82,7 @@ export interface ConfigurationData { worker?: WorkerConfiguration; uiServer?: UIServerConfiguration; performanceStorage?: StorageConfiguration; + /** @deprecated Moved to charging station template */ autoReconnectMaxRetries?: number; /** @deprecated Moved to worker configuration section. */ workerProcess?: WorkerProcessType;