* Move Lens frontend to Kibana platform * Fix line breaks * Fix jest tests * Fix remaining test * Remove old Lens plugin entry * Fix i18n prefix * Add config schema * Address review
20 lines
661 B
TypeScript
20 lines
661 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 { PluginInitializerContext, PluginConfigDescriptor } from 'kibana/server';
|
|
import { LensServerPlugin } from './plugin';
|
|
|
|
export * from './plugin';
|
|
|
|
import { configSchema, ConfigSchema } from '../config';
|
|
|
|
export const config: PluginConfigDescriptor<ConfigSchema> = {
|
|
schema: configSchema,
|
|
};
|
|
|
|
export const plugin = (initializerContext: PluginInitializerContext) =>
|
|
new LensServerPlugin(initializerContext);
|