(name: string)
| 82 | } |
| 83 | |
| 84 | export async function deleteProject(name: string): Promise<void> { |
| 85 | await fetchJSON(`/projects/${encodeURIComponent(name)}`, { |
| 86 | method: 'DELETE', |
| 87 | }) |
| 88 | } |
| 89 | |
| 90 | export async function getProjectPrompts(name: string): Promise<ProjectPrompts> { |
| 91 | return fetchJSON(`/projects/${encodeURIComponent(name)}/prompts`) |
nothing calls this directly
no test coverage detected