X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=276feabd0d8701191008289ac135bd9dc4658665;hb=c3da35d496cbb2c78e85fb3d2e125ffd6fd297f4;hp=8ab9bcfdb95a55f0c6f8f784e63203c7f7b36231;hpb=9988696df26aba9c34733f9093ebf3d957ba9d02;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index 8ab9bcfd..276feabd 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', @@ -55,19 +55,19 @@ export type ConfigurationData = { performanceStorage?: StorageConfiguration; worker?: WorkerConfiguration; autoReconnectMaxRetries?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerProcess?: WorkerProcessType; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerStartDelay?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ elementStartDelay?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolMinSize?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolMaxSize?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolStrategy?: WorkerChoiceStrategy; - // deprecated + /** @deprecated Moved to worker configuration section. */ chargingStationsPerWorker?: number; logStatisticsInterval?: number; logFormat?: string;