avoid sending full notification state to pending/complete

This commit is contained in:
bergquist
2018-10-02 13:57:41 +02:00
parent 341d8af637
commit 9022e871e3
4 changed files with 48 additions and 32 deletions

View File

@@ -98,12 +98,16 @@ type AlertNotificationState struct {
}
type SetAlertNotificationStateToPendingCommand struct {
Id int64
AlertRuleStateUpdatedVersion int64
State *AlertNotificationState
Version int64
ResultVersion int64
}
type SetAlertNotificationStateToCompleteCommand struct {
State *AlertNotificationState
Id int64
Version int64
}
type GetOrCreateNotificationStateQuery struct {