mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
16 lines
309 B
TypeScript
16 lines
309 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);
|