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:
Pierre Gayvallet 2022-05-25 16:51:16 +02:00 committed by GitHub
parent c51fb17e4c
commit 4043c33be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 448 additions and 337 deletions

View file

@ -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 {