@automapper/classes
Interfaces
Variables
AUTOMAPPER_METADATA_FACTORY_KEY
• Const
AUTOMAPPER_METADATA_FACTORY_KEY: "__AUTOMAPPER_METADATA_FACTORY__"
Defined in
AUTOMAP_PROPERTIES_METADATA_KEY
• Const
AUTOMAP_PROPERTIES_METADATA_KEY: "automap:properties"
Defined in
AUTOMAP_STANDALONE_METADATA_KEY
• Const
AUTOMAP_STANDALONE_METADATA_KEY: "automap:standalone"
Defined in
Functions
AutoMap
▸ AutoMap(): PropertyDecorator
Returns
PropertyDecorator
Defined in
▸ AutoMap(typeFn
): PropertyDecorator
Parameters
Name | Type |
---|---|
typeFn | () => Constructor <any > | [Constructor <any >] |
Returns
PropertyDecorator
Defined in
▸ AutoMap(options
): PropertyDecorator
Parameters
Name | Type |
---|---|
options | AutoMapOptions |
Returns
PropertyDecorator
Defined in
classes
▸ classes(options?
): MappingStrategyInitializer
<Constructor
>
Parameters
Name | Type |
---|---|
options | MappingStrategyInitializerOptions |
Returns
MappingStrategyInitializer
<Constructor
>
Defined in
getMetadataList
▸ getMetadataList(model
): [metadataList: [string, Object][], nestedConstructor: Constructor[]]
Parameters
Name | Type |
---|---|
model | Constructor <any > |
Returns
[metadataList: [string, Object][], nestedConstructor: Constructor[]]