diff --git a/dist/index.js b/dist/index.js index 4e9b4b7..517cee7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -362,10 +362,10 @@ class MermaidNode { return "notstarted"; } static createStartNode() { - return new MermaidNode("start", "Start", "notstarted"); + return new MermaidNode("start", "Start", "default"); } static createFinishNode() { - return new MermaidNode("finish", "Finish", "notstarted"); + return new MermaidNode("finish", "Finish", "default"); } } exports.MermaidNode = MermaidNode; diff --git a/src/mermaid-node.ts b/src/mermaid-node.ts index 6bf957b..39fd3b0 100644 --- a/src/mermaid-node.ts +++ b/src/mermaid-node.ts @@ -1,6 +1,6 @@ import { GitHubIssue } from "./models"; -export type MermaidNodeStatus = "notstarted" | "started" | "completed"; +export type MermaidNodeStatus = "default" | "notstarted" | "started" | "completed"; export class MermaidNode { constructor( @@ -53,10 +53,10 @@ export class MermaidNode { } public static createStartNode(): MermaidNode { - return new MermaidNode("start", "Start", "notstarted"); + return new MermaidNode("start", "Start", "default"); } public static createFinishNode(): MermaidNode { - return new MermaidNode("finish", "Finish", "notstarted"); + return new MermaidNode("finish", "Finish", "default"); } }