* Convert common/services and server/lib to TypeScript. Update Jest tests. - Remove deserializeAutoFollowPattern behavior that returned an empty object if the pattern was undefined. * Localize mocks with the component integration tests. * Update API unit tests to use NP mocks. - Break up test files. - Use inline mocked ES response instead of fixture files. - Move remaining fixture files into client integration tests directory. * Make API route validation more strict. * Publish isUiDisabled as part of Remote Clusters contract. * Default trackUiMetric service to be a no-op. * Remove security dependency. - Fix license check so that CCR won't render if the license is invalid. - Fix server security check to be more precise by checking if ES has security disabled. * Render timestamp for autofollow errors.
26 lines
935 B
TypeScript
26 lines
935 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { UsageCollectionSetup } from '../../../../src/plugins/usage_collection/public';
|
|
import { ManagementSetup } from '../../../../src/plugins/management/public';
|
|
import { IndexManagementPluginSetup } from '../../index_management/public';
|
|
import { RemoteClustersPluginSetup } from '../../remote_clusters/public';
|
|
import { LicensingPluginSetup } from '../../licensing/public';
|
|
|
|
export interface PluginDependencies {
|
|
usageCollection: UsageCollectionSetup;
|
|
management: ManagementSetup;
|
|
indexManagement: IndexManagementPluginSetup;
|
|
remoteClusters: RemoteClustersPluginSetup;
|
|
licensing: LicensingPluginSetup;
|
|
}
|
|
|
|
export interface ClientConfigType {
|
|
ui: {
|
|
enabled: boolean;
|
|
};
|
|
}
|