hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client, normalizePage, pageQuery, type Page, type PageParams } from "../client"; |
| 2 | import type { InsightRun } from "../client"; |
| 3 | |
| 4 | /** |
| 5 | * The run ledger, newest first. Manager+ only: `pending_students` names |
| 6 | * people, and ZEKA's output contract confines that to the management view. |
| 7 | */ |
| 8 | export async function getInsightRuns(params?: PageParams, signal?: AbortSignal): Promise<Page<InsightRun>> { |
| 9 | return normalizePage<InsightRun>(await client<unknown>(`/insights/runs${pageQuery(params)}`, { signal })); |
| 10 | } |