UNPKG

@documment/mmp.ui.data

Version:

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.1.

13 lines (12 loc) 619 B
import { Response } from '@angular/http'; import { Reaction } from '@documment/mmp.core'; import { ReactionMapper } from '../../mappers/reaction.mapper'; import { ApiOptions } from '../../models/api-options.model'; import { IDataMapper } from '../../mappers/data.mapper'; import { IDataPublisher } from '../../../pubsub/publishers/data/data.publisher'; export declare class ServiceResponder { private reactionMapper; constructor(reactionMapper: ReactionMapper); response<T>(options: ApiOptions, mapper: IDataMapper, publisher: IDataPublisher, response: Response): T; error(error: Response): Reaction; }