import { client } from "../client"; import type { WorkEntry } from "../client"; /** Omitted fields keep their value; null never clears here. */ export type PatchWorkEntryBody = { check_in?: number; check_out?: number; }; export function patchWorkEntryById(id: string, body: PatchWorkEntryBody): Promise { return client(`/work/entries/${id}`, { method: "PATCH", body }); }