Function
listProjects
(includeArchived = false)
Source from the content-addressed store, hash-verified
| 50 | |
| 51 | export const api = { |
| 52 | async listProjects(includeArchived = false) { |
| 53 | const query = includeArchived ? "?includeArchived=true" : ""; |
| 54 | return request<{ projects: SourceRecord[] }>(`/api/projects${query}`); |
| 55 | }, |
| 56 | |
| 57 | async createProject(input: { name: string; description?: string | null }) { |
| 58 | return request<{ project: SourceRecord }>("/api/projects", { |
Callers
nothing calls this directly
Tested by
no test coverage detected