import { client } from "../client"; import type { Subject } from "../client"; export type PatchSubjectBody = { name?: string; description?: string; }; export function patchSubjectById(subjectId: string, body: PatchSubjectBody): Promise { return client(`/subjects/${subjectId}`, { method: "PATCH", body }); }