feat: handle multi-file solutions
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
54630cbfca
commit
301212e194
@ -73,7 +73,12 @@ function getSchemaForLang(lang) {
|
||||
})
|
||||
),
|
||||
solutions: Joi.array().items(Joi.string().optional()),
|
||||
solutionFiles: Joi.array().items(fileJoi),
|
||||
solutionFiles: Joi.object().keys({
|
||||
indexcss: fileJoi,
|
||||
indexhtml: fileJoi,
|
||||
indexjs: fileJoi,
|
||||
indexjsx: fileJoi
|
||||
}),
|
||||
superBlock: Joi.string(),
|
||||
superOrder: Joi.number(),
|
||||
suborder: Joi.number(),
|
||||
|
Reference in New Issue
Block a user