Skip to content

Commit

Permalink
refactor(s3): stricter ACL type
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Oct 24, 2023
1 parent e377d52 commit 845951c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/s3/src/s3-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
CompleteMultipartUploadOutput,
CreateMultipartUploadCommand,
ListPartsCommand,
ObjectCannedACL,
Part,
S3Client,
S3ClientConfig,
Expand Down Expand Up @@ -61,7 +62,7 @@ export type S3StorageOptions = BaseStorageOptions<S3File> &
/**
* Specifying access rules for uploaded files
*/
acl?: 'private' | 'public-read' | string;
acl?: ObjectCannedACL;
/**
* Force compatible client upload directly to S3 storage
*/
Expand Down

0 comments on commit 845951c

Please sign in to comment.