Skip to content

Commit 978605d

Browse files
committed
update: export all new methods
1 parent d2a5998 commit 978605d

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

src/index.ts

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
import { getGitHubUser } from "./core/profile.js";
22
import { getGitHubCommits } from "./core/commits.js";
3+
import { getGitHubLanguages } from "./core/languages.js";
4+
import { getGitHubRepos, getGitHubPinnedRepos } from "./core/repositories.js";
35
import {
46
getGitHubContributions,
57
getGitHubContributionTypesPerYear
68
} from "./core/contributions.js";
79

8-
import { GitHubProfile, GitHubCommit } from "./types/types.js";
10+
import {
11+
GitHubProfile,
12+
GitHubCommit,
13+
UserLangStat,
14+
GitHubRepo
15+
} from "./types/types.js";
916

1017
export {
1118
getGitHubUser,
1219
getGitHubCommits,
1320
getGitHubContributions,
14-
getGitHubContributionTypesPerYear
21+
getGitHubContributionTypesPerYear,
22+
getGitHubLanguages,
23+
getGitHubRepos,
24+
getGitHubPinnedRepos
1525
};
1626

17-
export type { GitHubProfile, GitHubCommit };
27+
export type { GitHubProfile, GitHubCommit, UserLangStat, GitHubRepo };
1828

1929
export default {
2030
getGitHubUser,
2131
getGitHubCommits,
22-
getGitHubContributions
32+
getGitHubContributions,
33+
getGitHubContributionTypesPerYear,
34+
getGitHubLanguages,
35+
getGitHubRepos,
36+
getGitHubPinnedRepos
2337
};

0 commit comments

Comments
 (0)