@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
21 lines (19 loc) • 899 B
TypeScript
declare const FEATURE_FLAG_KEYS: {
readonly SAVE_DEFAULTS: "saveDefaultsEnabled";
readonly STREAMING_DOWNLOAD: "streamingDownloadEnabled";
readonly BAR_CHARTS: "barChartsEnabled";
readonly LINE_CHARTS: "lineChartsEnabled";
readonly DONUT_CHARTS: "donutChartsEnabled";
readonly SCORECARD_CHARTS: "scorecardChartsEnabled";
readonly SCORECARD_GROUP_CHARTS: "scorecardgroupChartsEnabled";
readonly MATRIX_TIMESERIES_CHARTS: "matrixtimeseriesChartsEnabled";
readonly BAR_TIMESERIES_CHARTS: "bartimeseriesChartsEnabled";
readonly LINE_TIMESERIES_CHARTS: "linetimeseriesChartsEnabled";
};
type FeatureFlagKey = (typeof FEATURE_FLAG_KEYS)[keyof typeof FEATURE_FLAG_KEYS];
interface FeatureFlagEvaluationSubject {
entityId: string;
context: Record<string, string>;
}
export { FEATURE_FLAG_KEYS };
export type { FeatureFlagEvaluationSubject, FeatureFlagKey };