44 * you may not use this file except in compliance with the Elastic License.
55 */
66
7- import { SearchResponse , GenericParams } from 'elasticsearch' ;
7+ import { GenericParams , SearchResponse } from 'elasticsearch' ;
88import { Lifecycle } from 'hapi' ;
99import { UsageCollectionSetup } from 'src/plugins/usage_collection/server' ;
10- import { RouteMethod , RouteConfig } from '../../../../../../../src/core/server' ;
11- import { PluginSetupContract as FeaturesPluginSetup } from '../../../../../../plugins/features/server' ;
12- import { SpacesPluginSetup } from '../../../../../../plugins/spaces/server' ;
10+ import { RouteConfig , RouteMethod } from '../../../../../../../src/core/server' ;
11+ import { HomeServerPluginSetup } from '../../../../../../../src/plugins/home/server' ;
1312import { VisTypeTimeseriesSetup } from '../../../../../../../src/plugins/vis_type_timeseries/server' ;
1413import { APMPluginSetup } from '../../../../../../plugins/apm/server' ;
15- import { HomeServerPluginSetup } from '../../../../../../../src/plugins/home/server' ;
14+ import { PluginSetupContract as FeaturesPluginSetup } from '../../../../../../plugins/features/server' ;
15+ import { SpacesPluginSetup } from '../../../../../../plugins/spaces/server' ;
1616import { PluginSetupContract as AlertingPluginContract } from '../../../../../alerts/server' ;
17+ import { MlPluginSetup } from '../../../../../ml/server' ;
1718
18- // NP_TODO: Compose real types from plugins we depend on, no "any"
1919export interface InfraServerPluginDeps {
2020 home : HomeServerPluginSetup ;
2121 spaces : SpacesPluginSetup ;
@@ -24,6 +24,7 @@ export interface InfraServerPluginDeps {
2424 features : FeaturesPluginSetup ;
2525 apm : APMPluginSetup ;
2626 alerts : AlertingPluginContract ;
27+ ml ?: MlPluginSetup ;
2728}
2829
2930export interface CallWithRequestParams extends GenericParams {
0 commit comments