mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
22 lines
624 B
TypeScript
22 lines
624 B
TypeScript
import { FeatureDescription } from 'react-enable/dist/FeatureState';
|
|
|
|
import { config } from '@grafana/runtime';
|
|
|
|
export enum AlertingFeature {
|
|
NotificationPoliciesV2MatchingInstances = 'notification-policies.v2.matching-instances',
|
|
DetailsViewV2 = 'details-view.v2',
|
|
ContactPointsV2 = 'contact-points.v2',
|
|
}
|
|
|
|
const FEATURES: FeatureDescription[] = [
|
|
{
|
|
name: AlertingFeature.NotificationPoliciesV2MatchingInstances,
|
|
defaultValue: config.featureToggles.alertingNotificationsPoliciesMatchingInstances,
|
|
},
|
|
{
|
|
name: AlertingFeature.DetailsViewV2,
|
|
defaultValue: false,
|
|
},
|
|
];
|
|
export default FEATURES;
|