diff --git a/src/content/keyAutoAdd/lib/types.ts b/src/content/keyAutoAdd/lib/types.ts index d1b0cae1..76906df7 100644 --- a/src/content/keyAutoAdd/lib/types.ts +++ b/src/content/keyAutoAdd/lib/types.ts @@ -7,14 +7,14 @@ export interface StepRunHelpers { output: (fn: T) => Awaited>; } -export type StepRun = ( +export type StepRun = ( payload: BeginPayload, helpers: StepRunHelpers, -) => Promise; +) => Promise; -export interface Step { +export interface Step { name: string; - run: StepRun; + run: StepRun; maxDuration?: number; }