From d390d8f3d341832879dea8f8410b56ec060bc4cc Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Thu, 8 Aug 2024 19:36:31 +0000 Subject: [PATCH] Added complete, fail and inputs parameters on `SlackActionMiddlewareArgs` (#2189) --- src/types/actions/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/types/actions/index.ts b/src/types/actions/index.ts index c94a8673c..ac7f74d07 100644 --- a/src/types/actions/index.ts +++ b/src/types/actions/index.ts @@ -3,6 +3,8 @@ import { InteractiveMessage } from './interactive-message'; import { WorkflowStepEdit } from './workflow-step-edit'; import { DialogSubmitAction, DialogValidation } from './dialog-action'; import { SayFn, SayArguments, RespondFn, AckFn } from '../utilities'; +import { FunctionCompleteFn, FunctionFailFn } from '../../CustomFunction'; +import { FunctionInputs } from '../events'; export * from './block-action'; export * from './interactive-message'; @@ -45,6 +47,9 @@ export interface SlackActionMiddlewareArgs ? SayFn : never; respond: RespondFn; ack: ActionAckFn; + complete?: FunctionCompleteFn; + fail?: FunctionFailFn; + inputs?: FunctionInputs; } /**