import { PipelineStageUnitAction } from '@/services/data/tuples/pipeline-stage-unit-action/pipeline-stage-unit-action-types' ; import { PipelineStageUnit } from '@/services/data/tuples/pipeline-stage-unit-types' ; export enum UnitEventTypes { RENAME_UNIT = 'rename-unit' , LOOP_VARIABLE_CHANGED = 'loop-variable-changed' , CONDITION_CHANGED = 'condition-changed' , ACTION_ADDED = 'action-added' , ACTION_REMOVED = 'action-removed' , ACTION_CHANGED = 'action-changed' , ACTION_SORTED = 'action-sorted' , EXPAND_CONTENT = 'expand-content' , COLLAPSE_CONTENT = 'collapse-content' } export interface UnitEventBus { fire ( type , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , action , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , action , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , action , unit ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , unit ) : 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 ; }