custom-automapper
Version:
A powerful, type-safe object mapping library for TypeScript and NestJS
15 lines • 629 B
TypeScript
import { DynamicModule, Type } from '@nestjs/common';
import { MappingProfile } from '../core/mapping-profile';
import type { MappingEntryOptions } from '../core/types';
import type { CacheConfig } from '../core/types';
export interface AutomapperModuleOptions {
globalOptions?: MappingEntryOptions;
profiles?: Type<MappingProfile>[];
autoDiscover?: boolean;
cache?: CacheConfig;
}
export declare class AutomapperModule {
static forRoot(options?: AutomapperModuleOptions): DynamicModule;
static forFeature(profiles: Type<MappingProfile>[]): DynamicModule;
}
//# sourceMappingURL=automapper.module.d.ts.map