/**
 * Equipment plugin routes
 */
export default [
  {
    path: 'machines',
    name: 'machines',
    component: () => import('../../views/machines/MachinesList.vue')
  },
  {
    path: 'machines/new',
    name: 'machine-new',
    component: () => import('../../views/machines/MachineForm.vue'),
    meta: { requiresAuth: true }
  },
  {
    path: 'machines/:id',
    name: 'machine-detail',
    component: () => import('../../views/machines/MachineDetail.vue')
  },
  {
    path: 'machines/:id/edit',
    name: 'machine-edit',
    component: () => import('../../views/machines/MachineForm.vue'),
    meta: { requiresAuth: true }
  }
]
