automap library

Classes

AutoMapConfiguration<TSource extends AutoMapperModel, TTarget>
Configuration to auto map the TSource type to the TTarget type.
AutoMapper
Handles mapping between different types.
AutoMapperModel
Abstract class for auto mapping
ManualMapConfiguration<TSource, TTarget>
Configuration to manual map the TSource type to the TTarget type.

Typedefs

MapExpression<TSource, TTarget> = TTarget Function(TSource source, AutoMapper mapper, Map params)
An expression that defines how to map the TTarget type to the TSource type.

Exceptions / Errors

MapDoesNotExistError
Thrown when trying to map between two type that have not had a map added.
MapDuplicateError
Thrown when a duplicate map is added.
MapException
An exception caused by a mapping failure.