Commit | Line | Data |
---|---|---|
72f041bd | 1 | import { StorageType } from './Storage'; |
9efbac5b | 2 | import type { WorkerChoiceStrategy } from 'poolifier'; |
a4624c96 JB |
3 | import { WorkerProcessType } from './Worker'; |
4 | ||
e118beaa JB |
5 | export interface StationTemplateURL { |
6 | file: string; | |
7 | numberOfStations: number; | |
8 | } | |
9 | ||
72f041bd JB |
10 | export interface StorageConfiguration { |
11 | enabled?: boolean; | |
12 | type?: StorageType; | |
13 | URI?: string; | |
14 | } | |
15 | ||
e118beaa JB |
16 | export default interface ConfigurationData { |
17 | supervisionURLs?: string[]; | |
18 | stationTemplateURLs: StationTemplateURL[]; | |
72f041bd | 19 | performanceStorage?: StorageConfiguration; |
e118beaa | 20 | autoReconnectMaxRetries?: number; |
524d9cb3 | 21 | distributeStationsToTenantsEqually?: boolean; |
a4624c96 | 22 | workerProcess?: WorkerProcessType; |
322c9192 | 23 | workerStartDelay?: number; |
a4624c96 | 24 | workerPoolMinSize?: number; |
4fa59b8a | 25 | workerPoolMaxSize?: number; |
9efbac5b | 26 | workerPoolStrategy?: WorkerChoiceStrategy; |
5fdab605 | 27 | chargingStationsPerWorker?: number; |
72f041bd | 28 | logStatisticsInterval?: number; |
e118beaa JB |
29 | logFormat?: string; |
30 | logLevel?: string; | |
6bf6769e JB |
31 | logRotate?: boolean; |
32 | logMaxFiles?: number; | |
e118beaa | 33 | logFile?: string; |
7ec46a9a JB |
34 | logErrorFile?: string; |
35 | logConsole?: boolean; | |
e118beaa | 36 | } |