dependents size fix
Cross Compile Go / build (push) Has been cancelled

This commit is contained in:
ilbinek
2026-08-10 14:15:00 +02:00
parent 0d07148db6
commit 0ef27b0072
4 changed files with 133 additions and 20 deletions
+8 -2
View File
@@ -66,18 +66,24 @@ type DependencyReport struct {
Dependencies []DependencyReportItem `json:"dependencies"`
}
// DependentsResponse lists the addons that depend on a given addon
// DependentsResponse lists one page of the addons that depend on a given addon.
// Total is the full number of matches, not the length of this page.
type DependentsResponse struct {
AddonID string `json:"addonId"`
Dependents []AddonSearchResult `json:"dependents"`
Total int `json:"total"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}
// DependenciesResponse lists the addons a given addon depends on
// DependenciesResponse lists one page of the addons a given addon depends on.
// Total is the full number of matches, not the length of this page.
type DependenciesResponse struct {
AddonID string `json:"addonId"`
Dependencies []AddonSearchResult `json:"dependencies"`
Total int `json:"total"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}
// SearchResponse contains the search results