hezarfen_frontend
Clone
https://git.tahinli.com/Hezarfen/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client } from "../client"; |
| 2 | |
| 3 | // Detaches every course this blueprint attached, across every class at the |
| 4 | // grade, then drops the template. Hand-attached courses stay. |
| 5 | export function deleteClassBlueprintByGrade(grade: string): Promise<void> { |
| 6 | return client<void>(`/classes/blueprints/${encodeURIComponent(grade)}`, { method: "DELETE" }); |
| 7 | } |