Consolidate Notification type definitions
parent
0cdc49f25c
commit
ea342f89d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue