Interface: MappingStrategy<TIdentifier>
Type parameters
Name | Type |
---|---|
TIdentifier | extends MetadataIdentifier |
Properties
applyMetadata
• Readonly
applyMetadata: ApplyMetadataFn
Defined in
destinationConstructor
• destinationConstructor: DestinationConstructor
<any
, any
>
Defined in
mapper
• mapper: Mapper
Defined in
Methods
postMap
▸ postMap<TSource
, TDestination
>(source
, destination
, mapping
): undefined
| TDestination
Type parameters
Name | Type |
---|---|
TSource | extends Dictionary <TSource > |
TDestination | extends Dictionary <TDestination > |
Parameters
Name | Type |
---|---|
source | TSource |
destination | TDestination |
mapping | Mapping <TSource , TDestination > |
Returns
undefined
| TDestination
Defined in
preMap
▸ preMap<TSource
, TDestination
>(source
, mapping
): TSource
Type parameters
Name | Type |
---|---|
TSource | extends Dictionary <TSource > |
TDestination | extends Dictionary <TDestination > |
Parameters
Name | Type |
---|---|
source | TSource |
mapping | Mapping <TSource , TDestination > |
Returns
TSource
Defined in
retrieveMetadata
▸ retrieveMetadata(...identifiers
): Map
<TIdentifier
, MetadataList
>
Parameters
Name | Type |
---|---|
...identifiers | TIdentifier [] |
Returns
Map
<TIdentifier
, MetadataList
>