/**
 * Applications routes (core feature)
 */
export default [
  {
    path: 'applications',
    name: 'applications',
    component: () => import('../../views/applications/ApplicationsList.vue')
  },
  {
    path: 'applications/new',
    name: 'application-new',
    component: () => import('../../views/applications/ApplicationForm.vue'),
    meta: { requiresAuth: true }
  },
  {
    path: 'applications/:id',
    name: 'application-detail',
    component: () => import('../../views/applications/ApplicationDetail.vue')
  },
  {
    path: 'applications/:id/edit',
    name: 'application-edit',
    component: () => import('../../views/applications/ApplicationForm.vue'),
    meta: { requiresAuth: true }
  }
]
