fix(curriculum): require block layouts (#56809)

This commit is contained in:
Tom
2024-10-24 08:45:10 -05:00
committed by GitHub
parent b39508057b
commit 5a7855039b
5 changed files with 5 additions and 2 deletions
@@ -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),
+1 -1
View File
@@ -138,7 +138,7 @@ const schema = Joi.object()
'project-list',
'legacy-challenge-list',
'legacy-link'
)
).required()
}),
challengeOrder: Joi.number(),
certification: Joi.string().regex(slugWithSlashRE),