Add window for manually copying the redirect URI for Nintendo Account authentication

This commit is contained in:
Samuel Elliott
2022-09-12 01:22:23 +01:00
parent ca0b063f58
commit ccdb4bac8d
4 changed files with 204 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ export enum WindowType {
DISCORD_PRESENCE = 'DiscordPresence',
ADD_FRIEND = 'AddFriend',
PREFERENCES = 'Preferences',
ADD_ACCOUNT_MANUAL_PROMPT = 'AddAccountManualPrompt',
}
interface WindowProps {
@@ -14,6 +15,7 @@ interface WindowProps {
[WindowType.DISCORD_PRESENCE]: import('../browser/discord/index.js').DiscordSetupProps;
[WindowType.ADD_FRIEND]: import('../browser/add-friend/index.js').AddFriendProps;
[WindowType.PREFERENCES]: import('../browser/preferences/index.js').PreferencesProps;
[WindowType.ADD_ACCOUNT_MANUAL_PROMPT]: import('../browser/add-account-manual/index.js').AddAccountManualPromptProps;
}
export interface WindowConfiguration<T extends WindowType = WindowType> {