Fix high prio recommendations, add error / health screen
This commit is contained in:
18
types.go
18
types.go
@@ -39,6 +39,8 @@ type PRDetails struct {
|
||||
CommitCount int
|
||||
CommentCount int
|
||||
HeadOID string
|
||||
BaseOID string
|
||||
RepositoryURL string
|
||||
CheckState string
|
||||
Checks []Check
|
||||
ReviewDecision string
|
||||
@@ -49,12 +51,28 @@ type PRDetails struct {
|
||||
Threads []ReviewThread
|
||||
ThreadsTruncated bool
|
||||
Timeline []TimelineEvent
|
||||
DataIssues []DataIssue
|
||||
Rulesets []Ruleset
|
||||
MergeQueue *MergeQueue
|
||||
FromCache bool
|
||||
CachedAt time.Time
|
||||
}
|
||||
|
||||
type DataIssue struct {
|
||||
Component string
|
||||
Message string
|
||||
}
|
||||
|
||||
type PRDetailsEnrichment struct {
|
||||
Owner string
|
||||
Repository string
|
||||
Number int
|
||||
HeadOID string
|
||||
CheckAnnotations map[string][]CheckAnnotation
|
||||
ConflictFiles []string
|
||||
Issues []DataIssue
|
||||
}
|
||||
|
||||
type PullRequestMetadata struct {
|
||||
Title string
|
||||
Body string
|
||||
|
||||
Reference in New Issue
Block a user