Update submodule reference
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
CommitLineData
9efbac5b 1import type { WorkerChoiceStrategy } from 'poolifier';
a4624c96
JB
2import { WorkerProcessType } from './Worker';
3
e118beaa
JB
4export interface StationTemplateURL {
5 file: string;
6 numberOfStations: number;
7}
8
9export default interface ConfigurationData {
10 supervisionURLs?: string[];
11 stationTemplateURLs: StationTemplateURL[];
12 statisticsDisplayInterval?: number;
032d6efc 13 connectionTimeout?: number;
e118beaa 14 autoReconnectMaxRetries?: number;
524d9cb3 15 distributeStationsToTenantsEqually?: boolean;
a4624c96 16 workerProcess?: WorkerProcessType;
322c9192 17 workerStartDelay?: number;
a4624c96 18 workerPoolMinSize?: number;
4fa59b8a 19 workerPoolMaxSize?: number;
9efbac5b 20 workerPoolStrategy?: WorkerChoiceStrategy;
5fdab605 21 chargingStationsPerWorker?: number;
e118beaa
JB
22 logFormat?: string;
23 logLevel?: string;
6bf6769e
JB
24 logRotate?: boolean;
25 logMaxFiles?: number;
e118beaa 26 logFile?: string;
7ec46a9a
JB
27 logErrorFile?: string;
28 logConsole?: boolean;
e118beaa 29}