feat(plugins/leetcode): add plugin (#1213) [skip ci]

This commit is contained in:
Simon Lecoq
2022-09-05 21:18:20 -04:00
committed by GitHub
parent 5747703b94
commit 2cf5a3990a
14 changed files with 426 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
query Languages ($username: String!) {
matchedUser(username: $username) {
languageProblemCount {
languageName
problemsSolved
}
}
}

View File

@@ -0,0 +1,18 @@
query Problems ($username: String!) {
allQuestionsCount {
difficulty
count
}
matchedUser(username: $username) {
problemsSolvedBeatsStats {
difficulty
percentage
}
submitStatsGlobal {
acSubmissionNum {
difficulty
count
}
}
}
}

View File

@@ -0,0 +1,8 @@
query Recent ($username: String!, $limit: Int!) {
recentAcSubmissionList(username: $username, limit: $limit) {
id
title
titleSlug
timestamp
}
}

View File

@@ -0,0 +1,18 @@
query Skills ($username: String!) {
matchedUser(username: $username) {
tagProblemCounts {
advanced {
tagName
problemsSolved
}
intermediate {
tagName
problemsSolved
}
fundamental {
tagName
problemsSolved
}
}
}
}