import { PipelinesGraphics } from '@/services/data/tuples/pipeline-types' ; import { Topic } from '@/services/data/tuples/topic-types' ; import { AssembledPipelinesGraphics , AssembledTopicGraphics } from './types' ; export enum CatalogEventTypes { TOPIC_SELECTED = 'topic-selected' , CLEAR_SELECTION = 'clear-selection' , TOPIC_MOVED = 'topic-moved' , NAME_CHANGED = 'name-changed' , SCROLL = 'scroll' , RESIZE = 'resize' , SWITCH_GRAPHICS = 'switch-graphics' , TOPICS_SELECTED = 'topics-selected' , TOPICS_REPAINTED = 'topics-repaint' , GRAPHICS_REMOVED = 'graphics-removed' , ASK_GRAPHICS_SVG = 'ask-graphics-svg' , REPLY_GRAPHICS_SVG = 'replay-graphics-svg' } export interface CatalogEventBus { fire ( type , topic ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , topic , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , graphics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , topics ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , html ) : this ; once ( type , listener ) : this ; }