Last active
July 19, 2024 09:20
-
-
Save dobladov/6c6246d4d2078aa51068bbe2a3b9477a to your computer and use it in GitHub Desktop.
Import enum as a type containing the values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export * as SSOProvider from "./sso-providers.js"; | |
| export type SSOProvider = typeof SSOProvider[keyof typeof SSOProvider]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const AMAZON = 'amazon'; | |
| export const APPLE = 'apple'; | |
| export const FACEBOOK = 'facebook'; | |
| export const GOOGLE = 'google'; | |
| export const GOOGLE_JWT = 'google-jwt'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment