projects/ngrx-data-lib/src/lib/data-mapping/datamapper.ts
Properties |
Signature :
[data: any, uniqueName: string, requestType: HttpMethod, dbState: EntityStatesCollection]
|
Returns : DbActions.DBActions[]
|
import * as DbActions from '../state/db-actions';
import { HttpMethod } from '../http/http-method';
import { EntityStatesCollection } from '../state/entity-states-collection-adapter';
export interface IDataMapper
{
(data: any, uniqueName: string, requestType: HttpMethod, dbState: EntityStatesCollection) : DbActions.DBActions[];
}