Skip to content

Commit

Permalink
Merge pull request #653 from seratch/correct-types-for-steps
Browse files Browse the repository at this point in the history
  • Loading branch information
aoberoi authored Sep 30, 2020
2 parents 70ddb5e + 50967e3 commit 3d9c76a
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions src/WorkflowStep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,30 @@ export interface StepConfigureArguments {
}

export interface StepUpdateArguments {
inputs?: {};
outputs?: [];
inputs?: {
[key: string]: {
value: any;
skip_variable_replacement?: boolean;
variables?: {
[key: string]: any;
};
};
};
outputs?: [
{
name: string;
type: string;
label: string;
},
];
step_name?: string;
step_image_url?: string;
}

export interface StepCompleteArguments {
inputs?: {
[key: string]: {
value: string;
};
};
outputs?: {
type: string;
name: string;
label: string;
}[];
[key: string]: any;
};
}

export interface StepFailArguments {
Expand Down

0 comments on commit 3d9c76a

Please sign in to comment.