forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

getExamReviewAttempts.ts6 lines, 357 bytesHistoryRawDownload
1import { client } from "@/api/client";
2
3/** Sitting seqs the caller has for this exam, ascending (e.g. [1, 2]). Self-review; needs allow_review + marked. */
4export async function getExamReviewAttempts(examId: string, signal?: AbortSignal): Promise<number[]> {
5 return client<number[]>(`/exams/${encodeURIComponent(examId)}/review/attempts`, { signal });
6}