From ea342f89d92c77b76f7cbc0b96622d4fa0d576ac Mon Sep 17 00:00:00 2001 From: Alex P Date: Mon, 14 May 2018 16:22:39 -0700 Subject: [PATCH] Consolidate Notification type definitions --- ui/src/kapacitor/components/AlertTabs.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ui/src/kapacitor/components/AlertTabs.tsx b/ui/src/kapacitor/components/AlertTabs.tsx index 734f58f09..4fbe08787 100644 --- a/ui/src/kapacitor/components/AlertTabs.tsx +++ b/ui/src/kapacitor/components/AlertTabs.tsx @@ -43,6 +43,7 @@ import DeprecationWarning from 'src/admin/components/DeprecationWarning' import {ErrorHandling} from 'src/shared/decorators/errors' import {Source, Kapacitor} from 'src/types' +import {Notification} from 'src/types/notifications' interface Service { link: Link @@ -112,14 +113,6 @@ interface SupportedConfig { victorops: Config } -interface Notification { - id?: string - type: string - icon: string - duration: number - message: string -} - interface Props { source: Source kapacitor: Kapacitor