Skip to content

Commit

Permalink
chore(constants): export PLATFORM_HOST_TYPES constant as value (#30642)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shegox committed Aug 7, 2024
1 parent 9f07751 commit fec6251
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions lib/constants/platforms.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
export type PlatformId =
| 'azure'
| 'codecommit'
| 'bitbucket'
| 'bitbucket-server'
| 'gerrit'
| 'gitea'
| 'github'
| 'gitlab'
| 'local';
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',
Expand Down

0 comments on commit fec6251

Please sign in to comment.