import { DataSource } from '@/services/data/tuples/data-source-types' ; export enum DataSourceEventTypes { DATASOURCE_CODE_CHANGED = 'data-source-name-changed' , DATASOURCE_TENANT_CHANGED = 'data-source-tenant-changed' , DATASOURCE_TYPE_CHANGED = 'data-source-type-changed' , DATASOURCE_CONNECT_PROP_CHANGED = 'data-source-connect-prop-changed' , DATASOURCE_PARAM_CHANGED = 'data-source-param-changed' } export interface DataSourceEventBus { fire ( type , dataSource ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , dataSource ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , dataSource ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , dataSource ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , dataSource ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }