Move src/core/types/elasticsearch to @kbn/es-types (#140522)

* create empty package

* move types to packages

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* start fixing imports

* fix more imports

* fix inline import

* add apm-ui as owners

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* fix new usages

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Pierre Gayvallet 2022-09-20 10:32:13 +02:00 committed by GitHub
parent 256f2e7353
commit 9579ea7235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 254 additions and 93 deletions

View file

@ -6,7 +6,7 @@
*/
import { ElasticsearchClient } from '@kbn/core/server';
import { ESSearchRequest, InferSearchResponseOf } from '@kbn/core/types/elasticsearch';
import type { ESSearchRequest, InferSearchResponseOf } from '@kbn/es-types';
import type { KibanaRequest } from '@kbn/core/server';
import { unwrapEsResponse } from '@kbn/observability-plugin/server';
import { MgetRequest, MgetResponse } from '@elastic/elasticsearch/lib/api/types';