mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
## Summary These examples are outdated and don't show recent embeddable best practices. They also use client-side saved object client and block making `SavedObjectFinder` backward compatible https://github.com/elastic/kibana/pull/162904 as the `foobar` saved objects need to be added to content management. We decided that it is better to clean them up, as fixing them is not a small effort and it is not worth it on this point as a large embeddable refactor is coming.
24 lines
830 B
TypeScript
24 lines
830 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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
import { Plugin, CoreSetup, CoreStart } from '@kbn/core/server';
|
|
import { EmbeddableSetup } from '@kbn/embeddable-plugin/server';
|
|
|
|
export interface EmbeddableExamplesSetupDependencies {
|
|
embeddable: EmbeddableSetup;
|
|
}
|
|
|
|
export class EmbeddableExamplesPlugin
|
|
implements Plugin<void, void, EmbeddableExamplesSetupDependencies>
|
|
{
|
|
public setup(core: CoreSetup, { embeddable }: EmbeddableExamplesSetupDependencies) {}
|
|
|
|
public start(core: CoreStart) {}
|
|
|
|
public stop() {}
|
|
}
|