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

Create and export the response type. #207

Open
Michael-Liendo opened this issue Jul 7, 2023 · 3 comments
Open

Create and export the response type. #207

Michael-Liendo opened this issue Jul 7, 2023 · 3 comments

Comments

@Michael-Liendo
Copy link

I recommend being able to use the types of the responses to request an image without having to call the method.

@Michael-Liendo
Copy link
Author

If you agree with the implementation of this issue, I could contribute with it. 😄

In my case I use the types of the images and the author and to use it in a place outside of where the request is made I cannot, and I have to create them by myself, that's why the recommendation.

@Magellol
Copy link
Member

Would you mind providing a small code snippet to illustrate your idea? I'm not sure I fully understand.

@Michael-Liendo
Copy link
Author

Michael-Liendo commented Jul 26, 2023

Would you mind providing a small code snippet to illustrate your idea? I'm not sure I fully understand.

It would be just to create the types of the response of an image.

something like this:
image

but more types about the responses, and export for use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants