UNPKG

@iflow-mcp/leetcode-mcp-server

Version:

MCP Server for LeetCode API (supports leetcode.com and leetcode.cn)

6 lines (5 loc) 758 B
/** * GraphQL query for fetching solutions for a problem on LeetCode CN * `orderBy` can be one of [DEFAULT, MOST_UPVOTE, HOT, NEWEST_TO_OLDEST, OLDEST_TO_NEWEST] */ export declare const SOLUTION_ARTICLES_QUERY = "\nquery 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}";