Skip to content

Commit

Permalink
Added complete, fail and inputs parameters on `SlackActionMiddlewareA…
Browse files Browse the repository at this point in the history
…rgs` (#2189)
  • Loading branch information
filmaj authored Aug 8, 2024
1 parent f7966e7 commit d390d8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -45,6 +47,9 @@ export interface SlackActionMiddlewareArgs<Action extends SlackAction = SlackAct
say: Action extends Exclude<SlackAction, DialogSubmitAction | WorkflowStepEdit> ? SayFn : never;
respond: RespondFn;
ack: ActionAckFn<Action>;
complete?: FunctionCompleteFn;
fail?: FunctionFailFn;
inputs?: FunctionInputs;
}

/**
Expand Down

0 comments on commit d390d8f

Please sign in to comment.