Whitespace cleanup in log messages
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index ba9fb14ce993430379facda2f77d376e00e48a15..b629dd3b0230fb116a73911a971c2ed7adb0a7c9 100644 (file)
@@ -11,7 +11,7 @@ export type ServerOptions = ListenOptions;
 export enum SupervisionUrlDistribution {
   ROUND_ROBIN = 'round-robin',
   RANDOM = 'random',
-  SEQUENTIAL = 'sequential',
+  CHARGING_STATION_AFFINITY = 'charging-station-affinity',
 }
 
 export type StationTemplateUrl = {
@@ -55,25 +55,26 @@ export type ConfigurationData = {
   performanceStorage?: StorageConfiguration;
   worker?: WorkerConfiguration;
   autoReconnectMaxRetries?: number;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   workerProcess?: WorkerProcessType;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   workerStartDelay?: number;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   elementStartDelay?: number;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   workerPoolMinSize?: number;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   workerPoolMaxSize?: number;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   workerPoolStrategy?: WorkerChoiceStrategy;
-  // deprecated
+  /** @deprecated Moved to worker configuration section. */
   chargingStationsPerWorker?: number;
   logStatisticsInterval?: number;
   logFormat?: string;
   logLevel?: string;
   logRotate?: boolean;
-  logMaxFiles?: number;
+  logMaxFiles?: number | string;
+  logMaxSize?: number | string;
   logFile?: string;
   logErrorFile?: string;
   logConsole?: boolean;