From c27aed83c4abc5322af3687b4a169ff38a571bf0 Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Wed, 3 Dec 2025 10:57:46 +0900 Subject: [PATCH] Change repository rank condition --- src/Schemas/index.ts | 2 +- src/trophy.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Schemas/index.ts b/src/Schemas/index.ts index 8ac83d7..34be792 100644 --- a/src/Schemas/index.ts +++ b/src/Schemas/index.ts @@ -43,7 +43,7 @@ export const queryUserPullRequest = ` export const queryUserRepository = ` query userInfo($username: String!) { user(login: $username) { - repositories(first: 100, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) { + repositories(first: 50, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) { totalCount nodes { languages(first: 3, orderBy: {direction:DESC, field: SIZE}) { diff --git a/src/trophy.ts b/src/trophy.ts index f81cdc7..0d28ebd 100644 --- a/src/trophy.ts +++ b/src/trophy.ts @@ -573,22 +573,22 @@ export class TotalRepositoryTrophy extends Trophy { new RankCondition( RANK.SSS, "God Repo Creator", - 100, + 50, ), new RankCondition( RANK.SS, "Deep Repo Creator", - 90, + 45, ), new RankCondition( RANK.S, "Super Repo Creator", - 80, + 40, ), new RankCondition( RANK.AAA, "Ultra Repo Creator", - 50, + 35, ), new RankCondition( RANK.AA,