Skip to content

Commit

Permalink
Remove index_patterns_service
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinar-24 committed Nov 28, 2019
1 parent 8fda8dd commit 928ae7a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 38 deletions.
19 changes: 18 additions & 1 deletion src/legacy/core_plugins/data/public/index_patterns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,21 @@
* under the License.
*/

export * from './index_patterns_service';
import { IFieldType, IIndexPattern, indexPatterns } from '../../../../../plugins/data/public';

const getFromSavedObject = indexPatterns.getFromSavedObject;
const getRoutes = indexPatterns.getRoutes;
const flattenHitWrapper = indexPatterns.flattenHitWrapper;

export { getFromSavedObject, getRoutes, flattenHitWrapper };
export { IFieldType as FieldType };
export { IIndexPattern as StaticIndexPattern };
export {
Field,
FieldListInterface,
IndexPattern,
IndexPatterns,
IndexPatternsStart,
IndexPatternsSetup,
IndexPatternsService,
} from '../../../../../plugins/data/public';

This file was deleted.

0 comments on commit 928ae7a

Please sign in to comment.