31 lines
475 B
JavaScript
Raw Normal View History

2018-10-28 22:09:58 -04:00
import { make } from 'vuex-pathify'
const state = {
id: 0,
authorId: 0,
authorName: 'Unknown',
createdAt: '',
description: '',
isPublished: true,
locale: 'en',
path: '',
publishEndDate: '',
publishStartDate: '',
2018-10-28 22:09:58 -04:00
tags: [],
title: '',
updatedAt: '',
2020-05-17 18:38:23 -04:00
mode: '',
commentsPermissions: {
read: false,
write: false,
2020-05-17 18:38:23 -04:00
manage: false
2020-05-18 00:45:51 -04:00
},
commentsCount: 0
2018-10-28 22:09:58 -04:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}