diff --git a/packages/storage/src/providers/s3/types/index.ts b/packages/storage/src/providers/s3/types/index.ts index 7f8b49c6c15..17c64167090 100644 --- a/packages/storage/src/providers/s3/types/index.ts +++ b/packages/storage/src/providers/s3/types/index.ts @@ -12,7 +12,6 @@ export { } from './options'; export { DownloadDataOutput, - DownloadFileOutput, GetUrlOutput, UploadDataOutput, ListOutputItem, diff --git a/packages/storage/src/providers/s3/types/outputs.ts b/packages/storage/src/providers/s3/types/outputs.ts index d7c36f66f5c..1c149a9213a 100644 --- a/packages/storage/src/providers/s3/types/outputs.ts +++ b/packages/storage/src/providers/s3/types/outputs.ts @@ -23,19 +23,17 @@ export interface Item extends StorageItem { export type DownloadDataOutput = DownloadTask>; -export type DownloadFileOutput = Item; - export type GetUrlOutput = StorageGetUrlOutput; export type UploadDataOutput = UploadTask; export type GetPropertiesOutput = Item; -export type ListOutputItem = Item; +export type ListOutputItem = Omit; -export type ListAllOutput = StorageListOutput; +export type ListAllOutput = StorageListOutput; -export type ListPaginateOutput = StorageListOutput & { +export type ListPaginateOutput = StorageListOutput & { nextToken?: string; };