Skip to content

Commit

Permalink
chore: 🤖 cleanup after moving examples to X-Pack
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Apr 24, 2020
1 parent 7b1a88e commit 73c12d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/ui_action_examples/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"configPath": ["ui_actions_examples"],
"server": false,
"ui": true,
"requiredPlugins": ["uiActions", "drilldowns", "data"],
"requiredPlugins": ["uiActions"],
"optionalPlugins": []
}
8 changes: 1 addition & 7 deletions examples/ui_action_examples/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@

import { Plugin, CoreSetup, CoreStart } from '../../../src/core/public';
import { UiActionsSetup, UiActionsStart } from '../../../src/plugins/ui_actions/public';
import { DataPublicPluginSetup, DataPublicPluginStart } from '../../../src/plugins/data/public';
import { DrilldownsSetup, DrilldownsStart } from '../../../x-pack/plugins/drilldowns/public';
import { createHelloWorldAction, ACTION_HELLO_WORLD } from './hello_world_action';
import { helloWorldTrigger, HELLO_WORLD_TRIGGER_ID } from './hello_world_trigger';

export interface UiActionExamplesSetupDependencies {
data: DataPublicPluginSetup;
drilldowns: DrilldownsSetup;
uiActions: UiActionsSetup;
}

export interface UiActionExamplesStartDependencies {
data: DataPublicPluginStart;
drilldowns: DrilldownsStart;
uiActions: UiActionsStart;
}

Expand All @@ -51,7 +45,7 @@ export class UiActionExamplesPlugin
Plugin<void, void, UiActionExamplesSetupDependencies, UiActionExamplesStartDependencies> {
public setup(
core: CoreSetup<UiActionExamplesStartDependencies>,
{ uiActions, drilldowns }: UiActionExamplesSetupDependencies
{ uiActions }: UiActionExamplesSetupDependencies
) {
uiActions.registerTrigger(helloWorldTrigger);

Expand Down

0 comments on commit 73c12d4

Please sign in to comment.