diff --git a/dashboard/src/api/types.ts b/dashboard/src/api/types.ts index 8e2b56fea9..320d0374f4 100644 --- a/dashboard/src/api/types.ts +++ b/dashboard/src/api/types.ts @@ -86,7 +86,7 @@ export interface FetchConfigResponse { export type RenderedNode = { type: RenderedNodeType, name: string } -export type RenderedNodeType = "build" | "deploy" | "runTask" | "test" | "push" | "publish" +export type RenderedNodeType = "build" | "deploy" | "run" | "test" | "push" | "publish" export type RenderedEdge = { dependant: RenderedNode, dependency: RenderedNode } diff --git a/garden-service/src/config-graph.ts b/garden-service/src/config-graph.ts index 4739ee1e3f..98da765b72 100644 --- a/garden-service/src/config-graph.ts +++ b/garden-service/src/config-graph.ts @@ -47,7 +47,7 @@ export type DependencyRelationFilterFn = (DependencyGraphNode) => boolean export type RenderedGraph = { nodes: RenderedNode[], relationships: RenderedEdge[] } export type RenderedEdge = { dependant: RenderedNode, dependency: RenderedNode } export type RenderedNode = { type: RenderedNodeType, name: string } -export type RenderedNodeType = "build" | "deploy" | "runTask" | "test" | "push" | "publish" +export type RenderedNodeType = "build" | "deploy" | "run" | "test" | "push" | "publish" /** * A graph data structure that facilitates querying (recursive or non-recursive) of the project's dependency and @@ -501,7 +501,7 @@ export class ConfigGraph { const renderedNodeTypeMap = { build: "build", service: "deploy", - task: "runTask", + task: "run", test: "test", push: "push", publish: "publish",