diff --git a/src/Schemas/index.ts b/src/Schemas/index.ts index 4872efa..8e09dbb 100644 --- a/src/Schemas/index.ts +++ b/src/Schemas/index.ts @@ -46,7 +46,7 @@ export const queryUserRepository = ` repositories(first: 50, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) { totalCount nodes { - languages(first: 3, orderBy: {direction:DESC, field: SIZE}) { + languages(first: 2, orderBy: {direction:DESC, field: SIZE}) { nodes { name } @@ -88,7 +88,7 @@ export const queryUserAll = ` repositories(first: 50, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) { totalCount nodes { - languages(first: 3, orderBy: {direction:DESC, field: SIZE}) { + languages(first: 2, orderBy: {direction:DESC, field: SIZE}) { nodes { name } diff --git a/src/user_info.ts b/src/user_info.ts index dd8ce46..c5b986e 100644 --- a/src/user_info.ts +++ b/src/user_info.ts @@ -42,10 +42,11 @@ export type GitHubUserActivity = { }; }; -export type GitHubUserAll = GitHubUserActivity & - GitHubUserIssue & - GitHubUserPullRequest & - GitHubUserRepository; +export type GitHubUserAll = + & GitHubUserActivity + & GitHubUserIssue + & GitHubUserPullRequest + & GitHubUserRepository; export class UserInfo { public readonly totalCommits: number; public readonly totalFollowers: number;