diff --git a/src/lib/uploadObject.ts b/src/lib/uploadObject.ts index 90d132c..038e9d3 100644 --- a/src/lib/uploadObject.ts +++ b/src/lib/uploadObject.ts @@ -6,8 +6,8 @@ type props = { client: S3ClientWithSend bucket: string key: string - file: File, - acl?: 'public-read' | 'private' | 'authenticated-read' | 'aws-exec-read' | 'bucket-owner-full-control' | 'bucket-owner-read' | 'public-read-write'; + file: File + acl?: 'public-read' | 'private' | 'authenticated-read' | 'aws-exec-read' | 'bucket-owner-full-control' | 'bucket-owner-read' | 'public-read-write' } type UploadObjectResponse = { diff --git a/src/types/S3Configs.ts b/src/types/S3Configs.ts index 7dcdd53..b61e5ec 100644 --- a/src/types/S3Configs.ts +++ b/src/types/S3Configs.ts @@ -6,5 +6,5 @@ export type S3Configs = { secretAccessKey: string } requestHandler?: any - acl?: 'public-read' | 'private' | 'authenticated-read' | 'aws-exec-read' | 'bucket-owner-full-control' | 'bucket-owner-read' | 'public-read-write'; + acl?: 'public-read' | 'private' | 'authenticated-read' | 'aws-exec-read' | 'bucket-owner-full-control' | 'bucket-owner-read' | 'public-read-write' }