mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Using prettier for linting
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
import Joi from 'joi'
|
||||
import Joi from "joi";
|
||||
|
||||
const sourceSchema = Joi.object().keys({
|
||||
id: Joi.string().required(),
|
||||
title: Joi.string().allow(''),
|
||||
thumbnail: Joi.string().allow(''),
|
||||
title: Joi.string().allow(""),
|
||||
thumbnail: Joi.string().allow(""),
|
||||
paths: Joi.array().required(),
|
||||
type: Joi.string().allow(''),
|
||||
affil_s: Joi.array().allow(''),
|
||||
url: Joi.string().allow(''),
|
||||
description: Joi.string().allow(''),
|
||||
parent: Joi.string().allow(''),
|
||||
author: Joi.string().allow(''),
|
||||
date: Joi.string().allow(''),
|
||||
notes: Joi.string().allow('')
|
||||
})
|
||||
type: Joi.string().allow(""),
|
||||
affil_s: Joi.array().allow(""),
|
||||
url: Joi.string().allow(""),
|
||||
description: Joi.string().allow(""),
|
||||
parent: Joi.string().allow(""),
|
||||
author: Joi.string().allow(""),
|
||||
date: Joi.string().allow(""),
|
||||
notes: Joi.string().allow(""),
|
||||
});
|
||||
|
||||
export default sourceSchema
|
||||
export default sourceSchema;
|
||||
|
||||
Reference in New Issue
Block a user