(hash: string)
| 18 | |
| 19 | // GET /api/workplan/:hash |
| 20 | export function fetchWorkPlanTodos(hash: string) { |
| 21 | return http.get<{ todos: TodoItem[] }>(`/workplan/${hash}`); |
| 22 | } |
| 23 | |
| 24 | // POST /api/workplan/add |
| 25 | export function addWorkPlanTodo(hash: string, content: string) { |
nothing calls this directly
no outgoing calls
no test coverage detected