import { AppRouteRecord } from '@/types/router'
import { dashboardRoutes } from './dashboard'
import { resultRoutes } from './result'
import { exceptionRoutes } from './exception'
import tenantRoutes from './tenant'
import announcementRoutes from './announcement'
import merchantRoutes from './merchant'
import dictionaryRoutes from './dictionary'
import storeRoutes from './store'

/**
 * 导出所有模块化路由
 */
export const routeModules: AppRouteRecord[] = [
  dashboardRoutes,
  tenantRoutes,
  merchantRoutes,
  dictionaryRoutes,
  ...storeRoutes,
  ...announcementRoutes,
  resultRoutes,
  exceptionRoutes
]
