Skip to content

Commit

Permalink
trivial. add is_system to systemNotificationTemplate & Role
Browse files Browse the repository at this point in the history
  • Loading branch information
ktkfree committed Apr 8, 2024
1 parent 5ab83d6 commit bd42789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/domain/system-notification-rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type SystemNotificationRuleResponse struct {
TargetUsers []SimpleUserResponse `json:"targetUsers"`
SystemNotificationTemplate SimpleSystemNotificationTemplateResponse `json:"systemNotificationTemplate"`
SystemNotificationCondition SystemNotificationConditionResponse `json:"systemNotificationCondition"`
IsSystem bool `json:"isSystem"`
Creator SimpleUserResponse `json:"creator"`
Updator SimpleUserResponse `json:"updator"`
CreatedAt time.Time `json:"createdAt"`
Expand Down
1 change: 1 addition & 0 deletions pkg/domain/system-notification-template.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type SystemNotificationTemplateResponse struct {
MetricQuery string `json:"metricQuery" validate:"required"`
MetricParameters []SystemNotificationMetricParameterResponse `json:"metricParameters,omitempty"`
Organizations []SimpleOrganizationResponse `json:"organizations,omitempty"`
IsSystem bool `json:"isSystem"`
Creator SimpleUserResponse `json:"creator"`
Updator SimpleUserResponse `json:"updator"`
CreatedAt time.Time `json:"createdAt"`
Expand Down

0 comments on commit bd42789

Please sign in to comment.