summaryrefslogtreecommitdiffstats
path: root/cds-ui/client-frankfurt/src/app/common/model/page.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client-frankfurt/src/app/common/model/page.ts')
-rw-r--r--cds-ui/client-frankfurt/src/app/common/model/page.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/cds-ui/client-frankfurt/src/app/common/model/page.ts b/cds-ui/client-frankfurt/src/app/common/model/page.ts
new file mode 100644
index 000000000..7c3a0c4f3
--- /dev/null
+++ b/cds-ui/client-frankfurt/src/app/common/model/page.ts
@@ -0,0 +1,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;
+}