Skip to content

Commit

Permalink
Update Function (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
srajiang committed Aug 31, 2022
1 parent ac525e9 commit 5e8d03e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/SlackFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ export type AllSlackFunctionExecutedMiddlewareArgs = SlackFunctionExecutedMiddle
* A Function is a deterministic machine with
* specified outputs given specific inputs.
* --
<<<<<<< HEAD
* You configure a Function's callback_id, inputs, and outputs
* in your project's manifest file (json or js).
=======
* You configure a Function's title, inputs, and outputs
* in your project's manifest file (json or js). If your project contains any
* functions via app.function, it must have a corresponding
* manifest entry or App will throw an error when attempting to
* initialize.
>>>>>>> 1c37f9b (Update Function (#1536))
* --
* Slack will take care of providing inputs to your function
* via a function_execution event. Bolt handles delivering those
Expand Down
4 changes: 2 additions & 2 deletions src/types/events/base-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,9 @@ export interface FunctionParams {
is_required?: boolean,
}

export interface FunctionInputValues {
export type FunctionInputValues = {
[key: string]: unknown;
}
};

export type FunctionOutputValues = FunctionInputValues;

Expand Down

0 comments on commit 5e8d03e

Please sign in to comment.