Feature(challenges): challenges define their own requires
This commit is contained in:
@@ -106,6 +106,25 @@
|
||||
"translations": {
|
||||
"type": "object",
|
||||
"default": "{}"
|
||||
},
|
||||
"required": {
|
||||
"type": [{
|
||||
"type": {
|
||||
"link": {
|
||||
"type": "string",
|
||||
"description": "Used for css files"
|
||||
},
|
||||
"src": {
|
||||
"type": "string",
|
||||
"description": "Used for script files"
|
||||
},
|
||||
"crossDomain": {
|
||||
"type": "boolean",
|
||||
"description": "Files coming from FreeCodeCamp must mark this true"
|
||||
}
|
||||
}
|
||||
}],
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"validations": [],
|
||||
|
Reference in New Issue
Block a user