Skip to content

Commit eb61069

Browse files
committed
update: export GitHubContribution type
1 parent 2a1c637 commit eb61069

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

src/index.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,43 @@ import { getGitHubLanguages } from "./core/languages.js";
44
import { getGitHubRepos, getGitHubPinnedRepos } from "./core/repositories.js";
55
import {
66
getGitHubContributions,
7-
getGitHubContributionTypesPerYear
7+
getGitHubContributionTypesPerYear,
8+
getGitHubYearlyContributions
89
} from "./core/contributions.js";
910

1011
import {
1112
GitHubProfile,
1213
GitHubCommit,
1314
UserLangStat,
14-
GitHubRepo
15+
GitHubRepo,
16+
GitHubContribution
1517
} from "./types/types.js";
1618

1719
export {
1820
getGitHubUser,
1921
getGitHubCommits,
2022
getGitHubContributions,
2123
getGitHubContributionTypesPerYear,
24+
getGitHubYearlyContributions,
2225
getGitHubLanguages,
2326
getGitHubRepos,
2427
getGitHubPinnedRepos
2528
};
2629

27-
export type { GitHubProfile, GitHubCommit, UserLangStat, GitHubRepo };
30+
export type {
31+
GitHubProfile,
32+
GitHubCommit,
33+
UserLangStat,
34+
GitHubRepo,
35+
GitHubContribution
36+
};
2837

2938
export default {
3039
getGitHubUser,
3140
getGitHubCommits,
3241
getGitHubContributions,
3342
getGitHubContributionTypesPerYear,
43+
getGitHubYearlyContributions,
3444
getGitHubLanguages,
3545
getGitHubRepos,
3646
getGitHubPinnedRepos

0 commit comments

Comments
 (0)