Function
updateProject
(projectId: string, input: { name?: string; description?: string | null })
Source from the content-addressed store, hash-verified
| 62 | }, |
| 63 | |
| 64 | async updateProject(projectId: string, input: { name?: string; description?: string | null }) { |
| 65 | return request<{ project: SourceRecord }>(`/api/projects/${projectId}`, { |
| 66 | method: "PATCH", |
| 67 | body: JSON.stringify(input) |
| 68 | }); |
| 69 | }, |
| 70 | |
| 71 | async archiveProject(projectId: string) { |
| 72 | return request<{ project: SourceRecord }>(`/api/projects/${projectId}/archive`, { |
Callers
nothing calls this directly
Tested by
no test coverage detected