import { client } from "../client"; // Detaches every course this blueprint attached, across every class at the // grade, then drops the template. Hand-attached courses stay. export function deleteClassBlueprintByGrade(gradeLevel: number): Promise { return client(`/classes/blueprints/${gradeLevel}`, { method: "DELETE" }); }