mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: Add prompt course to catalog (#66228)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
@@ -527,6 +527,7 @@ exports[`challenge schema > should not be changed without informing the mobile t
|
||||
"Rosetta",
|
||||
"Chinese Curriculum",
|
||||
"Spanish Curriculum",
|
||||
"General",
|
||||
],
|
||||
"flags": {
|
||||
"only": true,
|
||||
|
||||
@@ -236,7 +236,8 @@ export const schema = Joi.object().keys({
|
||||
'Euler',
|
||||
'Rosetta',
|
||||
'Chinese Curriculum',
|
||||
'Spanish Curriculum'
|
||||
'Spanish Curriculum',
|
||||
'General'
|
||||
).required(),
|
||||
isLastChallengeInBlock: Joi.boolean().required(),
|
||||
videoUrl: Joi.string().allow(''),
|
||||
|
||||
@@ -57,7 +57,8 @@ const superblocks = [
|
||||
'css-variables',
|
||||
'css-grid',
|
||||
'lab-product-landing-page',
|
||||
'css-animations'
|
||||
'css-animations',
|
||||
'learn-prompting-fundamentals'
|
||||
];
|
||||
|
||||
const schema = Joi.object().keys(
|
||||
|
||||
@@ -65,7 +65,8 @@ const schema = Joi.object()
|
||||
'Euler',
|
||||
'Rosetta',
|
||||
'Chinese Curriculum',
|
||||
'Spanish Curriculum'
|
||||
'Spanish Curriculum',
|
||||
'General'
|
||||
).required()
|
||||
})
|
||||
// this makes sure there is no unknown key in the object
|
||||
|
||||
Reference in New Issue
Block a user