Chore: Remove result field from stats (#65166)
remove result field from stats
This commit is contained in:
@@ -49,13 +49,9 @@ type DataSourceStats struct {
|
||||
Type string
|
||||
}
|
||||
|
||||
type GetSystemStatsQuery struct {
|
||||
Result *SystemStats
|
||||
}
|
||||
type GetSystemStatsQuery struct{}
|
||||
|
||||
type GetDataSourceStatsQuery struct {
|
||||
Result []*DataSourceStats
|
||||
}
|
||||
type GetDataSourceStatsQuery struct{}
|
||||
|
||||
type DataSourceAccessStats struct {
|
||||
Type string
|
||||
@@ -63,18 +59,14 @@ type DataSourceAccessStats struct {
|
||||
Count int64
|
||||
}
|
||||
|
||||
type GetDataSourceAccessStatsQuery struct {
|
||||
Result []*DataSourceAccessStats
|
||||
}
|
||||
type GetDataSourceAccessStatsQuery struct{}
|
||||
|
||||
type NotifierUsageStats struct {
|
||||
Type string
|
||||
Count int64
|
||||
}
|
||||
|
||||
type GetAlertNotifierUsageStatsQuery struct {
|
||||
Result []*NotifierUsageStats
|
||||
}
|
||||
type GetAlertNotifierUsageStatsQuery struct{}
|
||||
|
||||
type AdminStats struct {
|
||||
Orgs int64 `json:"orgs"`
|
||||
@@ -102,17 +94,13 @@ type AdminStats struct {
|
||||
MonthlyActiveUsers int64 `json:"monthlyActiveUsers"`
|
||||
}
|
||||
|
||||
type GetAdminStatsQuery struct {
|
||||
Result *AdminStats
|
||||
}
|
||||
type GetAdminStatsQuery struct{}
|
||||
|
||||
type SystemUserCountStats struct {
|
||||
Count int64
|
||||
}
|
||||
|
||||
type GetSystemUserCountStatsQuery struct {
|
||||
Result *SystemUserCountStats
|
||||
}
|
||||
type GetSystemUserCountStatsQuery struct{}
|
||||
|
||||
type UserStats struct {
|
||||
Users int64
|
||||
|
||||
Reference in New Issue
Block a user