Skip to content

Commit

Permalink
[SO] remove some plugin dependencies (#174282)
Browse files Browse the repository at this point in the history
## Summary

Removes some `savedObject` plugin dependencies.

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
thomasneirynck and kibanamachine authored Jan 10, 2024
1 parent 2f2083b commit f606085
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion examples/portable_dashboards_example/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"dashboard",
"embeddable",
"navigation",
"savedObjects",
"unifiedSearch",
"developerExamples",
"embeddableExamples"
Expand Down
1 change: 0 additions & 1 deletion src/plugins/controls/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"browser": true,
"requiredPlugins": [
"presentationUtil",
"savedObjects",
"kibanaReact",
"expressions",
"embeddable",
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/dashboard/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import type { SpacesPluginStart } from '@kbn/spaces-plugin/public';
import type { HomePublicPluginSetup } from '@kbn/home-plugin/public';
import { replaceUrlHashQuery } from '@kbn/kibana-utils-plugin/common';
import { createKbnUrlTracker } from '@kbn/kibana-utils-plugin/public';
import type { SavedObjectsStart } from '@kbn/saved-objects-plugin/public';
import type { VisualizationsStart } from '@kbn/visualizations-plugin/public';
import type { DataViewEditorStart } from '@kbn/data-view-editor-plugin/public';
import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public';
Expand Down Expand Up @@ -96,7 +95,6 @@ export interface DashboardStartDependencies {
inspector: InspectorStartContract;
navigation: NavigationPublicPluginStart;
presentationUtil: PresentationUtilPluginStart;
savedObjects: SavedObjectsStart;
contentManagement: ContentManagementPublicStart;
savedObjectsManagement: SavedObjectsManagementPluginStart;
savedObjectsTaggingOss?: SavedObjectTaggingOssPluginStart;
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/visualizations/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"navigation",
"embeddable",
"inspector",
"savedObjects",
"screenshotMode",
"presentationUtil",
"dataViews",
Expand All @@ -40,7 +39,8 @@
"requiredBundles": [
"kibanaUtils",
"kibanaReact",
"charts"
"charts",
"savedObjects",
],
"extraPublicDirs": [
"common/constants",
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/maps/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"dashboard",
"embeddable",
"mapsEms",
"savedObjects",
"share",
"presentationUtil",
"contentManagement"
Expand All @@ -50,7 +49,8 @@
"usageCollection",
"unifiedSearch",
"fieldFormats",
"textBasedLanguages"
"textBasedLanguages",
"savedObjects",
],
"extraPublicDirs": [
"common"
Expand Down

0 comments on commit f606085

Please sign in to comment.