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