-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Budibase/automation-input-type
fix broken type in automation plugin skeleton
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { AutomationStepInput } from "@budibase/types" | ||
import { AutomationStepInputBase } from "@budibase/types" | ||
|
||
export default async function run({ inputs }: AutomationStepInput) { | ||
export default async function run({ | ||
inputs, | ||
}: AutomationStepInputBase & { inputs: Record<string, any> }) { | ||
const message = `Custom automation logger - ${inputs.text}` | ||
console.log(message) | ||
return { | ||
success: true, | ||
message, | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "budibase-skeleton", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Linting and prepping skeleton project.", | ||
"main": "index.js", | ||
"repository": "[email protected]:Budibase/budibase-skeleton.git", | ||
|