import type { StudentAlertKind } from '@generated/prisma/client'; import type { StudentAlertType } from '@gruperly/shared'; /** The API speaks Spanish (`asistencia` / `pago`), the table speaks enums. */ export const ALERT_KIND_TO_TYPE: Record = { ATTENDANCE: 'asistencia', PAYMENT: 'pago', }; export const ALERT_TYPE_TO_KIND: Record = { asistencia: 'ATTENDANCE', pago: 'PAYMENT', };