Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Show a documentation example for basic CRUD operations using UTApi and Next AppDir #439

Open
Elkjdsvn opened this issue Oct 25, 2023 · 3 comments
Labels
✨ enhancement suggestion or feature request to improve uploadthing PRs Accepted Anyone feel free to pick this up

Comments

@Elkjdsvn
Copy link

Elkjdsvn commented Oct 25, 2023

Describe the feature you'd like to request

Title is pretty self explanatory but it would be very nice to have the implementation of UTApi getFiles/listFiles/deleteFiles calls.
As a very young dev I don't want to make too big mistakes and I'm scared of leaking something since the new AppDir model is really abstract on certain parts (i.e Server Actions)

Describe the solution you'd like to see

Just a few files showing an opinion from the maintainers on how to deal with it regarding the AppDir model

Additional information

No response

@Elkjdsvn Elkjdsvn added the ✨ enhancement suggestion or feature request to improve uploadthing label Oct 25, 2023
@markflorkowski
Copy link
Collaborator

Really like this idea, will probably try to take swing at it in the next week or two if nobody else jumps on it first!

@Elkjdsvn
Copy link
Author

Nice !

If you've got some docs on how to do a clean PR for the current repo, I may give it a try too because I would like to contribute.
I just don't want the lack of experience to make me submit something badly formatted or not following UploadThing's docs' best practices

@Elkjdsvn Elkjdsvn reopened this Oct 29, 2023
@markflorkowski
Copy link
Collaborator

The only notes I would say are to follow conventional commits for naming your PR and, and include a good description.

Otherwise, take a look at the other items in /examples for an idea on how we typically do them.

Anything else we'll catch in code review 👍

@markflorkowski markflorkowski added the PRs Accepted Anyone feel free to pick this up label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement suggestion or feature request to improve uploadthing PRs Accepted Anyone feel free to pick this up
Projects
None yet
Development

No branches or pull requests

2 participants