(projectId: string)
| 96 | }, |
| 97 | |
| 98 | async getProjectGraph(projectId: string) { |
| 99 | return request<{ graph: ProjectGraphRecord }>(`/api/projects/${projectId}/graph`); |
| 100 | }, |
| 101 | |
| 102 | async getDocument(documentId: string) { |
| 103 | return request<{ document: DocumentRecord }>(`/api/documents/${documentId}`); |