fix: align frontend Page interfaces with VIA_DTO serialization format (#2745) (#2751)

This commit is contained in:
ACX
2026-02-14 16:03:42 -07:00
committed by GitHub
parent 218befb3b5
commit 44002c2c3c
5 changed files with 21 additions and 37 deletions
@@ -202,7 +202,7 @@ export class BookdropFileReviewComponent implements OnInit {
return fresh;
}
});
this.totalRecords = response.totalElements;
this.totalRecords = response.page.totalElements;
this.currentPage = page;
this.loading = false;
this.syncCurrentPageSelection();
@@ -51,9 +51,12 @@ export interface BookdropFinalizeResult {
export interface Page<T> {
content: T[];
totalElements: number;
totalPages: number;
number: number;
page: {
totalElements: number;
totalPages: number;
number: number;
size: number;
};
}
export interface PatternExtractRequest {