1 import { ServerOptions
} from
'ws';
2 import { StorageType
} from
'./Storage';
3 import type { WorkerChoiceStrategy
} from
'poolifier';
4 import { WorkerProcessType
} from
'./Worker';
5 import { level
} from
'winston';
7 export interface StationTemplateUrl
{
9 numberOfStations
: number;
12 export interface UIWebSocketServerConfiguration
{
14 options
?: ServerOptions
;
17 export interface StorageConfiguration
{
23 export default interface ConfigurationData
{
24 supervisionUrls
?: string[];
25 stationTemplateUrls
: StationTemplateUrl
[];
26 uiWebSocketServer
?: UIWebSocketServerConfiguration
;
27 performanceStorage
?: StorageConfiguration
;
28 autoReconnectMaxRetries
?: number;
29 distributeStationsToTenantsEqually
?: boolean;
30 workerProcess
?: WorkerProcessType
;
31 workerStartDelay
?: number;
32 workerPoolMinSize
?: number;
33 workerPoolMaxSize
?: number;
34 workerPoolStrategy
?: WorkerChoiceStrategy
;
35 chargingStationsPerWorker
?: number;
36 logStatisticsInterval
?: number;
42 logErrorFile
?: string;