From 82529ea8bda49930b0fd6981edd240fc06421ce0 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Mon, 23 Jan 2023 12:17:12 +0100 Subject: [PATCH] remove @kbn/core-saved-objects-server reference from @kbn/core-saved-objects-api-server --- .../core-saved-objects-api-server/src/apis/create.ts | 2 +- .../core-saved-objects-api-server/src/apis/find.ts | 2 +- .../core-saved-objects-api-server/src/apis/resolve.ts | 2 +- .../core-saved-objects-api-server/src/apis/update.ts | 2 +- .../saved-objects/core-saved-objects-api-server/tsconfig.json | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts index be6ba95c82d7e..f26e75bd37865 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts @@ -7,7 +7,7 @@ */ import type { SavedObjectsMigrationVersion } from '@kbn/core-saved-objects-common'; -import type { SavedObjectReference } from '@kbn/core-saved-objects-server'; +import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; import type { MutatingOperationRefreshSetting, SavedObjectsBaseOptions } from './base'; /** diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts index 8aed79c0f4916..8e754d26533c3 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts @@ -11,7 +11,7 @@ import type { AggregationsAggregationContainer, Id as EsId, } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import type { SavedObject } from '@kbn/core-saved-objects-server'; +import type { SavedObject } from '@kbn/core-saved-objects-common'; type KueryNode = any; diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts index bf613f5e84104..9e764053392a5 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import type { SavedObject } from '@kbn/core-saved-objects-server'; +import type { SavedObject } from '@kbn/core-saved-objects-common'; /** * diff --git a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts index d8e0774a73af9..db494d9d8d7a7 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import type { SavedObjectReference, SavedObject } from '@kbn/core-saved-objects-server'; +import type { SavedObjectReference, SavedObject } from '@kbn/core-saved-objects-common'; import type { MutatingOperationRefreshSetting, SavedObjectsBaseOptions } from './base'; /** diff --git a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json b/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json index b91b1e1c579f8..c091f255cbd21 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json @@ -12,7 +12,6 @@ ], "kbn_references": [ "@kbn/core-saved-objects-common", - "@kbn/core-saved-objects-server" ], "exclude": [ "target/**/*",