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";
16
16
import bitbucketButton from "../images/browser-extension/bitbucket.webp" ;
17
17
import githubButton from "../images/browser-extension/github.webp" ;
18
18
import gitlabButton from "../images/browser-extension/gitlab.webp" ;
19
+ import azuredevopsButton from "../images/browser-extension/azure-devops.webp" ;
19
20
import uniq from "lodash/uniq" ;
20
21
21
22
const browserExtensionImages = {
22
23
Bitbucket : bitbucketButton ,
23
24
GitHub : githubButton ,
24
25
GitLab : gitlabButton ,
26
+ "Azure DevOps" : azuredevopsButton ,
25
27
} as const ;
26
28
27
29
type BrowserOption = {
28
30
type : "firefox" | "chromium" ;
29
31
aliases ?: string [ ] ;
30
32
url : string ;
31
33
} ;
32
- type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" ;
34
+ type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" | "Azure DevOps" ;
33
35
34
36
const installationOptions : BrowserOption [ ] = [
35
37
{
@@ -54,6 +56,8 @@ const unifyProviderType = (type: AuthProviderType): UnifiedAuthProvider | undefi
54
56
return "GitHub" ;
55
57
case AuthProviderType . GITLAB :
56
58
return "GitLab" ;
59
+ case AuthProviderType . AZURE_DEVOPS :
60
+ return "Azure DevOps" ;
57
61
default :
58
62
return undefined ;
59
63
}
You can’t perform that action at this time.
0 commit comments