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:
Jose Selesan
2026-10-01 16:06:54 -03:00
parent 01b35691df
commit 69275c37b4
100 changed files with 1121 additions and 1086 deletions

View File

@@ -21,10 +21,10 @@ export type GroupRecord = {
inviteToken?: string | null;
};
/* El listado suma los contadores de ocupación a cada grupo para que la card los
muestre sin pedir un endpoint por grupo. Los trae el `_count` de la misma
consulta: los miembros van todos (igual que cuenta el detalle) y la lista de
espera solo los que siguen esperando cupo (PENDING). */
/* The listing adds the occupancy counters to each group so the card can show
them without asking for one endpoint per group. They come from the `_count` of
the same query: all the members (same as the detail page counts) and only the
waitlist entries still waiting for a spot (PENDING). */
export type GroupListRecord = GroupRecord & {
_count?: { attendees: number; waitlist: number };
};