fix: avoid overlapping schedule periods in get composite schedule
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index 41d45e4a3ee71639fbc0975e804dc64e59e196b0..95d30bdc8024fbef1cd21e1c55e91212ca4464d1 100644 (file)
@@ -8,6 +8,13 @@ import type { WorkerProcessType } from '../worker';
 
 type ServerOptions = ListenOptions;
 
+export enum ConfigurationSection {
+  log = 'log',
+  performanceStorage = 'performanceStorage',
+  worker = 'worker',
+  uiServer = 'uiServer',
+}
+
 export enum SupervisionUrlDistribution {
   ROUND_ROBIN = 'round-robin',
   RANDOM = 'random',
@@ -32,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;