mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
* Remove dynamic mapped types from UiActions * Remove import between data <-> embeddables * remove outdated comments, export action types from discover_enhanced * fix notice.txt Co-authored-by: restrry <restrry@gmail.com> Co-authored-by: Josh Dover <me@joshdover.com>
This commit is contained in:
parent
23083b1404
commit
5bb0186c15
167 changed files with 483 additions and 1149 deletions
|
@ -51,21 +51,15 @@ import {
|
|||
TodoRefEmbeddableFactory,
|
||||
TodoRefEmbeddableFactoryDefinition,
|
||||
} from './todo/todo_ref_embeddable_factory';
|
||||
import { ACTION_EDIT_BOOK, createEditBookAction } from './book/edit_book_action';
|
||||
import { BookEmbeddable, BOOK_EMBEDDABLE } from './book/book_embeddable';
|
||||
import { createEditBookAction } from './book/edit_book_action';
|
||||
import { BOOK_EMBEDDABLE } from './book/book_embeddable';
|
||||
import {
|
||||
BookEmbeddableFactory,
|
||||
BookEmbeddableFactoryDefinition,
|
||||
} from './book/book_embeddable_factory';
|
||||
import { UiActionsStart } from '../../../src/plugins/ui_actions/public';
|
||||
import {
|
||||
ACTION_ADD_BOOK_TO_LIBRARY,
|
||||
createAddBookToLibraryAction,
|
||||
} from './book/add_book_to_library_action';
|
||||
import {
|
||||
ACTION_UNLINK_BOOK_FROM_LIBRARY,
|
||||
createUnlinkBookFromLibraryAction,
|
||||
} from './book/unlink_book_from_library_action';
|
||||
import { createAddBookToLibraryAction } from './book/add_book_to_library_action';
|
||||
import { createUnlinkBookFromLibraryAction } from './book/unlink_book_from_library_action';
|
||||
|
||||
export interface EmbeddableExamplesSetupDependencies {
|
||||
embeddable: EmbeddableSetup;
|
||||
|
@ -92,14 +86,6 @@ export interface EmbeddableExamplesStart {
|
|||
factories: ExampleEmbeddableFactories;
|
||||
}
|
||||
|
||||
declare module '../../../src/plugins/ui_actions/public' {
|
||||
export interface ActionContextMapping {
|
||||
[ACTION_EDIT_BOOK]: { embeddable: BookEmbeddable };
|
||||
[ACTION_ADD_BOOK_TO_LIBRARY]: { embeddable: BookEmbeddable };
|
||||
[ACTION_UNLINK_BOOK_FROM_LIBRARY]: { embeddable: BookEmbeddable };
|
||||
}
|
||||
}
|
||||
|
||||
export class EmbeddableExamplesPlugin
|
||||
implements
|
||||
Plugin<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue