+8
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user