import env from "../index";
const KPI = `${env.API_URI}/kpi`;
const kpiPeriod = `${env.API_URI}/kpi/period`;
const kpiEvaluation = `${env.API_URI}/kpi/evaluation`;
const kpiGroup = `${env.API_URI}/kpi/group`;
const kpiPlan = `${env.API_URI}/kpi/plan`;
const kpiCapacity = `${env.API_URI}/kpi/capacity`;
const kpiLink = `${env.API_URI}/kpi/link`;
export default {
  KPI,
  /** รอบการประเมินผล*/
  kpiPeriod: `${kpiPeriod}`,
  kpiPeriodById: (id: string) => `${kpiPeriod}/${id}`,
  kpiEvaluation,


  /** role */
  kpiRoleMainList:`${KPI}/role`,

  
  kpiGroup,
  kpiGroupById: (id: string) => `${kpiGroup}/${id}`,
  kpiPlan,
  kpiPlanById: (id: string) => `${kpiPlan}/${id}`,

  /** สมรรถนะ */
  kpiCapacity,

  kpiLink,
};
