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

Export api method input types #299

Open
nadilas opened this issue May 8, 2022 · 2 comments · May be fixed by #505
Open

Export api method input types #299

nadilas opened this issue May 8, 2022 · 2 comments · May be fixed by #505

Comments

@nadilas
Copy link

nadilas commented May 8, 2022

Could we potentially get exported types for the api methods?
e.g.

Something along the lines of:

export interface ThirdPartySignInUpPOSTInput {
              provider: TypeProvider;
              code: string;
              redirectURI: string;
              authCodeResponse?: any;
              clientId?: string;
              options: ThirdPartyAPIOptions;
              userContext: any;
}

Source: https://discord.com/channels/603466164219281420/644849840475602944/972839242839515186

@rishabhpoddar
Copy link
Contributor

hey @nadilas this makes sense. However, it's something that would not be a big priority for us at the moment. Please feel free to make a PR for this if you like.

@nadilas
Copy link
Author

nadilas commented May 26, 2022

@rishabhpoddar I'll look into whether we could make use of Parameters and ReturnType instead of extracting

@productdevbook productdevbook linked a pull request Mar 4, 2023 that will close this issue
17 tasks
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

Successfully merging a pull request may close this issue.

2 participants