@grafana/alerting
Version:
Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution
12 lines (11 loc) • 391 B
TypeScript
import { OverrideProperties } from 'type-fest';
import { RoutingTreeRoute } from '../api/notifications/v0alpha1/notifications.api.gen';
import { LabelMatcher } from '../matchers/types';
export type Route = OverrideProperties<RoutingTreeRoute, {
matchers?: LabelMatcher[];
routes: Route[];
}>;
export interface RouteWithID extends Route {
id: string;
routes: RouteWithID[];
}