refactor(curriculum): move helpCategory to block meta.json file (#50265)

* refactor: move helpCategory to block meta

* fix: test?
This commit is contained in:
Tom
2023-05-04 01:46:58 -05:00
committed by GitHub
parent 45d2ffa676
commit d02bb663c4
135 changed files with 1647 additions and 1488 deletions

View File

@@ -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(''),