From 898189f7b40d1bd00b454ac306aa80d1a662043e Mon Sep 17 00:00:00 2001 From: Maryam Saeidi Date: Thu, 10 Aug 2023 16:55:23 +0200 Subject: [PATCH] Fix type --- .../server/alert_rules/status_rule/monitor_status_rule.ts | 7 ++----- .../synthetics/server/alert_rules/tls_rule/tls_rule.ts | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/synthetics/server/alert_rules/status_rule/monitor_status_rule.ts b/x-pack/plugins/synthetics/server/alert_rules/status_rule/monitor_status_rule.ts index d0bb10c5a7806..61173f7b0c227 100644 --- a/x-pack/plugins/synthetics/server/alert_rules/status_rule/monitor_status_rule.ts +++ b/x-pack/plugins/synthetics/server/alert_rules/status_rule/monitor_status_rule.ts @@ -7,12 +7,9 @@ import { isEmpty } from 'lodash'; import { ActionGroupIdsOf } from '@kbn/alerting-plugin/common'; +import { GetViewInAppRelativeUrlFnOpts } from '@kbn/alerting-plugin/server'; import { observabilityPaths } from '@kbn/observability-plugin/common'; -import { - createLifecycleRuleTypeFactory, - GetViewInAppRelativeUrlFnOpts, - IRuleDataClient, -} from '@kbn/rule-registry-plugin/server'; +import { createLifecycleRuleTypeFactory, IRuleDataClient } from '@kbn/rule-registry-plugin/server'; import { SyntheticsPluginsSetupDependencies, SyntheticsServerSetup } from '../../types'; import { DOWN_LABEL, getMonitorAlertDocument, getMonitorSummary } from './message_utils'; import { diff --git a/x-pack/plugins/synthetics/server/alert_rules/tls_rule/tls_rule.ts b/x-pack/plugins/synthetics/server/alert_rules/tls_rule/tls_rule.ts index 8ff0a6b79f9ad..67fa4b352cd1f 100644 --- a/x-pack/plugins/synthetics/server/alert_rules/tls_rule/tls_rule.ts +++ b/x-pack/plugins/synthetics/server/alert_rules/tls_rule/tls_rule.ts @@ -6,11 +6,8 @@ */ import { ActionGroupIdsOf } from '@kbn/alerting-plugin/common'; -import { - createLifecycleRuleTypeFactory, - GetViewInAppRelativeUrlFnOpts, - IRuleDataClient, -} from '@kbn/rule-registry-plugin/server'; +import { GetViewInAppRelativeUrlFnOpts } from '@kbn/alerting-plugin/server'; +import { createLifecycleRuleTypeFactory, IRuleDataClient } from '@kbn/rule-registry-plugin/server'; import { asyncForEach } from '@kbn/std'; import { ALERT_REASON, ALERT_UUID } from '@kbn/rule-data-utils'; import {