import { ChannelType } from '@/enums/channel'

export interface UsageItemInfo {
  timeDimension: 'today' | 'week' | 'month'
  dataAnalyzeInfo: {
    usersCount: {
      num: number
      fluctuate: 1 | -1 | 0 // 1 上涨  -1 下跌  0 无变化
    }
    usageCount: {
      num: number
      fluctuate: 1 | -1 | 0
    }
    pointsCount: {
      num: number
      fluctuate: 1 | -1 | 0
    }
  }
}

export interface ChannelCountItem {
  channel: ChannelType
  count: number
}
