59315bc84d
* Final phase before the complete cutover * NP migration * lint fix * More NP stuff * Moved Stack Monitoring client plugin outside legacy and fixed all tests * ... * Removed unused files * Fix for main links * Fixed more tests * Fixed redirect when clicking on SM icon again * Code review feedback * Addressed code review feedback * Fixed return value
24 lines
840 B
TypeScript
24 lines
840 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 { TypeOf } from '@kbn/config-schema';
|
|
import { PluginInitializerContext, PluginConfigDescriptor } from '../../../../src/core/server';
|
|
import { Plugin } from './plugin';
|
|
import { configSchema } from './config';
|
|
import { deprecations } from './deprecations';
|
|
|
|
export { MonitoringConfig } from './config';
|
|
export const plugin = (initContext: PluginInitializerContext) => new Plugin(initContext);
|
|
export const config: PluginConfigDescriptor<TypeOf<typeof configSchema>> = {
|
|
schema: configSchema,
|
|
deprecations,
|
|
exposeToBrowser: {
|
|
enabled: true,
|
|
ui: true,
|
|
kibana: true,
|
|
},
|
|
};
|