import { eStatus } from "./../../components/ApproveStatus/status";
import { eOperate } from "./types";
export const mappingFromStatusToOperate = {
  [eStatus.platformVerification]: [eOperate.withdraw],
  [eStatus.withdrawn]: [eOperate.edit, eOperate.delete],
  [eStatus.platformDismissed]: [eOperate.edit, eOperate.delete],
  [eStatus.submitReview]: [eOperate.seeDetails],
  [eStatus.platformNotSubmitted]: [eOperate.seeDetails],
  [eStatus.pendingReview]: [eOperate.seeDetails],
  [eStatus.agree]: [eOperate.seeDetails],
  [eStatus.rejected]: [eOperate.edit, eOperate.delete],
  [eStatus.submitted]: [eOperate.seeDetails],
  [eStatus.pendingFinalReview]: [eOperate.seeDetails],
  [eStatus.approved]: [eOperate.viewCertificates, eOperate.seeDetails],
};
