config alerter enabled

This commit is contained in:
mbecker20
2024-04-07 21:26:25 -07:00
parent 5c093c81ab
commit f099e5c6b7
2 changed files with 5 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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,
},
},
}}