Currently this package has parity with the UTApi class in Uploadthing, so this package doesn't require new features.
If you have modifications you'd like to make to the code for cleanliness or other improvements, I'd recommend getting in touch before making the changes.
This package should do nothing more than the UTApi class in Uploadthing
- requestUploadThing
- deleteFiles
- getFileUrls
- listFiles
- renameFiles
- getSignedURL
- getUsageInfo
-
If you'd like to make a change, first clone the Uploadthing repo and find the original function you plan to modify.
git clone --depth 1 https://github.com/pingdotgg/uploadthing uploadthing_source; cd uploadthing_source; ## I recommend starting in the below file - the core functionality is there vim packages/uploadthing/src/sdk/index.ts
-
Clone this repo and start a branch for your feature.
git clone https://github.com/jesses-code-adventures/utapi-go; cd utapi-go; git checkout -b my_feature;
-
Make your changes
-
Check for any upstream changes
git pull --rebase origin master
-
Push your branch to origin
git push origin my_feature
-
Go to Github
- Create a pull request for your branch
- In your pull request, explain your changes and link any relevant issues.
- Wait for a review/test