single import for types from @grafana/ui

This commit is contained in:
Torkel Ödegaard 2019-01-28 15:26:15 +01:00
parent 2c9a867bde
commit 91d926f180

View File

@ -4,6 +4,8 @@ import { ThunkAction } from 'redux-thunk';
// Services & Utils
import store from 'app/core/store';
import { getDatasourceSrv } from 'app/features/plugins/datasource_srv';
import { Emitter } from 'app/core/core';
import {
LAST_USED_DATASOURCE_KEY,
clearQueryKeys,
@ -21,8 +23,14 @@ import { updateLocation } from 'app/core/actions';
// Types
import { StoreState } from 'app/types';
import { DataQuery, DataSourceSelectItem, QueryHint } from '@grafana/ui/src/types';
import { getDatasourceSrv } from 'app/features/plugins/datasource_srv';
import {
RawTimeRange,
TimeRange,
DataSourceApi,
DataQuery,
DataSourceSelectItem,
QueryHint,
} from '@grafana/ui/src/types';
import {
ExploreId,
ExploreUrlState,
@ -32,8 +40,6 @@ import {
QueryTransaction,
} from 'app/types/explore';
import { Emitter } from 'app/core/core';
import { RawTimeRange, TimeRange, DataSourceApi } from '@grafana/ui';
import {
Action as ThunkableAction,
ActionTypes,