-
Notifications
You must be signed in to change notification settings - Fork 3k
Expand file tree
/
Copy pathplatforms.ts
More file actions
52 lines (46 loc) · 940 Bytes
/
platforms.ts
File metadata and controls
52 lines (46 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
export const PLATFORM_HOST_TYPES = [
'azure',
'bitbucket',
'bitbucket-server',
'codecommit',
'gerrit',
'gitea',
'github',
'gitlab',
'local',
] as const;
export type PlatformId = (typeof PLATFORM_HOST_TYPES)[number];
export const GITEA_API_USING_HOST_TYPES = [
'gitea',
'gitea-changelog',
'gitea-releases',
'gitea-tags',
];
export const GITHUB_API_USING_HOST_TYPES = [
'github',
'github-releases',
'github-release-attachments',
'github-tags',
'pod',
'hermit',
'github-changelog',
'conan',
];
export const GITLAB_API_USING_HOST_TYPES = [
'gitlab',
'gitlab-releases',
'gitlab-tags',
'gitlab-packages',
'gitlab-changelog',
'pypi',
];
export const BITBUCKET_API_USING_HOST_TYPES = [
'bitbucket',
'bitbucket-changelog',
'bitbucket-tags',
];
export const BITBUCKET_SERVER_API_USING_HOST_TYPES = [
'bitbucket-server',
'bitbucket-server-changelog',
'bitbucket-server-tags',
];