import { client } from "../client"; import type { User } from "../client"; export type LoginBody = { username: string; password: string; }; export function postLogin(body: LoginBody): Promise { return client("/auth/login", { method: "POST", body }); }