mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat: add killswitch for notifications (#13794)
This commit is contained in:
@ -30,6 +30,11 @@ type HealthSettings struct {
|
||||
DismissedHealthchecks []healthsdk.HealthSection `db:"dismissed_healthchecks" json:"dismissed_healthchecks"`
|
||||
}
|
||||
|
||||
type NotificationsSettings struct {
|
||||
ID uuid.UUID `db:"id" json:"id"`
|
||||
NotifierPaused bool `db:"notifier_paused" json:"notifier_paused"`
|
||||
}
|
||||
|
||||
type Actions []policy.Action
|
||||
|
||||
func (a *Actions) Scan(src interface{}) error {
|
||||
|
Reference in New Issue
Block a user