From 6b70969db118926c0cbbbffa34cc51f2b3a63b4f Mon Sep 17 00:00:00 2001 From: ido Date: Mon, 23 Sep 2024 00:01:34 +0300 Subject: [PATCH] fix(types): export downloads enums --- src/browser.ts | 3 +++ src/index.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/browser.ts b/src/browser.ts index 875685d..d634068 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -13,8 +13,11 @@ import DownloadEngineMultiDownload from "./download/download-engine/engine/downl import HttpError from "./download/download-engine/streams/download-engine-fetch-stream/errors/http-error.js"; import BaseDownloadEngine from "./download/download-engine/engine/base-download-engine.js"; import {InvalidOptionError} from "./download/download-engine/engine/error/InvalidOptionError.js"; +import {DownloadFlags, DownloadStatus} from "./download/download-engine/download-file/progress-status-file.js"; export { + DownloadFlags, + DownloadStatus, downloadFileBrowser, downloadSequenceBrowser, EmptyResponseError, diff --git a/src/index.ts b/src/index.ts index bf0da63..f29512c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,9 +15,12 @@ import HttpError from "./download/download-engine/streams/download-engine-fetch- import BaseDownloadEngine from "./download/download-engine/engine/base-download-engine.js"; import {InvalidOptionError} from "./download/download-engine/engine/error/InvalidOptionError.js"; import {BaseMultiProgressBar, MultiProgressBarOptions} from "./download/transfer-visualize/transfer-cli/multiProgressBars/BaseMultiProgressBar.js"; +import {DownloadFlags, DownloadStatus} from "./download/download-engine/download-file/progress-status-file.js"; export { + DownloadFlags, + DownloadStatus, downloadFile, downloadSequence, BaseMultiProgressBar,