X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Findex.ts;h=190a6a41034d2738ef9b5e434cec82dc29917619;hb=8fb8f42ace8b9295865adebaeb7845e064c05e71;hp=fdc278d5d29175ced9a11e388559599c2ebe81d5;hpb=268a74bb051fcbbad532fd833f0d8fd2b33b6c64;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/index.ts b/src/worker/index.ts index fdc278d5..190a6a41 100644 --- a/src/worker/index.ts +++ b/src/worker/index.ts @@ -1,10 +1,17 @@ -export * from './WorkerAbstract'; -export * from './WorkerConstants'; -export * from './WorkerFactory'; +export type { WorkerAbstract } from './WorkerAbstract.js' export { - WorkerProcessType, - WorkerData, - WorkerMessage, + DEFAULT_ELEMENT_ADD_DELAY, + DEFAULT_ELEMENTS_PER_WORKER, + DEFAULT_POOL_MAX_SIZE, + DEFAULT_POOL_MIN_SIZE, + DEFAULT_WORKER_START_DELAY +} from './WorkerConstants.js' +export { WorkerFactory } from './WorkerFactory.js' +export { + type WorkerData, + type WorkerDataError, + WorkerEvents, + type WorkerMessage, WorkerMessageEvents, - MessageHandler, -} from './WorkerTypes'; + WorkerProcessType +} from './WorkerTypes.js'