Add PostColor and content

This commit is contained in:
2021-08-28 22:36:38 +02:00
parent 48552f0ccf
commit 8f81926447
12 changed files with 156 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ export default class PostUpdateValidator {
cover: schema.string.optional(),
readingTime: schema.number.optional(),
date: schema.string.optional(),
color: schema.string.optional(),
content: schema.string.optional()
})
public messages = {
required: 'The field {{field}} is required'