feat: add endpoint and logic for retrieving top exported components, including SQL queries, models, and service integration
This commit is contained in:
@@ -68,3 +68,11 @@ type TransactionChartItem struct {
|
||||
type TransactionChartData struct {
|
||||
Items []TransactionChartItem `json:"items"`
|
||||
}
|
||||
|
||||
type TopExportedComponent struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Unit string `json:"unit"`
|
||||
ComponentTypeName string `json:"componentTypeName"`
|
||||
TotalExported int64 `json:"totalExported"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user