convert deep imports to top level imports (#112201)
This commit is contained in:
parent
e20f530762
commit
02414ef236
|
@ -13,7 +13,7 @@ import { debounce } from 'lodash';
|
|||
import { fromKueryExpression, luceneStringToDsl, toElasticsearchQuery } from '@kbn/es-query';
|
||||
import { estypes } from '@elastic/elasticsearch';
|
||||
import { Dictionary } from '../../../../../../../common/types/common';
|
||||
import { IIndexPattern } from '../../../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../../../src/plugins/data/common';
|
||||
import { Query, QueryStringInput } from '../../../../../../../../../../src/plugins/data/public';
|
||||
|
||||
import {
|
||||
|
|
|
@ -10,7 +10,7 @@ import { EuiCode, EuiInputPopover } from '@elastic/eui';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { fromKueryExpression, luceneStringToDsl, toElasticsearchQuery } from '@kbn/es-query';
|
||||
import { Query, QueryStringInput } from '../../../../../../../../src/plugins/data/public';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common';
|
||||
import { SEARCH_QUERY_LANGUAGE, ErrorMessage } from '../../../../../common/constants/search';
|
||||
import { explorerService } from '../../explorer_dashboard_service';
|
||||
import { InfluencersFilterQuery } from '../../../../../common/types/es_client';
|
||||
|
|
|
@ -16,7 +16,7 @@ import React from 'react';
|
|||
import { CustomUrlEditor } from './editor';
|
||||
import { TIME_RANGE_TYPE, URL_TYPE } from './constants';
|
||||
import { CustomUrlSettings } from './utils';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common';
|
||||
|
||||
function prepareTest(customUrl: CustomUrlSettings, setEditCustomUrlFn: (url: UrlConfig) => void) {
|
||||
const savedCustomUrls = [
|
||||
|
|
|
@ -29,7 +29,7 @@ import { isValidLabel } from '../../../util/custom_url_utils';
|
|||
|
||||
import { TIME_RANGE_TYPE, URL_TYPE } from './constants';
|
||||
import { UrlConfig } from '../../../../../common/types/custom_urls';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common';
|
||||
|
||||
function getLinkToOptions() {
|
||||
return [
|
||||
|
|
|
@ -37,7 +37,7 @@ import { loadSavedDashboards, loadIndexPatterns } from '../edit_utils';
|
|||
import { openCustomUrlWindow } from '../../../../../util/custom_url_utils';
|
||||
import { Job } from '../../../../../../../common/types/anomaly_detection_jobs';
|
||||
import { UrlConfig } from '../../../../../../../common/types/custom_urls';
|
||||
import { IIndexPattern } from '../../../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../../../src/plugins/data/common';
|
||||
import { MlKibanaReactContextValue } from '../../../../../contexts/kibana';
|
||||
|
||||
const MAX_NUMBER_DASHBOARDS = 1000;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { IUiSettingsClient } from 'kibana/public';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common/index_patterns';
|
||||
import { IIndexPattern } from '../../../../../../../../src/plugins/data/common';
|
||||
import { SavedSearchSavedObject } from '../../../../../common/types/kibana';
|
||||
import { createSearchItems } from './new_job_utils';
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import {
|
|||
AnomalyChartsEmbeddableOutput,
|
||||
AnomalyChartsServices,
|
||||
} from '..';
|
||||
import type { IndexPattern } from '../../../../../../src/plugins/data/common/index_patterns';
|
||||
import type { IndexPattern } from '../../../../../../src/plugins/data/common';
|
||||
import { EmbeddableLoading } from '../common/components/embeddable_loading_fallback';
|
||||
export const getDefaultExplorerChartsPanelTitle = (jobIds: JobId[]) =>
|
||||
i18n.translate('xpack.ml.anomalyChartsEmbeddable.title', {
|
||||
|
|
|
@ -27,7 +27,7 @@ import {
|
|||
ANOMALY_SWIMLANE_EMBEDDABLE_TYPE,
|
||||
} from './constants';
|
||||
import { MlResultsService } from '../application/services/results_service';
|
||||
import { IndexPattern } from '../../../../../src/plugins/data/common/index_patterns/index_patterns';
|
||||
import { IndexPattern } from '../../../../../src/plugins/data/common';
|
||||
|
||||
export interface AnomalySwimlaneEmbeddableCustomInput {
|
||||
jobIds: JobId[];
|
||||
|
|
Loading…
Reference in a new issue