UNPKG

@mbc-cqrs-serverless/core

Version:
15 lines (14 loc) 704 B
import { ConfigService } from '@nestjs/config'; import { DynamoDbService } from '../data-store'; import { IEventHandler } from '../interfaces'; import { StepFunctionService } from '../step-func/step-function.service'; import { DataSyncNewCommandEvent } from './data-sync.new.event'; export declare class DataSyncNewCommandEventHandler implements IEventHandler<DataSyncNewCommandEvent> { private readonly config; private readonly sfnService; private readonly dynamoDbService; private readonly logger; private sfnArn; constructor(config: ConfigService, sfnService: StepFunctionService, dynamoDbService: DynamoDbService); execute(event: DataSyncNewCommandEvent): Promise<any>; }