mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
Change repository rank condition
This commit is contained in:
parent
90b4f138f8
commit
c27aed83c4
2 changed files with 5 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ export const queryUserPullRequest = `
|
||||||
export const queryUserRepository = `
|
export const queryUserRepository = `
|
||||||
query userInfo($username: String!) {
|
query userInfo($username: String!) {
|
||||||
user(login: $username) {
|
user(login: $username) {
|
||||||
repositories(first: 100, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) {
|
repositories(first: 50, ownerAffiliations: OWNER, orderBy: {direction: DESC, field: STARGAZERS}) {
|
||||||
totalCount
|
totalCount
|
||||||
nodes {
|
nodes {
|
||||||
languages(first: 3, orderBy: {direction:DESC, field: SIZE}) {
|
languages(first: 3, orderBy: {direction:DESC, field: SIZE}) {
|
||||||
|
|
|
||||||
|
|
@ -573,22 +573,22 @@ export class TotalRepositoryTrophy extends Trophy {
|
||||||
new RankCondition(
|
new RankCondition(
|
||||||
RANK.SSS,
|
RANK.SSS,
|
||||||
"God Repo Creator",
|
"God Repo Creator",
|
||||||
100,
|
50,
|
||||||
),
|
),
|
||||||
new RankCondition(
|
new RankCondition(
|
||||||
RANK.SS,
|
RANK.SS,
|
||||||
"Deep Repo Creator",
|
"Deep Repo Creator",
|
||||||
90,
|
45,
|
||||||
),
|
),
|
||||||
new RankCondition(
|
new RankCondition(
|
||||||
RANK.S,
|
RANK.S,
|
||||||
"Super Repo Creator",
|
"Super Repo Creator",
|
||||||
80,
|
40,
|
||||||
),
|
),
|
||||||
new RankCondition(
|
new RankCondition(
|
||||||
RANK.AAA,
|
RANK.AAA,
|
||||||
"Ultra Repo Creator",
|
"Ultra Repo Creator",
|
||||||
50,
|
35,
|
||||||
),
|
),
|
||||||
new RankCondition(
|
new RankCondition(
|
||||||
RANK.AA,
|
RANK.AA,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue