chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -6,9 +6,9 @@ const isoDateTimeSchema = z.string().datetime();
|
||||
export const attendanceStatusSchema = z.enum(['PRESENT', 'ABSENT', 'EXCUSED']);
|
||||
export type AttendanceStatus = z.output<typeof attendanceStatusSchema>;
|
||||
|
||||
/* Los tres niveles del semáforo de asistencia, en el orden de la regla (de
|
||||
mejor a peor). El dominio los usa como tipo y este schema los valida cuando
|
||||
viajan por la API, así que hay una sola definición. */
|
||||
/* The three levels of the attendance status light, in rule order (best to
|
||||
worst). The domain uses them as a type and this schema validates them when
|
||||
they travel over the API, so there is a single definition. */
|
||||
export const attendanceRiskLevelSchema = z.enum(['ok', 'atencion', 'riesgo_alto']);
|
||||
export type AttendanceRiskLevelDto = z.output<typeof attendanceRiskLevelSchema>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user