enhance bug report handling with pagination, filtering, and improved response structure
This commit is contained in:
@@ -14,6 +14,11 @@ const (
|
||||
BugReportStatusClosed BugReportStatus = "closed"
|
||||
)
|
||||
|
||||
type BugReportListItem struct {
|
||||
BugReport
|
||||
FileCount int `db:"file_count" json:"file_count"`
|
||||
}
|
||||
|
||||
type BugReport struct {
|
||||
ID uint64 `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
|
||||
Reference in New Issue
Block a user