Types
Batch
pub type Batch(task) {
Batch(steps: List(Step(task)))
}
Batch(steps: List(Step(task)))
Edge
pub type Edge {
Edge(source: Source, target: Target)
}
Edge(source: Source, target: Target)
Node
pub type Node(task) {
Node(resolver: schema.Resolver(task))
Supernode(plan: Plan(task))
}
Node(resolver: schema.Resolver(task))
Supernode(plan: Plan(task))
Plan
pub type Plan(task) {
Plan(edges: List(Edge), batches: List(Batch(task)))
}
Plan(edges: List(Edge), batches: List(Batch(task)))
Source
pub type Source {
Output(path: List(String))
Literal(value: dynamic.Dynamic)
}
Output(path: List(String))
Literal(value: dynamic.Dynamic)
Step
pub type Step(task) {
Step(name: String, node: Node(task))
}
Step(name: String, node: Node(task))
Target
pub type Target {
Input(path: List(String))
}
Input(path: List(String))