import {
  SportTypes,
  ProfileTypes,
  SPORT_NAMES,
  PROFILE_NAMES,
} from 'config'

type Args = {
  id: number,
  profileType: ProfileTypes,
  sportType: SportTypes,
}

export const getProfileUrl = ({
  id,
  profileType,
  sportType,
}: Args) => (
  `/${SPORT_NAMES[sportType]}/${PROFILE_NAMES[profileType]}/${id}`
)
