refactor: cleanup variables namespace
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationWorker.ts
index 5a24dc540ab8856500bbea01989fa47794e4e2a7..df4a789c55f69f2f26ff259d11b787c4b534935e 100644 (file)
@@ -11,14 +11,14 @@ import type { BootNotificationResponse } from './ocpp/Responses.js'
 import type { Statistics } from './Statistics.js'
 import { type WorkerData, type WorkerMessage, WorkerMessageEvents } from '../worker/index.js'
 
-interface ChargingStationWorkerOptions extends JsonObject {
-  elementStartDelay?: number
+export interface ChargingStationOptions extends JsonObject {
+  autoStart?: boolean
 }
 
 export interface ChargingStationWorkerData extends WorkerData {
   index: number
   templateFile: string
-  chargingStationWorkerOptions?: ChargingStationWorkerOptions
+  options?: ChargingStationOptions
 }
 
 export type EvseStatusWorkerType = Omit<EvseStatus, 'connectors'> & {