/**
 * Notifications plugin routes
 */
export default [
  {
    path: 'notifications',
    name: 'notifications',
    component: () => import('../../views/notifications/NotificationsList.vue')
  },
  {
    path: 'notifications/new',
    name: 'notification-new',
    component: () => import('../../views/notifications/NotificationForm.vue'),
    meta: { requiresAuth: true }
  },
  {
    path: 'notifications/:id',
    name: 'notification-detail',
    component: () => import('../../views/notifications/NotificationForm.vue')
  },
  {
    path: 'notifications/:id/edit',
    name: 'notification-edit',
    component: () => import('../../views/notifications/NotificationForm.vue'),
    meta: { requiresAuth: true }
  },
  {
    path: 'calendar',
    name: 'calendar',
    component: () => import('../../views/CalendarView.vue')
  }
]
