import { client } from "../client"; import type { Note } from "../client"; export type PostNoteBody = { title: string; content?: string | null; }; export function postNote(body: PostNoteBody): Promise { return client("/notes", { method: "POST", body }); }