import { REPORT_MODE } from '../constants'; import { ReportDetailsConfig } from './details'; export type ReportMode = (typeof REPORT_MODE)[keyof typeof REPORT_MODE]; export type GridWidth = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto'; export interface BaseReportConfig { id: string | number; label: string; mode: ReportMode; permission?: string; navigate?: { enabled?: boolean; route: any[]; includeParams?: boolean; }; details?: ReportDetailsConfig; layout?: { width?: GridWidth; columnPosition?: GridWidth; height?: number | 'auto'; rowPosition?: number | 'auto'; styleClass?: string; minContentHeight?: string; style?: string; }; }