import type { RouteRecordRaw } from 'vue-router'

export const sellerRoutes: RouteRecordRaw[] = [
  {
    path: '/seller/listings',
    name: 'seller-listings',
    component: () => import('@/features/seller/views/SellerListingsView.vue'),
    meta: { requiresAuth: true },
  },
  {
    path: '/seller/listings/create',
    name: 'seller-listing-create',
    component: () => import('@/features/seller/views/SellerListingCreateView.vue'),
    meta: { requiresAuth: true, requiresRealname: true },
  },
  {
    path: '/seller/handoffs',
    name: 'seller-handoffs',
    component: () => import('@/features/seller/views/SellerHandoffsView.vue'),
    meta: { requiresAuth: true },
  },
  {
    path: '/seller/earnings',
    name: 'seller-earnings',
    component: () => import('@/features/seller/views/SellerEarningsView.vue'),
    meta: { requiresAuth: true },
  },
]
