diff --git a/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx b/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx index 681418c1bd7cf..73a67310bf4be 100644 --- a/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx +++ b/src/plugins/discover/public/application/angular/doc_table/create_doc_table_react.tsx @@ -12,7 +12,7 @@ import React, { useRef, useEffect, useState, useCallback } from 'react'; import type { estypes } from '@elastic/elasticsearch'; import { EuiButtonEmpty } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; -import { getServices, IIndexPattern } from '../../../kibana_services'; +import { getServices, IndexPattern } from '../../../kibana_services'; import { IndexPatternField } from '../../../../../data/common'; import { SkipBottomButton } from '../../apps/main/components/skip_bottom_button'; @@ -22,7 +22,7 @@ export interface DocTableLegacyProps { searchTitle?: string; onFilter: (field: IndexPatternField | string, value: string, type: '+' | '-') => void; rows: estypes.SearchHit[]; - indexPattern: IIndexPattern; + indexPattern: IndexPattern; minimumVisibleRows?: number; onAddColumn?: (column: string) => void; onBackToTop: () => void; diff --git a/src/plugins/discover/public/application/embeddable/types.ts b/src/plugins/discover/public/application/embeddable/types.ts index c550e8c57f3ff..642c65c4b2a55 100644 --- a/src/plugins/discover/public/application/embeddable/types.ts +++ b/src/plugins/discover/public/application/embeddable/types.ts @@ -13,7 +13,7 @@ import { IEmbeddable, } from 'src/plugins/embeddable/public'; import { SortOrder } from '../angular/doc_table/components/table_header/helpers'; -import { Filter, IIndexPattern, TimeRange, Query } from '../../../../data/public'; +import { Filter, IndexPattern, TimeRange, Query } from '../../../../data/public'; import { SavedSearch } from '../..'; export interface SearchInput extends EmbeddableInput { @@ -27,7 +27,7 @@ export interface SearchInput extends EmbeddableInput { export interface SearchOutput extends EmbeddableOutput { editUrl: string; - indexPatterns?: IIndexPattern[]; + indexPatterns?: IndexPattern[]; editable: boolean; } diff --git a/src/plugins/discover/public/kibana_services.ts b/src/plugins/discover/public/kibana_services.ts index 366656cc60ffb..11bc61c9b261a 100644 --- a/src/plugins/discover/public/kibana_services.ts +++ b/src/plugins/discover/public/kibana_services.ts @@ -98,7 +98,6 @@ export { formatMsg, formatStack, subscribeWithScope } from '../../kibana_legacy/ // EXPORT types export { IndexPatternsContract, - IIndexPattern, IndexPattern, indexPatterns, IndexPatternField,