Skip to content

Commit

Permalink
remove re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Jun 10, 2020
1 parent e3a16b3 commit 0b7f84f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/plugins/data/common/index_patterns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@

export * from './fields';
export * from './types';
export * from './index_patterns';
11 changes: 5 additions & 6 deletions src/plugins/data/public/index_patterns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@ export {
getFromSavedObject,
isDefault,
} from '../../common/index_patterns/lib';
export { flattenHitWrapper, formatHitProvider, onRedirectNoIndexPattern } from './index_patterns';
export { onRedirectNoIndexPattern } from './index_patterns';

export { flattenHitWrapper, formatHitProvider } from '../../common/index_patterns/index_patterns';

// TODO: figure out how to replace IndexPatterns in get_inner_angular.
export {
getIndexPatternFieldListCreator,
Field,
IIndexPatternFieldList,
} from '../../common/index_patterns';

// TODO: figure out how to replace IndexPatterns in get_inner_angular.
export {
IndexPatternsService,
IndexPatternsContract,
IndexPattern,
TypeMeta,
AggregationRestrictions,
} from './index_patterns';
} from '../../common/index_patterns';
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
* under the License.
*/

export * from '../../../common/index_patterns/index_patterns';
export * from './redirect_no_index_pattern';
2 changes: 1 addition & 1 deletion src/plugins/data/public/search/search_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { TStrategyTypes } from './strategy_types';
import { getEsClient, LegacyApiCaller } from './legacy';
import { ES_SEARCH_STRATEGY, DEFAULT_SEARCH_STRATEGY } from '../../common/search';
import { esSearchStrategyProvider } from './es_search';
import { IndexPatternsContract } from '../index_patterns/index_patterns';
import { IndexPatternsContract } from '../index_patterns';
import { QuerySetup } from '../query';
import { GetInternalStartServicesFn } from '../types';
import { SearchInterceptor } from './search_interceptor';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import { createSearchSource as createSearchSourceFactory } from './create_search_source';
import { IIndexPattern } from '../../../common/index_patterns';
import { IndexPatternsContract } from '../../index_patterns/index_patterns';
import { IndexPatternsContract } from '../../index_patterns';
import { Filter } from '../../../common/es_query/filters';
import { coreMock } from '../../../../../core/public/mocks';
import { dataPluginMock } from '../../mocks';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import { migrateLegacyQuery } from '../../../../kibana_legacy/public';
import { SearchSource, SearchSourceDependencies } from './search_source';
import { IndexPatternsContract } from '../../index_patterns/index_patterns';
import { IndexPatternsContract } from '../../index_patterns';
import { SearchSourceFields } from './types';

/**
Expand Down

0 comments on commit 0b7f84f

Please sign in to comment.