You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/client/store/page.js

30 lines
443 B

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: '',
comments: {
view: false,
post: false,
manage: false
}
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}