/**
 * Knowledge Base routes (core feature)
 */
export default [
  {
    path: 'knowledgebase',
    name: 'knowledgebase',
    component: () => import('../../views/knowledgebase/KnowledgeBaseList.vue')
  },
  {
    path: 'knowledgebase/new',
    name: 'knowledgebase-new',
    component: () => import('../../views/knowledgebase/KnowledgeBaseForm.vue'),
    meta: { requiresAuth: true }
  },
  {
    path: 'knowledgebase/:id',
    name: 'knowledgebase-detail',
    component: () => import('../../views/knowledgebase/KnowledgeBaseDetail.vue')
  },
  {
    path: 'knowledgebase/:id/edit',
    name: 'knowledgebase-edit',
    component: () => import('../../views/knowledgebase/KnowledgeBaseForm.vue'),
    meta: { requiresAuth: true }
  }
]
