mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Merge branch 'alerting/alerts-deletion' of github.com:elastic/kibana into alerting/alerts-deletion
This commit is contained in:
commit
445646d31d
3 changed files with 13 additions and 14 deletions
|
@ -7,17 +7,15 @@
|
|||
|
||||
import { SavedObjectsErrorHelpers } from '@kbn/core-saved-objects-server';
|
||||
import { savedObjectsClientMock, loggingSystemMock } from '@kbn/core/server/mocks';
|
||||
import type { RulesSettings } from '../../../common';
|
||||
import {
|
||||
RULES_SETTINGS_FEATURE_ID,
|
||||
RULES_SETTINGS_SAVED_OBJECT_TYPE,
|
||||
RULES_SETTINGS_ALERT_DELETION_SAVED_OBJECT_ID,
|
||||
RulesSettings,
|
||||
DEFAULT_ALERT_DELETION_SETTINGS,
|
||||
} from '../../../common';
|
||||
import {
|
||||
RulesSettingsAlertDeletionClient,
|
||||
RulesSettingsAlertDeletionClientConstructorOptions,
|
||||
} from './rules_settings_alert_deletion_client';
|
||||
import type { RulesSettingsAlertDeletionClientConstructorOptions } from './rules_settings_alert_deletion_client';
|
||||
import { RulesSettingsAlertDeletionClient } from './rules_settings_alert_deletion_client';
|
||||
|
||||
const mockDateString = '2019-02-12T21:01:22.479Z';
|
||||
|
||||
|
|
|
@ -6,17 +6,15 @@
|
|||
*/
|
||||
|
||||
import Boom from '@hapi/boom';
|
||||
import {
|
||||
Logger,
|
||||
SavedObjectsClientContract,
|
||||
SavedObject,
|
||||
SavedObjectsErrorHelpers,
|
||||
} from '@kbn/core/server';
|
||||
import {
|
||||
import type { Logger, SavedObjectsClientContract, SavedObject } from '@kbn/core/server';
|
||||
import { SavedObjectsErrorHelpers } from '@kbn/core/server';
|
||||
import type {
|
||||
RulesSettings,
|
||||
RulesSettingsModificationMetadata,
|
||||
RulesSettingsAlertDeletion,
|
||||
RulesSettingsAlertDeletionProperties,
|
||||
} from '../../../common';
|
||||
import {
|
||||
DEFAULT_ALERT_DELETION_SETTINGS,
|
||||
RULES_SETTINGS_SAVED_OBJECT_TYPE,
|
||||
RULES_SETTINGS_ALERT_DELETION_SAVED_OBJECT_ID,
|
||||
|
|
|
@ -10,10 +10,13 @@ import type {
|
|||
RulesSettingsFlappingClientApi,
|
||||
RulesSettingsQueryDelayClientApi,
|
||||
RulesSettingsFlappingProperties,
|
||||
DEFAULT_ALERT_DELETION_SETTINGS,
|
||||
RulesSettingsAlertDeletionClientApi,
|
||||
} from '../types';
|
||||
import { DEFAULT_FLAPPING_SETTINGS, DEFAULT_QUERY_DELAY_SETTINGS } from '../types';
|
||||
import {
|
||||
DEFAULT_FLAPPING_SETTINGS,
|
||||
DEFAULT_QUERY_DELAY_SETTINGS,
|
||||
DEFAULT_ALERT_DELETION_SETTINGS,
|
||||
} from '../types';
|
||||
|
||||
export type RulesSettingsClientMock = jest.Mocked<RulesSettingsClientApi>;
|
||||
export type RulesSettingsFlappingClientMock = jest.Mocked<RulesSettingsFlappingClientApi>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue