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 "@/api/client"; |
| 2 | import type { StudentAnswerSheet } from "@/api/client"; |
| 3 | |
| 4 | /** Self-review of one of the caller's own past sittings (same shape as the current attempt). */ |
| 5 | export async function getExamReviewAttemptAnswers( |
| 6 | examId: string, |
| 7 | seq: number, |
| 8 | signal?: AbortSignal, |
| 9 | ): Promise<StudentAnswerSheet> { |
| 10 | return client<StudentAnswerSheet>( |
| 11 | `/exams/${encodeURIComponent(examId)}/review/attempts/${seq}/answers`, |
| 12 | { signal }, |
| 13 | ); |
| 14 | } |