load shape data from ext

This commit is contained in:
Lachlan Kermode
2019-01-17 17:40:47 +00:00
parent 9e4b9b2a1f
commit 9d6d51e11d
3 changed files with 84 additions and 45 deletions

View File

@@ -0,0 +1,8 @@
import Joi from 'joi'
const shapeSchema = Joi.object().keys({
name: Joi.string().required(),
items: Joi.array().required()
})
export default shapeSchema