Skip to content

Commit

Permalink
Merge pull request #3 from Budibase/automation-input-type
Browse files Browse the repository at this point in the history
fix broken type in automation plugin skeleton
  • Loading branch information
mike12345567 authored Oct 23, 2024
2 parents da67db4 + f493492 commit dfc526a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions automation/src/automation.ts
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,
}
}

2 changes: 1 addition & 1 deletion package.json
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",
Expand Down

0 comments on commit dfc526a

Please sign in to comment.