hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { ExamResult } from "../client"; |
| 3 | |
| 4 | /** Full mark history for a student, oldest-first — index 0 = seq 1 (marks carry no seq). Grader-only. */ |
| 5 | export async function getStudentMarksHistory( |
| 6 | examId: string, |
| 7 | userId: string, |
| 8 | signal?: AbortSignal, |
| 9 | ): Promise<ExamResult[]> { |
| 10 | return client<ExamResult[]>(`/exams/${encodeURIComponent(examId)}/students/${encodeURIComponent(userId)}/marks`, { signal }); |
| 11 | } |