mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
load shape data from ext
This commit is contained in:
8
src/reducers/schema/shapeSchema.js
Normal file
8
src/reducers/schema/shapeSchema.js
Normal 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
|
||||
Reference in New Issue
Block a user