fix: #1367, allows custom global components within schema validation

This commit is contained in:
James
2022-11-12 13:08:10 -05:00
parent 3f28a69959
commit 1d76e973bb

View File

@@ -12,6 +12,11 @@ const globalSchema = joi.object().keys({
joi.string(),
componentSchema,
),
components: joi.object({
views: joi.object({
Edit: componentSchema,
}),
}),
}),
hooks: joi.object({
beforeValidate: joi.array().items(joi.func()),