import type { RouteComponent } from 'vue-router';

export const views: Record<
  PageRoute.LastDegreeRouteKey,
  RouteComponent | (() => Promise<{ default: RouteComponent }>)
> = {
  403: () => import('./_builtin/403/index.vue'),
  404: () => import('./_builtin/404/index.vue'),
  500: () => import('./_builtin/500/index.vue'),
  login: () => import('./_builtin/login/index.vue'),
  'not-found': () => import('./_builtin/not-found/index.vue'),
  about: () => import('./about/index.vue'),
  archives_attendance: () => import('./archives/attendance/index.vue'),
  archives_other: () => import('./archives/other/index.vue'),
  archives_scores: () => import('./archives/scores/index.vue'),
  archives_students_component: () => import('./archives/students/component/index.vue'),
  archives_students: () => import('./archives/students/index.vue'),

  dashboard_workbench: () => import('./dashboard/workbench/index.vue'),

  exception_403: () => import('./exception/403/index.vue'),
  exception_404: () => import('./exception/404/index.vue'),
  exception_500: () => import('./exception/500/index.vue'),

  lesson_calendar: () => import('./lesson/calendar/index.vue'),
  lesson_checkin: () => import('./lesson/checkin/index.vue'),
  lesson_classroom: () => import('./lesson/classroom/index.vue'),
  lesson_group: () => import('./lesson/group/index.vue'),
  lesson_schedule: () => import('./lesson/schedule/index.vue'),
  lesson_score: () => import('./lesson/score/index.vue'),
  lesson_student: () => import('./lesson/student/index.vue'),
  management_attendance: () => import('./management/attendance/index.vue'),
  management_auth: () => import('./management/auth/index.vue'),
  management_role: () => import('./management/role/index.vue'),
  management_route: () => import('./management/route/index.vue'),
  management_sort: () => import('./management/sort/index.vue'),
  management_student: () => import('./management/student/index.vue'),
  management_user: () => import('./management/user/index.vue')
};
