describe contents of source in overlay

This commit is contained in:
Lachlan Kermode
2019-01-03 12:30:20 +00:00
parent c98d4cc73d
commit 43a861ca6f
4 changed files with 71 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ import Joi from 'joi';
const sourceSchema = Joi.object().keys({
id: Joi.string().required(),
title: Joi.string().allow(''),
thumbnail: Joi.string().allow(''),
paths: Joi.array().required(),
type: Joi.string().allow(''),