UNPKG

@mbc-cqrs-serverless/import

Version:
16 lines (15 loc) 809 B
import { IEventHandler, StepFunctionService } from '@mbc-cqrs-serverless/core'; import { ConfigService } from '@nestjs/config'; import { ImportService } from '../import.service'; import { IImportStrategy } from '../interface'; import { ImportQueueEvent } from './import.queue.event'; export declare class CsvImportQueueEventHandler implements IEventHandler<ImportQueueEvent> { private readonly configService; private readonly sfnService; private readonly importService; private readonly importStrategyMap; private readonly logger; private readonly csvImportArn; constructor(configService: ConfigService, sfnService: StepFunctionService, importService: ImportService, importStrategyMap: Map<string, IImportStrategy<any, any>>); execute(event: ImportQueueEvent): Promise<any>; }