@grafana/alerting
Version:
Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution
21 lines (20 loc) • 1.78 kB
TypeScript
/**
* Export things here that you want to be available under @grafana/alerting/unstable
*/
export * from './grafana/api/notifications/v0alpha1/types';
export { useListContactPoints } from './grafana/contactPoints/hooks/v0alpha1/useContactPoints';
export { ContactPointSelector } from './grafana/contactPoints/components/ContactPointSelector/ContactPointSelector';
export { getContactPointDescription, getContactPointInUse, getContactPointInUseRoutes, getContactPointInUseRules, } from './grafana/contactPoints/utils';
export { useListRoutingTrees } from './grafana/notificationPolicies/hooks/useRoutingTrees';
export { useMatchInstancesToSpecificRouteTree } from './grafana/notificationPolicies/hooks/useMatchPolicies';
export { RoutingTreeSelector } from './grafana/notificationPolicies/components/RoutingTreeSelector/RoutingTreeSelector';
export { isDefaultRoutingTree } from './grafana/notificationPolicies/consts';
export { StateText } from './grafana/rules/components/state/StateText';
export { StateIcon } from './grafana/rules/components/state/StateIcon';
export { AlertLabel, type AlertLabelProps } from './grafana/rules/components/labels/AlertLabel';
export { AlertLabels, type AlertLabelsProps } from './grafana/rules/components/labels/AlertLabels';
export { type LabelMatcher, type Label } from './grafana/matchers/types';
export { matchLabelsSet, matchLabels, isLabelMatch, type LabelMatchDetails } from './grafana/matchers/utils';
export { generatedAPI as notificationsAPIv0alpha1 } from '@grafana/api-clients/rtkq/notifications.alerting/v0alpha1';
export { generatedAPI as rulesAPIv0alpha1 } from '@grafana/api-clients/rtkq/rules.alerting/v0alpha1';
export { generatedAPI as historianAPIv0alpha1 } from '@grafana/api-clients/rtkq/historian.alerting/v0alpha1';