feat: update help categories (#52621)
parent
08b01d1499
commit
5a5a05428b
|
@ -30,6 +30,9 @@
|
|||
"Python": "Python",
|
||||
"Backend Development": "Backend Development",
|
||||
"C-Sharp": "C-Sharp",
|
||||
"English": "English"
|
||||
"English": "English",
|
||||
"Odin": "The Odin Project",
|
||||
"Euler": "Project Euler",
|
||||
"Rosetta": "Rosetta Code"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "project euler problems 1 to 100",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "project-euler-problems-1-to-100",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Euler",
|
||||
"order": 0,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "project euler problems 101 to 200",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "project-euler-problems-101-to-200",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Euler",
|
||||
"order": 1,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "project euler problems 201 to 300",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "project-euler-problems-201-to-300",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Euler",
|
||||
"order": 2,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "project euler problems 301 to 400",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "project-euler-problems-301-to-400",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Euler",
|
||||
"order": 3,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "project euler problems 401 to 480",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "project-euler-problems-401-to-480",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Euler",
|
||||
"order": 4,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "Rosetta Code",
|
||||
"isUpcomingChange": false,
|
||||
"dashedName": "rosetta-code",
|
||||
"helpCategory": "JavaScript",
|
||||
"helpCategory": "Rosetta",
|
||||
"order": 3,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP build a recipe project",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-build-a-recipe-project",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 3,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Introudction to Flexbox",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-introduction-to-flexbox",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 9,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn Block and Inline",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-learn-block-and-inline",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 8,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn CSS Foundations Projects",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-learn-css-foundations-projects",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 5,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn CSS Foundations",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-learn-css-foundations",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 4,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn CSS Specificity",
|
||||
"dashedName": "top-learn-css-specificity",
|
||||
"isUpcomingChange": true,
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 6,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn HTML Foundations",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-learn-html-foundations",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 0,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Links and Images",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-links-and-images",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 2,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Learn Box Model",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-the-box-model",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 7,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "TOP Working with Text",
|
||||
"isUpcomingChange": true,
|
||||
"dashedName": "top-working-with-text",
|
||||
"helpCategory": "HTML-CSS",
|
||||
"helpCategory": "Odin",
|
||||
"order": 1,
|
||||
"time": "",
|
||||
"template": "",
|
||||
|
|
|
@ -115,7 +115,10 @@ const schema = Joi.object()
|
|||
'Python',
|
||||
'Backend Development',
|
||||
'C-Sharp',
|
||||
'English'
|
||||
'English',
|
||||
'Odin',
|
||||
'Euler',
|
||||
'Rosetta'
|
||||
),
|
||||
videoUrl: Joi.string().allow(''),
|
||||
fillInTheBlank: Joi.object().keys({
|
||||
|
|
|
@ -112,7 +112,10 @@ const schema = Joi.object()
|
|||
'Python',
|
||||
'Backend Development',
|
||||
'C-Sharp',
|
||||
'English'
|
||||
'English',
|
||||
'Odin',
|
||||
'Euler',
|
||||
'Rosetta'
|
||||
),
|
||||
videoUrl: Joi.string().allow(''),
|
||||
fillInTheBlank: Joi.object().keys({
|
||||
|
|
|
@ -15,7 +15,10 @@ const helpCategories = [
|
|||
'JavaScript',
|
||||
'Backend Development',
|
||||
'Python',
|
||||
'English'
|
||||
'English',
|
||||
'Odin',
|
||||
'Euler',
|
||||
'Rosetta'
|
||||
] as const;
|
||||
|
||||
type BlockInfo = {
|
||||
|
|
|
@ -15,7 +15,10 @@ const blockSchema = Joi.object({}).keys({
|
|||
'Python',
|
||||
'Backend Development',
|
||||
'C-Sharp',
|
||||
'English'
|
||||
'English',
|
||||
'Odin',
|
||||
'Euler',
|
||||
'Rosetta'
|
||||
),
|
||||
order: Joi.number(),
|
||||
time: Joi.string().allow(''),
|
||||
|
|
Loading…
Reference in New Issue