forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

postBoardClose.ts8 lines, 334 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Board } from "./types";
3
4// Creator only: retire the board — permanently read-only, still fully
5// readable; idempotent, no reopen.
6export function postBoardClose(id: string): Promise<Board> {
7 return client<Board>(`/boards/${encodeURIComponent(id)}/close`, { method: "POST" });
8}