fix: fix performance records duplication
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index ebec3a0d81aa327f5831a8a80a8fd1e8444baa36..622b125974d951531012740a719935a5ec1e9815 100644 (file)
@@ -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;