UNPKG

@mbc-cqrs-serverless/core

Version:
12 lines (11 loc) 627 B
import { ModuleRef } from '@nestjs/core'; import { DynamoDbService } from '../data-store/dynamodb.service'; import { IEventHandler } from '../interfaces'; import { DataSyncCommandSfnEvent, StepFunctionStateInput } from './data-sync.sfn.event'; export declare class DataSyncCommandSfnEventHandler implements IEventHandler<DataSyncCommandSfnEvent> { private readonly dynamoDbService; private readonly moduleRef; private readonly logger; constructor(dynamoDbService: DynamoDbService, moduleRef: ModuleRef); execute(event: DataSyncCommandSfnEvent): Promise<StepFunctionStateInput | StepFunctionStateInput[]>; }