From a4586e071f85297b96fbb83b3bd8ede58516dd95 Mon Sep 17 00:00:00 2001 From: Aaron Caldwell Date: Mon, 16 Nov 2020 11:00:13 -0700 Subject: [PATCH] Type updates --- .../geo_threshold_alert_type_expression.test.tsx | 4 ++-- .../stack_alerts/public/alert_types/geo_threshold/types.ts | 2 +- x-pack/plugins/triggers_actions_ui/public/index.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/query_builder/geo_threshold_alert_type_expression.test.tsx b/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/query_builder/geo_threshold_alert_type_expression.test.tsx index 18e8d93b0f4db..d115dbeb76e37 100644 --- a/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/query_builder/geo_threshold_alert_type_expression.test.tsx +++ b/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/query_builder/geo_threshold_alert_type_expression.test.tsx @@ -13,8 +13,8 @@ import { ActionTypeRegistryContract, AlertTypeRegistryContract, IErrorObject, -} from '../../../../../types'; -import { IIndexPattern } from '../../../../../../../../../src/plugins/data/common/index_patterns'; +} from '../../../../../triggers_actions_ui/public'; +import { IIndexPattern } from '../../../../../../../src/plugins/data/common'; const alertsContext = { http: (null as unknown) as HttpSetup, diff --git a/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/types.ts b/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/types.ts index e165b1a307a8e..86faa4ed2fb4a 100644 --- a/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/types.ts +++ b/x-pack/plugins/stack_alerts/public/alert_types/geo_threshold/types.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { Query } from '../../../../../../../../src/plugins/data/common/query'; +import { Query } from '../../../../../../src/plugins/data/common'; export enum TrackingEvent { entered = 'entered', diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/plugins/triggers_actions_ui/public/index.ts index 3794112e1d502..3187451d2600e 100644 --- a/x-pack/plugins/triggers_actions_ui/public/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/index.ts @@ -17,6 +17,7 @@ export { AlertTypeModel, ActionType, ActionTypeRegistryContract, + AlertTypeRegistryContract, AlertTypeParamsExpressionProps, ValidationResult, ActionVariable,