summaryrefslogtreecommitdiffstats
path: root/cds-ui/client-frankfurt/src/app/common/model/page.ts
blob: 7c3a0c4f3a208cc75ef1b2bc267fde6271a02c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export class Page<T> {
    content: T[];
    pageable: {
        sort: {
            unsorted: boolean,
            sorted: boolean,
            empty: boolean
        };

        offset: number,
        pageSize: number,
        pageNumber: number,
        paged: boolean,
        unpaged: boolean,
    };
    totalPages: number;
    totalElements: number;
    last: boolean;
    first: boolean;
    empty: boolean;
}