From 4558096cee8c6e3f181e4de546d241f149d4b3ee Mon Sep 17 00:00:00 2001 From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Date: Fri, 12 Dec 2025 04:51:07 -0800 Subject: [PATCH] fix(client,curriculum): add lang property to Challenge type (#64552) --- client/gatsby-node.js | 1 + curriculum/src/file-handler.ts | 1 + 2 files changed, 2 insertions(+) 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 {