feat(alerting): add support for alert page filter
This commit is contained in:
@@ -96,6 +96,7 @@ type DeleteAlertCommand struct {
|
||||
//Queries
|
||||
type GetAlertsQuery struct {
|
||||
OrgId int64
|
||||
State []string
|
||||
|
||||
Result []AlertRule
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ type UpdateAlertStateCommand struct {
|
||||
|
||||
// Queries
|
||||
|
||||
type GetAlertsStateCommand struct {
|
||||
type GetAlertsStateQuery struct {
|
||||
OrgId int64 `json:"orgId" binding:"Required"`
|
||||
AlertId int64 `json:"alertId" binding:"Required"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user