import {
  CREATE_SV_TRANSFER as URL_PREFIX,
  CREATE_SELECT_SV_TRANSFER_PRODUCTS,
  CREATE_SV_TRANSFER_CONFIRMATION,
} from '@/config/url-prefix'

export default [
  {
    path: URL_PREFIX,
    name: 'SvTransferProcessStart',
    component: () => import('@/app/sv-transfer/wizard/components/templates/SvTransferProcessTemplate'),
    redirect: { name: 'SvTransferSelectTransferProduct' },
    meta: {
      screen: 'sv-transfer-screen',
      policy: {
        'sv-transfer': 'create',
      },
    },
    children: [
      {
        path: CREATE_SELECT_SV_TRANSFER_PRODUCTS,
        name: 'SvTransferSelectTransferProduct',
        component: () => import('@/app/sv-transfer/wizard/components/stepper/SvTransferProductSelectionStep'),
      },
      {
        path: CREATE_SV_TRANSFER_CONFIRMATION,
        name: 'SvTransferConfirmation',
        component: () => import('@/app/sv-transfer/wizard/components/stepper/SvTransferConfirmationStep'),
      },
    ],
  },
]
