add optional thumbnail to source

This commit is contained in:
Lachlan Kermode
2019-01-02 15:42:28 +00:00
parent 83d125a3f7
commit 491f345ef0
2 changed files with 21 additions and 5 deletions

View File

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