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 { Instance, InstanceOverrideField } from "../client"; |
| 3 | |
| 4 | // Clears the named overrides back to inherit; a set field (subjects, |
| 5 | // exam_weights, weekly_plan) flips its flag back to inherited. |
| 6 | export function postInstanceReset(id: string, fields: InstanceOverrideField[]): Promise<Instance> { |
| 7 | return client<Instance>(`/instances/${id}/reset`, { method: "POST", body: { fields } }); |
| 8 | } |