import { MssqlDatasource } from './datasource'; import { MssqlQueryCtrl } from './query_ctrl'; class MssqlConfigCtrl { static templateUrl = 'partials/config.html'; } const defaultQuery = `SELECT as time, as text, as tags FROM WHERE $__timeFilter(time_column) ORDER BY ASC`; class MssqlAnnotationsQueryCtrl { static templateUrl = 'partials/annotations.editor.html'; annotation: any; /** @ngInject */ constructor() { this.annotation.rawQuery = this.annotation.rawQuery || defaultQuery; } } export { MssqlDatasource, MssqlDatasource as Datasource, MssqlQueryCtrl as QueryCtrl, MssqlConfigCtrl as ConfigCtrl, MssqlAnnotationsQueryCtrl as AnnotationsQueryCtrl, };