forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

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