export declare const GLOBAL_DAILY_QUERY = "\n query dailyCodingChallengeV2 {\n activeDailyCodingChallengeQuestion {\n date\n link\n question {\n questionId\n questionFrontendId\n boundTopicId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n content\n translatedContent\n likes\n dislikes\n isLiked\n similarQuestions\n exampleTestcases\n hints\n sampleTestCase\n enableRunCode\n enableTestMode\n enableDebugger\n judgerAvailable\n judgeType\n metaData\n contributors { username profileUrl avatarUrl }\n companyTagStats\n codeSnippets { lang langSlug code }\n stats\n solution { id canSeeDetail paidOnly hasVideoSolution paidOnlyVideo }\n mysqlSchemas\n envInfo\n libraryUrl\n adminUrl\n challengeQuestion { id date incompleteChallengeCount streakCount type }\n note\n topicTags {\n name\n slug\n translatedName\n }\n }\n }\n }\n"; export declare const CN_DAILY_QUERY = "\n query questionOfToday {\n todayRecord {\n date\n userStatus\n question {\n questionId\n frontendQuestionId: questionFrontendId\n title\n titleCn: translatedTitle\n titleSlug\n difficulty\n paidOnly: isPaidOnly\n acRate\n status\n freqBar\n isFavor\n solutionNum\n hasVideoSolution\n topicTags {\n name\n slug\n id\n nameTranslated: translatedName\n }\n extra { topCompanyTags { imgUrl slug numSubscribed } }\n }\n lastSubmission { id }\n }\n }\n"; export declare const GLOBAL_SEARCH_QUERY = "\n query problemsetQuestionList(\n $categorySlug: String\n $limit: Int\n $skip: Int\n $filters: QuestionListFilterInput\n ) {\n problemsetQuestionList: questionList(\n categorySlug: $categorySlug\n limit: $limit\n skip: $skip\n filters: $filters\n ) {\n total: totalNum\n questions: data {\n \n questionId\n questionFrontendId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n topicTags {\n name\n slug\n translatedName\n }\n\n }\n }\n }\n"; export declare const CN_SEARCH_QUERY = "\n query problemsetQuestionList(\n $categorySlug: String\n $limit: Int\n $skip: Int\n $filters: QuestionListFilterInput\n ) {\n problemsetQuestionList(\n categorySlug: $categorySlug\n limit: $limit\n skip: $skip\n filters: $filters\n ) {\n hasMore\n total\n questions {\n frontendQuestionId\n title\n titleCn\n titleSlug\n difficulty\n paidOnly\n acRate\n status\n topicTags {\n name\n nameTranslated\n slug\n }\n }\n }\n }\n"; export declare const GLOBAL_PROBLEM_QUERY = "\n query questionData($titleSlug: String!) {\n question(titleSlug: $titleSlug) {\n \n \n questionId\n questionFrontendId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n topicTags {\n name\n slug\n translatedName\n }\n\n boundTopicId\n content\n translatedContent\n likes\n dislikes\n isLiked\n similarQuestions\n hints\n exampleTestcases\n contributors { username profileUrl avatarUrl }\n companyTagStats\n sampleTestCase\n stats\n enableRunCode\n enableTestMode\n judgerAvailable\n judgeType\n metaData\n mysqlSchemas\n libraryUrl\n note\n codeSnippets { lang langSlug code }\n\n solution { id canSeeDetail paidOnly hasVideoSolution paidOnlyVideo }\n enableDebugger\n envInfo\n adminUrl\n challengeQuestion { id date incompleteChallengeCount streakCount type }\n }\n }\n"; export declare const CN_PROBLEM_QUERY = "\n query questionData($titleSlug: String!) {\n question(titleSlug: $titleSlug) {\n \n \n questionId\n questionFrontendId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n topicTags {\n name\n slug\n translatedName\n }\n\n boundTopicId\n content\n translatedContent\n likes\n dislikes\n isLiked\n similarQuestions\n hints\n exampleTestcases\n contributors { username profileUrl avatarUrl }\n companyTagStats\n sampleTestCase\n stats\n enableRunCode\n enableTestMode\n judgerAvailable\n judgeType\n metaData\n mysqlSchemas\n libraryUrl\n note\n codeSnippets { lang langSlug code }\n\n solution { id canSeeDetail }\n }\n }\n"; /** Backward-compatible export for consumers that imported the Global query. */ export declare const PROBLEM_QUERY = "\n query questionData($titleSlug: String!) {\n question(titleSlug: $titleSlug) {\n \n \n questionId\n questionFrontendId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n topicTags {\n name\n slug\n translatedName\n }\n\n boundTopicId\n content\n translatedContent\n likes\n dislikes\n isLiked\n similarQuestions\n hints\n exampleTestcases\n contributors { username profileUrl avatarUrl }\n companyTagStats\n sampleTestCase\n stats\n enableRunCode\n enableTestMode\n judgerAvailable\n judgeType\n metaData\n mysqlSchemas\n libraryUrl\n note\n codeSnippets { lang langSlug code }\n\n solution { id canSeeDetail paidOnly hasVideoSolution paidOnlyVideo }\n enableDebugger\n envInfo\n adminUrl\n challengeQuestion { id date incompleteChallengeCount streakCount type }\n }\n }\n"; export declare const GLOBAL_USER_PROFILE_QUERY = "\n query userProfile($username: String!) {\n allQuestionsCount {\n difficulty\n count\n }\n matchedUser(username: $username) {\n username\n socialAccounts\n githubUrl\n contributions {\n points\n questionCount\n testcaseCount\n }\n profile {\n realName\n websites\n countryName\n skillTags\n company\n school\n starRating\n aboutMe\n userAvatar\n reputation\n ranking\n }\n submissionCalendar\n submitStats {\n acSubmissionNum {\n difficulty\n count\n submissions\n }\n totalSubmissionNum {\n difficulty\n count\n submissions\n }\n }\n badges {\n id\n displayName\n icon\n creationDate\n }\n upcomingBadges {\n name\n icon\n }\n activeBadge {\n id\n }\n }\n recentSubmissionList(username: $username, limit: 20) {\n title\n titleSlug\n timestamp\n statusDisplay\n lang\n }\n }\n"; export declare const CN_USER_PROFILE_QUERY = "\n query getUserProfile($username: String!) {\n userProfileUserQuestionProgress(userSlug: $username) {\n numAcceptedQuestions { count difficulty }\n numFailedQuestions { count difficulty }\n numUntouchedQuestions { count difficulty }\n }\n userProfilePublicProfile(userSlug: $username) {\n haveFollowed\n siteRanking\n profile {\n userSlug\n realName\n aboutMe\n asciiCode\n userAvatar\n gender\n websites\n skillTags\n ipRegion\n birthday\n location\n useDefaultAvatar\n certificationLevel\n github\n school: schoolV2 { name }\n company: companyV2 { name }\n job\n globalLocation { country province city overseasCity }\n socialAccounts { provider profileUrl }\n skillSet {\n langLevels { langName langVerboseName level }\n topics { slug name translatedName }\n topicAreaScores { score topicArea { name slug } }\n }\n }\n educationRecordList { unverifiedOrganizationName }\n occupationRecordList { unverifiedOrganizationName jobTitle }\n }\n }\n"; export declare const GLOBAL_USER_CONTEST_QUERY = "\n query userContestRankingInfo($username: String!) {\n userContestRanking(username: $username) {\n attendedContestsCount\n rating\n globalRanking\n totalParticipants\n topPercentage\n badge { name }\n }\n userContestRankingHistory(username: $username) {\n attended\n trendDirection\n problemsSolved\n totalProblems\n finishTimeInSeconds\n rating\n ranking\n contest { title startTime }\n }\n }\n"; export declare const CN_USER_CONTEST_QUERY = "\n query userContestRankingInfo($username: String!) {\n userContestRanking(userSlug: $username) {\n attendedContestsCount\n rating\n globalRanking\n localRanking\n globalTotalParticipants\n localTotalParticipants\n topPercentage\n }\n userContestRankingHistory(userSlug: $username) {\n attended\n totalProblems\n trendingDirection\n finishTimeInSeconds\n rating\n score\n ranking\n contest { title titleCn startTime }\n }\n }\n"; export declare const GLOBAL_USER_STATUS_QUERY = "\n query userStatus {\n userStatus {\n userId\n username\n avatar\n isSignedIn\n isMockUser\n isPremium\n isAdmin\n isSuperuser\n isTranslator\n permissions\n }\n }\n"; export declare const CN_USER_STATUS_QUERY = "\n query userStatus {\n userStatus {\n isSignedIn\n isAdmin\n isStaff\n isSuperuser\n isTranslator\n isVerified\n isPhoneVerified\n isWechatVerified\n checkedInToday\n username\n realName\n userSlug\n avatar\n region\n permissions\n useTranslation\n }\n }\n"; export declare const PROGRESS_BY_SLUG_QUERY = "\n query questionProgress($titleSlug: String!) {\n question(titleSlug: $titleSlug) {\n \n questionId\n questionFrontendId\n title\n translatedTitle\n titleSlug\n difficulty\n isPaidOnly\n acRate\n status\n topicTags {\n name\n slug\n translatedName\n }\n\n }\n }\n"; export declare const PROGRESS_LIST_QUERY = "\n query userProgressQuestionList($filters: UserProgressQuestionListInput) {\n userProgressQuestionList(filters: $filters) {\n totalNum\n questions {\n difficulty\n frontendId\n lastSubmittedAt\n numSubmitted\n questionStatus\n lastResult\n title\n titleSlug\n translatedTitle\n topicTags {\n name\n nameTranslated\n slug\n }\n }\n }\n }\n"; export declare const GLOBAL_HISTORY_QUERY = "\n query submissionList(\n $offset: Int!\n $limit: Int!\n $questionSlug: String\n ) {\n submissionList(\n offset: $offset\n limit: $limit\n questionSlug: $questionSlug\n ) {\n hasNext\n submissions {\n id\n title\n titleSlug\n statusDisplay\n lang\n timestamp\n runtime\n memory\n isPending\n }\n }\n }\n"; export declare const CN_HISTORY_QUERY = "\n query submissionList(\n $offset: Int!\n $limit: Int!\n $lastKey: String\n $questionSlug: String\n $lang: String\n $status: SubmissionStatusEnum\n ) {\n submissionList(\n offset: $offset\n limit: $limit\n lastKey: $lastKey\n questionSlug: $questionSlug\n lang: $lang\n status: $status\n ) {\n lastKey\n hasNext\n submissions {\n id\n title\n status\n statusDisplay\n lang\n langName: langVerboseName\n runtime\n timestamp\n url\n isPending\n memory\n frontendId\n }\n }\n }\n"; export declare const GLOBAL_RECENT_SUBMISSIONS_QUERY = "\n query recentSubmissions($username: String!, $limit: Int) {\n recentSubmissionList(username: $username, limit: $limit) {\n title\n titleSlug\n timestamp\n statusDisplay\n lang\n }\n }\n"; export declare const GLOBAL_RECENT_AC_SUBMISSIONS_QUERY = "\n query recentAcSubmissions($username: String!, $limit: Int) {\n recentAcSubmissionList(username: $username, limit: $limit) {\n id\n title\n titleSlug\n time\n timestamp\n statusDisplay\n lang\n }\n }\n"; export declare const CN_RECENT_AC_SUBMISSIONS_QUERY = "\n query recentAcSubmissions($username: String!) {\n recentACSubmissions(userSlug: $username) {\n submissionId\n submitTime\n question {\n title\n translatedTitle\n titleSlug\n questionFrontendId\n }\n }\n }\n"; export declare const GLOBAL_SUBMISSION_DETAIL_QUERY = "\n query submissionDetails($id: Int!, $includeCode: Boolean!) {\n submissionDetails(submissionId: $id) {\n id\n runtime\n runtimeDisplay\n runtimePercentile\n memory\n memoryDisplay\n memoryPercentile\n code @include(if: $includeCode)\n timestamp\n statusCode\n lang {\n name\n verboseName\n }\n question {\n questionId\n titleSlug\n }\n runtimeError\n compileError\n lastTestcase\n codeOutput\n expectedOutput\n totalCorrect\n totalTestcases\n stdOutput\n }\n }\n"; export declare const CN_SUBMISSION_DETAIL_QUERY = "\n query submissionDetails($submissionId: ID!, $includeCode: Boolean!) {\n submissionDetail(submissionId: $submissionId) {\n id\n code @include(if: $includeCode)\n timestamp\n statusDisplay\n runtimeDisplay: runtime\n memoryDisplay: memory\n lang\n langVerboseName\n question {\n questionId\n titleSlug\n }\n runtimePercentile\n memoryPercentile\n passedTestCaseCnt\n totalTestCaseCnt\n stdOutput\n ... on GeneralSubmissionNode {\n outputDetail {\n codeOutput\n expectedOutput\n input\n compileError\n runtimeError\n lastTestcase\n }\n }\n ... on ContestSubmissionNode {\n outputDetail {\n codeOutput\n expectedOutput\n input\n compileError\n runtimeError\n lastTestcase\n }\n }\n }\n }\n"; export declare const GLOBAL_SOLUTION_ARTICLES_QUERY = "\n query ugcArticleSolutionArticles(\n $questionSlug: String!\n $orderBy: ArticleOrderByEnum\n $userInput: String\n $tagSlugs: [String!]\n $skip: Int\n $first: Int\n ) {\n ugcArticleSolutionArticles(\n questionSlug: $questionSlug\n orderBy: $orderBy\n userInput: $userInput\n tagSlugs: $tagSlugs\n skip: $skip\n first: $first\n ) {\n totalNum\n pageInfo {\n hasNextPage\n }\n edges {\n node {\n title\n topicId\n summary\n slug\n canSee\n hasVideoArticle\n }\n }\n }\n }\n"; export declare const CN_SOLUTION_ARTICLES_QUERY = "\n query questionTopicsList(\n $questionSlug: String!\n $skip: Int\n $first: Int\n $orderBy: SolutionArticleOrderBy\n $userInput: String\n $tagSlugs: [String!]\n ) {\n questionSolutionArticles(\n questionSlug: $questionSlug\n skip: $skip\n first: $first\n orderBy: $orderBy\n userInput: $userInput\n tagSlugs: $tagSlugs\n ) {\n totalNum\n edges {\n node {\n slug\n canSee\n topic {\n id\n }\n videosInfo {\n coverUrl\n }\n }\n }\n }\n }\n"; export declare const GLOBAL_SOLUTION_DETAIL_QUERY = "\n query ugcArticleSolutionArticle($topicId: ID) {\n ugcArticleSolutionArticle(topicId: $topicId) {\n title\n slug\n content\n tags {\n slug\n }\n topic {\n id\n }\n prev {\n uuid\n slug\n topicId\n title\n }\n next {\n slug\n topicId\n }\n }\n }\n"; export declare const CN_SOLUTION_DETAIL_QUERY = "\n query discussTopic($slug: String) {\n solutionArticle(slug: $slug, orderBy: DEFAULT) {\n title\n content\n slug\n tags {\n slug\n }\n topic {\n id\n }\n question {\n titleSlug\n }\n next {\n slug\n }\n prev {\n slug\n }\n }\n }\n"; //# sourceMappingURL=read-queries.d.ts.map