Working on posts

This commit is contained in:
2021-08-23 17:59:12 +02:00
parent 8c5032fa72
commit 40249dc55e
4 changed files with 24 additions and 2 deletions

View File

@@ -10,7 +10,8 @@ export default class PostStoreValidator {
title: schema.string(),
description: schema.string(),
cover: schema.string(),
readingTime: schema.number()
readingTime: schema.number(),
date: schema.string(),
})
public messages = {
required: 'The field {{field}} is required'