( projectId: string, cursor?: string, limit = 20, )
| 246 | } |
| 247 | |
| 248 | export function listProjectHookRuns( |
| 249 | projectId: string, |
| 250 | cursor?: string, |
| 251 | limit = 20, |
| 252 | ): Promise<ProjectHookRunsResponse> { |
| 253 | return apiFetch<ProjectHookRunsResponse>(`/projects/${projectId}/project_hook_runs`, { |
| 254 | search: { cursor, limit }, |
| 255 | }) |
| 256 | } |
| 257 | |
| 258 | export function markNotificationRead(notificationId: string): Promise<NotificationResponse> { |
| 259 | return apiFetch<NotificationResponse>(`/notifications/${notificationId}/read`, { |
no test coverage detected