Skip to content

Commit b76af78

Browse files
committed
Actually patch
1 parent 584becc commit b76af78

File tree

11 files changed

+79
-75
lines changed

11 files changed

+79
-75
lines changed

workspaces/leetcode-api/schema-original.graphql

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/schema-patched.graphql

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/active-daily-coding-challenge-question/fetchGraphQL.generated.ts

Lines changed: 9 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/active-daily-coding-challenge-question/queryTypes.generated.ts

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/question-list/fetchGraphQL.generated.ts

Lines changed: 12 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/question-list/queryTypes.generated.ts

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/recent-ac-submission-list/fetchGraphQL.generated.ts

Lines changed: 8 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/api/recent-ac-submission-list/queryTypes.generated.ts

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/graphqlTypes.generated.ts

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/leetcode-api/src/scripts/scrape-graphql-schema/patchGraphQLSchema.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import type { LeetCodeGraphQLType } from "../../fetchGraphQLTypeInformation.ts";
66
import { markFieldsNonNull } from "./markFieldsNonNull.ts";
77

88
const FIELDS_TO_MARK_NON_NULL: ReadonlyDeep<Record<string, string[]>> = {
9-
// Query: ["activeDailyCodingChallengeQuestion"],
9+
Query: ["activeDailyCodingChallengeQuestion", "questionList", "recentAcSubmissionList", ],
10+
QuestionNode: ["difficulty", "isPaidOnly", "questionFrontendId"],
11+
SubmissionDumpNode: ["id", "timestamp", "title", "titleSlug"],
1012
};
1113

1214
export function patchGraphQLSchema(

0 commit comments

Comments
 (0)