tech(notifications): splitt into 3 queries

closes #5883
This commit is contained in:
bergquist
2016-09-06 08:42:35 +02:00
parent c893e5d241
commit 2ca7284a56
5 changed files with 93 additions and 25 deletions

View File

@@ -46,8 +46,20 @@ type DeleteAlertNotificationCommand struct {
type GetAlertNotificationsQuery struct {
Name string
Id int64
OrgId int64
Result *AlertNotification
}
type GetAlertNotificationsToSendQuery struct {
Ids []int64
OrgId int64
Result []*AlertNotification
}
type GetAllAlertNotificationsQuery struct {
OrgId int64
Result []*AlertNotification
}