loop-modules
Version:
Shared modules for the Loop product suite.
27 lines (26 loc) • 993 B
TypeScript
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import { Store } from '@ngrx/store';
import { APIDispatcher, APIRequestOptions } from '../utils/index';
import { LoopSessionPayload } from '../interfaces/loop-session-payload.interface';
import { LoopSessionUpdatePayload } from '../interfaces/loop-session-update-payload.interface';
export declare class LoopSessionService extends APIDispatcher {
http: Http;
store: Store<any>;
constructor(http: Http, store: Store<any>);
find(identity: string): any;
findDocumentActions(identity: string): any;
ratings(identity: string): any;
query(page?: number, size?: number, options?: APIRequestOptions): void;
getNextPage(): void;
save(payload: LoopSessionPayload): any;
update(payload: LoopSessionUpdatePayload): any;
/**
* Resets the entries in the app-state slice for Loop Sessions
*
*
* @memberOf LoopSessionService
*/
resetEntries(): void;
}