diff --git a/client/gatsby-node.js b/client/gatsby-node.js index df986c247cf..648a5ac5ef8 100644 --- a/client/gatsby-node.js +++ b/client/gatsby-node.js @@ -326,6 +326,7 @@ exports.createSchemaCustomization = ({ actions }) => { instructions: String isLastChallengeInBlock: Boolean isPrivate: Boolean + lang: String module: String msTrophyId: String nodules: [Nodule] diff --git a/curriculum/src/file-handler.ts b/curriculum/src/file-handler.ts index 0049432957e..5c27d32d391 100644 --- a/curriculum/src/file-handler.ts +++ b/curriculum/src/file-handler.ts @@ -153,6 +153,7 @@ export type Challenge = { missing?: boolean; challengeFiles?: ChallengeFile[]; solutions?: ChallengeFile[][]; + lang?: string; }; export interface BlockStructure {