wikijs-fork/client/store/page.js
2018-11-19 01:08:55 -05:00

25 lines
372 B
JavaScript

import { make } from 'vuex-pathify'
const state = {
id: 0,
authorId: 0,
authorName: 'Unknown',
createdAt: '',
description: '',
isPublished: true,
locale: 'en',
path: '',
publishEndDate: '',
publishStartDate: '',
tags: [],
title: '',
updatedAt: '',
mode: ''
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}