Skip to content

Commit

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

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

/**
Expand Down

0 comments on commit 985e90a

Please sign in to comment.