build: switch to NodeNext module resolution
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index df362b5390c9b0827ea5a11713de88228212ab55..4b636cda4a1e2af56ade447e8c47f31574a5d32c 100644 (file)
@@ -3,9 +3,9 @@ import type { ResourceLimits } from 'node:worker_threads';
 
 import type { WorkerChoiceStrategy } from 'poolifier';
 
-import type { StorageType } from './Storage';
-import type { ApplicationProtocol, AuthenticationType } from './UIProtocol';
-import type { WorkerProcessType } from '../worker';
+import type { StorageType } from './Storage.js';
+import type { ApplicationProtocol, AuthenticationType } from './UIProtocol.js';
+import type { WorkerProcessType } from '../worker/index.js';
 
 type ServerOptions = ListenOptions;
 
@@ -64,12 +64,12 @@ export interface StorageConfiguration {
   uri?: string;
 }
 
-export type elementsPerWorkerType = number | 'auto' | 'all';
+export type ElementsPerWorkerType = number | 'auto' | 'all';
 
 export interface WorkerConfiguration {
   processType?: WorkerProcessType;
   startDelay?: number;
-  elementsPerWorker?: elementsPerWorkerType;
+  elementsPerWorker?: ElementsPerWorkerType;
   elementStartDelay?: number;
   poolMinSize?: number;
   poolMaxSize?: number;