Skip to content

Commit

Permalink
Merge branch 'master' of github.com:elastic/kibana into feat/siem-rul…
Browse files Browse the repository at this point in the history
…e-notifications
  • Loading branch information
patrykkopycinski committed Mar 9, 2020
2 parents dd101f1 + 3be4560 commit eafd39b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

import { getIndices } from './get_indices';
import { IndexPatternCreationConfig } from './../../../../../../../management/public';
import { LegacyApiCaller } from '../../../../../../../../../plugins/data/public';
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import { LegacyApiCaller } from '../../../../../../../../../plugins/data/public/search';

export const successfulResponse = {
hits: {
Expand Down
35 changes: 33 additions & 2 deletions src/plugins/data/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,39 @@ export {
* Search:
*/

export { IRequestTypesMap, IResponseTypesMap } from './search';
export * from './search';
export {
ES_SEARCH_STRATEGY,
SYNC_SEARCH_STRATEGY,
defaultSearchStrategy,
esSearchStrategyProvider,
getEsPreference,
addSearchStrategy,
hasSearchStategyForIndexPattern,
getSearchErrorType,
ISearchContext,
TSearchStrategyProvider,
ISearchStrategy,
ISearch,
ISearchOptions,
IRequestTypesMap,
IResponseTypesMap,
ISearchGeneric,
IEsSearchResponse,
IEsSearchRequest,
ISyncSearchRequest,
IKibanaSearchResponse,
IKibanaSearchRequest,
SearchRequest,
SearchResponse,
SearchError,
SearchStrategyProvider,
ISearchSource,
SearchSource,
SearchSourceFields,
EsQuerySortValue,
SortDirection,
FetchOptions,
} from './search';

/*
* UI components
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/public/search/fetch/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* under the License.
*/

import { ISearchStart } from 'src/plugins/data/public';
import { IUiSettingsClient } from '../../../../../core/public';
import { ISearchStart } from '../types';

export interface FetchOptions {
abortSignal?: AbortSignal;
Expand Down

0 comments on commit eafd39b

Please sign in to comment.