import { GENERATED_ROLE_NAMES } from './roles';

export const STAFF_ATTENDANCE_STATUSES = Object.freeze({
  PRESENT: 'present',
  LATE: 'late',
  ABSENT: 'absent',
});

export const STAFF_ATTENDANCE_REPORT_ROLE_NAMES = Object.freeze([
  GENERATED_ROLE_NAMES.SUPER_ADMIN,
  GENERATED_ROLE_NAMES.ADMIN,
  GENERATED_ROLE_NAMES.PLATFORM_OWNER,
  GENERATED_ROLE_NAMES.TENANT_DIRECTOR,
  GENERATED_ROLE_NAMES.CAMPUS_MANAGER,
]);

export const STAFF_ATTENDANCE_TENANT_WIDE_ROLE_NAMES = Object.freeze([
  GENERATED_ROLE_NAMES.SUPER_ADMIN,
  GENERATED_ROLE_NAMES.ADMIN,
  GENERATED_ROLE_NAMES.PLATFORM_OWNER,
]);

export const STAFF_ATTENDANCE_DEFAULT_LIMIT = 90;
export const STAFF_ATTENDANCE_MAX_LIMIT = 366;
