From e8bd29ce49b5fe0b861c237f1b917433a9d497a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 11 Apr 2023 22:36:32 +0200 Subject: [PATCH] docs: add missing exports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 4 ++++ src/index.ts | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e85ba1e..602b6ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/index.ts b/src/index.ts index 507fc86f..3cc6fa03 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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' -- 2.34.1