import { Enum } from '@/services/data/tuples/enum-types' ; export enum EnumEventTypes { ENUM_NAME_CHANGED = 'enum-name-changed' , ENUM_DESCRIPTION_CHANGED = 'enum-description-changed' , ENUM_PARENT_CHANGED = 'enum-parent-changed' , ITEMS_IMPORTED = 'items-imported' , ITEM_SEARCH_TEXT_CHANGED = 'item-search-text-changed' } export interface EnumEventBus { fire ( type , enumeration ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , enumeration ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , enumeration ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , enumeration ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , enumeration , search ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }