Skip to content

Commit 3e68d5c

Browse files
committed
fix: update import paths and handle undefined
1 parent 1b4b102 commit 3e68d5c

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

x-pack/platform/plugins/shared/entity_store/server/domain/config/merge_config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* 2.0.
66
*/
77

8-
import type { EntityType } from '../../common/domain/definitions/entity_schema';
8+
import type { EntityType } from '../../../common/domain/definitions/entity_schema';
99
import type { LogExtractionConfig } from '../saved_objects';
1010
import {
1111
LATEST_LOG_EXTRACTION_DEFAULTS,

x-pack/platform/plugins/shared/entity_store/server/domain/config/merge_config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* 2.0.
66
*/
77

8-
import type { EntityType } from '../../common/domain/definitions/entity_schema';
8+
import type { EntityType } from '../../../common/domain/definitions/entity_schema';
99
import type { LogExtractionConfig, LogExtractionTypeOverride } from '../saved_objects';
1010
import {
1111
LATEST_LOG_EXTRACTION_DEFAULTS,

x-pack/platform/plugins/shared/entity_store/server/routes/apis/install/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function registerInstall(router: EntityStorePluginRouter) {
6262
assetManager,
6363
req,
6464
res,
65-
logExtraction?.additionalIndexPatterns
65+
logExtraction?.additionalIndexPatterns ?? undefined
6666
);
6767
if (forbidden) return forbidden;
6868
const { engines } = await assetManager.getStatus();

x-pack/platform/plugins/shared/entity_store/server/routes/apis/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function registerUpdate(router: EntityStorePluginRouter) {
6565
assetManager,
6666
req,
6767
res,
68-
logExtraction?.additionalIndexPatterns
68+
logExtraction?.additionalIndexPatterns ?? undefined
6969
);
7070
if (forbidden) return forbidden;
7171

0 commit comments

Comments
 (0)