mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
revert(inspect-ui): drop htmlUrl + html_available type
API surface no longer needs the HTML route; Step.html_available has no producer.
This commit is contained in:
1 parent
1a333f2eaa
commit
77ee3ef641
2 files changed
-5
No files matched your search
@@ -23,7 +23,3 @@ export function getStep(runId: string, index: number): Promise<Step> {
|
|||||||
export function screenshotUrl(runId: string, name: string): string {
|
export function screenshotUrl(runId: string, name: string): string {
|
||||||
return `/api/runs/${encodeURIComponent(runId)}/screenshots/${encodeURIComponent(name)}`;
|
return `/api/runs/${encodeURIComponent(runId)}/screenshots/${encodeURIComponent(name)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function htmlUrl(runId: string, name: string): string {
|
|
||||||
return `/api/runs/${encodeURIComponent(runId)}/html/${encodeURIComponent(name)}`;
|
|
||||||
}
|
|
||||||
@@ -126,5 +126,4 @@ export interface Step {
|
|||||||
hierarchy?: Hierarchy;
|
hierarchy?: Hierarchy;
|
||||||
residuals?: Record<string, ResidualNode>;
|
residuals?: Record<string, ResidualNode>;
|
||||||
metrics?: Metrics;
|
metrics?: Metrics;
|
||||||
html_available?: boolean;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user