Initial upload: DevDash CLI with TUI dashboard
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
28
src/models/types.py
Normal file
28
src/models/types.py
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user