From de59c48f5f317018e3f746bbe4a7b7efe00109f2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Aug 2016 16:54:21 +0200 Subject: Client: centralize http res extraction in a service --- client/src/app/shared/rest/rest-pagination.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 client/src/app/shared/rest/rest-pagination.ts (limited to 'client/src/app/shared/rest/rest-pagination.ts') diff --git a/client/src/app/shared/rest/rest-pagination.ts b/client/src/app/shared/rest/rest-pagination.ts new file mode 100644 index 000000000..0cfa4f468 --- /dev/null +++ b/client/src/app/shared/rest/rest-pagination.ts @@ -0,0 +1,5 @@ +export interface RestPagination { + currentPage: number; + itemsPerPage: number; + totalItems: number; +}; -- cgit v1.2.3