1818 */
1919
2020import { Plugin , CoreSetup , AppMountParameters } from 'kibana/public' ;
21- import { PluginSetupContract as AlertingSetup } from '../../../x-pack/plugins/alerting /public' ;
21+ import { PluginSetupContract as AlertingSetup } from '../../../x-pack/plugins/alerts /public' ;
2222import { ChartsPluginStart } from '../../../src/plugins/charts/public' ;
2323import { TriggersAndActionsUIPublicPluginSetup } from '../../../x-pack/plugins/triggers_actions_ui/public' ;
2424import { DataPublicPluginStart } from '../../../src/plugins/data/public' ;
@@ -30,12 +30,12 @@ export type Setup = void;
3030export type Start = void ;
3131
3232export interface AlertingExamplePublicSetupDeps {
33- alerting : AlertingSetup ;
33+ alerts : AlertingSetup ;
3434 triggers_actions_ui : TriggersAndActionsUIPublicPluginSetup ;
3535}
3636
3737export interface AlertingExamplePublicStartDeps {
38- alerting : AlertingSetup ;
38+ alerts : AlertingSetup ;
3939 triggers_actions_ui : TriggersAndActionsUIPublicPluginSetup ;
4040 charts : ChartsPluginStart ;
4141 data : DataPublicPluginStart ;
@@ -44,7 +44,7 @@ export interface AlertingExamplePublicStartDeps {
4444export class AlertingExamplePlugin implements Plugin < Setup , Start , AlertingExamplePublicSetupDeps > {
4545 public setup (
4646 core : CoreSetup < AlertingExamplePublicStartDeps , Start > ,
47- { alerting , triggers_actions_ui } : AlertingExamplePublicSetupDeps
47+ { alerts , triggers_actions_ui } : AlertingExamplePublicSetupDeps
4848 ) {
4949 core . application . register ( {
5050 id : 'AlertingExample' ,
@@ -59,7 +59,7 @@ export class AlertingExamplePlugin implements Plugin<Setup, Start, AlertingExamp
5959 triggers_actions_ui . alertTypeRegistry . register ( getAlwaysFiringAlertType ( ) ) ;
6060 triggers_actions_ui . alertTypeRegistry . register ( getPeopleInSpaceAlertType ( ) ) ;
6161
62- registerNavigation ( alerting ) ;
62+ registerNavigation ( alerts ) ;
6363 }
6464
6565 public start ( ) { }
0 commit comments