Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
BSalaeddin committed Aug 23, 2024
1 parent af35c23 commit 1072afb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/uploadObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/types/S3Configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit 1072afb

Please sign in to comment.