mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
18 lines
311 B
TypeScript
18 lines
311 B
TypeScript
|
///<reference path="../../headers/common.d.ts" />
|
||
|
|
||
|
import coreModule from 'app/core/core_module';
|
||
|
|
||
|
export class AlertingSrv {
|
||
|
dashboard: any;
|
||
|
alerts: any[];
|
||
|
|
||
|
init(dashboard, alerts) {
|
||
|
this.dashboard = dashboard;
|
||
|
this.alerts = alerts || [];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
coreModule.service('alertingSrv', AlertingSrv);
|
||
|
|