docs: add missing exports
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Apr 2023 20:36:32 +0000 (22:36 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Apr 2023 20:36:32 +0000 (22:36 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
src/index.ts

index 8e85ba1ec295230c62aed50011d889f7b8b73645..602b6ebbf5dcad7d6a083fc1600e1cf2a4feb82e 100644 (file)
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 - Add worker tasks queue options to pool options.
 
+### Fixed
+
+- Fix missing documentation.
+
 ## [2.4.6] - 2023-04-10
 
 ### Fixed
index 507fc86ffacae84875972e78ef02ef51f92f46c5..3cc6fa0314825c09d6ab3965551ef950f5329aa2 100644 (file)
@@ -8,6 +8,7 @@ export type {
   PoolEmitter,
   PoolOptions,
   PoolEvent,
+  PoolType,
   TasksQueueOptions
 } from './pools/pool'
 export type {
@@ -16,11 +17,14 @@ export type {
   IWorker,
   MessageHandler,
   OnlineHandler,
+  Task,
+  TasksUsage,
   WorkerNode
 } from './pools/worker'
 export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
 export type {
   IWorkerChoiceStrategy,
+  RequiredStatistics,
   WorkerChoiceStrategy,
   WorkerChoiceStrategyOptions
 } from './pools/selection-strategies/selection-strategies-types'
@@ -33,4 +37,8 @@ export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
 export type { KillBehavior, WorkerOptions } from './worker/worker-options'
-export type { Draft, MessageValue } from './utility-types'
+export type {
+  Draft,
+  PromiseResponseWrapper,
+  MessageValue
+} from './utility-types'