@@ -30,8 +30,8 @@ type Documents = {
3030 "\n query MaterialsSchemaContent($id: ID!) {\n database(id: $id) {\n id\n schema\n }\n }\n" : typeof types . MaterialsSchemaContentDocument ,
3131 "\n query MaterialsSchema {\n databases {\n id\n ...MaterialsSchemaCard\n }\n }\n" : typeof types . MaterialsSchemaDocument ,
3232 "\n query CompletedQuestions {\n me {\n id\n submissionStatistics {\n totalQuestions\n solvedQuestions\n }\n }\n }\n" : typeof types . CompletedQuestionsDocument ,
33- "\n query MySolvedQuestionsCount {\n me { \n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n" : typeof types . MySolvedQuestionsCountDocument ,
34- "\n query MyPoints {\n me { \n id\n name\n totalPoints\n }\n }\n" : typeof types . MyPointsDocument ,
33+ "\n query CompletedQuestionRanking($period: RankingPeriod!) {\n ranking(\n first: 10\n filter: { order: DESC, by: COMPLETED_QUESTIONS, period: $period } \n ) {\n edges {\n node {\n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n }\n }\n " : typeof types . CompletedQuestionRankingDocument ,
34+ "\n query PointsRanking($period: RankingPeriod!) {\n ranking(first: 10, filter: { order: DESC, by: POINTS, period: $period }) { \n edges {\n node {\n id\n name\n totalPoints\n }\n }\n }\n }\n " : typeof types . PointsRankingDocument ,
3535 "\n query Points {\n me {\n id\n totalPoints\n\n points(first: 5, orderBy: { field: GRANTED_AT, direction: DESC }) {\n edges {\n node {\n id\n ...PointFragment\n }\n }\n }\n }\n }\n" : typeof types . PointsDocument ,
3636 "\n fragment PointFragment on Point {\n description\n points\n }\n" : typeof types . PointFragmentFragmentDoc ,
3737 "\n query ResolvedQuestions {\n me {\n id\n submissionStatistics {\n totalQuestions\n solvedQuestions\n }\n }\n }\n" : typeof types . ResolvedQuestionsDocument ,
@@ -60,8 +60,8 @@ const documents: Documents = {
6060 "\n query MaterialsSchemaContent($id: ID!) {\n database(id: $id) {\n id\n schema\n }\n }\n" : types . MaterialsSchemaContentDocument ,
6161 "\n query MaterialsSchema {\n databases {\n id\n ...MaterialsSchemaCard\n }\n }\n" : types . MaterialsSchemaDocument ,
6262 "\n query CompletedQuestions {\n me {\n id\n submissionStatistics {\n totalQuestions\n solvedQuestions\n }\n }\n }\n" : types . CompletedQuestionsDocument ,
63- "\n query MySolvedQuestionsCount {\n me { \n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n" : types . MySolvedQuestionsCountDocument ,
64- "\n query MyPoints {\n me { \n id\n name\n totalPoints\n }\n }\n" : types . MyPointsDocument ,
63+ "\n query CompletedQuestionRanking($period: RankingPeriod!) {\n ranking(\n first: 10\n filter: { order: DESC, by: COMPLETED_QUESTIONS, period: $period } \n ) {\n edges {\n node {\n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n }\n }\n " : types . CompletedQuestionRankingDocument ,
64+ "\n query PointsRanking($period: RankingPeriod!) {\n ranking(first: 10, filter: { order: DESC, by: POINTS, period: $period }) { \n edges {\n node {\n id\n name\n totalPoints\n }\n }\n }\n }\n " : types . PointsRankingDocument ,
6565 "\n query Points {\n me {\n id\n totalPoints\n\n points(first: 5, orderBy: { field: GRANTED_AT, direction: DESC }) {\n edges {\n node {\n id\n ...PointFragment\n }\n }\n }\n }\n }\n" : types . PointsDocument ,
6666 "\n fragment PointFragment on Point {\n description\n points\n }\n" : types . PointFragmentFragmentDoc ,
6767 "\n query ResolvedQuestions {\n me {\n id\n submissionStatistics {\n totalQuestions\n solvedQuestions\n }\n }\n }\n" : types . ResolvedQuestionsDocument ,
@@ -155,11 +155,11 @@ export function graphql(source: "\n query CompletedQuestions {\n me {\n
155155/**
156156 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
157157 */
158- export function graphql ( source : "\n query MySolvedQuestionsCount {\n me { \n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n" ) : ( typeof documents ) [ "\n query MySolvedQuestionsCount {\n me { \n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n" ] ;
158+ export function graphql ( source : "\n query CompletedQuestionRanking($period: RankingPeriod!) {\n ranking(\n first: 10\n filter: { order: DESC, by: COMPLETED_QUESTIONS, period: $period } \n ) {\n edges {\n node {\n id\n name\n submissionStatistics {\n solvedQuestions\n }\n }\n }\n }\n }\n " ) : ( typeof documents ) [ "\n query CompletedQuestionRanking($period: RankingPeriod!) {\n ranking(\n first: 10\n filter: { order: DESC, by: COMPLETED_QUESTIONS, period: $period } \n ) {\n edges {\n node {\n id\n name\n submissionStatistics {\n solvedQuestions\n }\n } \n }\n }\n }\n" ] ;
159159/**
160160 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
161161 */
162- export function graphql ( source : "\n query MyPoints {\n me { \n id\n name\n totalPoints\n }\n }\n" ) : ( typeof documents ) [ "\n query MyPoints {\n me { \n id\n name\n totalPoints\n }\n }\n" ] ;
162+ export function graphql ( source : "\n query PointsRanking($period: RankingPeriod!) {\n ranking(first: 10, filter: { order: DESC, by: POINTS, period: $period }) { \n edges {\n node {\n id\n name\n totalPoints\n }\n }\n }\n }\n " ) : ( typeof documents ) [ "\n query PointsRanking($period: RankingPeriod!) {\n ranking(first: 10, filter: { order: DESC, by: POINTS, period: $period }) { \n edges {\n node {\n id\n name\n totalPoints\n }\n } \n }\n }\n" ] ;
163163/**
164164 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
165165 */
0 commit comments