mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Use explicit interface for SavedObjectsClientContract
(#132795)
* No explicit interface for `SavedObjectsClientContract` * fix doc, do not export the client class * fix doc more * fix import from plugins * fix import from plugins bis * update generated doc
This commit is contained in:
parent
c51fb17e4c
commit
4043c33be1
36 changed files with 448 additions and 337 deletions
|
@ -11,7 +11,7 @@ import {
|
|||
EmbeddableStart,
|
||||
CONTEXT_MENU_TRIGGER,
|
||||
} from '@kbn/embeddable-plugin/public';
|
||||
import { Plugin, CoreSetup, CoreStart, SavedObjectsClient } from '@kbn/core/public';
|
||||
import { Plugin, CoreSetup, CoreStart, SavedObjectsClientContract } from '@kbn/core/public';
|
||||
import { UiActionsStart } from '@kbn/ui-actions-plugin/public';
|
||||
import {
|
||||
HelloWorldEmbeddableFactory,
|
||||
|
@ -62,7 +62,7 @@ export interface EmbeddableExamplesSetupDependencies {
|
|||
|
||||
export interface EmbeddableExamplesStartDependencies {
|
||||
embeddable: EmbeddableStart;
|
||||
savedObjectsClient: SavedObjectsClient;
|
||||
savedObjectsClient: SavedObjectsClientContract;
|
||||
}
|
||||
|
||||
interface ExampleEmbeddableFactories {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue