UNPKG

@grafana/alerting

Version:

Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution

12 lines (11 loc) 412 B
import { type OverrideProperties } from 'type-fest'; import { type RoutingTreeRoute } from '@grafana/api-clients/rtkq/notifications.alerting/v0alpha1'; import { type LabelMatcher } from '../matchers/types'; export type Route = OverrideProperties<RoutingTreeRoute, { matchers?: LabelMatcher[]; routes: Route[]; }>; export interface RouteWithID extends Route { id: string; routes: RouteWithID[]; }