Add covers for cards

This commit is contained in:
Maksim Eltyshev
2020-04-23 03:02:53 +05:00
parent f743f4ea8b
commit 3dffed90c6
26 changed files with 315 additions and 98 deletions

View File

@@ -20,6 +20,11 @@ module.exports = {
type: 'string',
regex: /^[0-9]+$/,
},
coverAttachmentId: {
type: 'string',
regex: /^[0-9]+$/,
allowNull: true,
},
position: {
type: 'number',
},
@@ -91,6 +96,7 @@ module.exports = {
}
const values = _.pick(inputs, [
'coverAttachmentId',
'position',
'name',
'description',