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