Skip to content

Commit

Permalink
add ArrayNodes to types
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Fiedler <jan@union.ai>
  • Loading branch information
fiedlerNr9 committed Apr 9, 2024
1 parent 34edde1 commit f970b4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/oss-console/src/models/Node/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ export type WorkflowNode = Core.IWorkflowNode;
/** A graph node indicating a branching decision. */
export type BranchNode = Core.IBranchNode;


/** A graph node indicating a Array Node. */
export interface ArrayNode extends Core.IArrayNode {
node: CompiledNode;
parallelism?: number;
minSuccesses?: number;
minSuccessRatio?: number;
}

/** A graph node indicating a task to be executed. This is the most common
* node type in a Flyte graph.
*/
Expand All @@ -30,6 +39,7 @@ export interface CompiledNode extends Core.INode {
inputs?: Binding[];
metadata?: CompiledNodeMetadata;
outputAliases?: Alias[];
arrayNode?: ArrayNode;
taskNode?: TaskNode;
upstreamNodeIds?: string[];
workflowNode?: WorkflowNode;
Expand Down

0 comments on commit f970b4e

Please sign in to comment.