File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,22 @@ import { trackEvent } from "../Analytics";
1616import bitbucketButton from "../images/browser-extension/bitbucket.webp" ;
1717import githubButton from "../images/browser-extension/github.webp" ;
1818import gitlabButton from "../images/browser-extension/gitlab.webp" ;
19+ import azuredevopsButton from "../images/browser-extension/azure-devops.webp" ;
1920import uniq from "lodash/uniq" ;
2021
2122const browserExtensionImages = {
2223 Bitbucket : bitbucketButton ,
2324 GitHub : githubButton ,
2425 GitLab : gitlabButton ,
26+ "Azure DevOps" : azuredevopsButton ,
2527} as const ;
2628
2729type BrowserOption = {
2830 type : "firefox" | "chromium" ;
2931 aliases ?: string [ ] ;
3032 url : string ;
3133} ;
32- type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" ;
34+ type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" | "Azure DevOps" ;
3335
3436const installationOptions : BrowserOption [ ] = [
3537 {
@@ -54,6 +56,8 @@ const unifyProviderType = (type: AuthProviderType): UnifiedAuthProvider | undefi
5456 return "GitHub" ;
5557 case AuthProviderType . GITLAB :
5658 return "GitLab" ;
59+ case AuthProviderType . AZURE_DEVOPS :
60+ return "Azure DevOps" ;
5761 default :
5862 return undefined ;
5963 }
You can’t perform that action at this time.
0 commit comments