import { PipelinesSettings } from '@/services/data/pipeline/settings-types' ; import { Pipeline , PipelinesGraphics } from '@/services/data/tuples/pipeline-types' ; import { Topic } from '@/services/data/tuples/topic-types' ; export enum PipelinesEventTypes { SETTINGS_LOADED = 'settings-loaded' , PIPELINE_ADDED = 'pipeline-added' , GRAPHICS_CHANGED = 'graphics-changed' , ASK_SETTINGS_LOADED = 'ask-settings-loaded' , ASK_PIPELINES = 'ask-pipelines' , ASK_TOPICS = 'ask-topics' , ASK_GRAPHICS = 'ask-graphics' } export interface PipelinesEventBus { fire ( type , settings ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , pipeline ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onSettingsLoadedGet ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }