mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-15 19:00:36 -05:00
refactor(curriculum): move helpCategory to block meta.json file (#50265)
* refactor: move helpCategory to block meta * fix: test?
This commit is contained in:
@@ -9,6 +9,12 @@ const blockSchema = Joi.object({}).keys({
|
||||
hasEditableBoundaries: Joi.bool().optional(),
|
||||
isBeta: Joi.bool().optional(),
|
||||
dashedName: Joi.string(),
|
||||
helpCategory: Joi.valid(
|
||||
'JavaScript',
|
||||
'HTML-CSS',
|
||||
'Python',
|
||||
'Backend Development'
|
||||
),
|
||||
order: Joi.number(),
|
||||
time: Joi.string().allow(''),
|
||||
template: Joi.string().allow(''),
|
||||
|
||||
Reference in New Issue
Block a user