Skip to main content

@automapper/classes

Interfaces

Variables

AUTOMAPPER_METADATA_FACTORY_KEY

Const AUTOMAPPER_METADATA_FACTORY_KEY: "__AUTOMAPPER_METADATA_FACTORY__"

Defined in

lib/keys.ts:1


AUTOMAP_PROPERTIES_METADATA_KEY

Const AUTOMAP_PROPERTIES_METADATA_KEY: "automap:properties"

Defined in

lib/keys.ts:3


AUTOMAP_STANDALONE_METADATA_KEY

Const AUTOMAP_STANDALONE_METADATA_KEY: "automap:standalone"

Defined in

lib/keys.ts:4

Functions

AutoMap

AutoMap(): PropertyDecorator

Returns

PropertyDecorator

Defined in

lib/automap.ts:21

AutoMap(typeFn): PropertyDecorator

Parameters

NameType
typeFn() => Constructor<any> | [Constructor<any>]

Returns

PropertyDecorator

Defined in

lib/automap.ts:22

AutoMap(options): PropertyDecorator

Parameters

NameType
optionsAutoMapOptions

Returns

PropertyDecorator

Defined in

lib/automap.ts:25


classes

classes(options?): MappingStrategyInitializer<Constructor>

Parameters

NameType
optionsMappingStrategyInitializerOptions

Returns

MappingStrategyInitializer<Constructor>

Defined in

lib/classes.ts:14


getMetadataList

getMetadataList(model): [metadataList: [string, Object][], nestedConstructor: Constructor[]]

Parameters

NameType
modelConstructor<any>

Returns

[metadataList: [string, Object][], nestedConstructor: Constructor[]]

Defined in

lib/get-metadata-list.ts:20