| 1234567891011121314151617181920212223 |
- export type DashboardMetricSummary = {
- type: DashboardMetricType;
- title: string;
- entries: DashboardMetricSummaryEntry[];
- };
- export enum DashboardMetricType {
- OrderCount = 'OrderCount',
- OrderTotal = 'OrderTotal',
- AverageOrderValue = 'AverageOrderValue',
- }
- export type DashboardMetricSummaryEntry = {
- label: string;
- value: number;
- };
- export interface DashboardMetricSummaryInput {
- types: DashboardMetricType[];
- refresh?: boolean;
- startDate: string;
- endDate: string;
- }
|