From 0250b4adc53e1207553a1923d6e18428ef72f20a Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 06:52:52 +0000 Subject: [PATCH] Initial upload: DevDash CLI with TUI dashboard --- src/models/types.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/models/types.py diff --git a/src/models/types.py b/src/models/types.py new file mode 100644 index 0000000..d4bafa0 --- /dev/null +++ b/src/models/types.py @@ -0,0 +1,28 @@ +from enum import Enum +from pydantic import BaseModel +from typing import Optional, List + + +class Provider(str, Enum): + GITHUB = "github" + GITLAB = "gitlab" + + +class IssueStatus(str, Enum): + OPEN = "open" + IN_PROGRESS = "in_progress" + CLOSED = "closed" + + +class WorkflowStatus(str, Enum): + PENDING = "pending" + RUNNING = "running" + SUCCESS = "success" + FAILURE = "failure" + + +class PRStatus(str, Enum): + OPEN = "open" + MERGED = "merged" + CLOSED = "closed" + DRAFT = "draft"