mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): require block layouts (#56809)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Working with Links",
|
||||
"blockType": "lecture",
|
||||
"blockLayout": "challenge-list",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "lecture-working-with-links",
|
||||
"order": 8,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Working with Media",
|
||||
"blockType": "lecture",
|
||||
"blockLayout": "challenge-list",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "lecture-working-with-media",
|
||||
"order": 6,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Build a Flappy Penguin",
|
||||
"blockType": "workshop",
|
||||
"blockLayout": "challenge-grid",
|
||||
"isUpcomingChange": true,
|
||||
"usesMultifileEditor": true,
|
||||
"hasEditableBoundaries": true,
|
||||
|
||||
@@ -141,7 +141,7 @@ const schema = Joi.object()
|
||||
'project-list',
|
||||
'legacy-challenge-list',
|
||||
'legacy-link'
|
||||
)
|
||||
).required()
|
||||
}),
|
||||
challengeOrder: Joi.number(),
|
||||
certification: Joi.string().regex(slugWithSlashRE),
|
||||
|
||||
@@ -138,7 +138,7 @@ const schema = Joi.object()
|
||||
'project-list',
|
||||
'legacy-challenge-list',
|
||||
'legacy-link'
|
||||
)
|
||||
).required()
|
||||
}),
|
||||
challengeOrder: Joi.number(),
|
||||
certification: Joi.string().regex(slugWithSlashRE),
|
||||
|
||||
Reference in New Issue
Block a user