import { 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([
  ROLE_NAMES.SUPER_ADMIN,
  ROLE_NAMES.SYSTEM_ADMIN,
  ROLE_NAMES.OWNER,
  ROLE_NAMES.SUPERINTENDENT,
  ROLE_NAMES.DIRECTOR,
]);

export const STAFF_ATTENDANCE_TENANT_WIDE_ROLE_NAMES = Object.freeze([
  ROLE_NAMES.SUPER_ADMIN,
  ROLE_NAMES.SYSTEM_ADMIN,
  ROLE_NAMES.OWNER,
]);

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