Sync with upstream#3
Open
FrikkieSnyman wants to merge 83 commits into
Open
Conversation
Enable 200 or 201 for signing success.
…ing related routes
Add support to provide middle ware options to express router
Signed-off-by: William Grah Chequetto <contato@williamgrah.com>
Add Param getS3 to allow custom S3 configuration and mocks
Added s3path prop
Remove React and ReactDOM peer dependencies
add micro server example
Added a `inputRef` prop allowing to set `ref` on the actual input
This property stops files from being automatically uploaded paving way for manual uploads.
Included auto upload boolean property
This allows a user to specify the folder a file will be uploaded to, while the file itself can be prefixed with a unique identifier.
Move uniquePrefix to be AFTER the s3path
add Typescript definitions
…-types [CHORE] Update Argument Types
add missing methods and props to index.d.ts
Update index.d.ts
Add Missing Props and Methods to index.d.ts
- Allow `signResult.headers` / `uploadRequestHeaders` to override `content-type` & `content-disposition` - Allow `signResult.headers` to override `x-amz-acl` - Allow `uploadRequestHeaders` to override `signResult.headers` - Don't set `content-type` from `file.type` if `file.type` is not set Previously if a header came from two places it would be given two values, which is almost never what was intended.
- fix: React was used but not imported - fix: S3Upload extends onFinishS3Put rather than onFinish - tweak: Add typescript & types/react dev dependencies - tweak: Explicitly set "types" in package.json
inputRef should support React.createRef #176
Add missing S3Response import to type definition
TypeScript tweaks and fixes
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.4...4.17.20) Signed-off-by: dependabot[bot] <support@github.com>
…odash-4.17.20 Bump lodash from 4.17.4 to 4.17.20
Update TS types to use S3Response type for getSignedUrl
Custom headers fixes
template logs
Find file mime type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana Link
What type of PR is this?
Description
Give a detailed explanation of what this PR does. Remember to provide context!
Screenshots
What GIF best describes this PR or how it makes you feel?