mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
parse page info from rest api and add it to remotedata objects
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Observable } from "rxjs";
|
||||
import { PageInfo } from "../shared/page-info.model";
|
||||
|
||||
export enum RemoteDataState {
|
||||
RequestPending,
|
||||
@@ -18,6 +19,7 @@ export class RemoteData<T> {
|
||||
private isSuccessFul: Observable<boolean>,
|
||||
public errorMessage: Observable<string>,
|
||||
public statusCode: Observable<string>,
|
||||
public pageInfo: Observable<PageInfo>,
|
||||
public payload: Observable<T>
|
||||
) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user