import { eStatusOfCopyright } from "../../components/ApproveStatus/status";
import { eOperate } from "./types";
export const mappingFromStatusToOperate = {
  [eStatusOfCopyright.WAITING_SUBMIT]: [
    eOperate.seeDetails,
    eOperate.edit,
    eOperate.delete,
  ],
  [eStatusOfCopyright.WAITING_CHECK]: [eOperate.seeDetails],
  [eStatusOfCopyright.RECORD_SUCCESS]: [
    eOperate.seeDetails,
    eOperate.viewCertificates,
    eOperate.downloadCertificates,
  ],
  [eStatusOfCopyright.NOT_PASSED]: [eOperate.seeDetails, eOperate.delete],
};
