import UyeYetkili from '../views/UyeYetkili.vue'

export default [
  {
    path: '/uyeler/detay/:uyeId/yetkili-uye/detay/:altUyeId',
    redirect: (to: Record<string, any>) => ({
      name: 'UyeYetkiliDetay',
      params: {
        uyeId: to.params.uyeId,
        altUyeId: to.params.altUyeId,
        tabid: 'kisi-kurum-bilgileri'
      }
    })
  },
  {
    path: '/uyeler/detay/:uyeId/yetkili-uye/detay/:altUyeId/:tabid',
    name: 'UyeYetkiliDetay',
    component: UyeYetkili,
    meta: {
      authRequired: true
    }
  }
]
