We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed178e4 commit 131e053Copy full SHA for 131e053
2 files changed
packages/models/src/repository/index.ts
@@ -3,5 +3,6 @@ import { BaseEntity } from "src/_base";
3
export type RepositoryEntity = BaseEntity & {
4
owner: string;
5
name: string;
6
- provider: "github" | "gitlab";
+ provider: "github" | "gitlab" | "bitbucket";
7
+ stars: number;
8
};
web/src/utils/repository.ts
@@ -10,6 +10,8 @@ export const getRepositoryURL = ({
10
return `https://www.github.com/${owner}/${name}`;
11
case "gitlab":
12
return `https://www.gitlab.com/${owner}/${name}`;
13
+ case "bitbucket":
14
+ return `https://bitbucket.org/${owner}/${name}`;
15
default:
16
return "";
17
}
0 commit comments