/** 开奖列表/详情卡片展示用的前三奖 API 字段 */
export const RESULTS_TOP_PRIZE_KEYS = ["1st", "2nd", "3rd"] as const;

export type ResultsTopPrizeKey = (typeof RESULTS_TOP_PRIZE_KEYS)[number];

export function resultsPrizeLabelKey(tier: ResultsTopPrizeKey): string {
  switch (tier) {
    case "1st":
      return "results.grid.first";
    case "2nd":
      return "results.grid.second";
    case "3rd":
      return "results.grid.third";
    default: {
      const _exhaustive: never = tier;
      return _exhaustive;
    }
  }
}
