Add selector and reducer for narrative

This commit is contained in:
Franc Camps-Febrer
2018-11-12 15:18:11 -05:00
parent 6727d88e4e
commit bd0e6b673e
3 changed files with 46 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ const eventSchema = Joi.object().keys({
longitude: Joi.string().required(),
type: Joi.string().allow(''),
category: Joi.string().required(),
narrative: Joi.string().allow(''),
source: Joi.string().allow(''),
tags: Joi.string().allow(''),
comments: Joi.string().allow(''),