fix: resolve CI/CD issues - fixed workflow model, timer API, and type annotations
Some checks failed
DevDash CLI CI / test (push) Has been cancelled
Some checks failed
DevDash CLI CI / test (push) Has been cancelled
- src/ui/components/cards.py: Changed WorkflowCard to use WorkflowRunModel with correct attributes - src/models/__init__.py: Added WorkflowRunModel to exports - src/ui/screens/dashboard.py: Fixed timer API for Textual 0.52 compatibility - src/ui/components/loading.py: Renamed _animate to _spin for signature override - src/git/status.py: Added type annotation 'str | None' to remote_name variable
This commit is contained in:
@@ -1,4 +1,39 @@
|
|||||||
from src.models.types import *
|
"""Data models for DevDash."""
|
||||||
from src.models.entities import *
|
|
||||||
|
|
||||||
__all__ = ["Repository", "PullRequest", "Issue", "Workflow", "Config"]
|
from src.models.entities import (
|
||||||
|
IssueModel,
|
||||||
|
PipelineModel,
|
||||||
|
PullRequestModel,
|
||||||
|
RepositoryModel,
|
||||||
|
WorkflowModel,
|
||||||
|
WorkflowRunModel,
|
||||||
|
)
|
||||||
|
from src.models.types import (
|
||||||
|
AppSettings,
|
||||||
|
GitStatus,
|
||||||
|
Issue,
|
||||||
|
Pipeline,
|
||||||
|
Provider,
|
||||||
|
PullRequest,
|
||||||
|
Repository,
|
||||||
|
RepositoryConfig,
|
||||||
|
Workflow,
|
||||||
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"Provider",
|
||||||
|
"Repository",
|
||||||
|
"PullRequest",
|
||||||
|
"Issue",
|
||||||
|
"Workflow",
|
||||||
|
"Pipeline",
|
||||||
|
"GitStatus",
|
||||||
|
"RepositoryConfig",
|
||||||
|
"AppSettings",
|
||||||
|
"RepositoryModel",
|
||||||
|
"PullRequestModel",
|
||||||
|
"IssueModel",
|
||||||
|
"WorkflowModel",
|
||||||
|
"WorkflowRunModel",
|
||||||
|
"PipelineModel",
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user