X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FConfigurationData.ts;h=a23940cf330295cb609f28b7a3439ee05e26f6f6;hb=178956d8c51c6a2b4ecc55b592dfb9ee339b8105;hp=b629dd3b0230fb116a73911a971c2ed7adb0a7c9;hpb=edd134392e237a3242dc2093341df70244c51472;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index b629dd3b..a23940cf 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -1,12 +1,12 @@ -import type { ListenOptions } from 'net'; +import type { ListenOptions } from 'node:net'; import type { WorkerChoiceStrategy } from 'poolifier'; import type { StorageType } from './Storage'; import type { ApplicationProtocol, AuthenticationType } from './UIProtocol'; -import type { WorkerProcessType } from './Worker'; +import type { WorkerProcessType } from '../worker'; -export type ServerOptions = ListenOptions; +type ServerOptions = ListenOptions; export enum SupervisionUrlDistribution { ROUND_ROBIN = 'round-robin', @@ -70,6 +70,8 @@ export type ConfigurationData = { /** @deprecated Moved to worker configuration section. */ chargingStationsPerWorker?: number; logStatisticsInterval?: number; + logEnabled?: boolean; + logConsole?: boolean; logFormat?: string; logLevel?: string; logRotate?: boolean; @@ -77,5 +79,4 @@ export type ConfigurationData = { logMaxSize?: number | string; logFile?: string; logErrorFile?: string; - logConsole?: boolean; };