export enum PUBLISH_TYPE {
  PENDINIG = 0,
  PUBLISHED = 1,
  ENDED = 2,
}

export const PUBLISH_STATUS_MAP = {
  [PUBLISH_TYPE.PENDINIG]: {
    label: "待发布",
    color: "#FF5858",
  },
  [PUBLISH_TYPE.PUBLISHED]: {
    label: "已发布",
    color: "#242424",
  },
  [PUBLISH_TYPE.ENDED]: {
    label: "已结束",
    color: "#6BC6FF",
  },
};

/**
 * 初始化指标
 */
export const DEFAULT_INDEX_ITEM = {
  level: "",
  name: "",
  type: "",
  num: null,
};

/**
 * 初始化加分项
 */
export const DEFAULT_BONUS_ITEM = {
  name: "",
  num: null,
};
