import { client } from "../client"; import type { School, SchoolStatus } from "../client"; export type UpdateSchoolBody = { name?: string; status?: SchoolStatus; }; export function patchSchoolBySlug(slug: string, body: UpdateSchoolBody): Promise { return client(`/schools/${encodeURIComponent(slug)}`, { method: "PATCH", body }); }