Class: AutomapperModule
Constructors
constructor
• new AutomapperModule()
Methods
createMapper
▸ Static
Private
createMapper(mapperOptions
, globalOptions?
): Mapper
Parameters
Name | Type |
---|---|
mapperOptions | CreateMapperOptions |
globalOptions? | AutomapperGlobalOptions |
Returns
Mapper
Defined in
packages/nestjs/src/lib/automapper-nestjs.module.ts:155
createMapperProvider
▸ Static
Private
createMapperProvider(asyncMapperOptions
, globalOptions?
): Provider
<any
>
Parameters
Name | Type |
---|---|
asyncMapperOptions | AutomapperAsyncOptions & { 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
Name | Type |
---|---|
asyncMapperOptions | AutomapperAsyncOptions & { 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
Name | Type |
---|---|
mapperOptions | CreateMapperOptions & { name : string }[] |
globalOptions? | AutomapperGlobalOptions |
Returns
Provider
<any
>[]
Defined in
packages/nestjs/src/lib/automapper-nestjs.module.ts:70
forRoot
▸ Static
forRoot(mapperOptions
): DynamicModule
Parameters
Name | Type |
---|---|
mapperOptions | CreateMapperOptions |
Returns
DynamicModule
Defined in
packages/nestjs/src/lib/automapper-nestjs.module.ts:15
▸ Static
forRoot(mapperOptions
, globalOptions?
): DynamicModule
Parameters
Name | Type |
---|---|
mapperOptions | CreateMapperOptions & { name : string }[] |
globalOptions? | AutomapperGlobalOptions |
Returns
DynamicModule
Defined in
packages/nestjs/src/lib/automapper-nestjs.module.ts:16
forRootAsync
▸ Static
forRootAsync(asyncMapperOptions
): DynamicModule
Parameters
Name | Type |
---|---|
asyncMapperOptions | AutomapperAsyncOptions |
Returns
DynamicModule
Defined in
packages/nestjs/src/lib/automapper-nestjs.module.ts:38
▸ Static
forRootAsync(asyncMapperOptions
, globalOptions?
): DynamicModule
Parameters
Name | Type |
---|---|
asyncMapperOptions | AutomapperAsyncOptions & { name : string }[] |
globalOptions? | AutomapperGlobalOptions |
Returns
DynamicModule