@ima/plugin-http-client
Version:
Generic http client for the IMA application framework.
16 lines • 590 B
TypeScript
import { BaseMapper } from './BaseMapper';
import type { EntityConstructor } from '../BaseEntity';
/**
* EntityListMapper transform array of object into entity property with array of entities.
*/
export declare class EntityListMapper extends BaseMapper {
#private;
/**
* Creates a mapper with the specified entity that is used for the transformation of a field containing array of objects.
* @param entity
*/
constructor(entity: EntityConstructor);
deserialize(data: any): any;
serialize(data: any): any;
}
//# sourceMappingURL=EntityListMapper.d.ts.map