Spaces:
Runtime error
Runtime error
Greg
Claude Opus 4.7 (1M context)
Quick wins de asistencia: auditoría, tardanzas, dashboard, portal representante y matrícula
8381024 Download frontend/src/services/representativeService.ts from Talosware/talos-access: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/spaces/Talosware/talos-access/resolve/main/frontend/src/services/representativeService.ts
- Command line
-
hf download hf://spaces/Talosware/talos-access/frontend/src/services/representativeService.ts
-
curl -L -o representativeService.ts https://huggingface.co/spaces/Talosware/talos-access/resolve/main/frontend/src/services/representativeService.ts
756 Bytes
| import api from './api'; | |
| export interface ChildAttendance { | |
| id: number; | |
| name: string; | |
| lastname: string; | |
| card_id: string | null; | |
| section_name: string | null; | |
| section_id: number | null; | |
| entered_campus_today: boolean; | |
| campus_checkin_time: string | null; | |
| campus_checkout_time: string | null; | |
| is_present_today: boolean; | |
| checkin_time: string | null; | |
| skipped_class: boolean; | |
| attendance_last_30_days: number; | |
| today_schedule: { | |
| day: number; | |
| blocks: { | |
| entry_time: string; | |
| exit_time: string; | |
| subject_id: number | null; | |
| status: string; | |
| }[]; | |
| } | null; | |
| } | |
| export async function getMyChildren(): Promise<ChildAttendance[]> { | |
| const { data } = await api.get('/representative/children'); | |
| return data; | |
| } | |