[Fix]: mismatch between repo object definition between FE and BE (#7953)

This commit is contained in:
Rohit Malhotra 2025-04-19 20:28:10 -04:00 committed by GitHub
parent 5b3270be2d
commit 20bf48b693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -56,12 +56,16 @@ describe("GitRepositorySelector", () => {
full_name: "test/repo1",
git_provider: "github" as Provider,
stargazers_count: 100,
is_public: true,
pushed_at: "2023-01-01T00:00:00Z",
},
{
id: 2,
full_name: "test/repo2",
git_provider: "github" as Provider,
stargazers_count: 200,
is_public: true,
pushed_at: "2023-01-02T00:00:00Z",
},
];

View File

@ -19,8 +19,10 @@ interface GitRepository {
id: number;
full_name: string;
git_provider: Provider;
is_public: boolean;
stargazers_count?: number;
link_header?: string;
pushed_at?: string;
}
interface GitHubCommit {