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 { ExamWeightEntry } from "../client"; |
| 3 | |
| 4 | export type InstanceExamWeights = { inherited: boolean; weights: ExamWeightEntry[] }; |
| 5 | |
| 6 | export function getInstanceExamWeights(id: string, signal?: AbortSignal): Promise<InstanceExamWeights> { |
| 7 | return client<InstanceExamWeights>(`/instances/${id}/exam-weights`, { signal }); |
| 8 | } |