mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 18:10:27 +01:00
Add PostColor and content
This commit is contained in:
@@ -12,6 +12,8 @@ export default class PostStoreValidator {
|
||||
cover: schema.string(),
|
||||
readingTime: schema.number(),
|
||||
date: schema.string(),
|
||||
color: schema.string(),
|
||||
content: schema.string()
|
||||
})
|
||||
public messages = {
|
||||
required: 'The field {{field}} is required'
|
||||
|
||||
Reference in New Issue
Block a user