hezarfen_frontend
Clone
https://git.tahinli.com/Hezarfen/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client } from "../client"; |
| 2 | import type { Board, CreateBoardBody } from "./types"; |
| 3 | |
| 4 | // Open a whiteboard; the caller becomes its creator. 409 at max_boards_per_creator. |
| 5 | export function postBoard(body: CreateBoardBody): Promise<Board> { |
| 6 | return client<Board>("/boards", { method: "POST", body }); |
| 7 | } |