/**
 * 仪表板时间周期枚举
 */
export enum DashboardPeriod {
  SEVEN_DAYS = '7d',
  THIRTY_DAYS = '30d',
  NINETY_DAYS = '90d',
}

export const DashboardPeriodDays: Record<DashboardPeriod, number> = {
  [DashboardPeriod.SEVEN_DAYS]: 7,
  [DashboardPeriod.THIRTY_DAYS]: 30,
  [DashboardPeriod.NINETY_DAYS]: 90,
};
