mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-22 20:46:25 +00:00
000142e5d5
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
30 lines
649 B
TypeScript
30 lines
649 B
TypeScript
// eslint-disable-next-line typescript-enum/no-enum, typescript-enum/no-const-enum
|
|
export const enum PlatformId {
|
|
Azure = 'azure',
|
|
Bitbucket = 'bitbucket',
|
|
BitbucketServer = 'bitbucket-server',
|
|
Gitea = 'gitea',
|
|
Github = 'github',
|
|
Gitlab = 'gitlab',
|
|
}
|
|
|
|
export const GITHUB_API_USING_HOST_TYPES = [
|
|
PlatformId.Github,
|
|
'github-releases',
|
|
'github-tags',
|
|
'pod',
|
|
'github-changelog',
|
|
];
|
|
|
|
export const GITLAB_API_USING_HOST_TYPES = [
|
|
PlatformId.Gitlab,
|
|
'gitlab-releases',
|
|
'gitlab-tags',
|
|
'gitlab-packages',
|
|
'gitlab-changelog',
|
|
];
|
|
|
|
export const BITBUCKET_API_USING_HOST_TYPES = [
|
|
PlatformId.Bitbucket,
|
|
'bitbucket-tags',
|
|
];
|