Skip to content

Commit

Permalink
Remove dependency of embeddable to savedObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Feb 8, 2022
1 parent b661d10 commit fbdecb8
Show file tree
Hide file tree
Showing 18 changed files with 2,275 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/plugins/embeddable/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ export type {
export { ViewMode } from './types';
export type { SavedObjectEmbeddableInput } from './lib';
export { isSavedObjectEmbeddableInput } from './lib';

export const LISTING_LIMIT_SETTING = 'savedObjects:listingLimit';
2 changes: 1 addition & 1 deletion src/plugins/embeddable/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Adds embeddables service to Kibana",
"requiredPlugins": ["inspector", "uiActions"],
"extraPublicDirs": ["common"],
"requiredBundles": ["savedObjects", "kibanaReact", "kibanaUtils"]
"requiredBundles": ["kibanaReact", "kibanaUtils"]
}
10 changes: 10 additions & 0 deletions src/plugins/embeddable/public/components/finder/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* 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.
*/

export type { SavedObjectMetaData, SavedObjectFinderUiProps } from './saved_object_finder';
export { SavedObjectFinderUi, getSavedObjectFinder } from './saved_object_finder';
Loading

0 comments on commit fbdecb8

Please sign in to comment.