Skip to content

Commit

Permalink
remove index pattern lib dir which just re-exports from common
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Jun 9, 2020
1 parent ace29ae commit e3a16b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/public/index_patterns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export {
validateIndexPattern,
getFromSavedObject,
isDefault,
} from './lib';
} from '../../common/index_patterns/lib';
export { flattenHitWrapper, formatHitProvider, onRedirectNoIndexPattern } from './index_patterns';

export {
Expand Down
20 changes: 0 additions & 20 deletions src/plugins/data/public/index_patterns/lib/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Required } from '@kbn/utility-types';
import { EuiComboBox, EuiComboBoxProps } from '@elastic/eui';

import { SavedObjectsClientContract, SimpleSavedObject } from '../../../../../core/public';
import { getTitle } from '../../index_patterns/lib';
import { getTitle } from '../../../common/index_patterns/lib';

export type IndexPatternSelectProps = Required<
// Omit<EuiComboBoxProps<any>, 'isLoading' | 'onSearchChange' | 'options' | 'selectedOptions' | 'append' | 'prepend' | 'sortMatchesBy'>,
Expand Down

0 comments on commit e3a16b3

Please sign in to comment.