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.

30 lines
475 B

  1. import { make } from 'vuex-pathify'
  2. const state = {
  3. id: 0,
  4. authorId: 0,
  5. authorName: 'Unknown',
  6. createdAt: '',
  7. description: '',
  8. isPublished: true,
  9. locale: 'en',
  10. path: '',
  11. publishEndDate: '',
  12. publishStartDate: '',
  13. tags: [],
  14. title: '',
  15. updatedAt: '',
  16. mode: '',
  17. commentsPermissions: {
  18. read: false,
  19. write: false,
  20. manage: false
  21. },
  22. commentsCount: 0
  23. }
  24. export default {
  25. namespaced: true,
  26. state,
  27. mutations: make.mutations(state)
  28. }