enhance bug report handling with pagination, filtering, and improved response structure

This commit is contained in:
Flavio Fois
2026-03-19 09:00:07 +01:00
parent 9df575067a
commit da650c2b82
13 changed files with 708 additions and 16 deletions

View File

@@ -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"`