forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

postBoard.ts7 lines, 307 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Board, CreateBoardBody } from "./types";
3
4// Open a whiteboard; the caller becomes its creator. 409 at max_boards_per_creator.
5export function postBoard(body: CreateBoardBody): Promise<Board> {
6 return client<Board>("/boards", { method: "POST", body });
7}