forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

getInsightRunReport.ts12 lines, 542 bytesHistoryRawDownload
1import { blobClient } from "../client";
2import { 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 */
10export function getInsightRunReport(runDay: string, signal?: AbortSignal): Promise<Blob> {
11 return blobClient(insightRunReportPath(runDay), signal);
12}