#70 Pagination type definition

This commit is contained in:
Denys Vuika
2016-07-12 10:39:25 +01:00
parent 9cf7322acf
commit 35b6ec269e

View File

@@ -22,6 +22,7 @@ export class NodePaging {
}
export class NodePagingList {
pagination: Pagination;
entries: MinimalNodeEntity[];
}
@@ -29,6 +30,14 @@ export class MinimalNodeEntity {
entry: MinimalNodeEntryEntity;
}
export class Pagination {
count: number;
hasMoreItems: boolean;
totalItems: number;
skipCount: number;
maxItems: number;
}
export class MinimalNodeEntryEntity {
id: string;
parentId: string;