/**
 * Employees plugin frontend routes (ADR-013 Phase 4). Extracted from core.js -
 * employee detail + the directory settings page belong to the employees plugin.
 */
export default [
  {
    path: 'employees/:sso',
    name: 'employee-detail',
    component: () => import('./views/EmployeeDetail.vue'),
    meta: { plugin: 'employees' }
  },
  {
    path: 'settings/employeedirectory',
    name: 'employee-directory',
    component: () => import('./views/EmployeeDirectory.vue'),
    meta: { requiresAuth: true, requiresAdmin: true, plugin: 'employees' }
  }
]

// No full-screen routes: every view in this plugin renders inside
// AppLayout. Declared so routes.gen.js can read `.toplevel` off the module
// without Rollup warning about a missing export.
export const toplevel = []
