wikijs-fork/client/store/page.js

25 lines
372 B
JavaScript
Raw Normal View History

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: '',
publishEndDate: '',
publishStartDate: '',
2018-10-29 02:09:58 +00:00
tags: [],
title: '',
updatedAt: '',
mode: ''
2018-10-29 02:09:58 +00:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}