mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 18:27:59 -04:00
23 lines
783 B
TypeScript
23 lines
783 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 { CoreSetup, CoreStart, Plugin } from '@kbn/core/server';
|
|
import { StartDeps, SetupDeps } from './types';
|
|
import { registerWithCustomIntegrations } from './register_custom_integration';
|
|
|
|
export class DataVisualizerPlugin implements Plugin {
|
|
constructor() {}
|
|
|
|
setup(coreSetup: CoreSetup<StartDeps, unknown>, plugins: SetupDeps) {
|
|
// home-plugin required
|
|
if (plugins.home && plugins.customIntegrations) {
|
|
registerWithCustomIntegrations(plugins.customIntegrations);
|
|
}
|
|
}
|
|
|
|
start(core: CoreStart) {}
|
|
}
|