import { getFaUserRole } from "./getFaUserRole";

export const getRoleList = () => {
  const roles = [
    "CityOperator",
    "Poultry",
    "ProvinceOperator",
    "KillHouse",
    "KillHouseVet",
    "VetFarm",
    "ProvinceFinancial",
    "ProvinceInspector",
    "VetSupervisor",
    "Commerce",
    "CityCommerce",
    "CityVet",
    "CityJahad",
    "Observatory",
    "ProvinceSupervisor",
    "Guilds",
    "GuildRoom",
    "LiveStockSupport",
    "SuperAdmin",
    "ChainCompany",
    "AdminX",
    "Supporter",
    "Dispenser",
    "CityPoultry",
    "ParentCompany",
    "ColdHouseSteward",
    "CityGuild",
    "LiveStockProvinceJahad",
    "Union",
    "Cooperative",
    "Rancher",
  ];

  return roles.map((role) => ({
    role,
    translation: getFaUserRole(role),
  }));
};
