hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { blobClient } from "../client"; |
| 2 | import { insightRunReportPath } from "./insightRunReportUrl"; |
| 3 | |
| 4 | /** |
| 5 | * The stored document's bytes. Read back after a generation that answered |
| 6 | * `200`: a day whose report was never written — or was lost since — answers |
| 7 | * `409 report_missing`, which must not be handed over as a download. |
| 8 | * Manager+ only, like the generation that wrote it. |
| 9 | */ |
| 10 | export function getInsightRunReport(runDay: string, signal?: AbortSignal): Promise<Blob> { |
| 11 | return blobClient(insightRunReportPath(runDay), signal); |
| 12 | } |