From 2738219fd98931bfafe638f97164fb55323b2de4 Mon Sep 17 00:00:00 2001 From: Jason Rhodes Date: Tue, 26 Sep 2023 13:52:02 -0400 Subject: [PATCH] Fixes type errors after moving type to new file --- .../asset_manager/server/lib/accessors/services/index.ts | 3 ++- x-pack/plugins/asset_manager/server/lib/collectors/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/asset_manager/server/lib/accessors/services/index.ts b/x-pack/plugins/asset_manager/server/lib/accessors/services/index.ts index c25762b265df5..e8b52e4924c4d 100644 --- a/x-pack/plugins/asset_manager/server/lib/accessors/services/index.ts +++ b/x-pack/plugins/asset_manager/server/lib/accessors/services/index.ts @@ -5,8 +5,9 @@ * 2.0. */ +import { AssetClientDependencies } from '../../../types'; import { GetServicesOptionsPublic } from '../../../../common/types_client'; -import { AssetClientDependencies, OptionsWithInjectedValues } from '..'; +import { OptionsWithInjectedValues } from '..'; export type GetServicesOptions = GetServicesOptionsPublic & AssetClientDependencies; export type GetServicesOptionsInjected = OptionsWithInjectedValues; diff --git a/x-pack/plugins/asset_manager/server/lib/collectors/index.ts b/x-pack/plugins/asset_manager/server/lib/collectors/index.ts index 3b426200657c5..39643bb134bd4 100644 --- a/x-pack/plugins/asset_manager/server/lib/collectors/index.ts +++ b/x-pack/plugins/asset_manager/server/lib/collectors/index.ts @@ -8,7 +8,7 @@ import { estypes } from '@elastic/elasticsearch'; import type { APMIndices } from '@kbn/apm-data-access-plugin/server'; import { ElasticsearchClient } from '@kbn/core/server'; -import { AssetManagerConfig } from '../../types'; +import { AssetManagerConfig } from '../../../common/config'; import { Asset } from '../../../common/types_api'; export const QUERY_MAX_SIZE = 10000;