UNPKG

loop-modules

Version:

Shared modules for the Loop product suite.

28 lines (27 loc) 939 B
import { Http } from '@angular/http'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; import { Observable } from 'rxjs/Observable'; import { Store } from '@ngrx/store'; import { APIDispatcher, APIRequestOptions } from '../utils/index'; export declare class LoopTrendingActivityService extends APIDispatcher { http: Http; store: Store<any>; constructor(http: Http, store: Store<any>); query(page?: number, size?: number, options?: APIRequestOptions): Observable<any>; queryForStore(page?: number, size?: number, options?: APIRequestOptions): any; /** * Queries the next page from the back-end service, based on the previous request * * * @memberOf LoopTrendingActivityService */ getNextPage(): void; /** * Resets the entries in the app-state slice for LoopActivity * * * @memberOf LoopTrendingActivityService */ resetEntries(): void; }