feat: allow to provision number of stations by template
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index 3248ec555263eeabc3c66d81546cb471d9526083..ffbb7deca5994abb61e9b5fc4736e4fb14b1cf61 100644 (file)
@@ -25,6 +25,7 @@ export enum SupervisionUrlDistribution {
 export interface StationTemplateUrl {
   file: string
   numberOfStations: number
+  provisionedNumberOfStations?: number
 }
 
 export interface LogConfiguration {
@@ -70,7 +71,9 @@ export interface WorkerConfiguration {
   processType?: WorkerProcessType
   startDelay?: number
   elementsPerWorker?: ElementsPerWorkerType
+  /** @deprecated Use `elementAddDelay` instead. */
   elementStartDelay?: number
+  elementAddDelay?: number
   poolMinSize?: number
   poolMaxSize?: number
   resourceLimits?: ResourceLimits
@@ -84,14 +87,14 @@ export interface ConfigurationData {
   worker?: WorkerConfiguration
   uiServer?: UIServerConfiguration
   performanceStorage?: StorageConfiguration
-  /** @deprecated Moved to charging station template */
+  /** @deprecated Moved to charging station template. */
   autoReconnectMaxRetries?: number
   /** @deprecated Moved to worker configuration section. */
   workerProcess?: WorkerProcessType
   /** @deprecated Moved to worker configuration section. */
   workerStartDelay?: number
   /** @deprecated Moved to worker configuration section. */
-  elementStartDelay?: number
+  elementAddDelay?: number
   /** @deprecated Moved to worker configuration section. */
   workerPoolMinSize?: number
   /** @deprecated Moved to worker configuration section. */