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 { StrokeRow } from "./types"; |
| 3 | |
| 4 | // Creator only: bump the epoch, blanking the live canvas (nothing deleted). |
| 5 | // 409 on a closed board. Returns the clear marker. |
| 6 | export function postBoardClear(id: string): Promise<StrokeRow> { |
| 7 | return client<StrokeRow>(`/boards/${encodeURIComponent(id)}/clear`, { method: "POST" }); |
| 8 | } |