// types/analytics/custom-report.uts

import type { Metric, TimePeriod, ChartType } from './common.uts'

export type CustomReport = {
  id: string
  name: string
  description: string
  metrics: Array<string>
  charts: Array<string>
  updated_at: string
  period?: string
}

export type ReportForm = {
  name: string
  description: string
  metrics: Array<string>
  period: string
  chartType: string
}

export type ReportFormErrors = {
  name: string
  description: string
  metrics: string
  period: string
  chartType: string
}
