* Update SectionError component to render error root causes correctly. * Fix 404 error rendering. * Add test for follower index update API route.
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { IRouter } from 'src/core/server';
|
|
import { PluginSetupContract as FeaturesPluginSetup } from '../../features/server';
|
|
import { LicensingPluginSetup, LicensingPluginStart } from '../../licensing/server';
|
|
import { IndexManagementPluginSetup } from '../../index_management/server';
|
|
import { RemoteClustersPluginSetup } from '../../remote_clusters/server';
|
|
import { License, handleEsError } from './shared_imports';
|
|
|
|
export interface SetupDependencies {
|
|
licensing: LicensingPluginSetup;
|
|
indexManagement: IndexManagementPluginSetup;
|
|
remoteClusters: RemoteClustersPluginSetup;
|
|
features: FeaturesPluginSetup;
|
|
}
|
|
|
|
export interface StartDependencies {
|
|
licensing: LicensingPluginStart;
|
|
}
|
|
|
|
export interface RouteDependencies {
|
|
router: IRouter;
|
|
license: License;
|
|
lib: {
|
|
handleEsError: typeof handleEsError;
|
|
};
|
|
}
|