Skip to main content

Class: AutomapperModule

Constructors

constructor

new AutomapperModule()

Methods

createMapper

Static Private createMapper(mapperOptions, globalOptions?): Mapper

Parameters

NameType
mapperOptionsCreateMapperOptions
globalOptions?AutomapperGlobalOptions

Returns

Mapper

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:155


createMapperProvider

Static Private createMapperProvider(asyncMapperOptions, globalOptions?): Provider<any>

Parameters

NameType
asyncMapperOptionsAutomapperAsyncOptions & { name: string }
globalOptions?AutomapperGlobalOptions

Returns

Provider<any>

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:120


createProvider

Static Private createProvider(asyncMapperOptions, globalOptions?): Provider<any>[]

Parameters

NameType
asyncMapperOptionsAutomapperAsyncOptions & { name: string }
globalOptions?AutomapperGlobalOptions

Returns

Provider<any>[]

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:101


createProviders

Static Private createProviders(mapperOptions, globalOptions?): Provider<any>[]

Parameters

NameType
mapperOptionsCreateMapperOptions & { name: string }[]
globalOptions?AutomapperGlobalOptions

Returns

Provider<any>[]

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:70


forRoot

Static forRoot(mapperOptions): DynamicModule

Parameters

NameType
mapperOptionsCreateMapperOptions

Returns

DynamicModule

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:15

Static forRoot(mapperOptions, globalOptions?): DynamicModule

Parameters

NameType
mapperOptionsCreateMapperOptions & { name: string }[]
globalOptions?AutomapperGlobalOptions

Returns

DynamicModule

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:16


forRootAsync

Static forRootAsync(asyncMapperOptions): DynamicModule

Parameters

NameType
asyncMapperOptionsAutomapperAsyncOptions

Returns

DynamicModule

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:38

Static forRootAsync(asyncMapperOptions, globalOptions?): DynamicModule

Parameters

NameType
asyncMapperOptionsAutomapperAsyncOptions & { name: string }[]
globalOptions?AutomapperGlobalOptions

Returns

DynamicModule

Defined in

packages/nestjs/src/lib/automapper-nestjs.module.ts:41