page.js 372 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
import { make } from 'vuex-pathify'

const state = {
  id: 0,
  authorId: 0,
  authorName: 'Unknown',
  createdAt: '',
  description: '',
  isPublished: true,
  locale: 'en',
  path: '',
12 13
  publishEndDate: '',
  publishStartDate: '',
14 15
  tags: [],
  title: '',
16 17
  updatedAt: '',
  mode: ''
18 19 20 21 22 23 24
}

export default {
  namespaced: true,
  state,
  mutations: make.mutations(state)
}