Skip to content

Commit

Permalink
feat(storage): export additional types (#12030)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP authored Sep 13, 2023
1 parent d65f71f commit d76d166
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/storage/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export {
GetUrlOutput,
} from './providers/s3/types/outputs';

export { TransferProgressEvent, TransferTaskState } from './types';

// TODO[AllanZhengYP]: support isCancelError in Node.js with node-fetch
export { isCancelError } from './errors/CanceledError';
export { StorageError } from './errors/StorageError';
7 changes: 6 additions & 1 deletion packages/storage/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

export { DownloadTask, TransferProgressEvent, UploadTask } from './common';
export {
DownloadTask,
TransferProgressEvent,
TransferTaskState,
UploadTask,
} from './common';
export {
StorageOperationInput,
StorageListInput,
Expand Down

0 comments on commit d76d166

Please sign in to comment.