mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
config alerter enabled
This commit is contained in:
@@ -89,6 +89,7 @@ export interface ResourceListItem<Info> {
|
||||
}
|
||||
|
||||
export interface AlerterListItemInfo {
|
||||
enabled: boolean;
|
||||
is_default: boolean;
|
||||
alerter_type: string;
|
||||
}
|
||||
@@ -1729,10 +1730,12 @@ export interface UpdateServiceUserDescription {
|
||||
|
||||
export interface CustomAlerterConfig {
|
||||
url: string;
|
||||
enabled?: boolean;
|
||||
}
|
||||
|
||||
export interface SlackAlerterConfig {
|
||||
url: string;
|
||||
enabled?: boolean;
|
||||
}
|
||||
|
||||
export interface ServerBuilderConfig {
|
||||
|
||||
@@ -25,6 +25,7 @@ const SlackAlerterConfig = ({ id }: { id: string }) => {
|
||||
general: {
|
||||
general: {
|
||||
url: true,
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}}
|
||||
@@ -48,6 +49,7 @@ const CustomAlerterConfig = ({ id }: { id: string }) => {
|
||||
general: {
|
||||
general: {
|
||||
url: true,
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user