Consolidate Notification type definitions

pull/3458/head
Alex P 2018-05-14 16:22:39 -07:00
parent 0cdc49f25c
commit ea342f89d9
1 changed files with 1 additions and 8 deletions

View File

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