mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
use IndexPattern instead of IIndexPattern (#107108)
This commit is contained in:
parent
7c949c0e98
commit
a1981d5248
2 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,8 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { esKuery, IIndexPattern } from '../../../../../src/plugins/data/public';
|
||||
import { esKuery } from '../../../../../src/plugins/data/public';
|
||||
import type { IndexPattern } from '../../../../../src/plugins/data/public';
|
||||
import { combineFiltersAndUserSearch, stringifyKueries } from '../../common/lib';
|
||||
|
||||
const getKueryString = (urlFilters: string): string => {
|
||||
|
@ -25,7 +26,7 @@ const getKueryString = (urlFilters: string): string => {
|
|||
};
|
||||
|
||||
export const useUpdateKueryString = (
|
||||
indexPattern: IIndexPattern | null,
|
||||
indexPattern: IndexPattern | null,
|
||||
filterQueryString = '',
|
||||
urlFilters: string
|
||||
): [string?, Error?] => {
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
import { handleActions, Action } from 'redux-actions';
|
||||
import { getIndexPattern, getIndexPatternSuccess, getIndexPatternFail } from '../actions';
|
||||
import { IIndexPattern } from '../../../../../../src/plugins/data/common/index_patterns';
|
||||
import type { IndexPattern } from '../../../../../../src/plugins/data/common/index_patterns';
|
||||
|
||||
export interface IndexPatternState {
|
||||
index_pattern: IIndexPattern | null;
|
||||
index_pattern: IndexPattern | null;
|
||||
errors: any[];
|
||||
loading: boolean;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue