Skip to content

Commit

Permalink
fix(dashboard): awkward name for task nodes in Stack Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Mar 27, 2019
1 parent 730f39e commit 616c8b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dashboard/src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
4 changes: 2 additions & 2 deletions garden-service/src/config-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -501,7 +501,7 @@ export class ConfigGraph {
const renderedNodeTypeMap = {
build: "build",
service: "deploy",
task: "runTask",
task: "run",
test: "test",
push: "push",
publish: "publish",
Expand Down

0 comments on commit 616c8b5

Please sign in to comment.