page the analysis run listings
Detection and segmentation run listings returned every run a project had ever produced. Runs accumulate with every analysis while the panel only ever draws the recent ones, so the response grew without bound for no benefit. Both take limit and offset now and report total, limit, offset and truncated, matching the result listings. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1397,8 +1397,12 @@ export interface DetectionRunRead {
|
||||
}
|
||||
|
||||
export interface DetectionRunListResponse {
|
||||
/** The most recent page; `total` counts every run. */
|
||||
items: DetectionRunRead[]
|
||||
total: number
|
||||
limit?: number | null
|
||||
offset?: number
|
||||
truncated?: boolean
|
||||
}
|
||||
|
||||
export interface DetectionRead {
|
||||
@@ -1582,8 +1586,12 @@ export interface SegmentationRunRead {
|
||||
}
|
||||
|
||||
export interface SegmentationRunListResponse {
|
||||
/** The most recent page; `total` counts every run. */
|
||||
items: SegmentationRunRead[]
|
||||
total: number
|
||||
limit?: number | null
|
||||
offset?: number
|
||||
truncated?: boolean
|
||||
}
|
||||
|
||||
export interface SegmentationRead {
|
||||
|
||||
Reference in New Issue
Block a user