pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
26 lines (25 loc) • 903 B
TypeScript
import type { ChartToolTipProps, DistributionChartTooltip, DistributionQueryProps, StatisticsQueryProps, TableColumn } from '.';
export interface MetricDetailData<TData extends {
id: string | number;
}> {
statisticsUrl?: string;
title: string;
topFiveChartTitle: string;
bottomFiveChartTitle: string;
itemStatisticsQuery: StatisticsQueryProps;
valueMetricsQuery: StatisticsQueryProps;
averageMetricsQuery: StatisticsQueryProps;
distributionMetricsQuery: DistributionQueryProps;
yAxisDataNameKey: string;
xAxisNameKey: string;
xAxisLabel: string;
yAxisLabel: string;
nameKey: string;
valueKey: string;
dataGridSearchKey: string;
dataGridColumns: TableColumn<TData>[];
dataSearchInputPlaceHolder: string;
chartToolTip?: ChartToolTipProps;
detailsTableTitle?: string;
distributionChartTooltip: DistributionChartTooltip;
}