hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client } from "../client"; |
| 2 | import type { Board } from "./types"; |
| 3 | |
| 4 | // Creator only: retire the board — permanently read-only, still fully |
| 5 | // readable; idempotent, no reopen. |
| 6 | export function postBoardClose(id: string): Promise<Board> { |
| 7 | return client<Board>(`/boards/${encodeURIComponent(id)}/close`, { method: "POST" }); |
| 8 | } |