-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Many types not exposed #14082
Comments
Hello, @Akkuma 👋. Going to initially mark this as a feature request to capture how we can make the use of the I'll review this with the team internally, but could you also just give a little more context on the use case here and what you're looking to do with the |
Thanks @cwomack. I'm upgrading from v5 to v6. I'm implementing this in React w/our own UI. We allowed at one point a user to choose email, phone, or password logins and each of those are mapped to the appropriate
This same problem exists for any types only accessible in the manner above ( |
Appreciate the follow up here, @Akkuma. Will review this with the team and reach out with any further questions or updates! |
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
Describe the bug
Types such as
AuthFlowType
are not being exported. Only a subset of types are being re-exported through the re-export chain of files.Expected behavior
All exported types should be accessible without having to use other types to derive the type we're interested in utilizing.
Reproduction steps
AuthFlowType
SignInOptions
, which exists onSignInInput
, but only after manually doingNonNullable<SignInInput['options']>
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: