Skip to content

Commit

Permalink
add exec button ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
ritch committed Nov 15, 2024
1 parent c147a99 commit c755a45
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/packages/operators/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,20 @@ export class ToastView extends View {
}
}

/**
* Operator class for rendering a execution button.
*/

class OperatorExecutionButtonView extends View {
constructor(options: ViewProps) {
super(options);
this.name = "OperatorExecutionButtonView";
}
static fromJSON(json) {
return new OperatorExecutionButtonView(json);
}
}

/**
* Places where you can have your operator placement rendered.
*/
Expand Down

0 comments on commit c755a45

Please sign in to comment.