renovate/lib/constants/platforms.ts
Richard Versteeg 000142e5d5
feat(changelogs): Add github-changelog and gitlab-changelog hosttypes ()
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-02 10:20:51 +00:00

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',
];