-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): integrate gitlab repositories (#1988)
- Loading branch information
Showing
29 changed files
with
1,069 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/[kind]/constants.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { RepositoryKind } from '@/lib/gql/generates/graphql' | ||
|
||
export const REPOSITORY_KIND_METAS: Array<{ | ||
name: string | ||
enum: RepositoryKind | ||
meta: { | ||
domain: string | ||
displayName: string | ||
} | ||
}> = [ | ||
{ | ||
name: 'github', | ||
enum: RepositoryKind.Github, | ||
meta: { | ||
domain: 'github.com', | ||
displayName: 'GitHub' | ||
} | ||
}, | ||
{ | ||
name: 'gitlab', | ||
enum: RepositoryKind.Gitlab, | ||
meta: { | ||
domain: 'gitlab.com', | ||
displayName: 'GitLab' | ||
} | ||
} | ||
] |
Oops, something went wrong.