2018-10-29 02:09:58 +00:00
|
|
|
import { make } from 'vuex-pathify'
|
|
|
|
|
|
|
|
const state = {
|
|
|
|
id: 0,
|
|
|
|
authorId: 0,
|
|
|
|
authorName: 'Unknown',
|
|
|
|
createdAt: '',
|
|
|
|
description: '',
|
|
|
|
isPublished: true,
|
|
|
|
locale: 'en',
|
|
|
|
path: '',
|
2018-11-18 04:03:58 +00:00
|
|
|
publishEndDate: '',
|
|
|
|
publishStartDate: '',
|
2018-10-29 02:09:58 +00:00
|
|
|
tags: [],
|
|
|
|
title: '',
|
|
|
|
updatedAt: ''
|
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
mutations: make.mutations(state)
|
|
|
|
}
|