refactor(client,curriculum): remove isComingSoon property (#63615)

This commit is contained in:
Huyen Nguyen
2025-11-06 19:07:49 -08:00
committed by GitHub
parent 64da68fdfd
commit ced358eb5b
4 changed files with 0 additions and 4 deletions

View File

@@ -323,7 +323,6 @@ exports.createSchemaCustomization = ({ actions }) => {
hooks: Hooks
id: String
instructions: String
isComingSoon: Boolean
isLastChallengeInBlock: Boolean
isPrivate: Boolean
module: String

View File

@@ -213,7 +213,6 @@ export type ChallengeNode = {
hooks?: Hooks;
id: string;
instructions: string;
isComingSoon: boolean;
internal?: {
content: string;
contentDigest: string;

View File

@@ -47,7 +47,6 @@ const defaultProps = {
helpCategory: 'mockHelpCategory',
id: 'mockId',
instructions: 'mockInstructions',
isComingSoon: false,
internal: {
content: 'mockContent',
contentDigest: 'mockContentDigest',

View File

@@ -248,7 +248,6 @@ const schema = Joi.object().keys({
then: Joi.string().min(1).required(),
otherwise: Joi.string().allow('')
}),
isComingSoon: Joi.bool(),
module: Joi.string().when('superBlock', {
is: chapterBasedSuperBlocks,
then: Joi.required(),