Commit 8efc6ab3 authored by Jure's avatar Jure

chore: remove old validations

parent e5103c0e
Pipeline #13314 passed with stages
in 9 minutes and 49 seconds
const Joi = require('joi')
module.exports = {
fragment: {
// TODO remove these once pubsweet-component-posts-manager is upgraded
fragmentType: Joi.string(),
kind: Joi.string(),
title: Joi.string(),
published: Joi.bool(),
published_at: Joi.string(),
source: Joi.any(),
presentation: Joi.string(),
authors: Joi.array().items(Joi.string()),
},
collection: {
title: Joi.string(),
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment