[discover] convert deep imports to top level imports for 'index_pattern' items (#112208)
* convert deep imports to top level imports * fix test
This commit is contained in:
parent
26314b7598
commit
51b2d53bd9
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { IIndexPatternFieldList } from '../../../data/common/index_patterns/fields';
|
||||
import { IIndexPatternFieldList } from '../../../data/common';
|
||||
import { IndexPattern } from '../../../data/common';
|
||||
import { indexPatterns } from '../../../data/public';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
import { IIndexPatternFieldList } from '../../../data/common/index_patterns/fields';
|
||||
import { IIndexPatternFieldList } from '../../../data/common';
|
||||
import { IndexPattern } from '../../../data/common';
|
||||
import { indexPatterns } from '../../../data/public';
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import React, { useState } from 'react';
|
|||
import { EuiButtonIcon, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { DiscoverServices } from '../../../../../build_services';
|
||||
import { IndexPattern } from '../../../../../../../data/common/index_patterns/index_patterns';
|
||||
import { IndexPattern } from '../../../../../../../data/common';
|
||||
|
||||
export interface DiscoverIndexPatternManagementProps {
|
||||
/**
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import { groupFields } from './group_fields';
|
||||
import { getDefaultFieldFilter } from './field_filter';
|
||||
import { IndexPatternField } from '../../../../../../../../data/common/index_patterns/fields';
|
||||
import { IndexPatternField } from '../../../../../../../../data/common';
|
||||
|
||||
const fields = [
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ import React from 'react';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { SavedObjectSaveModal, showSaveModal } from '../../../../../../../saved_objects/public';
|
||||
import { SavedSearch } from '../../../../../saved_searches';
|
||||
import { IndexPattern } from '../../../../../../../data/common/index_patterns/index_patterns';
|
||||
import { IndexPattern } from '../../../../../../../data/common';
|
||||
import { DiscoverServices } from '../../../../../build_services';
|
||||
import { GetStateReturn } from '../../services/discover_state';
|
||||
import { setBreadcrumbsTitle } from '../../../../helpers/breadcrumbs';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
import { getSwitchIndexPatternAppState } from './get_switch_index_pattern_app_state';
|
||||
import { IndexPattern } from '../../../../../../data/common/index_patterns';
|
||||
import { IndexPattern } from '../../../../../../data/common';
|
||||
|
||||
/**
|
||||
* Helper function returning an index pattern
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import React, { useContext } from 'react';
|
||||
import { EuiDataGridColumnCellActionProps } from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { IndexPatternField } from '../../../../../data/common/index_patterns/fields';
|
||||
import { IndexPatternField } from '../../../../../data/common';
|
||||
import { DiscoverGridContext } from './discover_grid_context';
|
||||
|
||||
export const FilterInBtn = ({
|
||||
|
|
Loading…
Reference in a new issue