export interface IAppStatistics {
  sports: number
  uploads_dir_size: number
  users: number
  workouts: number
}

export type TAppConfig = {
  [key: string]: number | boolean | string
  admin_contact: string
  gpx_limit_import: number
  is_email_sending_enabled: boolean
  is_registration_enabled: boolean
  map_attribution: string
  max_single_file_size: number
  max_users: number
  max_zip_file_size: number
  version: string
}

export interface IApplication {
  statistics: IAppStatistics
  config: TAppConfig
}

export type TAppConfigForm = {
  [key: string]: number | string
  admin_contact: string
  gpx_limit_import: number
  max_single_file_size: number
  max_users: number
  max_zip_file_size: number
}
