* Updating everything except the license headers themselves * Applying ESLint rules * Manually replacing the stragglers
33 lines
984 B
TypeScript
33 lines
984 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
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { PluginInitializer, PluginInitializerContext } from 'kibana/public';
|
|
import { Plugin } from './plugin';
|
|
import {
|
|
InfraClientSetupExports,
|
|
InfraClientStartExports,
|
|
InfraClientSetupDeps,
|
|
InfraClientStartDeps,
|
|
} from './types';
|
|
|
|
export const plugin: PluginInitializer<
|
|
InfraClientSetupExports,
|
|
InfraClientStartExports,
|
|
InfraClientSetupDeps,
|
|
InfraClientStartDeps
|
|
> = (context: PluginInitializerContext) => {
|
|
return new Plugin(context);
|
|
};
|
|
|
|
export { FORMATTERS } from '../common/formatters';
|
|
export { InfraFormatterType } from './lib/lib';
|
|
|
|
export type InfraAppId = 'logs' | 'metrics';
|
|
|
|
// Shared components
|
|
export { LazyLogStreamWrapper as LogStream } from './components/log_stream/lazy_log_stream_wrapper';
|