import type { StatsHomeScreenQueryData } from '@/api/stats/types'

export interface DataCardProps {
  title: string
  value: string | number
  change?: string | number
  isPositive?: boolean
}

export interface StatusItemProps {
  name: string
  value: string
  status: '正常' | '警告' | '异常'
}

export type TodayData = Pick<
  StatsHomeScreenQueryData,
  | 'deviceCount'
  | 'onlineCount'
  | 'systemGuardDay'
  | 'fallingCount'
  | 'alarmCount'
  | 'detectedCount'
  | 'activeRate'
  | 'guardList'
  | 'ageList'
  | 'installPositionList'
>
