( name: string, settings: ProjectSettingsUpdate )
| 102 | } |
| 103 | |
| 104 | export async function updateProjectSettings( |
| 105 | name: string, |
| 106 | settings: ProjectSettingsUpdate |
| 107 | ): Promise<ProjectDetail> { |
| 108 | return fetchJSON(`/projects/${encodeURIComponent(name)}/settings`, { |
| 109 | method: 'PATCH', |
| 110 | body: JSON.stringify(settings), |
| 111 | }) |
| 112 | } |
| 113 | |
| 114 | export interface ResetProjectResponse { |
| 115 | success: boolean |
nothing calls this directly
no test coverage detected