feat: implement tailwind validations and basic example
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
"type": "string",
|
||||
"description": "Detailed description of the module content and purpose"
|
||||
},
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["css", "tailwind"],
|
||||
"description": "Whether this module teaches CSS or Tailwind"
|
||||
},
|
||||
"difficulty": {
|
||||
"type": "string",
|
||||
"enum": ["beginner", "intermediate", "advanced"],
|
||||
@@ -53,6 +58,15 @@
|
||||
"type": "string",
|
||||
"description": "Detailed description of the lesson content and concepts"
|
||||
},
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["css", "tailwind"],
|
||||
"description": "Override module mode for individual lessons"
|
||||
},
|
||||
"tailwindConfig": {
|
||||
"type": "object",
|
||||
"description": "Custom Tailwind configuration if needed"
|
||||
},
|
||||
"task": {
|
||||
"type": "string",
|
||||
"description": "The specific task instructions for the student to complete"
|
||||
@@ -91,7 +105,7 @@
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["contains", "not_contains", "regex", "property_value", "syntax", "custom"],
|
||||
"enum": ["contains", "contains_class", "not_contains", "regex", "property_value", "syntax", "custom"],
|
||||
"description": "Type of validation to perform"
|
||||
},
|
||||
"value": {
|
||||
|
||||
Reference in New Issue
Block a user