loop-modules
Version:
Shared modules for the Loop product suite.
36 lines (35 loc) • 1.15 kB
TypeScript
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Observable';
import { APIDispatcher, APIRequestOptions } from '../utils/index';
export declare class LoopTopicService extends APIDispatcher {
http: Http;
store: Store<any>;
constructor(http: Http, store: Store<any>);
query(page?: number, size?: number, options?: APIRequestOptions): Observable<any>;
fetch(identities: string[]): Observable<any>;
fetchForStore(identities: string[]): any;
notes(identities: string[]): any;
responses(identities: string[]): any;
updateNote(identity: string, note: string): any;
/**
* Fetches the next available page for topics, if any
*/
getNextPage(): void;
/**
* Resets the entries in the app-state slice for Loop Topics
*
*
* @memberOf LoopTopicService
*/
resetEntries(): void;
/**
* Resets the selected entries in the app-state slice for Loop Topics
*
*
* @memberOf LoopTopicService
*/
resetSelectedEntries(): void;
}