feat(notifications): add option to send notifications for auto-approved requests

closes #267
This commit is contained in:
sct
2021-01-23 09:54:43 +00:00
parent d0c830e80d
commit 21db3676d1
7 changed files with 217 additions and 4 deletions

View File

@@ -126,6 +126,8 @@ interface NotificationAgents {
}
interface NotificationSettings {
enabled: boolean;
autoapprovalEnabled: boolean;
agents: NotificationAgents;
}
@@ -168,6 +170,8 @@ class Settings {
initialized: false,
},
notifications: {
enabled: true,
autoapprovalEnabled: false,
agents: {
email: {
enabled: false,